Commit ad3931bf authored by Stauros Kroustouris's avatar Stauros Kroustouris

show ununsed interfaces for a device in the inventory

parent 1e6ad64c
......@@ -64,7 +64,7 @@ def site_devices(request, site_id):
'ifces': [ifce.to_node_dict()],
# as andreas about that
'free_ports': [ for interface in'', status='free')],
'free_ports': [ for interface in, status='down').exclude(name__contains='.').exclude(name__contains='ae')],
# colocated or not
'role': role,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment