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

Add multiple vrf support #1553

Merged
merged 11 commits into from
Oct 30, 2023

Conversation

tom0010
Copy link
Contributor

@tom0010 tom0010 commented Oct 23, 2023

  • Rename cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors to cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes as the template was referencing an incorrect command/template
  • Update index to properly support routes/advertised-routes/received-routes for cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes
  • Update index to support specific vrf names for cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes
  • Add VRF support for the following templates:
    • arista_eos_show_ip_bgp_detail
    • arista_eos_show_ip_bgp
    • cisco_nxos_show_ip_bgp_neighbors
    • cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes
  • Added router_id and local_as support for arista_eos_show_ip_bgp
  • Tidy cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes
  • Replace network with prefix and prefix_length to adhere to NTC Templates 4.0 release for cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes
  • Update all tests for:
    • arista_eos_show_ip_bgp_detail
    • arista_eos_show_ip_bgp
    • cisco_nxos_show_ip_bgp_neighbors
    • cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors

@jvanderaa jvanderaa merged commit 085c55e into networktocode:master Oct 30, 2023
16 checks passed
mjbear pushed a commit to mjbear/ntc-templates that referenced this pull request Jan 7, 2024
* Add vrf support for arista eos show ip bgp detail

* Update tests for arista eos show ip bgp detail

* Add vrf support for cisco nxos show ip bgp neighbors

* Update tests for cisco nxos show ip bgp neighbors

* Add vrf, local_as, and router_id support for arista eos show ip bgp

* Update tests for arista eos show ip bgp

* Renamed cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors to cisco_nxos_show_bgp_vrf_all_ipv4_unicast_neighbors_routes, change NETWORK to PREFIX and PREFIX_LENGTH

* Change index for cisco nxos show bgp vrf all ipv4 unicast neighbors to accommodate for the correct commands, support multiple VRFs

* Rename tests for cisco nxos show bgp vrf all ipv4 unicast neighbors to support correct commands. Replace NETWORK with PREFIX and PREFIX_LENGTH

* Remove redundant folder

* Add missing tests due to rename for cisco nxos show bgp vrf all ipv4 unicast neighbors routes
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.

2 participants