Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net.interfaces not working for palo alto devices #56

Open
shanmukha511 opened this issue Mar 1, 2019 · 1 comment
Open

Net.interfaces not working for palo alto devices #56

shanmukha511 opened this issue Mar 1, 2019 · 1 comment

Comments

@shanmukha511
Copy link

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

@itdependsnetworks
Copy link

Can you open the issue on the community panos driver? Please note the version of palo device that fails you are using when you do open the request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants