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

just remove phy spare interfaces from showing up in any dashboards period

parent 911ed5c9
No related branches found
No related tags found
1 merge request!46just remove phy spare interfaces from showing up in any dashboards period
......@@ -492,6 +492,9 @@ def _get_dashboards(interface, region=None):
is_phy_upstream = re.match(r'PHY UPSTREAM\s', description)
if description.startswith('PHY SPARE'):
return []
if 'SRV_L3VPN' in description and 'COPERNICUS' in description:
yield BRIAN_DASHBOARDS.COPERNICUS
if re.match(r'SRV_CLS\s', description):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment