Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show ip ospf neighbor detail #121

Open
Zooarcher opened this issue Jan 24, 2023 · 4 comments
Open

show ip ospf neighbor detail #121

Zooarcher opened this issue Jan 24, 2023 · 4 comments
Assignees

Comments

@Zooarcher
Copy link

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

@Taarini Taarini self-assigned this Feb 23, 2023
@Taarini
Copy link
Contributor

Taarini commented Feb 23, 2023

Hi

Thanks for reporting the issue.

Could you please share the os, platform and parser command output of show ip ospf neighbor detail to debug the above issue.

@Taarini
Copy link
Contributor

Taarini commented Feb 24, 2023

Hi

Can you please share the above details to debug

@Taarini
Copy link
Contributor

Taarini commented Feb 27, 2023

Hi

Please provide the requested details.

@cherifimehdi
Copy link
Contributor

Hi, for help I think you must use iosxe instead of ios in your testbed because most of parsers are moved to iosxe and shared with iosxe since they have same commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants