Skip to content

Commit 1c9ec6b

Browse files
authored
Rename and support single nxos interface switchport (#1889)
1 parent 138e9d9 commit 1c9ec6b

8 files changed

Lines changed: 1 addition & 1 deletion

ntc_templates/templates/cisco_nxos_show_interfaces_switchport.textfsm renamed to ntc_templates/templates/cisco_nxos_show_interface_switchport.textfsm

File renamed without changes.

ntc_templates/templates/index

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,12 @@ cisco_nxos_show_interface_snmp-ifindex.textfsm, .*, cisco_nxos, sh[[ow]] int[[er
378378
cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]]
379379
cisco_nxos_show_interface_description.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] desc[[ription]]
380380
cisco_nxos_show_interface_transceiver.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]]
381-
cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]]
382381
cisco_nxos_show_ip_arp_detail_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] vrf all
383382
cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]]
384383
cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]]
385384
cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]]
386385
cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] (?:ipv4 )?ad[[jacency]]
386+
cisco_nxos_show_interface_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]](\s+.+)? sw[[itchport]]
387387
cisco_nxos_show_ip_interface_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] ip interf[[ace]] v[[rf]] a[[ll]]
388388
cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]]
389389
cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]]

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.raw renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport.raw

File renamed without changes.

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport.yml

File renamed without changes.

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_monitor.raw renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport_monitor.raw

File renamed without changes.

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_monitor.yml renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport_monitor.yml

File renamed without changes.

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.raw renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport_voice_vlan.raw

File renamed without changes.

tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml renamed to tests/cisco_nxos/show_interface_switchport/cisco_nxos_show_interface_switchport_voice_vlan.yml

File renamed without changes.

0 commit comments

Comments
 (0)