Skip to content

show ip ospf neighbor detail #121

@Zooarcher

Description

@Zooarcher

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions