diff --git a/brian_dashboard_manager/templating/helpers.py b/brian_dashboard_manager/templating/helpers.py index 086e62015df24d37a8a297f282b2f832fdd697f1..dd71709b4c400d5d667b09843feb545c39131a45 100644 --- a/brian_dashboard_manager/templating/helpers.py +++ b/brian_dashboard_manager/templating/helpers.py @@ -164,10 +164,11 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards): name = service.get('name') sid = service.get('sid') scid = service.get('scid') + service_type = service.get('service_type') measurement = 'scid_rates' - lag_service = service['service_type'] == 'ETHERNET' + lag_service = 'GA-' in sid and service_type == 'ETHERNET' if lag_service: if len(_interfaces) == 0: @@ -225,7 +226,6 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards): }) if port_type == 'access': - logger.info(f'{f"{location} - {dashboard_name} ({interface_name})"} #### {description}') # noqa: E501 dashboard['AGGREGATES'].append({ 'interface': interface_name, 'hostname': host,