blob: 5829acf02c6c6884878edf9d4ec1bcd03c660012 [file] [log] [blame]
Bhavesh72ead492018-07-19 16:29:18 +05301<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16<div id="ov-tunnel">
17 <div class="tabular-header">
18 <h2>Tunnels ({{tableData.length}} total)</h2>
19 <div class="ctrl-btns">
20 <div class="refresh" (click)="toggleRefresh()">
21 <onos-icon classes="{{ autoRefresh?'active refresh':'refresh'}}" iconId="refresh" iconSize="42" toolTip="{{ autoRefreshTip }}"></onos-icon>
22 </div>
23 </div>
24 </div>
25 <div class="summary-list" onosTableResize>
26 <div class="table-header">
27 <table>
28 <tr>
29 <td colId="id" (click)="onSort('id')">Id
30 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('id')"></onos-icon>
31 </td>
32 <td colId="name" (click)="onSort('name')">Name
33 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('name')"></onos-icon>
34 </td>
35 <td colId="port1" (click)="onSort('port1')">Port 1
36 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('port1')"></onos-icon>
37 </td>
38 <td colId="port2" (click)="onSort('port2')">Port 2
39 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('port2')"></onos-icon>
40 </td>
41 <td colId="type" (click)="onSort('type')">Type
42 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('type')"></onos-icon>
43 </td>
44 <td colId="groupId" (click)="onSort('groupId')">Group Id
45 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('groupId')"></onos-icon>
46 </td>
47 <td colId="bandwidth" (click)="onSort('bandwidth')">Bandwidth
48 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('bandwidth')"></onos-icon>
49 </td>
50 <td colId="path" (click)="onSort('path')">Path
51 <onos-icon classes="active-sort" [iconSize]="10" [iconId]="sortIcon('path')"></onos-icon>
52 </td>
53 </tr>
54 </table>
55 </div>
56 <div class="table-body">
57 <table>
58 <tr *ngIf="tableData.length === 0" class="no-data">
59 <td colspan="8">{{ annots.noRowsMsg }}</td>
60 </tr>
61 <tr *ngFor="let tunnel of tableData">
62 <td>{{tunnel.id}}</td>
63 <td>{{tunnel.name}}</td>
64 <td>{{tunnel.one}}</td>
65 <td>{{tunnel.two}}</td>
66 <td>{{tunnel.type}}</td>
67 <td>{{tunnel.group_id}}</td>
68 <td>{{tunnel.bandwidth}}</td>
69 <td>{{tunnel.path}}</td>
70 </tr>
71 </table>
72 </div>
73 </div>
74</div>