Skip to content

Commit

Permalink
BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x …
Browse files Browse the repository at this point in the history
…adv-routes (networktocode#709)

* Fixed template to work for cisco ios show ip bgp neighbors x.x.x.x advertised-routes

* Adjusted template to proper naming schema, adjusted test directory to match naming scheme, added regex to have ip address as optional for tests to pass
  • Loading branch information
FragmentedPacket authored and thomasblass committed Oct 25, 2020
1 parent c7c987b commit b3ed26a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ cisco_asa_dir.textfsm, .*, cisco_asa, dir
cisco_ios_show_module.textfsm:cisco_ios_show_module_status.textfsm:cisco_ios_show_module_submodule.textfsm:cisco_ios_show_module_online_diag.textfsm, .*, cisco_ios, sh[[ow]] mod[[ule]]
cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.textfsm, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]]
cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]]
cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] adv[[ertised-routes]]
cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]](\s+\d+\.\d+\.\d+\.\d+)? adv[[ertised-routes]]
cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]]
cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]]
cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]]
Expand Down

0 comments on commit b3ed26a

Please sign in to comment.