Skip to content
Snippets Groups Projects
Commit a6ce61e9 authored by Robert Latta's avatar Robert Latta
Browse files

Removed adding all lus to ae interface mapping

parent 42b627f0
No related branches found
No related tags found
No related merge requests found
...@@ -123,10 +123,6 @@ def update_interfaces_to_services(): ...@@ -123,10 +123,6 @@ def update_interfaces_to_services():
equipment_interface = '%s:%s' % ( equipment_interface = '%s:%s' % (
service['equipment'], service['interface_name']) service['equipment'], service['interface_name'])
interface_services[equipment_interface].append(service) interface_services[equipment_interface].append(service)
if "." in service['interface_name']:
equipment_interface = '%s:%s' % (
service['equipment'], service['interface_name'].split(".")[0])
interface_services[equipment_interface].append(service)
r = get_redis(InventoryTask.config) r = get_redis(InventoryTask.config)
for key in r.scan_iter('opsdb:interface_services:*'): for key in r.scan_iter('opsdb:interface_services:*'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment