Skip to content
Snippets Groups Projects
Commit e2473814 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Add IASGWS to gws indirect panel descriptions

parent 030fb613
No related branches found
No related tags found
No related merge requests found
......@@ -45,16 +45,16 @@ def get_gws_indirect_panel_data(interfaces):
for interface in interfaces:
hostname = interface.get('hostname').replace('.geant.net', '')
interface_name = interface.get('interface')
if_name = interface.get('interface')
service_name = interface.get('name')
customer = interface.get('customer')
measurement = 'dscp32_rates'
panel_title = f'{hostname} - {{}} - {interface_name} - #{service_name}'
panel_title = f'{hostname} - {{}} - {if_name} - #{service_name} IASGWS'
result[f'GWS Indirect - {customer}'].append({
'measurement': measurement,
'title': panel_title,
'interface': interface_name,
'interface': if_name,
'hostname': interface.get('hostname'),
'has_v6': False
})
......
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