blob: 85b8b5ea8d9462c4f6b228dc8f47216f0e8ad161 [file] [log] [blame]
Thomas Vachuskae586b792015-03-26 13:59:38 -07001<!-- Host partial HTML -->
2<div id="ov-host">
Bri Prebilic Cole45069382015-04-14 15:21:38 -07003 <div class="tabular-header">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -07004 <h2>Hosts ({{tableData.length}} total)</h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07005 <div class="ctrl-btns">
Bri Prebilic Cole41d67652015-06-02 10:23:04 -07006 <div class="refresh" ng-class="{active: autoRefresh}"
Simon Hunt5487ce72016-06-06 15:31:10 -07007 icon icon-size="42" icon-id="refresh"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -07008 tooltip tt-msg="autoRefreshTip"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -07009 ng-click="toggleRefresh()"></div>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070010 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070011 </div>
12
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070013 <div class="summary-list" onos-table-resize>
Bri Prebilic Cole0c41ba22015-07-06 15:09:48 -070014 <div class="table-header" onos-sortable-header>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070015 <table>
16 <tr>
Simon Hunt051e9fa2016-01-19 15:54:22 -080017 <td colId="type" class="table-icon"></td>
Simon Hunt86943082017-06-15 13:18:42 -070018 <td colId="name" sortable>Friendly Name </td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070019 <td colId="id" sortable>Host ID </td>
20 <td colId="mac" sortable>MAC Address </td>
21 <td colId="vlan" sortable>VLAN ID </td>
Simon Hunt86943082017-06-15 13:18:42 -070022 <td colId="configured" sortable>Configured </td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070023 <td colId="ips" sortable>IP Addresses </td>
24 <td colId="location" sortable>Location </td>
25 </tr>
26 </table>
27 </div>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070028
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070029 <div class="table-body">
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070030 <table onos-flash-changes id-prop="id">
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070031 <tr ng-if="!tableData.length" class="no-data">
Simon Hunt86943082017-06-15 13:18:42 -070032 <td colspan="8">
Jian Li8baf4472016-01-15 15:08:09 -080033 {{annots.no_rows_msg}}
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070034 </td>
35 </tr>
36
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070037 <tr ng-repeat="host in tableData track by $index"
Simon Hunte408af72017-06-14 18:32:06 -070038 ng-click="selectCallback($event, host)"
39 ng-class="{selected: host.id === selId}"
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070040 ng-repeat-complete row-id="{{host.id}}">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070041 <td class="table-icon">
42 <div icon icon-id="{{host._iconid_type}}"></div>
43 </td>
Simon Hunt86943082017-06-15 13:18:42 -070044 <td>{{host.name}}</td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070045 <td>{{host.id}}</td>
46 <td>{{host.mac}}</td>
47 <td>{{host.vlan}}</td>
Simon Hunt86943082017-06-15 13:18:42 -070048 <td>{{host.configured}}</td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070049 <td>{{host.ips}}</td>
50 <td>{{host.location}}</td>
51 </tr>
52 </table>
53 </div>
54
55 </div>
56
Simon Hunte408af72017-06-14 18:32:06 -070057 <host-details-panel></host-details-panel>
58
Thomas Vachuskae586b792015-03-26 13:59:38 -070059</div>