On the port popup, also show the port name as shown by the switch
Change-Id: I886dfaf4dcb6b84f4a656f71097fd60e94fd56a4
diff --git a/visualisation/visualisation.py b/visualisation/visualisation.py
index fd24435..e1ca9e8 100644
--- a/visualisation/visualisation.py
+++ b/visualisation/visualisation.py
@@ -237,7 +237,9 @@
this_port = this_image['ports'][switch][portnum]
port = this_port['db']
page.append('<div class="port" id="port%d.%d">' % (vlan.vlan_id, port.port_id))
- page.append('Port ID: %d Port number: %d<br>' % (port.port_id, port.number))
+ page.append('Port ID: %d<br>' % port.port_id)
+ page.append('Port Number: %d<br>' % port.number)
+ page.append('Port Name: %s<br>' % port.name)
if port.is_locked:
page.append('Locked - ')
if (port.lock_reason is not None