genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

EIGRP Topology for nxos Not Found

Open vishnuo-lab opened this issue 1 year ago • 12 comments

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',)

vishnuo-lab avatar May 05 '23 20:05 vishnuo-lab

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 avatar Jun 04 '23 13:06 iamsatyanarayan

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 avatar Jun 04 '23 13:06 iamsatyanarayan

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 avatar Jun 05 '23 08:06 iamsatyanarayan

Hi, Did you checkout this below link:- https://github.com/CiscoTestAutomation/genieparser/blob/master/src/genie/libs/parser/nxos/show_eigrp.py#L532

iamsatyanarayan avatar Jun 06 '23 15:06 iamsatyanarayan

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.

iamsatyanarayan avatar Jun 08 '23 05:06 iamsatyanarayan

Sorry for the late reply. Its there but gives me error when i run the parser.

Sent from my iPhone

On Jun 8, 2023, at 1:12 AM, iamsatyanarayan @.***> wrote:



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.

— Reply to this email directly, view it on GitHubhttps://github.com/CiscoTestAutomation/genieparser/issues/753#issuecomment-1581901984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANA3YTXU424K56IQIZJGQI3XKFNMXANCNFSM6AAAAAAXXSMHLM. You are receiving this because you authored the thread.Message ID: @.***>

vishnuo-lab avatar Jun 08 '23 10:06 vishnuo-lab

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

iamsatyanarayan avatar Jun 08 '23 10:06 iamsatyanarayan

I put the output in the ticket. But is there some additional thing i should run? More verbose? I am running the parse on the cli.

Sent from my iPhone

On Jun 8, 2023, at 6:30 AM, iamsatyanarayan @.***> wrote:



Hi, Can you share with me the trade log ?

— Reply to this email directly, view it on GitHubhttps://github.com/CiscoTestAutomation/genieparser/issues/753#issuecomment-1582335204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANA3YTQDX5TDVKVYPEQYO2DXKGSVLANCNFSM6AAAAAAXXSMHLM. You are receiving this because you authored the thread.Message ID: @.***>

vishnuo-lab avatar Jun 08 '23 10:06 vishnuo-lab

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 avatar Jun 09 '23 07:06 iamsatyanarayan

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

iamsatyanarayan avatar Jun 13 '23 04:06 iamsatyanarayan

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

iamsatyanarayan avatar Jul 17 '23 05:07 iamsatyanarayan

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

vishnuo-lab avatar Oct 14 '23 02:10 vishnuo-lab