blob: 034b63b77ff7dd707fb2e735de802cfb6f48160f [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
17<div id="device-details-panel" class="floatpanel" [@deviceDetailsState]="id!=='' && !closed">
18 <div class="container">
19 <div class="top">
20 <div class="close-btn">
21 <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
22 </div>
23 <div class="dev-icon">
24 <onos-icon classes="{{detailsData._iconid_type? 'details-icon':undefined}}" iconId="{{detailsData._iconid_type}}" [iconSize]="40"></onos-icon>
25 </div>
26 <h2 class="editable clickable">{{detailsData.id}}</h2>
27 <div class="top-content">
28 <div class="top-tables">
29 <div class="left">
30 <table>
31 <tbody>
32 <tr>
33 <td class="label" width="110">URI :</td>
34 <td class="value" width="80">{{detailsData.id}}</td>
35 </tr>
36 <tr>
37 <td class="label" width="110">Type :</td>
38 <td class="value" width="80">{{detailsData.type}}</td>
39 </tr>
40 <tr>
41 <td class="label" width="110">Master ID :</td>
42 <td class="value" width="80">{{detailsData.masterid}}</td>
43 </tr>
44 <tr>
45 <td class="label" width="110">Chassis ID :</td>
46 <td class="value" width="80">{{detailsData.chassisid}}</td>
47 </tr>
48 <tr>
49 <td class="label" width="110">Vendor :</td>
50 <td class="value" width="80">{{detailsData.mfr}}</td>
51 </tr>
52 </tbody>
53 </table>
54 </div>
55 <div class="right">
56 <table>
57 <tbody>
58 <tr>
59 <td class="label" width="110">H/W Version :</td>
60 <td class="value" width="80">{{detailsData.hw}}</td>
61 </tr>
62 <tr>
63 <td class="label" width="110">S/W Version :</td>
64 <td class="value" width="80">{{detailsData.sw}}</td>
65 </tr>
66 <tr>
67 <td class="label" width="110">Protocol :</td>
68 <td class="value" width="80">{{detailsData.protocol}}</td>
69 </tr>
70 <tr>
71 <td class="label" width="110">Serial # :</td>
72 <td class="value" width="80">{{detailsData.serial}}</td>
73 </tr>
74 <tr>
75 <td class="label" width="110">Pipeconf :</td>
76 <td class="value" width="80">{{detailsData.pipeconf}}</td>
77 </tr>
78 </tbody>
79 </table>
80 </div>
81 </div>
82 </div>
83 <hr>
84 </div>
85 <div class="bottom">
86 <h2 class="ports-title">Ports</h2>
87 <table>
88 <thead>
89 <tr>
90 <th>Enabled</th>
91 <th>ID</th>
92 <th>Speed</th>
93 <th>Type</th>
94 <th>Egress Links</th>
95 <th>Name</th>
96 </tr>
97 </thead>
98 <tbody>
99 <tr *ngFor="let port of detailsData.ports">
100 <td>{{port.enabled}}</td>
101 <td>{{port.id}}</td>
102 <td>{{port.speed}}</td>
103 <td>{{port.type}}</td>
104 <td>{{port.elinks_dest}}</td>
105 <td>{{port.name}}</td>
106 </tr>
107 </tbody>
108 </table>
109 </div>
110 </div>
111</div>