blob: c7c9dbacb0f046de69d914d34b92e8a958aec913 [file] [log] [blame]
<!--
~ Copyright 2018-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<div id="host-details-panel" class="floatpanel" [@hostDetailsState]="id!=='' && !closed">
<div class="container">
<div class="top">
<onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
</div>
<div class="host-icon">
<onos-icon classes="{{detailsData._iconid_type? 'hostIcon_endstation':undefined}}" iconId="{{detailsData._iconid_type}}"
[iconSize]="40"></onos-icon>
</div>
<h2 class="editable clickable">{{detailsData.name}}</h2>
<div class="top-content">
<div class="top-tables">
<div class="left">
<table>
<tbody>
<tr>
<td class="label" width="110">Host ID :</td>
<td class="value" width="80">{{detailsData.id}}</td>
</tr>
<tr>
<td class="label" width="110">IP Address :</td>
<td class="value" width="80">{{detailsData.ips}}</td>
</tr>
<tr>
<td class="label" width="110">MAC Address :</td>
<td class="value" width="80">{{detailsData.mac}}</td>
</tr>
</tbody>
</table>
</div>
<div class="right">
<table>
<tbody>
<tr>
<td class="label" width="110">VLAN :</td>
<td class="value" width="80">{{detailsData.vlan}}</td>
</tr>
<tr>
<td class="label" width="110">Configured :</td>
<td class="value" width="80">{{detailsData.configured}}</td>
</tr>
<tr>
<td class="label" width="110">Location :</td>
<td class="value" width="80">{{detailsData.location}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<hr>
<div class="bottom"></div>
</div>
</div>