You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/napalm.py", line 167, in call
out = getattr(napalm_device.get('DRIVER'), method)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/napalm_panos/panos.py", line 528, in get_interfaces
interface_info_json = json.dumps(interface_info_xml['response']['result']['hw'])
KeyError: u'hw'
The panos.py code is working fine for some devices but for some device when we execute net.interfaces we are getting above error
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/napalm.py", line 167, in call
out = getattr(napalm_device.get('DRIVER'), method)(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/napalm_panos/panos.py", line 528, in get_interfaces
interface_info_json = json.dumps(interface_info_xml['response']['result']['hw'])
KeyError: u'hw'
The panos.py code is working fine for some devices but for some device when we execute net.interfaces we are getting above error
The text was updated successfully, but these errors were encountered: