-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Currently I see no parser for IOS, bummer..
but there is one for the above, which melts down, on a 3560g/x
they just keep coming in,
3560g
device.parse('show ip ospf neighbot') = says it has no parser
device.parse('show ip ospf neighbor detail') = gives total meltdown error,
Exception has occurred: InvalidCommandError
Invalid command has been executed
unicon.core.errors.SubCommandFailure: ('sub_command failure, patterns matched in the output:', ['^%\s*[Ii]nvalid (command|input)'], 'service result', "show running-config | section router ospf 1\r\n ^\r\n% Invalid input detected at '^' marker.\r\n\r\nsomeSwitch#")
The above exception was the direct cause of the following exception:
unicon.core.errors.SubCommandFailure: ('Command execution failed', SubCommandFailure('sub_command failure, patterns matched in the output:', ['^%\s*[Ii]nvalid (command|input)'], 'service result', "show running-config | section router ospf 1\r\n ^\r\n% Invalid input detected at '^' marker.\r\n\r\nnsomeSwitch#"))
The above exception was the direct cause of the following exception:
File "/home/parrot/Videos/genie/mods/test_func.py", line 68, in get_show_ip_ospf_neighbor
show_ip_ospf_neighbor = device.parse('show ip ospf neighbor detail')
File "/home/parrot/Videos/genie/mods/test_func.py", line 88, in test_parse
show_ip_ospf_neighbor = get_show_ip_ospf_neighbor()
File "/home/parrot/Videos/genie/mods/test_func.py", line 109, in
test_parse(rtr_package)
genie.metaparser.util.exceptions.InvalidCommandError: Invalid command has been executed