- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 08:29 AM - edited 11-19-2024 09:34 AM
I'm running "show run interface ethX/X" on multiple interfaces using pyATS on a Nexus9000 C9508, and the only fields in the response for each interface is description and shutdown.
# command
response = device.parse("show run interface eth1/1")
# example response
{"Ethernet1/1": {"description": "somedesc", "shutdown": False}}
But, running the same command on the device shows more information, like ip or inherit commands.
Any ideas?
Solved! Go to Solution.
- Labels:
-
pyATS
-
Python Network Automation
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 09:25 AM
Connect with me https://bigevilbeard.github.io

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 09:25 AM
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 09:49 AM
Yes, execute shows all the expected output.
I was using parse because it was listed as an available parser: https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520running-config%2520interface%2520%257Binterface%257D
I'm not sure why it's not working.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 10:35 AM - edited 11-20-2024 02:33 AM
Glad it’s working, might be worth contacting the pyats team or putting an issue on the code repo. Very strange and the parser might need to be looked at for this model. I popped the question in the webex team space for pyats.
Connect with me https://bigevilbeard.github.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 03:22 AM
If you can share the output that you are trying to parse in public, please open an issue via https://github.com/CiscoTestAutomation/genieparser/issues. If the output contains sensitive information, please send an email with the output to pyats-support-ext@cisco.com.
