Skip to content
Snippets Groups Projects
Commit 803e3aec authored by Sam Roberts's avatar Sam Roberts
Browse files

this should have not come back (???)

parent c45c7746
No related branches found
No related tags found
1 merge request!13Feature/pol1 430 EAP NRENs
...@@ -449,17 +449,6 @@ def _provision_interfaces(config, org_config, ds_name, token): ...@@ -449,17 +449,6 @@ def _provision_interfaces(config, org_config, ds_name, token):
ifaces = AGG_DASHBOARDS[dash_name]['interfaces'] ifaces = AGG_DASHBOARDS[dash_name]['interfaces']
ifaces.append(iface) ifaces.append(iface)
# aggregate dashboards based on dashboards_info
# there is no way for inventory provider to identify an interface as
# belonging to an EAP NREN at the level 'dashboards' is set
# (based on description and without access to service data)
# so we have to do this as an extra check on 'dashboards_info'
for dashboard in iface['dashboards_info']:
dash_name = dashboard['name']
if dash_name in AGG_DASHBOARDS:
ifaces = AGG_DASHBOARDS[dash_name]['interfaces']
ifaces.append(iface)
# provision dashboards and their folders # provision dashboards and their folders
with ThreadPoolExecutor(max_workers=MAX_WORKERS) as executor: with ThreadPoolExecutor(max_workers=MAX_WORKERS) as executor:
provisioned = [] provisioned = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment