Bump versions by x.(y+1).z for next dev cycle
[dlux.git] / modules / node-resources / src / main / resources / node / port-stat.tpl.html
1 <!--\r
2 * Copyright (c) 2014 Brocade and others.  All rights reserved.\r
3 *\r
4 * This program and the accompanying materials are made available under the\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7 -->\r
8 \r
9 <h4>{{ 'NODE_CONNECTOR_STATISTICS_FOR_NODE_ID' | translate }} - {{data.id}}</h4>\r
10 <table class="footable table">\r
11   <thead>\r
12     <tr>\r
13       <th>{{ 'NODE_CONNECTOR_ID' | translate }}</th>\r
14       <th>{{ 'RX_PKTS' | translate }}</th>\r
15       <th>{{ 'TX_PKTS' | translate }}</th>\r
16       <th>{{ 'RX_BYTES' | translate }}</th>\r
17       <th>{{ 'TX_BYTES' | translate }}</th>\r
18       <th>{{ 'RX_DROPS' | translate }}</th>\r
19       <th>{{ 'TX_DROPS' | translate }}</th>\r
20       <th>{{ 'RX_ERRS' | translate }}</th>\r
21       <th>{{ 'TX_ERRS' | translate }}</th>\r
22       <th>{{ 'RX_FRAME_ERRS' | translate }}</th>\r
23       <th>{{ 'RX_OVERRUN_ERRS' | translate }}</th>\r
24       <th>{{ 'RX_CRC_ERRS' | translate }}</th>\r
25       <th>{{ 'Collisions' | translate }}</th>\r
26     </tr>\r
27   </thead>\r
28   <tbody>\r
29     <tr ng-hide="data['node-connector'].length"><td colspan="4" class="centerAlign">{{ 'NO_DATA_FOUND' | translate }}</td></tr>\r
30     <tr ng-repeat="ncp in data['node-connector']">\r
31         <!--<td><input type="checkbox" name="select-node-{{item.node.id}}" ng-click="unselect($event)" id="select-node-{{item.node.id}}" /></td>-->\r
32         <td>{{ncp.id}}</td>\r
33         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['packets']['received']}}</td>\r
34         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['packets']['transmitted']}}</td>\r
35         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['bytes']['received']}}</td>\r
36         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['bytes']['transmitted']}}</td>\r
37         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['receive-drops']}}</td>\r
38         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['transmit-drops']}}</td>\r
39         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['receive-errors']}}</td>\r
40         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['transmit-errors']}}</td>\r
41         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['receive-frame-error']}}</td>\r
42         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['receive-over-run-error']}}</td>\r
43         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['receive-crc-error']}}</td>\r
44         <td>{{ncp['opendaylight-port-statistics:flow-capable-node-connector-statistics']['collision-count']}}</td>\r
45         <!--td>\r
46           <i class="icon-ok-sign"></i>\r
47           <port-state value="{{ncp.properties.state.value}}"></port-state>\r
48         </td-->\r
49       </tr>\r
50   </tbody>\r
51 </table>