diff --git a/inventory_provider/routes/poller.py b/inventory_provider/routes/poller.py index 7ff8494c26edc49339598b64c229f573f9d11041..479a84a83c9c7e6c68b1c6b07251880abd91c49d 100644 --- a/inventory_provider/routes/poller.py +++ b/inventory_provider/routes/poller.py @@ -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 'COPERNICUS' in description: yield BRIAN_DASHBOARDS.COPERNICUS if 'SRV_CLS' in description: yield BRIAN_DASHBOARDS.CLS