blob: c0df11de874e6576daad3cf29c88d20b192dd196 [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>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010033 <td class="label" width="110">URI</td>
Bhavesh72ead492018-07-19 16:29:18 +053034 <td class="value" width="80">{{detailsData.id}}</td>
35 </tr>
36 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010037 <td class="label" width="110">Type</td>
Bhavesh72ead492018-07-19 16:29:18 +053038 <td class="value" width="80">{{detailsData.type}}</td>
39 </tr>
40 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010041 <td class="label" width="110">Master ID</td>
Bhavesh72ead492018-07-19 16:29:18 +053042 <td class="value" width="80">{{detailsData.masterid}}</td>
43 </tr>
44 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010045 <td class="label" width="110">Chassis ID</td>
Bhavesh72ead492018-07-19 16:29:18 +053046 <td class="value" width="80">{{detailsData.chassisid}}</td>
47 </tr>
48 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010049 <td class="label" width="110">Vendor</td>
Bhavesh72ead492018-07-19 16:29:18 +053050 <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>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010059 <td class="label" width="110">H/W Version</td>
Bhavesh72ead492018-07-19 16:29:18 +053060 <td class="value" width="80">{{detailsData.hw}}</td>
61 </tr>
62 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010063 <td class="label" width="110">S/W Version</td>
Bhavesh72ead492018-07-19 16:29:18 +053064 <td class="value" width="80">{{detailsData.sw}}</td>
65 </tr>
66 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010067 <td class="label" width="110">Protocol</td>
Bhavesh72ead492018-07-19 16:29:18 +053068 <td class="value" width="80">{{detailsData.protocol}}</td>
69 </tr>
70 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010071 <td class="label" width="110">Serial #</td>
Bhavesh72ead492018-07-19 16:29:18 +053072 <td class="value" width="80">{{detailsData.serial}}</td>
73 </tr>
74 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010075 <td class="label" width="110">Pipeconf</td>
Bhavesh72ead492018-07-19 16:29:18 +053076 <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>