0fa38d9208f37b6e83437aa822aa63f89afdb09a
[feed/routing.git] / files / usr / lib / lua / luci / view / bmx6 / status.htm
1 <%+header%>
2 <link rel="stylesheet" type="text/css" href="/luci-static/resources/bmx6/style.css" />
3
4 <h2>Status of bmx6</h2>
5
6 <table>
7 <tr>
8 <th>Version</th>
9 <th>Compatibility</th>
10 <th>CodeVersion</th>
11 <th>Global Id</th>
12 <th>Primary Ip</th>
13 <th>Local Id</th>
14 <th>Uptime</th>
15 <th>CPU</th>
16 <th>Nodes</th>
17 </tr>
18 <tr>
19 <td><%=status.version%></td>
20 <td><%=status.compatibility%></td>
21 <td><%=status.codeVersion%></td>
22 <td><%=status.globalId%>/<%=status.rateMax%></td>
23 <td><%=status.primaryIp%></td>
24 <td><%=status.myLocalId%></td>
25 <td><%=status.uptime%></td>
26 <td><%=status.cpu%></td>
27 <td><%=status.nodes%></td>
28 </tr>
29 </table>
30
31 <br />
32 <br />
33
34 <h2>Status of interfaces</h2>
35 <table>
36 <tr>
37 <th>Name</th>
38 <th>State</th>
39 <th>Type</th>
40 <th>Rate (Min/Max)</th>
41 <th>Local IP</th>
42 <th>Global IP</th>
43 <th>Multicast IP</th>
44 <th>Primary</th>
45 </tr>
46 <% for i,v in ipairs(interfaces) do %>
47 <tr>
48 <td><%=v.devName%></td>
49 <td><%=v.state%></td>
50 <td><%=v.type%></td>
51 <td><%=v.rateMin%>/<%=v.rateMax%></td>
52 <td><%=v.llocalIp%></td>
53 <td><%=v.globalIp%></td>
54 <td><%=v.multicastIp%></td>
55 <td><%=v.primary%></td>
56 </tr>
57 <%end%>
58 </table>
59
60 <br />
61
62 <%+footer%>