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

POL1-487 work only wants copernicus interfaces with SRV-L3VPN

parent 0620f0c9
Branches
Tags
No related merge requests found
......@@ -418,7 +418,7 @@ def _get_dashboards(interface):
router = interface.get('router', '').lower()
ifc_name = interface.get('name', '')
description = interface.get('description', '').strip()
if re.search(r'COPERNICUS.*?\|', description, flags=re.IGNORECASE):
if 'SRV_L3VPN' in description and re.search(r'COPERNICUS.*?\|', description, flags=re.IGNORECASE):
yield BRIAN_DASHBOARDS.COPERNICUS
if 'SRV_CLS' in description:
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