diff --git a/netbox_topology_views/views.py b/netbox_topology_views/views.py index 1283d22..c34270a 100644 --- a/netbox_topology_views/views.py +++ b/netbox_topology_views/views.py @@ -31,6 +31,8 @@ def create_node(device): node_content += "Serial: " + device.serial + "" if device.primary_ip is not None: node_content += "IP Address: " + str(device.primary_ip.address) + "" + if device.site is not None: + node_content += "Site: " + device.site.name + "" dev_title = " %s
" % (node_content)