-
Notifications
You must be signed in to change notification settings - Fork 1
/
getsw.txt
53 lines (45 loc) · 1.4 KB
/
getsw.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "base.html" %}
{% block content %}
<h2>Network Status</h2>
<table border="1">
<thead>
<tr>
<!-- <th>Switch ID</th>
<th>Status</th> -->
<!-- <th>DPID</th> -->
<th>Manifacturer</th>
<th>Hardware Description</th>
<th>Switch Description</th>
<th>Switch Serial Number</th>
<th>DP Description</th>
<th>DPID</th>
</tr>
</thead>
<tbody>
<!-- {% for s in status %} -->
<!-- {% for rules1 in rules %} -->
<tr>''
<td>{{ rules1.mfr_desc }}</td>
<td>{{ rules1.hw_desc }}</td>
<td>{{ rules1.sw_desc }}</td>
<td>{{ rules1.serial_num }}</td>
<td>{{ rules1.dp_desc }}</td>
</tr>
<!-- {% endfor %} -->
</tbody>
</table>
{% endblock %}
<!-- <td>{{ s.switch_id }}</td>
<td>{{ s.status }}</td> -->
<!-- <td>{{ testwitch.dpid }}</td> -->
<!-- <td>{{ rules.1.mfr_desc }}</td>
<td>{{ rules.1.hw_desc }}</td>
<td>{{ rules.1.sw_desc }}</td>
<td>{{ rules.1.serial_num }}</td>
<td>{{ rules.1.dp_desc }}</td> -->
<!-- <tr> -->
<!-- <form action="/stats/desc/1/" method="GET">
</form>
</tr> -->
<!-- {% endfor %}
{% endfor %} -->