Vlan ID <%- info.id %>
Tag <%- info.tag %>
Stack <%- info.stack %>
Link Name <%- info.virtual %>
PID <%- info.pid %>
EID <% if (_.has(info, "instance_uuid")) { %> <%- info.eid %> <% } else { %> <%- info.eid %> <% } %>

Members

<% _.each(info.members, function(info) { %> <% if (info.switch_id) { var url = "show-node.php?node_id=" + info.switch_id; if (info.switch_isswitch) { url += "#" + info.switch_card + ":" + info.switch_port; } %> <% } else { %> <% } %> <% }); %>
Node ID Iface Type Protocol MAC Speed/Mbs IP Switch Iface
<%- info.node_id %> <%- info.iface %> <%- info.type %> <%- info.protocols %> <%- info.mac %> <% if (info.current_speed != 0) { %> <%- info.current_speed %><% } %> <%- info.IP %><%- info.switch_id %> <%- info.switch_iface %> (<%- info.switch_card %>,<%- info.switch_port %>)
<% if (_.has(info, "vinterfaces") && info.vinterfaces) { %>

Virtual Interfaces

<% _.each(info.vinterfaces, function(vlan) { %> <% }); %>
Node ID Iface MAC IP
<% if (vlan.vnode_id) { %> <%- vlan.vnode_id %> <% } else { %> <%- vlan.node_id %> <% } %> <%- vlan.iface %> <%- vlan.mac %> <%- vlan.IP %>
<% } %> <% if (info.wires) { %>

Switch Path

<% _.each(info.wires, function(wire) { %> <% }); %>
Switch 1 Iface Switch 2 Iface
<% var url = "show-node.php?node_id=" + wire.node_id1; url = url + "#" + wire.card1 + ":" + wire.port1; %> <%- wire.node_id1 %> <%- wire.iface1 %> (<%- wire.card1 %>,<%- wire.port1 %>) <% var url = "show-node.php?node_id=" + wire.node_id2; url = url + "#" + wire.card2 + ":" + wire.port2; %> <%- wire.node_id2 %> <%- wire.iface2 %> (<%- wire.card2 %>,<%- wire.port2 %>)
<% } %>