Closed c3101 closed 7 months ago
When trying to parse output from a "show access-list" command using the parse_string method, the following exception occurs:
Could not find module_name for command show access-list for nos iosxe from genie: Parser Output is empty
parser = GenieCommandParse(nos="iosxe") parsed_data = parser.parse_string( show_command="show access-list", show_output_data=output ) print(parsed_data)
I also tried nos="ios", but this made no difference. python 3.11.8
1.3.9
This is not a bug. That command is not in the Genie parser. here is the source.
https://github.com/CiscoTestAutomation/genieparser/blob/master/src/genie/libs/parser/iosxe/show_acl.py
The correct command is show access-lists
Describe Problem
When trying to parse output from a "show access-list" command using the parse_string method, the following exception occurs:
Could not find module_name for command show access-list for nos iosxe from genie: Parser Output is empty
I also tried nos="ios", but this made no difference. python 3.11.8
Version
1.3.9