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

Merge branch 'develop' into feature/POL1-560-10G-service-dashboard

parents d8d0bf24 4d578952
Branches
Tags
No related merge requests found
...@@ -417,7 +417,7 @@ def _get_dashboards(interface): ...@@ -417,7 +417,7 @@ def _get_dashboards(interface):
router = interface.get('router', '').lower() router = interface.get('router', '').lower()
ifc_name = interface.get('name', '') ifc_name = interface.get('name', '')
description = interface.get('description', '').strip() description = interface.get('description', '').strip()
if re.search(r'COPERNICUS.*?\|', description, flags=re.IGNORECASE): if 'SRV_L3VPN' in description and 'COPERNICUS' in description:
yield BRIAN_DASHBOARDS.COPERNICUS yield BRIAN_DASHBOARDS.COPERNICUS
if 'SRV_CLS' in description: if 'SRV_CLS' in description:
yield BRIAN_DASHBOARDS.CLS yield BRIAN_DASHBOARDS.CLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment