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
Branches
Tags
1 merge request!13Feature/pol1 430 EAP NRENs
......@@ -449,17 +449,6 @@ def _provision_interfaces(config, org_config, ds_name, token):
ifaces = AGG_DASHBOARDS[dash_name]['interfaces']
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
with ThreadPoolExecutor(max_workers=MAX_WORKERS) as executor:
provisioned = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment