ASA parsing of show inventory fails
See original GitHub issueParsing of the “show Inventory” command fails on one of our ASA firewalls:
From the sensible script:
FAILED! => {"msg": "parse_genie: Missing keys: [['Ethernet 1/13', 'pid'], ['Ethernet 1/13', 'vid'], ['Ethernet 1/13', 'sn'], ['Ethernet 1/14', 'pid'], ['Ethernet 1/14', 'vid'], ['Ethernet 1/14', 'sn']] - Failed to parse command output."}
from the command output:
Name: "Ethernet 1/13", DESCR: "10gbase-lr"
PID: RTXM228-401-C98, VID: , SN: ACW111115H9
Name: "Ethernet 1/14", DESCR: "1glx"
PID: FTLF1318P3BTL-C, VID: , SN: FNS11111J1K
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Genie parser "show inventory" error on some IOS platforms
Solved: Hi pyATS community, just to let you know - or maybe I did anything wrong ... There are errors with the genie...
Read more >IV50487: CISCO ASA DOES NOT PROPERLY PARSE ... - IBM
The inability to parse the event correctly is due to events that contain hyphens in their event payload. For example, <187>%ASA-3-713228: Group =...
Read more >ASA | In the Works - A tech apprenticeship
Currently, I've only built parsing strings for Cisco ASAs and Catalyst ... After I've upgraded the firewall, I use “show version,” “show inventory,” ......
Read more >parsing across multiple lines with ansible - Stack Overflow
You are not showing the task from which you get that output from (and "inventory output" is a quite confusing term in this...
Read more >Write a parser — pyATS Development Guide documentation
The pyATS Library provides you with many out-of-the box parsers for use with the most frequently-used Cisco show commands and OS/platform combinations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Kindly create a new PR for this fix.
Pull requested created, please review #630