From 15b6834c7e565e6482786b7c85f5268f60b584c4 Mon Sep 17 00:00:00 2001 From: Jay Gheewala Date: Fri, 13 Jan 2017 21:30:44 +0000 Subject: [PATCH] adding chassis-id colunm to lldp information --- netbox/templates/dcim/device_lldp_neighbors.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netbox/templates/dcim/device_lldp_neighbors.html b/netbox/templates/dcim/device_lldp_neighbors.html index 6a5446c3b..d15d0a5c4 100644 --- a/netbox/templates/dcim/device_lldp_neighbors.html +++ b/netbox/templates/dcim/device_lldp_neighbors.html @@ -16,6 +16,7 @@ Configured Interface LLDP Device LLDP Interface + LLDP Chassis-Id @@ -36,6 +37,7 @@ {% endif %} + {% endfor %} @@ -57,6 +59,7 @@ $(document).ready(function() { // Add LLDP neighbors to table row.children('td.device').html(neighbor['name']); row.children('td.interface').html(neighbor['remote-interface']); + row.children('td.chassis-id').html(neighbor['chassis-id']); // Apply colors to rows if (!configured_device && neighbor['name']) { row.addClass('info');