Skip to content
New issue

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

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

Already on GitHub? # to your account

Update template: cisco_xr_show_ipv4_interface.textfsm #1776

Merged
merged 34 commits into from
Jul 22, 2024

Conversation

jorlandobr
Copy link
Contributor

Modified index regex from cisco_xr_show_ipv4_interface.textfsm, .*, cisco_xr, sh[[ow]] ip[[v4]] int[[erface]] to cisco_xr_show_ipv4_interface.textfsm, .*, cisco_xr, sh[[ow]] ip[[v4]](?: vrf \S+)? int[[erface]] to proccess both show ipv4 interface and show ipv4 vrf vrf_name interface commands.

Added fields of interest:

  • secondary IP address and masklenght
  • RPF check
  • VRF ID
  • IN and OUT access lists

Added test files with these parameters and modified existing YML files to assert new fields.

cisco_xr_show_ipv4_interface.textfsm, .*, cisco_xr, sh[[ow]] ip[[v4]](?: vrf \S+)? int[[erface]]

can now serve both "show ipv4 interface" and "show ipv4 vrf interface" commands
Added fields of interest:
Secondary IP address
Secondary IP prefix lenght
VRF ID
Output ACL
Input ACL
RPF Check
Test file with values for secondary IP and mask lenght, access list, RPF
@jmcgill298 jmcgill298 merged commit 9c58c94 into networktocode:master Jul 22, 2024
14 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants