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

Fix#826-2 cisco ios show ip eigrp topology #1013

Conversation

diepes
Copy link
Contributor

@diepes diepes commented Oct 31, 2021

ISSUE TYPE

(Actual fix after reorder of yml in #1012 )

COMPONENT

modified: ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm
add: tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.raw

SUMMARY

Fixes #826

  1. where the eigrp output, has additional FD(Feasible distance) and RD(Reported distance) in via output.
    e.g. current: via 10.254.11.9, TenGigabitEthernet1/1
    e.g.new: via 192.168.100.1 (130816/128256), GigabitEthernet0/0
    Add match and capture values in two new lists.
Value List ADV_FD (\d+)
Value List ADV_RD (\d+)
  1. the new output also has the via output with no starting spaces, changed "\s+" to "\s*" for start of line matches.

e.g. of additional fields. after

parsed_sample:
  - process_id: "100"
    adv_router:
      - "10.254.11.9"
      - "10.254.11.33"
    adv_fd: []
    adv_rd: []

before

parsed_sample:
  - process_id: "100"
    adv_router:
      - "10.254.11.9"
      - "10.254.11.33"

@diepes diepes force-pushed the fix#826-2-cisco_ios_show_ip_eigrp_topology branch from aef1550 to 0b959fe Compare December 2, 2021 10:44
@jmcgill298 jmcgill298 merged commit d61f94e into networktocode:master May 22, 2022
guillaume-mbali pushed a commit to unyc-io/ntc-templates that referenced this pull request Apr 12, 2023
cppmonkey pushed a commit to cppmonkey/ntc-templates that referenced this pull request Oct 25, 2023
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

Successfully merging this pull request may close these issues.

cisco_ios_show_ip_eigrp_topology not parsing successors with FD/peer advertised distance in the 'via' line
2 participants