We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3bfe7 commit d1fd5b2Copy full SHA for d1fd5b2
suzieq/poller/worker/services/vlan.py
@@ -6,6 +6,15 @@
6
class VlanService(Service):
7
"""Vlan service. Different class because Vlan is not right type for EOS"""
8
9
+ def clean_json_input(self, data):
10
+ """evpnVni JSON output is busted across many NOS. Fix it"""
11
+
12
+ devtype = data.get("devtype", None)
13
+ if devtype == 'junos-mx':
14
+ data['data'] = data['data'].replace('}, \n }\n', '} \n }\n')
15
16
+ return data['data']
17
18
def _clean_eos_data(self, processed_data, _):
19
'''Massage the interface output'''
20
0 commit comments