CiscoTestAutomation / genieparser

sub-component of Genie that parse the device output into structured datastructure
Apache License 2.0
251 stars 388 forks source link

ios-xr: show isis interface parser error #743

Open odsmit opened 1 year ago

odsmit commented 1 year ago

Hi Genie team,

On IOS-XR 7.7.2 I get a parser error when parsing: show isis interface

"msg": "Unable to parse output for command 'show isis interface' (instance.AggWest.interface.Bundle-Ether100.topology.ipv4 unicast: Unsupported keys: ['lsp_rexmit_queue_size'])"

If I try the same parsing on IOS-XR 6.7.3 it parses just fine.

Attached the cli output of show isis interface of both IOS-XR versions.

You are currently running pyATS version: 23.2 Python: 3.10.6 [64bit]

show_isis_interface_cli.txt

sumitsehgal123 commented 1 year ago

Hi odsmit, I am looking at your ticket and reviewing it, Please let me know are your are still facing the issue or not ?

sumitsehgal123 commented 1 year ago

Hi odsmit, Please let me know are your are still facing the issue or not ?

odsmit commented 1 year ago

Hi, yes still the same problem:

TASK [Parsing output] ** task path: xxxxxxxxxxxxxx/ansible/verify/isis/isis_intf.yml:11 fatal: [tn1-3]: FAILED! => { "msg": "Unable to parse output for command 'show isis interface' (instance.AggWest.interface.Bundle-Ether100.topology.ipv4 unicast: Unsupported keys: ['lsp_rexmit_queue_size'])" }

sumitsehgal123 commented 1 year ago

Hi Odsmit , I am working on the above issue . I will get back to you .

sumitsehgal123 commented 1 year ago

Hi Odmsit , As per your input the parser is working fine for the older version - IOS-XR 6.7.3. but it is not supporting to newer version -IOS-XR 7.7.2. This is fully depend on genie parser. Can you please contribute to the genie parser by submitting the PR. so that the issue will get resolve.

sumitsehgal123 commented 1 year ago

Hi Odmsit, Can you please contribute to the genie parser by submitting the PR for the above issue ,so that the issue will get resolve.

odsmit commented 1 year ago

Hi, I would klove to create a PR, but I don't know how.

sumitsehgal123 commented 1 year ago

Hi Odsmit , Thanks for contributing to genieparser community with the parser fix Please go through the documentation link (https://pubhub.devnetcloud.com/media/pyats-development-guide/docs/writeparser/writeparser.html#contributing-your-work-to-the-pyats-project:~:text=8.-,Contributing%20your%20work%20to%20the%20pyATS%20project,-%EF%83%81) on steps to contribute to the parser. Also, let me know if you are stuck at any point during the process.

sumitsehgal123 commented 1 year ago

Hi Odsmit , Please can you share the updates on PR . Is there any help need from our side ,Please let me know