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

EIGRP Topology for nxos Not Found #753

Open
vishnuo-lab opened this issue May 5, 2023 · 12 comments
Open

EIGRP Topology for nxos Not Found #753

vishnuo-lab opened this issue May 5, 2023 · 12 comments
Assignees

Comments

@vishnuo-lab
Copy link

When i run "shoip eigrp topology {vrf}" for nxos it giving an error saying that its not found.

Could not find parser for 'show ip eigrp topology' Details: Could not find
parser for show ip eigrp topology under ('nxos',)

@iamsatyanarayan
Copy link

Thanks for reaching out piestack support team, I will be looking at your ticket and reviewing it . Please make sure add the logs / pyats version / package list .
Recommend is to always use the latest pyats version (i.e. Current released version 23.3)

1 similar comment
@iamsatyanarayan
Copy link

Thanks for reaching out piestack support team, I will be looking at your ticket and reviewing it . Please make sure add the logs / pyats version / package list .
Recommend is to always use the latest pyats version (i.e. Current released version 23.3)

@iamsatyanarayan
Copy link

Hi,
'show ip eigrp topology' parser is available . please check :-
https://github.com/CiscoTestAutomation/genieparser/blob/master/src/genie/libs/parser/nxos/show_eigrp.py#L532

@iamsatyanarayan
Copy link

@iamsatyanarayan
Copy link

Hi,
As we haven't heard back from you , we will be closing this ticket. If you still require further assistance, please feel free to open a new ticket.

@vishnuo-lab
Copy link
Author

vishnuo-lab commented Jun 8, 2023 via email

@iamsatyanarayan
Copy link

iamsatyanarayan commented Jun 8, 2023

Hi,
Can you share with me the trade log and device output ?

@vishnuo-lab
Copy link
Author

vishnuo-lab commented Jun 8, 2023 via email

@iamsatyanarayan
Copy link

Hi vishnuo,
You can find the parser for 'show ip eigrp topology' under genieparser. To use that api you have to call like below as
device.parse('show ip eigrp topologyshow ip eigrp topology {vrf}').
You can pass the vrf id as device.parse(f'show ip eigrp topologyshow ip eigrp topology {<pass_the_vrf_id>}'). Please try to use in this way.

@iamsatyanarayan
Copy link

Hi
We are working on your issue. we will update you.

@iamsatyanarayan
Copy link

Hi vishnuo,,
This issue is fixed, you can try now "show ip eigrp topology" parse command.

@vishnuo-lab
Copy link
Author

I got another exception shown below. I am running version 23.9:

Issue with the parser sho ip eigrp topology vrf internet

Traceback (most recent call last):
File "src/genie/cli/commands/parser.py", line 339, in genie.cli.commands.parser.ParserCommand.parse
File "src/genie/conf/base/device.py", line 531, in genie.conf.base.device.Device.parse
File "src/genie/conf/base/device.py", line 570, in genie.conf.base.device.Device._get_parser_output
File "src/genie/conf/base/device.py", line 568, in genie.conf.base.device.Device._get_parser_output
File "src/genie/metaparser/_metaparser.py", line 308, in genie.metaparser._metaparser.MetaParser.parse
File "/home/volaganathan/Python_Virtual/Sandbox/lib64/python3.9/site-packages/genie/libs/parser/nxos/show_eigrp.py", line 551, in cli
return super().cli(output=output)
File "/home/volaganathan/Python_Virtual/Sandbox/lib64/python3.9/site-packages/genie/libs/parser/nxos/show_eigrp.py", line 519, in cli
.setdefault(route, {})
UnboundLocalError: local variable 'route' referenced before assignment

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

2 participants