diff --git a/inventory_provider/routes/poller.py b/inventory_provider/routes/poller.py index 7ff8494c26edc49339598b64c229f573f9d11041..2891b68bef8bc8fe826c5c0cdb5f12f46c528d9a 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 re.search(r'COPERNICUS.*?\|', description, flags=re.IGNORECASE): yield BRIAN_DASHBOARDS.COPERNICUS if 'SRV_CLS' in description: yield BRIAN_DASHBOARDS.CLS