From 3f49940ed46a948708779008b48391a1d0505967 Mon Sep 17 00:00:00 2001 From: EricWu Date: Sun, 15 Mar 2020 00:32:39 +0800 Subject: [PATCH 001/412] New Template: hp_comware_display_lldp_neighbor-information_verbose (#619) --- ..._lldp_neighbor-information_verbose.textfsm | 27 ++++ templates/index | 1 + ...play_lldp_neighbor-information_verbose.raw | 143 ++++++++++++++++++ ...play_lldp_neighbor-information_verbose.yml | 30 ++++ 4 files changed, 201 insertions(+) create mode 100644 templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm create mode 100644 tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw create mode 100644 tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml diff --git a/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm b/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm new file mode 100644 index 0000000000..6e1c401a41 --- /dev/null +++ b/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm @@ -0,0 +1,27 @@ +Value Required LOCAL_INTERFACE (\S+) +Value CHASSIS_ID (\S+) +Value NEIGHBOR_PORT_ID (.*) +Value NEIGHBOR_INTERFACE (.*) +Value NEIGHBOR (\S+) +Value MANAGEMENT_IP (\S+) +Value VLAN (\d+) + +Start + ^The\s+LLDP\s+service\s+is\s+not\s+running -> EOF + ^LLDP\s+neighbor-information\s+of\s+port\s+\d+\[${LOCAL_INTERFACE}\] + ^LLDP\s+agent\s+nearest-bridge: + ^\s+LLDP\s+neighbor index\s+:.* + ^\s+Update\s+time\s+:.* + ^\s+Chassis\s+type\s+:.* + ^\s+Chassis\s+ID\s+:\s+${CHASSIS_ID} + ^\s+Port\s+ID\s+type\s+:.* + ^\s+Port\s+ID\s+:\s+${NEIGHBOR_PORT_ID} + ^\s+Time\s+to\s+live\d+:.* + ^\s+Port\s+description\s+:\s+${NEIGHBOR_INTERFACE} + ^\s+System\s+name\s+:\s+${NEIGHBOR} + ^\s+Management\s+address\s+:\s+${MANAGEMENT_IP} + ^\s+Management\s+address\s+interface\s+type + ^\s+Management\s+address\s+interface\s+ID + ^\s+Management\s+address\s+OID + ^\s+Port\s+VLAN\s+ID\(PVID\)\s+:\s+${VLAN} + ^\s+Maximum\s+frame\s+size -> Record Start diff --git a/templates/index b/templates/index index 5529a73b66..978034e026 100644 --- a/templates/index +++ b/templates/index @@ -327,6 +327,7 @@ fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[e fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[i]]nterface fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus +hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw new file mode 100644 index 0000000000..93b90ea516 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw @@ -0,0 +1,143 @@ +LLDP neighbor-information of port 1[Ten-GigabitEthernet1/0/0/1]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 46 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d6b-e800 + Port ID type : Interface name + Port ID : GigabitEthernet0/0/1 + Time to live : 120 + Port description : To_IDC-CORE-HS125X_T1/0/0/1(group40) + System name : IDC-Extranet-HR8808-1 + System description : H3C Comware software. H3C SR8800 Product Version SR8800-C + MW520-R3725P01. Copyright (c) 2004-2014 Hangzhou H3C Tech + . Co., Ltd. All rights reserved. + System capabilities supported : Bridge, Router + System capabilities enabled : Bridge, Router + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 71 + Auto-negotiation supported : No + Auto-negotiation enabled : Yes + OperMau : Speed(1000)/Duplex(Full) + Power port class : PD + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + +LLDP neighbor-information of port 2[Ten-GigabitEthernet1/0/0/2]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 38 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d17-ad59 + Port ID type : Interface name + Port ID : Ten-GigabitEthernet1/0/0/5 + Time to live : 120 + Port description : To_IDC-CORE_-HS125X_T1/0/0/2(group1) + System name : IDC-Intranet-HS125X + System description : H3C Comware Platform Software, Software Version 7.1.045, + Release 1005P09 + H3C S12510-X + Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All + rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 172.16.37.18 + Management address interface type : IfIndex + Management address interface ID : 6576 + Management address OID : 0 + Port VLAN ID(PVID) : 1300 + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 5 + Auto-negotiation supported : Yes + Auto-negotiation enabled : Yes + OperMau : Speed(10000)/Duplex(Full) + Power port class : PSE + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + +LLDP neighbor-information of port 3[Ten-GigabitEthernet1/0/0/3]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 31 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d17-ad59 + Port ID type : Interface name + Port ID : Ten-GigabitEthernet2/0/0/5 + Time to live : 120 + Port description : To_IDC-CORE_-HS125X_T1/0/0/3(group1) + System name : IDC-Intranet-HS125X + System description : H3C Comware Platform Software, Software Version 7.1.045, + Release 1005P09 + H3C S12510-X + Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All + rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 172.16.37.18 + Management address interface type : IfIndex + Management address interface ID : 6576 + Management address OID : 0 + Port VLAN ID(PVID) : 1300 + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 1565 + Auto-negotiation supported : Yes + Auto-negotiation enabled : Yes + OperMau : Speed(10000)/Duplex(Full) + Power port class : PSE + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + + [H3C-GigabitEthernet0/0]dis lldp neighbor-information verbose +LLDP neighbor-information of port 1[GigabitEthernet0/0]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 0 days, 0 hours, 3 minutes, 9 seconds + Chassis type : MAC address + Chassis ID : 4c1c-503a-0100 + Port ID type : Interface name + Port ID : GigabitEthernet0/0 + Time to live : 121 + Port description : GigabitEthernet0/0 Interface + System name : Test-Router + System description : H3C Comware Platform Software, Software Version 7.1.075, + Alpha 7571 + H3C MSR36-20 + Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. Al + l rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 12.1.1.2 + Management address interface type : IfIndex + Management address interface ID : 1 + Management address OID : 0 + Link aggregation supported : Yes + Link aggregation enabled : No + Aggregation port ID : 0 + Auto-negotiation supported : No + Auto-negotiation enabled : No + OperMau : Speed(0)/Duplex(Unknown) + Power port class : PSE + PSE power supported : Yes + PSE power enabled : No + PSE pairs control ability : Yes + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 \ No newline at end of file diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml new file mode 100644 index 0000000000..1f2e778628 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - local_interface: "Ten-GigabitEthernet1/0/0/1" + chassis_id: "70f9-6d6b-e800" + neighbor_port_id: "GigabitEthernet0/0/1" + neighbor_interface: "To_IDC-CORE-HS125X_T1/0/0/1(group40)" + neighbor: "IDC-Extranet-HR8808-1" + management_ip: "" + vlan: "" + - local_interface: "Ten-GigabitEthernet1/0/0/2" + chassis_id: "70f9-6d17-ad59" + neighbor_port_id: "Ten-GigabitEthernet1/0/0/5" + neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/2(group1)" + neighbor: "IDC-Intranet-HS125X" + management_ip: "172.16.37.18" + vlan: "1300" + - local_interface: "Ten-GigabitEthernet1/0/0/3" + chassis_id: "70f9-6d17-ad59" + neighbor_port_id: "Ten-GigabitEthernet2/0/0/5" + neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/3(group1)" + neighbor: "IDC-Intranet-HS125X" + management_ip: "172.16.37.18" + vlan: "1300" + - local_interface: "GigabitEthernet0/0" + chassis_id: "4c1c-503a-0100" + neighbor_port_id: "GigabitEthernet0/0" + neighbor_interface: "GigabitEthernet0/0 Interface" + neighbor: "Test-Router" + management_ip: "12.1.1.2" + vlan: "" From 8283babbf25f4743df8a932d2f56811c59099f4d Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 17 Mar 2020 22:35:47 -0500 Subject: [PATCH 002/412] Adds template for Cisco ASA "show vpn-sessiondb anyconnect" (#625) * Adds template for show vpn-sessiondb anyconnect * Adds presumptive output of a second user output Co-authored-by: Josh VanDeraa --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 44 ++++++++++++++++ templates/index | 1 + ...isco_asa_show_vpn-sessiondb_anyconnect.raw | 15 ++++++ ...isco_asa_show_vpn-sessiondb_anyconnect.yml | 27 ++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect1.raw | 33 ++++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect1.yml | 52 +++++++++++++++++++ 6 files changed, 172 insertions(+) create mode 100644 templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm new file mode 100644 index 0000000000..382891ef56 --- /dev/null +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -0,0 +1,44 @@ +Value Required SESSION_TYPE (\S+) +Value USERNAME (\S+) +Value INDEX (\d+) +Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) +Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) +Value PROTOCOL (.+?) +Value LICENSE (.+?) +Value ENCRYPTION (.+?) +Value HASHING (.+?) +Value BYTES_TX (\d+) +Value BYTES_RX (\d+) +Value GROUP_POLICY (\S+) +Value TUNNEL_GROUP (\S+) +Value LOGIN_TIME (\d+:\d+:\d+) +Value LOGIN_TIME_ZONE (\w+) +Value LOGIN_WEEKDAY (\w+) +Value LOGIN_MONTH (\w+) +Value LOGIN_DAY (\d+) +Value LOGIN_YEAR (\d+) +Value DURATION (.+?) +Value INACTIVITY (.+?) +Value VLAN_MAPPING (\S+) +Value VLAN (.+?) +Value AUDT_SESS_ID (.+?) +Value SECURITY_GRP (.+?) + +Start + ^Session\s+Type:\s+${SESSION_TYPE}$$ + ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ + ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ + ^\s*Protocol\s+:\s+${PROTOCOL}$$ + ^\s*License\s+:\s*${LICENSE}$$ + ^\s*Encryption\s+:\s*${ENCRYPTION}$$ + ^\s*Hashing\s+:\s*${HASHING}$$ + ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ + ^\s*Duration\s+:\s+${DURATION}$$ + ^\s*Inactivity\s+:\s+${INACTIVITY}$$ + ^\s*VLAN\s+Mapping\s+:\s+${VLAN_MAPPING}\s+VLAN\s+:\s+${VLAN}$$ + ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ + ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 978034e026..74c3469a98 100644 --- a/templates/index +++ b/templates/index @@ -112,6 +112,7 @@ cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 cisco_asa_show_running-config_tunnel-group.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] cisco_asa_show_running-config_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] +cisco_asa_show_vpn-sessiondb_anyconnect.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] a[[nyconnect]] cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw new file mode 100644 index 0000000000..46d95729a0 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw @@ -0,0 +1,15 @@ +Session Type: AnyConnect +Username : USER Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml new file mode 100644 index 0000000000..1476aa6c9f --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "USER" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw new file mode 100644 index 0000000000..cfc57ea2ae --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw @@ -0,0 +1,33 @@ +Session Type: AnyConnect + +Username : USER Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none + +Session Type: AnyConnect + +Username : lee Index : 1 +Assigned IP : 192.168.246.1 Public IP : 10.139.1.2 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : RC4 AES128 +Hashing : SHA1 +Bytes Tx : 11079 Bytes Rx : 4942 +Group Policy : EngPolicy Tunnel Group : EngGroup +Login Time : 15:25:13 EST Fri Jan 28 2011 +Duration : 0h:00m:15s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : a31867c632efaeaad +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml new file mode 100644 index 0000000000..d00bf4134a --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "USER" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" + - session_type: "AnyConnect" + username: "lee" + index: "1" + assigned_ip: "192.168.246.1" + public_ip: "10.139.1.2" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "RC4 AES128" + hashing: "SHA1" + bytes_tx: "11079" + bytes_rx: "4942" + group_policy: "EngPolicy" + tunnel_group: "EngGroup" + login_time: "15:25:13" + login_time_zone: "EST" + login_weekday: "Fri" + login_month: "Jan" + login_day: "28" + login_year: "2011" + duration: "0h:00m:15s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "a31867c632efaeaad" + security_grp: "none" From f1f1d00d5913e5fb173d0b45a8aa90605327d384 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 18 Mar 2020 10:46:45 -0500 Subject: [PATCH 003/412] BugFix: show vpn-sessiondb anyconnect - INDEX required and fix whitespace capture in security_group (#626) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 14 ++-- ...isco_asa_show_vpn-sessiondb_anyconnect.raw | 2 +- ...sco_asa_show_vpn-sessiondb_anyconnect1.raw | 6 +- ...sco_asa_show_vpn-sessiondb_anyconnect2.raw | 46 +++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect2.yml | 77 +++++++++++++++++++ 5 files changed, 134 insertions(+), 11 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 382891ef56..6a3983b936 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -1,6 +1,6 @@ -Value Required SESSION_TYPE (\S+) +Value Filldown,Required SESSION_TYPE (\S+) Value USERNAME (\S+) -Value INDEX (\d+) +Value Required INDEX (\d+) Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) Value PROTOCOL (.+?) @@ -22,10 +22,12 @@ Value INACTIVITY (.+?) Value VLAN_MAPPING (\S+) Value VLAN (.+?) Value AUDT_SESS_ID (.+?) -Value SECURITY_GRP (.+?) +Value SECURITY_GRP (\S+) Start - ^Session\s+Type:\s+${SESSION_TYPE}$$ + ^Session\s+Type:\s+${SESSION_TYPE}$$ -> Connection + +Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ @@ -33,12 +35,12 @@ Start ^\s*Encryption\s+:\s*${ENCRYPTION}$$ ^\s*Hashing\s+:\s*${HASHING}$$ ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ - ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ ^\s*Duration\s+:\s+${DURATION}$$ ^\s*Inactivity\s+:\s+${INACTIVITY}$$ ^\s*VLAN\s+Mapping\s+:\s+${VLAN_MAPPING}\s+VLAN\s+:\s+${VLAN}$$ ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ - ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}$$ -> Record + ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s*$$ -> Record ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw index 46d95729a0..3b310052ce 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw @@ -12,4 +12,4 @@ Duration : 2h:21m:21s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : ac1063fe003fa0005e715555 -Security Grp : none \ No newline at end of file +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw index cfc57ea2ae..67d17e2690 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw @@ -13,9 +13,7 @@ Duration : 2h:21m:21s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : ac1063fe003fa0005e715555 -Security Grp : none - -Session Type: AnyConnect +Security Grp : none Username : lee Index : 1 Assigned IP : 192.168.246.1 Public IP : 10.139.1.2 @@ -30,4 +28,4 @@ Duration : 0h:00m:15s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : a31867c632efaeaad -Security Grp : none +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw new file mode 100644 index 0000000000..a9d6981d87 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw @@ -0,0 +1,46 @@ +Session Type: AnyConnect + +Username : janedoe Index : 55620 +Assigned IP : 10.15.113.59 Public IP : 8.8.8.8 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 2310124124 Bytes Rx : 241259137 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 09:10:02 PDT Mon Mar 16 2020 +Duration : 1d 12h:33m:07s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0d9440005e6fa4da +Security Grp : none + +Username : johndoe Index : 55861 +Assigned IP : 10.15.112.51 Public IP : 15.25.192.144 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 12215025 Bytes Rx : 1718697 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 21:22:54 PDT Tue Mar 17 2020 +Duration : 0h:20m:15s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0da350005e71a21e +Security Grp : none + +Username : foo_bar Index : 56876 +Assigned IP : 10.15.112.173 Public IP : 123.15.26.19 +Protocol : AnyConnect-Parent +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none +Hashing : AnyConnect-Parent: (1)none +Bytes Tx : 1815344331 Bytes Rx : 331612525 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 09:30:15 PDT Mon Mar 16 2020 +Duration : 1d 12h:12m:54s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0de2c0005e6fa997 +Security Grp : none \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml new file mode 100644 index 0000000000..635272a1c5 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "janedoe" + index: "55620" + assigned_ip: "10.15.113.59" + public_ip: "8.8.8.8" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "2310124124" + bytes_rx: "241259137" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "09:10:02" + login_time_zone: "PDT" + login_weekday: "Mon" + login_month: "Mar" + login_day: "16" + login_year: "2020" + duration: "1d 12h:33m:07s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0d9440005e6fa4da" + security_grp: "none" + - session_type: "AnyConnect" + username: "johndoe" + index: "55861" + assigned_ip: "10.15.112.51" + public_ip: "15.25.192.144" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "12215025" + bytes_rx: "1718697" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "21:22:54" + login_time_zone: "PDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "0h:20m:15s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0da350005e71a21e" + security_grp: "none" + - session_type: "AnyConnect" + username: "foo_bar" + index: "56876" + assigned_ip: "10.15.112.173" + public_ip: "123.15.26.19" + protocol: "AnyConnect-Parent" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none" + hashing: "AnyConnect-Parent: (1)none" + bytes_tx: "1815344331" + bytes_rx: "331612525" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "09:30:15" + login_time_zone: "PDT" + login_weekday: "Mon" + login_month: "Mar" + login_day: "16" + login_year: "2020" + duration: "1d 12h:12m:54s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0de2c0005e6fa997" + security_grp: "none" From cf22a925c2d1cb0b42718c81f94f9a19bbb09382 Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Mon, 23 Mar 2020 11:05:52 -0400 Subject: [PATCH 004/412] New Template: cisco_wlc_ssh_show_mobility_sum (#628) --- .../cisco_wlc_ssh_show_mobility_sum.textfsm | 23 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_mobility_sum.raw | 14 +++++++++++ .../cisco_wlc_ssh_show_mobility_sum.yml | 12 ++++++++++ 4 files changed, 50 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_mobility_sum.textfsm create mode 100644 tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw create mode 100644 tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml diff --git a/templates/cisco_wlc_ssh_show_mobility_sum.textfsm b/templates/cisco_wlc_ssh_show_mobility_sum.textfsm new file mode 100644 index 0000000000..f4f746ec12 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_mobility_sum.textfsm @@ -0,0 +1,23 @@ +Value MAC_ADDR (([\d1-9a-f]{2}\:?){6}) +Value IP_ADDR (([\d1-9]+\.?){4}) +Value GROUP_NAME (\S+) +Value MULTICAST_IP (([\d1-9]+\.?){4}) +Value STATUS (.+?) + +Start + ^Mobility\s+Protocol\s+Port + ^Default\s+Mobility\s+Domain + ^Multicast\s+Mode\s+ + ^Mobility\s+Domain\s+ID\s+for\s+802.11r + ^Mobility\s+Keepalive\s+Interval + ^Mobility\s+Keepalive\s+Count + ^Mobility\s+Group\s+Members\s+Configured + ^Mobility\s+Control\s+Message\s+DSCP\s+Value + ^Controllers\s+configured\s+in\s+the\s+Mobility\s+Group + ^\s+MAC\s+Address\s+IP\s+Address\s+Group\s+Name\s+Multicast\s+IP\s+Status -> Mobility_Controllers + + +Mobility_Controllers + ^\s+${MAC_ADDR}\s+${IP_ADDR}\s+${GROUP_NAME}\s+${MULTICAST_IP}\s+${STATUS}s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 74c3469a98..b73f7338d7 100644 --- a/templates/index +++ b/templates/index @@ -270,6 +270,7 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] +cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] diff --git a/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw new file mode 100644 index 0000000000..db6eb18d67 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw @@ -0,0 +1,14 @@ + +Mobility Protocol Port........................... 16666 +Default Mobility Domain.......................... data +Multicast Mode .................................. Disabled +Mobility Domain ID for 802.11r................... 0xb187 +Mobility Keepalive Interval...................... 10 +Mobility Keepalive Count......................... 3 +Mobility Group Members Configured................ 2 +Mobility Control Message DSCP Value.............. 0 + +Controllers configured in the Mobility Group + MAC Address IP Address Group Name Multicast IP Status + 08:00:27:0a:04:25 192.168.1.12 data 0.0.0.0 Control and Data Path Down + 08:00:27:1d:a4:d4 192.168.1.11 data 0.0.0.0 Up diff --git a/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml new file mode 100644 index 0000000000..6b9eb8ecf4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - mac_addr: "08:00:27:0a:04:25" + ip_addr: "192.168.1.12" + group_name: "data" + multicast_ip: "0.0.0.0" + status: "Control and Data Path Down" + - mac_addr: "08:00:27:1d:a4:d4" + ip_addr: "192.168.1.11" + group_name: "data" + multicast_ip: "0.0.0.0" + status: "Up" From b548216aafd387b52ed704ba78a886a1d184ead3 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 25 Mar 2020 11:36:35 -0500 Subject: [PATCH 005/412] Updates: ASA show vpn session - add new data (#631) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++ ...sco_asa_show_vpn-sessiondb_anyconnect3.raw | 33 ++++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect3.yml | 52 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 6a3983b936..01ed33874b 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -30,12 +30,16 @@ Start Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ + ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ + ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ ^\s*License\s+:\s*${LICENSE}$$ ^\s*Encryption\s+:\s*${ENCRYPTION}$$ ^\s*Hashing\s+:\s*${HASHING}$$ ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}$$ + ^\s*Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ ^\s*Duration\s+:\s+${DURATION}$$ ^\s*Inactivity\s+:\s+${INACTIVITY}$$ diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw new file mode 100644 index 0000000000..15db7806d7 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw @@ -0,0 +1,33 @@ +Session Type: AnyConnect + +Username : smithj Index : 57045 +Assigned IP : 10.1.2.3 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA1 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 177836286 Bytes Rx : 12615185 +Group Policy : GroupPolicy_duo-vpn-users +Tunnel Group : duo-vpn-users +Login Time : 10:14:19 EDT Wed Mar 25 2020 +Duration : 0h:23m:58s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0ae60f140ded50005e7b673b +Security Grp : none + +Username : smithj Index : 47520 +Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none +Hashing : AnyConnect-Parent: (1)none +Bytes Tx : 0 Bytes Rx : 0 +Group Policy : GroupPolicy_duo-vpn-users +Tunnel Group : duo-vpn-users +Login Time : 10:13:49 EDT Wed Mar 25 2020 +Duration : 0h:24m:28s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0ae60f140b9a00005e7b671d +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml new file mode 100644 index 0000000000..e13cf5cdc2 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "smithj" + index: "57045" + assigned_ip: "10.1.2.3" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA1 DTLS-Tunnel: (1)SHA1" + bytes_tx: "177836286" + bytes_rx: "12615185" + group_policy: "GroupPolicy_duo-vpn-users" + tunnel_group: "duo-vpn-users" + login_time: "10:14:19" + login_time_zone: "EDT" + login_weekday: "Wed" + login_month: "Mar" + login_day: "25" + login_year: "2020" + duration: "0h:23m:58s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0ae60f140ded50005e7b673b" + security_grp: "none" + - session_type: "AnyConnect" + username: "smithj" + index: "47520" + assigned_ip: "" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none" + hashing: "AnyConnect-Parent: (1)none" + bytes_tx: "0" + bytes_rx: "0" + group_policy: "GroupPolicy_duo-vpn-users" + tunnel_group: "duo-vpn-users" + login_time: "10:13:49" + login_time_zone: "EDT" + login_weekday: "Wed" + login_month: "Mar" + login_day: "25" + login_year: "2020" + duration: "0h:24m:28s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0ae60f140b9a00005e7b671d" + security_grp: "none" From c97b97b21885535245a1e6ca20a57eb17a63d638 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Wed, 25 Mar 2020 11:39:17 -0500 Subject: [PATCH 006/412] Enhancement: ASA ipsec sa - Adds compatibility for names (#629) Also fixes a typo on ``loacl`` capture group --- .../cisco_asa_show_crypto_ipsec_sa.textfsm | 20 ++++++++----- templates/index | 2 +- .../cisco_asa_show_crypto_ipsec_sa.raw | 6 ++-- .../cisco_asa_show_crypto_ipsec_sa.yml | 29 ++++++++++++++----- 4 files changed, 39 insertions(+), 18 deletions(-) diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm b/templates/cisco_asa_show_crypto_ipsec_sa.textfsm index eb22f9e77f..bd7fa80529 100644 --- a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm +++ b/templates/cisco_asa_show_crypto_ipsec_sa.textfsm @@ -2,8 +2,9 @@ Value Filldown INTERFACE (\S+) Value Filldown CRYPTO_MAP_TAG (\S+) Value Filldown SEQUENCE_NUMBER (\d+) Value Filldown LOCAL_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Filldown LOCAL_ADDRESS_NAME (\S+) Value LOCAL_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) -Value LOACL_IDENTITY_MASK (\d+\.\d+\.\d+\.\d+) +Value LOCAL_IDENTITY_MASK (\d+\.\d+\.\d+\.\d+) Value LOCAL_IDENTITY_PROTOCOL (\d+) Value LOCAL_IDENTITY_PORT (\d+) Value REMOTE_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) @@ -12,6 +13,8 @@ Value REMOTE_IDENTITY_PROTOCOL (\d+) Value REMOTE_IDENTITY_PORT (\d+) Value CURRENT_PEER (\d+\.\d+\.\d+\.\d+) Value DYNAMIC_PEER (\d+\.\d+\.\d+\.\d+) +Value CURRENT_PEER_NAME (\S+) +Value DYNAMIC_PEER_NAME (\S+) Value PACKETS_ENCAPSULATED (\d+) Value PACKETS_ENCRYPTED (\d+) Value PACKETS_DIGESTED (\d+) @@ -33,6 +36,8 @@ Value SEND_ERRORS (\d+) Value RECEIVE_ERRORS (\d+) Value LOCAL_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) Value REMOTE_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) +Value LOCAL_CRYPTO_ENDPOINT_NAME (\S+) +Value REMOTE_CRYPTO_ENDPOINT_NAME (\S+) Value PATH_MTU (\d+) Value IPSEC_OVERHEAD (\d+) Value MEDIA_MTU (\d+) @@ -65,12 +70,12 @@ Value OUTBOUND_REPLAY_DETECTION (\w+) Start ^interface:\s+${INTERFACE}\s* - ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG},\s+local addr:\s+${LOCAL_ADDRESS}\s* - ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG}, seq num:\s+${SEQUENCE_NUMBER},\s+local addr:\s+${LOCAL_ADDRESS}\s* - ^\s+local\s+ident\s+\(addr\/mask\/prot\/port\):\s+\(${LOCAL_IDENTITY_ADDR}\/${LOACL_IDENTITY_MASK}\/${LOCAL_IDENTITY_PROTOCOL}\/${LOCAL_IDENTITY_PORT}\)\s* + ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG},\s+local addr:\s+(?:${LOCAL_ADDRESS}|${LOCAL_ADDRESS_NAME})\s* + ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG}, seq num:\s+${SEQUENCE_NUMBER},\s+local addr:\s+(?:${LOCAL_ADDRESS}|${LOCAL_ADDRESS_NAME})\s* + ^\s+local\s+ident\s+\(addr\/mask\/prot\/port\):\s+\(${LOCAL_IDENTITY_ADDR}\/${LOCAL_IDENTITY_MASK}\/${LOCAL_IDENTITY_PROTOCOL}\/${LOCAL_IDENTITY_PORT}\)\s* ^\s+remote\s+ident\s+\(addr/mask/prot/port\):\s+\(${REMOTE_IDENTITY_ADDR}\/${REMOTE_IDENTITY_MASK}\/${REMOTE_IDENTITY_PROTOCOL}\/${REMOTE_IDENTITY_PORT}\)\s* - ^\s+current_peer:\s+${CURRENT_PEER}\s* - ^\s+dynamic\s+allocated\s+peer\s+ip:\s+${DYNAMIC_PEER}\s* + ^\s+current_peer:\s+(?:${CURRENT_PEER}|${CURRENT_PEER_NAME})\s* + ^\s+dynamic\s+allocated\s+peer\s+ip:\s+(?:${DYNAMIC_PEER}|${DYNAMIC_PEER_NAME})\s* ^\s+#pkts\s+encaps:\s+${PACKETS_ENCAPSULATED},\s+#pkts\s+encrypt:\s+${PACKETS_ENCRYPTED},\s+#pkts\s+digest:\s+${PACKETS_DIGESTED}\s* ^\s+#pkts\s+decaps:\s+${PACKETS_DECAPSULATED},\s+#pkts\s+decrypt:\s+${PACKETS_DECRYPTED},\s+#pkts\s+verify:\s+${PACKETS_VERIFIED}\s* ^\s+#pkts\s+compressed:\s+${PACKETS_COMPRESSED},\s+#pkts\s+decompressed:\s+${PACKETS_DECOMPRESSED}\s* @@ -78,7 +83,8 @@ Start ^\s+#pre-frag\s+successes:\s+${PRE_FRAGMENT_SUCCESS},\s+#pre-frag\s+failures:\s+${PRE_FRAGMENT_FAILURES},\s+#fragments\s+created:\s+${FRAGMENTS_CREATED}\s* ^\s+#PMTUs\s+sent:\s+${PMTUS_SENT},\s+#PMTUs\s+rcvd:\s+${PMTUS_RECEIVED},\s+#decapsulated\s+fra?gs\s+needing\s+reassembly:\s+${DECAP_FRAGS_NEEDING_REASSEMBLY}\s* ^\s+#send\s+errors:\s+${SEND_ERRORS},\s+#recv\s+errors:\s+${RECEIVE_ERRORS}\s* - ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT}(\/\d+)?,\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}(\/\d+)?\s* + ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT},\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}\s* + ^\s+local\s+crypto\s+endpt\.:\s+(?:${LOCAL_CRYPTO_ENDPOINT}|${LOCAL_CRYPTO_ENDPOINT_NAME})(\/\d+),\s+remote\s+crypto\s+endpt\.:\s+(?:${REMOTE_CRYPTO_ENDPOINT}|${REMOTE_CRYPTO_ENDPOINT_NAME})(\/\d+)\s* ^\s+path\s+mtu\s+${PATH_MTU},\s+ipsec\s+overhead\s+${IPSEC_OVERHEAD}(\(\d+\))?,\s+media\s+mtu\s+${MEDIA_MTU}\s* ^\s+current\s+outbound\s+spi:\s+${CURRENT_OUTBOUND_SPI}\s* ^\s+current\s+inbound\s+spi\s+:\s+${CURRENT_INBOUND_SPI}\s* diff --git a/templates/index b/templates/index index b73f7338d7..fbb71fa952 100644 --- a/templates/index +++ b/templates/index @@ -118,7 +118,7 @@ cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] -cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa +cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw index 5c7e27359b..67df11b730 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw @@ -80,12 +80,12 @@ interface: COLO Anti replay bitmap: 0x00000000 0x00000001 - Crypto map tag: COLO-MAP, seq num: 3, local addr: 172.20.248.119 + Crypto map tag: COLO-MAP, seq num: 3, local addr: LOCAL-ADDR-172.20.248.119 access-list 200 extended permit ip 172.20.122.32 255.255.255.240 10.160.4.0 255.255.255.0 local ident (addr/mask/prot/port): (172.20.122.32/255.255.255.240/0/0) remote ident (addr/mask/prot/port): (10.160.4.0/255.255.255.0/0/0) - current_peer: 8.8.4.4 + current_peer: REMOTE-PEER-8.8.4.4 #pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0 @@ -98,7 +98,7 @@ interface: COLO #Valid ICMP Errors rcvd: 0, #Invalid ICMP Errors rcvd: 0 #send errors: 0, #recv errors: 0 - local crypto endpt.: 172.20.248.119/0, remote crypto endpt.: 8.8.4.4/0 + local crypto endpt.: LOCAL-ADDR-172.20.248.119/500, remote crypto endpt.: REMOTE-PEER-8.8.4.4/500 path mtu 1500, ipsec overhead 74(44), media mtu 1500 PMTU time remaining (sec): 0, DF policy: copy-df ICMP error validation: disabled, TFC packets: disabled diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml index 3358ed0084..7a226d7e89 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml @@ -4,8 +4,9 @@ parsed_sample: crypto_map_tag: "def" sequence_number: "" local_address: "10.132.0.17" + local_address_name: "" local_identity_addr: "0.0.0.0" - loacl_identity_mask: "0.0.0.0" + local_identity_mask: "0.0.0.0" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "172.20.0.21" @@ -13,7 +14,9 @@ parsed_sample: remote_identity_protocol: "0" remote_identity_port: "0" current_peer: "172.20.0.21" + current_peer_name: "" dynamic_peer: "10.135.1.5" + dynamic_peer_name: "" packets_encapsulated: "0" packets_encrypted: "0" packets_digested: "0" @@ -34,7 +37,9 @@ parsed_sample: send_errors: "0" receive_errors: "0" local_crypto_endpoint: "10.132.0.17" + local_crypto_endpoint_name: "" remote_crypto_endpoint: "172.20.0.21" + remote_crypto_endpoint_name: "" path_mtu: "1500" ipsec_overhead: "60" media_mtu: "1500" @@ -68,8 +73,9 @@ parsed_sample: crypto_map_tag: "COLO-MAP" sequence_number: "2" local_address: "172.16.248.119" + local_address_name: "" local_identity_addr: "172.16.122.32" - loacl_identity_mask: "255.255.255.240" + local_identity_mask: "255.255.255.240" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "172.30.1.153" @@ -77,7 +83,9 @@ parsed_sample: remote_identity_protocol: "0" remote_identity_port: "0" current_peer: "8.8.8.8" + current_peer_name: "" dynamic_peer: "" + dynamic_peer_name: "" packets_encapsulated: "13915315" packets_encrypted: "13915315" packets_digested: "13915315" @@ -98,7 +106,9 @@ parsed_sample: send_errors: "0" receive_errors: "0" local_crypto_endpoint: "172.16.248.119" + local_crypto_endpoint_name: "" remote_crypto_endpoint: "8.8.8.8" + remote_crypto_endpoint_name: "" path_mtu: "1500" ipsec_overhead: "82" media_mtu: "1500" @@ -131,17 +141,20 @@ parsed_sample: - interface: "COLO" crypto_map_tag: "COLO-MAP" sequence_number: "3" - local_address: "172.20.248.119" + local_address: "" + local_address_name: "LOCAL-ADDR-172.20.248.119" local_identity_addr: "172.20.122.32" - loacl_identity_mask: "255.255.255.240" + local_identity_mask: "255.255.255.240" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "10.160.4.0" remote_identity_mask: "255.255.255.0" remote_identity_protocol: "0" remote_identity_port: "0" - current_peer: "8.8.4.4" + current_peer: "" + current_peer_name: "REMOTE-PEER-8.8.4.4" dynamic_peer: "" + dynamic_peer_name: "" packets_encapsulated: "0" packets_encrypted: "0" packets_digested: "0" @@ -161,8 +174,10 @@ parsed_sample: decap_frags_needing_reassembly: "0" send_errors: "0" receive_errors: "0" - local_crypto_endpoint: "172.20.248.119" - remote_crypto_endpoint: "8.8.4.4" + local_crypto_endpoint: "" + local_crypto_endpoint_name: "LOCAL-ADDR-172.20.248.119" + remote_crypto_endpoint: "" + remote_crypto_endpoint_name: "REMOTE-PEER-8.8.4.4" path_mtu: "1500" ipsec_overhead: "74" media_mtu: "1500" From 206e2b1d043fbcbb6bb2cee8e04abe79b996e7a6 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Thu, 26 Mar 2020 15:32:32 -0500 Subject: [PATCH 007/412] Enhancement: ASA show nat - Add support for protocol (#632) --- templates/cisco_asa_show_nat.textfsm | 3 +- .../cisco_asa/show_nat/cisco_asa_show_nat.raw | 4 + .../cisco_asa/show_nat/cisco_asa_show_nat.yml | 110 +++++++++++++++++- 3 files changed, 114 insertions(+), 3 deletions(-) diff --git a/templates/cisco_asa_show_nat.textfsm b/templates/cisco_asa_show_nat.textfsm index 20d580abbf..84f2610946 100644 --- a/templates/cisco_asa_show_nat.textfsm +++ b/templates/cisco_asa_show_nat.textfsm @@ -7,6 +7,7 @@ Value SOURCE_REAL (any|\S+) Value SOURCE_MAPPED (any|interface\s+ipv6|interface|pat-pool\s+interface|pat-pool\s+\S+|\S+) Value DESTINATION_REAL (interface|interface\s+ipv6|\S+) Value DESTINATION_MAPPED (any|\S+) +Value SERVICE_PROTOCOL (tcp|udp|sctp) Value SERVICE_REAL (any|\S+) Value SERVICE_MAPPED (\S+) Value EXTENDED (extended) @@ -28,7 +29,7 @@ Start # Section 2 = Auto NAT # Section 3 = After-auto Manual NAT ^(Manual|Auto) NAT Policies \(Section ${NAT_SECTION_NUMBER}\)\s* - ^${LINE_NUMBER}\s+\(${SOURCE_INTERFACE}\)\s+to\s+\(${DESTINATION_INTERFACE}\)\s+source\s+${SOURCE_TYPE}\s+${SOURCE_REAL}\s+${SOURCE_MAPPED}\s*(destination\s+static\s+${DESTINATION_REAL}\s+${DESTINATION_MAPPED})?\s*(service\s+${SERVICE_REAL}\s+${SERVICE_MAPPED})?\s*${EXTENDED}?\s*${FLAT}?\s*${INCLUDE_RESERVE}?\s*${ROUND_ROBIN}?\s*${NET_TO_NET}?\s*${DNS}?\s*${UNIDIRECTIONAL}?\s*${NO_PROXY_ARP}?\s*${ROUTE_LOOKUP}?\s*${INACTIVE}?\s*(description\s+${DESCRIPTION})? + ^${LINE_NUMBER}\s+\(${SOURCE_INTERFACE}\)\s+to\s+\(${DESTINATION_INTERFACE}\)\s+source\s+${SOURCE_TYPE}\s+${SOURCE_REAL}\s+${SOURCE_MAPPED}\s*(destination\s+static\s+${DESTINATION_REAL}\s+${DESTINATION_MAPPED})?\s*(service\s+${SERVICE_PROTOCOL}?\s*${SERVICE_REAL}\s+${SERVICE_MAPPED})?\s*${EXTENDED}?\s*${FLAT}?\s*${INCLUDE_RESERVE}?\s*${ROUND_ROBIN}?\s*${NET_TO_NET}?\s*${DNS}?\s*${UNIDIRECTIONAL}?\s*${NO_PROXY_ARP}?\s*${ROUTE_LOOKUP}?\s*${INACTIVE}?\s*(description\s+${DESCRIPTION})? ^\s+translate_hits\s+=\s+${TRANSLATE_HITS},\s+untranslate_hits\s+=\s+${UNTRANSLATE_HITS} -> Record ^\s* ^. -> Error diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw index 061a282102..fe1e7c9cb0 100644 --- a/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw @@ -67,6 +67,10 @@ Auto NAT Policies (Section 2) translate_hits = 383, untranslate_hits = 467 9 (any) to (outside) source dynamic test5 interface dns translate_hits = 795, untranslate_hits = 263 +10 (inside) to (outside) source static test7 test8 service udp https 8443 + translate_hits = 680, untranslate_hits = 7 +11 (inside) to (outside) source static test7 test8 service sctp www 8080 + translate_hits = 680, untranslate_hits = 7 Manual NAT Policies (Section 3) 1 (any) to (outside) source dynamic test11 test12 destination static test13 test14 net-to-net inactive description source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml index 83fe4767d1..06f9cc90d2 100644 --- a/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml @@ -9,6 +9,7 @@ parsed_sample: source_mapped: "any" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -35,6 +36,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -59,6 +61,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -83,6 +86,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -107,6 +111,7 @@ parsed_sample: source_mapped: "pat-pool interface" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -131,6 +136,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -155,6 +161,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -179,6 +186,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -203,6 +211,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -228,6 +237,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -252,6 +262,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -276,6 +287,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -300,6 +312,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -324,6 +337,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test3" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -348,6 +362,7 @@ parsed_sample: source_mapped: "test1" destination_real: "test3" destination_mapped: "test3" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -372,6 +387,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -396,6 +412,7 @@ parsed_sample: source_mapped: "test2" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -420,6 +437,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -444,6 +462,7 @@ parsed_sample: source_mapped: "test2" destination_real: "interface" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -468,6 +487,7 @@ parsed_sample: source_mapped: "test2" destination_real: "interface" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -492,6 +512,7 @@ parsed_sample: source_mapped: "test7" destination_real: "interface" destination_mapped: "ipv6" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -516,6 +537,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test8" destination_mapped: "test9" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -540,6 +562,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test8" destination_mapped: "test9" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -564,6 +587,7 @@ parsed_sample: source_mapped: "interface" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -588,6 +612,7 @@ parsed_sample: source_mapped: "169.254.11.11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -612,6 +637,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -636,8 +662,9 @@ parsed_sample: source_mapped: "test8" destination_real: "" destination_mapped: "" - service_real: "tcp" - service_mapped: "ssh" + service_protocol: "tcp" + service_real: "ssh" + service_mapped: "2222" extended: "" flat: "" include_reserve: "" @@ -660,6 +687,7 @@ parsed_sample: source_mapped: "2006::2/128" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -684,6 +712,7 @@ parsed_sample: source_mapped: "169.254.1.1" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -708,6 +737,7 @@ parsed_sample: source_mapped: "test3" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -732,6 +762,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "extended" @@ -756,6 +787,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -780,6 +812,7 @@ parsed_sample: source_mapped: "interface" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -795,6 +828,56 @@ parsed_sample: description: "" translate_hits: "795" untranslate_hits: "263" + - nat_section_number: "2" + line_number: "10" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_protocol: "udp" + service_real: "https" + service_mapped: "8443" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" + - nat_section_number: "2" + line_number: "11" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_protocol: "sctp" + service_real: "www" + service_mapped: "8080" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" - nat_section_number: "3" line_number: "1" source_interface: "any" @@ -804,6 +887,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -830,6 +914,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -854,6 +939,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -878,6 +964,7 @@ parsed_sample: source_mapped: "pat-pool interface" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -902,6 +989,7 @@ parsed_sample: source_mapped: "pat-pool test21" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -926,6 +1014,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -950,6 +1039,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -974,6 +1064,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -999,6 +1090,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1023,6 +1115,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1047,6 +1140,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -1071,6 +1165,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -1095,6 +1190,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test13" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1119,6 +1215,7 @@ parsed_sample: source_mapped: "test11" destination_real: "test13" destination_mapped: "test13" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1143,6 +1240,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1167,6 +1265,7 @@ parsed_sample: source_mapped: "test12" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1191,6 +1290,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1215,6 +1315,7 @@ parsed_sample: source_mapped: "test12" destination_real: "interface" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1239,6 +1340,7 @@ parsed_sample: source_mapped: "test12" destination_real: "interface" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1263,6 +1365,7 @@ parsed_sample: source_mapped: "test17" destination_real: "interface" destination_mapped: "ipv6" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1287,6 +1390,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test18" destination_mapped: "test19" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1311,6 +1415,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test18" destination_mapped: "test19" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1335,6 +1440,7 @@ parsed_sample: source_mapped: "interface" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" From 392cac73271faece4905764bf829a18932f8fbc6 Mon Sep 17 00:00:00 2001 From: kjoyce77 Date: Tue, 31 Mar 2020 08:32:52 -0500 Subject: [PATCH 008/412] New template: cisco_ios_show_ip_route_summary (#635) --- .../cisco_ios_show_ip_route_summary.textfsm | 34 ++++++++++ templates/index | 1 + .../cisco_ios_show_ip_route_summary.raw | 13 ++++ .../cisco_ios_show_ip_route_summary.yml | 58 +++++++++++++++++ .../cisco_ios_show_ip_route_summary2.raw | 14 ++++ .../cisco_ios_show_ip_route_summary2.yml | 65 +++++++++++++++++++ .../cisco_ios_show_ip_route_summary3.raw | 7 ++ .../cisco_ios_show_ip_route_summary3.yml | 30 +++++++++ 8 files changed, 222 insertions(+) create mode 100644 templates/cisco_ios_show_ip_route_summary.textfsm create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml diff --git a/templates/cisco_ios_show_ip_route_summary.textfsm b/templates/cisco_ios_show_ip_route_summary.textfsm new file mode 100644 index 0000000000..1036ca5a43 --- /dev/null +++ b/templates/cisco_ios_show_ip_route_summary.textfsm @@ -0,0 +1,34 @@ +Value Required ROUTE_SOURCE ([^\s][\S ]+?) +Value Filldown NAME (.*) +Value NETWORKS (\d*) +Value SUBNETS (\d*) +Value REPLICATES (\d*) +Value OVERHEAD (\d*) +Value MEMORY (\d*) + +Start + # Checking for header + ^IP\s+routing\s+table\s+name\s+is\s+${NAME}\s*$$ + ^IP\s+routing\s+table\s+maximum-paths\s+is\s+\d+\s*$$ + ^Route\s+Source\s+Networks\s+Subnets\s+Overhead\s+Memory\s+\(bytes\)\s*$$ -> RouteData1 + ^Route\s+Source\s+Networks\s+Subnets\s+Replicates\s+Overhead\s+Memory\s+\(bytes\)\s*$$ -> RouteData2 + ^\s*$$ + ^. -> Error + +RouteData1 + ^${ROUTE_SOURCE}\s{2,16}${NETWORKS}\s{1,12}${SUBNETS}\s{1,12}${OVERHEAD}\s{1,12}${MEMORY}\s*$$ -> Record + ^\s+External:\s+\d+\s+Internal:\s+\d+\s+Local:\s+\d+\s*$$ + ^\s+Level\s+1:\s+\d+\s+Level\s+2:\s+\d+\s+Inter-area:\s+\d+\s*$$ + ^\s+Intra-area:\s+\d+\s+Inter-area:\s+\d+\s+External-1:\s+\d+\s+External-2:\s+\d+\s*$$ + ^\s+NSSA\s+External-1:\s+\d+\s+NSSA\s+External-2:\s+\d+\s*$$ + ^\s*$$ + ^. -> Error + +RouteData2 + ^${ROUTE_SOURCE}\s{2,16}${NETWORKS}\s{1,12}${SUBNETS}\s{1,12}${REPLICATES}\s{1,12}${OVERHEAD}\s{1,12}${MEMORY}\s*$$ -> Record + ^\s+External:\s+\d+\s+Internal:\s+\d+\s+Local:\s+\d+\s*$$ + ^\s+Level\s+1:\s+\d+\s+Level\s+2:\s+\d+\s+Inter-area:\s+\d+\s*$$ + ^\s+Intra-area:\s+\d+\s+Inter-area:\s+\d+\s+External-1:\s+\d+\s+External-2:\s+\d+\s*$$ + ^\s+NSSA\s+External-1:\s+\d+\s+NSSA\s+External-2:\s+\d+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index fbb71fa952..8b05e62c1c 100644 --- a/templates/index +++ b/templates/index @@ -165,6 +165,7 @@ cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address- cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] +cisco_ios_show_ip_route_summary.textfsm, .*, cisco_ios, sh[[ow]] ip ro[[ute]] sum[[mary]] cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw new file mode 100644 index 0000000000..a514b6b8bb --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw @@ -0,0 +1,13 @@ +IP routing table name is default (0x0) +IP routing table maximum-paths is 32 +Route Source Networks Subnets Replicates Overhead Memory (bytes) +connected 0 41 0 3936 11808 +static 0 3 0 288 864 +application 0 0 0 0 0 +nhrp 0 0 0 0 0 +eigrp 65329 3 3013 0 481920 868608 +ospf 20 1 0 0 384 292 + Intra-area: 0 Inter-area: 0 External-1: 0 External-2: 1 + NSSA External-1: 0 NSSA External-2: 0 +internal 24 240672 +Total 28 3057 0 486528 1122244 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml new file mode 100644 index 0000000000..cb6ad40018 --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - route_source: "connected" + name: "default (0x0)" + networks: "0" + subnets: "41" + replicates: "0" + overhead: "3936" + memory: "11808" + - route_source: "static" + name: "default (0x0)" + networks: "0" + subnets: "3" + replicates: "0" + overhead: "288" + memory: "864" + - route_source: "application" + name: "default (0x0)" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "nhrp" + name: "default (0x0)" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "eigrp 65329" + name: "default (0x0)" + networks: "3" + subnets: "3013" + replicates: "0" + overhead: "481920" + memory: "868608" + - route_source: "ospf 20" + name: "default (0x0)" + networks: "1" + subnets: "0" + replicates: "0" + overhead: "384" + memory: "292" + - route_source: "internal" + name: "default (0x0)" + networks: "24" + subnets: "" + replicates: "" + overhead: "" + memory: "240672" + - route_source: "Total" + name: "default (0x0)" + networks: "28" + subnets: "3057" + replicates: "0" + overhead: "486528" + memory: "1122244" diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw new file mode 100644 index 0000000000..19486af76e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw @@ -0,0 +1,14 @@ +Route Source Networks Subnets Replicates Overhead Memory (bytes) +connected 0 6 0 408 1080 +static 0 0 0 0 0 +application 0 0 0 0 0 +eigrp 100 0 0 0 0 0 +bgp 65001 0 0 0 0 0 + External: 0 Internal: 0 Local: 0 +isis test1 0 0 0 0 0 + Level 1: 0 Level 2: 0 Inter-area: 0 +ospf 188 0 0 0 0 0 + Intra-area: 0 Inter-area: 0 External-1: 0 External-2: 0 + NSSA External-1: 0 NSSA External-2: 0 +internal 2 920 +Total 2 6 0 408 2000 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml new file mode 100644 index 0000000000..d495fda14e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - route_source: "connected" + name: "" + networks: "0" + subnets: "6" + replicates: "0" + overhead: "408" + memory: "1080" + - route_source: "static" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "application" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "eigrp 100" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "bgp 65001" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "isis test1" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "ospf 188" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "internal" + name: "" + networks: "2" + subnets: "" + replicates: "" + overhead: "" + memory: "920" + - route_source: "Total" + name: "" + networks: "2" + subnets: "6" + replicates: "0" + overhead: "408" + memory: "2000" diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw new file mode 100644 index 0000000000..1953696417 --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw @@ -0,0 +1,7 @@ +IP routing table name is Default-IP-Routing-Table(0) +IP routing table maximum-paths is 16 +Route Source Networks Subnets Overhead Memory (bytes) +connected 0 4 288 544 +static 1 2 216 408 +internal 3 3468 +Total 4 6 504 4420 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml new file mode 100644 index 0000000000..cced7a1b9e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - route_source: "connected" + name: "Default-IP-Routing-Table(0)" + networks: "0" + subnets: "4" + replicates: "" + overhead: "288" + memory: "544" + - route_source: "static" + name: "Default-IP-Routing-Table(0)" + networks: "1" + subnets: "2" + replicates: "" + overhead: "216" + memory: "408" + - route_source: "internal" + name: "Default-IP-Routing-Table(0)" + networks: "3" + subnets: "" + replicates: "" + overhead: "" + memory: "3468" + - route_source: "Total" + name: "Default-IP-Routing-Table(0)" + networks: "4" + subnets: "6" + replicates: "" + overhead: "504" + memory: "4420" From 9d26efe076e039e96fe43df255af657dcb2683c6 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 31 Mar 2020 09:04:06 -0500 Subject: [PATCH 009/412] New template: cisco_asa_show_vpn-sessiondb (#636) --- .../cisco_asa_show_vpn-sessiondb.textfsm | 53 +++++++++++++++++++ templates/index | 1 + .../cisco_asa_show_vpn-sessiondb.raw | 26 +++++++++ .../cisco_asa_show_vpn-sessiondb.yml | 34 ++++++++++++ 4 files changed, 114 insertions(+) create mode 100644 templates/cisco_asa_show_vpn-sessiondb.textfsm create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/templates/cisco_asa_show_vpn-sessiondb.textfsm new file mode 100644 index 0000000000..eae4ed2a61 --- /dev/null +++ b/templates/cisco_asa_show_vpn-sessiondb.textfsm @@ -0,0 +1,53 @@ +Value ANYCONNECT_CLIENT_ACTIVE (\d+) +Value ANYCONNECT_CLIENT_CUMULATIVE (\d+) +Value ANYCONNECT_CLIENT_PEAK_CONCURRENT (\d+) +Value ANYCONNECT_CLIENT_INACTIVE (\d+) +Value SSL_TLS_DTLS_ACTIVE (\d+) +Value SSL_TLS_DTLS_CUMULATIVE (\d+) +Value SSL_TLS_DTLS_PEAK_CONCURRENT (\d+) +Value SSL_TLS_DTLS_PEAK_INACTIVE (\d+) +Value CLIENTLESS_VPN_ACTIVE (\d+) +Value CLIENTLESS_VPN_CUMULATIVE (\d+) +Value CLIENTLESS_VPN_PEAK_CONCURRENT (\d+) +Value VPN_BROWSWER_ACTIVE (\d+) +Value VPN_BROWSWER_CUMULATIVE (\d+) +Value VPN_BROWSWER_PEAK_CONCURRENT (\d+) +Value TOTAL_ACTIVE_AND_INACTIVE (\d+) +Value TOTAL_CUMULATIVE (\d+) +Value DEVICE_TOTAL_VPN_CAPACITY (\d+) +Value DEVICE_LOAD_PERCENT (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_ACTIVE (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT (\d+) +Value TOTALS_ACTIVE (\d+) +Value TOTALS_CUMULATIVE (\d+) + +Start + ^\s*\-+\s*$$ + ^\s*VPN\s+Session\s+Summary\s*$$ + ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concur\s+:\s+Inactive\s*$$ + ^\s*AnyConnect\s+Client\s+:\s+${ANYCONNECT_CLIENT_ACTIVE}\s+:\s+${ANYCONNECT_CLIENT_CUMULATIVE}\s+:\s+${ANYCONNECT_CLIENT_PEAK_CONCURRENT}\s+:\s+${ANYCONNECT_CLIENT_INACTIVE}\s*$$ + ^\s*SSL/TLS/DTLS\s+:\s+${SSL_TLS_DTLS_ACTIVE}\s+:\s+${SSL_TLS_DTLS_CUMULATIVE}\s+:\s+${SSL_TLS_DTLS_PEAK_CONCURRENT}\s+:\s+${SSL_TLS_DTLS_PEAK_INACTIVE}\s*$$ + ^\s*Clientless\s+VPN\s+:\s+${CLIENTLESS_VPN_ACTIVE}\s+:\s+${CLIENTLESS_VPN_CUMULATIVE}\s+:\s+${CLIENTLESS_VPN_PEAK_CONCURRENT}\s*$$ + ^\s*Browser\s+:\s+${VPN_BROWSWER_ACTIVE}\s+:\s+${VPN_BROWSWER_CUMULATIVE}\s+:\s+${VPN_BROWSWER_PEAK_CONCURRENT}\s*$$ + ^\s*Total\s+Active\s+and\s+Inactive\s+:\s+${TOTAL_ACTIVE_AND_INACTIVE}\s+Total\s+Cumulative\s+:\s+${TOTAL_CUMULATIVE}\s*$$ + ^\s*Device\s+Total\s+VPN\s+Capacity\s+:\s+${DEVICE_TOTAL_VPN_CAPACITY} + ^\s*Device\s+Load\s+:\s+${DEVICE_LOAD_PERCENT}%\s*$$ + ^\s*Tunnels\s+Summary\s* + ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concurrent\s*$$ + ^\s*Clientless\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT} + ^\s*AnyConnect\-Parent\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC}\s*$$ + ^\s*SSL\-Tunnel\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*DTLS\-Tunnel\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*Totals\s+:\s+${TOTALS_ACTIVE}\s+:\s+${TOTALS_CUMULATIVE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8b05e62c1c..9392414d1a 100644 --- a/templates/index +++ b/templates/index @@ -120,6 +120,7 @@ cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-c cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] +cisco_asa_show_vpn-sessiondb.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw new file mode 100644 index 0000000000..b94e550fdd --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw @@ -0,0 +1,26 @@ +--------------------------------------------------------------------------- +VPN Session Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concur : Inactive + ---------------------------------------------- +AnyConnect Client : 38 : 330351 : 442 : 0 + SSL/TLS/DTLS : 38 : 330351 : 442 : 0 +Clientless VPN : 0 : 1040 : 9 + Browser : 0 : 1040 : 9 +--------------------------------------------------------------------------- +Total Active and Inactive : 38 Total Cumulative : 331391 +Device Total VPN Capacity : 5000 +Device Load : 1% +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +Tunnels Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concurrent + ---------------------------------------------- +Clientless : 0 : 1040 : 9 +AnyConnect-Parent : 38 : 330351 : 442 +SSL-Tunnel : 38 : 985244 : 392 +DTLS-Tunnel : 37 : 2227003 : 386 +--------------------------------------------------------------------------- +Totals : 113 : 3543638 +--------------------------------------------------------------------------- diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml new file mode 100644 index 0000000000..aad928457a --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - anyconnect_client_active: "38" + anyconnect_client_cumulative: "330351" + anyconnect_client_inactive: "0" + anyconnect_client_peak_concurrent: "442" + ssl_tls_dtls_active: "38" + ssl_tls_dtls_cumulative: "330351" + ssl_tls_dtls_peak_concurrent: "442" + ssl_tls_dtls_peak_inactive: "0" + clientless_vpn_active: "0" + clientless_vpn_cumulative: "1040" + clientless_vpn_peak_concurrent: "9" + vpn_browswer_active: "0" + vpn_browswer_cumulative: "1040" + vpn_browswer_peak_concurrent: "9" + total_active_and_inactive: "38" + total_cumulative: "331391" + device_total_vpn_capacity: "5000" + device_load_percent: "1" + tunnels_summary_clientless_active: "0" + tunnels_summary_clientless_cumulative: "1040" + tunnels_summary_clientless_peak_concurrent: "9" + tunnels_summary_anyconnect_parent_active: "38" + tunnels_summary_anyconnect_parent_cumulative: "330351" + tunnels_summary_anyconnect_parent_peak_conc: "442" + tunnels_summary_ssltunnel_active: "38" + tunnels_summary_ssltunnel_cumulative: "985244" + tunnels_summary_ssltunnel_peak_concurrent: "392" + tunnels_summary_dtlstunnel_active: "37" + tunnels_summary_dtlstunnel_cumulative: "2227003" + tunnels_summary_dtlstunnel_peak_concurrent: "386" + totals_active: "113" + totals_cumulative: "3543638" From 67bf0ea2069bf7a07871db2460ea6408fb23ad0a Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 2 Apr 2020 14:36:22 +0200 Subject: [PATCH 010/412] Enhancement: cisco_asa_show_inventory support inventory items w/o SN (#638) --- templates/cisco_asa_show_inventory.textfsm | 1 + .../cisco_asa_show_inventory_empty_sn.raw | 5 +++++ .../cisco_asa_show_inventory_empty_sn.yml | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml diff --git a/templates/cisco_asa_show_inventory.textfsm b/templates/cisco_asa_show_inventory.textfsm index bd9ff41d9c..45ea920a1b 100644 --- a/templates/cisco_asa_show_inventory.textfsm +++ b/templates/cisco_asa_show_inventory.textfsm @@ -7,6 +7,7 @@ Value SN (\S+) Start ^Name:\s+"${NAME}"\s*,\s+DESCR:\s+"${DESCR}" ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN:\s+${SN} -> Record + ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN: -> Record ^\s*$$ ^show_inventory_all\s+\S+ -> NoRecord ^.+ -> Error diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw new file mode 100644 index 0000000000..0ddaca7f70 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw @@ -0,0 +1,5 @@ +Name: "Chassis", DESCR: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" +PID: ASA5506 , VID: V01 , SN: JMX8318372GB + +Name: "Storage Device 1", DESCR: "ASA 5506-X SSD" +PID: ASA5506-SSD , VID: N/A , SN: \ No newline at end of file diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml new file mode 100644 index 0000000000..51c4462b25 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" + pid: "ASA5506" + sn: "JMX8318372GB" + vid: "V01" + - name: "Storage Device 1" + descr: "ASA 5506-X SSD" + pid: "ASA5506-SSD" + sn: "" + vid: "N/A" From 784a954f61cc202e91fee3adcf119bf63d9194e3 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 14 Apr 2020 20:03:47 -0500 Subject: [PATCH 011/412] BugFix: IOS OSPF DB: Make leading spaces optional (#650) --- ..._ios_show_ip_ospf_database_network.textfsm | 2 +- ...o_ios_show_ip_ospf_database_router.textfsm | 2 +- ...abase_network_leading-spaces-truncated.raw | 39 +++ ...abase_network_leading-spaces-truncated.yml | 80 ++++++ ...tabase_router_leading-spaces-truncated.raw | 130 ++++++++++ ...tabase_router_leading-spaces-truncated.yml | 240 ++++++++++++++++++ 6 files changed, 491 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/templates/cisco_ios_show_ip_ospf_database_network.textfsm index ae6c6ce0c9..1c87bcadca 100644 --- a/templates/cisco_ios_show_ip_ospf_database_network.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_network.textfsm @@ -13,7 +13,7 @@ Value Filldown LSA_NETWORK_MASK (\S+) Value LS_ATT_ROUTER (\d+\.\d+\.\d+\.\d+) Start - ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s*OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) ^\s+Net\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm index fe0b82f241..7c030113cb 100644 --- a/templates/cisco_ios_show_ip_ospf_database_router.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -17,7 +17,7 @@ Value LS_MTID_METRICS (\d+) Value LS_TOS_0_METRICS (\d+) Start - ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s*OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw new file mode 100644 index 0000000000..b7ed491835 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw @@ -0,0 +1,39 @@ +OSPF Router with ID (100.1.1.1) (Process ID 1) + + Net Link States (Area 0) + + LS age: 500 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.2.1 (address of Designated Router) + Advertising Router: 100.1.1.1 + LS Seq Number: 80000224 + Checksum: 0x4B27 + Length: 32 + Network Mask: /30 + Attached Router: 100.1.1.1 + Attached Router: 100.2.2.2 + + LS age: 872 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.3.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000224 + Checksum: 0x4816 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.2.2.2 + + LS age: 351 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.4.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000226 + Checksum: 0x60F7 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.3.3.3 diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml new file mode 100644 index 0000000000..92d575125c --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.1.1.1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw new file mode 100644 index 0000000000..f4ac8d8465 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw @@ -0,0 +1,130 @@ +OSPF Router with ID (100.1.1.1) (Process ID 1) + + Router Link States (Area 0) + + LS age: 14 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.1.1.1 + Advertising Router: 100.1.1.1 + LS Seq Number: 80000206 + Checksum: 0x8A21 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.1.1.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.3.3.3 + (Link Data) Router Interface address: 192.168.1.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1694 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.2.2.2 + Advertising Router: 100.2.2.2 + LS Seq Number: 80000202 + Checksum: 0xCA4F + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.2.2.2 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 15 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.3.3.3 + Advertising Router: 100.3.3.3 + LS Seq Number: 800001FD + Checksum: 0x3969 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.3.3.3 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.1.1.1 + (Link Data) Router Interface address: 192.168.1.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1752 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.4.4.4 + Advertising Router: 100.4.4.4 + LS Seq Number: 800001F7 + Checksum: 0x5CB0 + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.4.4.4 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml new file mode 100644 index 0000000000..394d48d18a --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml @@ -0,0 +1,240 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.1.1.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.3.3.3" + ls_link_data: "192.168.1.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.2.2.2" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.3.3.3" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.1.1.1" + ls_link_data: "192.168.1.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.4.4.4" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" From f31b7e1731cfc114189cd0b47edb2679c6256665 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 15 Apr 2020 03:15:51 +0200 Subject: [PATCH 012/412] Bugfix: cisco_asa_show_route - Capture additional output with just protocol, type, network, mask (#647) --- templates/cisco_asa_show_route.textfsm | 3 + .../cisco_asa_show_route_alt_multiline.raw | 22 ++++ .../cisco_asa_show_route_alt_multiline.yml | 101 ++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw create mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml diff --git a/templates/cisco_asa_show_route.textfsm b/templates/cisco_asa_show_route.textfsm index 6d09f564db..801a431a04 100644 --- a/templates/cisco_asa_show_route.textfsm +++ b/templates/cisco_asa_show_route.textfsm @@ -19,6 +19,9 @@ ROUTES ^\s+[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}${MASK}\s*$$ -> Clear ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1}\s*$$ -> Record # + # Match multiline route statements + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s+${MASK}\s*$$ + # # Match load-balanced routes ^\s+\[${DISTANCE}\/${METRIC}\]\s+via\s+${NEXTHOPIP},(?:\s+${UPTIME},)?\s+${NEXTHOPIF}\s*$$ -> Record # diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw new file mode 100644 index 0000000000..39ae69d92f --- /dev/null +++ b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw @@ -0,0 +1,22 @@ +Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2 + i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, * - candidate default, U - per-user static route + o - ODR, P - periodic downloaded static route, + - replicated route +Gateway of last resort is 192.168.1.2 to network 0.0.0.0 + +S* 0.0.0.0 0.0.0.0 [1/0] via 192.168.1.2, outside +O E1 10.15.0.0 255.255.0.0 [110/21] via 192.168.2.1, 3w1d, inside +O E1 172.23.100.0 255.255.254.0 + [110/50] via 192.168.2.1, 3w1d, inside +O E1 172.23.42.0 255.255.254.0 + [110/11] via 172.17.13.52, 2w2d, routing + [110/11] via 172.17.13.51, 7w0d, routing +C 172.17.13.0 255.255.255.0 is directly connected, routing +L 172.17.13.60 255.255.255.255 is directly connected, routing +C 192.168.1.0 255.255.255.0 is directly connected, outside +L 192.168.1.108 255.255.255.255 is directly connected, outside +C 192.168.2.0 255.255.255.0 is directly connected, inside +L 192.168.2.108 255.255.255.255 is directly connected, inside diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml new file mode 100644 index 0000000000..ff74a8c0b4 --- /dev/null +++ b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - protocol: "S" + type: "" + network: "0.0.0.0" + mask: "0.0.0.0" + distance: "1" + metric: "0" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "" + - protocol: "O" + type: "E1" + network: "10.15.0.0" + mask: "255.255.0.0" + distance: "110" + metric: "21" + nexthopip: "192.168.2.1" + nexthopif: "inside" + uptime: "3w1d" + - protocol: "O" + type: "E1" + network: "172.23.100.0" + mask: "255.255.254.0" + distance: "110" + metric: "50" + nexthopip: "192.168.2.1" + nexthopif: "inside" + uptime: "3w1d" + - protocol: "O" + type: "E1" + network: "172.23.42.0" + mask: "255.255.254.0" + distance: "110" + metric: "11" + nexthopip: "172.17.13.52" + nexthopif: "routing" + uptime: "2w2d" + - protocol: "O" + type: "E1" + network: "172.23.42.0" + mask: "255.255.254.0" + distance: "110" + metric: "11" + nexthopip: "172.17.13.51" + nexthopif: "routing" + uptime: "7w0d" + - protocol: "C" + type: "" + network: "172.17.13.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "routing" + uptime: "" + - protocol: "L" + type: "" + network: "172.17.13.60" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "routing" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.1.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "L" + type: "" + network: "192.168.1.108" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.2.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "inside" + uptime: "" + - protocol: "L" + type: "" + network: "192.168.2.108" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "inside" + uptime: "" From a046cbb93fa3a2fc49c1ed1c106237ba316eaad5 Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Wed, 15 Apr 2020 15:10:10 -0400 Subject: [PATCH 013/412] New Template: cisco_wlc_ssh_show_band-select (#637) --- .../cisco_wlc_ssh_show_band-select.textfsm | 19 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_band-select.raw | 7 +++++++ .../cisco_wlc_ssh_show_band-select.yml | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_band-select.textfsm create mode 100644 tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw create mode 100644 tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml diff --git a/templates/cisco_wlc_ssh_show_band-select.textfsm b/templates/cisco_wlc_ssh_show_band-select.textfsm new file mode 100644 index 0000000000..138a8940e1 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_band-select.textfsm @@ -0,0 +1,19 @@ +Value BAND_SELECT_PROBE_RESPONSE (.+?) +Value BAND_SELECT_CYCLE_COUNT (\d+\s+\w+) +Value BAND_SELECT_CYCLE_THRESH (\d+\s+\w+) +Value BAND_SELECT_AGE_SUPPRESS (\d+\s+\w+) +Value BAND_SELECT_AGE_DUAL_BAND (\d+\s+\w+) +Value BAND_SELECT_CLIENT_RSSI (-\d+\s+dBm) +Value BAND_SELECT_CLIENT_MID_RSSI (-\d+\s+dBm) + + +Start + ^Band\s+Select\s+Probe\s+Response\.*\s+${BAND_SELECT_PROBE_RESPONSE}s*$$ + ^\s+Cycle\s+Count\.*\s+${BAND_SELECT_CYCLE_COUNT}s*$$ + ^\s+Cycle\s+Threshold\.*\s+${BAND_SELECT_CYCLE_THRESH}s*$$ + ^\s+Age\s+Out\s+Suppression\.*\s+${BAND_SELECT_AGE_SUPPRESS}s*$$ + ^\s+Age\s+Out\s+Dual\s+Band\.*\s+${BAND_SELECT_AGE_DUAL_BAND}s*$$ + ^\s+Client\s+RSSI\.*\s+${BAND_SELECT_CLIENT_RSSI}s*$$ + ^\s+Client\s+Mid\s+RSSI\.*\s+${BAND_SELECT_CLIENT_MID_RSSI}s*$$ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 9392414d1a..bdb5fc31aa 100644 --- a/templates/index +++ b/templates/index @@ -273,6 +273,7 @@ cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[e cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] +cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] diff --git a/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw new file mode 100644 index 0000000000..f0ebcc89a1 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw @@ -0,0 +1,7 @@ +Band Select Probe Response....................... per WLAN enabling + Cycle Count................................... 2 cycles + Cycle Threshold............................... 200 milliseconds + Age Out Suppression........................... 20 seconds + Age Out Dual Band............................. 60 seconds + Client RSSI................................... -80 dBm + Client Mid RSSI............................... -80 dBm diff --git a/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml new file mode 100644 index 0000000000..959733dc83 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - band_select_probe_response: "per WLAN enabling" + band_select_cycle_count: "2 cycles" + band_select_cycle_thresh: "200 milliseconds" + band_select_age_suppress: "20 seconds" + band_select_age_dual_band: "60 seconds" + band_select_client_rssi: "-80 dBm" + band_select_client_mid_rssi: "-80 dBm" From b70f2b382dab6bd0b48bc89da5aaf364b48c1435 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:27:01 -0600 Subject: [PATCH 014/412] BugFix: cisco_ios_show-mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace (#659) --- .../cisco_ios_show_mac-address-table.textfsm | 4 +- .../cisco_ios_show_mac-address-table6.yml | 23 ++-- .../cisco_ios_show_mac-address-table7.yml | 13 +- .../cisco_ios_show_mac-address-table9.raw | 43 ++++++ .../cisco_ios_show_mac-address-table9.yml | 122 ++++++++++++++++++ 5 files changed, 184 insertions(+), 21 deletions(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/templates/cisco_ios_show_mac-address-table.textfsm index cd8d8b636e..4d24ad469c 100644 --- a/templates/cisco_ios_show_mac-address-table.textfsm +++ b/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,6 +1,6 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) -Value TYPE (\w+) -Value VLAN (\w+) +Value TYPE (\S+) +Value VLAN (\S+) Value DESTINATION_PORT (\S+) Start diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml index ad19413721..117f7a3f03 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml @@ -1,47 +1,46 @@ --- parsed_sample: - destination_address: "0180.c200.000f" - destination_port: "CPU" type: "STATIC" vlan: "All" - - destination_address: "0180.c200.0010" destination_port: "CPU" + - destination_address: "0180.c200.0010" type: "STATIC" vlan: "All" - - destination_address: "ffff.ffff.ffff" destination_port: "CPU" + - destination_address: "ffff.ffff.ffff" type: "STATIC" vlan: "All" + destination_port: "CPU" - destination_address: "c869.cd54.1f71" - destination_port: "Gi1/0/7" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/7" - destination_address: "d052.a826.5d8d" - destination_port: "Gi1/0/3" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/3" - destination_address: "e46f.13a9.08e5" - destination_port: "Gi1/0/36" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/36" - destination_address: "e8eb.1190.d0ff" - destination_port: "Gi1/0/37" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/37" - destination_address: "fca1.831b.8ba9" - destination_port: "Gi1/0/41" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/41" - destination_address: "fcec.da7a.c955" - destination_port: "Gi1/0/1" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/1" - destination_address: "fcec.da80.0a3e" - destination_port: "Gi1/0/22" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/22" - destination_address: "fcec.da80.0af9" - destination_port: "Gi1/0/41" type: "DYNAMIC" vlan: "2" -... + destination_port: "Gi1/0/41" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml index d431c4eaa6..e99dcd98c6 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml @@ -1,27 +1,26 @@ --- parsed_sample: - destination_address: "0000.0c07.ac04" - destination_port: "TenGigabitEthernet5/1" type: "dynamic" vlan: "46" + destination_port: "TenGigabitEthernet5/1" - destination_address: "000c.ab66.1c75" - destination_port: "GigabitEthernet1/15" type: "dynamic" vlan: "46" + destination_port: "GigabitEthernet1/15" - destination_address: "ac9b.0acc.ff55" - destination_port: "GigabitEthernet7/13" type: "dynamic" vlan: "46" + destination_port: "GigabitEthernet7/13" - destination_address: "002a.101e.e33e" - destination_port: "TenGigabitEthernet7/1" type: "dynamic" vlan: "48" + destination_port: "TenGigabitEthernet7/1" - destination_address: "002a.1060.51da" - destination_port: "TenGigabitEthernet1/10" type: "dynamic" vlan: "48" + destination_port: "TenGigabitEthernet1/10" - destination_address: "0081.c4ba.d07f" - destination_port: "Switch" type: "static" vlan: "48" -... + destination_port: "Switch" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw new file mode 100644 index 0000000000..5a5cc393af --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -0,0 +1,43 @@ + +Legend: * - primary entry + age - seconds since last seen + n/a - not available + S - secure entry + R - router's gateway mac address entry + D - Duplicate mac address entry + # - Fabric mac address entry. Clear mac cli doesn't clear this entry + +Displaying entries from active supervisor:: + + vlan mac address type learn age ports +-----+----+---------------+-------+-----+----------+----------------------------- + 75 0000.0000.4500 dynamic Yes 0 Te2/5/4 + 402 0000.0000.21de dynamic Yes 0 Po4 + 3 0000.0000.3800 dynamic Yes 0 Te2/5/10 + 24 0000.0000.0f00 dynamic Yes 265 Te1/1/9 + * 10 0000.0100.0000 dynamic Yes 0 Te1/5/13 + R 459 0000.0000.0e00 static No - Router + * 39 0000.0000.0d00 dynamic Yes 0 Te1/5/4 + 174 0000.0000.ace0 dynamic Yes 265 Te1/1/11 + 361 0000.0000.1bea dynamic Yes 265 Po4 + 310 0000.0000.e903 dynamic Yes 105 Te2/1/5 + * 302 0000.0000.0400 dynamic Yes 0 Te1/5/4 + 402 0000.0000.0000 dynamic Yes 265 Te1/1/10 + R 303 0000.0000.0e00 static No - Router + 141 0000.0000.3e00 dynamic Yes 0 Te2/1/9 + 8 0000.0000.3900 dynamic Yes 0 Te2/5/3 + 111 0000.0000.0f00 dynamic Yes 265 Te1/1/9 + R 68 0000.0000.0e00 static No - Router + 60 0000.0000.39c9 dynamic Yes 105 Te2/1/5 + 6 0000.0000.a3ea dynamic Yes 0 Te2/5/8 + 703 0000.0000.4000 dynamic Yes 0 Te2/1/9 + R 62 0000.0000.0e00 static No - Router + * 10 0000.0000.1300 dynamic Yes 0 Te1/5/13 + 200 0000.0000.3cc0 dynamic Yes 20 Te1/1/8 + 82 0000.0000.3900 dynamic Yes 0 Te2/5/4 + R N/A 0000.0000.0e00 static No - Router + 216 0000.0000.4b10 dynamic Yes 265 Te1/1/8 + 361 0000.0000.7565 dynamic Yes 50 Po4 + 361 0000.0000.0ca6 dynamic Yes 105 Po4 + R 451 0000.0000.0e00 static No - Router + 401 0000.0000.1fcb dynamic Yes 5 Po4 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml new file mode 100644 index 0000000000..7c5f61973f --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - destination_address: "0000.0000.4500" + type: "dynamic" + vlan: "75" + destination_port: "Te2/5/4" + - destination_address: "0000.0000.21de" + type: "dynamic" + vlan: "402" + destination_port: "Po4" + - destination_address: "0000.0000.3800" + type: "dynamic" + vlan: "3" + destination_port: "Te2/5/10" + - destination_address: "0000.0000.0f00" + type: "dynamic" + vlan: "24" + destination_port: "Te1/1/9" + - destination_address: "0000.0100.0000" + type: "dynamic" + vlan: "10" + destination_port: "Te1/5/13" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "459" + destination_port: "Router" + - destination_address: "0000.0000.0d00" + type: "dynamic" + vlan: "39" + destination_port: "Te1/5/4" + - destination_address: "0000.0000.ace0" + type: "dynamic" + vlan: "174" + destination_port: "Te1/1/11" + - destination_address: "0000.0000.1bea" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.e903" + type: "dynamic" + vlan: "310" + destination_port: "Te2/1/5" + - destination_address: "0000.0000.0400" + type: "dynamic" + vlan: "302" + destination_port: "Te1/5/4" + - destination_address: "0000.0000.0000" + type: "dynamic" + vlan: "402" + destination_port: "Te1/1/10" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "303" + destination_port: "Router" + - destination_address: "0000.0000.3e00" + type: "dynamic" + vlan: "141" + destination_port: "Te2/1/9" + - destination_address: "0000.0000.3900" + type: "dynamic" + vlan: "8" + destination_port: "Te2/5/3" + - destination_address: "0000.0000.0f00" + type: "dynamic" + vlan: "111" + destination_port: "Te1/1/9" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "68" + destination_port: "Router" + - destination_address: "0000.0000.39c9" + type: "dynamic" + vlan: "60" + destination_port: "Te2/1/5" + - destination_address: "0000.0000.a3ea" + type: "dynamic" + vlan: "6" + destination_port: "Te2/5/8" + - destination_address: "0000.0000.4000" + type: "dynamic" + vlan: "703" + destination_port: "Te2/1/9" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "62" + destination_port: "Router" + - destination_address: "0000.0000.1300" + type: "dynamic" + vlan: "10" + destination_port: "Te1/5/13" + - destination_address: "0000.0000.3cc0" + type: "dynamic" + vlan: "200" + destination_port: "Te1/1/8" + - destination_address: "0000.0000.3900" + type: "dynamic" + vlan: "82" + destination_port: "Te2/5/4" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "N/A" + destination_port: "Router" + - destination_address: "0000.0000.4b10" + type: "dynamic" + vlan: "216" + destination_port: "Te1/1/8" + - destination_address: "0000.0000.7565" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.0ca6" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "451" + destination_port: "Router" + - destination_address: "0000.0000.1fcb" + type: "dynamic" + vlan: "401" + destination_port: "Po4" From 6f8aac9fa1a90f415ff936130390231120a566f5 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:51:42 -0600 Subject: [PATCH 015/412] Added information for all new changes between 1.4.0 and now (#660) --- CHANGELOG | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index bc5438ab31..3883666903 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,26 @@ +## [1.4.1] +### Fixed +- [#617] - IOS show ip ospf database router: Removed reliance on static spacing +- [#620] - NXOS show fex: Allow spaces in descriptions +- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) +- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style +- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output +- [#647] - ASA show route: Allow multiline route statements +- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option + +### Added +- [#618] - IOS show ip ospf database network: New template +- [#619] - HP Comware display lldp neighbor information verbose: New template +- [#625] - ASA show vpn-sessiondb anyconnect: New template +- [#628] - Cisco WLC show mobility sum: New template +- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group +- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME +- [#632] - ASA show nat: Added SERVICE_PROTOCOL +- [#635] - IOS show ip route summary: New template +- [#636] - ASA show vpn-sessiondb: New template +- [#638] - ASA show inventory: Capture PID and VID withoout serial +- [#637] - Cisco WLC show band select: New template + ## [1.4.0] ### Fixed - [#548] IOS show mac address-table: Account for Total Mac Addresses From d3641f53f7d6f30922f60f07e7aa46376572706b Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:57:35 -0600 Subject: [PATCH 016/412] Forgot to bump version in lib/ntc_templates/__init__.py (#661) --- lib/ntc_templates/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index ebb8ca9f67..f9aebbff9a 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.0" +__version__ = "1.4.1" From 4ac9cfd2bce6b6c015c16f328f16e704dc106a25 Mon Sep 17 00:00:00 2001 From: georgesnow Date: Tue, 28 Apr 2020 14:48:58 -0400 Subject: [PATCH 017/412] BugFix: Change Ciena platform to use ciena_saos (#665) Changed Ciena platform name Created templates for: * chassis show temperature * port show * rstp show * vlan show --- ...iena_saos_chassis_show_temperature.textfsm | 18 + templates/ciena_saos_port_show.textfsm | 31 ++ templates/ciena_saos_rstp_show.textfsm | 40 ++ ...xtfsm => ciena_saos_software_show.textfsm} | 0 templates/ciena_saos_vlan_show.textfsm | 26 ++ templates/index | 6 +- .../ciena_saos_chassis_show_temperature.raw | 11 + .../ciena_saos_chassis_show_temperature.yml | 5 + .../port_show/ciena_saos_port_show.raw | 39 ++ .../port_show/ciena_saos_port_show.yml | 299 ++++++++++++ .../rstp_show/ciena_saos_rstp_show.raw | 43 ++ .../rstp_show/ciena_saos_rstp_show.yml | 434 ++++++++++++++++++ .../ciena_saos_software_show.raw} | 0 .../ciena_saos_software_show.yml} | 0 .../vlan_show/ciena_saos_vlan_show.raw | 26 ++ .../vlan_show/ciena_saos_vlan_show.yml | 20 + tests/test_index_order.py | 2 +- tox.ini | 3 +- 18 files changed, 1000 insertions(+), 3 deletions(-) create mode 100644 templates/ciena_saos_chassis_show_temperature.textfsm create mode 100644 templates/ciena_saos_port_show.textfsm create mode 100644 templates/ciena_saos_rstp_show.textfsm rename templates/{ciena_6x_software_show.textfsm => ciena_saos_software_show.textfsm} (100%) create mode 100644 templates/ciena_saos_vlan_show.textfsm create mode 100644 tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw create mode 100644 tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml create mode 100644 tests/ciena_saos/port_show/ciena_saos_port_show.raw create mode 100644 tests/ciena_saos/port_show/ciena_saos_port_show.yml create mode 100644 tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw create mode 100644 tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml rename tests/{ciena_6x/software_show/ciena_6x_software_show.raw => ciena_saos/software_show/ciena_saos_software_show.raw} (100%) rename tests/{ciena_6x/software_show/ciena_6x_software_show.yml => ciena_saos/software_show/ciena_saos_software_show.yml} (100%) create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml mode change 100644 => 100755 tests/test_index_order.py diff --git a/templates/ciena_saos_chassis_show_temperature.textfsm b/templates/ciena_saos_chassis_show_temperature.textfsm new file mode 100644 index 0000000000..fe5bd13c37 --- /dev/null +++ b/templates/ciena_saos_chassis_show_temperature.textfsm @@ -0,0 +1,18 @@ +Value CURRENT (\d+\s*\w+) +Value LOW (\d+\s*\w+) +Value HIGH (\d+\s*\w+) + +Start + ^\+-+\s*TEMPERATURE\s*THRESHOLD\s*-+\+ + ^\|\s*Low\s*\|\s*High\s*\| + ^\+-+\+-+\+ + ^\|\s*-\d+\s*\w+\s*\|\s*\d+\s*\w+\s*\| + ^\+-+\+-+\+ + ^\s*$$ + ^\+-+\s*TEMPERATURE\s*STATUS\s*-+\+ + ^\|\s*Current\s*\|\s*Low\s*\|\s*High\s*\| + ^\+-+\+-+\+-+\+ + ^\|\s*${CURRENT}\s*\|\s*${LOW}\s*\|\s*${HIGH}\s*\| + ^\+-+\+-+\+-+\+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/ciena_saos_port_show.textfsm b/templates/ciena_saos_port_show.textfsm new file mode 100644 index 0000000000..ac1fc55d18 --- /dev/null +++ b/templates/ciena_saos_port_show.textfsm @@ -0,0 +1,31 @@ +Value NAME ([0-9A-Za-z\.]+) +Value TYPE (\S*) +Value LINK (Up|Down) +Value DURATION (\w+\s*\wh\s*\w+m\s*\w+) +Value XCVR ((\s*)|(\w+)) +Value STP (\w+) +Value MODE ((\w+\/\w+)|(\s*)) +Value AUTONEG ((\w+)|(\s*)) +Value ADMIN_LINK (\w+) +Value ADMIN_MODE ((\w+\/\w+)|(\s*)) +Value ADMIN_AUTONEG ((\w+)|(\s*)) + + +Start + ^\+-+\s*PORT\s*GLOBAL\s*CONFIGURATION\s*-+\+ + ^\+-+ + ^\|\s*P\w+\s*\|\s*V\w+\s*\| + ^\+-+ + ^\|\s*Rx\s*\w+\s*\s*\w+\s*\w+\s*\w+\s*\w+\s*\|\s*\w+\s*\| + ^\+-+ + ^\+-+ + ^\|\s*Por\w+\s*Table\s*\|\s*Operational\s*Status\s*\|\s*Admin\s*Config\s*\| + ^\|-+ + ^\|\s*Por\w+\s*\|\s*Port\s*\s*\|\s*\|\s*Link\s*\State\s*\|\s*\|\s*\|\s*\|Auto\|\s*\|\s*\|Auto\| + ^\|\s*Name\s*\|\s*Type\s*\|Link\|\s*Duration\s*\|XCVR\|STP\|\s*Mode\s*\|Neg\s*\|Link\|\s*Mode\s*\|Neg\s*\| + ^\|-+ + ^\|\s*${NAME}\s*\|\s*${TYPE}\s*\|\s*${LINK}\s*\|\s*${DURATION}\|\s*${XCVR}\s*\|${STP}\|\s*${MODE}\s*\|\s*${AUTONEG}\s*\|\s*${ADMIN_LINK}\s*\|\s*${ADMIN_MODE}\s*\|\s*${ADMIN_AUTONEG}\s*\| -> Record + ^\+-+ + ^\s*$$ + ^. -> Error + diff --git a/templates/ciena_saos_rstp_show.textfsm b/templates/ciena_saos_rstp_show.textfsm new file mode 100644 index 0000000000..ed4872a092 --- /dev/null +++ b/templates/ciena_saos_rstp_show.textfsm @@ -0,0 +1,40 @@ +Value NAME ([0-9A-Za-z\.]+) +Value PORT_OP (.{2}|\w+) +Value PORT_STP (\w+) +Value PORT_ROLE (\w+) +Value RSTP_ST (\w+) +Value STP_ST (\w+) +Value PR (\w+) +Value PATH_COST_OPER (\w+|.{6}) +Value PATH_COST_D (\w+) +Value EDGEP_AD (\w+) +Value EDGEP_OP (\w+) +Value P2P_MAC_ADM (\w+) +Value P2P_MAC_OP (\w+) +Value DOMAIN_ADM (\w+) +Value DOMAIN_EF (\w+) +Value PORT_UPTIME (.{13}) + + +Start + ^\+---------------------Bridge-------------------\+BridgeTimer\+-------Bridge------\+ + ^\+-.* + ^\|Rst.* + ^\|Adm.* + ^\+-.* + ^\|\s*ENA.* + ^\+-.* + ^\|Rst.* + ^\|Mode.* + ^\+-.* + ^\|\s*RSTP.* + ^\+-.* + ^\+-.* + ^\+-.* + ^\|\s*Port.* + ^\|\s*Name.* + ^\+-.* + ^\|${NAME}\s*\|${PORT_OP}\|${PORT_STP}\|\s*${PORT_ROLE}\|${RSTP_ST}\s*\|\s*${STP_ST}\s*\|\s*${PR}\|\s*${PATH_COST_OPER}\s*\|${PATH_COST_D}\s*\|\s*${EDGEP_AD}\|\s*${EDGEP_OP}\|${P2P_MAC_ADM}\|\s*${P2P_MAC_OP}\s*\|\s*${DOMAIN_ADM}\|\s*${DOMAIN_EF}\|${PORT_UPTIME}\| -> Record + ^\+-.* + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/ciena_6x_software_show.textfsm b/templates/ciena_saos_software_show.textfsm similarity index 100% rename from templates/ciena_6x_software_show.textfsm rename to templates/ciena_saos_software_show.textfsm diff --git a/templates/ciena_saos_vlan_show.textfsm b/templates/ciena_saos_vlan_show.textfsm new file mode 100644 index 0000000000..fcaac57357 --- /dev/null +++ b/templates/ciena_saos_vlan_show.textfsm @@ -0,0 +1,26 @@ +Value VLAN_ID (\d+) +Value VLAN_NAME ([0-9a-zA-Z_#]+) + +Start + ^\+-+\s*VLAN\s*GLOBAL\s*CONFIGURATION\s*-+\+ + ^\+-+ + ^\|\sP\w+\s*\|\s*V\w+\s*\| + ^\+-+ + ^\|\s+In\w+\s*\w+\s*\|\s*\d+\s*\| + ^\+-+ + ^(?=\s+) + ^\+-+ + ^\|VL\w+\|\s*\|\s*\d+\| + ^\|\s*ID\s*\|\s*\w+\s*\w+\s*\w+\s*\|\d+\| + ^\+-+ + ^\|\s*${VLAN_ID}\s*\|\s*${VLAN_NAME}\s*\| -> Record + ^\+-+ + ^(?=\s+) + ^\+-+ + ^\+-+\s*CROSS\s*CONNECTION\s*TABLE\s*-+\+ + ^\|\sOV\w+\s*\|\s*IV\w+\s*\|\s*\w+\-\w+\s*\|\s*\w+\-\w+\s*\| + ^\+-+ + ^\|\s*No\s*Entry\s*Found\s*\| + ^\+-+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index bdb5fc31aa..51f70e3ebe 100644 --- a/templates/index +++ b/templates/index @@ -105,7 +105,11 @@ checkpoint_gaia_show_dns.textfsm, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat -ciena_6x_software_show.textfsm, .*, ciena_6x, so[[ftware]] sh[[ow]] +ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] +ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] +ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] +ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] +ciena_saos_vlan_show.textfsm, .*, ciena_saos, vl[[an]] sh[[ow]] cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw new file mode 100644 index 0000000000..12ddd61422 --- /dev/null +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw @@ -0,0 +1,11 @@ ++- TEMPERATURE THRESHOLD -+ +| Low | High | ++------------+------------+ +| -40 C | 65 C | ++------------+------------+ + ++--- TEMPERATURE STATUS --+ +| Current | Low | High | ++---------+-------+-------+ +| 19 C | 17 C | 20 C | ++---------+-------+-------+ \ No newline at end of file diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml new file mode 100644 index 0000000000..e79f63e6a2 --- /dev/null +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - current: '19 C' + low: '17 C' + high: '20 C' diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.raw b/tests/ciena_saos/port_show/ciena_saos_port_show.raw new file mode 100644 index 0000000000..af8b35ace2 --- /dev/null +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.raw @@ -0,0 +1,39 @@ ++--------------- PORT GLOBAL CONFIGURATION ----------------+ +| Parameter | Value | ++----------------------------------+-----------------------+ +| Rx Low Power Detect Admin State | Disabled | ++----------------------------------+-----------------------+ ++-------------------------------------------------------------------------------+ +| Port Table | Operational Status | Admin Config | +|---------+---------+----+--------------+----+---+-------+----+----+-------+----| +| Port | Port | | Link State | | | |Auto| | |Auto| +| Name | Type |Link| Duration |XCVR|STP| Mode |Neg |Link| Mode |Neg | +|---------+---------+----+--------------+----+---+-------+----+----+-------+----| +| 1.11 |100/G | Up | 30d 2h24m21s|Ena |Dis|1000/FD| On |Ena |Auto/FD| On | +| 2.1 |100G/Gig |Down| 0d 0h 0m 0s|UCTF|Dis| | |Ena |Auto/FD| On | +| 3 |10/100/G | Up | 30d 1h55m12s|Ena |Dis|1000/FD| On |Ena |Auto/FD| On | +| 4 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 5 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 6 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 7 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 8 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 9 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 10 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 11 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 12 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 13 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 14 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 15 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 16 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 17 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 18 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 19 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 20 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 21 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 22 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 23 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 24 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| LAG1 | LAG | Up | 30d 2h24m21s| |FWD| | |Ena | | | +| LAG2 | LAG | Up | 30d 1h55m11s| |FWD| | |Ena | | | +| LATERAL | LAG |Down| 0d 0h 0m 0s| |Dis| | |Ena | | | ++---------+---------+----+--------------+----+---+-------+----+----+-------+----+ \ No newline at end of file diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.yml b/tests/ciena_saos/port_show/ciena_saos_port_show.yml new file mode 100644 index 0000000000..40a95b438e --- /dev/null +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.yml @@ -0,0 +1,299 @@ +--- +parsed_sample: + - name: '1.11' + type: '100/G' + link: 'Up' + duration: '30d 2h24m21s' + xcvr: 'Ena' + stp: 'Dis' + mode: '1000/FD' + autoneg: 'On' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '2.1' + type: '100G/Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: 'UCTF' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '3' + type: '10/100/G' + link: 'Up' + duration: '30d 1h55m12s' + xcvr: 'Ena' + stp: 'Dis' + mode: '1000/FD' + autoneg: 'On' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '4' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '5' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '6' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '7' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '8' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '9' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '10' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '11' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '12' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '13' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '14' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '15' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '16' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '17' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '18' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '19' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '20' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '21' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '22' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '23' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '24' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: 'LAG1' + type: 'LAG' + link: 'Up' + duration: '30d 2h24m21s' + xcvr: '' + stp: 'FWD' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' + - name: 'LAG2' + type: 'LAG' + link: 'Up' + duration: '30d 1h55m11s' + xcvr: '' + stp: 'FWD' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' + - name: 'LATERAL' + type: 'LAG' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw new file mode 100644 index 0000000000..1e8d6cd1af --- /dev/null +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw @@ -0,0 +1,43 @@ ++---------------------Bridge-------------------+BridgeTimer+-------Bridge------+ +|Rstp| | | Root | Root |Force|Fwd|Hlo|Max|T Chg| Time | +|Adm |Prio| MacAdd | Cost | Port |Versn|Dly|Tim|Age|Count| Since TC | ++----+----+------------+--------+--------+-----+---+---+---+-----+-------------+ +| ENA|8000|C4836F193CC0| 0| ---- | RSTP| 15| 2| 20| 0|0000D00:00:00| ++----+------------Designated-------------+-----+-RootTimer-+-----Enhancement---+ +|Rstp| Designated Root |Designated Bridge|Hops2|Fwd|Hlo|Max| Standards |Debug | +|Mode|Prio| MacAdd |Prio| MacAdd |RootB|Dly|Tim|Age| Compliance |Events| ++----+----+------------+----+------------+-----+---+---+---+------------+------+ +|RSTP|8000|C4836F193CC0|8000|C4836F193CC0| 0 | 15| 2| 20|CienaEnhance| more| ++----+----+------------+----+------------+-----+---+---+---+------------+------+ ++------------------------------ RSTP Port Info ------------------------------+ +| Port |RSTP| STP| |Path Cost |EdgeP|P2P_Mac|Domain| Port | +| Name |Op|STP|Role| ST | ST |Pr| Oper |D|Ad|Op|Adm |Op|Adm|Ef| UpTime | ++-------+--+---+----+----+----+--+--------+-+--+--+----+--+---+--+-------------+ +|1 |--|Ena| DIS|DISC| DIS| 8| 20000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|2 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|3 |--|Ena| DIS|DISC| DIS| 8| 20000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|4 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|5 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|6 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|7 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|8 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|9 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|10 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|11 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|12 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|13 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|14 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|15 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|16 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|17 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|18 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|19 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|20 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|21 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|22 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|23 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|24 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|LAG1 |Up|Dis| DIS|FWD |FWD | 8| 20000|T| F| F|AUTO|T | 0| 0|0030D04:51:46| +|LAG2 |Up|Dis| DIS|FWD |FWD | 8| 20000|T| F| F|AUTO|T | 0| 0|0030D04:22:36| +|LATERAL|--|Ena| DIS|DISC| DIS| 8| ------ |T| F| F|AUTO| F| 0| 0|0000D00:00:00| ++-------+--+---+----+----+----+--+--------+-+--+--+----+--+---+--+-------------+ diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml new file mode 100644 index 0000000000..1a07bff3bd --- /dev/null +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - name: '1' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '2' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '3' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '4' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '5' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '6' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '7' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '8' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '9' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '10' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '11' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '12' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '13' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '14' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '15' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '16' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '17' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '18' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '19' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '20' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '21' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '22' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '23' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '24' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: 'LAG1' + port_op: 'Up' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'FWD' + stp_st: 'FWD' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'T' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0030D04:51:46' + - name: 'LAG2' + port_op: 'Up' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'FWD' + stp_st: 'FWD' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'T' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0030D04:22:36' + - name: 'LATERAL' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '------' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.raw b/tests/ciena_saos/software_show/ciena_saos_software_show.raw similarity index 100% rename from tests/ciena_6x/software_show/ciena_6x_software_show.raw rename to tests/ciena_saos/software_show/ciena_saos_software_show.raw diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.yml b/tests/ciena_saos/software_show/ciena_saos_software_show.yml similarity index 100% rename from tests/ciena_6x/software_show/ciena_6x_software_show.yml rename to tests/ciena_saos/software_show/ciena_saos_software_show.yml diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw new file mode 100644 index 0000000000..15829531ad --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw @@ -0,0 +1,26 @@ ++----- VLAN GLOBAL CONFIGURATION -----+ +| Parameter | Value | ++-----------------+-------------------+ +| Inner TPID | 8100 | ++-----------------+-------------------+ + ++----+--------------------------------+------------------------+ +|VLAN| | 111111111122222| +| ID | VLAN Name Ports |123456789012345678901234| ++----+--------------------------------+------------------------+ +| 1|Default | xxxx xxxxxxxx x x | +| 2|VLAN#2 | x| +| 4|VLAN#4 | x | +| 5|VLAN#5 | x | +| 7|VLAN#7 | x | +| 8|VLAN#8 | x | +|1401|Mgmt |xxxx x | +|3999|RVID_3999 | | +|4000|VLAN#4000 | | ++----+--------------------------------+------------------------+ + ++----------------------------- CROSS CONNECTION TABLE ------------------------------+ +| OVID | IVID | Port-A | Port-B | ++------+------+----------------------------------+----------------------------------+ +| No Entry Found | ++------+------+----------------------------------+----------------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml new file mode 100644 index 0000000000..4f63065d39 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - vlan_id: '1' + vlan_name: 'Default' + - vlan_id: '2' + vlan_name: 'VLAN#2' + - vlan_id: '4' + vlan_name: 'VLAN#4' + - vlan_id: '5' + vlan_name: 'VLAN#5' + - vlan_id: '7' + vlan_name: 'VLAN#7' + - vlan_id: '8' + vlan_name: 'VLAN#8' + - vlan_id: '1401' + vlan_name: 'Mgmt' + - vlan_id: '3999' + vlan_name: 'RVID_3999' + - vlan_id: '4000' + vlan_name: 'VLAN#4000' diff --git a/tests/test_index_order.py b/tests/test_index_order.py old mode 100644 new mode 100755 index a7f0586e19..8ac187f468 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -75,7 +75,7 @@ def test_index_ordering(): "brocade_vdx", "brocade_vyos", "checkpoint_gaia", - "ciena_6x", + "ciena_saos", "cisco_asa", "cisco_ios", "cisco_nxos", diff --git a/tox.ini b/tox.ini index 581a507e08..d4eeb04a3c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py36 +envlist = py36,py37,py38 +skip_missing_interpreters = true [testenv] install_command = pip install .[dev] {opts} {packages} From 508cbac5dad9d14e6c70de7a87818b5843fed285 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 29 Apr 2020 12:35:09 -0600 Subject: [PATCH 018/412] Enhancement: cisco_ios_show_redundancy - Add New fields (#667) --- templates/cisco_ios_show_redundancy.textfsm | 63 +++++++++++-------- .../cisco_ios_show_redundancy.yml | 9 ++- .../cisco_ios_show_redundancy2.raw | 39 ++++++++++++ .../cisco_ios_show_redundancy2.yml | 42 +++++++++++++ .../cisco_ios_show_redundancy3.raw | 26 ++++++++ .../cisco_ios_show_redundancy3.yml | 42 +++++++++++++ 6 files changed, 193 insertions(+), 28 deletions(-) create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml diff --git a/templates/cisco_ios_show_redundancy.textfsm b/templates/cisco_ios_show_redundancy.textfsm index b80e5b93e3..49e344f1e5 100644 --- a/templates/cisco_ios_show_redundancy.textfsm +++ b/templates/cisco_ios_show_redundancy.textfsm @@ -1,3 +1,5 @@ +Value SYSTEM_UPTIME_YEARS (\d+) +Value SYSTEM_UPTIME_WEEKS (\d+) Value SYSTEM_UPTIME_DAYS (\d+) Value SYSTEM_UPTIME_HOURS (\d+) Value SYSTEM_UPTIME_MINUTES (\d+) @@ -9,8 +11,10 @@ Value CONFIGURED_REDUNDANCY_MODE (.+?) Value OPERATING_REDUNDANCY_MODE (.+?) Value MAINTENANCE_MODE (.+?) Value COMMUNICATION_STATUS (.+?) -Value ACTIVE_SLOT (\d+) +Value ACTIVE_SLOT (\S+) Value ACTIVE_SOFTWARE_STATE (.+?) +Value ACTIVE_UPTIME_YEARS (\d+) +Value ACTIVE_UPTIME_WEEKS (\d+) Value ACTIVE_UPTIME_DAYS (\d+) Value ACTIVE_UPTIME_HOURS (\d+) Value ACTIVE_UPTIME_MINUTES (\d+) @@ -20,8 +24,10 @@ Value ACTIVE_MAINTENANCE_RELEASE (\S+) Value ACTIVE_BOOT_DIRECTORY (\S+) Value ACTIVE_BOOT_FILE (\S+) Value ACTIVE_CONFIG_REGISTER (\S+) -Value STANDBY_SLOT (\d+) +Value STANDBY_SLOT (\S+) Value STANDBY_SOFTWARE_STATE (.+?) +Value STANDBY_UPTIME_YEARS (\d+) +Value STANDBY_UPTIME_WEEKS (\d+) Value STANDBY_UPTIME_DAYS (\d+) Value STANDBY_UPTIME_HOURS (\d+) Value STANDBY_UPTIME_MINUTES (\d+) @@ -31,21 +37,22 @@ Value STANDBY_MAINTENANCE_RELEASE (\S+) Value STANDBY_BOOT_DIRECTORY (\S+) Value STANDBY_BOOT_FILE (\S+) Value STANDBY_CONFIG_REGISTER (\S+) +Value STANDBY_STATUS (.+?) Start ^Redundant\s+System\s+Information ^\s*-+\s*$$ - ^\s+Available\s+system\s+uptime\s*=\s*${SYSTEM_UPTIME_DAYS}\s+days,\s+${SYSTEM_UPTIME_HOURS}\s+hours,\s+${SYSTEM_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Switchovers\s+system\s+experienced\s*=\s*${SWITCHOVERS}\s*$$ - ^\s+Standby\s+failures\s*=\s*${STANDBY_FAILURES}\s*$$ - ^\s+Last\s+switchover\s+reason\s*=\s*${LAST_SWITCHOVER_REASON}\s*$$ - ^\s+Hardware\s+Mode\s*=\s*${HARDWARE_MODE}\s*$$ - ^\s+Configured\s+Redundancy\s+Mode\s*=\s*${CONFIGURED_REDUNDANCY_MODE}\s*$$ - ^\s+Operating\s+Redundancy\s+Mode\s*=\s*${OPERATING_REDUNDANCY_MODE}\s*$$ - ^\s+Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ - ^\s+Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ - ^\s+Current\s+Processor -> Current + ^\s*Available\s+system\s+uptime\s*=\s*(${SYSTEM_UPTIME_YEARS}\s*year(s)?,)?\s*(${SYSTEM_UPTIME_WEEKS}\s*week(s)?,)?\s*(${SYSTEM_UPTIME_DAYS}\s*day(s)?,)?\s*(${SYSTEM_UPTIME_HOURS}\s*hour(s)?,)?\s*${SYSTEM_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Switchovers\s+system\s+experienced\s*=\s*${SWITCHOVERS}\s*$$ + ^\s*Standby\s+failures\s*=\s*${STANDBY_FAILURES}\s*$$ + ^\s*Last\s+switchover\s+reason\s*=\s*${LAST_SWITCHOVER_REASON}\s*$$ + ^\s*Hardware\s+Mode\s*=\s*${HARDWARE_MODE}\s*$$ + ^\s*Configured\s+Redundancy\s+Mode\s*=\s*${CONFIGURED_REDUNDANCY_MODE}\s*$$ + ^\s*Operating\s+Redundancy\s+Mode\s*=\s*${OPERATING_REDUNDANCY_MODE}\s*$$ + ^\s*Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ + ^\s*Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ + ^\s*Current\s+Processor -> Current # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is @@ -54,29 +61,31 @@ Start Current ^\s*-+\s*$$ - ^\s+Active\s+Location\s*=\s*slot\s+${ACTIVE_SLOT}\s*$$ - ^\s+Current\s+Software\s+state\s*=\s*${ACTIVE_SOFTWARE_STATE}\s*$$ - ^\s+Uptime\s+in\s+current\s+state\s*=\s*${ACTIVE_UPTIME_DAYS}\s+days,\s+${ACTIVE_UPTIME_HOURS}\s+hours,\s+${ACTIVE_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Image\s+Version + ^\s*Active\s+Location\s*=\s*slot\s+${ACTIVE_SLOT}\s*$$ + ^\s*Current\s+Software\s+state\s*=\s*${ACTIVE_SOFTWARE_STATE}\s*$$ + ^\s*Uptime\s+in\s+current\s+state\s*=\s*(${ACTIVE_UPTIME_YEARS}\s*year(s)?,)?\s*(${ACTIVE_UPTIME_WEEKS}\s*week(s)?,)?\s*(${ACTIVE_UPTIME_DAYS}\s*day(s)?,)?\s*(${ACTIVE_UPTIME_HOURS}\s*hour(s)?,)?\s*${ACTIVE_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Image\s+Version ^.+Version\s+${ACTIVE_MAJOR_RELEASE}\.${ACTIVE_MINOR_RELEASE}\(${ACTIVE_MAINTENANCE_RELEASE}\) ^.+[Cc][Ii][Ss][Cc][Oo] - ^.+(?:Copyright|Compiled) - ^\s+BOOT\s*=\s*${ACTIVE_BOOT_DIRECTORY}:${ACTIVE_BOOT_FILE}\s*$$ - ^\s+Configuration\s+register\s*=\s*${ACTIVE_CONFIG_REGISTER}\s*$$ - ^\s+Peer\s+Processor -> Peer + ^.*(?:Copyright|Compiled|CONFIG_FILE|BOOTLDR) + ^\s*BOOT\s*=\s*${ACTIVE_BOOT_DIRECTORY}:${ACTIVE_BOOT_FILE}\s*$$ + ^\s*Configuration\s+register\s*=\s*${ACTIVE_CONFIG_REGISTER}\s*$$ + ^Peer\s*\(slot:\s*unavailable\)\s*\w*\s*\w*\s*\w*\s*\w*\s*\w\s*\w*\s*\w*\s*\w*\s*\w*\s*\'${STANDBY_STATUS}\'\s*state$$ -> EOF + ^\s*Peer\s+Processor -> Peer ^\s*$$ ^. -> Error Peer ^\s*-+\s*$$ - ^\s+Standby\s+Location\s*=\s*slot\s+${STANDBY_SLOT}\s*$$ - ^\s+Current\s+Software\s+state\s*=\s*${STANDBY_SOFTWARE_STATE}\s*$$ - ^\s+Uptime\s+in\s+current\s+state\s*=\s*${STANDBY_UPTIME_DAYS}\s+days,\s+${STANDBY_UPTIME_HOURS}\s+hours,\s+${STANDBY_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Image\s+Version + ^\s*Standby\s+Location\s*=\s*slot\s+${STANDBY_SLOT}\s*$$ + ^\s*Current\s+Software\s+state\s*=\s*${STANDBY_SOFTWARE_STATE}\s*$$ + ^\s*Uptime\s+in\s+current\s+state\s*=\s*(${STANDBY_UPTIME_YEARS}\s*year(s)?,)?\s*(${STANDBY_UPTIME_WEEKS}\s*week(s)?,)?\s*(${STANDBY_UPTIME_DAYS}\s*day(s)?,)?\s*(${STANDBY_UPTIME_HOURS}\s*hour(s)?,)?\s*${STANDBY_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Image\s+Version ^.+Version\s+${STANDBY_MAJOR_RELEASE}\.${STANDBY_MINOR_RELEASE}\(${STANDBY_MAINTENANCE_RELEASE}\) ^.+[Cc][Ii][Ss][Cc][Oo] - ^.+(?:Copyright|Compiled) - ^\s+BOOT\s*=\s*${STANDBY_BOOT_DIRECTORY}:${STANDBY_BOOT_FILE}\s*$$ - ^\s+Configuration\s+register\s*=\s*${STANDBY_CONFIG_REGISTER}\s*$$ + ^.*(?:Copyright|Compiled|CONFIG_FILE|BOOTLDR) + ^\s*BOOT\s*=\s*${STANDBY_BOOT_DIRECTORY}:${STANDBY_BOOT_FILE}\s*$$ + ^\s*Configuration\s+register\s*=\s*${STANDBY_CONFIG_REGISTER}\s*$$ ^\s*$$ + ^\s*Compiled\s* ^. -> Error diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml index 464f2904b0..73f0965000 100644 --- a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - system_uptime_days: "2" + - system_uptime_years: "" + system_uptime_weeks: "" + system_uptime_days: "2" system_uptime_hours: "2" system_uptime_minutes: "39" switchovers: "0" @@ -13,6 +15,8 @@ parsed_sample: communication_status: "Up" active_slot: "1" active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "" active_uptime_days: "2" active_uptime_hours: "2" active_uptime_minutes: "39" @@ -24,6 +28,8 @@ parsed_sample: active_config_register: "0x2002" standby_slot: "2" standby_software_state: "STANDBY HOT" + standby_uptime_years: "" + standby_uptime_weeks: "" standby_uptime_days: "2" standby_uptime_hours: "2" standby_uptime_minutes: "39" @@ -33,3 +39,4 @@ parsed_sample: standby_boot_directory: "bootflash" standby_boot_file: "cat4000-i5s-mz.122_20_EWA_392,1" standby_config_register: "0x2002" + standby_status: "" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw new file mode 100644 index 0000000000..a8434d4d09 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw @@ -0,0 +1,39 @@ +Redundant System Information : +------------------------------ + Available system uptime = 1 hour, 22 minutes +Switchovers system experienced = 0 + Standby failures = 0 + Last switchover reason = none + Hardware Mode = Duplex + Configured Redundancy Mode = sso + Operating Redundancy Mode = sso + Maintenance Mode = Disabled + Communications = Up + +Current Processor Information : +------------------------------- + Active Location = slot 1/5 + Current Software state = ACTIVE + Uptime in current state = 1 hour, 22 minutes + Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Mon 02-Sep-19 07:17 by prod_rel_team + BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; + CONFIG_FILE = + BOOTLDR = + Configuration register = 0x2102 + +Peer Processor Information : +---------------------------- + Standby Location = slot 2/5 + Current Software state = STANDBY HOT + Uptime in current state = 19 minutes + Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Mon 02-Sep-19 07:17 by prod_rel_team + BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; + CONFIG_FILE = + BOOTLDR = + Configuration register = 0x2102 \ No newline at end of file diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml new file mode 100644 index 0000000000..46bfcb58f3 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - system_uptime_years: "" + system_uptime_weeks: "" + system_uptime_days: "" + system_uptime_hours: "1" + system_uptime_minutes: "22" + switchovers: "0" + standby_failures: "0" + last_switchover_reason: "none" + hardware_mode: "Duplex" + configured_redundancy_mode: "sso" + operating_redundancy_mode: "sso" + maintenance_mode: "Disabled" + communication_status: "Up" + active_slot: "1/5" + active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "" + active_uptime_days: "" + active_uptime_hours: "1" + active_uptime_minutes: "22" + active_major_release: "" + active_minor_release: "" + active_maintenance_release: "" + active_boot_directory: "bootdisk" + active_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" + active_config_register: "0x2102" + standby_slot: "2/5" + standby_software_state: "STANDBY HOT" + standby_uptime_years: "" + standby_uptime_weeks: "" + standby_uptime_days: "" + standby_uptime_hours: "" + standby_uptime_minutes: "19" + standby_major_release: "" + standby_minor_release: "" + standby_maintenance_release: "" + standby_boot_directory: "bootdisk" + standby_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" + standby_config_register: "0x2102" + standby_status: "" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw new file mode 100644 index 0000000000..4790dd4cfe --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw @@ -0,0 +1,26 @@ +Redundant System Information : +------------------------------ + Available system uptime = 46 weeks, 4 days, 22 hours, 52 minutes +Switchovers system experienced = 0 + Standby failures = 0 + Last switchover reason = none + + Hardware Mode = Simplex + Configured Redundancy Mode = sso + Operating Redundancy Mode = sso + Maintenance Mode = Disabled + Communications = Down Reason: Failure + +Current Processor Information : +------------------------------- + Active Location = slot 1 + Current Software state = ACTIVE + Uptime in current state = 46 weeks, 4 days, 22 hours, 52 minutes + Image Version = Cisco IOS Software, c6848x Software (c6848x-ADVENTERPRISEK9-M), Version 15.4(1)SY4, RELEASE SOFTWARE (fc3) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2018 by Cisco Systems, Inc. +Compiled Fri 02-Feb-18 02:00 by prod_rel_team + BOOT = bootdisk:/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12; + Configuration register = 0x2102 + +Peer (slot: unavailable) information is not available because it is in 'DISABLED' state \ No newline at end of file diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml new file mode 100644 index 0000000000..28f7ce1dd6 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - system_uptime_years: "" + system_uptime_weeks: "46" + system_uptime_days: "4" + system_uptime_hours: "22" + system_uptime_minutes: "52" + switchovers: "0" + standby_failures: "0" + last_switchover_reason: "none" + hardware_mode: "Simplex" + configured_redundancy_mode: "sso" + operating_redundancy_mode: "sso" + maintenance_mode: "Disabled" + communication_status: "Down Reason: Failure" + active_slot: "1" + active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "46" + active_uptime_days: "4" + active_uptime_hours: "22" + active_uptime_minutes: "52" + active_major_release: "" + active_minor_release: "" + active_maintenance_release: "" + active_boot_directory: "bootdisk" + active_boot_file: "/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12;" + active_config_register: "0x2102" + standby_slot: "" + standby_software_state: "" + standby_uptime_years: "" + standby_uptime_weeks: "" + standby_uptime_days: "" + standby_uptime_hours: "" + standby_uptime_minutes: "" + standby_major_release: "" + standby_minor_release: "" + standby_maintenance_release: "" + standby_boot_directory: "" + standby_boot_file: "" + standby_config_register: "" + standby_status: "DISABLED" From 20d7d562269a89f5e170490bdb594ab5bc1d9def Mon Sep 17 00:00:00 2001 From: Micah Culpepper Date: Wed, 29 Apr 2020 14:07:04 -0500 Subject: [PATCH 019/412] New Template: Adds support for Cisco FTD and cisco_asa_ping (#654) --- templates/cisco_asa_ping.textfsm | 19 +++++++++++++++++++ templates/index | 3 ++- tests/cisco_asa/ping/cisco_asa_ping.raw | 4 ++++ tests/cisco_asa/ping/cisco_asa_ping.yml | 12 ++++++++++++ tests/cisco_ftd/ping/cisco_ftd_ping.raw | 4 ++++ tests/cisco_ftd/ping/cisco_ftd_ping.yml | 12 ++++++++++++ tests/test_index_order.py | 1 + 7 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 templates/cisco_asa_ping.textfsm create mode 100644 tests/cisco_asa/ping/cisco_asa_ping.raw create mode 100644 tests/cisco_asa/ping/cisco_asa_ping.yml create mode 100644 tests/cisco_ftd/ping/cisco_ftd_ping.raw create mode 100644 tests/cisco_ftd/ping/cisco_ftd_ping.yml diff --git a/templates/cisco_asa_ping.textfsm b/templates/cisco_asa_ping.textfsm new file mode 100644 index 0000000000..5830166e2f --- /dev/null +++ b/templates/cisco_asa_ping.textfsm @@ -0,0 +1,19 @@ +Value Required SENT_QTY (\d+) +Value Required SENT_TYPE (.*) +Value Required DESTINATION (\S+) +Value Required TIMEOUT (\d+) +Value Required RESPONSE_STREAM ([\.\!]+) +Value Required SUCCESS_PCT (\d+) +Value Required SUCCESS_QTY (\d+) +Value Required RTT_MIN (\d+) +Value Required RTT_AVG (\d+) +Value Required RTT_MAX (\d+) + + +Start + ^Type\s+escape\s+sequence\s+to\s+abort. + ^Sending\s+${SENT_QTY},\s+${SENT_TYPE}\s+to\s+${DESTINATION},\s+timeout\s+is\s+${TIMEOUT}\s+seconds: + ^${RESPONSE_STREAM} + ^Success\s+rate\s+is\s+${SUCCESS_PCT}\s+percent\s+\(${SUCCESS_QTY}/\d+\),\s+round-trip\s+min/avg/max\s+=\s+${RTT_MIN}/${RTT_AVG}/${RTT_MAX}\s+ms + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 51f70e3ebe..b357df9e05 100644 --- a/templates/index +++ b/templates/index @@ -136,8 +136,9 @@ cisco_asa_show_version.textfsm, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.textfsm, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_xlate.textfsm, .*, cisco_asa, sh[[ow]] x[[late]] cisco_asa_show_name.textfsm, .*, cisco_asa, sh[[ow]] nam[[e]] -cisco_asa_show_arp.textfsm, .*, cisco_asa, sh[[ow]] arp +cisco_asa_show_arp.textfsm, .*, cisco_(asa|ftd), sh[[ow]] arp cisco_asa_show_nat.textfsm, .*, cisco_asa, sh[[ow]] nat +cisco_asa_ping.textfsm, .*, cisco_(asa|ftd), ping 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]] diff --git a/tests/cisco_asa/ping/cisco_asa_ping.raw b/tests/cisco_asa/ping/cisco_asa_ping.raw new file mode 100644 index 0000000000..ccc133732d --- /dev/null +++ b/tests/cisco_asa/ping/cisco_asa_ping.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 192.168.10.45, timeout is 2 seconds: +!!!!! +Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms diff --git a/tests/cisco_asa/ping/cisco_asa_ping.yml b/tests/cisco_asa/ping/cisco_asa_ping.yml new file mode 100644 index 0000000000..9f44b9337c --- /dev/null +++ b/tests/cisco_asa/ping/cisco_asa_ping.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "192.168.10.45" + timeout: "2" + response_stream: "!!!!!" + success_pct: "100" + success_qty: "5" + rtt_min: "1" + rtt_avg: "2" + rtt_max: "10" diff --git a/tests/cisco_ftd/ping/cisco_ftd_ping.raw b/tests/cisco_ftd/ping/cisco_ftd_ping.raw new file mode 100644 index 0000000000..9f3b7f0768 --- /dev/null +++ b/tests/cisco_ftd/ping/cisco_ftd_ping.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 10.91.108.200, timeout is 2 seconds: +!!!!! +Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms diff --git a/tests/cisco_ftd/ping/cisco_ftd_ping.yml b/tests/cisco_ftd/ping/cisco_ftd_ping.yml new file mode 100644 index 0000000000..f60516b544 --- /dev/null +++ b/tests/cisco_ftd/ping/cisco_ftd_ping.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "10.91.108.200" + timeout: "2" + response_stream: "!!!!!" + success_pct: "100" + success_qty: "5" + rtt_min: "1" + rtt_avg: "1" + rtt_max: "1" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 8ac187f468..01dda63add 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -77,6 +77,7 @@ def test_index_ordering(): "checkpoint_gaia", "ciena_saos", "cisco_asa", + "cisco_ftd", "cisco_ios", "cisco_nxos", "cisco_s300", From 14b1566d38c915c0e4c23be48625386b4e02dae0 Mon Sep 17 00:00:00 2001 From: EricWu Date: Thu, 30 Apr 2020 06:03:09 +0800 Subject: [PATCH 020/412] New Template: hp_comware_display_ip_routing-table & hp_comware_display_device_manuinfo (#623) --- ...hp_comware_display_device_manuinfo.textfsm | 22 ++ ...p_comware_display_ip_routing-table.textfsm | 19 ++ templates/index | 2 + .../hp_comware_display_device_manuinfo.raw | 96 ++++++++ .../hp_comware_display_device_manuinfo.yml | 114 +++++++++ .../hp_comware_display_device_manuinfo1.raw | 39 ++++ .../hp_comware_display_device_manuinfo1.yml | 58 +++++ .../hp_comware_display_device_manuinfo2.raw | 66 ++++++ .../hp_comware_display_device_manuinfo2.yml | 122 ++++++++++ .../hp_comware_display_device_manuinfo3.raw | 22 ++ .../hp_comware_display_device_manuinfo3.yml | 26 +++ .../hp_comware_display_ip_routing-table.raw | 36 +++ .../hp_comware_display_ip_routing-table.yml | 219 ++++++++++++++++++ 13 files changed, 841 insertions(+) create mode 100644 templates/hp_comware_display_device_manuinfo.textfsm create mode 100644 templates/hp_comware_display_ip_routing-table.textfsm create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml create mode 100644 tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw create mode 100644 tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml diff --git a/templates/hp_comware_display_device_manuinfo.textfsm b/templates/hp_comware_display_device_manuinfo.textfsm new file mode 100644 index 0000000000..53c3494893 --- /dev/null +++ b/templates/hp_comware_display_device_manuinfo.textfsm @@ -0,0 +1,22 @@ +Value Filldown CHASSIS_ID (\d+) +Value Required SLOT_TYPE (Slot|Subslot|Fan|Power|Chassis) +Value SLOT_ID (\d+|self) +Value DEVICE_NAME (\S+) +Value DEVICE_SERIAL_NUMBER (\S+) +Value MANUFACTURING_DATE (\S+) +Value VENDOR_NAME (\S+) +Value MAC_ADDRESS (\S+) + + +Start + ^\s*Chassis\s+${CHASSIS_ID} + ^\s*${SLOT_TYPE}\s+${SLOT_ID} + ^\s*DEVICE_ID + ^\s*The\s+operation\s+is\s+not\s+supported\s+ -> Record Start + ^\s*DEVICE_NAME\s*:\s*${DEVICE_NAME} + ^\s*DEVICE_SERIAL_NUMBER\s*:\s*${DEVICE_SERIAL_NUMBER} + ^\s*MAC_ADDRESS\s*:\s*${MAC_ADDRESS} + ^\s*MANUFACTURING_DATE\s*:\s*${MANUFACTURING_DATE} + ^\s*VENDOR_NAME\s*:\s*${VENDOR_NAME} -> Record Start + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/hp_comware_display_ip_routing-table.textfsm b/templates/hp_comware_display_ip_routing-table.textfsm new file mode 100644 index 0000000000..b648cbcb57 --- /dev/null +++ b/templates/hp_comware_display_ip_routing-table.textfsm @@ -0,0 +1,19 @@ +Value Filldown NETWORK (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value Filldown MASK (\d{1,2}) +Value Filldown PROTOCAL (\w+) +Value Filldown DISTANCE (\d{1,3}) +Value Filldown METRIC (\d+) +Value Required NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value NEXTHOP_IF (\S+) + +Start + ^Destination\/Mask -> Routes + +Routes + ^${NETWORK}\/${MASK}\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + # for comware v7 ecmp + ^\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + # for comware v5 ecmp + ^\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index b357df9e05..3d81e76da1 100644 --- a/templates/index +++ b/templates/index @@ -339,6 +339,8 @@ fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]y hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] +hp_comware_display_ip_routing-table.textfsm, .*, hp_comware, di[[splay]] ip r[[outing-table]] +hp_comware_display_device_manuinfo.textfsm, .*, hp_comware, di[[splay]] dev[[ice]] m[[anuinfo]] hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw new file mode 100644 index 0000000000..6b879f130c --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw @@ -0,0 +1,96 @@ + + Chassis 1 +Chassis self + DEVICE_NAME : LS-12511-X-AC + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-355F + MANUFACTURING_DATE : 2014-06-13 + VENDOR_NAME : H3C + + Slot 0 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D46C + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + + Slot 2 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D4FC + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + +Fan 1 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Fan 2 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Power 1 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-06-10 + VENDOR_NAME : H3C + +Power 2 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-05-23 + VENDOR_NAME : H3C + + Chassis 2 +Chassis self + DEVICE_NAME : LS-12511-X-AC + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-355F + MANUFACTURING_DATE : 2014-06-13 + VENDOR_NAME : H3C + + Slot 0 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D46C + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + + Slot 2 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D4FC + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + +Fan 1 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Fan 2 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Power 1 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-06-10 + VENDOR_NAME : H3C + +Power 2 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-05-23 + VENDOR_NAME : H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml new file mode 100644 index 0000000000..65c777d2f9 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - chassis_id: "1" + slot_type: "Chassis" + slot_id: "self" + device_name: "LS-12511-X-AC" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-13" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-355F" + - chassis_id: "1" + slot_type: "Slot" + slot_id: "0" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D46C" + - chassis_id: "1" + slot_type: "Slot" + slot_id: "2" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D4FC" + - chassis_id: "1" + slot_type: "Fan" + slot_id: "1" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "1" + slot_type: "Fan" + slot_id: "2" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "1" + slot_type: "Power" + slot_id: "1" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-10" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "1" + slot_type: "Power" + slot_id: "2" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-23" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "2" + slot_type: "Chassis" + slot_id: "self" + device_name: "LS-12511-X-AC" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-13" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-355F" + - chassis_id: "2" + slot_type: "Slot" + slot_id: "0" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D46C" + - chassis_id: "2" + slot_type: "Slot" + slot_id: "2" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D4FC" + - chassis_id: "2" + slot_type: "Fan" + slot_id: "1" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "2" + slot_type: "Fan" + slot_id: "2" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "2" + slot_type: "Power" + slot_id: "1" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-10" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "2" + slot_type: "Power" + slot_id: "2" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-23" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw new file mode 100644 index 0000000000..b2c22fa9fe --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw @@ -0,0 +1,39 @@ + +Slot 0: +DEVICE_NAME : SPC-GP48L +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MAC_ADDRESS : NONE +MANUFACTURING_DATE : 2014-01-01 +VENDOR_NAME : H3C + +Slot 1: +DEVICE_NAME : SPC-GT48L +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MAC_ADDRESS : NONE +MANUFACTURING_DATE : 2014-04-10 +VENDOR_NAME : H3C + + +DEVICE_NAME:Simware +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MAC_ADDRESS:54-69-d3-24-04-00 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C +Subslot 1: +The operation is not supported on the specified slot or subslot. +Subslot 2: +The operation is not supported on the specified slot or subslot. +Subslot 3: +DEVICE_NAME:Simware-test-data +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MAC_ADDRESS:54-69-d3-24-04-00 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C +Subslot 4: +The operation is not supported on the specified slot or subslot. +Power 1: +DEVICE_ID:Power ID:1 +DEVICE_NAME:Simware +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml new file mode 100644 index 0000000000..856dfe5d19 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "0" + device_name: "SPC-GP48L" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-01-01" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "SPC-GT48L" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-04-10" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "3" + device_name: "Simware-test-data" + device_serial_number: "DPPMWWB76" + manufacturing_date: "2014-7-16" + vendor_name: "H3C" + mac_address: "54-69-d3-24-04-00" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "4" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "Simware" + device_serial_number: "DPPMWWB76" + manufacturing_date: "2014-7-16" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw new file mode 100644 index 0000000000..e9d8789061 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw @@ -0,0 +1,66 @@ + +Slot 1: +DEVICE_NAME : S5500-52C-EI +DEVICE_SERIAL_NUMBER : 11111111111111111111 +MAC_ADDRESS : AAAA-AAAA-1111 +MANUFACTURING_DATE : 2010-00-00 +VENDOR_NAME : H3C + + + Slot 1 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111112222 +MAC_ADDRESS : AAAA-AAAA-2222 +MANUFACTURING_DATE : 2018-07-12 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111113333 +MANUFACTURING_DATE : 2018-07-14 +VENDOR_NAME : H3C + + + Slot 1 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111114444 +MAC_ADDRESS : AAAA-AAAA-222F +MANUFACTURING_DATE : 2017-07-28 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111115555 +MANUFACTURING_DATE : 2016-08-29 +VENDOR_NAME : H3C +Power 2: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111117777 +MANUFACTURING_DATE : 2015-05-07 +VENDOR_NAME : H3C + Slot 2 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111118888 +MAC_ADDRESS : AAAA-AAAA-222C +MANUFACTURING_DATE : 2017-07-25 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111119999 +MANUFACTURING_DATE : 2016-08-29 +VENDOR_NAME : H3C +Power 2: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MANUFACTURING_DATE : 2015-05-07 +VENDOR_NAME : H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml new file mode 100644 index 0000000000..6d585e3feb --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5500-52C-EI" + device_serial_number: "11111111111111111111" + manufacturing_date: "2010-00-00" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-1111" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111112222" + manufacturing_date: "2018-07-12" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-2222" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111113333" + manufacturing_date: "2018-07-14" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111114444" + manufacturing_date: "2017-07-28" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-222F" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111115555" + manufacturing_date: "2016-08-29" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "2" + device_name: "LSPM2150A" + device_serial_number: "11111111111111117777" + manufacturing_date: "2015-05-07" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Slot" + slot_id: "2" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111118888" + manufacturing_date: "2017-07-25" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-222C" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111119999" + manufacturing_date: "2016-08-29" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "2" + device_name: "LSPM2150A" + device_serial_number: "11111111111111110000" + manufacturing_date: "2015-05-07" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw new file mode 100644 index 0000000000..d49c140155 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw @@ -0,0 +1,22 @@ + +Slot 0: +DEVICE_NAME:RT-FIP-240 +DEVICE_SERIAL_NUMBER:11111111111111110000 +MAC_ADDRESS:AAAA-AAAA-7644 +MANUFACTURING_DATE:2015-10-31 +VENDOR_NAME:H3C + +Subslot 1: +DEVICE_NAME:HIM-CL1P +DEVICE_SERIAL_NUMBER:11111111111111110000 +MAC_ADDRESS:NONE +MANUFACTURING_DATE:2014-6-10 +VENDOR_NAME:H3C + + +Slot 2: +DEVICE_NAME:RT-FIP-240 +DEVICE_SERIAL_NUMBER:210231A2MGB15A000075 +MAC_ADDRESS:AAAA-AAAA-766E +MANUFACTURING_DATE:2015-10-31 +VENDOR_NAME:H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml new file mode 100644 index 0000000000..97ffaa17e8 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "0" + device_name: "RT-FIP-240" + device_serial_number: "11111111111111110000" + manufacturing_date: "2015-10-31" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-7644" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "1" + device_name: "HIM-CL1P" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-6-10" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Slot" + slot_id: "2" + device_name: "RT-FIP-240" + device_serial_number: "210231A2MGB15A000075" + manufacturing_date: "2015-10-31" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-766E" diff --git a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw new file mode 100644 index 0000000000..9238f59c39 --- /dev/null +++ b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw @@ -0,0 +1,36 @@ +dis ip routing-table + +Destinations : 17604 Routes : 28601 + +Destination/Mask Proto Pre Cost NextHop Interface +0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 +9.72.47.0/24 OSPF 150 1 172.16.43.2 Vlan1600 + 172.16.43.6 Vlan1601 +10.1.0.0/16 OSPF 10 14 172.16.43.2 Vlan1600 + 172.16.43.6 Vlan1601 +10.1.14.0/24 Static 60 0 172.16.39.2 Vlan1920 +0.0.0.0/0 Static 60 0 192.168.56.1 GE0/1 +1.1.1.0/24 Static 60 0 192.168.56.1 GE0/1 + 192.168.56.2 GE0/2 + 192.168.56.3 GE0/3 +127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 +127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 +127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 +127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 +192.168.56.0/24 Direct 0 0 192.168.56.101 GE0/1 +192.168.56.0/32 Direct 0 0 192.168.56.101 GE0/1 +192.168.56.101/32 Direct 0 0 127.0.0.1 InLoop0 +192.168.56.255/32 Direct 0 0 192.168.56.101 GE0/1 +224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0 +224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0 +255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 +9.72.47.0/24 BGP 130 0 172.16.42.221 GE0/0/9 + BGP 130 0 172.16.42.229 GE0/0/10 +10.1.0.0/16 OSPF 10 13 172.16.43.82 GE0/0/45 +10.1.14.0/24 O_ASE 150 1 172.16.43.1 RAGG40 +10.1.208.0/20 O_ASE 150 1 172.16.43.82 GE0/0/45 +10.210.0.0/16 BGP 130 0 10.6.12.106 GE9/1/3.1132 +10.210.4.0/24 BGP 130 0 172.16.42.221 GE0/0/9 + BGP 130 0 172.16.42.229 GE0/0/10 +10.210.4.201/32 O_ASE 150 1 172.16.43.10 RAGG44 +10.211.0.0/16 BGP 130 0 10.6.12.86 GE9/1/1.1114 diff --git a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml new file mode 100644 index 0000000000..dfd6a64cb7 --- /dev/null +++ b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml @@ -0,0 +1,219 @@ +--- +parsed_sample: + - network: "0.0.0.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "9.72.47.0" + mask: "24" + protocal: "OSPF" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.2" + nexthop_if: "Vlan1600" + - network: "9.72.47.0" + mask: "24" + protocal: "OSPF" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.6" + nexthop_if: "Vlan1601" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "14" + nexthop_ip: "172.16.43.2" + nexthop_if: "Vlan1600" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "14" + nexthop_ip: "172.16.43.6" + nexthop_if: "Vlan1601" + - network: "10.1.14.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "172.16.39.2" + nexthop_if: "Vlan1920" + - network: "0.0.0.0" + mask: "0" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.1" + nexthop_if: "GE0/1" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.1" + nexthop_if: "GE0/1" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.2" + nexthop_if: "GE0/2" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.3" + nexthop_if: "GE0/3" + - network: "127.0.0.0" + mask: "8" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.0.0.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.0.0.1" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.255.255.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "192.168.56.0" + mask: "24" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "192.168.56.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "192.168.56.101" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "192.168.56.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "224.0.0.0" + mask: "4" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "0.0.0.0" + nexthop_if: "NULL0" + - network: "224.0.0.0" + mask: "24" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "0.0.0.0" + nexthop_if: "NULL0" + - network: "255.255.255.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "9.72.47.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.221" + nexthop_if: "GE0/0/9" + - network: "9.72.47.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.229" + nexthop_if: "GE0/0/10" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "13" + nexthop_ip: "172.16.43.82" + nexthop_if: "GE0/0/45" + - network: "10.1.14.0" + mask: "24" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.1" + nexthop_if: "RAGG40" + - network: "10.1.208.0" + mask: "20" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.82" + nexthop_if: "GE0/0/45" + - network: "10.210.0.0" + mask: "16" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "10.6.12.106" + nexthop_if: "GE9/1/3.1132" + - network: "10.210.4.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.221" + nexthop_if: "GE0/0/9" + - network: "10.210.4.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.229" + nexthop_if: "GE0/0/10" + - network: "10.210.4.201" + mask: "32" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.10" + nexthop_if: "RAGG44" + - network: "10.211.0.0" + mask: "16" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "10.6.12.86" + nexthop_if: "GE9/1/1.1114" From 49dd72bc3d2aa6d60583a70ded6e0896dbba0d12 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 30 Apr 2020 16:45:08 -0600 Subject: [PATCH 021/412] BugFix: cisco_ios_show_ip_interface - Account for Internet address that is negotiated (#670) --- templates/cisco_ios_show_ip_interface.textfsm | 1 + .../cisco_ios_show_ip_interface5.raw | 4 ++++ .../cisco_ios_show_ip_interface5.yml | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml diff --git a/templates/cisco_ios_show_ip_interface.textfsm b/templates/cisco_ios_show_ip_interface.textfsm index 31cc37548d..b3bc1803e4 100644 --- a/templates/cisco_ios_show_ip_interface.textfsm +++ b/templates/cisco_ios_show_ip_interface.textfsm @@ -14,6 +14,7 @@ Start ^\S -> Continue.Record ^${INTF}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ ^\s+Internet\s+address\s+is\s+${IPADDR}/?${MASK}\s*$$ + ^\s+Internet\s+address\s+will\s+be\s+negotiated ^\s+Secondary\s+address\s+${IPADDR}/?${MASK}\s*$$ ^.+VPN\s+Routing/Forwarding\s+"${VRF}" ^\s+MTU\s+is\s+${MTU}\s+bytes diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw new file mode 100644 index 0000000000..2e356fbf49 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw @@ -0,0 +1,4 @@ +Tunnel500 is up, line protocol is down + Internet address will be negotiated using IKEv2 Modeconfig + Broadcast address is 255.255.255.255 + MTU is 1456 bytes diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml new file mode 100644 index 0000000000..1b9148aea7 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - intf: "Tunnel500" + link_status: "up" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "1456" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" From 1331e0a0a51572543412dc6ba2b9448ddbc5619d Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Fri, 1 May 2020 13:38:56 -0700 Subject: [PATCH 022/412] Remove "terminal" dependency (#672) * Eliminate terminal dependency * Fix imports to use only textfsm >=1.1 --- lib/ntc_templates/parse.py | 6 +----- setup.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index b03c524936..33e1466a5b 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -1,10 +1,6 @@ """ntc_templates.parse.""" import os - -try: - from textfsm import clitable -except ImportError: - import clitable +from textfsm import clitable def _get_template_dir(): diff --git a/setup.py b/setup.py index 4625d1d9c3..467382e0df 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ "author": "network.toCode()", "author_email": "info@networktocode.com", "url": "https://github.com/networktocode/ntc-templates", - "install_requires": ["textfsm", "terminal"], + "install_requires": ["textfsm>=1.1.0"], "extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]}, "classifiers": [ "Development Status :: 4 - Beta", From dc02e7d13682310f8642e4af4cb07e0b71d39dec Mon Sep 17 00:00:00 2001 From: Marcus Butler <33135168+mtbutler07@users.noreply.github.com> Date: Fri, 1 May 2020 15:58:39 -0500 Subject: [PATCH 023/412] Enhancement: IOS Show Interface - Add CRC and Abort captures (#673) Thanks @mtbutler07 --- templates/cisco_ios_show_interfaces.textfsm | 5 +- .../cisco_ios_show_interfaces.yml | 18 ++- .../cisco_ios_show_interfaces2.yml | 112 ++++++++++++++++++ .../cisco_ios_show_interfaces3.yml | 38 +++++- 4 files changed, 166 insertions(+), 7 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index a01f22e8cc..589779913b 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -21,6 +21,8 @@ Value OUTPUT_RATE (\d+) Value INPUT_PACKETS (\d+) Value OUTPUT_PACKETS (\d+) Value INPUT_ERRORS (\d+) +Value CRC (\d+) +Value ABORT (\d+) Value OUTPUT_ERRORS (\d+) Start @@ -38,7 +40,8 @@ Start ^.*input\s+rate\s+${INPUT_RATE}.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ - ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+${ABORT}\s+abort\s*$$ ^\s+${OUTPUT_PACKETS}\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns\s*$$ ^\s+${OUTPUT_ERRORS}\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 94c59902b1..5e9480ecbd 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "324" input_rate: "0" interface: "GigabitEthernet0/0" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "83" input_rate: "0" interface: "GigabitEthernet0/1" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8677" input_rate: "0" interface: "GigabitEthernet0/2" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8638" input_rate: "0" interface: "GigabitEthernet0/3" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8627" input_rate: "0" interface: "GigabitEthernet1/0" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherChannel" input_errors: "0" + abort: "" + crc: "0" input_packets: "85" input_rate: "0" interface: "Port-channel1" @@ -152,7 +164,9 @@ parsed_sample: duplex: "" encapsulation: "LOOPBACK" hardware_type: "Loopback" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Loopback0" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Ethernet SVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "Vlan1" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 66a60a8fee..3d742e1282 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "37453340" input_rate: "0" interface: "Vlan1" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "3772" input_rate: "0" interface: "Vlan50" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "6313297" input_rate: "2000" interface: "Vlan100" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "7881502" input_rate: "0" interface: "Vlan254" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "8647579827" input_rate: "182000" interface: "FastEthernet1/0/1" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "86697408651" input_rate: "38882000" interface: "FastEthernet1/0/2" @@ -153,6 +165,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "233361378" input_rate: "0" interface: "FastEthernet1/0/3" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/4" @@ -201,6 +217,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/5" @@ -225,6 +243,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/6" @@ -249,6 +269,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/7" @@ -273,6 +295,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/8" @@ -297,6 +321,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "86293954347" input_rate: "38871000" interface: "FastEthernet1/0/9" @@ -321,6 +347,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "85011546" input_rate: "0" interface: "FastEthernet1/0/10" @@ -345,6 +373,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "13503663" input_rate: "0" interface: "FastEthernet1/0/11" @@ -369,6 +399,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "566684" input_rate: "0" interface: "FastEthernet1/0/12" @@ -393,6 +425,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "5093298" input_rate: "0" interface: "FastEthernet1/0/13" @@ -417,6 +451,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "4381776" input_rate: "0" interface: "FastEthernet1/0/14" @@ -441,6 +477,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "6095906" input_rate: "0" interface: "FastEthernet1/0/15" @@ -465,6 +503,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "3048741" input_rate: "0" interface: "FastEthernet1/0/16" @@ -489,6 +529,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "515815" input_rate: "0" interface: "FastEthernet1/0/17" @@ -513,6 +555,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "56335" input_rate: "0" interface: "FastEthernet1/0/18" @@ -537,6 +581,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2154038" input_rate: "0" interface: "FastEthernet1/0/19" @@ -561,6 +607,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2238092" input_rate: "0" interface: "FastEthernet1/0/20" @@ -585,6 +633,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "4942593" input_rate: "0" interface: "FastEthernet1/0/21" @@ -609,6 +659,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "6201152" input_rate: "0" interface: "FastEthernet1/0/22" @@ -633,6 +685,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/23" @@ -657,6 +711,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2397801" input_rate: "0" interface: "FastEthernet1/0/24" @@ -681,6 +737,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/25" @@ -705,6 +763,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/26" @@ -729,6 +789,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "288816" input_rate: "0" interface: "FastEthernet1/0/27" @@ -753,6 +815,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "2" + abort: "" + crc: "1" input_packets: "295313" input_rate: "0" interface: "FastEthernet1/0/28" @@ -777,6 +841,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "28898" + abort: "" + crc: "14167" input_packets: "39214781" input_rate: "1000" interface: "FastEthernet1/0/29" @@ -801,6 +867,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "4811284" input_rate: "0" interface: "FastEthernet1/0/30" @@ -825,6 +893,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2255624" input_rate: "0" interface: "FastEthernet1/0/31" @@ -849,6 +919,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "5743877" input_rate: "0" interface: "FastEthernet1/0/32" @@ -873,6 +945,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "11086568" input_rate: "0" interface: "FastEthernet1/0/33" @@ -897,6 +971,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "1071483" input_rate: "0" interface: "FastEthernet1/0/34" @@ -921,6 +997,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "252774135" input_rate: "3000" interface: "FastEthernet1/0/35" @@ -945,6 +1023,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "30561744" input_rate: "0" interface: "FastEthernet1/0/36" @@ -969,6 +1049,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "23" input_rate: "0" interface: "FastEthernet1/0/37" @@ -993,6 +1075,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/38" @@ -1017,6 +1101,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/39" @@ -1041,6 +1127,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/40" @@ -1065,6 +1153,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/41" @@ -1089,6 +1179,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/42" @@ -1113,6 +1205,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "33944" input_rate: "0" interface: "FastEthernet1/0/43" @@ -1137,6 +1231,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/44" @@ -1161,6 +1257,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "1103" input_rate: "0" interface: "FastEthernet1/0/45" @@ -1185,6 +1283,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/46" @@ -1209,6 +1309,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/47" @@ -1233,6 +1335,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "8407299374" input_rate: "180000" interface: "FastEthernet1/0/48" @@ -1257,6 +1361,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/1" @@ -1281,6 +1387,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/2" @@ -1305,6 +1413,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/3" @@ -1329,6 +1439,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/4" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index fc7f6469a8..d06de4f081 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "338297234" input_rate: "95000" interface: "GigabitEthernet0/0" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.6" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.44" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.188" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.666" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "MV96340 Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet0/1" @@ -153,6 +165,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "FastEthernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "" input_rate: "96000" interface: "FastEthernet0/1/0" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "FastEthernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "FastEthernet0/1/0.50" @@ -201,6 +217,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "FastEthernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "" input_rate: "0" interface: "FastEthernet0/1/1" @@ -224,7 +242,9 @@ parsed_sample: duplex: "" encapsulation: "LOOPBACK" hardware_type: "Loopback" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "2292" input_rate: "0" interface: "Loopback0" @@ -248,7 +268,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel0" @@ -272,7 +294,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel1" @@ -296,7 +320,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel2" @@ -320,7 +346,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel3" From 311bd9ef2266f54059a0b8b7329982bc91ef59f2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 3 May 2020 08:18:25 -0600 Subject: [PATCH 024/412] BugFix: arista_eos_show_ip_route: Accounting for new data for WARNING output & capture ecmp routes (#669) --- templates/arista_eos_show_ip_route.textfsm | 4 ++- .../arista_eos_show_ip_route3.raw | 16 ++++++++++ .../arista_eos_show_ip_route3.yml | 29 +++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml diff --git a/templates/arista_eos_show_ip_route.textfsm b/templates/arista_eos_show_ip_route.textfsm index 5f868edd52..9123d6f09d 100644 --- a/templates/arista_eos_show_ip_route.textfsm +++ b/templates/arista_eos_show_ip_route.textfsm @@ -10,9 +10,11 @@ Value INTERFACE (\S+) Start ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record - ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} + ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} -> Record ^VRF\s+name:\s+${VRF}\s*$$ ^VRF:\s+${VRF}\s*$$ + ^WARNING + ^kernel ^Codes: # Match for codes ^\s+\S+\s+-\s+\S+ diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw new file mode 100644 index 0000000000..b86ffdaca5 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw @@ -0,0 +1,16 @@ +VRF name: default +WARNING: Some of the routes are not programmed in +kernel, and they are marked with '%'. +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I L1 - ISIS level 1, I L2 - ISIS level 2, + O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route, V - VXLAN Control Service + +Gateway of last resort: + O E1 0.0.0.0/0 [110/21] via 172.83.43.48, Vlan55 + via 172.83.43.50, Vlan65 + + S 10.1.26.0/24 [1/0] via 142.54.229.92, Vlan2503 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml new file mode 100644 index 0000000000..2cda5b6c28 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "O E1" + network: "0.0.0.0" + mask: "0" + distance: "110" + metric: "21" + direct: "" + next_hop: "172.83.43.48" + interface: "Vlan55" + - vrf: "default" + protocol: "O E1" + network: "0.0.0.0" + mask: "0" + distance: "110" + metric: "21" + direct: "" + next_hop: "172.83.43.50" + interface: "Vlan65" + - vrf: "default" + protocol: "S" + network: "10.1.26.0" + mask: "24" + distance: "1" + metric: "0" + direct: "" + next_hop: "142.54.229.92" + interface: "Vlan2503" From 9821acf8471bed02c40deb55d5567f42bc5e6f3e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 5 May 2020 07:10:49 -0600 Subject: [PATCH 025/412] BugFix: (IOS) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities (#684) --- ...isco_ios_show_cdp_neighbors_detail.textfsm | 8 ++++--- .../cisco_ios_show_cdp_neighbors_detail2.raw | 23 +++++++++++++++++++ .../cisco_ios_show_cdp_neighbors_detail2.yml | 10 ++++++++ 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw create mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm b/templates/cisco_ios_show_cdp_neighbors_detail.textfsm index bf4361cb53..95c72275df 100644 --- a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm +++ b/templates/cisco_ios_show_cdp_neighbors_detail.textfsm @@ -4,12 +4,13 @@ Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value SOFTWARE_VERSION (.*$) -Value CAPABILITIES (.*) +Value CAPABILITIES (.+?) Start ^Device ID: ${DESTINATION_HOST} ^Entry address\(es\)\s*:\s* -> ParseIP - ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}\s+$$ + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion # Capture time-stamp if vty line has command time-stamping turned on @@ -18,7 +19,8 @@ Start ParseIP ^.*IP address: ${MANAGEMENT_IP} -> Start - ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}\s+$$ -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}$$ -> Start ^.* -> Start GetVersion diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw new file mode 100644 index 0000000000..20e1024af8 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw @@ -0,0 +1,23 @@ +Device ID: switchxxxxx +Entry address(es): + IP address: 1.1.1.1 +Platform: cisco WS-C3560X-24P, Capabilities: Switch IGMP +Interface: GigabitEthernet0/3, Port ID (outgoing port): GigabitEthernet0/8 +Holdtime : 154 sec + +Version : +Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE10, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2015 by Cisco Systems, Inc. +Compiled Wed 11-Feb-15 11:28 by prod_rel_team + +advertisement version: 2 +Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF00000000000000C88BC41880FF0000 +VTP Management Domain: '' +Native VLAN: 1 +Duplex: full +Power Available TLV: + + Power request id: 0, Power management id: 1, Power available: 0, Power management level: -1 +Management address(es): + IP address: 1.1.1.1 diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml new file mode 100644 index 0000000000..a41866de2c --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - destination_host: "switchxxxxx" + management_ip: "1.1.1.1" + platform: "cisco WS-C3560X-24P" + remote_port: "GigabitEthernet0/8" + local_port: "GigabitEthernet0/3" + software_version: "Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M),\ + \ Version 12.2(55)SE10, RELEASE SOFTWARE (fc2)" + capabilities: "Switch IGMP" From 05f2ed7bc02d4ec8dbb640f6e901a163fea22d79 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Tue, 5 May 2020 22:18:00 +0200 Subject: [PATCH 026/412] New Template: hp_procurve_show_lldp_info_remote-device_detail.textfsm --- ...how_lldp_info_remote-device_detail.textfsm | 52 +++++ templates/index | 1 + ...ve_show_lldp_info_remote-device_detail.raw | 183 ++++++++++++++++++ ...ve_show_lldp_info_remote-device_detail.yml | 98 ++++++++++ 4 files changed, 334 insertions(+) create mode 100644 templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm create mode 100644 tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw create mode 100644 tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml diff --git a/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm b/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm new file mode 100644 index 0000000000..8d9cbe51ec --- /dev/null +++ b/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm @@ -0,0 +1,52 @@ +Value Required LOCAL_PORT (\S+) +Value NEIGHBOR_CHASSIS_TYPE (\S+) +Value NEIGHBOR_CHASSIS_ID ([a-f0-9]{6}-[a-f0-9]{6}|(?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value PORT_TYPE (\S+) +Value NEIGHBOR_PORTID (.*?) +Value NEIGHBOR_SYSNAME (.*?) +Value SYSTEM_DESCR (.*?) +Value PORT_DESCR (\S+|.*?) +Value PVID (\d+|.*?) +Value SYSTEM_CAPABILITIES_SUPPORTED (.*?) +Value SYSTEM_CAPABILITIES_ENABLED (.*?) +Value REMOTE_MANAGEMENT_ADDRESS (\S+|.*?) + +Start + ^\s*$$ + ^\s*LLDP\sRemote\sDevice\sInformation\sDetail -> LLDP + ^. -> Error + +LLDP + ^\s+Local\sPort\s+:\s${LOCAL_PORT}\s*$$ + ^\s+ChassisType\s+:\s${NEIGHBOR_CHASSIS_TYPE}\s*$$ + ^\s+ChassisId\s+:\s${NEIGHBOR_CHASSIS_ID}\s*$$ + ^\s+PortType\s+:\s${PORT_TYPE}\s*$$ + ^\s+PortId\s+:\s${NEIGHBOR_PORTID}\s*$$ + ^\s+SysName\s+:\s${NEIGHBOR_SYSNAME}\s*$$ + ^\s+System\sDescr\s:\s${SYSTEM_DESCR}\s*$$ + ^\s+PortDescr\s+:\s${PORT_DESCR}\s*$$ + ^\s+Pvid\s+:\s${PVID}\s*$$ + ^\s+System\s+Capabilities\s+Supported\s+:\s${SYSTEM_CAPABILITIES_SUPPORTED}\s*$$ + ^\s+System\s+Capabilities\s+Enabled\s+:\s${SYSTEM_CAPABILITIES_ENABLED}\s*$$ + ^\s+Remote\s+Management\s+Address\s*$$ + ^\s+Type.*$$ + ^\s+Address\s:\s${REMOTE_MANAGEMENT_ADDRESS} + ^\s+Poe\s+Plus\s+Information\s+Detail\s*$$ + ^\s+Poe\s+Device\s+Type.* + ^\s+Power\s+Source.* + ^\s+Power\s+Priority.* + ^\s+PD\s+Request\s+Power\s+Value.* + ^\s+PD\s+Requested\s+Power\s+Value.* + ^\s+Requested\s+Power\s+Value.* + ^\s+Actual\s+Power\s+Value.* + ^\s+PSE\s+Allocated\s+Power\s+Value.* + ^\s+MED\sInformation\sDetail\s*$$ + ^\s+EndpointClass.* + ^\s+Poe\s+Device\s+Type.* + ^\s+Power\s+Requested.* + ^\s+Power\s+Source.* + ^\s+Power\s+Priority.* + ^\s*$$ + ^\S+\#\s*$$ -> Record + ^\s*-*$$ -> Record + ^. -> Error diff --git a/templates/index b/templates/index index 3d81e76da1..12e049e690 100644 --- a/templates/index +++ b/templates/index @@ -347,6 +347,7 @@ hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[r hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] +hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] diff --git a/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw new file mode 100644 index 0000000000..b6030a5ddb --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw @@ -0,0 +1,183 @@ + + LLDP Remote Device Information Detail + + Local Port : 1 + ChassisType : mac-address + ChassisId : 3821c7-c1cd00 + PortType : local + PortId : 1 + SysName : 65432p-swi006-abcd-srvroom-4asd + System Descr : Aruba JL357A 2540-48G-PoE+-4SFP+ Switch, revision YC.16.0... + PortDescr : 1 + Pvid : 0 + + System Capabilities Supported : bridge, router + System Capabilities Enabled : bridge + + Remote Management Address + Type : ipv4 + Address : 192.168.130.100 + + Poe Plus Information Detail + + Poe Device Type : Type2 PSE + Power Source : Unknown + Power Priority : Unknown + PD Requested Power Value : 0.0 Watts + PSE Allocated Power Value : 0.0 Watts + +------------------------------------------------------------------------------ + Local Port : 3 + ChassisType : mac-address + ChassisId : 3ce1a1-2218f0 + PortType : mac-address + PortId : 3c e1 a1 22 18 f0 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 7 + ChassisType : mac-address + ChassisId : bcf310-1f8b40 + PortType : interface-name + PortId : mgt0 + SysName : AH-cust-AP21 + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : bridge, wlan-access-point + System Capabilities Enabled : bridge, wlan-access-point + + Remote Management Address + Type : ipv4 + Address : 192.168.100.55 + + MED Information Detail + EndpointClass :Class1 + Poe Device Type :PD + Power Requested :17.5 W + Power Source :From PSE + Power Priority :Critical + + Poe Plus Information Detail + + Poe Device Type : Type2 PD + Power Source : Unknown + Power Priority : Critical + PD Requested Power Value : 17.5 Watts + PSE Allocated Power Value : 17.5 Watts + +------------------------------------------------------------------------------ + Local Port : 25 + ChassisType : mac-address + ChassisId : d8cb8a-6d303c + PortType : mac-address + PortId : d8 cb 8a 6d 30 3c + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 29 + ChassisType : mac-address + ChassisId : 484d7e-e66c42 + PortType : mac-address + PortId : 48 4d 7e e6 6c 42 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 36 + ChassisType : mac-address + ChassisId : 603197-7aa548 + PortType : local + PortId : 1 + SysName : NAP203 + System Descr : ZLD 6.00(###.8)B1 (cannon) + PortDescr : UPLINK + Pvid : + + System Capabilities Supported : bridge, wlan-access-point, router + System Capabilities Enabled : bridge, wlan-access-point, router + + Remote Management Address + Type : ipv4 + Address : 192.168.100.50 + + Poe Plus Information Detail + + Poe Device Type : Type2 PD + Power Source : Unknown + Power Priority : High + PD Requested Power Value : 16.0 Watts + PSE Allocated Power Value : 16.0 Watts + +------------------------------------------------------------------------------ + Local Port : 37 + ChassisType : mac-address + ChassisId : b00cd1-359a98 + PortType : mac-address + PortId : b0 0c d1 35 9a 98 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 42 + ChassisType : mac-address + ChassisId : d8cb8a-894644 + PortType : mac-address + PortId : d8 cb 8a 89 46 44 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + + diff --git a/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml new file mode 100644 index 0000000000..90ea5ad185 --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - local_port: "1" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "3821c7-c1cd00" + neighbor_portid: "1" + neighbor_sysname: "65432p-swi006-abcd-srvroom-4asd" + port_descr: "1" + port_type: "local" + pvid: "0" + remote_management_address: "192.168.130.100" + system_capabilities_enabled: "bridge" + system_capabilities_supported: "bridge, router" + system_descr: "Aruba JL357A 2540-48G-PoE+-4SFP+ Switch, revision YC.16.0..." + - local_port: "3" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "3ce1a1-2218f0" + neighbor_portid: "3c e1 a1 22 18 f0" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "7" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "bcf310-1f8b40" + neighbor_portid: "mgt0" + neighbor_sysname: "AH-cust-AP21" + port_descr: "" + port_type: "interface-name" + pvid: "" + remote_management_address: "192.168.100.55" + system_capabilities_enabled: "bridge, wlan-access-point" + system_capabilities_supported: "bridge, wlan-access-point" + system_descr: "" + - local_port: "25" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "d8cb8a-6d303c" + neighbor_portid: "d8 cb 8a 6d 30 3c" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "29" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "484d7e-e66c42" + neighbor_portid: "48 4d 7e e6 6c 42" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "36" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "603197-7aa548" + neighbor_portid: "1" + neighbor_sysname: "NAP203" + port_descr: "UPLINK" + port_type: "local" + pvid: "" + remote_management_address: "192.168.100.50" + system_capabilities_enabled: "bridge, wlan-access-point, router" + system_capabilities_supported: "bridge, wlan-access-point, router" + system_descr: "ZLD 6.00(###.8)B1 (cannon)" + - local_port: "37" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "b00cd1-359a98" + neighbor_portid: "b0 0c d1 35 9a 98" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "42" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "d8cb8a-894644" + neighbor_portid: "d8 cb 8a 89 46 44" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" From 559d3340bf7e069f8c3235443ab8c388531a26d0 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Wed, 6 May 2020 03:39:18 +0200 Subject: [PATCH 027/412] New Template: hp_procurve_show_lldp_info_remote-device.textfsm --- ...curve_show_lldp_info_remote-device.textfsm | 20 +++++++++ templates/index | 1 + ..._procurve_show_lldp_info_remote-device.raw | 14 +++++++ ..._procurve_show_lldp_info_remote-device.yml | 42 +++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 templates/hp_procurve_show_lldp_info_remote-device.textfsm create mode 100644 tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw create mode 100644 tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml diff --git a/templates/hp_procurve_show_lldp_info_remote-device.textfsm b/templates/hp_procurve_show_lldp_info_remote-device.textfsm new file mode 100644 index 0000000000..d2c5e956a2 --- /dev/null +++ b/templates/hp_procurve_show_lldp_info_remote-device.textfsm @@ -0,0 +1,20 @@ +Value Required LOCAL_PORT (\S+) +Value NEIGHBOR_CHASSIS_ID ((?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value NEIGHBOR_PORTID ((?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value NEIGHBOR_DESCR (\S+|.*?) +Value NEIGHBOR_SYSNAME (\S+) + +Start + ^\s*LLDP\sRemote\sDevices\sInformation\s*$$ + ^\s+LocalPort\s|\sChassisId.*$$ + ^\s+-.* -> LLDP + ^\s*$$ + ^. -> Error + +LLDP + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s*$$ -> Record + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s+${NEIGHBOR_SYSNAME}\s*$$ -> Record + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s+${NEIGHBOR_DESCR}\s+${NEIGHBOR_SYSNAME}\s*$$ -> Record + ^\S+\#\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 12e049e690..dd393994f8 100644 --- a/templates/index +++ b/templates/index @@ -348,6 +348,7 @@ hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ +hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] diff --git a/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw new file mode 100644 index 0000000000..e0177c19c3 --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw @@ -0,0 +1,14 @@ + + LLDP Remote Devices Information + + LocalPort | ChassisId PortId PortDescr SysName + --------- + ------------------ ------------------ --------- ------------------ + 1 | 3821c7-c1cd00 1 1 65432p-swi006-g... + 3 | 3ce1a1-2218f0 3c e1 a1 22 18 f0 + 7 | bcf310-1f8b40 mgt0 AH-cust-AP21 + 25 | d8cb8a-6d303c d8 cb 8a 6d 30 3c + 29 | 484d7e-e66c42 48 4d 7e e6 6c 42 + 36 | 603197-7aa548 1 UPLINK NAP203 + 37 | b00cd1-359a98 b0 0c d1 35 9a 98 + 42 | d8cb8a-894644 d8 cb 8a 89 46 44 + diff --git a/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml new file mode 100644 index 0000000000..91ee37824c --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - local_port: "1" + neighbor_chassis_id: "3821c7-c1cd00" + neighbor_descr: "1" + neighbor_portid: "1" + neighbor_sysname: "65432p-swi006-g..." + - local_port: "3" + neighbor_chassis_id: "3ce1a1-2218f0" + neighbor_descr: "" + neighbor_portid: "3c e1 a1 22 18 f0" + neighbor_sysname: "" + - local_port: "7" + neighbor_chassis_id: "bcf310-1f8b40" + neighbor_descr: "" + neighbor_portid: "mgt0" + neighbor_sysname: "AH-cust-AP21" + - local_port: "25" + neighbor_chassis_id: "d8cb8a-6d303c" + neighbor_descr: "" + neighbor_portid: "d8 cb 8a 6d 30 3c" + neighbor_sysname: "" + - local_port: "29" + neighbor_chassis_id: "484d7e-e66c42" + neighbor_descr: "" + neighbor_portid: "48 4d 7e e6 6c 42" + neighbor_sysname: "" + - local_port: "36" + neighbor_chassis_id: "603197-7aa548" + neighbor_descr: "UPLINK" + neighbor_portid: "1" + neighbor_sysname: "NAP203" + - local_port: "37" + neighbor_chassis_id: "b00cd1-359a98" + neighbor_descr: "" + neighbor_portid: "b0 0c d1 35 9a 98" + neighbor_sysname: "" + - local_port: "42" + neighbor_chassis_id: "d8cb8a-894644" + neighbor_descr: "" + neighbor_portid: "d8 cb 8a 89 46 44" + neighbor_sysname: "" From 6791f81f4141c01542c8aa01c634ba8a1306fe30 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Wed, 6 May 2020 03:40:06 +0200 Subject: [PATCH 028/412] New Template: hp_procurve_show_trunks.textfsm --- templates/hp_procurve_show_trunks.textfsm | 18 ++++++++++++++++++ templates/index | 1 + .../show_trunks/hp_procurve_show_trunks.raw | 8 ++++++++ .../show_trunks/hp_procurve_show_trunks.yml | 12 ++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 templates/hp_procurve_show_trunks.textfsm create mode 100644 tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw create mode 100644 tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml diff --git a/templates/hp_procurve_show_trunks.textfsm b/templates/hp_procurve_show_trunks.textfsm new file mode 100644 index 0000000000..e984a81be4 --- /dev/null +++ b/templates/hp_procurve_show_trunks.textfsm @@ -0,0 +1,18 @@ +Value Required LOCAL_PORT (\S+) +Value INT_NAME (.*?) +Value INT_TYPE (.*?) +Value TRUNK (\S+) +Value TRUNK_TYPE (\S+) + +Start + ^\s*Load\sBalancing\sMethod.*$$ + ^\s+Port\s+|\s+Name\s+Type\s+|\s+Group\s+Type.*$$ + ^\s+-+\s+\+\s+\-+.* -> TRUNKS + ^\s*$$ + ^. -> Error + +TRUNKS + ^\s+${LOCAL_PORT}\s+\|\s${INT_NAME}\s+ ${INT_TYPE}\s+ \|\s${TRUNK}\s+${TRUNK_TYPE}.*$$ -> Record + ^\S+\#\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index dd393994f8..f928e66d9f 100644 --- a/templates/index +++ b/templates/index @@ -352,6 +352,7 @@ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[ hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] +hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] diff --git a/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw new file mode 100644 index 0000000000..4aa01317c3 --- /dev/null +++ b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw @@ -0,0 +1,8 @@ + + Load Balancing Method: L3-based (default) + + Port | Name Type | Group Type + ------ + -------------------------------- ---------- + ----- -------- + 49 | Uplink 65432p-swi001 1000LX | Trk2 LACP + 50 | Uplink 65432p-swi001 1000LX | Trk2 LACP + diff --git a/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml new file mode 100644 index 0000000000..9111943a22 --- /dev/null +++ b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - int_name: "Uplink 65432p-swi001" + int_type: "1000LX" + local_port: "49" + trunk: "Trk2" + trunk_type: "LACP" + - int_name: "Uplink 65432p-swi001" + int_type: "1000LX" + local_port: "50" + trunk: "Trk2" + trunk_type: "LACP" From 190cede69363f8ad76aca410fdc019d1f70ca2e2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 6 May 2020 21:25:46 -0600 Subject: [PATCH 029/412] Bugfix: Accounted for ASBR/ABR in cisco_ios_show_ip_ospf_database_router (#691) --- ..._ios_show_ip_ospf_database_network.textfsm | 5 +++ ...o_ios_show_ip_ospf_database_router.textfsm | 5 +++ ...isco_ios_show_ip_ospf_database_network.yml | 12 ++++++ ...abase_network_leading-spaces-truncated.yml | 12 ++++++ ...cisco_ios_show_ip_ospf_database_router.yml | 28 ++++++++++++ ..._show_ip_ospf_database_router_asbr_abr.raw | 43 +++++++++++++++++++ ..._show_ip_ospf_database_router_asbr_abr.yml | 40 +++++++++++++++++ ...tabase_router_leading-spaces-truncated.yml | 28 ++++++++++++ 8 files changed, 173 insertions(+) create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/templates/cisco_ios_show_ip_ospf_database_network.textfsm index 1c87bcadca..a359349632 100644 --- a/templates/cisco_ios_show_ip_ospf_database_network.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_network.textfsm @@ -10,6 +10,8 @@ Value Filldown LSA_SEQ_NUMBER (\S+) Value Filldown LSA_CHECKSUM (\S+) Value Filldown LSA_LENGTH (\d+) Value Filldown LSA_NETWORK_MASK (\S+) +Value Filldown LSA_ABR (Area\s+Border\s+Router) +Value Filldown LSA_ASBR (AS\s+Boundary\s+Router) Value LS_ATT_ROUTER (\d+\.\d+\.\d+\.\d+) Start @@ -27,6 +29,8 @@ LSAInfo ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} ^\s+Checksum:\s+${LSA_CHECKSUM} ^\s+Length:\s+${LSA_LENGTH} + ^\s+${LSA_ABR}$$ + ^\s+${LSA_ASBR}$$ ^\s+Network\s+Mask:\s+${LSA_NETWORK_MASK} -> LSAs ^\s*$$ ^. -> Error @@ -34,6 +38,7 @@ LSAInfo LSAs ^\s+Attached\s+Router:\s+${LS_ATT_ROUTER} -> Next.Record ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm index 7c030113cb..956c35ed4e 100644 --- a/templates/cisco_ios_show_ip_ospf_database_router.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -10,6 +10,8 @@ Value Filldown LSA_SEQ_NUMBER (\S+) Value Filldown LSA_CHECKSUM (\S+) Value Filldown LSA_LENGTH (\d+) Value Filldown LSA_NUM_LINKS (\d+) +Value Filldown LSA_ABR (Area\s+Border\s+Router) +Value Filldown LSA_ASBR (AS\s+Boundary\s+Router) Value LS_LINK_TYPE (.+?) Value LS_LINK_ID (\d+\.\d+\.\d+\.\d+) Value LS_LINK_DATA (\d+\.\d+\.\d+\.\d+) @@ -31,6 +33,8 @@ LSAInfo ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} ^\s+Checksum:\s+${LSA_CHECKSUM} ^\s+Length:\s+${LSA_LENGTH} + ^\s+${LSA_ABR}$$ + ^\s+${LSA_ASBR}$$ ^\s+Number\s+of\s+Links:\s+${LSA_NUM_LINKS} -> LSAs ^\s*$$ ^. -> Error @@ -42,6 +46,7 @@ LSAs ^\s+Number\s+of\s+MTID\s+metrics:\s+${LS_MTID_METRICS} ^\s+TOS\s+0\s+Metrics:\s+${LS_TOS_0_METRICS} -> Next.Record ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml index 92d575125c..dae9b460c8 100644 --- a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.1.1.1" - router_id: "100.1.1.1" process_id: "1" @@ -25,6 +27,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -38,6 +42,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -51,6 +57,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -64,6 +72,8 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -77,4 +87,6 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml index 92d575125c..dae9b460c8 100644 --- a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.1.1.1" - router_id: "100.1.1.1" process_id: "1" @@ -25,6 +27,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -38,6 +42,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -51,6 +57,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -64,6 +72,8 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -77,4 +87,6 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml index 394d48d18a..4742c4f57b 100644 --- a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.1.1.1" ls_link_data: "255.255.255.255" @@ -29,6 +31,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.1" @@ -46,6 +50,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.3.3.3" ls_link_data: "192.168.1.1" @@ -63,6 +69,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -80,6 +88,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.2.2.2" ls_link_data: "255.255.255.255" @@ -97,6 +107,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.1" @@ -114,6 +126,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.2" @@ -131,6 +145,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.3.3.3" ls_link_data: "255.255.255.255" @@ -148,6 +164,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.1" @@ -165,6 +183,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.1.1.1" ls_link_data: "192.168.1.2" @@ -182,6 +202,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -199,6 +221,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.4.4.4" ls_link_data: "255.255.255.255" @@ -216,6 +240,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.2" @@ -233,6 +259,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.2" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw new file mode 100644 index 0000000000..f1b5d8978c --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw @@ -0,0 +1,43 @@ +OSPF Router with ID (10.0.0.1) (Process ID 1) + + Router Link States (Area 0) + + LS age: 4 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 10.0.0.1 + Advertising Router: 10.0.0.1 + LS Seq Number: 80000006 + Checksum: 0x5DAB + Length: 36 + Area Border Router + AS Boundary Router + Number of Links: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 10.0.0.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + + Router Link States (Area 1) + + LS age: 4 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 10.0.0.2 + Advertising Router: 10.0.0.2 + LS Seq Number: 80000002 + Checksum: 0x7694 + Length: 36 + Area Border Router + AS Boundary Router + Number of Links: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 10.1.1.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml new file mode 100644 index 0000000000..48e318dd5f --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml @@ -0,0 +1,40 @@ +--- +parsed_sample: + - router_id: "10.0.0.1" + process_id: "1" + area: "0" + lsa_age: "4" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "10.0.0.1" + lsa_adv_router: "10.0.0.1" + lsa_seq_number: "80000006" + lsa_checksum: "0x5DAB" + lsa_length: "36" + lsa_num_links: "1" + lsa_abr: "Area Border Router" + lsa_asbr: "AS Boundary Router" + ls_link_type: "a Stub Network" + ls_link_id: "10.0.0.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "10.0.0.1" + process_id: "1" + area: "1" + lsa_age: "4" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "10.0.0.2" + lsa_adv_router: "10.0.0.2" + lsa_seq_number: "80000002" + lsa_checksum: "0x7694" + lsa_length: "36" + lsa_num_links: "1" + lsa_abr: "Area Border Router" + lsa_asbr: "AS Boundary Router" + ls_link_type: "a Stub Network" + ls_link_id: "10.1.1.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml index 394d48d18a..4742c4f57b 100644 --- a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.1.1.1" ls_link_data: "255.255.255.255" @@ -29,6 +31,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.1" @@ -46,6 +50,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.3.3.3" ls_link_data: "192.168.1.1" @@ -63,6 +69,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -80,6 +88,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.2.2.2" ls_link_data: "255.255.255.255" @@ -97,6 +107,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.1" @@ -114,6 +126,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.2" @@ -131,6 +145,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.3.3.3" ls_link_data: "255.255.255.255" @@ -148,6 +164,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.1" @@ -165,6 +183,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.1.1.1" ls_link_data: "192.168.1.2" @@ -182,6 +202,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -199,6 +221,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.4.4.4" ls_link_data: "255.255.255.255" @@ -216,6 +240,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.2" @@ -233,6 +259,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.2" From 445e4d5118b67f877bfd40ab1a7e7373f89ae2df Mon Sep 17 00:00:00 2001 From: Yakuza-UA <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 7 May 2020 16:52:47 +0100 Subject: [PATCH 030/412] New Template: cisco_ios_show_adjacency_detail (#692) --- .../cisco_ios_show_adjacency_detail.textfsm | 38 +++ templates/index | 1 + .../show_adjacency_detail_iosg1.raw | 41 +++ .../show_adjacency_detail_iosg1.yml | 26 ++ .../show_adjacency_detail_iosxe.raw | 240 ++++++++++++++++++ .../show_adjacency_detail_iosxe.yml | 148 +++++++++++ 6 files changed, 494 insertions(+) create mode 100644 templates/cisco_ios_show_adjacency_detail.textfsm create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml diff --git a/templates/cisco_ios_show_adjacency_detail.textfsm b/templates/cisco_ios_show_adjacency_detail.textfsm new file mode 100644 index 0000000000..586e16bfb2 --- /dev/null +++ b/templates/cisco_ios_show_adjacency_detail.textfsm @@ -0,0 +1,38 @@ +Value Required INTERFACE (\S+) +Value Required ENDPOINT (\S+) +Value List REWRITE_HEADERS ([A-F0-9]+) +Value RECURSIVE_INTERFACE (\S+) +Value RECURSIVE_NEXTHOP (\S+) + +Start + ^Protocol\s+Interface\s+Address\s*$$ -> Entries + +Entries + ^IP.*?\(\d+\).*?$$ -> Continue.Record + ^IP\s+${INTERFACE}\s+${ENDPOINT}\(\d+\).*?$$ + ^\s+connectionid + ^\s+\d+\s+packets,\s+\d+\s+bytes + ^\s+epoch\s+\d+ + ^\s+sourced\s+in\s+sev-epoch + ^\s+punt\s+\(rate-limited\)\s+packets + ^\s+empty\s+encap\s+string + ^\s+P2P-ADJ + ^\s+Encap\s+length\s+\d+ + ^\s+${REWRITE_HEADERS}$$ + ^\s+L2\s+destination\s+address + ^\s+Link-type\s+after\s+encap:\s+ + ^\s+Inject\s+p2mp\s+Multicast + ^\s+ARP + ^\s+Tun\s+endpt + ^\s+Next\s+chain\s+element: -> Chain + ^\s+CEF\s+expires: + ^\s+refresh: + ^\s+Epoch: + ^\s*$$ + ^. -> Error + +Chain + ^\s+IP\sadj\sout\sof\s${RECURSIVE_INTERFACE},\saddr\s${RECURSIVE_NEXTHOP}$$ -> Entries + ^\s+${RECURSIVE_INTERFACE} -> Entries + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index f928e66d9f..1086f1d2a9 100644 --- a/templates/index +++ b/templates/index @@ -168,6 +168,7 @@ cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] +cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw new file mode 100644 index 0000000000..a7077922e6 --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw @@ -0,0 +1,41 @@ +Protocol Interface Address +IP GigabitEthernet0/0/0 10.180.14.15(13) + 11676149172 packets, 4648006265878 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 78BC1AF1CA6100A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP GigabitEthernet0/0/0 227.0.0.0(3) + connectionid 1 + 4289975 packets, 322386841 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 01005E00000000A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Tunnel0 172.17.10.158(13) + 8174797 packets, 3597459493 bytes + epoch 0 + sourced in sev-epoch 8 + Encap length 28 + 4500000000000000FF2FC465C0A88CDB + D150D49120000800000186A0 + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/1, addr 192.168.140.1 +IP Tunnel0 227.0.0.0(3) (incomplete) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + punt (rate-limited) packets + Inject p2mp Multicast + Next chain element: + drop diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml new file mode 100644 index 0000000000..4b83c076ef --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/0" + endpoint: "10.180.14.15" + rewrite_headers: + - "78BC1AF1CA6100A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E00000000A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel0" + endpoint: "172.17.10.158" + rewrite_headers: + - "4500000000000000FF2FC465C0A88CDB" + - "D150D49120000800000186A0" + recursive_interface: "GigabitEthernet0/0/1" + recursive_nexthop: "192.168.140.1" + - interface: "Tunnel0" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "drop" + recursive_nexthop: "" diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw new file mode 100644 index 0000000000..c6f75a726a --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw @@ -0,0 +1,240 @@ +Protocol Interface Address +IP Vlan10 10.102.10.5(8) + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 000EB65D4EB0C80084D399460800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Vlan1801 10.180.102.195(8) + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 14 + Encap length 14 + 70695A4F201CC80084D399490800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP BDI445 192.0.2.21(12) + 203564970 packets, 94434660716 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 14 + 000C29BDD45A2CABEBC01DC30800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Tunnel10 172.17.10.225(13) + 53350544 packets, 23470143707 bytes + epoch 0 + sourced in sev-epoch 35 + Encap length 28 + 4500000000000000FF2F4C08C0A80067 + 2A20D48B20000800001A456E + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/2, addr 192.168.0.1 +IP Tunnel10 172.17.10.12(15) + 170956956 packets, 68065013365 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 28 + 4500000000000000FF2F71F12927C88E + 5C41EADA20000800001A456E + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/2, addr 41.39.200.141 +IP GigabitEthernet0/0/2 46.40.201.141(42) + 321323801 packets, 136336825775 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 14 + 244C07ED1BFE2CABEBC01D420800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 10.255.1.1(11) + 21160969 packets, 9329327344 bytes + epoch 0 + sourced in sev-epoch 433 + Encap length 14 + 40A6E8119FC72CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 10.255.1.250(8) + 145609 packets, 24959821 bytes + epoch 0 + sourced in sev-epoch 433 + Encap length 14 + 000C2963CBC22CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 227.0.0.0(3) + connectionid 1 + 1009546 packets, 74708967 bytes + epoch 0 + sourced in sev-epoch 2 + Encap length 14 + 01005E0000002CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Port-channel1.1835 10.255.0.13(24) + 19028387 packets, 2552719646 bytes + epoch 0 + sourced in sev-epoch 7 + Encap length 18 + E0CBBCBC0C982CABEB99E6D08100072B + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1835 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 7 + Encap length 18 + 01005E0000002CABEB99E6D08100072B + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Tunnel11 point2point(15) + 3777029 packets, 451109462 bytes + epoch 0 + sourced in sev-epoch 433 + empty encap string + P2P-ADJ + Next chain element: + IP adj out of Port-channel1.1835, addr 10.255.0.13 +IP GigabitEthernet0/0/2.200 10.255.200.106(8) + 1564016 packets, 950690451 bytes + epoch 0 + sourced in sev-epoch 398 + Encap length 18 + 00E04C6807772CABEB99E692810000C8 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP GigabitEthernet0/0/2.200 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 353 + Encap length 18 + 01005E0000002CABEB99E692810000C8 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Tunnel12 point2point(11) + 1223710 packets, 70068247 bytes + epoch 0 + sourced in sev-epoch 429 + empty encap string + P2P-ADJ + Next chain element: + IP adj out of Port-channel1.1835, addr 10.255.0.13 +IP Port-channel1.1837 10.255.0.21(12) + 65470 packets, 29854320 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + E0CBBCBC0C982CABEB99E6D08100072D + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1837 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 01005E0000002CABEB99E6D08100072D + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Port-channel1.1825 10.255.2.1(11) + 202942 packets, 38595865 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 40A6E8119FF72CABEB99E6D081000721 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1825 227.0.0.0(3) + connectionid 1 + 363345 packets, 28342885 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 01005E0000002CABEB99E6D081000721 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP GigabitEthernet0/0/0 10.180.14.15(13) + 11676149172 packets, 4648006265878 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 78BC1AF1CA6100A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP GigabitEthernet0/0/0 227.0.0.0(3) + connectionid 1 + 4289975 packets, 322386841 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 01005E00000000A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Tunnel0 172.17.10.158(13) + 8174797 packets, 3597459493 bytes + epoch 0 + sourced in sev-epoch 8 + Encap length 28 + 4500000000000000FF2FC465C0A88CDB + D150D49120000800000186A0 + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/1, addr 192.168.140.1 +IP Tunnel0 227.0.0.0(3) (incomplete) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + punt (rate-limited) packets + Inject p2mp Multicast + Next chain element: + drop diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml new file mode 100644 index 0000000000..f4c84db578 --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml @@ -0,0 +1,148 @@ +--- +parsed_sample: + - interface: "Vlan10" + endpoint: "10.102.10.5" + rewrite_headers: + - "000EB65D4EB0C80084D399460800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1801" + endpoint: "10.180.102.195" + rewrite_headers: + - "70695A4F201CC80084D399490800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "BDI445" + endpoint: "192.0.2.21" + rewrite_headers: + - "000C29BDD45A2CABEBC01DC30800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel10" + endpoint: "172.17.10.225" + rewrite_headers: + - "4500000000000000FF2F4C08C0A80067" + - "2A20D48B20000800001A456E" + recursive_interface: "GigabitEthernet0/0/2" + recursive_nexthop: "192.168.0.1" + - interface: "Tunnel10" + endpoint: "172.17.10.12" + rewrite_headers: + - "4500000000000000FF2F71F12927C88E" + - "5C41EADA20000800001A456E" + recursive_interface: "GigabitEthernet0/0/2" + recursive_nexthop: "41.39.200.141" + - interface: "GigabitEthernet0/0/2" + endpoint: "46.40.201.141" + rewrite_headers: + - "244C07ED1BFE2CABEBC01D420800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "10.255.1.1" + rewrite_headers: + - "40A6E8119FC72CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "10.255.1.250" + rewrite_headers: + - "000C2963CBC22CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1835" + endpoint: "10.255.0.13" + rewrite_headers: + - "E0CBBCBC0C982CABEB99E6D08100072B" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1835" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D08100072B" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel11" + endpoint: "point2point" + rewrite_headers: [] + recursive_interface: "Port-channel1.1835" + recursive_nexthop: "10.255.0.13" + - interface: "GigabitEthernet0/0/2.200" + endpoint: "10.255.200.106" + rewrite_headers: + - "00E04C6807772CABEB99E692810000C8" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/2.200" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E692810000C8" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel12" + endpoint: "point2point" + rewrite_headers: [] + recursive_interface: "Port-channel1.1835" + recursive_nexthop: "10.255.0.13" + - interface: "Port-channel1.1837" + endpoint: "10.255.0.21" + rewrite_headers: + - "E0CBBCBC0C982CABEB99E6D08100072D" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1837" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D08100072D" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1825" + endpoint: "10.255.2.1" + rewrite_headers: + - "40A6E8119FF72CABEB99E6D081000721" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1825" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D081000721" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "10.180.14.15" + rewrite_headers: + - "78BC1AF1CA6100A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E00000000A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel0" + endpoint: "172.17.10.158" + rewrite_headers: + - "4500000000000000FF2FC465C0A88CDB" + - "D150D49120000800000186A0" + recursive_interface: "GigabitEthernet0/0/1" + recursive_nexthop: "192.168.140.1" + - interface: "Tunnel0" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "drop" + recursive_nexthop: "" From 36819272d1097d2544f7846e25672aecaa65066b Mon Sep 17 00:00:00 2001 From: georgesnow Date: Fri, 8 May 2020 12:16:39 -0400 Subject: [PATCH 031/412] New Template: ciena_saos_ssh_server_show_key.textfsm (#693) --- templates/ciena_saos_ssh_server_show_key.textfsm | 12 ++++++++++++ templates/index | 1 + .../ciena_saos_ssh_server_show_key.raw | 11 +++++++++++ .../ciena_saos_ssh_server_show_key.yml | 6 ++++++ 4 files changed, 30 insertions(+) create mode 100644 templates/ciena_saos_ssh_server_show_key.textfsm create mode 100644 tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw create mode 100644 tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml diff --git a/templates/ciena_saos_ssh_server_show_key.textfsm b/templates/ciena_saos_ssh_server_show_key.textfsm new file mode 100644 index 0000000000..12c87c0fb2 --- /dev/null +++ b/templates/ciena_saos_ssh_server_show_key.textfsm @@ -0,0 +1,12 @@ +Value USERNAME (\S+) +Value KEY_STATUS (\S+) + +Start + # Accounts for tabular delineations and table names + ^\+\- + # Account for SSH Server Key block + ^\|\s+[Kk]ey + ^\|\s+[Uu]sername.*[Kk]ey\s+[Ss]tatus + ^\|\s*${USERNAME}\s*\S*\s*\|\s*${KEY_STATUS}\s*\| -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 1086f1d2a9..70e7285b8e 100644 --- a/templates/index +++ b/templates/index @@ -106,6 +106,7 @@ checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] +ciena_saos_ssh_server_show_key.textfsm, .*, ciena_saos, ssh se[[rver]] sh[[ow]] k[[ey]] ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] diff --git a/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw new file mode 100644 index 0000000000..426a645c7c --- /dev/null +++ b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw @@ -0,0 +1,11 @@ ++---------------------------- SSH SERVER KEY --------------------------------+ +| Key Status | Generated | +| Key Fingerprint [MD5] | 1a:1d:1c:1e:da:11:1d:1d:11:aa:11:11:11:a1:11:1c | ++-------------------------+--------------------------------------------------+ + ++------------------------ SSH PUBLIC KEY AUTHENTICATION USERS ------------------------+ +| Username | Key Status | ++----------------------------------+--------------------------------------------------+ +| abc1 | installed | +| abc2 | installed | ++----------------------------------+--------------------------------------------------+ diff --git a/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml new file mode 100644 index 0000000000..27aa37b6f8 --- /dev/null +++ b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - username: "abc1" + key_status: "installed" + - username: "abc2" + key_status: "installed" From 0f6867af227155056c3ea79a2b88aa6b64f21187 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sat, 9 May 2020 22:56:48 +0100 Subject: [PATCH 032/412] Add support for 'show ip cef' Initial commit with template, modified index file and tests --- templates/cisco_ios_show_ip_cef.textfsm | 112 ++++++++++++++ templates/index | 1 + .../show_ip_cef/show_ip_cef_c2800_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c2800_v1.yml | 97 ++++++++++++ .../show_ip_cef/show_ip_cef_c2800_v2.raw | 14 ++ .../show_ip_cef/show_ip_cef_c2800_v2.yml | 117 ++++++++++++++ .../show_ip_cef/show_ip_cef_c2900_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c2900_v1.yml | 87 +++++++++++ .../show_ip_cef/show_ip_cef_c3750.raw | 6 + .../show_ip_cef/show_ip_cef_c3750.yml | 27 ++++ .../show_ip_cef/show_ip_cef_c3850_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c3850_v1.yml | 87 +++++++++++ .../show_ip_cef/show_ip_cef_c3850_v2.raw | 9 ++ .../show_ip_cef/show_ip_cef_c3850_v2.yml | 42 +++++ .../show_ip_cef_detail_c2800_v1.raw | 74 +++++++++ .../show_ip_cef_detail_c2800_v1.yml | 101 ++++++++++++ .../show_ip_cef_detail_c2800_v2.raw | 67 ++++++++ .../show_ip_cef_detail_c2800_v2.yml | 145 ++++++++++++++++++ .../show_ip_cef_detail_c2900_v1.raw | 83 ++++++++++ .../show_ip_cef_detail_c2900_v1.yml | 130 ++++++++++++++++ .../show_ip_cef/show_ip_cef_detail_c3750.raw | 47 ++++++ .../show_ip_cef/show_ip_cef_detail_c3750.yml | 80 ++++++++++ .../show_ip_cef_detail_c3850_v1.raw | 51 ++++++ .../show_ip_cef_detail_c3850_v1.yml | 135 ++++++++++++++++ .../show_ip_cef_detail_c3850_v2.raw | 29 ++++ .../show_ip_cef_detail_c3850_v2.yml | 47 ++++++ .../show_ip_cef/show_ip_cef_disabled.raw | 1 + .../show_ip_cef/show_ip_cef_disabled.yml | 2 + 28 files changed, 1630 insertions(+) create mode 100644 templates/cisco_ios_show_ip_cef.textfsm create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm new file mode 100644 index 0000000000..74831b65d6 --- /dev/null +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -0,0 +1,112 @@ +Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) +Value List FLAGS ([^,\]\n]+) +Value TYPE ([a-z\s]+) +Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value INTERFACE ([A-Za-z0-9\.\/-]+) + +# --- HEAD and DETAILED ENTRIES --- +# e.g. show ip cef detail, show ip cef 10.0.0.1, etc +Start + # Detect errors and/or disabled CEF + ^%IPv4\s+CEF\s+not\s+running$$ -> End + ^\s+Invalid\s+prefix/mask -> End + ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + # Ignore JUNK in HEAD + ^IP(?:v4)?\s+CEF + ^VRF|Adjacency + ^\s+\d+\s+(?:routes|instant|leaves|load|prefixes|in-place) + ^\s+(?:Default|Table|Database|Resolution|Non-stop|Switchover) + ^\s+(?:universal|refcounts) + ^.*?CEF\s+resets + # Entry detected, begin analysis + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + # + # --- Parse CEF table from Cisco IOS >v15.x + # + # Extract prefix (no flags) + ^${PREFIX},\s+epoch(?:(?!flags).)*$$ + # Extract prefix with Flags + ^${PREFIX}.*?flags -> Continue + # Attempt to extract first Flag (if present) + ^\d.*?flags\s+\[?${FLAGS} -> Continue + # Attempt to extract other Flags (up to 6) + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue + # Stop processing Flags (6+) + ^\d.*?flags.*?$$ + # Extract Type / Nexthop / Interface + # Available Type (IOS >v15.x): + # - attached + # - receive + # - drop + # - no route + # - nexthop + # - multicast + ^\s+${TYPE}(?<=drop)$$ + ^\s+${TYPE}(?<=no route)$$ + ^\s+${TYPE}(?<=receive)$$ + ^\s+${TYPE}(?<=multicast)$$ + ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^\s+recursive\s+via\s+${NEXTHOP} + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} + # + # --- Parse CEF table from Cisco IOS 12.x ISR G1 + # + # Legacy CEF formatting + # Extract Prefix and Flags + ^${PREFIX},\s+version -> Continue + ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue + # Stop processing Flags (max 4) + ^.*?epoch.*?$$ + # Extract extra Flag, such as recursive + ^.*?dependencies,\s+${FLAGS} + ^.*?dependencies + # Extract Nexthop and Interface + ^\s+next\s+hop\s+${NEXTHOP}\s*$$ + ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} + # Extract Type, where available + # Available Type (IOS v12.x ISR G1): + # - null (same as receive with Null0 interface in IOS v15.x) + # - glean (same as attached in IOS v15.x) + # - cached (same as nexthop in IOS v15.x) + # - drop + # - if type is None, then it's receive (check flags) + ^\s+valid\s+${TYPE}\s+adjacency$$ + # + # Ignore JUNK + # + ^\s+Special\s+source + ^\s+Interface\s+source + ^\s+Adj\s+source + ^\s+DefNet\s+source + ^\s+Covered\s+dependent + ^\s+need\s+deagg + ^\s+notify\s+cover + ^\s+Dependent\s+covered + ^\s+(?:Net)?Flow: + ^\s+Interest\s+List: + ^\s+-\s+ + ^\s+BFD\s+state + ^\s+\d+\s+IPL\s+source + ^\d+\s+packets + # + # End of processing + # + ^\s*$$ + ^. -> Error + +# --- BRIEF ENTRIES +# e.g. show ip cef, or show ip cef vrf +Entries + ^${PREFIX}\s+${TYPE}\s*$$ -> Record + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..b5ae769a0f 100644 --- a/templates/index +++ b/templates/index @@ -212,6 +212,7 @@ cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp +cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] cisco_ios_show_tacacs.textfsm, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.textfsm, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_dmvpn.textfsm, .*, cisco_ios, sh[[ow]] dm[[vpn]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw new file mode 100644 index 0000000000..221407720f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 172.17.40.1 Tunnel0 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 172.17.40.1 Tunnel0 +10.0.120.0/24 172.17.40.1 Tunnel0 +10.191.64.0/24 attached GigabitEthernet0/0 +10.191.64.0/32 receive GigabitEthernet0/0 +10.191.64.2/32 attached GigabitEthernet0/0 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml new file mode 100644 index 0000000000..e6bdb3262c --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -0,0 +1,97 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.189.252.0/24" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.191.64.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.1/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.2/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.9/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "172.17.40.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.158/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw new file mode 100644 index 0000000000..a15a4b87f0 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw @@ -0,0 +1,14 @@ +Prefix Next Hop Interface +0.0.0.0/0 192.168.0.181 GigabitEthernet0/1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 192.168.0.181 GigabitEthernet0/1 +10.158.0.0/19 0.0.0.0 Null0 +10.158.0.192/29 10.158.0.209 GigabitEthernet0/0.1821 +10.158.0.208/29 attached GigabitEthernet0/0.1821 +10.158.0.208/32 receive +192.168.0.180/30 attached GigabitEthernet0/1 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml new file mode 100644 index 0000000000..3ea1242ca9 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -0,0 +1,117 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.158.0.0/19" + flags: [] + type: "" + nexthop: "0.0.0.0" + interface: "Null0" + - prefix: "10.158.0.192/29" + flags: [] + type: "" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/29" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.158.0.209/32" + flags: [] + type: "" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.210/32" + flags: [] + type: "" + nexthop: "10.158.0.210" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.214/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.158.0.215/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.180.30.1/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/30" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.180/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.181/32" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.182/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.183/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw new file mode 100644 index 0000000000..f227fb4ca3 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.180.122.153 GigabitEthernet0/1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 10.180.122.153 GigabitEthernet0/1 +10.157.1.0/24 172.17.100.101 Tunnel60701 +10.180.122.7/32 receive Loopback0 +10.180.122.152/29 attached GigabitEthernet0/1 +10.180.122.152/32 receive GigabitEthernet0/1 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml new file mode 100644 index 0000000000..738ffc8977 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.157.0.0/16" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.157.1.0/24" + flags: [] + type: "" + nexthop: "172.17.100.101" + interface: "Tunnel60701" + - prefix: "10.180.140.7/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Loopback0" + - prefix: "10.180.140.152/29" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.152/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.153/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.158/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.159/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw new file mode 100644 index 0000000000..7879625418 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw @@ -0,0 +1,6 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.158.0.198 Vlan1801 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 10.158.0.198 Vlan1801 +10.0.120.0/24 10.158.0.198 Vlan1801 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml new file mode 100644 index 0000000000..65d83e52f4 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw new file mode 100644 index 0000000000..0133fd8b5e --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.255.1.1 Vlan1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.255.1.0/24 attached Vlan1 +10.255.1.0/32 receive Vlan1 +10.255.255.192/30 10.255.2.1 Port-channel1.1825 +10.255.200.0/24 attached GigabitEthernet0/0/2.200 +127.0.0.0/8 drop +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml new file mode 100644 index 0000000000..3c3b52f283 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.255.1.1" + interface: "Vlan1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "" + - prefix: "10.255.1.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.1/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.11/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.23/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.250/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.255.192/30" + flags: [] + type: "" + nexthop: "10.255.2.1" + interface: "Port-channel1.1825" + - prefix: "10.255.200.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0/2.200" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive " + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw new file mode 100644 index 0000000000..2685344e2a --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw @@ -0,0 +1,9 @@ +Prefix Next Hop Interface +0.0.0.0/0 no route +0.0.0.0/8 drop +0.0.0.0/32 receive +127.0.0.0/8 drop +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml new file mode 100644 index 0000000000..48b3149cc2 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "no route" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw new file mode 100644 index 0000000000..e00ebfc6b2 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw @@ -0,0 +1,74 @@ +IPv4 CEF is enabled and running +VRF Default + 842 prefixes (842/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 0 (842 entries at this epoch) + +0.0.0.0/0, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + nexthop 172.17.40.1 Tunnel0 +0.0.0.0/8, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +0.0.0.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +10.0.0.0/16, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 16 + nexthop 172.17.40.1 Tunnel0 +10.191.64.0/24, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interest List: + - ipv4fib connected receive + Covered dependent prefixes: 18 + need deagg: 2 + notify cover updated: 16 + attached to GigabitEthernet0/0 +10.191.64.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: GigabitEthernet0/0 + Dependent covered prefix type cover need deagg, cover 10.191.64.0/24 + receive for GigabitEthernet0/0 +10.191.64.1/32, epoch 0, flags receive, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: GigabitEthernet0/0 + receive for GigabitEthernet0/0 +10.191.64.2/32, epoch 0, flags attached + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Adj source: IP adj out of GigabitEthernet0/0, addr 10.191.64.2 4A8EF620 + Dependent covered prefix type adjfib, cover 10.191.64.0/24 + attached to GigabitEthernet0/0 +172.17.40.0/24, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interest List: + - ipv4fib connected receive + Covered dependent prefixes: 2 + need deagg: 2 + attached to Tunnel0 +172.17.40.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: Tunnel0 + Dependent covered prefix type cover need deagg, cover 172.17.40.0/24 + receive for Tunnel0 +172.17.40.158/32, epoch 0, flags receive, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: Tunnel0 + receive for Tunnel0 +224.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +224.0.0.0/24, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +240.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +255.255.255.255/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml new file mode 100644 index 0000000000..29c13f4fd5 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "nexthop" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.191.64.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.1/32" + flags: + - "receive" + - "source eligible" + type: "receive" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.2/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "172.17.40.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.158/32" + flags: + - "receive" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw new file mode 100644 index 0000000000..ee87db7c7a --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw @@ -0,0 +1,67 @@ +IP CEF with switching (Table Version 49101), flags=0x0 + 699 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 694 + 48837 instant recursive resolutions, 0 used background process + 699 leaves, 303 nodes, 421368 bytes, 49035 inserts, 48336 invalidations + 0 load sharing elements, 0 bytes, 0 references + universal per-destination load sharing algorithm, id FCE725EE + 3(0) CEF resets, 38 revisions of existing leaves + Resolution Timer: Exponential (currently 1s, peak 1s) + 75 in-place/0 aborted modifications + refcounts: 80269 leaf, 77824 node + + Table epoch: 0 (699 entries at this epoch) + +Adjacency Table has 3 adjacencies +0.0.0.0/0, version 46142, epoch 0, cached adjacency 199.220.235.181 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 199.220.235.181, 0 dependencies, recursive + next hop 199.220.235.181, GigabitEthernet0/1 via 199.220.235.181/32 + valid cached adjacency +0.0.0.0/8, version 7, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 0.0.0.0, 0 dependencies + next hop 0.0.0.0 + valid drop adjacency +0.0.0.0/32, version 1, epoch 0, receive + Flow: AS 0, mask 32 +10.158.0.0/19, version 9608, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 19 + via 0.0.0.0, Null0, 0 dependencies + next hop 0.0.0.0, Null0 + valid null adjacency +10.158.0.192/29, version 10598, epoch 0, cached adjacency 10.158.0.209 +0 packets, 0 bytes + Flow: AS 0, mask 29 + via 10.158.0.209, GigabitEthernet0/0.1821, 0 dependencies + next hop 10.158.0.209, GigabitEthernet0/0.1821 + valid cached adjacency +10.158.0.208/32, version 10, epoch 0, receive + Flow: AS 0, mask 29 +10.180.30.1/32, version 4, epoch 0, connected, receive + Flow: AS 0, mask 32 +199.220.235.180/30, version 2163, epoch 0, attached, connected +0 packets, 0 bytes + Flow: AS 0, mask 30 + via GigabitEthernet0/1, 0 dependencies + valid glean adjacency +199.220.235.180/32, version 2161, epoch 0, receive + Flow: AS 0, mask 30 +199.220.235.181/32, version 2164, epoch 0, connected, cached adjacency 199.220.235.181 +0 packets, 0 bytes + Flow: AS 0, mask 30 + via 199.220.235.181, GigabitEthernet0/1, 661 dependencies + next hop 199.220.235.181, GigabitEthernet0/1 + valid cached adjacency +224.0.0.0/24, version 3, epoch 0, receive + Flow: AS 0, mask 24 +240.0.0.0/4, version 6, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 0.0.0.0, 0 dependencies + next hop 0.0.0.0 + valid drop adjacency +255.255.255.255/32, version 2, epoch 0, receive + Flow: AS 0, mask 32 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml new file mode 100644 index 0000000000..c6f4108cc3 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -0,0 +1,145 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.158.0.0/19" + flags: [] + type: "null" + nexthop: "0.0.0.0" + interface: "Null0" + - prefix: "10.158.0.192/29" + flags: + - "cached adjacency 10.158.0.209" + type: "cached" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/29" + flags: + - "attached" + - "connected" + type: "glean" + nexthop: "" + interface: "" + - prefix: "10.158.0.208/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.158.0.209/32" + flags: + - "connected" + - "cached adjacency 10.158.0.209" + type: "cached" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.210/32" + flags: + - "connected" + - "cached adjacency 10.158.0.210" + type: "cached" + nexthop: "10.158.0.210" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.214/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.158.0.215/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.180.30.1/32" + flags: + - "connected" + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/30" + flags: + - "attached" + - "connected" + type: "glean" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.181/32" + flags: + - "connected" + - "cached adjacency 199.220.235.181" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.182/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.183/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw new file mode 100644 index 0000000000..bc5c47513f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw @@ -0,0 +1,83 @@ +IPv4 CEF is enabled and running +VRF Default + 823 prefixes (823/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 0 (823 entries at this epoch) + +0.0.0.0/0, epoch 0, flags rib only nolabel, rib defined all labels, default route + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +0.0.0.0/8, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +0.0.0.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +10.0.0.0/16, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 16 + nexthop 10.180.150.33 Port-channel1.1822 +10.0.120.0/24, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 65005, Peer AS 0, Mask Bits 24 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +10.180.140.153/32, epoch 0, flags [attached] + Interest List: + - fib bfd tracking + BFD state up, tracking attached BFD session on GigabitEthernet0/1 + Adj source: IP adj out of GigabitEthernet0/1, addr 10.180.140.153 3ED40F00 + Dependent covered prefix type adjfib, cover 10.180.140.152/29 + 1 IPL source [no flags] + attached to GigabitEthernet0/1 +10.180.150.0/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 26 + attached to Null0 +10.180.150.5/32, epoch 0, flags attached, connected, receive, local, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 32 + Interface source: Loopback180 flags: local, source eligible + receive for Loopback180 +10.180.150.32/29, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Covered dependent prefixes: 3 + need deagg: 2 + notify cover updated: 1 + attached to Port-channel1.1822 +10.180.150.32/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Interface source: Port-channel1.1822 flags: none + Dependent covered prefix type cover need deagg, cover 10.180.150.32/29 + receive for Port-channel1.1822 +10.180.150.33/32, epoch 0, flags attached + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Adj source: IP adj out of Port-channel1.1822, addr 10.180.150.33 01F3E080 + Dependent covered prefix type adjfib, cover 10.180.150.32/29 + attached to Port-channel1.1822 +10.180.150.38/32, epoch 0, flags receive, local, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Interface source: Port-channel1.1822 flags: local, source eligible + receive for Port-channel1.1822 +10.180.150.192/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 65150, Peer AS 0, Mask Bits 26 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +10.181.150.0/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 26 + attached to Null0 +224.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: multicast + multicast +224.0.0.0/24, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +240.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +255.255.255.255/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml new file mode 100644 index 0000000000..501f8f425c --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -0,0 +1,130 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "rib only nolabel" + - "rib defined all labels" + - "default route" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "10.180.150.33" + interface: "Port-channel1.1822" + - prefix: "10.0.120.0/24" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "10.180.140.153/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.150.0/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "" + interface: "Null0" + - prefix: "10.180.150.5/32" + flags: + - "attached" + - "connected" + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Loopback180" + - prefix: "10.180.150.32/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.32/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.33/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.38/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.192/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "10.181.150.0/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "" + interface: "Null0" + - prefix: "10.181.150.16/30" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/2" + - prefix: "224.0.0.0/4" + flags: [] + type: "multicast" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw new file mode 100644 index 0000000000..69f7888914 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw @@ -0,0 +1,47 @@ +IPv4 CEF is enabled for distributed and running +VRF Default: + 1079 prefixes (1079/0 fwd/non-fwd) + Default network 0.0.0.0/0 + Table id 0 + Database epoch: 11 (1079 entries at this epoch) + Non-stop forwarding: + 79 routes at switchover + Switchover in progress (protocols reconverging) + 43 routes available after convergence and purge (20 purged) + +0.0.0.0/0, epoch 11 + DefNet source: 0.0.0.0/0 + nexthop 10.158.0.198 Vlan1801 +0.0.0.0/8, epoch 11 + Special source: drop + drop +0.0.0.0/32, epoch 11, flags receive + Special source: receive + receive +10.0.0.0/16, epoch 11 + nexthop 10.158.0.198 Vlan1801 +10.158.0.192/29, epoch 11, flags attached, connected, cover dependents, need deagg + Covered dependent prefixes: 5 + need deagg: 3 + notify cover updated: 2 + attached to Vlan1801 +10.158.0.192/32, epoch 11, flags receive + Dependent covered prefix type cover need deagg cover 10.158.0.192/29 + Interface source: Vlan1801 + receive for Vlan1801 +10.158.0.195/32, epoch 11, flags attached + Adj source: IP adj out of Vlan1801, addr 10.158.0.195 0637CEA0 + Dependent covered prefix type adjfib cover 10.158.0.192/29 + attached to Vlan1801 +224.0.0.0/4, epoch 11 + Special source: drop + drop +224.0.0.0/24, epoch 11, flags receive + Special source: receive + receive +240.0.0.0/4, epoch 11 + Special source: drop + drop +255.255.255.255/32, epoch 11, flags receive + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml new file mode 100644 index 0000000000..19f143a1d1 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.0.120.0/24" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.158.0.192/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.0.192/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.0.195/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.1.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1581" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw new file mode 100644 index 0000000000..e17ff1fc19 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw @@ -0,0 +1,51 @@ +IPv4 CEF is enabled for distributed and running +VRF Default + 39 prefixes (39/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 2 (39 entries at this epoch) + +0.0.0.0/0, epoch 2, flags [default route] + nexthop 10.255.1.1 Port-channel1.1 +0.0.0.0/8, epoch 2 + Special source: drop + drop +0.0.0.0/32, epoch 2, flags [receive] + Special source: receive + receive +10.255.0.0/30, epoch 2 + nexthop 10.255.1.1 Port-channel1.1 +10.255.1.0/24, epoch 2, flags [attached, connected, cover dependents, need deagg] + Covered dependent prefixes: 4 + need deagg: 2 + notify cover spupdated: 2 + attached to Port-channel1.1 +10.255.1.0/32, epoch 2, flags [receive] + Interface source: Port-channel1.1 flags: none flags3: none + Dependent covered prefix type cover need deagg, cover 10.255.1.0/24 + receive for Port-channel1.1 +10.255.1.1/32, epoch 2, flags [attached] + Adj source: IP adj out of Port-channel1.1, addr 10.255.1.1 7F7198983E10 + Dependent covered prefix type adjfib, cover 10.255.1.0/24 + attached to Port-channel1.1 +10.255.1.11/32, epoch 2, flags [receive, local, source eligible] + Interface source: Port-channel1.1 flags: local, source eligible flags3: none + receive for Port-channel1.1 +10.180.163.0/32, epoch 2, flags [attached, connected, receive, local, source eligible] + Interface source: Loopback180 flags: local, source eligible + receive for Loopback180 +10.180.163.129/32, epoch 2, flags [receive, local, source eligible] + Interface source: Vlan1831 flags: local, source eligible + receive for Vlan1831 +10.180.163.133/32, epoch 2, flags [attached] + Adj source: IP adj out of Vlan1831, addr 10.180.163.133 FFB3F95AE0 + Dependent covered prefix type adjfib, cover 10.180.163.128/29 + attached to Vlan1831 +127.0.0.0/8, epoch 2 + Special source: drop + drop +240.0.0.0/4, epoch 2 + Special source: drop + drop +255.255.255.255/32, epoch 2, flags [receive] + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml new file mode 100644 index 0000000000..99e3f0036f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -0,0 +1,135 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "default route" + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.255.0.0/30" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "10.255.1.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.1/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.11/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.180.163.0/32" + flags: + - "attached" + - "connected" + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Loopback180" + - prefix: "10.180.163.128/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.129/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.133/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.135/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.255.1.250/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.2.0/30" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "10.255.32.0/24" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "172.31.1.8/29" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw new file mode 100644 index 0000000000..0e2d266820 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw @@ -0,0 +1,29 @@ +IPv4 CEF is enabled for distributed and running +VRF Default + 8 prefixes (8/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 3 (8 entries at this epoch) + +0.0.0.0/0, epoch 3, flags [default route handler, default route] + no route +0.0.0.0/8, epoch 3 + Special source: drop + drop +0.0.0.0/32, epoch 3, flags [receive] + Special source: receive + receive +127.0.0.0/8, epoch 3 + Special source: drop + drop +224.0.0.0/4, epoch 3 + Special source: drop + drop +224.0.0.0/24, epoch 3, flags [receive] + Special source: receive + receive +240.0.0.0/4, epoch 3 + Special source: drop + drop +255.255.255.255/32, epoch 3, flags [receive] + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml new file mode 100644 index 0000000000..cd86c8d226 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "default route handler" + - "default route" + type: "no route" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw new file mode 100644 index 0000000000..9244ddbfd5 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw @@ -0,0 +1 @@ +%IPv4 CEF not running \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml new file mode 100644 index 0000000000..e77add67ed --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml @@ -0,0 +1,2 @@ +--- +parsed_sample: [] From 19b41cc12feacf8a68975c0c61b3a116d94fe2ca Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 10:55:31 +0100 Subject: [PATCH 033/412] Fix #1: ' RR source' --- templates/cisco_ios_show_ip_cef.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 74831b65d6..de289b563a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -90,6 +90,7 @@ Start ^\s+need\s+deagg ^\s+notify\s+cover ^\s+Dependent\s+covered + ^.*?RR\s+source ^\s+(?:Net)?Flow: ^\s+Interest\s+List: ^\s+-\s+ From b7a0da47ac59e1418f9e7b476560bd1bf9716e8a Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 14:21:49 +0100 Subject: [PATCH 034/412] Fix #2-3: 'QOS precedence' and 'dependencies/dependency' --- templates/cisco_ios_show_ip_cef.textfsm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index de289b563a..6e91970bf2 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -66,8 +66,8 @@ Start # Stop processing Flags (max 4) ^.*?epoch.*?$$ # Extract extra Flag, such as recursive - ^.*?dependencies,\s+${FLAGS} - ^.*?dependencies + ^.*?dependenc(?:y|ies),\s+${FLAGS} + ^.*?dependenc(?:y|ies) # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} @@ -82,6 +82,7 @@ Start # # Ignore JUNK # + ^\s+Q[Oo]S ^\s+Special\s+source ^\s+Interface\s+source ^\s+Adj\s+source From 0d5cbc21df36ff36f5b5899564a22d9f106b95f8 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 17:13:50 +0100 Subject: [PATCH 035/412] Re-run tests to refresh YAML files --- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 35 ---------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 56 +--------------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 35 ++-------- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 25 -------- .../show_ip_cef_detail_c2800_v1.yml | 6 -- .../show_ip_cef_detail_c2800_v2.yml | 64 ------------------- .../show_ip_cef_detail_c2900_v1.yml | 9 --- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 14 ---- .../show_ip_cef_detail_c3850_v1.yml | 42 ------------ 9 files changed, 8 insertions(+), 278 deletions(-) diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index e6bdb3262c..49e1d7e1b5 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -25,11 +25,6 @@ parsed_sample: type: "" nexthop: "172.17.40.1" interface: "Tunnel0" - - prefix: "10.189.252.0/24" - flags: [] - type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" - prefix: "10.191.64.0/24" flags: [] type: "attached " @@ -40,41 +35,11 @@ parsed_sample: type: "receive " nexthop: "" interface: "GigabitEthernet0/0" - - prefix: "10.191.64.1/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/0" - - prefix: "10.191.64.9/32" - flags: [] - type: "attached " - nexthop: "" - interface: "GigabitEthernet0/0" - - prefix: "172.17.40.0/24" - flags: [] - type: "attached " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.0/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.158/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.255/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 3ea1242ca9..6ea75bb3f3 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -3,7 +3,7 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "199.220.235.181" + nexthop: "192.168.0.181" interface: "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] @@ -18,12 +18,7 @@ parsed_sample: - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: [] - type: "" - nexthop: "199.220.235.181" + nexthop: "192.168.0.181" interface: "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] @@ -45,56 +40,11 @@ parsed_sample: type: "receive" nexthop: "" interface: "" - - prefix: "10.158.0.209/32" - flags: [] - type: "" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.210/32" - flags: [] - type: "" - nexthop: "10.158.0.210" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.214/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "10.158.0.215/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "10.180.30.1/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.180/30" + - prefix: "192.168.0.180/30" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/1" - - prefix: "199.220.235.180/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.181/32" - flags: [] - type: "" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "199.220.235.182/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.183/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 738ffc8977..e9f51cbe14 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -3,7 +3,7 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.180.140.153" + nexthop: "10.180.122.153" interface: "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] @@ -18,49 +18,24 @@ parsed_sample: - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: [] - type: "" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" - - prefix: "10.157.0.0/16" - flags: [] - type: "" - nexthop: "10.180.140.153" + nexthop: "10.180.122.153" interface: "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] type: "" nexthop: "172.17.100.101" interface: "Tunnel60701" - - prefix: "10.180.140.7/32" + - prefix: "10.180.122.7/32" flags: [] type: "receive " nexthop: "" interface: "Loopback0" - - prefix: "10.180.140.152/29" - flags: [] - type: "attached " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.152/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.153/32" + - prefix: "10.180.122.152/29" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/1" - - prefix: "10.180.140.158/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.159/32" + - prefix: "10.180.122.152/32" flags: [] type: "receive " nexthop: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 3c3b52f283..40f1dc5105 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -25,31 +25,6 @@ parsed_sample: type: "receive " nexthop: "" interface: "Vlan1" - - prefix: "10.255.1.1/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.11/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.23/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.250/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.255/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Vlan1" - prefix: "10.255.255.192/30" flags: [] type: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 29c13f4fd5..91244bcf2c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -71,12 +71,6 @@ parsed_sample: type: "receive" nexthop: "" interface: "Tunnel0" - - prefix: "172.17.40.255/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c6f4108cc3..6a91bc1471 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -18,20 +18,6 @@ parsed_sample: type: "" nexthop: "" interface: "" - - prefix: "10.0.0.0/16" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] type: "null" @@ -43,45 +29,12 @@ parsed_sample: type: "cached" nexthop: "10.158.0.209" interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.208/29" - flags: - - "attached" - - "connected" - type: "glean" - nexthop: "" - interface: "" - prefix: "10.158.0.208/32" flags: - "receive" type: "" nexthop: "" interface: "" - - prefix: "10.158.0.209/32" - flags: - - "connected" - - "cached adjacency 10.158.0.209" - type: "cached" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.210/32" - flags: - - "connected" - - "cached adjacency 10.158.0.210" - type: "cached" - nexthop: "10.158.0.210" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.214/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "10.158.0.215/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - prefix: "10.180.30.1/32" flags: - "connected" @@ -109,23 +62,6 @@ parsed_sample: type: "cached" nexthop: "199.220.235.181" interface: "GigabitEthernet0/1" - - prefix: "199.220.235.182/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "199.220.235.183/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: "0.0.0.0" - interface: "" - prefix: "224.0.0.0/24" flags: - "receive" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 501f8f425c..28d17d7e6e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -97,15 +97,6 @@ parsed_sample: type: "attached" nexthop: "" interface: "Null0" - - prefix: "10.181.150.16/30" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "GigabitEthernet0/2" - prefix: "224.0.0.0/4" flags: [] type: "multicast" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index 19f143a1d1..f728a1604e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -21,11 +21,6 @@ parsed_sample: type: "nexthop" nexthop: "10.158.0.198" interface: "Vlan1801" - - prefix: "10.0.120.0/24" - flags: [] - type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" - prefix: "10.158.0.192/29" flags: - "attached" @@ -47,15 +42,6 @@ parsed_sample: type: "attached" nexthop: "" interface: "Vlan1801" - - prefix: "10.158.1.0/24" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "Vlan1581" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index 99e3f0036f..b5a581cc41 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -61,15 +61,6 @@ parsed_sample: type: "receive" nexthop: "" interface: "Loopback180" - - prefix: "10.180.163.128/29" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "Vlan1831" - prefix: "10.180.163.129/32" flags: - "receive" @@ -84,44 +75,11 @@ parsed_sample: type: "attached" nexthop: "" interface: "Vlan1831" - - prefix: "10.180.163.135/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Vlan1831" - - prefix: "10.255.1.250/32" - flags: - - "attached" - type: "attached" - nexthop: "" - interface: "Port-channel1.1" - - prefix: "10.255.1.255/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Port-channel1.1" - - prefix: "10.255.2.0/30" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - - prefix: "10.255.32.0/24" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - prefix: "127.0.0.0/8" flags: [] type: "drop" nexthop: "" interface: "" - - prefix: "172.31.1.8/29" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - prefix: "240.0.0.0/4" flags: [] type: "drop" From 15e58f2a773cc18225033e3d25546c9491cd5130 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 20:07:24 +0100 Subject: [PATCH 036/412] Fix #4: 'TYPE was capturing trailing spaces' --- templates/cisco_ios_show_ip_cef.textfsm | 4 ++-- tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml | 6 +++--- tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml | 4 ++-- tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml | 6 +++--- tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml | 12 ++++++------ 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 6e91970bf2..3a81697d0a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,8 +1,8 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value TYPE ([a-z\s]+) +Value TYPE ((?:no\s)?(?:[a-z]+)) Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) -Value INTERFACE ([A-Za-z0-9\.\/-]+) +Value INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) # --- HEAD and DETAILED ENTRIES --- # e.g. show ip cef detail, show ip cef 10.0.0.1, etc diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 49e1d7e1b5..a03914f71c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -27,17 +27,17 @@ parsed_sample: interface: "Tunnel0" - prefix: "10.191.64.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 6ea75bb3f3..6dfe691dc3 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -32,7 +32,7 @@ parsed_sample: interface: "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" @@ -42,7 +42,7 @@ parsed_sample: interface: "" - prefix: "192.168.0.180/30" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index e9f51cbe14..ab124873de 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -27,17 +27,17 @@ parsed_sample: interface: "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "Loopback0" - prefix: "10.180.122.152/29" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 40f1dc5105..f32599eb8f 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -12,17 +12,17 @@ parsed_sample: interface: "" - prefix: "0.0.0.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" - prefix: "10.255.1.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "Vlan1" - prefix: "10.255.1.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "Vlan1" - prefix: "10.255.255.192/30" @@ -32,7 +32,7 @@ parsed_sample: interface: "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" @@ -47,7 +47,7 @@ parsed_sample: interface: "" - prefix: "224.0.0.0/24" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" - prefix: "240.0.0.0/4" @@ -57,6 +57,6 @@ parsed_sample: interface: "" - prefix: "255.255.255.255/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" From 88755480338c3c6a99c8528d9e8781f0565c73b6 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 20:09:02 +0100 Subject: [PATCH 037/412] Fix #5: 'Detect INTERFACE for glean adjacency IOS 12.x' --- templates/cisco_ios_show_ip_cef.textfsm | 5 ++++- tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 3a81697d0a..97389d6209 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -66,7 +66,10 @@ Start # Stop processing Flags (max 4) ^.*?epoch.*?$$ # Extract extra Flag, such as recursive - ^.*?dependenc(?:y|ies),\s+${FLAGS} + ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue + ^\s+via\s+${NEXTHOP},\s+\d+\s+dependenc + ^\s+via\s+${INTERFACE},\s+\d+\s+dependenc + ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+dependenc ^.*?dependenc(?:y|ies) # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index 6a91bc1471..c0034b24cc 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -48,7 +48,7 @@ parsed_sample: - "connected" type: "glean" nexthop: "" - interface: "" + interface: "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" From 33e80f9514f75d0151637f6cdf82b696be54e19d Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 21:32:45 +0100 Subject: [PATCH 038/412] Fix #6: 'Improved Detection logic' --- templates/cisco_ios_show_ip_cef.textfsm | 27 ++++++++++--------- .../show_ip_cef_detail_c2800_v1.yml | 2 +- .../show_ip_cef_detail_c2900_v1.yml | 4 +-- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 2 +- .../show_ip_cef_detail_c3850_v1.yml | 4 +-- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 97389d6209..db17b30936 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -37,22 +37,27 @@ Start ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue # Stop processing Flags (6+) ^\d.*?flags.*?$$ - # Extract Type / Nexthop / Interface - # Available Type (IOS >v15.x): + # 1st attempt to extract details via source info + # Supported Type (IOS >v15.x): # - attached # - receive # - drop # - no route # - nexthop # - multicast + ^\s+Adj\s+source:\s+IP\s+adj\s+out\s+of\s+${INTERFACE},\s+addr\s+${NEXTHOP}\s* + ^\s+Special\s+source:\s+${TYPE}$$ + ^\s+Interface\s+source:\s+${INTERFACE} + ^\s+DefNet\s+source + # 2nd attempt to extract details + ^\s+recursive\s+via\s+${NEXTHOP} + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} ^\s+${TYPE}(?<=drop)$$ ^\s+${TYPE}(?<=no route)$$ ^\s+${TYPE}(?<=receive)$$ ^\s+${TYPE}(?<=multicast)$$ ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} - ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} # # --- Parse CEF table from Cisco IOS 12.x ISR G1 # @@ -67,10 +72,10 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - ^\s+via\s+${NEXTHOP},\s+\d+\s+dependenc - ^\s+via\s+${INTERFACE},\s+\d+\s+dependenc - ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+dependenc - ^.*?dependenc(?:y|ies) + ^\s+via\s+${NEXTHOP},\s+\d+\s+depend + ^\s+via\s+${INTERFACE},\s+\d+\s+depend + ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend + ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} @@ -86,10 +91,6 @@ Start # Ignore JUNK # ^\s+Q[Oo]S - ^\s+Special\s+source - ^\s+Interface\s+source - ^\s+Adj\s+source - ^\s+DefNet\s+source ^\s+Covered\s+dependent ^\s+need\s+deagg ^\s+notify\s+cover diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 91244bcf2c..d34b4eb553 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -47,7 +47,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.191.64.2" interface: "GigabitEthernet0/0" - prefix: "172.17.40.0/24" flags: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 28d17d7e6e..89d1911567 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -35,7 +35,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.140.153" interface: "GigabitEthernet0/1" - prefix: "10.180.150.0/26" flags: @@ -73,7 +73,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.150.33" interface: "Port-channel1.1822" - prefix: "10.180.150.38/32" flags: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index f728a1604e..5eeaa0c4cb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -40,7 +40,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.158.0.195" interface: "Vlan1801" - prefix: "224.0.0.0/4" flags: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index b5a581cc41..d0a40e80d4 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -41,7 +41,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.255.1.1" interface: "Port-channel1.1" - prefix: "10.255.1.11/32" flags: @@ -73,7 +73,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.163.133" interface: "Vlan1831" - prefix: "127.0.0.0/8" flags: [] From 02b2a4aadf909a14fdfea396cc735c5ac7746073 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 21:42:01 +0100 Subject: [PATCH 039/412] Fix #7: 'Legacy IOS lists drop action as 0.0.0.0' --- templates/cisco_ios_show_ip_cef.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index db17b30936..c025e8576e 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -112,6 +112,7 @@ Start # e.g. show ip cef, or show ip cef vrf Entries ^${PREFIX}\s+${TYPE}\s*$$ -> Record + ^${PREFIX}\s+${NEXTHOP}\s*$$ -> Record ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record ^\s*$$ From 726a551b251dd041c45ae0abaad05383a5b1ec3b Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 22:18:07 +0100 Subject: [PATCH 040/412] Fix #8: 'Add support for ECMP' --- templates/cisco_ios_show_ip_cef.textfsm | 29 +++--- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 57 +++++++----- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 62 +++++++------ .../show_ip_cef/show_ip_cef_c2900_v1.yml | 57 +++++++----- .../show_ip_cef/show_ip_cef_c3750.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c3850_v1.raw | 2 + .../show_ip_cef/show_ip_cef_c3850_v1.yml | 64 +++++++++----- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 32 +++---- .../show_ip_cef_detail_c2800_v1.yml | 71 ++++++++------- .../show_ip_cef_detail_c2800_v2.yml | 63 +++++++------ .../show_ip_cef_detail_c2900_v1.yml | 88 +++++++++++-------- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 51 ++++++----- .../show_ip_cef_detail_c3850_v1.raw | 5 +- .../show_ip_cef_detail_c3850_v1.yml | 76 ++++++++++------ .../show_ip_cef_detail_c3850_v2.yml | 32 +++---- 15 files changed, 418 insertions(+), 297 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index c025e8576e..f7623d89eb 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,8 +1,8 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) Value TYPE ((?:no\s)?(?:[a-z]+)) -Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) -Value INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) +Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) # --- HEAD and DETAILED ENTRIES --- # e.g. show ip cef detail, show ip cef 10.0.0.1, etc @@ -37,7 +37,7 @@ Start ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue # Stop processing Flags (6+) ^\d.*?flags.*?$$ - # 1st attempt to extract details via source info + # Attempt to extract details via source info # Supported Type (IOS >v15.x): # - attached # - receive @@ -45,11 +45,6 @@ Start # - no route # - nexthop # - multicast - ^\s+Adj\s+source:\s+IP\s+adj\s+out\s+of\s+${INTERFACE},\s+addr\s+${NEXTHOP}\s* - ^\s+Special\s+source:\s+${TYPE}$$ - ^\s+Interface\s+source:\s+${INTERFACE} - ^\s+DefNet\s+source - # 2nd attempt to extract details ^\s+recursive\s+via\s+${NEXTHOP} ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} @@ -72,9 +67,9 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - ^\s+via\s+${NEXTHOP},\s+\d+\s+depend + #^\s+via\s+${NEXTHOP},\s+\d+\s+depend ^\s+via\s+${INTERFACE},\s+\d+\s+depend - ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend + #^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ @@ -90,6 +85,10 @@ Start # # Ignore JUNK # + ^\s+Adj\s+source + ^\s+Special\s+source + ^\s+Interface\s+source + ^\s+DefNet\s+source ^\s+Q[Oo]S ^\s+Covered\s+dependent ^\s+need\s+deagg @@ -111,9 +110,11 @@ Start # --- BRIEF ENTRIES # e.g. show ip cef, or show ip cef vrf Entries - ^${PREFIX}\s+${TYPE}\s*$$ -> Record - ^${PREFIX}\s+${NEXTHOP}\s*$$ -> Record - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record - ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + ^${PREFIX}\s+${TYPE}\s*$$ + ^${PREFIX}\s+${NEXTHOP}\s*$$ + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index a03914f71c..22c3e7f60a 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -3,60 +3,69 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.0.120.0/24" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.191.64.0/24" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 6dfe691dc3..c4e91ff8d9 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -3,65 +3,75 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "192.168.0.181" - interface: "GigabitEthernet0/1" + nexthop: + - "192.168.0.181" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "192.168.0.181" - interface: "GigabitEthernet0/1" + nexthop: + - "192.168.0.181" + interface: + - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] type: "" - nexthop: "0.0.0.0" - interface: "Null0" + nexthop: + - "0.0.0.0" + interface: + - "Null0" - prefix: "10.158.0.192/29" flags: [] type: "" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" + nexthop: + - "10.158.0.209" + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0.1821" + nexthop: [] + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "192.168.0.180/30" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index ab124873de..40603ee38e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -3,60 +3,69 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.180.122.153" - interface: "GigabitEthernet0/1" + nexthop: + - "10.180.122.153" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.180.122.153" - interface: "GigabitEthernet0/1" + nexthop: + - "10.180.122.153" + interface: + - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] type: "" - nexthop: "172.17.100.101" - interface: "Tunnel60701" + nexthop: + - "172.17.100.101" + interface: + - "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] type: "receive" - nexthop: "" - interface: "Loopback0" + nexthop: [] + interface: + - "Loopback0" - prefix: "10.180.122.152/29" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] type: "receive" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 65d83e52f4..ecd9c73cbb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -3,25 +3,31 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "10.0.120.0/24" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw index 0133fd8b5e..00035025db 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw @@ -2,6 +2,8 @@ Prefix Next Hop Interface 0.0.0.0/0 10.255.1.1 Vlan1 0.0.0.0/8 drop 0.0.0.0/32 receive +10.180.195.0/32 10.180.101.5 GigabitEthernet1/0/1 + 10.180.101.10 GigabitEthernet1/0/2 10.255.1.0/24 attached Vlan1 10.255.1.0/32 receive Vlan1 10.255.255.192/30 10.255.2.1 Port-channel1.1825 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index f32599eb8f..e0fc637538 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -3,60 +3,76 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.255.1.1" - interface: "Vlan1" + nexthop: + - "10.255.1.1" + interface: + - "Vlan1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] + - prefix: "10.180.195.0/32" + flags: [] + type: "" + nexthop: + - "10.180.101.5" + - "10.180.101.10" + interface: + - "GigabitEthernet1/0/1" + - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" flags: [] type: "attached" - nexthop: "" - interface: "Vlan1" + nexthop: [] + interface: + - "Vlan1" - prefix: "10.255.1.0/32" flags: [] type: "receive" - nexthop: "" - interface: "Vlan1" + nexthop: [] + interface: + - "Vlan1" - prefix: "10.255.255.192/30" flags: [] type: "" - nexthop: "10.255.2.1" - interface: "Port-channel1.1825" + nexthop: + - "10.255.2.1" + interface: + - "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0/2.200" + nexthop: [] + interface: + - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 48b3149cc2..4b71469b68 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -3,40 +3,40 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "no route" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index d34b4eb553..8081991696 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -3,24 +3,28 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "nexthop" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.191.64.0/24" flags: - "attached" @@ -28,27 +32,31 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.1/32" flags: - "receive" - "source eligible" type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" type: "attached" - nexthop: "10.191.64.2" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "172.17.40.0/24" flags: - "attached" @@ -56,40 +64,43 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "172.17.40.158/32" flags: - "receive" - "source eligible" type: "receive" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c0034b24cc..c967bdcfd6 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -5,77 +5,88 @@ parsed_sample: - "cached adjacency 199.220.235.181" - "recursive" type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" + nexthop: + - "199.220.235.181" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "0.0.0.0" - interface: "" + nexthop: + - "0.0.0.0" + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.158.0.0/19" flags: [] type: "null" - nexthop: "0.0.0.0" - interface: "Null0" + nexthop: + - "0.0.0.0" + interface: + - "Null0" - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" type: "cached" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" + nexthop: + - "10.158.0.209" + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" type: "glean" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" + nexthop: + - "199.220.235.181" + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/24" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "0.0.0.0" - interface: "" + nexthop: + - "0.0.0.0" + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 89d1911567..8d1af45bc7 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -6,44 +6,52 @@ parsed_sample: - "rib defined all labels" - "default route" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "10.180.150.33" - interface: "Port-channel1.1822" + nexthop: + - "10.180.150.33" + interface: + - "Port-channel1.1822" - prefix: "10.0.120.0/24" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "10.180.140.153/32" flags: - "attached" type: "attached" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "10.180.150.0/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "" - interface: "Null0" + nexthop: [] + interface: + - "Null0" - prefix: "10.180.150.5/32" flags: - "attached" @@ -52,8 +60,9 @@ parsed_sample: - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Loopback180" + nexthop: [] + interface: + - "Loopback180" - prefix: "10.180.150.32/29" flags: - "attached" @@ -61,61 +70,68 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" type: "attached" - nexthop: "10.180.150.33" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.38/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.192/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "10.181.150.0/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "" - interface: "Null0" + nexthop: [] + interface: + - "Null0" - prefix: "224.0.0.0/4" flags: [] type: "multicast" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index 5eeaa0c4cb..c6f39dac30 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -3,24 +3,28 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "10.158.0.192/29" flags: - "attached" @@ -28,39 +32,42 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" type: "attached" - nexthop: "10.158.0.195" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw index e17ff1fc19..825c6c714a 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw @@ -12,6 +12,9 @@ VRF Default 0.0.0.0/32, epoch 2, flags [receive] Special source: receive receive +10.180.195.0/32, epoch 3, per-destination sharing + nexthop 10.180.101.5 GigabitEthernet1/0/1 + nexthop 10.180.101.10 GigabitEthernet1/0/2 10.255.0.0/30, epoch 2 nexthop 10.255.1.1 Port-channel1.1 10.255.1.0/24, epoch 2, flags [attached, connected, cover dependents, need deagg] @@ -48,4 +51,4 @@ VRF Default drop 255.255.255.255/32, epoch 2, flags [receive] Special source: receive - receive + receive \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index d0a40e80d4..3f3af0a443 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -4,24 +4,37 @@ parsed_sample: flags: - "default route" type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: + - "10.255.1.1" + interface: + - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] + - prefix: "10.180.195.0/32" + flags: [] + type: "nexthop" + nexthop: + - "10.180.101.5" + - "10.180.101.10" + interface: + - "GigabitEthernet1/0/1" + - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: + - "10.255.1.1" + interface: + - "Port-channel1.1" - prefix: "10.255.1.0/24" flags: - "attached" @@ -29,28 +42,32 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" type: "attached" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.11/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.180.163.0/32" flags: - "attached" @@ -59,35 +76,38 @@ parsed_sample: - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Loopback180" + nexthop: [] + interface: + - "Loopback180" - prefix: "10.180.163.129/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Vlan1831" + nexthop: [] + interface: + - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" type: "attached" - nexthop: "10.180.163.133" - interface: "Vlan1831" + nexthop: [] + interface: + - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml index cd86c8d226..65b06cc77f 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -5,43 +5,43 @@ parsed_sample: - "default route handler" - "default route" type: "no route" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] From 316187aa6463ddf0f13e07848e2059b532e4451e Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Mon, 11 May 2020 00:03:03 +0100 Subject: [PATCH 041/412] Final commit: clean up & all tests re-run --- templates/cisco_ios_show_ip_cef.textfsm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index f7623d89eb..f6abf4e9fe 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,6 +1,10 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) Value TYPE ((?:no\s)?(?:[a-z]+)) +# Nexthop and Interface are lists to support ECMP +# Usually these will be single item lists +# However, if there are multiple paths available +# these will contain one items per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) @@ -67,9 +71,7 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - #^\s+via\s+${NEXTHOP},\s+\d+\s+depend ^\s+via\s+${INTERFACE},\s+\d+\s+depend - #^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ From 1ddaba792dc33f4ec1f3dba9548994c52210379b Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Mon, 11 May 2020 15:33:11 +0100 Subject: [PATCH 042/412] Final commit: TYPE var renamed to ETYPE (entry type) --- templates/cisco_ios_show_ip_cef.textfsm | 22 ++++++------ .../show_ip_cef/show_ip_cef_c2800_v1.yml | 24 ++++++------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 26 +++++++------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 24 ++++++------- .../show_ip_cef/show_ip_cef_c3750.yml | 10 +++--- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 26 +++++++------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 16 ++++----- .../show_ip_cef_detail_c2800_v1.yml | 30 ++++++++-------- .../show_ip_cef_detail_c2800_v2.yml | 26 +++++++------- .../show_ip_cef_detail_c2900_v1.yml | 36 +++++++++---------- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 22 ++++++------ .../show_ip_cef_detail_c3850_v1.yml | 30 ++++++++-------- .../show_ip_cef_detail_c3850_v2.yml | 16 ++++----- 13 files changed, 154 insertions(+), 154 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index f6abf4e9fe..04c427ac6a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,6 +1,6 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value TYPE ((?:no\s)?(?:[a-z]+)) +Value ETYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available @@ -50,13 +50,13 @@ Start # - nexthop # - multicast ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${TYPE}(?<=drop)$$ - ^\s+${TYPE}(?<=no route)$$ - ^\s+${TYPE}(?<=receive)$$ - ^\s+${TYPE}(?<=multicast)$$ - ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^\s+${ETYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${ETYPE}(?<=attached)\s+to\s+${INTERFACE} + ^\s+${ETYPE}(?<=drop)$$ + ^\s+${ETYPE}(?<=no route)$$ + ^\s+${ETYPE}(?<=receive)$$ + ^\s+${ETYPE}(?<=multicast)$$ + ^\s+${ETYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} # # --- Parse CEF table from Cisco IOS 12.x ISR G1 # @@ -83,7 +83,7 @@ Start # - cached (same as nexthop in IOS v15.x) # - drop # - if type is None, then it's receive (check flags) - ^\s+valid\s+${TYPE}\s+adjacency$$ + ^\s+valid\s+${ETYPE}\s+adjacency$$ # # Ignore JUNK # @@ -113,9 +113,9 @@ Start # e.g. show ip cef, or show ip cef vrf Entries ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${TYPE}\s*$$ + ^${PREFIX}\s+${ETYPE}\s*$$ ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s*$$ diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 22c3e7f60a..03ed6776ea 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -2,70 +2,70 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index c4e91ff8d9..8098c75199 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -2,76 +2,76 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] - type: "" + etype: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 40603ee38e..d024ca7b5e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -2,70 +2,70 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] - type: "" + etype: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index ecd9c73cbb..6f6c5aac11 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -2,31 +2,31 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index e0fc637538..d1c29c7d5b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -2,24 +2,24 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - type: "" + etype: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -28,51 +28,51 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" flags: [] - type: "" + etype: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 4b71469b68..6abf697360 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -2,41 +2,41 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "no route" + etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 8081991696..adaa170c48 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "172.17.40.1" interface: @@ -31,14 +31,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" @@ -46,14 +46,14 @@ parsed_sample: flags: - "receive" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" @@ -63,14 +63,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Tunnel0" @@ -78,29 +78,29 @@ parsed_sample: flags: - "receive" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c967bdcfd6..abb38c5b3b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -4,26 +4,26 @@ parsed_sample: flags: - "cached adjacency 199.220.235.181" - "recursive" - type: "cached" + etype: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "10.158.0.0/19" flags: [] - type: "null" + etype: "null" nexthop: - "0.0.0.0" interface: @@ -31,7 +31,7 @@ parsed_sample: - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" - type: "cached" + etype: "cached" nexthop: - "10.158.0.209" interface: @@ -39,35 +39,35 @@ parsed_sample: - prefix: "10.158.0.208/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" - type: "glean" + etype: "glean" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" - type: "cached" + etype: "cached" nexthop: - "199.220.235.181" interface: @@ -75,18 +75,18 @@ parsed_sample: - prefix: "224.0.0.0/24" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 8d1af45bc7..d0dfb5df1e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -5,25 +5,25 @@ parsed_sample: - "rib only nolabel" - "rib defined all labels" - "default route" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.180.150.33" interface: @@ -32,7 +32,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: @@ -40,7 +40,7 @@ parsed_sample: - prefix: "10.180.140.153/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" @@ -48,7 +48,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: [] interface: - "Null0" @@ -59,7 +59,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback180" @@ -69,21 +69,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1822" @@ -92,7 +92,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1822" @@ -100,7 +100,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: @@ -109,29 +109,29 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: [] interface: - "Null0" - prefix: "224.0.0.0/4" flags: [] - type: "multicast" + etype: "multicast" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index c6f39dac30..4a7ee34243 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.158.0.198" interface: @@ -31,43 +31,43 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index 3f3af0a443..1a8ad67319 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -3,25 +3,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: - "default route" - type: "nexthop" + etype: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -30,7 +30,7 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.255.1.1" interface: @@ -41,21 +41,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1" @@ -64,7 +64,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1" @@ -75,7 +75,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback180" @@ -84,30 +84,30 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml index 65b06cc77f..85a797a48b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -4,44 +4,44 @@ parsed_sample: flags: - "default route handler" - "default route" - type: "no route" + etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] From 49e4b39cfe0217b2b9ad61ca94151684c1fdd73a Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Wed, 13 May 2020 23:59:10 +0100 Subject: [PATCH 043/412] Added support for Cisco IOS traceroute command This template can parse 'numeric' and 'non-numeric' versions of the output, including extra details, such as MPLS Exp bits, ASNs and MPLS labels (if available) Supports up to 10 probes per hop Captures RTT, or fault reason per probe/per hop Excessive probes per hop (11th and above) are ignored --- templates/cisco_ios_traceroute.textfsm | 44 ++ templates/index | 1 + .../traceroute/cisco_ios_traceroute_1.raw | 8 + .../traceroute/cisco_ios_traceroute_1.yml | 35 ++ .../traceroute/cisco_ios_traceroute_2.raw | 24 + .../traceroute/cisco_ios_traceroute_2.yml | 146 ++++++ .../traceroute/cisco_ios_traceroute_3.raw | 52 ++ .../traceroute/cisco_ios_traceroute_3.yml | 467 ++++++++++++++++++ .../traceroute/cisco_ios_traceroute_4.raw | 19 + .../traceroute/cisco_ios_traceroute_4.yml | 98 ++++ .../traceroute/cisco_ios_traceroute_5.raw | 33 ++ .../traceroute/cisco_ios_traceroute_5.yml | 182 +++++++ .../traceroute/cisco_ios_traceroute_dns.raw | 17 + .../traceroute/cisco_ios_traceroute_dns.yml | 102 ++++ .../traceroute/cisco_ios_traceroute_ip.raw | 28 ++ .../traceroute/cisco_ios_traceroute_ip.yml | 167 +++++++ 16 files changed, 1423 insertions(+) create mode 100644 templates/cisco_ios_traceroute.textfsm create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml diff --git a/templates/cisco_ios_traceroute.textfsm b/templates/cisco_ios_traceroute.textfsm new file mode 100644 index 0000000000..e77d3dab74 --- /dev/null +++ b/templates/cisco_ios_traceroute.textfsm @@ -0,0 +1,44 @@ +Value Required,Filldown HOP_NUM (\d+) +Value ADDRESS ((?:\d{1,3}\.){3}\d{1,3}) +Value FQDN (\S+) +# Captures RTT (in milliseconds), or faults, like +# - * (probe timed out) +# - !H (destination host unreachable) +# - !N (destination network unreachable) +# - !P (destination protocol unreachable) +# - !A (administratively prohibited, aka ACL deny) +# - !Q (source quench, aka destination too busy) +# - !I (user interrupted test) +# - !T (timeout) +# - ? (unknown packet type) +Value List RTT_RESPONSE (\d+(?=\s+msec)|![A-Z]|\*|\?) +# Some intermediate devices provide additional information, such as +# - ASN +# - MPLS Exp Bits / Labels +# This is captured into details field +Value DETAILS (.*) + +Start + ^Type\s+escape + ^Tracing\s+the\s+route + ^VRF\s+info: -> Entries + ^\s*$$ + ^.*$$ -> Error + +Entries + ^\s+${HOP_NUM}\s+ -> Continue + ^.*?${FQDN}\s+\(${ADDRESS}\)\s+(?:\[${DETAILS}\])? -> Continue + ^.*?${ADDRESS}\s+(?:\[${DETAILS}\])? -> Continue + ^.*?${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){1}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){2}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){3}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){4}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){5}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){6}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){7}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){8}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){9}${RTT_RESPONSE} -> Continue + ^.* -> Record + +EOF \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..9fd36b1e21 100644 --- a/templates/index +++ b/templates/index @@ -215,6 +215,7 @@ cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp cisco_ios_show_tacacs.textfsm, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.textfsm, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_dmvpn.textfsm, .*, cisco_ios, sh[[ow]] dm[[vpn]] +cisco_ios_traceroute.textfsm, .*, cisco_ios, tr[[aceroute]] cisco_ios_show_boot.textfsm, .*, cisco_ios, sh[[ow]] boot cisco_ios_show_vlan.textfsm, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.textfsm, .*, cisco_ios, sh[[ow]] vrf diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw new file mode 100644 index 0000000000..7d1b1db5e6 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw @@ -0,0 +1,8 @@ +Type escape sequence to abort. +Tracing the route to 10.133.2.1 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.180.133.121 1 msec + 10.180.133.125 1 msec + 10.180.133.121 0 msec + 10.180.133.125 2 msec + 2 10.180.133.177 1 msec * 2 msec * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml new file mode 100644 index 0000000000..bf0b8a719b --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.180.133.121" + nh_hostname: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + nh_address: "10.180.133.125" + nh_hostname: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + nh_address: "10.180.133.121" + nh_hostname: "" + rtt_response: + - "0" + details: "" + - hop_num: "1" + nh_address: "10.180.133.125" + nh_hostname: "" + rtt_response: + - "2" + details: "" + - hop_num: "2" + nh_address: "10.180.133.177" + nh_hostname: "" + rtt_response: + - "1" + - "*" + - "2" + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw new file mode 100644 index 0000000000..fe03d80266 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw @@ -0,0 +1,24 @@ +Type escape sequence to abort. +Tracing the route to 10.225.2.1 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.180.140.150 1 msec 1 msec 1 msec + 2 172.17.10.225 169 msec 142 msec 135 msec + 3 108.170.246.129 13 msec * * * * * * * * * + 4 74.125.242.97 14 msec + 216.239.63.218 12 msec + 172.253.68.212 13 msec + 74.125.242.97 13 msec + 216.239.56.192 13 msec + 74.125.242.97 13 msec + 108.170.238.117 13 msec + 216.239.58.220 13 msec + 74.125.242.97 13 msec 13 msec + 5 216.58.204.46 13 msec + 74.125.242.115 12 msec + 74.125.242.114 15 msec + 108.170.238.117 12 msec + 108.170.238.119 13 msec + 74.125.242.83 12 msec 12 msec 13 msec + 74.125.242.82 12 msec + 108.170.238.117 14 msec + 6 172.17.10.225 !H * !H \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml new file mode 100644 index 0000000000..dbbe7bd182 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.180.140.150" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "172.17.10.225" + nh_hostname: "" + rtt_response: + - "169" + - "142" + - "135" + details: "" + - hop_num: "3" + nh_address: "108.170.246.129" + nh_hostname: "" + rtt_response: + - "13" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "4" + nh_address: "216.239.63.218" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "4" + nh_address: "172.253.68.212" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "216.239.56.192" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "216.239.58.220" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + - "13" + details: "" + - hop_num: "5" + nh_address: "216.58.204.46" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.115" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "74.125.242.114" + nh_hostname: "" + rtt_response: + - "15" + details: "" + - hop_num: "5" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "108.170.238.119" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.83" + nh_hostname: "" + rtt_response: + - "12" + - "12" + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "6" + nh_address: "172.17.10.225" + nh_hostname: "" + rtt_response: + - "!H" + - "*" + - "!H" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw new file mode 100644 index 0000000000..691cc6eb0e --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw @@ -0,0 +1,52 @@ +Type escape sequence to abort. +Tracing the route to dns.google (8.8.8.8) +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 2 msec 1 msec 1 msec 2 msec 1 msec 1 msec 1 msec 1 msec 1 msec 1 msec + 2 10.255.0.5 1 msec 1 msec 1 msec 0 msec 1 msec 0 msec 1 msec 0 msec 0 msec 1 msec + 3 192.168.1.254 1 msec 1 msec 1 msec 1 msec 1 msec 1 msec * 1 msec * 1 msec + 4 * * * * * * * * * * + 5 * * * * * * * * * + 31.55.185.181 12 msec + 6 31.55.185.188 16 msec 18 msec 12 msec 13 msec 12 msec 11 msec 12 msec 17 msec 12 msec 12 msec + 7 core2-hu0-8-0-1.colindale.ukcore.bt.net (195.99.127.152) 11 msec + core1-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.214) 11 msec + core2-hu0-16-0-8.colindale.ukcore.bt.net (213.121.192.44) 13 msec 13 msec + core1-hu0-16-0-7.colindale.ukcore.bt.net (213.121.192.18) 11 msec + core2-hu0-16-0-8.colindale.ukcore.bt.net (213.121.192.44) 11 msec + core1-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.214) 12 msec + core1-hu0-17-0-5.colindale.ukcore.bt.net (195.99.127.150) 12 msec + core2-hu0-6-0-6.colindale.ukcore.bt.net (213.121.192.24) 12 msec + core1-hu0-15-0-9.colindale.ukcore.bt.net (213.121.192.14) 11 msec + 8 peer3-et-0-0-1.redbus.ukcore.bt.net (62.172.103.238) 12 msec + peer7-et-4-0-1.telehouse.ukcore.bt.net (194.72.16.122) 14 msec + core2-hu0-7-0-0.colindale.ukcore.bt.net (194.72.16.128) 12 msec + peer8-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.150) 12 msec + 194.72.16.230 12 msec + peer2-et-3-0-4.slough.ukcore.bt.net (109.159.252.122) 17 msec + peer3-et-0-0-1.redbus.ukcore.bt.net (62.172.103.238) 17 msec + 194.72.16.190 12 msec + peer7-et-0-0-1.telehouse.ukcore.bt.net (62.172.103.158) 12 msec + peer8-et-7-0-1.telehouse.ukcore.bt.net (109.159.252.104) 12 msec + 9 109.159.253.189 12 msec + peer5-te0-0-0-32.telehouse.ukcore.bt.net (195.99.126.77) 12 msec + 109.159.253.73 12 msec + 109.159.253.237 13 msec + peer5-te0-0-0-32.telehouse.ukcore.bt.net (195.99.126.77) 13 msec + 109.159.253.3 12 msec + 109.159.253.219 11 msec + 109.159.253.237 12 msec + 109.159.253.187 13 msec + 109.159.253.75 12 msec + 10 * * * * * * * * * * + 11 * * * * * * * * * * + 12 * * * * * * * * * * + 13 * * * * * * * * * * + 14 * * * * * * * * * * + 15 * * * * * * * * * * + 16 * * * * * * * * * * + 17 * * * * * * * * * * + 18 * * * * * * * * * * + 19 * * * * * * * * * * + 20 * * * * * * * * * * + 21 * * * * * * * * * * + 22 * * * * * * * * * * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml new file mode 100644 index 0000000000..41aff3f417 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml @@ -0,0 +1,467 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.255.1.1" + nh_hostname: "" + rtt_response: + - "2" + - "1" + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "10.255.0.5" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + - "0" + - "1" + - "0" + - "1" + - "0" + - "0" + - "1" + details: "" + - hop_num: "3" + nh_address: "192.168.1.254" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "*" + - "1" + - "*" + - "1" + details: "" + - hop_num: "4" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "31.55.185.181" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "6" + nh_address: "31.55.185.188" + nh_hostname: "" + rtt_response: + - "16" + - "18" + - "12" + - "13" + - "12" + - "11" + - "12" + - "17" + - "12" + - "12" + details: "" + - hop_num: "7" + nh_address: "195.99.127.152" + nh_hostname: "core2-hu0-8-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.214" + nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.44" + nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + rtt_response: + - "13" + - "13" + details: "" + - hop_num: "7" + nh_address: "213.121.192.18" + nh_hostname: "core1-hu0-16-0-7.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.44" + nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.214" + nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "195.99.127.150" + nh_hostname: "core1-hu0-17-0-5.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "213.121.192.24" + nh_hostname: "core2-hu0-6-0-6.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "213.121.192.14" + nh_hostname: "core1-hu0-15-0-9.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "8" + nh_address: "62.172.103.238" + nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "194.72.16.122" + nh_hostname: "peer7-et-4-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "14" + details: "" + - hop_num: "8" + nh_address: "194.72.16.128" + nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.150" + nh_hostname: "peer8-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "194.72.16.230" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.122" + nh_hostname: "peer2-et-3-0-4.slough.ukcore.bt.net" + rtt_response: + - "17" + details: "" + - hop_num: "8" + nh_address: "62.172.103.238" + nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + rtt_response: + - "17" + details: "" + - hop_num: "8" + nh_address: "194.72.16.190" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "62.172.103.158" + nh_hostname: "peer7-et-0-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.104" + nh_hostname: "peer8-et-7-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.189" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "195.99.126.77" + nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.73" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.237" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "195.99.126.77" + nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "109.159.253.3" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.219" + nh_hostname: "" + rtt_response: + - "11" + details: "" + - hop_num: "9" + nh_address: "109.159.253.237" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.187" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "109.159.253.75" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "10" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "11" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "12" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "13" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "14" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "15" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "16" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "17" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "18" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "19" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "20" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "21" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "22" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw new file mode 100644 index 0000000000..8e6d929057 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw @@ -0,0 +1,19 @@ +Type escape sequence to abort. +Tracing the route to nv1.nv.ua (51.89.96.192) +VRF info: (vrf in name/id, vrf out name/id) + 0 10.255.1.1 1 msec + 1 10.255.1.1 1 msec + 2 10.255.0.5 1 msec + 3 192.168.1.254 1 msec + 4 * + 5 * + 6 31.55.185.184 12 msec + 7 core2-hu0-2-0-1.colindale.ukcore.bt.net (195.99.127.112) 12 msec + 8 peer7-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.148) 12 msec + 9 ldn-1-a9.uk.eu (54.36.50.112) 12 msec + 10 be101.lon1-eri1-g1-nc5.uk.eu (213.186.32.253) 12 msec + 11 be7.lon1-eri1-vac1-a75.uk.eu (188.165.9.95) 12 msec + 12 * + 13 * + 14 * + 15 * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml new file mode 100644 index 0000000000..6abfdb7310 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - hop_num: "0" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "2" + address: "10.255.0.5" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "3" + address: "192.168.1.254" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "4" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "5" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "6" + address: "31.55.185.184" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "7" + address: "195.99.127.112" + fqdn: "core2-hu0-2-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + address: "109.159.252.148" + fqdn: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + address: "54.36.50.112" + fqdn: "ldn-1-a9.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "10" + address: "213.186.32.253" + fqdn: "be101.lon1-eri1-g1-nc5.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "11" + address: "188.165.9.95" + fqdn: "be7.lon1-eri1-vac1-a75.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "12" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "13" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "14" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "15" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw new file mode 100644 index 0000000000..36a6514618 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw @@ -0,0 +1,33 @@ +Type escape sequence to abort. +Tracing the route to 39.156.69.79 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 1 msec + 2 10.255.0.5 0 msec + 3 192.168.1.254 1 msec + 4 * + 5 * + 6 31.55.185.176 11 msec + 7 core2-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.118) 12 msec + 8 109.159.252.132 12 msec + 9 166-49-128-32.gia.bt.net (166.49.128.32) 11 msec + 10 212.119.4.136 12 msec + 11 ae-0.r24.londen12.uk.bb.gin.ntt.net (129.250.4.140) [MPLS: Label 316962 Exp 0] 15 msec + 12 ae-7.r21.sngpsi07.sg.bb.gin.ntt.net (129.250.7.65) [MPLS: Labels 577687/617891 Exp 0] 166 msec + 13 ae-7.r20.sngpsi07.sg.bb.gin.ntt.net (129.250.3.74) [MPLS: Labels 408375/617891 Exp 0] 196 msec + 14 ae-9.r24.tkokhk01.hk.bb.gin.ntt.net (129.250.7.67) [MPLS: Label 617891 Exp 0] 233 msec + 15 ae-1.r03.tkokhk01.hk.bb.gin.ntt.net (129.250.6.98) 216 msec + 16 ce-0-2-0-3.r03.tkokhk01.hk.ce.gin.ntt.net (203.131.241.86) 217 msec + 17 223.120.2.53 236 msec + 18 223.120.2.6 237 msec + 19 221.183.68.125 223 msec + 20 221.183.25.122 221 msec + 21 221.183.68.146 219 msec + 22 * + 23 221.183.62.138 202 msec + 24 * + 25 39.156.27.1 207 msec + 26 * + 27 * + 28 * + 29 * + 30 * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml new file mode 100644 index 0000000000..7ab6d0e9a0 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - hop_num: "1" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "2" + address: "10.255.0.5" + fqdn: "" + rtt_response: + - "0" + details: "" + - hop_num: "3" + address: "192.168.1.254" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "4" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "5" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "6" + address: "31.55.185.176" + fqdn: "" + rtt_response: + - "11" + details: "" + - hop_num: "7" + address: "195.99.127.118" + fqdn: "core2-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + address: "109.159.252.132" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + address: "166.49.128.32" + fqdn: "166-49-128-32.gia.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "10" + address: "212.119.4.136" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + address: "129.250.4.140" + fqdn: "ae-0.r24.londen12.uk.bb.gin.ntt.net" + rtt_response: + - "15" + details: "MPLS: Label 316962 Exp 0" + - hop_num: "12" + address: "129.250.7.65" + fqdn: "ae-7.r21.sngpsi07.sg.bb.gin.ntt.net" + rtt_response: + - "166" + details: "MPLS: Labels 577687/617891 Exp 0" + - hop_num: "13" + address: "129.250.3.74" + fqdn: "ae-7.r20.sngpsi07.sg.bb.gin.ntt.net" + rtt_response: + - "196" + details: "MPLS: Labels 408375/617891 Exp 0" + - hop_num: "14" + address: "129.250.7.67" + fqdn: "ae-9.r24.tkokhk01.hk.bb.gin.ntt.net" + rtt_response: + - "233" + details: "MPLS: Label 617891 Exp 0" + - hop_num: "15" + address: "129.250.6.98" + fqdn: "ae-1.r03.tkokhk01.hk.bb.gin.ntt.net" + rtt_response: + - "216" + details: "" + - hop_num: "16" + address: "203.131.241.86" + fqdn: "ce-0-2-0-3.r03.tkokhk01.hk.ce.gin.ntt.net" + rtt_response: + - "217" + details: "" + - hop_num: "17" + address: "223.120.2.53" + fqdn: "" + rtt_response: + - "236" + details: "" + - hop_num: "18" + address: "223.120.2.6" + fqdn: "" + rtt_response: + - "237" + details: "" + - hop_num: "19" + address: "221.183.68.125" + fqdn: "" + rtt_response: + - "223" + details: "" + - hop_num: "20" + address: "221.183.25.122" + fqdn: "" + rtt_response: + - "221" + details: "" + - hop_num: "21" + address: "221.183.68.146" + fqdn: "" + rtt_response: + - "219" + details: "" + - hop_num: "22" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "23" + address: "221.183.62.138" + fqdn: "" + rtt_response: + - "202" + details: "" + - hop_num: "24" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "25" + address: "39.156.27.1" + fqdn: "" + rtt_response: + - "207" + details: "" + - hop_num: "26" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "27" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "28" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "29" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "30" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw new file mode 100644 index 0000000000..a0480720be --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw @@ -0,0 +1,17 @@ +Type escape sequence to abort. +Tracing the route to one.one.one.one (1.1.1.1) +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 2 msec 1 msec 1 msec + 2 10.255.0.5 1 msec 1 msec 1 msec + 3 192.168.1.254 1 msec 1 msec 1 msec + 4 * * * + 5 * * * + 6 31.55.185.188 12 msec 12 msec 11 msec + 7 core1-hu0-16-0-9.colindale.ukcore.bt.net (213.121.192.22) 11 msec + core2-hu0-17-0-1.colindale.ukcore.bt.net (195.99.127.156) 11 msec + core2-hu0-15-0-6.colindale.ukcore.bt.net (213.121.192.32) 12 msec + 8 peer7-et-0-1-6.telehouse.ukcore.bt.net (109.159.252.166) 12 msec + peer7-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.148) 11 msec + core2-hu0-7-0-0.colindale.ukcore.bt.net (194.72.16.128) 11 msec + 9 109.159.253.95 15 msec 14 msec 13 msec + 10 one.one.one.one (1.1.1.1) 11 msec 14 msec 12 msec \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml new file mode 100644 index 0000000000..7898c0b470 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.255.1.1" + nh_hostname: "" + rtt_response: + - "2" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "10.255.0.5" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "3" + nh_address: "192.168.1.254" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "4" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + details: "" + - hop_num: "6" + nh_address: "31.55.185.188" + nh_hostname: "" + rtt_response: + - "12" + - "12" + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.22" + nh_hostname: "core1-hu0-16-0-9.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.156" + nh_hostname: "core2-hu0-17-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.32" + nh_hostname: "core2-hu0-15-0-6.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.166" + nh_hostname: "peer7-et-0-1-6.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.148" + nh_hostname: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "8" + nh_address: "194.72.16.128" + nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "9" + nh_address: "109.159.253.95" + nh_hostname: "" + rtt_response: + - "15" + - "14" + - "13" + details: "" + - hop_num: "10" + nh_address: "1.1.1.1" + nh_hostname: "one.one.one.one" + rtt_response: + - "11" + - "14" + - "12" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw new file mode 100644 index 0000000000..48db9827ca --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw @@ -0,0 +1,28 @@ +Type escape sequence to abort. +Tracing the route to ams16s22-in-f14.1e100.net (216.58.212.238) +VRF info: (vrf in name/id, vrf out name/id) + 10 * * * * * * * * * * + 11 74.125.242.97 13 msec + 108.170.232.104 15 msec + 64.233.175.90 11 msec + 74.125.242.97 12 msec 22 msec 13 msec + 172.253.71.188 12 msec + 172.253.66.98 12 msec + 74.125.242.97 14 msec + 172.253.71.198 12 msec + 12 74.125.242.114 12 msec + 74.125.242.115 12 msec + 74.125.242.82 12 msec 12 msec + 216.239.63.219 14 msec 12 msec 12 msec + 74.125.242.82 12 msec + 216.239.63.219 14 msec + 216.239.41.241 14 msec + 13 ams16s22-in-f14.1e100.net (216.58.212.238) 13 msec + 209.85.241.211 [MPLS: Label 216928 Exp 4] 15 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 11 msec 12 msec + 216.239.59.77 [MPLS: Label 38369 Exp 4] 14 msec + 209.85.241.211 [MPLS: Label 216928 Exp 4] 15 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 12 msec + 209.85.250.185 [MPLS: Label 27488 Exp 4] 13 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 11 msec + 216.239.58.131 [MPLS: Label 36671 Exp 4] 13 msec \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml new file mode 100644 index 0000000000..dfc045e24e --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml @@ -0,0 +1,167 @@ +--- +parsed_sample: + - hop_num: "10" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "11" + nh_address: "108.170.232.104" + nh_hostname: "" + rtt_response: + - "15" + details: "" + - hop_num: "11" + nh_address: "64.233.175.90" + nh_hostname: "" + rtt_response: + - "11" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "12" + - "22" + - "13" + details: "" + - hop_num: "11" + nh_address: "172.253.71.188" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + nh_address: "172.253.66.98" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "11" + nh_address: "172.253.71.198" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.114" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.115" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + - "12" + details: "" + - hop_num: "12" + nh_address: "216.239.63.219" + nh_hostname: "" + rtt_response: + - "14" + - "12" + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "216.239.63.219" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "12" + nh_address: "216.239.41.241" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "13" + details: "" + - hop_num: "13" + nh_address: "209.85.241.211" + nh_hostname: "" + rtt_response: + - "15" + details: "MPLS: Label 216928 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "11" + - "12" + details: "" + - hop_num: "13" + nh_address: "216.239.59.77" + nh_hostname: "" + rtt_response: + - "14" + details: "MPLS: Label 38369 Exp 4" + - hop_num: "13" + nh_address: "209.85.241.211" + nh_hostname: "" + rtt_response: + - "15" + details: "MPLS: Label 216928 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "12" + details: "" + - hop_num: "13" + nh_address: "209.85.250.185" + nh_hostname: "" + rtt_response: + - "13" + details: "MPLS: Label 27488 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "11" + details: "" + - hop_num: "13" + nh_address: "216.239.58.131" + nh_hostname: "" + rtt_response: + - "13" + details: "MPLS: Label 36671 Exp 4" From 054bc68fdcb3bfb5dbc3fe4c87602f1792b50c6d Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Fri, 15 May 2020 23:29:03 +0100 Subject: [PATCH 044/412] Re-run tests against raw files --- .../traceroute/cisco_ios_traceroute_1.yml | 20 +- .../traceroute/cisco_ios_traceroute_2.yml | 84 ++++---- .../traceroute/cisco_ios_traceroute_3.yml | 196 +++++++++--------- .../traceroute/cisco_ios_traceroute_dns.yml | 56 ++--- .../traceroute/cisco_ios_traceroute_ip.yml | 100 ++++----- 5 files changed, 228 insertions(+), 228 deletions(-) diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml index bf0b8a719b..869fabfb2e 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml @@ -1,32 +1,32 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.180.133.121" - nh_hostname: "" + address: "10.180.133.121" + fqdn: "" rtt_response: - "1" details: "" - hop_num: "1" - nh_address: "10.180.133.125" - nh_hostname: "" + address: "10.180.133.125" + fqdn: "" rtt_response: - "1" details: "" - hop_num: "1" - nh_address: "10.180.133.121" - nh_hostname: "" + address: "10.180.133.121" + fqdn: "" rtt_response: - "0" details: "" - hop_num: "1" - nh_address: "10.180.133.125" - nh_hostname: "" + address: "10.180.133.125" + fqdn: "" rtt_response: - "2" details: "" - hop_num: "2" - nh_address: "10.180.133.177" - nh_hostname: "" + address: "10.180.133.177" + fqdn: "" rtt_response: - "1" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml index dbbe7bd182..67217b66e9 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml @@ -1,24 +1,24 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.180.140.150" - nh_hostname: "" + address: "10.180.140.150" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "2" - nh_address: "172.17.10.225" - nh_hostname: "" + address: "172.17.10.225" + fqdn: "" rtt_response: - "169" - "142" - "135" details: "" - hop_num: "3" - nh_address: "108.170.246.129" - nh_hostname: "" + address: "108.170.246.129" + fqdn: "" rtt_response: - "13" - "*" @@ -32,113 +32,113 @@ parsed_sample: - "*" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "4" - nh_address: "216.239.63.218" - nh_hostname: "" + address: "216.239.63.218" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "4" - nh_address: "172.253.68.212" - nh_hostname: "" + address: "172.253.68.212" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "216.239.56.192" - nh_hostname: "" + address: "216.239.56.192" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "216.239.58.220" - nh_hostname: "" + address: "216.239.58.220" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" - "13" details: "" - hop_num: "5" - nh_address: "216.58.204.46" - nh_hostname: "" + address: "216.58.204.46" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.115" - nh_hostname: "" + address: "74.125.242.115" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "74.125.242.114" - nh_hostname: "" + address: "74.125.242.114" + fqdn: "" rtt_response: - "15" details: "" - hop_num: "5" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "108.170.238.119" - nh_hostname: "" + address: "108.170.238.119" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.83" - nh_hostname: "" + address: "74.125.242.83" + fqdn: "" rtt_response: - "12" - "12" - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "6" - nh_address: "172.17.10.225" - nh_hostname: "" + address: "172.17.10.225" + fqdn: "" rtt_response: - "!H" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml index 41aff3f417..38fefbfce3 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml @@ -1,8 +1,8 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.255.1.1" - nh_hostname: "" + address: "10.255.1.1" + fqdn: "" rtt_response: - "2" - "1" @@ -16,8 +16,8 @@ parsed_sample: - "1" details: "" - hop_num: "2" - nh_address: "10.255.0.5" - nh_hostname: "" + address: "10.255.0.5" + fqdn: "" rtt_response: - "1" - "1" @@ -31,8 +31,8 @@ parsed_sample: - "1" details: "" - hop_num: "3" - nh_address: "192.168.1.254" - nh_hostname: "" + address: "192.168.1.254" + fqdn: "" rtt_response: - "1" - "1" @@ -46,8 +46,8 @@ parsed_sample: - "1" details: "" - hop_num: "4" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -61,8 +61,8 @@ parsed_sample: - "*" details: "" - hop_num: "5" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -75,14 +75,14 @@ parsed_sample: - "*" details: "" - hop_num: "5" - nh_address: "31.55.185.181" - nh_hostname: "" + address: "31.55.185.181" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "6" - nh_address: "31.55.185.188" - nh_hostname: "" + address: "31.55.185.188" + fqdn: "" rtt_response: - "16" - "18" @@ -96,183 +96,183 @@ parsed_sample: - "12" details: "" - hop_num: "7" - nh_address: "195.99.127.152" - nh_hostname: "core2-hu0-8-0-1.colindale.ukcore.bt.net" + address: "195.99.127.152" + fqdn: "core2-hu0-8-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.214" - nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + address: "195.99.127.214" + fqdn: "core1-hu0-12-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.44" - nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + address: "213.121.192.44" + fqdn: "core2-hu0-16-0-8.colindale.ukcore.bt.net" rtt_response: - "13" - "13" details: "" - hop_num: "7" - nh_address: "213.121.192.18" - nh_hostname: "core1-hu0-16-0-7.colindale.ukcore.bt.net" + address: "213.121.192.18" + fqdn: "core1-hu0-16-0-7.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.44" - nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + address: "213.121.192.44" + fqdn: "core2-hu0-16-0-8.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.214" - nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + address: "195.99.127.214" + fqdn: "core1-hu0-12-0-1.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "195.99.127.150" - nh_hostname: "core1-hu0-17-0-5.colindale.ukcore.bt.net" + address: "195.99.127.150" + fqdn: "core1-hu0-17-0-5.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "213.121.192.24" - nh_hostname: "core2-hu0-6-0-6.colindale.ukcore.bt.net" + address: "213.121.192.24" + fqdn: "core2-hu0-6-0-6.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "213.121.192.14" - nh_hostname: "core1-hu0-15-0-9.colindale.ukcore.bt.net" + address: "213.121.192.14" + fqdn: "core1-hu0-15-0-9.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "8" - nh_address: "62.172.103.238" - nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + address: "62.172.103.238" + fqdn: "peer3-et-0-0-1.redbus.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "194.72.16.122" - nh_hostname: "peer7-et-4-0-1.telehouse.ukcore.bt.net" + address: "194.72.16.122" + fqdn: "peer7-et-4-0-1.telehouse.ukcore.bt.net" rtt_response: - "14" details: "" - hop_num: "8" - nh_address: "194.72.16.128" - nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + address: "194.72.16.128" + fqdn: "core2-hu0-7-0-0.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.150" - nh_hostname: "peer8-et-0-1-1.telehouse.ukcore.bt.net" + address: "109.159.252.150" + fqdn: "peer8-et-0-1-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "194.72.16.230" - nh_hostname: "" + address: "194.72.16.230" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.122" - nh_hostname: "peer2-et-3-0-4.slough.ukcore.bt.net" + address: "109.159.252.122" + fqdn: "peer2-et-3-0-4.slough.ukcore.bt.net" rtt_response: - "17" details: "" - hop_num: "8" - nh_address: "62.172.103.238" - nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + address: "62.172.103.238" + fqdn: "peer3-et-0-0-1.redbus.ukcore.bt.net" rtt_response: - "17" details: "" - hop_num: "8" - nh_address: "194.72.16.190" - nh_hostname: "" + address: "194.72.16.190" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "62.172.103.158" - nh_hostname: "peer7-et-0-0-1.telehouse.ukcore.bt.net" + address: "62.172.103.158" + fqdn: "peer7-et-0-0-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.104" - nh_hostname: "peer8-et-7-0-1.telehouse.ukcore.bt.net" + address: "109.159.252.104" + fqdn: "peer8-et-7-0-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.189" - nh_hostname: "" + address: "109.159.253.189" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "195.99.126.77" - nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + address: "195.99.126.77" + fqdn: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.73" - nh_hostname: "" + address: "109.159.253.73" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.237" - nh_hostname: "" + address: "109.159.253.237" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "195.99.126.77" - nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + address: "195.99.126.77" + fqdn: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "109.159.253.3" - nh_hostname: "" + address: "109.159.253.3" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.219" - nh_hostname: "" + address: "109.159.253.219" + fqdn: "" rtt_response: - "11" details: "" - hop_num: "9" - nh_address: "109.159.253.237" - nh_hostname: "" + address: "109.159.253.237" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.187" - nh_hostname: "" + address: "109.159.253.187" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "109.159.253.75" - nh_hostname: "" + address: "109.159.253.75" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "10" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -286,8 +286,8 @@ parsed_sample: - "*" details: "" - hop_num: "11" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -301,8 +301,8 @@ parsed_sample: - "*" details: "" - hop_num: "12" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -316,8 +316,8 @@ parsed_sample: - "*" details: "" - hop_num: "13" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -331,8 +331,8 @@ parsed_sample: - "*" details: "" - hop_num: "14" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -346,8 +346,8 @@ parsed_sample: - "*" details: "" - hop_num: "15" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -361,8 +361,8 @@ parsed_sample: - "*" details: "" - hop_num: "16" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -376,8 +376,8 @@ parsed_sample: - "*" details: "" - hop_num: "17" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -391,8 +391,8 @@ parsed_sample: - "*" details: "" - hop_num: "18" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -406,8 +406,8 @@ parsed_sample: - "*" details: "" - hop_num: "19" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -421,8 +421,8 @@ parsed_sample: - "*" details: "" - hop_num: "20" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -436,8 +436,8 @@ parsed_sample: - "*" details: "" - hop_num: "21" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -451,8 +451,8 @@ parsed_sample: - "*" details: "" - hop_num: "22" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml index 7898c0b470..96f1712112 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml @@ -1,100 +1,100 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.255.1.1" - nh_hostname: "" + address: "10.255.1.1" + fqdn: "" rtt_response: - "2" - "1" - "1" details: "" - hop_num: "2" - nh_address: "10.255.0.5" - nh_hostname: "" + address: "10.255.0.5" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "3" - nh_address: "192.168.1.254" - nh_hostname: "" + address: "192.168.1.254" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "4" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" - "*" details: "" - hop_num: "5" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" - "*" details: "" - hop_num: "6" - nh_address: "31.55.185.188" - nh_hostname: "" + address: "31.55.185.188" + fqdn: "" rtt_response: - "12" - "12" - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.22" - nh_hostname: "core1-hu0-16-0-9.colindale.ukcore.bt.net" + address: "213.121.192.22" + fqdn: "core1-hu0-16-0-9.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.156" - nh_hostname: "core2-hu0-17-0-1.colindale.ukcore.bt.net" + address: "195.99.127.156" + fqdn: "core2-hu0-17-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.32" - nh_hostname: "core2-hu0-15-0-6.colindale.ukcore.bt.net" + address: "213.121.192.32" + fqdn: "core2-hu0-15-0-6.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.166" - nh_hostname: "peer7-et-0-1-6.telehouse.ukcore.bt.net" + address: "109.159.252.166" + fqdn: "peer7-et-0-1-6.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.148" - nh_hostname: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + address: "109.159.252.148" + fqdn: "peer7-et-0-1-1.telehouse.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "8" - nh_address: "194.72.16.128" - nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + address: "194.72.16.128" + fqdn: "core2-hu0-7-0-0.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "9" - nh_address: "109.159.253.95" - nh_hostname: "" + address: "109.159.253.95" + fqdn: "" rtt_response: - "15" - "14" - "13" details: "" - hop_num: "10" - nh_address: "1.1.1.1" - nh_hostname: "one.one.one.one" + address: "1.1.1.1" + fqdn: "one.one.one.one" rtt_response: - "11" - "14" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml index dfc045e24e..e54e1779d6 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml @@ -1,8 +1,8 @@ --- parsed_sample: - hop_num: "10" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -16,152 +16,152 @@ parsed_sample: - "*" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "11" - nh_address: "108.170.232.104" - nh_hostname: "" + address: "108.170.232.104" + fqdn: "" rtt_response: - "15" details: "" - hop_num: "11" - nh_address: "64.233.175.90" - nh_hostname: "" + address: "64.233.175.90" + fqdn: "" rtt_response: - "11" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "12" - "22" - "13" details: "" - hop_num: "11" - nh_address: "172.253.71.188" - nh_hostname: "" + address: "172.253.71.188" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "11" - nh_address: "172.253.66.98" - nh_hostname: "" + address: "172.253.66.98" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "11" - nh_address: "172.253.71.198" - nh_hostname: "" + address: "172.253.71.198" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.114" - nh_hostname: "" + address: "74.125.242.114" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.115" - nh_hostname: "" + address: "74.125.242.115" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" - "12" details: "" - hop_num: "12" - nh_address: "216.239.63.219" - nh_hostname: "" + address: "216.239.63.219" + fqdn: "" rtt_response: - "14" - "12" - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "216.239.63.219" - nh_hostname: "" + address: "216.239.63.219" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "12" - nh_address: "216.239.41.241" - nh_hostname: "" + address: "216.239.41.241" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "13" details: "" - hop_num: "13" - nh_address: "209.85.241.211" - nh_hostname: "" + address: "209.85.241.211" + fqdn: "" rtt_response: - "15" details: "MPLS: Label 216928 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "11" - "12" details: "" - hop_num: "13" - nh_address: "216.239.59.77" - nh_hostname: "" + address: "216.239.59.77" + fqdn: "" rtt_response: - "14" details: "MPLS: Label 38369 Exp 4" - hop_num: "13" - nh_address: "209.85.241.211" - nh_hostname: "" + address: "209.85.241.211" + fqdn: "" rtt_response: - "15" details: "MPLS: Label 216928 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "12" details: "" - hop_num: "13" - nh_address: "209.85.250.185" - nh_hostname: "" + address: "209.85.250.185" + fqdn: "" rtt_response: - "13" details: "MPLS: Label 27488 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "11" details: "" - hop_num: "13" - nh_address: "216.239.58.131" - nh_hostname: "" + address: "216.239.58.131" + fqdn: "" rtt_response: - "13" details: "MPLS: Label 36671 Exp 4" From 613faf849d846c51bd574ddbcd89a1762158aa9d Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:17:52 -0500 Subject: [PATCH 045/412] update index to support panos_debug_swm_status and add the template file --- templates/index | 1 + templates/paloalto_panos_debug_swm_status.textfsm | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 templates/paloalto_panos_debug_swm_status.textfsm diff --git a/templates/index b/templates/index index 70e7285b8e..393faeb899 100644 --- a/templates/index +++ b/templates/index @@ -384,6 +384,7 @@ paloalto_panos_show_system_info.textfsm, .*, paloalto_panos, sh[[ow]] sys[[tem]] paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/templates/paloalto_panos_debug_swm_status.textfsm new file mode 100644 index 0000000000..8de89bc111 --- /dev/null +++ b/templates/paloalto_panos_debug_swm_status.textfsm @@ -0,0 +1,10 @@ +Value PART (\S+) +Value STATE (\S+) +Value VERSION (\S+) + +Start + ^Partition\s+State\s+Version + ^-+$$ + ^${PART}\s+${STATE}\s+${VERSION} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file From bc0bfbc7cbf3e06d8eb8062e90f440631e15ec04 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:19:06 -0500 Subject: [PATCH 046/412] add new line to template file --- templates/paloalto_panos_debug_swm_status.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/templates/paloalto_panos_debug_swm_status.textfsm index 8de89bc111..d07aade102 100644 --- a/templates/paloalto_panos_debug_swm_status.textfsm +++ b/templates/paloalto_panos_debug_swm_status.textfsm @@ -7,4 +7,4 @@ Start ^-+$$ ^${PART}\s+${STATE}\s+${VERSION} -> Record ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error From 333e486fb0c5909aa20005f6d0f900ae612bd879 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:47:14 -0500 Subject: [PATCH 047/412] update index order for paloalto_panos_debug_swm_status, add test demo data --- templates/index | 3 ++- .../paloalto_panos_debug_swm_status.raw | 6 ++++++ .../debug_swm_status/paloalto_panos_show_arp_all.yml | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw create mode 100644 tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml diff --git a/templates/index b/templates/index index 393faeb899..a256067d6b 100644 --- a/templates/index +++ b/templates/index @@ -380,11 +380,12 @@ paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] paloalto_panos_show_interface_logical.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] paloalto_panos_show_counter_global.textfsm, .*, paloalto_panos, sh[[ow]] coun[[ter]] glo[[bal]] +paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status paloalto_panos_show_system_info.textfsm, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all -paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status + ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw new file mode 100644 index 0000000000..dc6517a766 --- /dev/null +++ b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw @@ -0,0 +1,6 @@ + +Partition State Version +-------------------------------------------------------------------------------- +sysroot0 RUNNING-ACTIVE 9.0.5.xfr +sysroot1 PENDING-CHANGE 9.1.2 +maint READY 9.1.2 diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml b/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml new file mode 100644 index 0000000000..9f1e2be64d --- /dev/null +++ b/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - part: "sysroot0" + state: "RUNNING-ACTIVE" + version: "9.0.5.xfr" + - part: "sysroot1" + state: "PENDING-CHANGE" + version: "9.1.2" + - part: "maint" + state: "READY" + version: "9.1.2" From cc23ee25c9d1c0a5b2a99bfb9303fd0139291c19 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:48:43 -0500 Subject: [PATCH 048/412] remove blank line from index --- templates/index | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/index b/templates/index index a256067d6b..564c0dd34d 100644 --- a/templates/index +++ b/templates/index @@ -386,7 +386,6 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all - ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] From 4a13dd5db327082e57375d0d7f988f43bb3592c1 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:53:32 -0500 Subject: [PATCH 049/412] update test yml for paloalto_panos_debug_swm_status with proper filename --- ...panos_show_arp_all.yml => paloalto_panos_debug_swm_status.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/paloalto_panos/debug_swm_status/{paloalto_panos_show_arp_all.yml => paloalto_panos_debug_swm_status.yml} (100%) diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.yml similarity index 100% rename from tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml rename to tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.yml From 4051fd95372ee344c4f11523370d795b611e91d5 Mon Sep 17 00:00:00 2001 From: corvese Date: Tue, 19 May 2020 16:43:44 -0400 Subject: [PATCH 050/412] New Template: ASA - show_bgp_summary (#696) --- templates/cisco_asa_show_bgp_summary.textfsm | 25 +++++++++++++++++++ templates/index | 1 + .../show_bgp_summary/show_bgp_summary.raw | 15 +++++++++++ .../show_bgp_summary/show_bgp_summary.yml | 14 +++++++++++ 4 files changed, 55 insertions(+) create mode 100644 templates/cisco_asa_show_bgp_summary.textfsm create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml diff --git a/templates/cisco_asa_show_bgp_summary.textfsm b/templates/cisco_asa_show_bgp_summary.textfsm new file mode 100644 index 0000000000..d885dfd2eb --- /dev/null +++ b/templates/cisco_asa_show_bgp_summary.textfsm @@ -0,0 +1,25 @@ +Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) +Value Filldown LOCAL_AS (\d+) +Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value NEIGH_AS (\d+) +Value UP_DOWN (\S+?) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) + +Start + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ + ^BGP\s+table\s+version\s+is\s+\d+,\s+main\s+routing\s+table\s+version\s+\d+\s*$$ + ^\d+\s+network\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+path\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\/\d+\s+BGP\s+path\/bestpath\s+attribute\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+AS-PATH\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+route-map\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+filter-list\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^BGP\s+using\s\d+\s+total\s+bytes\s+of\s+memory\s*$$ + ^BGP\s+activity\s+\d+\/\d+\s+prefixes,\s+\d+\/\d+\s+paths,\s+scan\s+interval\s+\d+\s+secs\s*$$ + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up\/Down\s+State\/PfxRcd + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +EOF \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..941c80cdb7 100644 --- a/templates/index +++ b/templates/index @@ -127,6 +127,7 @@ cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_vpn-sessiondb.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] +cisco_asa_show_bgp_summary.textfsm, .*, cisco_asa, sh[[ow]] bg[[p]] s[[ummary]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.textfsm, .*, cisco_asa, sh[[ow]] inven[[tory]] diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw new file mode 100644 index 0000000000..3f2b020ee9 --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw @@ -0,0 +1,15 @@ +BGP router identifier 172.25.40.2, local AS number 65045 +BGP table version is 230, main routing table version 230 +117 network entries using 23400 bytes of memory +117 path entries using 9360 bytes of memory +19/19 BGP path/bestpath attribute entries using 3952 bytes of memory +16 BGP AS-PATH entries using 624 bytes of memory +2 BGP community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 37384 total bytes of memory +BGP activity 161/44 prefixes, 173/56 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +172.16.243.53 4 186 19905 16353 230 0 0 4d06h 111 +172.16.248.53 4 196 0 0 1 0 0 never Idle \ No newline at end of file diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml new file mode 100644 index 0000000000..51600caf9d --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - router_id: "172.25.40.2" + local_as: "65045" + bgp_neigh: "172.16.243.53" + neigh_as: "186" + state_pfxrcd: "111" + up_down: "4d06h" + - router_id: "172.25.40.2" + local_as: "65045" + bgp_neigh: "172.16.248.53" + neigh_as: "196" + state_pfxrcd: "Idle" + up_down: "never" From ded9c1d4043f35306784efb5ee9127c062425a1f Mon Sep 17 00:00:00 2001 From: anttof <49523975+anttof@users.noreply.github.com> Date: Tue, 19 May 2020 22:47:06 +0200 Subject: [PATCH 051/412] BugFix: ASA - show vpn-sessiondb anyconnect - Index and Username ends up on separate lines when long usernames are used. (#697) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++- ...pn-sessiondb_anyconnect_long_usernames.raw | 16 +++++++++++ ...pn-sessiondb_anyconnect_long_usernames.yml | 27 +++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 01ed33874b..78c4df071e 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -29,6 +29,8 @@ Start Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ + ^\s*Username\s*:\s+${USERNAME}$$ + ^\s*Index\s*:\s+${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ @@ -47,4 +49,4 @@ Connection ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s*$$ -> Record ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw new file mode 100644 index 0000000000..6258b4e486 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw @@ -0,0 +1,16 @@ +Session Type: AnyConnect +Username : longfirstname.longlastname@example.com +Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml new file mode 100644 index 0000000000..f500cfb0c0 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "longfirstname.longlastname@example.com" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" From 881d5e41db0c1ca6fe27fcc140041e17c80883ad Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:53:40 -0600 Subject: [PATCH 052/412] BugFix: IOS - show_ip_bgp - Account for VRF info within routing table (#678) --- templates/cisco_ios_show_ip_bgp.textfsm | 2 + .../show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw | 16 ++++++ .../show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml | 52 +++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml diff --git a/templates/cisco_ios_show_ip_bgp.textfsm b/templates/cisco_ios_show_ip_bgp.textfsm index 2c0c9085c2..2c90dda23a 100644 --- a/templates/cisco_ios_show_ip_bgp.textfsm +++ b/templates/cisco_ios_show_ip_bgp.textfsm @@ -17,6 +17,8 @@ Start ^Time\s+source\s+is Bgp_table + # Account for show ip bgp vpnv4 vrf command + ^Route\s+Distinguisher # # # Match if subnet is 17,18 characters long, creates two lines diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw new file mode 100644 index 0000000000..41ba1baf3e --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw @@ -0,0 +1,16 @@ +BGP table version is 17, local router ID is 1.1.1.1 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path +Route Distinguisher: 100:100 (default for vrf part) + *> 11.11.11.11/32 0.0.0.0 0 32768 i + *> 11.11.11.12/32 0.0.0.0 0 32768 i + *> 11.11.11.13/32 0.0.0.0 0 32768 i + *> 11.11.11.14/32 0.0.0.0 0 32768 i + *> 11.11.11.15/32 0.0.0.0 0 32768 i + +Total number of prefixes 5 diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml new file mode 100644 index 0000000000..cf106d8dad --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.11/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.12/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.13/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.14/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.15/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" From 9485f7b48bcc0e709f0a321e5d07bbae2898310e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:54:18 -0600 Subject: [PATCH 053/412] BugFix: IOS - show ip bgp summary: Added new field ADDR_FAMILY for any that may have an address family (#679) --- .../cisco_ios_show_ip_bgp_summary.textfsm | 2 ++ .../cisco_ios_show_ip_bgp_summary.yml | 10 ++++++ .../cisco_ios_show_ip_bgp_summary_all.raw | 32 +++++++++++++++++++ .../cisco_ios_show_ip_bgp_summary_all.yml | 23 +++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml diff --git a/templates/cisco_ios_show_ip_bgp_summary.textfsm b/templates/cisco_ios_show_ip_bgp_summary.textfsm index 14fc00ba0f..aa6ba8bf64 100644 --- a/templates/cisco_ios_show_ip_bgp_summary.textfsm +++ b/templates/cisco_ios_show_ip_bgp_summary.textfsm @@ -1,11 +1,13 @@ Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) Value Filldown LOCAL_AS (\d+) +Value Filldown ADDR_FAMILY (.+?) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) Value UP_DOWN (\S+?) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start + ^For\s+address\s+family:\s+${ADDR_FAMILY}$$ ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml index 5a7dc27fd4..be75bb5ae7 100644 --- a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml @@ -2,60 +2,70 @@ parsed_sample: - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.1" neigh_as: "65000" up_down: "3w0d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.2" neigh_as: "65001" up_down: "3w0d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.3" neigh_as: "65002" up_down: "1y10w" state_pfxrcd: "0" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.4" neigh_as: "65003" up_down: "1y50w" state_pfxrcd: "1351" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.5" neigh_as: "65004" up_down: "19w5d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.6" neigh_as: "65005" up_down: "19w5d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.7" neigh_as: "65006" up_down: "1y10w" state_pfxrcd: "82" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.8" neigh_as: "65007" up_down: "1y10w" state_pfxrcd: "82" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.9" neigh_as: "65008" up_down: "22w0d" state_pfxrcd: "0" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.10" neigh_as: "65009" up_down: "1y10w" diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw new file mode 100644 index 0000000000..2f41f727c9 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw @@ -0,0 +1,32 @@ +For address family: IPv4 Unicast +BGP router identifier 1.1.1.1, local AS number 65000 +BGP table version is 9, main routing table version 9 +8 network entries using 1152 bytes of memory +9 path entries using 720 bytes of memory +2/2 BGP path/bestpath attribute entries using 272 bytes of memory +1 BGP AS-PATH entries using 24 bytes of memory +2 BGP extended community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 2216 total bytes of memory +BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.0.14.4 4 65001 26 27 9 0 0 00:20:06 7 + +For address family: VPNv4 Unicast +BGP router identifier 2.2.2.2, local AS number 65010 +BGP table version is 17, main routing table version 17 +16 network entries using 2496 bytes of memory +16 path entries using 1280 bytes of memory +4/3 BGP path/bestpath attribute entries using 576 bytes of memory +1 BGP AS-PATH entries using 24 bytes of memory +2 BGP extended community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 4424 total bytes of memory +BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.10.13.3 4 65001 48 48 17 0 0 00:40:00 5 +10.10.14.4 4 65001 0 0 1 0 0 never Idle diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml new file mode 100644 index 0000000000..aaba085b7c --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - router_id: "1.1.1.1" + local_as: "65000" + addr_family: "IPv4 Unicast" + bgp_neigh: "10.0.14.4" + neigh_as: "65001" + up_down: "00:20:06" + state_pfxrcd: "7" + - router_id: "2.2.2.2" + local_as: "65010" + addr_family: "VPNv4 Unicast" + bgp_neigh: "10.10.13.3" + neigh_as: "65001" + up_down: "00:40:00" + state_pfxrcd: "5" + - router_id: "2.2.2.2" + local_as: "65010" + addr_family: "VPNv4 Unicast" + bgp_neigh: "10.10.14.4" + neigh_as: "65001" + up_down: "never" + state_pfxrcd: "Idle" From 70fed0a9b38c628e81c2e2d201e34db8e0e22afa Mon Sep 17 00:00:00 2001 From: ichisuke <60389350+ichisuke55@users.noreply.github.com> Date: Wed, 20 May 2020 05:56:34 +0900 Subject: [PATCH 054/412] New Template: juniper_junos_show_ethenet-switching_table.textfsm (#700) --- templates/index | 1 + ...unos_show_ethernet-switching_table.textfsm | 19 +++++++++++++++++++ ...er_junos_show_ethernet-switching_table.raw | 14 ++++++++++++++ ...er_junos_show_ethernet-switching_table.yml | 17 +++++++++++++++++ ...r_junos_show_ethernet-switching_table1.raw | 13 +++++++++++++ ...r_junos_show_ethernet-switching_table1.yml | 12 ++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 templates/juniper_junos_show_ethernet-switching_table.textfsm create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml diff --git a/templates/index b/templates/index index 6a411e7ca6..18b37ad593 100644 --- a/templates/index +++ b/templates/index @@ -365,6 +365,7 @@ huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[peratur huawei_vrp_display_version.textfsm, .*, huawei_vrp, disp[[lay]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] +juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] diff --git a/templates/juniper_junos_show_ethernet-switching_table.textfsm b/templates/juniper_junos_show_ethernet-switching_table.textfsm new file mode 100644 index 0000000000..67bcf6685e --- /dev/null +++ b/templates/juniper_junos_show_ethernet-switching_table.textfsm @@ -0,0 +1,19 @@ +Value VLAN (\S+) +Value MAC_ADDRESS (\S+) +Value MAC_FLAG (\S+) +Value AGE (\S+) +Value LOGICAL_INTERFACE (\S+) + +Start + ^MAC\sflags\s\(S\s-\sstatic\sMAC,\sD\s-\sdynamic\sMAC,\sL\s-\slocally\slearned,\sP\s-\sPersistent\sstatic\S*\s*\S*\s*\S*\s*\S*\s*\S*$$ + ^\s+SE\s-\sstatistics\senabled,\sNM\s-\snon\sconfigured\sMAC,\sR\s-\sremote\sPE\sMAC,\sO\s-\sovsdb\sMAC\)$$ + ^Ethernet\sswitching\stable\s:\s\d+\sentries,\s\d+\slearned$$ + ^Routing\sinstance\s:\sdefault-switch$$ + ^\s+Vlan\s+MAC\s+MAC\s+Age\s+Logical\s*\S*\s*\S*\s*$$ + ^\s+name\s+address\s+flags\s+interface\s*\S*\s*\S*\s*$$ + ^\s+Vlan${VLAN}\s+${MAC_ADDRESS}\s+${MAC_FLAG}\s+${AGE}\s+${LOGICAL_INTERFACE}\s*\S*\s*\S* -> Record + ^\s*$$ + ^{master:\d+} + ^. -> Error + +EOF diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw new file mode 100644 index 0000000000..f1e50751e5 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw @@ -0,0 +1,14 @@ + +MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC + SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) + + +Ethernet switching table : 3 entries, 3 learned +Routing instance : default-switch + Vlan MAC MAC Age Logical NH RTR + name address flags interface Index ID + Vlan2 bc:ac:0a:ca:ca:30 DR - ae3.0 0 0 + Vlan100 2c:5a:0f:bc:a3:cd DL - xe-0/0/51:0.0 0 0 + Vlan1011 ca:fe:ca:fe:00:07 DL - ae100.0 0 0 + +{master:0} diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml new file mode 100644 index 0000000000..ff620a1c3f --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - vlan: "2" + mac_address: "bc:ac:0a:ca:ca:30" + mac_flag: "DR" + age: "-" + logical_interface: "ae3.0" + - vlan: "100" + mac_address: "2c:5a:0f:bc:a3:cd" + mac_flag: "DL" + age: "-" + logical_interface: "xe-0/0/51:0.0" + - vlan: "1011" + mac_address: "ca:fe:ca:fe:00:07" + mac_flag: "DL" + age: "-" + logical_interface: "ae100.0" diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw new file mode 100644 index 0000000000..e205f2fbd7 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw @@ -0,0 +1,13 @@ + +MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static + SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) + + +Ethernet switching table : 2 entries, 2 learned +Routing instance : default-switch + Vlan MAC MAC Age Logical + name address flags interface + Vlan100 2c:5a:0f:bc:a3:cd DL - ae112.0 + Vlan100 ca:fe:ca:fe:00:07 DL - ae112.0 + +{master:0} diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml new file mode 100644 index 0000000000..4afaaa7aa3 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - vlan: "100" + mac_address: "2c:5a:0f:bc:a3:cd" + mac_flag: "DL" + age: "-" + logical_interface: "ae112.0" + - vlan: "100" + mac_address: "ca:fe:ca:fe:00:07" + mac_flag: "DL" + age: "-" + logical_interface: "ae112.0" From 1068e316a60a1467047afecf7d67dfe3842b2d7c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:57:37 -0600 Subject: [PATCH 055/412] New Template: (IOS) show_ip_bgp_neighbors_advertised_routes (#674) --- ...ip_bgp_neighbors_advertised_routes.textfsm | 42 +++++++++++ templates/index | 1 + ...how_ip_bgp_neighbors_advertised_routes.raw | 18 +++++ ...how_ip_bgp_neighbors_advertised_routes.yml | 72 +++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm new file mode 100644 index 0000000000..ba982be044 --- /dev/null +++ b/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm @@ -0,0 +1,42 @@ +Value Filldown STATUS ([bdhimrsSx*>]) +Value Filldown PATH_SELECTION ([bdhimrsSx*> ]) +Value Filldown ROUTE_SOURCE ([bdhimrsSx*> ]) +Value Filldown NETWORK (\S{0,18}) +Value Required NEXT_HOP (\S{0,19}) +Value Filldown METRIC (\S{0,6}) +Value LOCAL_PREF (\S{0,6}) +Value WEIGHT (\S{0,6}) +Value AS_PATH (.*?) +Value ORIGIN ([ie\?]) + +Start + # Since using mostly position, play it safe and ensure we see header first + ^\s+Network\s+Next Hop\s+Metric\s+LocPrf\s+Weight\s+Path -> Bgp_table + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Bgp_table + # + # + # Match if subnet is 17,18 characters long, creates two lines + # Example: *>i 10.104.192.208/29 + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{17,18}$$ -> Next + # + # + # Compliment to previous, status, path_selection, route_source, network is filldown. + # Example: 200.200.186.194 0 100 50000 64801 64808 64608 64601 64787 i + ^\s{20,25}(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + # + # + # Match first when there is no network, since previous line had it already (compliment and filldown below) + # Example: *> 0.0.0.0 0 32768 i + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + # + # + # Full normal example. metric, and as_path might not exist, regex defaults to blank line. + # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^Total\s+number\s+of\s+prefixes + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 18b37ad593..3d5ffc946b 100644 --- a/templates/index +++ b/templates/index @@ -146,6 +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_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]] diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw new file mode 100644 index 0000000000..4306c21570 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw @@ -0,0 +1,18 @@ +BGP table version is 143173748, local router ID is 192.168.88.2 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, + t secondary path, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path + *> 113.55.45.0/24 0.0.0.0 32768 i + *> 113.55.48.0/24 0.0.0.0 32768 i + *> 113.55.50.0/24 0.0.0.0 32768 i + *> 113.55.51.0/24 0.0.0.0 32768 i + *> 113.55.53.0/24 0.0.0.0 32768 i + *> 113.55.54.0/24 0.0.0.0 32768 i + *> 113.55.58.0/24 0.0.0.0 32768 i + +Total number of prefixes 7 diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml new file mode 100644 index 0000000000..2f79971867 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.45.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.48.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.50.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.51.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.53.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.54.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.58.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" From c336997ec5b9f3b6a35906d58af9d2f10b318904 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Wed, 20 May 2020 08:54:32 -0400 Subject: [PATCH 056/412] git mv stopping point --- ...s_show_ip_cef.textfsm => cisco_ios_show_ip_cef_detail.textfsm} | 0 .../show_ip_cef_detail_c2800_v1.raw | 0 .../show_ip_cef_detail_c2800_v1.yml | 0 .../show_ip_cef_detail_c2800_v2.raw | 0 .../show_ip_cef_detail_c2800_v2.yml | 0 .../show_ip_cef_detail_c2900_v1.raw | 0 .../show_ip_cef_detail_c2900_v1.yml | 0 .../show_ip_cef_detail_c3750.raw | 0 .../show_ip_cef_detail_c3750.yml | 0 .../show_ip_cef_detail_c3850_v1.raw | 0 .../show_ip_cef_detail_c3850_v1.yml | 0 .../show_ip_cef_detail_c3850_v2.raw | 0 .../show_ip_cef_detail_c3850_v2.yml | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename templates/{cisco_ios_show_ip_cef.textfsm => cisco_ios_show_ip_cef_detail.textfsm} (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v2.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v2.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2900_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2900_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3750.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3750.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v2.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v2.yml (100%) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef.textfsm rename to templates/cisco_ios_show_ip_cef_detail.textfsm diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml From 6a6acbfb22cb7e0b2b23f9a770cd7b6f15890bb2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 20 May 2020 07:14:52 -0600 Subject: [PATCH 057/412] BugFix: Ciena Saos: Added more use cases to vlan_show (#707) --- templates/ciena_saos_vlan_show.textfsm | 47 ++++++++++--------- .../vlan_show/ciena_saos_vlan_show.yml | 36 +++++++------- .../vlan_show/ciena_saos_vlan_show2.raw | 26 ++++++++++ .../vlan_show/ciena_saos_vlan_show2.yml | 12 +++++ 4 files changed, 82 insertions(+), 39 deletions(-) create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml diff --git a/templates/ciena_saos_vlan_show.textfsm b/templates/ciena_saos_vlan_show.textfsm index fcaac57357..2b09e9314c 100644 --- a/templates/ciena_saos_vlan_show.textfsm +++ b/templates/ciena_saos_vlan_show.textfsm @@ -1,26 +1,31 @@ Value VLAN_ID (\d+) -Value VLAN_NAME ([0-9a-zA-Z_#]+) +Value NAME ([0-9a-zA-Z_#]+) Start ^\+-+\s*VLAN\s*GLOBAL\s*CONFIGURATION\s*-+\+ - ^\+-+ - ^\|\sP\w+\s*\|\s*V\w+\s*\| - ^\+-+ - ^\|\s+In\w+\s*\w+\s*\|\s*\d+\s*\| - ^\+-+ - ^(?=\s+) - ^\+-+ - ^\|VL\w+\|\s*\|\s*\d+\| - ^\|\s*ID\s*\|\s*\w+\s*\w+\s*\w+\s*\|\d+\| - ^\+-+ - ^\|\s*${VLAN_ID}\s*\|\s*${VLAN_NAME}\s*\| -> Record - ^\+-+ - ^(?=\s+) - ^\+-+ - ^\+-+\s*CROSS\s*CONNECTION\s*TABLE\s*-+\+ - ^\|\sOV\w+\s*\|\s*IV\w+\s*\|\s*\w+\-\w+\s*\|\s*\w+\-\w+\s*\| - ^\+-+ - ^\|\s*No\s*Entry\s*Found\s*\| - ^\+-+ + ^\+-+\+-+.* + ^\|\sParameter\s+|\sValue.* + ^.*Inner TPID State.* + ^\s+\|\s+\|\s+\| + ^\|\s+Field\s+\|\s+Admin\s+\|\s+Oper\s+\| + ^\|\s+Inner TPID.* + ^\|\s+\|\s+\| + ^\|VLAN\|.* + ^\|\s+ID\s+\|\s+VLAN Name* -> VLAN_TABLE + ^\+-+\s+CROSS\s+CONNECTION\s+TABLE -> CROSS_TABLE ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error + +VLAN_TABLE + ^\|\s*${VLAN_ID}\s*\|\s*${NAME}\s*\| -> Record + ^\+-+\+.* + ^\+-+\s+CROSS\s+CONNECTION\s+TABLE -> CROSS_TABLE + ^\s*$$ + ^. -> Error + +CROSS_TABLE + ^\|\s+OVID + ^\+-+\+.* + ^\|\s+No Entry Found + ^\s*$$ + ^. -> Error diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml index 4f63065d39..1b1f295cd7 100644 --- a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml @@ -1,20 +1,20 @@ --- parsed_sample: - - vlan_id: '1' - vlan_name: 'Default' - - vlan_id: '2' - vlan_name: 'VLAN#2' - - vlan_id: '4' - vlan_name: 'VLAN#4' - - vlan_id: '5' - vlan_name: 'VLAN#5' - - vlan_id: '7' - vlan_name: 'VLAN#7' - - vlan_id: '8' - vlan_name: 'VLAN#8' - - vlan_id: '1401' - vlan_name: 'Mgmt' - - vlan_id: '3999' - vlan_name: 'RVID_3999' - - vlan_id: '4000' - vlan_name: 'VLAN#4000' + - vlan_id: "1" + name: "Default" + - vlan_id: "2" + name: "VLAN#2" + - vlan_id: "4" + name: "VLAN#4" + - vlan_id: "5" + name: "VLAN#5" + - vlan_id: "7" + name: "VLAN#7" + - vlan_id: "8" + name: "VLAN#8" + - vlan_id: "1401" + name: "Mgmt" + - vlan_id: "3999" + name: "RVID_3999" + - vlan_id: "4000" + name: "VLAN#4000" diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw new file mode 100644 index 0000000000..482fc7ed36 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw @@ -0,0 +1,26 @@ ++------------ VLAN GLOBAL CONFIGURATION ------------+ +| Parameter | Value | ++-------------------+---------------+---------------+ +| Inner TPID State | Disabled | +| | | +| Field | Admin | Oper | ++-------------------+---------------+---------------+ +| Inner TPID | 8100 | 8100 | ++-------------------+---------------+---------------+ + ++----+--------------------------------+------------------------+ +|VLAN| | 111111111122222| +| ID | VLAN Name Ports |123456789012345678901234| ++----+--------------------------------+------------------------+ +| 1|Default | x x| +| 127|VLAN#127 |x x| +| 666|Blackhole | xxxxxxxxxx xxxxxxxxxxx | +| 800|Mgmt |x x| +|1001|RVID_1001 |x x| ++----+--------------------------------+------------------------+ + ++----------------------------- CROSS CONNECTION TABLE ------------------------------+ +| OVID | IVID | Port-A | Port-B | ++------+------+----------------------------------+----------------------------------+ +| No Entry Found | ++------+------+----------------------------------+----------------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml new file mode 100644 index 0000000000..75a91c33c2 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "Default" + - vlan_id: "127" + name: "VLAN#127" + - vlan_id: "666" + name: "Blackhole" + - vlan_id: "800" + name: "Mgmt" + - vlan_id: "1001" + name: "RVID_1001" From 783f589d7eb1197894810c96cba7b5dd09ac2999 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Wed, 20 May 2020 09:32:44 -0400 Subject: [PATCH 058/412] complete split of commands --- templates/cisco_ios_show_ip_cef.textfsm | 25 +++++++++++++++++++ .../cisco_ios_show_ip_cef_detail.textfsm | 13 ---------- templates/index | 1 + .../show_ip_cef/show_ip_cef_c2800_v1.yml | 12 --------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 13 ---------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 12 --------- .../show_ip_cef/show_ip_cef_c3750.yml | 5 ---- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 13 ---------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 8 ------ 9 files changed, 26 insertions(+), 76 deletions(-) create mode 100644 templates/cisco_ios_show_ip_cef.textfsm diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm new file mode 100644 index 0000000000..255f213368 --- /dev/null +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -0,0 +1,25 @@ +Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) +Value ETYPE ((?:no\s)?(?:[a-z]+)) +# Nexthop and Interface are lists to support ECMP +# Usually these will be single item lists +# However, if there are multiple paths available +# these will contain one items per route/path +Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) + +# --- HEAD and DETAILED ENTRIES --- +# e.g. show ip cef detail, show ip cef 10.0.0.1, etc +Start + ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + +# --- BRIEF ENTRIES +# e.g. show ip cef, or show ip cef vrf +Entries + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + ^${PREFIX}\s+${ETYPE}\s*$$ + ^${PREFIX}\s+${NEXTHOP}\s*$$ + ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index 04c427ac6a..0af43ad647 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -14,7 +14,6 @@ Start # Detect errors and/or disabled CEF ^%IPv4\s+CEF\s+not\s+running$$ -> End ^\s+Invalid\s+prefix/mask -> End - ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries # Ignore JUNK in HEAD ^IP(?:v4)?\s+CEF ^VRF|Adjacency @@ -108,15 +107,3 @@ Start # ^\s*$$ ^. -> Error - -# --- BRIEF ENTRIES -# e.g. show ip cef, or show ip cef vrf -Entries - ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${ETYPE}\s*$$ - ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ - ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ - ^\s+${NEXTHOP}\s+${INTERFACE}$$ - ^\s*$$ - ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index b5ae769a0f..ce32d3d723 100644 --- a/templates/index +++ b/templates/index @@ -187,6 +187,7 @@ cisco_ios_show_snmp_community.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[mun cisco_ios_show_cdp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] cisco_ios_show_controller_t1.textfsm, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 cisco_ios_show_hosts_summary.textfsm, .*, cisco_ios, sh[[ow]] ho[[sts]] summary +cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] de[[tail]] cisco_ios_show_platform_diag.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 03ed6776ea..0349835363 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,71 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - flags: [] etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 8098c75199..8d5cb0d9c0 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,77 +1,64 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - flags: [] etype: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - flags: [] etype: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index d024ca7b5e..1e614846d2 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,71 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - flags: [] etype: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - flags: [] etype: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - flags: [] etype: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 6f6c5aac11..362163b8eb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,31 +1,26 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - flags: [] etype: "" nexthop: - "10.158.0.198" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index d1c29c7d5b..8aac69707d 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,24 +1,20 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" - flags: [] etype: "" nexthop: - "10.180.101.5" @@ -27,52 +23,43 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" - flags: [] etype: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" - flags: [] etype: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 6abf697360..a4e66a4e7c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,42 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] From c5c0e8d7e5d08c545d745bb5adaca268672c840b Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 20 May 2020 10:33:30 -0600 Subject: [PATCH 059/412] BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes (#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 --- ...> cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm} | 0 templates/index | 2 +- .../show_ip_bgp_neighbors_advertised_routes.raw | 0 .../show_ip_bgp_neighbors_advertised_routes.yml | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename templates/{cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm => cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm} (100%) rename tests/cisco_ios/{show_ip_bgp_neighbors_advertised_routes => show_ip_bgp_neighbors_advertised-routes}/show_ip_bgp_neighbors_advertised_routes.raw (100%) rename tests/cisco_ios/{show_ip_bgp_neighbors_advertised_routes => show_ip_bgp_neighbors_advertised-routes}/show_ip_bgp_neighbors_advertised_routes.yml (100%) diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm rename to templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm diff --git a/templates/index b/templates/index index 3d5ffc946b..a23c7fdd9e 100644 --- a/templates/index +++ b/templates/index @@ -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]] diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.raw similarity index 100% rename from tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw rename to tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.raw diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.yml similarity index 100% rename from tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml rename to tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.yml From 523f26d5e3873a13d4d469c5306068b9051dd5a0 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 08:15:20 +0100 Subject: [PATCH 060/412] Proposed changes have been accepted - Added few more comments - Adjusted INDEX file to make sure templates are only used when applicable - Templates are no longer compatible with 'show ip cef 1.1.1.1', or 'show ip cef Vlan100'. Usage of 'detail' keyword is mandatory, such as 'show ip cef 1.1.1.1 detail' --- templates/cisco_ios_show_ip_cef.textfsm | 40 +++++--- .../cisco_ios_show_ip_cef_detail.textfsm | 91 +++++++++++-------- templates/index | 4 +- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 24 ++--- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 24 ++--- .../show_ip_cef/show_ip_cef_c3750.yml | 10 +- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 16 ++-- .../show_ip_cef_detail_c2800_v1.yml | 30 +++--- .../show_ip_cef_detail_c2800_v2.yml | 26 +++--- .../show_ip_cef_detail_c2900_v1.yml | 36 ++++---- .../show_ip_cef_detail_c3750.yml | 22 ++--- .../show_ip_cef_detail_c3850_v1.yml | 30 +++--- .../show_ip_cef_detail_c3850_v2.yml | 16 ++-- 15 files changed, 228 insertions(+), 193 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 255f213368..a60a46ef6b 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,25 +1,43 @@ +# +# This template is only compatible with the following command +# - show ip cef [vrf NAME] +# This is enforced by INDEX file +# Check cisco_ios_show_ip_cef_detail.textfsm for more details +# Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value ETYPE ((?:no\s)?(?:[a-z]+)) -# Nexthop and Interface are lists to support ECMP -# Usually these will be single item lists +Value TYPE ((?:no\s)?(?:[a-z]+)) +# To support ECMP, NEXTHOP and INTERFACE are defined as lists +# When no ECMP is available, these will be single item lists # However, if there are multiple paths available -# these will contain one items per route/path +# then expect to see one item per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) -# --- HEAD and DETAILED ENTRIES --- -# e.g. show ip cef detail, show ip cef 10.0.0.1, etc Start + # >>> Parse EXCEPTIONS + # CEF is not enabled + ^%IPv4\s+CEF\s+not\s+running$$ -> End + # Invalid prefix + ^\s+Invalid\s+prefix/mask -> End + # + # >>> Parse HEADING ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries -# --- BRIEF ENTRIES -# e.g. show ip cef, or show ip cef vrf Entries + # >>> Parse CEF ENTRIES + # Entry detected ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${ETYPE}\s*$$ + # Parse prefix/type + ^${PREFIX}\s+${TYPE}\s*$$ + # Parse prefix/nexthop ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ + # Parse prefix, type and interface + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + # Parse prefix, nexthop and interface ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + # Parse nexthop and interface for ECMP prefixes ^\s+${NEXTHOP}\s+${INTERFACE}$$ + # + # >>> Parse SPECIAL ^\s*$$ - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index 0af43ad647..da71cb2c7d 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -1,91 +1,109 @@ +# Even though this template understands the output from +# - show ip cef [vrf NAME] [PREFIX | INTERFACE] [detail] +# INDEX file forces you to use 'detail' keyword, or there +# will be no match. This is done to simplify INDEX file +# matching logic, otherwise matching regex is too complex. +# +# This template is compatible with IOS v12.x and above, +# including IOS-XE. There are two versions of output +# with significant differences depending on IOS version. +# Template is able to recognize both versions and captures +# same structured data regardless of IOS version. +# Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value ETYPE ((?:no\s)?(?:[a-z]+)) +Value TYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available -# these will contain one items per route/path +# these will contain one item per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) -# --- HEAD and DETAILED ENTRIES --- -# e.g. show ip cef detail, show ip cef 10.0.0.1, etc Start - # Detect errors and/or disabled CEF + # >>> Parse EXCEPTIONS + # CEF is not enabled ^%IPv4\s+CEF\s+not\s+running$$ -> End + # Invalid prefix ^\s+Invalid\s+prefix/mask -> End - # Ignore JUNK in HEAD + # + # >>> Parse HEADING + # Ignore Junk (irrelevant output) ^IP(?:v4)?\s+CEF ^VRF|Adjacency ^\s+\d+\s+(?:routes|instant|leaves|load|prefixes|in-place) ^\s+(?:Default|Table|Database|Resolution|Non-stop|Switchover) ^\s+(?:universal|refcounts) ^.*?CEF\s+resets + # + # >>> Parse CEF ENTRIES # Entry detected, begin analysis ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record # - # --- Parse CEF table from Cisco IOS >v15.x - # + # >>>>>> Cisco IOS >v15.x # Extract prefix (no flags) ^${PREFIX},\s+epoch(?:(?!flags).)*$$ - # Extract prefix with Flags + # Extract prefix with flags ^${PREFIX}.*?flags -> Continue - # Attempt to extract first Flag (if present) + # Attempt to extract first flag (if present) ^\d.*?flags\s+\[?${FLAGS} -> Continue - # Attempt to extract other Flags (up to 6) + # Attempt to extract other flags (up to 6) ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue - # Stop processing Flags (6+) + # Stop processing flags (6+) ^\d.*?flags.*?$$ - # Attempt to extract details via source info - # Supported Type (IOS >v15.x): + # Extract nexthop IP address + ^\s+recursive\s+via\s+${NEXTHOP} + # Extract type and interface/nexthop, if available) + # Type values (IOS >v15.x): # - attached # - receive # - drop # - no route # - nexthop # - multicast - ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${ETYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${ETYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${ETYPE}(?<=drop)$$ - ^\s+${ETYPE}(?<=no route)$$ - ^\s+${ETYPE}(?<=receive)$$ - ^\s+${ETYPE}(?<=multicast)$$ - ^\s+${ETYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} - # - # --- Parse CEF table from Cisco IOS 12.x ISR G1 + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} + ^\s+${TYPE}(?<=drop)$$ + ^\s+${TYPE}(?<=no route)$$ + ^\s+${TYPE}(?<=receive)$$ + ^\s+${TYPE}(?<=multicast)$$ + ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} # - # Legacy CEF formatting - # Extract Prefix and Flags + # >>>>>> Cisco IOS 12.x ISR G1 (legacy CEF formatting) + # Extract prefix ^${PREFIX},\s+version -> Continue + # Extract flags (if available) ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue - # Stop processing Flags (max 4) + # Stop processing flags (max 4) ^.*?epoch.*?$$ - # Extract extra Flag, such as recursive + # Extract extra flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue + # Extract interface for glean adjacency (it's the only place) ^\s+via\s+${INTERFACE},\s+\d+\s+depend + # Stop procssing line with 'dependencies' + # Interface and flags are extracted by now ^.*?depend - # Extract Nexthop and Interface + # Extract nexthop IP address ^\s+next\s+hop\s+${NEXTHOP}\s*$$ + # Extract nexthop IP address and interface ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} - # Extract Type, where available - # Available Type (IOS v12.x ISR G1): + # Extract type, where available + # Type values (IOS v12.x ISR G1): # - null (same as receive with Null0 interface in IOS v15.x) # - glean (same as attached in IOS v15.x) # - cached (same as nexthop in IOS v15.x) # - drop # - if type is None, then it's receive (check flags) - ^\s+valid\s+${ETYPE}\s+adjacency$$ - # - # Ignore JUNK + ^\s+valid\s+${TYPE}\s+adjacency$$ # + # >>> Parse OTHER BODY (irrelevant output) ^\s+Adj\s+source ^\s+Special\s+source ^\s+Interface\s+source @@ -103,7 +121,6 @@ Start ^\s+\d+\s+IPL\s+source ^\d+\s+packets # - # End of processing - # + # >>> Parse SPECIAL ^\s*$$ - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index ce32d3d723..8de392a945 100644 --- a/templates/index +++ b/templates/index @@ -187,7 +187,7 @@ cisco_ios_show_snmp_community.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[mun cisco_ios_show_cdp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] cisco_ios_show_controller_t1.textfsm, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 cisco_ios_show_hosts_summary.textfsm, .*, cisco_ios, sh[[ow]] ho[[sts]] summary -cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] de[[tail]] +cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ce[[f]].+?d[[etail]] cisco_ios_show_platform_diag.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] @@ -213,7 +213,7 @@ cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp -cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] +cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] ip ce[[f]](?: vrf? \S+)?\s*$ cisco_ios_show_tacacs.textfsm, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.textfsm, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_dmvpn.textfsm, .*, cisco_ios, sh[[ow]] dm[[vpn]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 0349835363..391a04d208 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,59 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 8d5cb0d9c0..dca03eb2fe 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,64 +1,64 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - etype: "" + type: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - etype: "" + type: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 1e614846d2..5b71d87054 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,59 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - etype: "" + type: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 362163b8eb..56ba2f6d13 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,27 +1,27 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 8aac69707d..22256f7fd8 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,21 +1,21 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" - etype: "" + type: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -23,43 +23,43 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" - etype: "" + type: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index a4e66a4e7c..3d7dfbf189 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,34 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "no route" + type: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml index adaa170c48..8081991696 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "172.17.40.1" interface: @@ -31,14 +31,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" @@ -46,14 +46,14 @@ parsed_sample: flags: - "receive" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" @@ -63,14 +63,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Tunnel0" @@ -78,29 +78,29 @@ parsed_sample: flags: - "receive" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml index abb38c5b3b..c967bdcfd6 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml @@ -4,26 +4,26 @@ parsed_sample: flags: - "cached adjacency 199.220.235.181" - "recursive" - etype: "cached" + type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "10.158.0.0/19" flags: [] - etype: "null" + type: "null" nexthop: - "0.0.0.0" interface: @@ -31,7 +31,7 @@ parsed_sample: - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" - etype: "cached" + type: "cached" nexthop: - "10.158.0.209" interface: @@ -39,35 +39,35 @@ parsed_sample: - prefix: "10.158.0.208/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" - etype: "glean" + type: "glean" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" - etype: "cached" + type: "cached" nexthop: - "199.220.235.181" interface: @@ -75,18 +75,18 @@ parsed_sample: - prefix: "224.0.0.0/24" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml index d0dfb5df1e..8d1af45bc7 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml @@ -5,25 +5,25 @@ parsed_sample: - "rib only nolabel" - "rib defined all labels" - "default route" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.180.150.33" interface: @@ -32,7 +32,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: @@ -40,7 +40,7 @@ parsed_sample: - prefix: "10.180.140.153/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" @@ -48,7 +48,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: [] interface: - "Null0" @@ -59,7 +59,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback180" @@ -69,21 +69,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1822" @@ -92,7 +92,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1822" @@ -100,7 +100,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: @@ -109,29 +109,29 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: [] interface: - "Null0" - prefix: "224.0.0.0/4" flags: [] - etype: "multicast" + type: "multicast" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml index 4a7ee34243..c6f39dac30 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.158.0.198" interface: @@ -31,43 +31,43 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml index 1a8ad67319..3f3af0a443 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml @@ -3,25 +3,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: - "default route" - etype: "nexthop" + type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -30,7 +30,7 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.255.1.1" interface: @@ -41,21 +41,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1" @@ -64,7 +64,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1" @@ -75,7 +75,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback180" @@ -84,30 +84,30 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml index 85a797a48b..65b06cc77f 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml @@ -4,44 +4,44 @@ parsed_sample: flags: - "default route handler" - "default route" - etype: "no route" + type: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] From 366b580c80943b98498237bc807377a1319dbc48 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 17:56:36 +0100 Subject: [PATCH 061/412] Bugfix: NX-OS - show ip interface brief (VRF support added) (#701) --- ...cisco_nxos_show_ip_interface_brief.textfsm | 5 +++ .../cisco_nxos_show_ip_interface_brief.raw | 4 ++ .../cisco_nxos_show_ip_interface_brief.yml | 39 ++++++++++++------- 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/templates/cisco_nxos_show_ip_interface_brief.textfsm b/templates/cisco_nxos_show_ip_interface_brief.textfsm index 02b8da7ee4..81584d5bcb 100644 --- a/templates/cisco_nxos_show_ip_interface_brief.textfsm +++ b/templates/cisco_nxos_show_ip_interface_brief.textfsm @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Required INTF (\S+) Value Required IPADDR ([a-zA-Z0-9./]+) Value STATUS (\S+-\S+) @@ -5,4 +6,8 @@ Value LINK (\S+-\S+) Value PROTO (\S+-\S+) Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+"${VRF}"\(\d+\) + ^Interface\s+IP\s+Address\s+Interface\s+Status ^${INTF}\s+${IPADDR}\s+${PROTO}/${LINK}/${STATUS} -> Record + ^\s*$$ + ^.*$$ -> Error \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw index 217c77c4c5..9060f7f7b9 100644 --- a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw @@ -7,3 +7,7 @@ Eth1/4 10.1.1.14 protocol-up/link-up/admin-up Eth1/5 10.1.1.15 protocol-up/link-up/admin-up Eth1/6 10.1.1.16 protocol-down/link-down/admin-up Eth1/7 10.1.1.17 protocol-down/link-down/admin-up + +IP Interface Status for VRF "management"(2) +Interface IP Address Interface Status +mgmt0 192.168.149.11 protocol-up/link-up/admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml index 28828300ad..18316fd6fe 100644 --- a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml @@ -1,37 +1,50 @@ --- parsed_sample: - - intf: "Eth1/1" + - vrf: "default" + intf: "Eth1/1" ipaddr: "10.1.1.11" + status: "admin-up" link: "link-down" proto: "protocol-down" - status: "admin-up" - - intf: "Eth1/2" + - vrf: "default" + intf: "Eth1/2" ipaddr: "10.1.1.12" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/3" + - vrf: "default" + intf: "Eth1/3" ipaddr: "10.1.1.13" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/4" + - vrf: "default" + intf: "Eth1/4" ipaddr: "10.1.1.14" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/5" + - vrf: "default" + intf: "Eth1/5" ipaddr: "10.1.1.15" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/6" + - vrf: "default" + intf: "Eth1/6" ipaddr: "10.1.1.16" + status: "admin-up" link: "link-down" proto: "protocol-down" - status: "admin-up" - - intf: "Eth1/7" + - vrf: "default" + intf: "Eth1/7" ipaddr: "10.1.1.17" + status: "admin-up" link: "link-down" proto: "protocol-down" + - vrf: "management" + intf: "mgmt0" + ipaddr: "192.168.149.11" status: "admin-up" + link: "link-up" + proto: "protocol-up" From d9fc3c7df940ce4287cf31c02b14c8cbeb02724a Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 17:59:24 +0100 Subject: [PATCH 062/412] New Template: cisco_ios_show_ip_vrf_interfaces (#702) --- .../cisco_ios_show_ip_vrf_interfaces.textfsm | 18 +++++++++++++ templates/index | 1 + ...cisco_ios_show_ip_vrf_interfaces_empty.raw | 1 + ...cisco_ios_show_ip_vrf_interfaces_empty.yml | 2 ++ ...cisco_ios_show_ip_vrf_interfaces_iosxe.raw | 7 +++++ ...cisco_ios_show_ip_vrf_interfaces_iosxe.yml | 26 +++++++++++++++++++ 6 files changed, 55 insertions(+) create mode 100644 templates/cisco_ios_show_ip_vrf_interfaces.textfsm create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml diff --git a/templates/cisco_ios_show_ip_vrf_interfaces.textfsm b/templates/cisco_ios_show_ip_vrf_interfaces.textfsm new file mode 100644 index 0000000000..7622392bf9 --- /dev/null +++ b/templates/cisco_ios_show_ip_vrf_interfaces.textfsm @@ -0,0 +1,18 @@ +Value Required INTERFACE (\S+) +Value Required IPADDRESS (\S+) +Value Required VRF (\S+) +Value Required PROTO_STATE (\S+) + +# This command returns a list of interfaces which are assigned to +# non-default VRF, including IP address (if available), VRF name, +# interface name and protocol status + +Start + ^Interface\s+IP-Address\s+VRF\s+Protocol -> Entries + ^\s*$$ + ^. -> Error + +Entries + ^${INTERFACE}\s+${IPADDRESS}\s+${VRF}\s+${PROTO_STATE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index a23c7fdd9e..9138b58cd7 100644 --- a/templates/index +++ b/templates/index @@ -170,6 +170,7 @@ cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erfac cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] +cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw new file mode 100644 index 0000000000..7fc1ee97cb --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw @@ -0,0 +1 @@ +Interface IP-Address VRF Protocol \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml new file mode 100644 index 0000000000..e77add67ed --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml @@ -0,0 +1,2 @@ +--- +parsed_sample: [] diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw new file mode 100644 index 0000000000..84d125450c --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw @@ -0,0 +1,7 @@ +Interface IP-Address VRF Protocol +Vl1100 192.168.100.1 BYOD-Guest up +Vl1200 192.168.200.1 BYOD-Guest up +Vl1832 10.255.0.10 BYOD-Guest up +Gi0/0 unassigned Mgmt-vrf down +Vl520 172.31.2.253 SP-INET up +Vl1836 10.255.0.18 SP-INET up \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml new file mode 100644 index 0000000000..48693596cd --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "Vl1100" + ipaddress: "192.168.100.1" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Vl1200" + ipaddress: "192.168.200.1" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Vl1832" + ipaddress: "10.255.0.10" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Gi0/0" + ipaddress: "unassigned" + vrf: "Mgmt-vrf" + proto_state: "down" + - interface: "Vl520" + ipaddress: "172.31.2.253" + vrf: "SP-INET" + proto_state: "up" + - interface: "Vl1836" + ipaddress: "10.255.0.18" + vrf: "SP-INET" + proto_state: "up" From 034b7fca553fe9fc60352b4d356f0ae48f6ade3e Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 18:02:55 +0100 Subject: [PATCH 063/412] New Template: cisco_nxos_show_ip_adjacency (#704) --- .../cisco_nxos_show_ip_adjacency.textfsm | 27 ++++++++++ templates/index | 1 + .../cisco_nxos_show_ip_adjacency_n5596.raw | 15 ++++++ .../cisco_nxos_show_ip_adjacency_n5596.yml | 50 +++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_adjacency.textfsm create mode 100644 tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw create mode 100644 tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml diff --git a/templates/cisco_nxos_show_ip_adjacency.textfsm b/templates/cisco_nxos_show_ip_adjacency.textfsm new file mode 100644 index 0000000000..22f1c30320 --- /dev/null +++ b/templates/cisco_nxos_show_ip_adjacency.textfsm @@ -0,0 +1,27 @@ +Value Required IPADDRESS (\S+) +Value Required MAC (\S+) +Value Required PREF (\d+) +Value Required SOURCE (\S+) +Value Required INTERFACE (\S+) +# Flags: +# # - Adjacencies Throttled for Glean +# G - Adjacencies of vPC peer with G/W bit +Value FLAGS ([G#]*) + +Start + # Ignore headers + ^.*?-\s+Adjacencies + ^IP\s+Adjacency\s+Table + ^Total\s+number\s+of\s+entries: + # Jump to a list of entries: + ^Address\s+MAC\s+Address\s+Pref\s+Source\s+Interface -> Entries + # Process empty and unknown lines + ^\s*$$ + ^. -> Error + +Entries + # Entry with optional flags + ^${IPADDRESS}\s+${MAC}\s+${PREF}\s+${SOURCE}\s+${INTERFACE}\s*${FLAGS}$$ -> Record + # Process empty and unknown lines + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9138b58cd7..9d4b697bbd 100644 --- a/templates/index +++ b/templates/index @@ -254,6 +254,7 @@ cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[ cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] +cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw new file mode 100644 index 0000000000..5ff670d48a --- /dev/null +++ b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw @@ -0,0 +1,15 @@ + +Flags: # - Adjacencies Throttled for Glean + G - Adjacencies of vPC peer with G/W bit + +IP Adjacency Table for VRF default +Total number of entries: 8 +Address MAC Address Pref Source Interface +10.110.100.142 002a.6a11.62c1 50 arp Vlan1800 G +10.110.100.178 78bc.1af1.ca61 50 arp Vlan1801 +10.110.100.179 002a.6a11.62c1 50 arp Vlan1801 G +10.100.1.22 002a.6a11.62c1 50 arp Vlan10 G +10.100.1.24 0040.9d99.f6f6 50 arp Vlan10 +10.100.150.3 0050.5694.bb20 50 arp Vlan150 +10.100.150.5 002a.6a11.62c1 50 arp Vlan150 G +10.100.150.6 0050.568c.2110 50 arp Vlan150 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml new file mode 100644 index 0000000000..b504717fbc --- /dev/null +++ b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - ipaddress: "10.110.100.142" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan1800" + flags: "G" + - ipaddress: "10.110.100.178" + mac: "78bc.1af1.ca61" + pref: "50" + source: "arp" + interface: "Vlan1801" + flags: "" + - ipaddress: "10.110.100.179" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan1801" + flags: "G" + - ipaddress: "10.100.1.22" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan10" + flags: "G" + - ipaddress: "10.100.1.24" + mac: "0040.9d99.f6f6" + pref: "50" + source: "arp" + interface: "Vlan10" + flags: "" + - ipaddress: "10.100.150.3" + mac: "0050.5694.bb20" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "" + - ipaddress: "10.100.150.5" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "G" + - ipaddress: "10.100.150.6" + mac: "0050.568c.2110" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "" From f38e5b21b9adc6e40a255d0ab00b957db9db801e Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 18:12:27 +0100 Subject: [PATCH 064/412] Update templates/cisco_ios_traceroute.textfsm Co-authored-by: Mikhail Yohman --- templates/cisco_ios_traceroute.textfsm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_traceroute.textfsm b/templates/cisco_ios_traceroute.textfsm index e77d3dab74..5774a925f9 100644 --- a/templates/cisco_ios_traceroute.textfsm +++ b/templates/cisco_ios_traceroute.textfsm @@ -23,7 +23,8 @@ Start ^Tracing\s+the\s+route ^VRF\s+info: -> Entries ^\s*$$ - ^.*$$ -> Error + ^\s*$$ + ^. -> Error Entries ^\s+${HOP_NUM}\s+ -> Continue @@ -41,4 +42,4 @@ Entries ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){9}${RTT_RESPONSE} -> Continue ^.* -> Record -EOF \ No newline at end of file +EOF From 5901e8d09637327b99bb2ed22b22e416127b010f Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 18:21:50 +0100 Subject: [PATCH 065/412] Added processing of empty and unknown lines --- templates/cisco_ios_show_ip_cef.textfsm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index a60a46ef6b..05b5888d57 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -22,6 +22,10 @@ Start # # >>> Parse HEADING ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + # + # >>> Parse SPECIAL + ^\s*$$ + ^. -> Error Entries # >>> Parse CEF ENTRIES From 805b49815a6876bc86e4fb16e22f41d9b343bb28 Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Thu, 21 May 2020 10:21:57 -0700 Subject: [PATCH 066/412] BugFix: EOS show ip arp - Allow for N/A in age field (#717) --- templates/arista_eos_show_ip_arp.textfsm | 2 +- tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw | 9 +++++---- tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml | 4 ++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/templates/arista_eos_show_ip_arp.textfsm b/templates/arista_eos_show_ip_arp.textfsm index 749e15177c..5f3038f8ef 100644 --- a/templates/arista_eos_show_ip_arp.textfsm +++ b/templates/arista_eos_show_ip_arp.textfsm @@ -1,5 +1,5 @@ Value ADDRESS (\d+\.\d+\.\d+\.\d+) -Value AGE (\d+) +Value AGE ((\d+|N\/A)) Value MAC (\S+) Value INTERFACE (.*) diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw index 339b789263..405404d552 100644 --- a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw +++ b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw @@ -1,4 +1,5 @@ -Address Age (min) Hardware Addr Interface -172.25.0.2 0 004c.6211.021e Vlan101, Port-Channel2 -172.22.0.1 0 004c.6214.3699 Vlan1000, Port-Channel1 -172.22.0.2 0 004c.6219.a0f3 Ethernet1 +Address Age (min) Hardware Addr Interface +172.25.0.2 0 004c.6211.021e Vlan101, Port-Channel2 +172.22.0.1 0 004c.6214.3699 Vlan1000, Port-Channel1 +172.22.0.2 0 004c.6219.a0f3 Ethernet1 +10.10.1.1 N/A 0002.00ff.0001 Vlan1, not learned diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml index 71ac508167..10afb89cf0 100644 --- a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml +++ b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml @@ -12,3 +12,7 @@ parsed_sample: age: "0" mac: "004c.6219.a0f3" interface: "Ethernet1" + - address: "10.10.1.1" + age: "N/A" + mac: "0002.00ff.0001" + interface: "Vlan1, not learned" From 8652bba2555ca6ea3c00ad45f9f6a18807cb6405 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 18:39:27 +0100 Subject: [PATCH 067/412] Removed TYPE from cisco_ios_show_ip_cef.textfsm --- templates/cisco_ios_show_ip_cef.textfsm | 7 +-- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 39 ++++++++--------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 40 ++++++++--------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 39 ++++++++--------- .../show_ip_cef/show_ip_cef_c3750.yml | 11 ++--- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 43 +++++++++---------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 32 +++++++------- 7 files changed, 95 insertions(+), 116 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 05b5888d57..cf295bdc4d 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -5,12 +5,11 @@ # Check cisco_ios_show_ip_cef_detail.textfsm for more details # Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value TYPE ((?:no\s)?(?:[a-z]+)) # To support ECMP, NEXTHOP and INTERFACE are defined as lists # When no ECMP is available, these will be single item lists # However, if there are multiple paths available # then expect to see one item per route/path -Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List NEXTHOP ((?:no\s)?(?:\S+)) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) Start @@ -31,12 +30,8 @@ Entries # >>> Parse CEF ENTRIES # Entry detected ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - # Parse prefix/type - ^${PREFIX}\s+${TYPE}\s*$$ # Parse prefix/nexthop ^${PREFIX}\s+${NEXTHOP}\s*$$ - # Parse prefix, type and interface - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ # Parse prefix, nexthop and interface ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ # Parse nexthop and interface for ECMP prefixes diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 391a04d208..2fb3de148e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,59 +1,56 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index dca03eb2fe..74d40ee747 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,64 +1,60 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - type: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - type: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "192.168.0.180/30" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 5b71d87054..0b66daa3d1 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,59 +1,56 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - type: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "Loopback0" - prefix: "10.180.122.152/29" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 56ba2f6d13..7dbee1870c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,27 +1,24 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - type: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 22256f7fd8..3fcf446322 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,21 +1,19 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.180.195.0/32" - type: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -23,43 +21,42 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Vlan1" - prefix: "10.255.1.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "Vlan1" - prefix: "10.255.255.192/30" - type: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 3d7dfbf189..fe18ed63b1 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,34 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "no route" - nexthop: [] + nexthop: + - "no route" interface: [] - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "127.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] From 2f690d14a240f2d1fa6e8b30f8ad8e05c9b52717 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Fri, 22 May 2020 00:57:04 +0100 Subject: [PATCH 068/412] cisco_ios_show_ip_cef_detail.textfsm significantly simplified This template produces output similar to cisco_ios_show_ip_cef.textfsm Additional flags are no longer supported (not parsed) Type is no longer supported, this is captured as nexthop Nexthop's value is literally identical to what you get from show ip cef (brief list) Template still mandates the use of 'detail' keyword (due to index file restrictions) --- .../cisco_ios_show_ip_cef_detail.textfsm | 86 +++++++----------- .../show_ip_cef_detail_c2800_v1.yml | 67 ++++---------- .../show_ip_cef_detail_c2800_v2.yml | 51 ++--------- .../show_ip_cef_detail_c2900_v1.yml | 89 ++++--------------- .../show_ip_cef_detail_c3750.yml | 46 +++------- .../show_ip_cef_detail_c3850_v1.yml | 69 ++++---------- .../show_ip_cef_detail_c3850_v2.yml | 39 +++----- 7 files changed, 116 insertions(+), 331 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index da71cb2c7d..08d82601ad 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -11,13 +11,11 @@ # same structured data regardless of IOS version. # Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value List FLAGS ([^,\]\n]+) -Value TYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available # these will contain one item per route/path -Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List NEXTHOP ((?:no\s)?\S+) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) Start @@ -42,66 +40,40 @@ Start # # >>>>>> Cisco IOS >v15.x # Extract prefix (no flags) - ^${PREFIX},\s+epoch(?:(?!flags).)*$$ - # Extract prefix with flags - ^${PREFIX}.*?flags -> Continue - # Attempt to extract first flag (if present) - ^\d.*?flags\s+\[?${FLAGS} -> Continue - # Attempt to extract other flags (up to 6) - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue - # Stop processing flags (6+) - ^\d.*?flags.*?$$ - # Extract nexthop IP address - ^\s+recursive\s+via\s+${NEXTHOP} - # Extract type and interface/nexthop, if available) - # Type values (IOS >v15.x): - # - attached - # - receive - # - drop - # - no route - # - nexthop - # - multicast - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${TYPE}(?<=drop)$$ - ^\s+${TYPE}(?<=no route)$$ - ^\s+${TYPE}(?<=receive)$$ - ^\s+${TYPE}(?<=multicast)$$ - ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^${PREFIX},\s+epoch + # Extract nexthop for recursive entries + ^\s+recursive\s+via\s+${NEXTHOP} -> Recursive + # Extract nexthop (receive) and interface + ^\s+${NEXTHOP}(?<=receive)\s+for\s+${INTERFACE} + # Extract nexthop (attached) and interface + ^\s+${NEXTHOP}(?<=attached)\s+to\s+${INTERFACE} + # Extract nexthop (drop) + ^\s+${NEXTHOP}(?<=drop)$$ + # Extract nexthop (no route) + ^\s+${NEXTHOP}(?<=no route)$$ + # Extract nexthop (receive) + ^\s+${NEXTHOP}(?<=receive)$$ + # Extract nexthop (multicast) + ^\s+${NEXTHOP}(?<=multicast)$$ + # Extract nexthop and interface + ^\s+nexthop\s+${NEXTHOP}\s+${INTERFACE} # # >>>>>> Cisco IOS 12.x ISR G1 (legacy CEF formatting) # Extract prefix ^${PREFIX},\s+version -> Continue - # Extract flags (if available) - ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue - # Stop processing flags (max 4) + # Extract nexthop (receive and attached) + ^.*?epoch\s+\d+,.+?${NEXTHOP}(?<=receive) + ^.*?epoch\s+\d+,.+?${NEXTHOP}(?<=attached) ^.*?epoch.*?$$ - # Extract extra flag, such as recursive - ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - # Extract interface for glean adjacency (it's the only place) + # Extract interface for glean adjacency (attached) ^\s+via\s+${INTERFACE},\s+\d+\s+depend - # Stop procssing line with 'dependencies' - # Interface and flags are extracted by now ^.*?depend - # Extract nexthop IP address - ^\s+next\s+hop\s+${NEXTHOP}\s*$$ # Extract nexthop IP address and interface ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} - # Extract type, where available - # Type values (IOS v12.x ISR G1): - # - null (same as receive with Null0 interface in IOS v15.x) - # - glean (same as attached in IOS v15.x) - # - cached (same as nexthop in IOS v15.x) - # - drop - # - if type is None, then it's receive (check flags) - ^\s+valid\s+${TYPE}\s+adjacency$$ + ^\s+next\s+hop + # Extract nexthop (drop) + ^\s+valid\s+${NEXTHOP}(?<=drop)\s+adjacency$$ + ^\s+valid.+adjacency # # >>> Parse OTHER BODY (irrelevant output) ^\s+Adj\s+source @@ -123,4 +95,10 @@ Start # # >>> Parse SPECIAL ^\s*$$ + ^. -> Error + +Recursive + # Extract interface for recursive entries + ^\s+attached\s+to\s+${INTERFACE} -> Start + ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml index 8081991696..881b921b93 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml @@ -1,106 +1,71 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] - type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.1/32" - flags: + nexthop: - "receive" - - "source eligible" - type: "receive" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "172.17.40.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.158/32" - flags: + nexthop: - "receive" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml index c967bdcfd6..0a54efd43d 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml @@ -1,92 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" nexthop: - - "0.0.0.0" + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "10.158.0.0/19" - flags: [] - type: "null" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - flags: - - "cached adjacency 10.158.0.209" - type: "cached" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "10.180.30.1/32" - flags: - - "connected" + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "199.220.235.180/30" - flags: + nexthop: - "attached" - - "connected" - type: "glean" - nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "199.220.235.181/32" - flags: - - "connected" - - "cached adjacency 199.220.235.181" - type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" nexthop: - - "0.0.0.0" + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml index 8d1af45bc7..9a117a2ab0 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml @@ -1,137 +1,86 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "rib only nolabel" - - "rib defined all labels" - - "default route" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "10.180.150.33" interface: - "Port-channel1.1822" - prefix: "10.0.120.0/24" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "10.180.140.153/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.150.0/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Null0" - prefix: "10.180.150.5/32" - flags: - - "attached" - - "connected" + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Loopback180" - prefix: "10.180.150.32/29" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.38/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.192/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "10.181.150.0/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Null0" - prefix: "224.0.0.0/4" - flags: [] - type: "multicast" - nexthop: [] + nexthop: + - "multicast" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml index c6f39dac30..bc4ca702e3 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml @@ -1,73 +1,51 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] - type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.158.0.192/29" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml index 3f3af0a443..6f6d8df027 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml @@ -1,27 +1,19 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "default route" - type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.180.195.0/32" - flags: [] - type: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -29,85 +21,54 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" - flags: [] - type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "10.255.1.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.11/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.180.163.0/32" - flags: - - "attached" - - "connected" + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Loopback180" - prefix: "10.180.163.129/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml index 65b06cc77f..fe18ed63b1 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml @@ -1,47 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "default route handler" - - "default route" - type: "no route" - nexthop: [] + nexthop: + - "no route" interface: [] - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "127.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] From 40e22f5026b9de9b060a2d012d3b84f6d874181e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:52:48 -0600 Subject: [PATCH 069/412] New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table (#719) --- .../cisco_s300_show_interfaces_status.textfsm | 21 ++ .../cisco_s300_show_lldp_neighbors.textfsm | 17 ++ .../cisco_s300_show_mac_address-table.textfsm | 17 ++ templates/index | 3 + .../cisco_s300_show_interfaces_status.raw | 43 +++ .../cisco_s300_show_interfaces_status.yml | 254 ++++++++++++++++++ .../cisco_s300_show_lldp_neighbors.raw | 10 + .../cisco_s300_show_lldp_neighbors.yml | 10 + .../cisco_s300_show_mac_address-table.raw | 18 ++ .../cisco_s300_show_mac_address-table.yml | 54 ++++ 10 files changed, 447 insertions(+) create mode 100644 templates/cisco_s300_show_interfaces_status.textfsm create mode 100644 templates/cisco_s300_show_lldp_neighbors.textfsm create mode 100644 templates/cisco_s300_show_mac_address-table.textfsm create mode 100644 tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw create mode 100644 tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml create mode 100644 tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw create mode 100644 tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml create mode 100644 tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw create mode 100644 tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml diff --git a/templates/cisco_s300_show_interfaces_status.textfsm b/templates/cisco_s300_show_interfaces_status.textfsm new file mode 100644 index 0000000000..18f35db6cf --- /dev/null +++ b/templates/cisco_s300_show_interfaces_status.textfsm @@ -0,0 +1,21 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value DUPLEX (Full|Half|--) +Value SPEED (\d+|--) +Value NEG (Enabled|Disabled|--) +Value FLOWCTRL (Off|On|--) +Value LINKSTATE (Up|Down) +Value BACKPRESSURE (Disabled|Enabled|--) +Value MDIXMODE (Off|On|--) + +Start + ^\s+Flow\s+Link\s+Back\s+Mdix + ^Port\s+Type\s+Duplex\s+Speed\s+Neg\s+ctrl\s+State\s+Pressure\s+Mode -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^${PORT}\s+${TYPE}\s+${DUPLEX}\s+${SPEED}\s+${NEG}\s+${FLOWCTRL}\s+${LINKSTATE}\s+${BACKPRESSURE}\s+${MDIXMODE} -> Record + ^\s+Flow\s+Link + ^Ch\s+Type\s+Duplex\s+Speed\s+Neg\s+control\s+State -> End diff --git a/templates/cisco_s300_show_lldp_neighbors.textfsm b/templates/cisco_s300_show_lldp_neighbors.textfsm new file mode 100644 index 0000000000..d163045cfc --- /dev/null +++ b/templates/cisco_s300_show_lldp_neighbors.textfsm @@ -0,0 +1,17 @@ +Value NEIGHBOR (\S+) +Value LOCAL_INTERFACE (\S+) +Value NEIGHBOR_INTERFACE (\S+) +Value DEVICE_ID (([0-9a-f]{2}[:-]){5}([0-9a-f]{2})) + +Start + ^System\s+capability\s+legend + ^\S+\s*- + ^\s*Port\s+Device\s+ID\s+Port\s+ID\s+System\s+Name\s+Capabilities\s+TTL -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^${LOCAL_INTERFACE}\s+${DEVICE_ID}\s+${NEIGHBOR_INTERFACE}\s+${NEIGHBOR}.+ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_s300_show_mac_address-table.textfsm b/templates/cisco_s300_show_mac_address-table.textfsm new file mode 100644 index 0000000000..bfb2eaa3b9 --- /dev/null +++ b/templates/cisco_s300_show_mac_address-table.textfsm @@ -0,0 +1,17 @@ +Value DESTINATION_ADDRESS ((\w\w:){5}\w\w) +Value TYPE (dynamic|self) +Value VLAN (\w+) +Value DESTINATION_PORT (\S+) + +Start + ^Flags + ^Aging + ^\s+Vlan\s+Mac\s+Address\s+Port\s+Type -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${DESTINATION_PORT}\s+${TYPE} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9af2e8a385..c0d81d6b33 100644 --- a/templates/index +++ b/templates/index @@ -276,6 +276,9 @@ cisco_nxos_show_vdc.textfsm, .*, cisco_nxos, sh[[ow]] vdc cisco_nxos_show_vpc.textfsm, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.textfsm, .*, cisco_nxos, sh[[ow]] vrf +cisco_s300_show_interfaces_status.textfsm, .*, cisco_s300, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_s300_show_mac_address-table.textfsm, .*, cisco_s300, sh[[ow]] mac address-[[table]] +cisco_s300_show_lldp_neighbors.textfsm, .*, cisco_s300, sh[[ow]] lld[[p]] neig[[hbors]] cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] diff --git a/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw new file mode 100644 index 0000000000..c71815a67d --- /dev/null +++ b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw @@ -0,0 +1,43 @@ + Flow Link Back Mdix +Port Type Duplex Speed Neg ctrl State Pressure Mode +-------- ------------ ------ ----- -------- ---- ----------- -------- ------- +gi1 1G-Copper Full 100 Enabled Off Up Disabled Off +gi2 1G-Copper Full 100 Enabled Off Up Disabled On +gi3 1G-Copper Full 100 Enabled Off Up Disabled Off +gi4 1G-Copper -- -- -- -- Down -- -- +gi5 1G-Copper -- -- -- -- Down -- -- +gi6 1G-Copper -- -- -- -- Down -- -- +gi7 1G-Copper Full 100 Enabled Off Up Disabled On +gi8 1G-Copper Full 100 Enabled Off Up Disabled Off +gi9 1G-Copper Full 100 Enabled Off Up Disabled Off +gi10 1G-Copper -- -- -- -- Down -- -- +gi11 1G-Copper -- -- -- -- Down -- -- +gi12 1G-Copper -- -- -- -- Down -- -- +gi13 1G-Copper -- -- -- -- Down -- -- +gi14 1G-Copper -- -- -- -- Down -- -- +gi15 1G-Copper -- -- -- -- Down -- -- +gi16 1G-Copper -- -- -- -- Down -- -- +gi17 1G-Copper -- -- -- -- Down -- -- +gi18 1G-Copper -- -- -- -- Down -- -- +gi19 1G-Copper -- -- -- -- Down -- -- +gi20 1G-Copper -- -- -- -- Down -- -- +gi21 1G-Copper -- -- -- -- Down -- -- +gi22 1G-Copper -- -- -- -- Down -- -- +gi23 1G-Copper -- -- -- -- Down -- -- +gi24 1G-Copper -- -- -- -- Down -- -- +gi25 1G-Copper -- -- -- -- Down -- -- +gi26 1G-Copper -- -- -- -- Down -- -- +gi27 1G-Combo-F Full 1000 Disabled Off Up Disabled Off +gi28 1G-Combo-F Full 1000 Disabled Off Up Disabled Off + + Flow Link +Ch Type Duplex Speed Neg control State +-------- ------- ------ ----- -------- ------- ----------- +Po1 -- -- -- -- -- Not Present +Po2 -- -- -- -- -- Not Present +Po3 -- -- -- -- -- Not Present +Po4 -- -- -- -- -- Not Present +Po5 -- -- -- -- -- Not Present +Po6 -- -- -- -- -- Not Present +Po7 -- -- -- -- -- Not Present +Po8 -- -- -- -- -- Not Present \ No newline at end of file diff --git a/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml new file mode 100644 index 0000000000..e950efc39b --- /dev/null +++ b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml @@ -0,0 +1,254 @@ +--- +parsed_sample: + - port: "gi1" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi2" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "gi3" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi4" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi5" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi6" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi7" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "gi8" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi9" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi10" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi11" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi12" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi13" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi14" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi15" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi16" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi17" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi18" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi19" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi20" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi21" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi22" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi23" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi24" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi25" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi26" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi27" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Disabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi28" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Disabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" diff --git a/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw new file mode 100644 index 0000000000..1cf79868ea --- /dev/null +++ b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw @@ -0,0 +1,10 @@ + +System capability legend: +B - Bridge; R - Router; W - Wlan Access Point; T - telephone; +D - DOCSIS Cable Device; H - Host; r - Repeater; +TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other + + Port Device ID Port ID System Name Capabilities TTL +--------- ----------------- ------------- ----------------- ------------ ----- +gi27 00:08:32:0f:1e:bd gi27 prsw03freeporil B 99 +gi28 00:08:32:0f:04:cc gi28 prsw01freeportin B 90 diff --git a/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml new file mode 100644 index 0000000000..c7f4bc600f --- /dev/null +++ b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - neighbor: "prsw03freeporil" + local_interface: "gi27" + neighbor_interface: "gi27" + device_id: "00:08:32:0f:1e:bd" + - neighbor: "prsw01freeportin" + local_interface: "gi28" + neighbor_interface: "gi28" + device_id: "00:08:32:0f:04:cc" diff --git a/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw new file mode 100644 index 0000000000..ecb1f14ec4 --- /dev/null +++ b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw @@ -0,0 +1,18 @@ +Flags: I - Internal usage VLAN +Aging time is 300 sec + + Vlan Mac Address Port Type +------------ --------------------- ---------- ---------- + 1 00:08:32:0f:00:61 0 self + 300 00:1d:9c:a1:46:86 gi7 dynamic + 300 00:1d:9c:a1:50:0a gi8 dynamic + 300 00:1d:9c:a1:5b:a6 gi9 dynamic + 300 e4:90:69:aa:58:44 gi28 dynamic + 400 00:00:bc:39:be:03 gi1 dynamic + 400 00:0e:f0:4b:30:02 gi2 dynamic + 400 00:0e:f0:4b:30:13 gi2 dynamic + 400 00:0e:f0:5a:19:f1 gi27 dynamic + 400 00:0e:f0:5a:1a:10 gi3 dynamic + 400 00:1d:9c:cd:69:5c gi1 dynamic + 400 f4:54:33:91:ea:3a gi2 dynamic + 400 f4:54:33:a8:f0:0a gi3 dynamic diff --git a/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml new file mode 100644 index 0000000000..381ad212e2 --- /dev/null +++ b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - destination_address: "00:08:32:0f:00:61" + type: "self" + vlan: "1" + destination_port: "0" + - destination_address: "00:1d:9c:a1:46:86" + type: "dynamic" + vlan: "300" + destination_port: "gi7" + - destination_address: "00:1d:9c:a1:50:0a" + type: "dynamic" + vlan: "300" + destination_port: "gi8" + - destination_address: "00:1d:9c:a1:5b:a6" + type: "dynamic" + vlan: "300" + destination_port: "gi9" + - destination_address: "e4:90:69:aa:58:44" + type: "dynamic" + vlan: "300" + destination_port: "gi28" + - destination_address: "00:00:bc:39:be:03" + type: "dynamic" + vlan: "400" + destination_port: "gi1" + - destination_address: "00:0e:f0:4b:30:02" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "00:0e:f0:4b:30:13" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "00:0e:f0:5a:19:f1" + type: "dynamic" + vlan: "400" + destination_port: "gi27" + - destination_address: "00:0e:f0:5a:1a:10" + type: "dynamic" + vlan: "400" + destination_port: "gi3" + - destination_address: "00:1d:9c:cd:69:5c" + type: "dynamic" + vlan: "400" + destination_port: "gi1" + - destination_address: "f4:54:33:91:ea:3a" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "f4:54:33:a8:f0:0a" + type: "dynamic" + vlan: "400" + destination_port: "gi3" From 9095d2a774592d9ad1cfc68e9bba0c23e2a57bc6 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:58:19 -0600 Subject: [PATCH 070/412] Bugfix: Panos sh intf hardware - Account for unk and n/a for SPEED/Duplex (#710) --- ...alto_panos_show_interface_hardware.textfsm | 9 +- ...paloalto_panos_show_interface_hardware.yml | 48 ++++-- ...aloalto_panos_show_interface_hardware2.raw | 32 ++++ ...aloalto_panos_show_interface_hardware2.yml | 158 ++++++++++++++++++ 4 files changed, 231 insertions(+), 16 deletions(-) create mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw create mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml diff --git a/templates/paloalto_panos_show_interface_hardware.textfsm b/templates/paloalto_panos_show_interface_hardware.textfsm index 1fbf382b57..b6d676dfe0 100644 --- a/templates/paloalto_panos_show_interface_hardware.textfsm +++ b/templates/paloalto_panos_show_interface_hardware.textfsm @@ -1,8 +1,9 @@ Value INTF (\S+) -Value SPEED (\d+|\[n\/a\]) -Value DUPLEX (\S+) +Value ID (\S+) +Value SPEED (\[n/a\]|\S+) +Value DUPLEX (\[n/a\]|\S+) Value STATE (\S+) +Value ADDRESS ([a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}) Start - #^${INTF}\s+\d+\s+[n/a]/[n/a]/${STATE}\s+\S+ -> Record - ^${INTF}\s+\d+\s+${SPEED}/${DUPLEX}/${STATE}\s+\S+ -> Record + ^${INTF}\s+${ID}\s+${SPEED}/${DUPLEX}/${STATE}\s+${ADDRESS} -> Record diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml index ab7b1b8dfd..59d92ab752 100644 --- a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml @@ -1,50 +1,74 @@ --- parsed_sample: - intf: "ethernet1/1" + id: "16" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:10" - intf: "ethernet1/2" + id: "17" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:11" - intf: "ethernet1/3" + id: "18" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:12" - intf: "ethernet1/4" + id: "19" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:13" - intf: "ethernet1/5" + id: "20" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:14" - intf: "ethernet1/6" + id: "21" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:15" - intf: "ethernet1/7" + id: "22" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:16" - intf: "dedicated-ha1" + id: "5" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:90:0b:33:3d:53" - intf: "dedicated-ha2" + id: "6" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "58:49:3b:1e:69:16" - intf: "vlan" + id: "1" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:01" - intf: "loopback" + id: "3" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:03" - intf: "tunnel" + id: "4" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:04" diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw new file mode 100644 index 0000000000..adc611c7d8 --- /dev/null +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw @@ -0,0 +1,32 @@ +total configured hardware interfaces: 26 + +name id speed/duplex/state mac address +-------------------------------------------------------------------------------- +ethernet1/1 64 1000/full/up c4:24:56:d7:30:40 +ethernet1/2 65 ukn/ukn/down(autoneg) c4:24:56:d7:30:41 +ethernet1/3 66 ukn/ukn/down(autoneg) c4:24:56:d7:30:42 +ethernet1/4 67 ukn/ukn/down(autoneg) c4:24:56:d7:30:43 +ethernet1/5 68 ukn/ukn/down(autoneg) c4:24:56:d7:30:44 +ethernet1/6 69 ukn/ukn/down(autoneg) c4:24:56:d7:30:45 +ethernet1/7 70 ukn/ukn/down(autoneg) c4:24:56:d7:30:46 +ethernet1/8 71 ukn/ukn/down(autoneg) c4:24:56:d7:30:47 +ethernet1/9 72 ukn/ukn/down(autoneg) c4:24:56:d7:30:48 +ethernet1/10 73 ukn/ukn/down(autoneg) c4:24:56:d7:30:49 +ethernet1/11 74 ukn/ukn/down(autoneg) c4:24:56:d7:30:4a +ethernet1/12 75 ukn/ukn/down(autoneg) c4:24:56:d7:30:4b +ethernet1/13 76 ukn/ukn/down(autoneg) c4:24:56:d7:30:4c +ethernet1/14 77 ukn/ukn/down(autoneg) c4:24:56:d7:30:4d +ethernet1/15 78 ukn/ukn/down(autoneg) c4:24:56:d7:30:4e +ethernet1/16 79 ukn/ukn/down(autoneg) c4:24:56:d7:30:4f +ethernet1/17 80 10000/full/up c4:24:56:d7:30:50 +ethernet1/18 81 10000/full/up c4:24:56:d7:30:51 +ethernet1/19 82 ukn/ukn/down(autoneg) c4:24:56:d7:30:52 +ethernet1/20 83 ukn/ukn/down(autoneg) c4:24:56:d7:30:53 +ha1-a 5 ukn/ukn/down(autoneg) 08:66:1f:02:04:a2 +ha1-b 7 ukn/ukn/down(autoneg) c4:24:56:d7:30:07 +vlan 1 [n/a]/[n/a]/up c4:24:56:d7:30:01 +loopback 3 [n/a]/[n/a]/up c4:24:56:d7:30:03 +tunnel 4 [n/a]/[n/a]/up c4:24:56:d7:30:04 +hsci 8 ukn/ukn/down(autoneg) c4:24:56:d7:30:08 + +aggregation groups: 0 \ No newline at end of file diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml new file mode 100644 index 0000000000..bc4584f83d --- /dev/null +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml @@ -0,0 +1,158 @@ +--- +parsed_sample: + - intf: "ethernet1/1" + id: "64" + speed: "1000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:40" + - intf: "ethernet1/2" + id: "65" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:41" + - intf: "ethernet1/3" + id: "66" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:42" + - intf: "ethernet1/4" + id: "67" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:43" + - intf: "ethernet1/5" + id: "68" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:44" + - intf: "ethernet1/6" + id: "69" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:45" + - intf: "ethernet1/7" + id: "70" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:46" + - intf: "ethernet1/8" + id: "71" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:47" + - intf: "ethernet1/9" + id: "72" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:48" + - intf: "ethernet1/10" + id: "73" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:49" + - intf: "ethernet1/11" + id: "74" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4a" + - intf: "ethernet1/12" + id: "75" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4b" + - intf: "ethernet1/13" + id: "76" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4c" + - intf: "ethernet1/14" + id: "77" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4d" + - intf: "ethernet1/15" + id: "78" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4e" + - intf: "ethernet1/16" + id: "79" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4f" + - intf: "ethernet1/17" + id: "80" + speed: "10000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:50" + - intf: "ethernet1/18" + id: "81" + speed: "10000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:51" + - intf: "ethernet1/19" + id: "82" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:52" + - intf: "ethernet1/20" + id: "83" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:53" + - intf: "ha1-a" + id: "5" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "08:66:1f:02:04:a2" + - intf: "ha1-b" + id: "7" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:07" + - intf: "vlan" + id: "1" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:01" + - intf: "loopback" + id: "3" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:03" + - intf: "tunnel" + id: "4" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:04" + - intf: "hsci" + id: "8" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:08" From 72ac3f12c22e88221b9a11cc64852c24f327b09d Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:59:18 -0600 Subject: [PATCH 071/412] Bugfix: EOS - show_interfaces - Added proper link_status capture for admin down (#711) --- templates/arista_eos_show_interfaces.textfsm | 4 +- .../arista_eos_show_interfaces.raw | 20 +++++ .../arista_eos_show_interfaces.yml | 76 +++++++++++-------- 3 files changed, 65 insertions(+), 35 deletions(-) diff --git a/templates/arista_eos_show_interfaces.textfsm b/templates/arista_eos_show_interfaces.textfsm index 5aadc206a8..7e794ea461 100644 --- a/templates/arista_eos_show_interfaces.textfsm +++ b/templates/arista_eos_show_interfaces.textfsm @@ -1,5 +1,5 @@ Value Required INTERFACE (\S+) -Value LINK_STATUS (\w+) +Value LINK_STATUS (.*) Value PROTOCOL_STATUS (.*) Value HARDWARE_TYPE ([\w+-]+) Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) @@ -10,7 +10,7 @@ Value MTU (\d+) Value BANDWIDTH (\d+\s+\w+) Start - ^${INTERFACE}\s+is\s+${LINK_STATUS}.*protocol\s+is\s+${PROTOCOL_STATUS} + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}$$ ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(.*address\s+is\s+${ADDRESS})*(.*bia\s+${BIA})* ^\s+Description:\s+${DESCRIPTION} ^\s+Internet\s+address\s+is\s+${IP_ADDRESS} diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw index 97cb1db1bb..a033573a11 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw @@ -43,6 +43,26 @@ Ethernet2 is up, line protocol is up (connected) 0 output errors, 0 collisions 0 late collision, 0 deferred, 0 output discards 0 PAUSE output +Ethernet49/1 is administratively down, line protocol is notpresent (disabled) + Hardware is Ethernet, address is fcbd.67e2.b922 (bia fcbd.67e2.b922) + Ethernet MTU 9214 bytes , BW 100000000 kbit + Full-duplex, 100Gb/s, auto negotiation: off, uni-link: n/a + Down 6 days, 11 hours, 16 minutes, 54 seconds + Loopback Mode : None + 1 link status changes since last clear + Last clearing of "show interface" counters 6 days, 11:19:37 ago + 5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec + 5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec + 0 packets input, 0 bytes + Received 0 broadcasts, 0 multicast + 0 runts, 0 giants + 0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards + 0 PAUSE input + 0 packets output, 0 bytes + Sent 0 broadcasts, 0 multicast + 0 output errors, 0 collisions + 0 late collision, 0 deferred, 0 output discards + 0 PAUSE output Loopback0 is up, line protocol is up (connected) Hardware is Loopback Internet address is 1.1.1.1/32 diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml index dd75e4bd09..0edeb2bcc6 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml @@ -1,62 +1,72 @@ --- parsed_sample: - - address: "0800.27dc.5443" - bandwidth: "10000000 kbit" + - interface: "Ethernet1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27dc.5443" bia: "" description: "" - hardware_type: "Ethernet" - interface: "Ethernet1" ip_address: "172.16.1.1/24" - link_status: "up" mtu: "1500" - protocol_status: "up (connected)" - - address: "0800.27dc.5443" bandwidth: "10000000 kbit" + - interface: "Ethernet2" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27dc.5443" bia: "" description: "Connects to Ethernet1 on localhost" - hardware_type: "Ethernet" - interface: "Ethernet2" ip_address: "172.16.2.1/24" - link_status: "up" mtu: "1500" + bandwidth: "10000000 kbit" + - interface: "Ethernet49/1" + link_status: "administratively down" + protocol_status: "notpresent (disabled)" + hardware_type: "Ethernet" + address: "fcbd.67e2.b922" + bia: "fcbd.67e2.b922" + description: "" + ip_address: "" + mtu: "9214" + bandwidth: "100000000 kbit" + - interface: "Loopback0" + link_status: "up" protocol_status: "up (connected)" - - address: "" - bandwidth: "" + hardware_type: "Loopback" + address: "" bia: "" description: "" - hardware_type: "Loopback" - interface: "Loopback0" ip_address: "1.1.1.1/32" - link_status: "up" mtu: "65535" - protocol_status: "up (connected)" - - address: "0000.0000.0000" bandwidth: "" + - interface: "Port-Channel1" + link_status: "down" + protocol_status: "lowerlayerdown (notconnect)" + hardware_type: "Port-Channel" + address: "0000.0000.0000" bia: "" description: "" - hardware_type: "Port-Channel" - interface: "Port-Channel1" ip_address: "" - link_status: "down" mtu: "9214" - protocol_status: "lowerlayerdown (notconnect)" - - address: "0800.27a5.02b7" - bandwidth: "1000000 kbit" + bandwidth: "" + - interface: "Management1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27a5.02b7" bia: "0800.27a5.02b7" description: "" - hardware_type: "Ethernet" - interface: "Management1" ip_address: "" - link_status: "up" mtu: "1500" - protocol_status: "up (connected)" - - address: "0800.27dc.5443" - bandwidth: "" + bandwidth: "1000000 kbit" + - interface: "Vlan10" + link_status: "down" + protocol_status: "lowerlayerdown (notconnect)" + hardware_type: "Vlan" + address: "0800.27dc.5443" bia: "0800.27dc.5443" description: "" - hardware_type: "Vlan" - interface: "Vlan10" ip_address: "10.0.0.1/24" - link_status: "down" mtu: "1500" - protocol_status: "lowerlayerdown (notconnect)" + bandwidth: "" From 7c337faa214e8b8d5154e373183014f0938e6359 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 21:12:44 -0600 Subject: [PATCH 072/412] New Template: paloalto_panos_show_interface_management.textfsm (#712) --- templates/index | 1 + ...to_panos_show_interface_management.textfsm | 35 +++++++++++++++++++ .../show_interface_management1.raw | 32 +++++++++++++++++ .../show_interface_management1.yml | 10 ++++++ 4 files changed, 78 insertions(+) create mode 100644 templates/paloalto_panos_show_interface_management.textfsm create mode 100644 tests/paloalto_panos/show_interface_management/show_interface_management1.raw create mode 100644 tests/paloalto_panos/show_interface_management/show_interface_management1.yml diff --git a/templates/index b/templates/index index c0d81d6b33..9bac341184 100644 --- a/templates/index +++ b/templates/index @@ -387,6 +387,7 @@ juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all +paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] paloalto_panos_show_interface_logical.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] diff --git a/templates/paloalto_panos_show_interface_management.textfsm b/templates/paloalto_panos_show_interface_management.textfsm new file mode 100644 index 0000000000..cbc396a099 --- /dev/null +++ b/templates/paloalto_panos_show_interface_management.textfsm @@ -0,0 +1,35 @@ +Value NAME (.+) +Value MACADDRESS ([a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}) +Value IPV4_ADDRESS (\S+) +Value IPV4_NETMASK (\S+) +Value IPV4_GATEWAY (\S+) +Value IPV6_ADDRESS (\S+) +Value IPV6_LINKLOCAL (\S+) +Value IPV6_GATEWAY (\S+) + +Start + ^-+ + ^Name:\s+${NAME}$$ + ^Link\s+status + ^\s+Runtime + ^\s+Configured\s+link + ^MAC\s+address + ^\s+Port\s+MAC\s+address\s+${MACADDRESS} + ^Ip\s+address:\s+${IPV4_ADDRESS} + ^Netmask:\s+${IPV4_NETMASK} + ^Default\s+gateway:\s+${IPV4_GATEWAY} + ^Ipv6\s+address:\s+${IPV6_ADDRESS} + ^Ipv6\s+link\s+local\s+address:\s+${IPV6_LINKLOCAL} + ^Ipv6\s+default\s+gateway:(\s+${IPV6_GATEWAY})? + ^Logical\s+interface\s+counters + ^bytes\s+received + ^bytes\s+transmitted + ^packets\s+received + ^packets\s+transmitted + ^receive\s+errors + ^transmit\s+errors + ^receive\s+packets\s+dropped + ^transmit\s+packets\s+dropped + ^multicast\s+packets\s+received + ^\s*$$ + ^. -> Error diff --git a/tests/paloalto_panos/show_interface_management/show_interface_management1.raw b/tests/paloalto_panos/show_interface_management/show_interface_management1.raw new file mode 100644 index 0000000000..236451a96f --- /dev/null +++ b/tests/paloalto_panos/show_interface_management/show_interface_management1.raw @@ -0,0 +1,32 @@ + + +------------------------------------------------------------------------------- +Name: Management Interface +Link status: + Runtime link speed/duplex/state: 1000/full/up + Configured link speed/duplex/state: auto/auto/auto +MAC address: + Port MAC address 08:66:1f:02:04:a3 + +Ip address: 10.0.1.5 +Netmask: 255.255.255.0 +Default gateway: 10.0.1.1 +Ipv6 address: unknown +Ipv6 link local address: fe80::a66:1fff:fe02:4a3/64 +Ipv6 default gateway: +------------------------------------------------------------------------------- + + +------------------------------------------------------------------------------- +Logical interface counters: +------------------------------------------------------------------------------- +bytes received 264279971 +bytes transmitted 238725455 +packets received 279836 +packets transmitted 291248 +receive errors 0 +transmit errors 0 +receive packets dropped 0 +transmit packets dropped 0 +multicast packets received 0 +------------------------------------------------------------------------------- diff --git a/tests/paloalto_panos/show_interface_management/show_interface_management1.yml b/tests/paloalto_panos/show_interface_management/show_interface_management1.yml new file mode 100644 index 0000000000..4d9b5fca29 --- /dev/null +++ b/tests/paloalto_panos/show_interface_management/show_interface_management1.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - name: "Management Interface" + macaddress: "08:66:1f:02:04:a3" + ipv4_address: "10.0.1.5" + ipv4_netmask: "255.255.255.0" + ipv4_gateway: "10.0.1.1" + ipv6_address: "unknown" + ipv6_linklocal: "fe80::a66:1fff:fe02:4a3/64" + ipv6_gateway: "" From f27856969985cf7dbeac24f7602155736ed4ee1f Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Fri, 22 May 2020 22:06:01 +0100 Subject: [PATCH 073/412] Enhance Template for Cisco IOS: show adjacency (#721) --- ...xtfsm => cisco_ios_show_adjacency.textfsm} | 0 templates/index | 2 +- .../show_adjacency_detail_iosg1.raw | 0 .../show_adjacency_detail_iosg1.yml | 0 .../show_adjacency_detail_iosxe.raw | 0 .../show_adjacency_detail_iosxe.yml | 0 .../show_adjacency/show_adjacency_short.raw | 5 +++++ .../show_adjacency/show_adjacency_short.yml | 22 +++++++++++++++++++ 8 files changed, 28 insertions(+), 1 deletion(-) rename templates/{cisco_ios_show_adjacency_detail.textfsm => cisco_ios_show_adjacency.textfsm} (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosg1.raw (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosg1.yml (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosxe.raw (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosxe.yml (100%) create mode 100644 tests/cisco_ios/show_adjacency/show_adjacency_short.raw create mode 100644 tests/cisco_ios/show_adjacency/show_adjacency_short.yml diff --git a/templates/cisco_ios_show_adjacency_detail.textfsm b/templates/cisco_ios_show_adjacency.textfsm similarity index 100% rename from templates/cisco_ios_show_adjacency_detail.textfsm rename to templates/cisco_ios_show_adjacency.textfsm diff --git a/templates/index b/templates/index index 9bac341184..610fffdc9d 100644 --- a/templates/index +++ b/templates/index @@ -172,7 +172,6 @@ cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] -cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] @@ -202,6 +201,7 @@ cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] +cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] cisco_ios_show_inventory.textfsm, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.raw similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.raw diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.yml similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.yml diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.raw similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.raw diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.yml similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.yml diff --git a/tests/cisco_ios/show_adjacency/show_adjacency_short.raw b/tests/cisco_ios/show_adjacency/show_adjacency_short.raw new file mode 100644 index 0000000000..b34b79d47f --- /dev/null +++ b/tests/cisco_ios/show_adjacency/show_adjacency_short.raw @@ -0,0 +1,5 @@ +Protocol Interface Address +IP Vlan1 10.255.1.1(11) +IP Vlan1 10.255.1.11(8) +IP Vlan1 10.255.1.250(8) +IP Vlan1 227.0.0.0(3) \ No newline at end of file diff --git a/tests/cisco_ios/show_adjacency/show_adjacency_short.yml b/tests/cisco_ios/show_adjacency/show_adjacency_short.yml new file mode 100644 index 0000000000..1919d18cea --- /dev/null +++ b/tests/cisco_ios/show_adjacency/show_adjacency_short.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - interface: "Vlan1" + endpoint: "10.255.1.1" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "10.255.1.11" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "10.255.1.250" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" From b235c25f345fd10797b2f04ec4182fd1325547e3 Mon Sep 17 00:00:00 2001 From: ichisuke <60389350+ichisuke55@users.noreply.github.com> Date: Sun, 24 May 2020 12:24:37 +0900 Subject: [PATCH 074/412] New Template: juniper_junos_show_lacp_interfaces (#713) --- templates/index | 1 + ...juniper_junos_show_lacp_interfaces.textfsm | 23 +++++++++ .../juniper_junos_show_lacp_interfaces.raw | 38 ++++++++++++++ .../juniper_junos_show_lacp_interfaces.yml | 50 +++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 templates/juniper_junos_show_lacp_interfaces.textfsm create mode 100644 tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw create mode 100644 tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml diff --git a/templates/index b/templates/index index 610fffdc9d..db1c43d374 100644 --- a/templates/index +++ b/templates/index @@ -377,6 +377,7 @@ juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] +juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] diff --git a/templates/juniper_junos_show_lacp_interfaces.textfsm b/templates/juniper_junos_show_lacp_interfaces.textfsm new file mode 100644 index 0000000000..51051f854c --- /dev/null +++ b/templates/juniper_junos_show_lacp_interfaces.textfsm @@ -0,0 +1,23 @@ +Value Required AGGREGATED_INTERFACE (\S+) +Value List MEMBER_INTERFACE (\S+) +Value List RECEIVE_STATE (\S+\s?\w+) +Value List TRANSMIT_STATE (\S+\s?periodic) +Value List MUX_STATE (\S+\s?\S*) + +Start + ^Aggregated -> Continue.Record + ^Aggregated\sinterface:\s${AGGREGATED_INTERFACE}(\s|$$) + ^\s+LACP\s+state: + ^\s+LACP\sprotocol: -> LACP_PROTO + ^\s+\S+ + ^\s*$$ + ^{master:\d+} + ^. -> Error + +LACP_PROTO + ^\s+${MEMBER_INTERFACE}\s+${RECEIVE_STATE}\s+${TRANSMIT_STATE}\s+${MUX_STATE}(\s|$$) + ^\s*$$ + ^Aggregated -> Continue.Record + ^Aggregated\sinterface:\s${AGGREGATED_INTERFACE}(\s|$$) -> Start + ^{master:\d+} + ^. -> Error diff --git a/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw new file mode 100644 index 0000000000..93fe5013ef --- /dev/null +++ b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw @@ -0,0 +1,38 @@ +Aggregated interface: ae33 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + xe-0/0/0:0 Actor No No Yes Yes Yes Yes Fast Active + xe-0/0/0:0 Partner No No Yes Yes Yes Yes Slow Active + LACP protocol: Receive State Transmit State Mux State + xe-0/0/0:0 Current Slow periodic Collecting distributing + +Aggregated interface: ae111 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/32 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/32 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/33 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/33 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/32 Current Fast periodic Collecting distributing + et-0/0/33 Current Fast periodic Collecting distributing + +Aggregated interface: ae112 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/34 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/34 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/35 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/35 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/34 Current Fast periodic Collecting distributing + et-0/0/35 Current Fast periodic Collecting distributing + +Aggregated interface: ae115 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/25 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/25 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/29 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/29 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/25 Current Fast periodic Collecting distributing + et-0/0/29 Current Fast periodic Collecting distributing + +{master:0} diff --git a/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml new file mode 100644 index 0000000000..0990686104 --- /dev/null +++ b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - aggregated_interface: "ae33" + member_interface: + - "xe-0/0/0:0" + receive_state: + - "Current" + transmit_state: + - "Slow periodic" + mux_state: + - "Collecting distributing" + - aggregated_interface: "ae111" + member_interface: + - "et-0/0/32" + - "et-0/0/33" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" + - aggregated_interface: "ae112" + member_interface: + - "et-0/0/34" + - "et-0/0/35" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" + - aggregated_interface: "ae115" + member_interface: + - "et-0/0/25" + - "et-0/0/29" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" From 920ef94e5a1d4cce01a347076b6c91718eefea51 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 23 May 2020 23:26:21 -0400 Subject: [PATCH 075/412] Bugfix: Added deleted for STATUS - cisco_ios_show_interfaces_description.textfsm (#725) --- templates/cisco_ios_show_interfaces_description.textfsm | 2 +- .../cisco_ios_show_interfaces_description.raw | 2 ++ .../cisco_ios_show_interfaces_description.yml | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_interfaces_description.textfsm b/templates/cisco_ios_show_interfaces_description.textfsm index 6e501ca427..040aa3d013 100644 --- a/templates/cisco_ios_show_interfaces_description.textfsm +++ b/templates/cisco_ios_show_interfaces_description.textfsm @@ -1,5 +1,5 @@ Value PORT (\S+) -Value STATUS (up|down|admin\s+down) +Value STATUS (up|down|deleted|admin\s+down) Value PROTOCOL (up|down) Value DESCRIP (\S.*?) diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw index 989bc4fef6..45a5dea3f8 100644 --- a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw @@ -11,3 +11,5 @@ Gi0/7 down down D3 USER Gi0/8 up up MERAKI TEST AP Gi0/9 admin down down Gi0/10 up up UPLINK TO TULCCD3S01P +Gi0/10.10 deleted down +Gi0/10.20 up up Carrier VLAN diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml index 63968dd012..8654451669 100644 --- a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml @@ -48,3 +48,11 @@ parsed_sample: status: "up" protocol: "up" descrip: "UPLINK TO TULCCD3S01P" + - port: "Gi0/10.10" + status: "deleted" + protocol: "down" + descrip: "" + - port: "Gi0/10.20" + status: "up" + protocol: "up" + descrip: "Carrier VLAN" From c317d87a9610848daa0a33816eda0fc2148cea1e Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sun, 24 May 2020 20:20:09 -0400 Subject: [PATCH 076/412] Update Yamllint to enforce double-quote (#724) --- .yamllint | 3 +- .../ciena_saos_chassis_show_temperature.yml | 6 +- .../port_show/ciena_saos_port_show.yml | 594 ++++++------ .../rstp_show/ciena_saos_rstp_show.yml | 864 +++++++++--------- .../show_logging/cisco_asa_show_logging_3.yml | 2 +- .../show_logging/cisco_asa_show_logging_4.yml | 2 +- .../cisco_nxos_show_interface_transceiver.yml | 4 +- .../hp_comware_display_ip_interface.yml | 2 +- 8 files changed, 738 insertions(+), 739 deletions(-) diff --git a/.yamllint b/.yamllint index b5c025606d..4bffe932a6 100644 --- a/.yamllint +++ b/.yamllint @@ -30,8 +30,7 @@ rules: new-line-at-end-of-file: "enable" quoted-strings: quote-type: "double" - level: "warning" trailing-spaces: {} ignore: | - tests/mocks/ \ No newline at end of file + tests/mocks/ diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml index e79f63e6a2..5bbbe8452d 100644 --- a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml @@ -1,5 +1,5 @@ --- parsed_sample: - - current: '19 C' - low: '17 C' - high: '20 C' + - current: "19 C" + low: "17 C" + high: "20 C" diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.yml b/tests/ciena_saos/port_show/ciena_saos_port_show.yml index 40a95b438e..a635420a4b 100644 --- a/tests/ciena_saos/port_show/ciena_saos_port_show.yml +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.yml @@ -1,299 +1,299 @@ --- parsed_sample: - - name: '1.11' - type: '100/G' - link: 'Up' - duration: '30d 2h24m21s' - xcvr: 'Ena' - stp: 'Dis' - mode: '1000/FD' - autoneg: 'On' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '2.1' - type: '100G/Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: 'UCTF' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '3' - type: '10/100/G' - link: 'Up' - duration: '30d 1h55m12s' - xcvr: 'Ena' - stp: 'Dis' - mode: '1000/FD' - autoneg: 'On' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '4' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '5' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '6' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '7' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '8' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '9' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '10' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '11' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '12' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '13' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '14' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '15' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '16' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '17' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '18' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '19' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '20' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '21' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '22' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '23' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '24' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: 'LAG1' - type: 'LAG' - link: 'Up' - duration: '30d 2h24m21s' - xcvr: '' - stp: 'FWD' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' - - name: 'LAG2' - type: 'LAG' - link: 'Up' - duration: '30d 1h55m11s' - xcvr: '' - stp: 'FWD' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' - - name: 'LATERAL' - type: 'LAG' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' + - name: "1.11" + type: "100/G" + link: "Up" + duration: "30d 2h24m21s" + xcvr: "Ena" + stp: "Dis" + mode: "1000/FD" + autoneg: "On" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "2.1" + type: "100G/Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "UCTF" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "3" + type: "10/100/G" + link: "Up" + duration: "30d 1h55m12s" + xcvr: "Ena" + stp: "Dis" + mode: "1000/FD" + autoneg: "On" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "4" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "5" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "6" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "7" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "8" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "9" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "10" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "11" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "12" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "13" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "14" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "15" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "16" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "17" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "18" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "19" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "20" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "21" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "22" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "23" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "24" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "LAG1" + type: "LAG" + link: "Up" + duration: "30d 2h24m21s" + xcvr: "" + stp: "FWD" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" + - name: "LAG2" + type: "LAG" + link: "Up" + duration: "30d 1h55m11s" + xcvr: "" + stp: "FWD" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" + - name: "LATERAL" + type: "LAG" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml index 1a07bff3bd..ee2c092631 100644 --- a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml @@ -1,434 +1,434 @@ --- parsed_sample: - - name: '1' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '2' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '3' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '4' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '5' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '6' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '7' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '8' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '9' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '10' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '11' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '12' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '13' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '14' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '15' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '16' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '17' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '18' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '19' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '20' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '21' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '22' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '23' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '24' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: 'LAG1' - port_op: 'Up' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'FWD' - stp_st: 'FWD' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'T' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0030D04:51:46' - - name: 'LAG2' - port_op: 'Up' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'FWD' - stp_st: 'FWD' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'T' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0030D04:22:36' - - name: 'LATERAL' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '------' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' + - name: "1" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "2" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "3" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "4" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "5" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "6" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "7" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "8" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "9" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "10" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "11" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "12" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "13" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "14" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "15" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "16" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "17" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "18" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "19" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "20" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "21" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "22" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "23" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "24" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "LAG1" + port_op: "Up" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "FWD" + stp_st: "FWD" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "T" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0030D04:51:46" + - name: "LAG2" + port_op: "Up" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "FWD" + stp_st: "FWD" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "T" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0030D04:22:36" + - name: "LATERAL" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "------" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml index 7b02c26a49..b9dc4b1e8f 100644 --- a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml @@ -11,7 +11,7 @@ parsed_sample: severity: "4" mnemonic: "106023" message: - - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - "Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group \"dmz\" [0x0, 0x0]" - number: "" month: "" day: "" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml index 10f3520eba..3278b1aa9b 100644 --- a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml @@ -11,7 +11,7 @@ parsed_sample: severity: "4" mnemonic: "106023" message: - - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - "Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group \"dmz\" [0x0, 0x0]" - number: "" month: "" day: "" diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml index 1c16a1dd5a..7f2e65619f 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -25,8 +25,8 @@ parsed_sample: type: "SFP-1000base-LH" serial: "FNS9876543" part_number: "FTLF5432P2BCL-C2" - - interface: Ethernet1/47 - type: '' + - interface: "Ethernet1/47" + type: "" manufacturer: "Arista" part_number: "QSFP-40G-LR4-AR" serial: "AROOGAH" diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml index 6fc50a464c..7804400d0e 100644 --- a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml @@ -8,7 +8,7 @@ parsed_sample: protocol_status: "UP(spoofing)" - intf: "M-GigabitEthernet0/0/0" ipaddr: [] - mtu: '' + mtu: "" line_status: "Administratively DOWN" protocol_status: "DOWN" - intf: "Vlan-interface66" From 87ff92b23051c31a025f123e4247a12ab21671fd Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 26 May 2020 09:05:23 -0600 Subject: [PATCH 077/412] Use github-changelog-generator app to generate the CHANGELOG.md, this will need some more options specified, but should be good for this release, will open issue to build out .github_changelog_generator (#728) --- .github_changelog_generator | 3 + CHANGELOG.md | 243 ++++++++++++++++++++++++++++++++++ lib/ntc_templates/__init__.py | 2 +- 3 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 .github_changelog_generator create mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator new file mode 100644 index 0000000000..50b825868c --- /dev/null +++ b/.github_changelog_generator @@ -0,0 +1,3 @@ +unreleased=true +future-release=1.4.2 +since-tag=v1.4.1 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..bce70c1200 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,243 @@ +# Changelog + +## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + +## [1.4.1] +### Fixed +- [#617] - IOS show ip ospf database router: Removed reliance on static spacing +- [#620] - NXOS show fex: Allow spaces in descriptions +- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) +- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style +- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output +- [#647] - ASA show route: Allow multiline route statements +- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option + +### Added +- [#618] - IOS show ip ospf database network: New template +- [#619] - HP Comware display lldp neighbor information verbose: New template +- [#625] - ASA show vpn-sessiondb anyconnect: New template +- [#628] - Cisco WLC show mobility sum: New template +- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group +- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME +- [#632] - ASA show nat: Added SERVICE_PROTOCOL +- [#635] - IOS show ip route summary: New template +- [#636] - ASA show vpn-sessiondb: New template +- [#638] - ASA show inventory: Capture PID and VID withoout serial +- [#637] - Cisco WLC show band select: New template + +## [1.4.0] +### Fixed +- [#548] IOS show mac address-table: Account for Total Mac Addresses +- [#565] IOS show license: Avoid trailing spaces for features +- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words +- [#574] ASA show failover: Account for new output (IPS) +- [#577] IOS show mac address-table: Account for Multicast Entries +- [#582] NXOS show interface transceiver: Remove requirement for TYPE +- [#585] IOS show mac address-table: Fixed ordering for TYPE2 +- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype +- [#584] IOS show switch detail: Account for Mac persistency wait time +- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE +- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace +- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols +- [610] Aruba os show arp: Fix tests to have the full output from the command and device +- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask +- [#614] IOS show interfaces status: Remove reliance on whitespaces +### Added +- [#406] Testing: Add yamllint to test suite +- [#407] Testing: Add python black to test suite +- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group +- [#554] IOS show logging: New template +- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group +- [#562] ASA show logging: New template +- [#564] NXOS show interface transceiver: New template +- [#567] XR show arp: New template +- [#572] IOS show lldp neighbors detail: Added SERIAL capture group +- [#573] ASA show arp: New template +- [#578] Fortinet get system interface: New template +- [#576] Huawei VRP display lldp neighbor: New template +- [#581] Cisco WLC show vlan sum: New template +- [#580] XR show interfaces summary: New template +- [#590] IOS show ip bgp neighbors: New template +- [#591] NXOS show vdc: New template +- [#595] Checkpoint GAIA show arp dynamic all: New template +- [#593] IOS show module: New template +- [#597] Huwai VRP display version: New template +- [#602] NXOS show vrf interface: New template +- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group +- [#598] IOS show running-config partition access list: Convert COMMENT to list +- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols +- [#596] XR admin show environment power: New template +- [#594] Aruba os show arp: New template +- [#605] SG300 show version: New template +- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID +- [#600] IOS show mpls interfaces: New template +- [#599] IOS show etherchannel summary: New template +- [#611] NXOS show interface: Added MODE capture group +- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups +- [#609] HP Comware display ip interface: New template +- [#606] IOS show ip ospf database router: New template +### Changed +- [#406] Helpers: Added development_helpers cli utility to replace existing helpers +### Deprecated +### Removed + +## [1.3.0] +### Fixed +- [#401] ASA show route: Fix `UPTIME` to account for additional output formats +- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" +- [#465] ASA show failover: Add line to match FirePOWER module +- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" +- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" +- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits +- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats +- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" +- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it +- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) +- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data +- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces +- [#494] IOS show ip interface: Add matches for additional output lines +- [#495] IOS show ip interface: Add matches for additional output lines +- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` +- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas +- [#499] ASA show inventory: Add matches for additional output lines +- [#503] IOS show standby: Fix output that spread across two lines +- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data +- [#516] IOS show ip interface: Add matches for additional output lines +- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line +- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax +- [#525] IOS: Added matches for vty timestamp lines +- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) +- [#538] IOS show interfaces switchport: Added matches for additional output lines +### Added +- [#378] XR show ip route: Added `VRF` capture group +- [#391] WLC show client detail: Added new template +- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free +- [#425] WLC show exclusionlist: Added new template +- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group +- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups +- [#464] Comware display counters bound interface: Added new template +- [#468] Firebox show arp: Added new template +- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group +- [#478] NXOS show ip interface brief: Added new template +- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups +- [#482] XR admin show inventory: Added new template +- [#486] NXOS show route-map: Added new template +- [#489] NXOS show forwarding ipv4 route: Added new template +- [#491] IOS show switch detail: Added new template +- [#492] XR show ipv6 neighbors: Added new template +- [#493] Fastiron show arp: Added new template +- [#496] EOS show ip helper-address: Added new template +- [#501] WLC show 802.11a|b: Added new template +- [#510] WLC show 802.11 cleanair config: Added new template +- [#512] VRP display interface brief: Added new template +- [#512] VRP display temperature: Added new template +- [#513] WLC show rf profile-summary: Added new template +- [#514] IOS show process memory sorted: Added new template +- [#515] WLC show inventory: Added new template +- [#518] Ciena software show: Added new template +- [#521] IOS show ip route: Added `VRF` capture group +- [#524] EOS show vrf: Added new template +- [#526] WLC show advanced 802.11 channel: Added new template +- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#529] Fortios get router info bgp summary: Added new template +- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group +- [#533] IOS show license: Added new template +- [#539] WLC show interface summary: Added new template +- [#540] IOS show environment temperature: Added new template +### Changed +- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" +- [#497] ASA show version: Change `SERIAL` to be a list for clusters +- [#503] IOS show standby: Update index to allow syntax including specifying an interface +- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax +- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax +- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection +- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" +- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection +- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data +- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data +### Deprecated +### Removed + +## [1.2.1] +### Fixed +- Bumped `__version__` in `__init__` file +### Added +### Changed +### Deprecated +### Removed + +## [1.2.0] +### Fixed +- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces +- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords +- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` +### Added +- [#470] ASA show version: Add capturing `compiled_date` field + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index f9aebbff9a..13f56b77ee 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.1" +__version__ = "1.4.2" From b1faded9f24a4b073b22e8e4289b045a7dd734b1 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 31 May 2020 20:20:44 -0500 Subject: [PATCH 078/412] Bugfix: ASA - show_interface - Fixes missing interfaces on down interfaces (#734) --- templates/cisco_asa_show_interface.textfsm | 56 +++++-- .../cisco_asa_show_interface1.raw | 142 +++++++++++++++++ .../cisco_asa_show_interface1.yml | 146 ++++++++++++++++++ 3 files changed, 329 insertions(+), 15 deletions(-) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml diff --git a/templates/cisco_asa_show_interface.textfsm b/templates/cisco_asa_show_interface.textfsm index 27a8474275..f7533874f9 100644 --- a/templates/cisco_asa_show_interface.textfsm +++ b/templates/cisco_asa_show_interface.textfsm @@ -1,6 +1,6 @@ Value Required INTERFACE (\S+) Value INTERFACE_ZONE (.+?) -Value LINK_STATUS (\w+) +Value LINK_STATUS (.+?) Value PROTOCOL_STATUS (.*) Value HARDWARE_TYPE ([\w ]+) Value BANDWIDTH (\d+\s+\w+) @@ -24,17 +24,43 @@ Value FIVEMIN_OUT_RATE (\d+) Value FIVEMIN_DROP_RATE (\d+) Start - ^Interface.* -> Continue.Record - ^.*Interface ${INTERFACE} "${INTERFACE_ZONE}", is ${LINK_STATUS}.*protocol is ${PROTOCOL_STATUS} - ^\s+Hardware is ${HARDWARE_TYPE} -> Continue - ^.*BW ${BANDWIDTH}.*DLY ${DELAY} - ^.*\(${DUPLEX}.*Auto-Speed\(${SPEED}\) - ^.*Description: ${DESCRIPTION} - ^.*MAC address ${ADDRESS}.*MTU ${MTU} - ^.*IP address ${IP_ADDRESS}, .*subnet mask ${NET_MASK} - ^.*1 minute input rate ${ONEMIN_IN_PPS} pkts/sec,\s+${ONEMIN_IN_RATE} bytes/sec - ^.*1 minute output rate ${ONEMIN_OUT_PPS} pkts/sec,\s+${ONEMIN_OUT_RATE} bytes/sec - ^.*1 minute drop rate, ${ONEMIN_DROP_RATE} - ^.*5 minute input rate ${FIVEMIN_IN_PPS} pkts/sec,\s+${FIVEMIN_IN_RATE} bytes/sec - ^.*5 minute output rate ${FIVEMIN_OUT_PPS} pkts/sec,\s+${FIVEMIN_OUT_RATE} bytes/sec - ^.*5 minute drop rate, ${FIVEMIN_DROP_RATE} + ^.*Interface\s+ -> Continue.Record + ^.*Interface\s+${INTERFACE}\s+"${INTERFACE_ZONE}",\s+is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} + ^.*Interface\s+${INTERFACE}.*is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} + ^\s+Hardware\s+is\s+${HARDWARE_TYPE} -> Continue + ^.*BW\s+${BANDWIDTH},\s+DLY\s+${DELAY} + ^.*\(${DUPLEX}\),\s+Auto-Speed\(${SPEED}\) + ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) + ^.*Description:\s+${DESCRIPTION} + ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} + ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set + ^.*IP\s+address\s+${IP_ADDRESS},\s+subnet\s+mask\s+${NET_MASK} + ^.*1\s+minute\s+input\s+rate\s+${ONEMIN_IN_PPS}\s+pkts/sec,\s+${ONEMIN_IN_RATE}\s+bytes/sec + ^.*1\s+minute\s+output\s+rate\s+${ONEMIN_OUT_PPS}\s+pkts/sec,\s+${ONEMIN_OUT_RATE}\s+bytes/sec + ^.*1\s+minute\s+drop\s+rate,\s+${ONEMIN_DROP_RATE} + ^.*5\s+minute\s+input\s+rate\s+${FIVEMIN_IN_PPS}\s+pkts/sec,\s+${FIVEMIN_IN_RATE}\s+bytes/sec + ^.*5\s+minute\s+output\s+rate\s+${FIVEMIN_OUT_PPS}\s+pkts/sec,\s+${FIVEMIN_OUT_RATE}\s+bytes/sec + ^.*5\s+minute\s+drop\s+rate,\s+${FIVEMIN_DROP_RATE} + ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+off + ^.*\d+\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer + ^.*Received\s+\d+\s+broadcasts,\s+\d+\s+runts,\s+\d+\s+giants + ^.*\d+\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+\d+\s+abort + ^.*\d+\s+pause\s+input,\s+\d+\s+resume\s+input + ^.*\d+\s+L2\s+decode\s+drops + ^.*\d+\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns + ^.*\d+\s+pause\s+output,\s+\d+\s+resume\s+output + ^.*\d+\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets + ^.*\d+\s+late\s+collisions,\s+\d+\s+deferred + ^.*\d+\s+input\s+reset\s+drops,\s+\d+\s+output\s+reset\s+drops + ^.*input\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) + ^.*output\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) + ^.*Traffic\s+Statistics\s+for\s+".+?": + ^.*\d+\s+packets\s+input,\s+\d+\s+bytes + ^.*\d+\s+packets\s+output,\s+\d+\s+bytes + ^.*\d+\s+packets\s+dropped + ^.*Management-only\sinterface\.\s+Blocked\s+\d+\s+through-the-device\s+packets + ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+unsupported + ^.*Available\s+but\s+not\s+configured\s+via\s+nameif + ^.*IP\s+address\s+unassigned + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw new file mode 100644 index 0000000000..2eed1f08fe --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw @@ -0,0 +1,142 @@ +Interface GigabitEthernet0/0 "outside", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Description: to iosv-1 + MAC address 5254.000d.da4c, MTU 1500 + IP address 10.99.99.2, subnet mask 255.255.255.0 + 107 packets input, 35506 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 101 L2 decode drops + 6 packets output, 612 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "outside": + 6 packets input, 492 bytes + 6 packets output, 456 bytes + 0 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec +Interface GigabitEthernet0/1 "inside", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + MAC address 5254.0005.1b55, MTU 1500 + IP address 10.90.90.1, subnet mask 255.255.255.0 + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 1 packets output, 54 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "inside": + 0 packets input, 0 bytes + 1 packets output, 28 bytes + 0 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec +Interface GigabitEthernet0/2 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Full-Duplex(Full-duplex), 1000 Mbps(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.0017.e9c0, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface GigabitEthernet0/3 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.001c.5b3a, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface GigabitEthernet0/4 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.0008.9da4, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface Management0/0 "management", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + MAC address 5254.0006.b468, MTU 1500 + IP address 10.100.100.2, subnet mask 255.255.255.0 + 975 packets input, 106522 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 881 packets output, 108542 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "management": + 975 packets input, 92872 bytes + 883 packets output, 85916 bytes + 109 packets dropped + 1 minute input rate 1 pkts/sec, 90 bytes/sec + 1 minute output rate 1 pkts/sec, 95 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 17 bytes/sec + 5 minute output rate 0 pkts/sec, 18 bytes/sec + 5 minute drop rate, 0 pkts/sec \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml new file mode 100644 index 0000000000..13e621e620 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - address: "5254.000d.da4c" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-1" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/0" + interface_zone: "outside" + ip_address: "10.99.99.2" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0005.1b55" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/1" + interface_zone: "inside" + ip_address: "10.90.90.1" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0017.e9c0" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/2" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.001c.5b3a" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/3" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0008.9da4" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/4" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0006.b468" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "17" + fivemin_out_pps: "0" + fivemin_out_rate: "18" + hardware_type: "net_virtio" + interface: "Management0/0" + interface_zone: "management" + ip_address: "10.100.100.2" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "1" + onemin_in_rate: "90" + onemin_out_pps: "1" + onemin_out_rate: "95" + protocol_status: "up" + speed: "1000 Mbps" From 9a77c396ca6ad82087c3fc7f629e4d60487e76aa Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Mon, 1 Jun 2020 14:22:11 +0100 Subject: [PATCH 079/412] New Template: cisco_nxos_show_forwarding_adjacency (#722) --- ...sco_nxos_show_forwarding_adjacency.textfsm | 42 ++++ templates/index | 1 + ...cisco_nxos_show_forwarding_adjacency_1.raw | 13 + ...cisco_nxos_show_forwarding_adjacency_1.yml | 65 +++++ ...cisco_nxos_show_forwarding_adjacency_2.raw | 13 + ...cisco_nxos_show_forwarding_adjacency_2.yml | 65 +++++ ...cisco_nxos_show_forwarding_adjacency_3.raw | 57 +++++ ...cisco_nxos_show_forwarding_adjacency_3.yml | 226 ++++++++++++++++++ 8 files changed, 482 insertions(+) create mode 100644 templates/cisco_nxos_show_forwarding_adjacency.textfsm create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml diff --git a/templates/cisco_nxos_show_forwarding_adjacency.textfsm b/templates/cisco_nxos_show_forwarding_adjacency.textfsm new file mode 100644 index 0000000000..bc868b44f9 --- /dev/null +++ b/templates/cisco_nxos_show_forwarding_adjacency.textfsm @@ -0,0 +1,42 @@ +# Nexus 7k have multiple slots +Value Filldown SLOT (\d+) +Value Required NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value Required REWRITE (\S+) +Value Required INTERFACE (\S+) +Value ORIGIN_AS (\S+) +Value PEER_AS (\S+) +Value NEIGHBOR (\S+) + +Start + # Extract slot #, if available (Nexus 7k) + ^slot\s+${SLOT} + ^==== + # Match headers + ^IPv4\s+adjacency\s+information + ^next-hop\s+rewrite\s+info\s+interface\s*$$ -> Entries + ^next-hop\s+rewrite\s+info\s+interface\s+Origin\s+AS\s+Peer\s+AS\s+Neighbor -> EntriesDetail + # Empty and unknowns lines + ^\s*$$ + ^. -> Error + +Entries + # Ignore delimiter + ^-------- + # Match single adjacency entry (brief view) + ^${NEXTHOP}\s+${REWRITE}\s+${INTERFACE} -> Record + # New slot? + ^slot\s+${SLOT} -> Start + # Empty and unknowns lines + ^\s*$$ + ^. -> Error + +EntriesDetail + # Ignore delimiter + ^-------- + # Match single adjacency entry (detailed view) + ^${NEXTHOP}\s+${REWRITE}\s+${INTERFACE}\s*(?:${ORIGIN_AS}\s+${PEER_AS}\s+${NEIGHBOR})? -> Record + # New slot? + ^slot\s+${SLOT} -> Start + # Empty and unknowns lines + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index db1c43d374..6d55014b88 100644 --- a/templates/index +++ b/templates/index @@ -236,6 +236,7 @@ cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erf cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] (?:ipv4 )?ad[[jacency]] cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw new file mode 100644 index 0000000000..19686584f2 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw @@ -0,0 +1,13 @@ +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +10.111.1.3 cc16.7c1f.9852 Vlan10 +10.111.1.4 cc16.7c1f.6900 Vlan10 +10.111.1.5 84b8.025a.f786 Vlan10 +10.111.1.6 a89d.2121.bc7b Vlan10 +10.5.111.213 0050.528c.5b4c Vlan182 +10.5.111.221 002a.6312.6ac1 Vlan182 +10.111.254.6 002a.6312.6ac1 Vlan254 +10.6.140.234 000e.b6b2.ff01 Ethernet1/16 +10.6.140.238 54a2.72da.b651 Ethernet1/16 \ No newline at end of file diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml new file mode 100644 index 0000000000..4dae3330a7 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - slot: "" + nexthop: "10.111.1.3" + rewrite: "cc16.7c1f.9852" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.4" + rewrite: "cc16.7c1f.6900" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.5" + rewrite: "84b8.025a.f786" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.6" + rewrite: "a89d.2121.bc7b" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.213" + rewrite: "0050.528c.5b4c" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.221" + rewrite: "002a.6312.6ac1" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.254.6" + rewrite: "002a.6312.6ac1" + interface: "Vlan254" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.234" + rewrite: "000e.b6b2.ff01" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.238" + rewrite: "54a2.72da.b651" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw new file mode 100644 index 0000000000..b86bbd38ba --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw @@ -0,0 +1,13 @@ +IPv4 adjacency information + +next-hop rewrite info interface +-------------- --------------- ------------- +10.111.1.3 cc16.7c1f.9852 Vlan10 +10.111.1.4 cc16.7c1f.6900 Vlan10 +10.111.1.5 84b8.025a.f786 Vlan10 +10.111.1.6 a89d.2121.bc7b Vlan10 +10.5.111.213 0050.528c.5b4c Vlan182 +10.5.111.221 002a.6312.6ac1 Vlan182 +10.111.254.6 002a.6312.6ac1 Vlan254 +10.6.140.234 000e.b6b2.ff01 Ethernet1/16 +10.6.140.238 54a2.72da.b651 Ethernet1/16 \ No newline at end of file diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml new file mode 100644 index 0000000000..4dae3330a7 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - slot: "" + nexthop: "10.111.1.3" + rewrite: "cc16.7c1f.9852" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.4" + rewrite: "cc16.7c1f.6900" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.5" + rewrite: "84b8.025a.f786" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.6" + rewrite: "a89d.2121.bc7b" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.213" + rewrite: "0050.528c.5b4c" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.221" + rewrite: "002a.6312.6ac1" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.254.6" + rewrite: "002a.6312.6ac1" + interface: "Vlan254" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.234" + rewrite: "000e.b6b2.ff01" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.238" + rewrite: "54a2.72da.b651" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw new file mode 100644 index 0000000000..858d24b875 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw @@ -0,0 +1,57 @@ + +slot 1 +======= + + +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +172.17.1.2 001c.b0c9.6b80 Ethernet1/1 +100.120.0.2 00de.fb5a.2c47 Ethernet1/2 +100.64.1.6 00a3.8eb7.6f29 Ethernet1/4 +100.100.59.10 286f.7feb.1947 Ethernet1/7 +100.111.0.2 00de.fb5a.2c46 Ethernet1/11 +100.100.59.2 286f.7feb.1940 Ethernet1/14 +100.89.1.6 b4de.3141.af12 Ethernet1/15 +100.99.1.2 84b2.61d4.357f Ethernet1/22 +100.99.1.10 2cab.eb4f.2f46 Ethernet1/23 +100.100.59.14 00d7.8f7f.edcb Ethernet2/7 +100.100.59.6 00d7.8f7f.edc4 Ethernet2/14 +100.89.1.2 b4de.3141.af10 Ethernet2/15 +100.126.255.2 00a3.d186.4141 Ethernet2/16 +100.99.1.6 84b2.61d4.357f Ethernet2/22 +100.99.1.14 2cab.eb4f.2f48 Ethernet2/23 +100.127.253.1 00de.fb5a.2c45 Ethernet2/24 + +slot 2 +======= + + +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +172.17.1.2 001c.b0c9.6b80 Ethernet1/1 +100.120.0.2 00de.fb5a.2c47 Ethernet1/2 +100.64.1.6 00a3.8eb7.6f29 Ethernet1/4 +100.100.59.10 286f.7feb.1947 Ethernet1/7 +100.111.0.2 00de.fb5a.2c46 Ethernet1/11 +100.100.59.2 286f.7feb.1940 Ethernet1/14 +100.89.1.6 b4de.3141.af12 Ethernet1/15 +100.99.1.2 84b2.61d4.357f Ethernet1/22 +100.99.1.10 2cab.eb4f.2f46 Ethernet1/23 +100.100.59.14 00d7.8f7f.edcb Ethernet2/7 +100.100.59.6 00d7.8f7f.edc4 Ethernet2/14 +100.89.1.2 b4de.3141.af10 Ethernet2/15 +100.126.255.2 00a3.d186.4141 Ethernet2/16 +100.99.1.6 84b2.61d4.357f Ethernet2/22 +100.99.1.14 2cab.eb4f.2f48 Ethernet2/23 +100.127.253.1 00de.fb5a.2c45 Ethernet2/24 + +slot 5 +======= + + +slot 6 +======= diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml new file mode 100644 index 0000000000..00697b3d71 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml @@ -0,0 +1,226 @@ +--- +parsed_sample: + - slot: "1" + nexthop: "172.17.1.2" + rewrite: "001c.b0c9.6b80" + interface: "Ethernet1/1" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.120.0.2" + rewrite: "00de.fb5a.2c47" + interface: "Ethernet1/2" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.64.1.6" + rewrite: "00a3.8eb7.6f29" + interface: "Ethernet1/4" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.10" + rewrite: "286f.7feb.1947" + interface: "Ethernet1/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.111.0.2" + rewrite: "00de.fb5a.2c46" + interface: "Ethernet1/11" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.2" + rewrite: "286f.7feb.1940" + interface: "Ethernet1/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.89.1.6" + rewrite: "b4de.3141.af12" + interface: "Ethernet1/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.2" + rewrite: "84b2.61d4.357f" + interface: "Ethernet1/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.10" + rewrite: "2cab.eb4f.2f46" + interface: "Ethernet1/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.14" + rewrite: "00d7.8f7f.edcb" + interface: "Ethernet2/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.6" + rewrite: "00d7.8f7f.edc4" + interface: "Ethernet2/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.89.1.2" + rewrite: "b4de.3141.af10" + interface: "Ethernet2/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.126.255.2" + rewrite: "00a3.d186.4141" + interface: "Ethernet2/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.6" + rewrite: "84b2.61d4.357f" + interface: "Ethernet2/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.14" + rewrite: "2cab.eb4f.2f48" + interface: "Ethernet2/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.127.253.1" + rewrite: "00de.fb5a.2c45" + interface: "Ethernet2/24" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "172.17.1.2" + rewrite: "001c.b0c9.6b80" + interface: "Ethernet1/1" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.120.0.2" + rewrite: "00de.fb5a.2c47" + interface: "Ethernet1/2" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.64.1.6" + rewrite: "00a3.8eb7.6f29" + interface: "Ethernet1/4" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.10" + rewrite: "286f.7feb.1947" + interface: "Ethernet1/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.111.0.2" + rewrite: "00de.fb5a.2c46" + interface: "Ethernet1/11" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.2" + rewrite: "286f.7feb.1940" + interface: "Ethernet1/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.89.1.6" + rewrite: "b4de.3141.af12" + interface: "Ethernet1/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.2" + rewrite: "84b2.61d4.357f" + interface: "Ethernet1/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.10" + rewrite: "2cab.eb4f.2f46" + interface: "Ethernet1/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.14" + rewrite: "00d7.8f7f.edcb" + interface: "Ethernet2/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.6" + rewrite: "00d7.8f7f.edc4" + interface: "Ethernet2/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.89.1.2" + rewrite: "b4de.3141.af10" + interface: "Ethernet2/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.126.255.2" + rewrite: "00a3.d186.4141" + interface: "Ethernet2/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.6" + rewrite: "84b2.61d4.357f" + interface: "Ethernet2/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.14" + rewrite: "2cab.eb4f.2f48" + interface: "Ethernet2/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.127.253.1" + rewrite: "00de.fb5a.2c45" + interface: "Ethernet2/24" + origin_as: "" + peer_as: "" + neighbor: "" From 82ec3c2e99fcb613e16306427f3f31fed0ed55d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=91=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=D0=B5=D1=86?= <34039065+saaverdo@users.noreply.github.com> Date: Mon, 1 Jun 2020 17:17:53 +0300 Subject: [PATCH 080/412] New template: ubiquity_edgeswitch_show_version.textfsm (#732) --- templates/index | 1 + .../ubiquiti_edgeswitch_show_version.textfsm | 21 +++++++++++++++++++ .../ubiquiti_edgeswitch_show_version.raw | 12 +++++++++++ .../ubiquiti_edgeswitch_show_version.yml | 8 +++++++ .../ubiquiti_edgeswitch_show_version2.raw | 10 +++++++++ .../ubiquiti_edgeswitch_show_version2.yml | 8 +++++++ 6 files changed, 60 insertions(+) create mode 100644 templates/ubiquiti_edgeswitch_show_version.textfsm create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml diff --git a/templates/index b/templates/index index 6d55014b88..cf8d647909 100644 --- a/templates/index +++ b/templates/index @@ -402,6 +402,7 @@ paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] diff --git a/templates/ubiquiti_edgeswitch_show_version.textfsm b/templates/ubiquiti_edgeswitch_show_version.textfsm new file mode 100644 index 0000000000..88e63e9bfb --- /dev/null +++ b/templates/ubiquiti_edgeswitch_show_version.textfsm @@ -0,0 +1,21 @@ +Value VERSION (.*) +Value SWITCH_TYPE (\S+\s\S+\s\S+) +Value SWITCH_MODEL (\S+) +Value SERIAL (\S+) +Value MAC (\S+) +Value HW_REVISION (\S+) + +Start + ^Switch:.+ + ^Machine\s+Type\.+\s+${SWITCH_TYPE} + ^Machine\s+Model\.+\s+${SWITCH_MODEL} + ^Serial\s+Number\.+\s+${SERIAL} + ^Burned\s+In\s+MAC\s+Address\.+\s+${MAC} + ^Software\s+Version\.+\s+${VERSION} + ^Hardware\s+Revision\.+\s+${HW_REVISION} + # netmiko's send_command starts command output with the last symbol from command sent + ^\w$$ + ^System\s+Description + ^Part\s+Number + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw new file mode 100644 index 0000000000..7aa58972c9 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw @@ -0,0 +1,12 @@ +r + +Switch: 1 + +System Description............................. EdgeSwitch 48 500W, 1.9.1, Linux 3.6.5-03329b4a, 0.0.0.0000000 +Machine Type................................... EdgeSwitch 48 500W +Machine Model.................................. ES-48-500W +Serial Number.................................. 18E8292278F5 +Part Number.................................... 13-02072 +Burned In MAC Address.......................... 18:E8:29:22:78:F5 +Software Version............................... 1.9.1 +Hardware Revision.............................. 20 diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml new file mode 100644 index 0000000000..1cfe38c4c6 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - hw_revision: "20" + mac: "18:E8:29:22:78:F5" + serial: "18E8292278F5" + switch_model: "ES-48-500W" + switch_type: "EdgeSwitch 48 500W" + version: "1.9.1" diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw new file mode 100644 index 0000000000..c081a05a84 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw @@ -0,0 +1,10 @@ +r + +Switch: 1 + +System Description............................. EdgeSwitch 24-Port 250W, 1.8.0.5106045, Linux 3.6.5-1b505fb7, 0.0.0.0000000 +Machine Type................................... EdgeSwitch 24-Port 250W +Machine Model.................................. ES-24-250W +Serial Number.................................. 788A20BE0E00 +Burned In MAC Address.......................... 78:8A:20:BE:0E:00 +Software Version............................... 1.8.0.5106045 diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml new file mode 100644 index 0000000000..c0824ebaf0 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - hw_revision: "" + mac: "78:8A:20:BE:0E:00" + serial: "788A20BE0E00" + switch_model: "ES-24-250W" + switch_type: "EdgeSwitch 24-Port 250W" + version: "1.8.0.5106045" From 1a91156a77322c00506e040cd720b5c6a35cc044 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 1 Jun 2020 19:18:25 -0400 Subject: [PATCH 081/412] New Template/OS: broadcom_icos_show_version.textfsm (#733) --- templates/broadcom_icos_show_version.textfsm | 40 +++++++++++++++++++ templates/index | 2 + .../broadcom_icos_show_version.raw | 23 +++++++++++ .../broadcom_icos_show_version.yml | 26 ++++++++++++ .../broadcom_icos_show_version2.raw | 23 +++++++++++ .../broadcom_icos_show_version2.yml | 27 +++++++++++++ .../broadcom_icos_show_version3.raw | 25 ++++++++++++ .../broadcom_icos_show_version3.yml | 26 ++++++++++++ .../broadcom_icos_show_version4.raw | 24 +++++++++++ .../broadcom_icos_show_version4.yml | 25 ++++++++++++ .../broadcom_icos_show_version5.raw | 25 ++++++++++++ .../broadcom_icos_show_version5.yml | 26 ++++++++++++ tests/test_index_order.py | 1 + 13 files changed, 293 insertions(+) create mode 100644 templates/broadcom_icos_show_version.textfsm create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml diff --git a/templates/broadcom_icos_show_version.textfsm b/templates/broadcom_icos_show_version.textfsm new file mode 100644 index 0000000000..4aab2077a7 --- /dev/null +++ b/templates/broadcom_icos_show_version.textfsm @@ -0,0 +1,40 @@ +Value DESCRIPTION (.+) +Value SWITCH_TYPE (.+) +Value SWITCH_MODEL (.+) +Value SERIAL (.+) +Value FRU_NUMBER (.+) +Value PART_NUMBER (.+) +Value MAINTENANCE_LEVEL (.+) +Value MANUFACTURER (.+) +Value MAC (.+) +Value VERSION (.+) +Value OS_VERSION (.+) +Value NETWORK_PROCESSING_DEVICE (.+) +Value CPLD_VERSION (.+) +Value BOARD_REVISION (.+) +Value List ADDITIONAL_PACKAGES (.+) + +Start + # Captures show version for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # The following can be an empty value as it doesnt exist in all the models: + # FruNumber, PartNumber, CPLDversion, BoardRevision + ^\s*Switch\s*:\s*\d+\s*$$ + ^\s*$$ + ^\s*System\s*Description\s*\.+\s*${DESCRIPTION}$$ + ^\s*Machine\s*Type\s*\.+\s*${SWITCH_TYPE}$$ + ^\s*Machine\s*Model\s*\.+\s*${SWITCH_MODEL}$$ + ^\s*Serial\s*Number\s*\.+\s*${SERIAL}$$ + ^\s*FRU\s*Number\s*\.+\s*${FRU_NUMBER}$$ + ^\s*Part\s*Number\s*\.+\s*${PART_NUMBER}$$ + ^\s*Maintenance\s*Level\s*\.+\s*${MAINTENANCE_LEVEL}$$ + ^\s*Manufacturer\s*\.+\s*${MANUFACTURER}$$ + ^\s*Burned\s*In\s*MAC\s*Address\s*\.+\s*${MAC}$$ + ^\s*Software\s*Version\s*\.+\s*${VERSION}$$ + ^\s*Operating\s*System\s*\.+\s*${OS_VERSION}$$ + ^\s*Network\s*Processing\s*Device\s*\.+\s*${NETWORK_PROCESSING_DEVICE}$$ + ^\s*CPLD\s*version\s*\.+\s*${CPLD_VERSION}$$ + ^\s*Board\s*Revision\s*\.+\s*${BOARD_REVISION}$$ + ^\s*Additional\s*Packages\s*\.+\s*${ADDITIONAL_PACKAGES}$$ + ^\s+${ADDITIONAL_PACKAGES}$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index cf8d647909..121b3c53ea 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,8 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] + brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_fastiron_show_running-config_vlan.textfsm, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.textfsm, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw new file mode 100644 index 0000000000..79e0f60fde --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw @@ -0,0 +1,23 @@ + +Switch: 1 + +System Description............................. Accton AS4610-54P , 3.2.2.42, Linux 3.6.5, U-Boot 2012.10-gd563f4a (Apr 13 2017 - 12:08:06) - 2012.10.0.5 +Machine Type................................... Accton AS4610-54P +Machine Model.................................. BCM-56643 +Serial Number.................................. EC1726004357 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... A8:2B:B5:55:58:01 +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.6.5 +Network Processing Device...................... BCM56340_A0 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml new file mode 100644 index 0000000000..517c7eaf36 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "Accton AS4610-54P , 3.2.2.42, Linux 3.6.5, U-Boot 2012.10-gd563f4a\ + \ (Apr 13 2017 - 12:08:06) - 2012.10.0.5" + switch_type: "Accton AS4610-54P" + switch_model: "BCM-56643" + serial: "EC1726004357" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "A8:2B:B5:55:58:01" + version: "3.2.2.42" + os_version: "Linux 3.6.5" + network_processing_device: "BCM56340_A0" + cpld_version: "" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw new file mode 100644 index 0000000000..34ad97c154 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw @@ -0,0 +1,23 @@ + +Switch: 1 + +System Description............................. Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb, 3.2.2.42, Linux 3.8.13-rt9-4143e257, U-Boot 2013.01.01-gb4d916c (Jun 06 2017 - 10:45:46) - 3.0.3.15 +Machine Type................................... Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb +Machine Model.................................. AS5610-52X +Serial Number.................................. 561052X1727264 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... A8:2B:B5:57:CC:8D +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.8.13-rt9-4143e257 +Network Processing Device...................... BCM56846_A1 +CPLD version................................... 0x2 +Board Revision................................. 0x2 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml new file mode 100644 index 0000000000..a0dbb3b134 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - description: "Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb, 3.2.2.42,\ + \ Linux 3.8.13-rt9-4143e257, U-Boot 2013.01.01-gb4d916c (Jun 06 2017 - 10:45:46)\ + \ - 3.0.3.15" + switch_type: "Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb" + switch_model: "AS5610-52X" + serial: "561052X1727264" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "A8:2B:B5:57:CC:8D" + version: "3.2.2.42" + os_version: "Linux 3.8.13-rt9-4143e257" + network_processing_device: "BCM56846_A1" + cpld_version: "0x2" + board_revision: "0x2" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw new file mode 100644 index 0000000000..ce3ffc8a95 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw @@ -0,0 +1,25 @@ + +Switch: 1 + +System Description............................. LY2R - 48 TENGIG, Four 40GbE PORTS, 3.2.2.42, Linux 3.8.13-rt9-4143e257, U-Boot 2010.12 (Feb 10 2015 - 10:01:12) - ONIE 2014.05.03-d +Machine Type................................... LY2R - 48 TENGIG, Four 40GbE PORTS +Machine Model.................................. LY2R +Serial Number.................................. QTFCEA530009C +FRU Number..................................... 1LY2BZZ001A +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 2C:60:0C:C0:6A:0C +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.8.13-rt9-4143e257 +Network Processing Device...................... BCM56846_A1 +CPLD version................................... 0x1 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml new file mode 100644 index 0000000000..0b3c7e6296 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "LY2R - 48 TENGIG, Four 40GbE PORTS, 3.2.2.42, Linux 3.8.13-rt9-4143e257,\ + \ U-Boot 2010.12 (Feb 10 2015 - 10:01:12) - ONIE 2014.05.03-d" + switch_type: "LY2R - 48 TENGIG, Four 40GbE PORTS" + switch_model: "LY2R" + serial: "QTFCEA530009C" + fru_number: "1LY2BZZ001A" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "2C:60:0C:C0:6A:0C" + version: "3.2.2.42" + os_version: "Linux 3.8.13-rt9-4143e257" + network_processing_device: "BCM56846_A1" + cpld_version: "0x1" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw new file mode 100644 index 0000000000..be3b9cd18c --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw @@ -0,0 +1,24 @@ + +Switch: 1 + +System Description............................. Quanta LB9, 2.3.2.12, Linux 2.6.34.6, U-Boot 1.3.0 (Dec 14 2012 - 10:30:09) +Machine Type................................... Quanta LB9 +Machine Model.................................. LB9 +Serial Number.................................. QTFCA63150162 +FRU Number..................................... 1LB9BZZ0STK +Part Number.................................... BCM56538 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 08:9E:01:A0:32:FC +Software Version............................... 2.3.2.12 +Operating System............................... Linux 2.6.34.6 +Network Processing Device...................... BCM56538_B0 +Additional Packages............................ BGP-4 + QOS + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml new file mode 100644 index 0000000000..4368e81a6c --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml @@ -0,0 +1,25 @@ +--- +parsed_sample: + - description: "Quanta LB9, 2.3.2.12, Linux 2.6.34.6, U-Boot 1.3.0 (Dec 14 2012\ + \ - 10:30:09)" + switch_type: "Quanta LB9" + switch_model: "LB9" + serial: "QTFCA63150162" + fru_number: "1LB9BZZ0STK" + part_number: "BCM56538" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "08:9E:01:A0:32:FC" + version: "2.3.2.12" + os_version: "Linux 2.6.34.6" + network_processing_device: "BCM56538_B0" + cpld_version: "" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw new file mode 100644 index 0000000000..702fd8818b --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw @@ -0,0 +1,25 @@ + +Switch: 1 + +System Description............................. DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System, 3.2.2.42, Linux 3.6.5-c428db7a +Machine Type................................... DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System +Machine Model.................................. BCM-56340 +Serial Number.................................. 3448BCN1603101 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 00:30:AB:F2:48:DE +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.6.5-c428db7a +Network Processing Device...................... BCM56340_A0 +CPLD version................................... 0xd +Board Revision................................. 0x5 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml new file mode 100644 index 0000000000..022bcaa700 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System, 3.2.2.42, Linux\ + \ 3.6.5-c428db7a" + switch_type: "DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System" + switch_model: "BCM-56340" + serial: "3448BCN1603101" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "00:30:AB:F2:48:DE" + version: "3.2.2.42" + os_version: "Linux 3.6.5-c428db7a" + network_processing_device: "BCM56340_A0" + cpld_version: "0xd" + board_revision: "0x5" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 01dda63add..84d05b6c0e 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -69,6 +69,7 @@ def test_index_ordering(): "aruba_os", "avaya_ers", "avaya_vsp", + "broadcom_icos", "brocade_fastiron", "brocade_netiron", "brocade_nos", From f98fcb2104e793146e6d197a2b1128d1a0061039 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 1 Jun 2020 17:19:40 -0600 Subject: [PATCH 082/412] BugFix: cisco_ios_show_interfaces_switchport: Made trunking_vlans a list, and changed regex (#671) --- ...sco_ios_show_interfaces_switchport.textfsm | 8 +- .../cisco_ios_show_interfaces_switchport.yml | 18 ++- .../cisco_ios_show_interfaces_switchport2.raw | 31 +++++ .../cisco_ios_show_interfaces_switchport2.yml | 14 +++ ...s_show_interfaces_switchport_ethertype.yml | 66 +++++++---- ...how_interfaces_switchport_vepa_enabled.yml | 107 +++++++++++------- ..._show_interfaces_switchport_voice_vlan.yml | 15 ++- 7 files changed, 184 insertions(+), 75 deletions(-) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index fcde9f252e..9483705ee2 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -7,7 +7,7 @@ Value ADMIN_MODE (.+?) Value ACCESS_VLAN (\d+|unassigned) Value NATIVE_VLAN (\d+) Value VOICE_VLAN (\S+) -Value TRUNKING_VLANS (.+?) +Value List TRUNKING_VLANS (\S+?) Start ^Name: -> Continue.Record @@ -19,7 +19,9 @@ Start ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} + ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ + ^\s+${TRUNKING_VLANS}$$ ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: @@ -35,3 +37,7 @@ Start ^Load\s+for\s+ ^Time\s+source\s+is ^. -> Error + +Trunk + ^\s+${TRUNKING_VLANS},\s*$$ -> Start + ^\s+${TRUNKING_VLANS}\s*$$ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml index eb695543f0..9b70ba853c 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "100" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "101" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "110" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/1" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "111" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Fa0/1" switchport: "Enabled" switchport_monitor: "" @@ -59,4 +64,5 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw new file mode 100644 index 0000000000..df2599fd7c --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw @@ -0,0 +1,31 @@ +Name: Te5/0/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604, + 900,910,920,930,940 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml new file mode 100644 index 0000000000..0ec9e9321e --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - interface: "Te5/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" + - "900,910,920,930,940" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml index 06a794694e..172f4e93d3 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,50,51,60,61,72,73" + trunking_vlans: + - "46-48,50,51,60,61,72,73" - interface: "Te1/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,52,53,62,63,72,73" + trunking_vlans: + - "46-48,52,53,62,63,72,73" - interface: "Te1/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-49,54,55,64,65,72,73" + trunking_vlans: + - "46-49,54,55,64,65,72,73" - interface: "Te1/4" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-49,55,65,72,232" + trunking_vlans: + - "46-49,55,65,72,232" - interface: "Te1/5" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46,48,56,57,66,67,72,73" + trunking_vlans: + - "46,48,56,57,66,67,72,73" - interface: "Te1/6" switchport: "Enabled" switchport_monitor: "" @@ -59,7 +64,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,58,59,68,69,72,73" + trunking_vlans: + - "46-48,58,59,68,69,72,73" - interface: "Te1/7" switchport: "Enabled" switchport_monitor: "" @@ -69,7 +75,8 @@ parsed_sample: access_vlan: "64" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/8" switchport: "Enabled" switchport_monitor: "" @@ -79,7 +86,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,45,48" + trunking_vlans: + - "40,45,48" - interface: "Te1/10" switchport: "Enabled" switchport_monitor: "" @@ -89,7 +97,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "990" + trunking_vlans: + - "990" - interface: "Te1/17" switchport: "Enabled" switchport_monitor: "" @@ -99,7 +108,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,48" + trunking_vlans: + - "40,48" - interface: "Te1/21" switchport: "Enabled" switchport_monitor: "" @@ -109,7 +119,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" - interface: "Te1/23" switchport: "Enabled" switchport_monitor: "" @@ -119,7 +130,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Te1/24" switchport: "Enabled" switchport_monitor: "" @@ -129,7 +141,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Te1/25" switchport: "Enabled" switchport_monitor: "" @@ -139,7 +152,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/26" switchport: "Enabled" switchport_monitor: "" @@ -149,7 +163,8 @@ parsed_sample: access_vlan: "90" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/27" switchport: "Enabled" switchport_monitor: "" @@ -159,7 +174,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/29" switchport: "Enabled" switchport_monitor: "" @@ -169,7 +185,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/32" switchport: "Enabled" switchport_monitor: "" @@ -179,7 +196,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/36" switchport: "Enabled" switchport_monitor: "" @@ -189,7 +207,8 @@ parsed_sample: access_vlan: "99" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/40" switchport: "Enabled" switchport_monitor: "" @@ -199,7 +218,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" - interface: "Po1" switchport: "Enabled" switchport_monitor: "" @@ -209,7 +229,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Po2" switchport: "Enabled" switchport_monitor: "" @@ -219,4 +240,5 @@ parsed_sample: access_vlan: "unassigned" native_vlan: "0" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml index a3350825a8..ba1b64685d 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/4" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/5" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/6" switchport: "Enabled" switchport_monitor: "" @@ -59,7 +64,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/7" switchport: "Enabled" switchport_monitor: "" @@ -69,7 +75,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/8" switchport: "Enabled" switchport_monitor: "" @@ -79,7 +86,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/9" switchport: "Enabled" switchport_monitor: "" @@ -89,7 +97,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/10" switchport: "Enabled" switchport_monitor: "" @@ -99,7 +108,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/11" switchport: "Enabled" switchport_monitor: "" @@ -109,7 +119,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/12" switchport: "Enabled" switchport_monitor: "" @@ -119,7 +130,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/13" switchport: "Enabled" switchport_monitor: "" @@ -129,7 +141,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/14" switchport: "Enabled" switchport_monitor: "" @@ -139,7 +152,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/15" switchport: "Enabled" switchport_monitor: "" @@ -149,7 +163,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/16" switchport: "Enabled" switchport_monitor: "" @@ -159,7 +174,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/17" switchport: "Enabled" switchport_monitor: "" @@ -169,7 +185,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/18" switchport: "Enabled" switchport_monitor: "" @@ -179,7 +196,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/19" switchport: "Enabled" switchport_monitor: "" @@ -189,7 +207,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/20" switchport: "Enabled" switchport_monitor: "" @@ -199,7 +218,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/21" switchport: "Enabled" switchport_monitor: "" @@ -209,7 +229,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/22" switchport: "Enabled" switchport_monitor: "" @@ -219,7 +240,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/23" switchport: "Enabled" switchport_monitor: "" @@ -229,7 +251,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" - interface: "Gi1/0/24" switchport: "Enabled" switchport_monitor: "" @@ -239,7 +262,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" - interface: "Gi1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -249,7 +273,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -259,7 +283,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/3" switchport: "Enabled" switchport_monitor: "" @@ -269,7 +293,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/4" switchport: "Enabled" switchport_monitor: "" @@ -279,7 +303,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -289,7 +313,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -299,7 +323,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/3" switchport: "Enabled" switchport_monitor: "" @@ -309,7 +333,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/4" switchport: "Enabled" switchport_monitor: "" @@ -319,7 +343,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/5" switchport: "Enabled" switchport_monitor: "" @@ -329,7 +353,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/6" switchport: "Enabled" switchport_monitor: "" @@ -339,7 +363,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/7" switchport: "Enabled" switchport_monitor: "" @@ -349,7 +373,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/8" switchport: "Enabled" switchport_monitor: "" @@ -359,7 +383,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Fo1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -369,7 +393,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Fo1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -379,7 +403,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Twe1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -389,7 +413,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Twe1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -399,7 +423,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Po5" switchport: "Enabled" switchport_monitor: "" @@ -409,4 +433,5 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml index 34319bcddc..6b4fc68743 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "100" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "101" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "110" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/1" switchport: "Enabled" switchport_monitor: "" @@ -49,4 +53,5 @@ parsed_sample: access_vlan: "111" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" From f7e5417ac30471e8cdfd43121fd16d1da972bc1c Mon Sep 17 00:00:00 2001 From: conorwu1107 <54105584+conorwu1107@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:54:04 +0100 Subject: [PATCH 083/412] New template: cisco_wlc_ssh_sh_ap_image_all.textfsm (#742) --- .../cisco_wlc_ssh_show_ap_image_all.textfsm | 20 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_ap_image_all.raw | 16 +++++++++++++++ .../cisco_wlc_ssh_show_ap_image_all.yml | 18 +++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_ap_image_all.textfsm create mode 100644 tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw create mode 100644 tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml diff --git a/templates/cisco_wlc_ssh_show_ap_image_all.textfsm b/templates/cisco_wlc_ssh_show_ap_image_all.textfsm new file mode 100644 index 0000000000..66d1d874fd --- /dev/null +++ b/templates/cisco_wlc_ssh_show_ap_image_all.textfsm @@ -0,0 +1,20 @@ +Value AP_NAME (\S+) +Value PRIMARY_IMAGE ([0-9\.]+) +Value BACKUP_IMAGE ([0-9\.]+) +Value PREDOWNLOAD_STATUS (\S+) +Value PREDOWNLOAD_VERSION (\S+) +Value NEXT_RETRY_TIME (\S+) +Value RETRY_COUNT (\S+) +Value FLEXCON_PREDOWN (\s+) + + +Start + ^${AP_NAME}\s+${PRIMARY_IMAGE}\s+${BACKUP_IMAGE}\s+${PREDOWNLOAD_STATUS}\s+${PREDOWNLOAD_VERSION}\s+${NEXT_RETRY_TIME}\s+${RETRY_COUNT}\s*$$ -> Record + ^Total\s+number\s+of\s+APs + ^Number\s+of\s+APs + ^.+\.+ + ^\s*$$ + ^\s*Predownload\s+Predownload\s+Flexconnect + ^AP\s+Name\s+Primary\s+Image\s+Backup\s+Image\s+Status\s+Version\s+Next\s+Retry\s+Time\s+Retry\s+Count\s+Predownload\s*$$ + ^-+ + ^. -> Error diff --git a/templates/index b/templates/index index 121b3c53ea..84838c8c52 100644 --- a/templates/index +++ b/templates/index @@ -292,6 +292,7 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] +cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] diff --git a/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw new file mode 100644 index 0000000000..ded801e472 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw @@ -0,0 +1,16 @@ + +Total number of APs.............................. 2 +Number of APs + Initiated....................................... 0 + Downloading..................................... 0 + Predownloading.................................. 0 + Completed predownloading........................ 0 + Not Supported................................... 0 + Failed to Predownload........................... 0 + + Predownload Predownload Flexconnect +AP Name Primary Image Backup Image Status Version Next Retry Time Retry Count Predownload +------------------ -------------- -------------- --------------- -------------- ---------------- ------------ -------------- +ESP1-05-NAP01 8.5.161.0 0.0.0.0 None None NA NA +ESP1-05-NAP02 8.5.161.0 0.0.0.0 None None NA NA + diff --git a/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml new file mode 100644 index 0000000000..301f73720a --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - ap_name: "ESP1-05-NAP01" + primary_image: "8.5.161.0" + backup_image: "0.0.0.0" + predownload_status: "None" + predownload_version: "None" + next_retry_time: "NA" + retry_count: "NA" + flexcon_predown: "" + - ap_name: "ESP1-05-NAP02" + primary_image: "8.5.161.0" + backup_image: "0.0.0.0" + predownload_status: "None" + predownload_version: "None" + next_retry_time: "NA" + retry_count: "NA" + flexcon_predown: "" From 68f3f6c5c17f4d6ee7fdad9dc634307e5e99a50e Mon Sep 17 00:00:00 2001 From: brinic Date: Fri, 5 Jun 2020 02:54:49 +0200 Subject: [PATCH 084/412] Bugfix: Update index to handle cisco_ios show_ip_bgp_all_summary (#738) --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 84838c8c52..15021a1480 100644 --- a/templates/index +++ b/templates/index @@ -181,7 +181,7 @@ cisco_ios_show_ip_route_summary.textfsm, .*, cisco_ios, sh[[ow]] ip ro[[ute]] su cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] -cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] +cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] cisco_ios_show_isis_neighbors.textfsm, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] From 05bfcdae658a79aab7f546aa4f1acd9e1acbbec9 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Fri, 5 Jun 2020 02:09:01 +0100 Subject: [PATCH 085/412] Enhancement: Added MEDIA_TYPE for Cisco IOS show interfaces (#745) --- templates/cisco_ios_show_interfaces.textfsm | 3 +- .../cisco_ios_show_interfaces.yml | 288 +-- .../cisco_ios_show_interfaces2.yml | 2006 +++++++++-------- .../cisco_ios_show_interfaces3.yml | 502 +++-- 4 files changed, 1439 insertions(+), 1360 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index 589779913b..3e0bedaf00 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -9,6 +9,7 @@ Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?) Value SPEED (.*?) +Value MEDIA_TYPE (\S+) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) @@ -36,7 +37,7 @@ Start ^\s+Encapsulation\s+${ENCAPSULATION},.+$$ ^\s+Last\s+input\s+${LAST_INPUT},\s+output\s+${LAST_OUTPUT},\s+output\s+hang\s+${LAST_OUTPUT_HANG}\s*$$ ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ - ^\s+${DUPLEX},\s+${SPEED},.+$$ + ^\s+${DUPLEX},\s+${SPEED},.+media\stype\sis\s${MEDIA_TYPE}$$ ^.*input\s+rate\s+${INPUT_RATE}.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 5e9480ecbd..6170a556e6 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -1,210 +1,218 @@ --- parsed_sample: - - address: "fa16.3e57.336f" - bandwidth: "1000000 Kbit" + - interface: "GigabitEthernet0/0" + link_status: "reset" + protocol_status: "down (notconnect)" + hardware_type: "iGbE" + address: "fa16.3e57.336f" bia: "fa16.3e57.336f" - delay: "10 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "324" - input_rate: "0" - interface: "GigabitEthernet0/0" - ip_address: "" last_input: "1d21h" last_output: "1d21h" last_output_hang: "never" - link_status: "reset" - mtu: "1500" - output_errors: "0" - output_packets: "703" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e4f.41cc" - bandwidth: "1000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "324" + output_packets: "703" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "iGbE" + address: "fa16.3e4f.41cc" bia: "fa16.3e4f.41cc" - delay: "10 usec" description: "to iosvl2-2" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "83" - input_rate: "0" - interface: "GigabitEthernet0/1" - ip_address: "" last_input: "1d21h" last_output: "00:00:02" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15513" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "83" + output_packets: "15513" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/2" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3ea3.3e49" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3ea3.3e49" bia: "fa16.3ea3.3e49" - delay: "10 usec" description: "to iosvl2-4" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8677" - input_rate: "0" - interface: "GigabitEthernet0/2" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420798" + queue_strategy: "fifo" + input_rate: "0" output_rate: "1000" + input_packets: "8677" + output_packets: "420798" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/3" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e31.2c47" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3e31.2c47" bia: "fa16.3e31.2c47" - delay: "10 usec" description: "to iosvl2-3" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8638" - input_rate: "0" - interface: "GigabitEthernet0/3" - ip_address: "" last_input: "00:00:28" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420819" + queue_strategy: "fifo" + input_rate: "0" output_rate: "1000" + input_packets: "8638" + output_packets: "420819" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3ec8.50ab" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3ec8.50ab" bia: "fa16.3ec8.50ab" - delay: "10 usec" description: "to iosvl2-3" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8627" - input_rate: "0" - interface: "GigabitEthernet1/0" - ip_address: "" last_input: "00:00:26" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420790" - output_rate: "2000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e4f.41cc" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "2000" + input_packets: "8627" + output_packets: "420790" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Port-channel1" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "EtherChannel" + address: "fa16.3e4f.41cc" bia: "fa16.3e4f.41cc" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "EtherChannel" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "85" - input_rate: "0" - interface: "Port-channel1" - ip_address: "" last_input: "1d21h" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "" - bandwidth: "8000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "85" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Loopback0" + link_status: "up" + protocol_status: "up" + hardware_type: "Loopback" + address: "" bia: "" - delay: "5000 usec" description: "Loopback" + ip_address: "" + mtu: "1514" duplex: "" + speed: "" + media_type: "" + bandwidth: "8000000 Kbit" + delay: "5000 usec" encapsulation: "LOOPBACK" - hardware_type: "Loopback" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Loopback0" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1514" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Vlan1" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "fa16.3e57.8001" - bandwidth: "1000000 Kbit" + hardware_type: "Ethernet SVI" + address: "fa16.3e57.8001" bia: "fa16.3e57.8001" - delay: "10 usec" description: "OOB Management" + ip_address: "10.255.0.16/16" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "Ethernet SVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Vlan1" - ip_address: "10.255.0.16/16" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "4" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "4" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 3d742e1282..7c04499f4e 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -1,1458 +1,1514 @@ --- parsed_sample: - - address: "0014.1c57.a4c0" - bandwidth: "1000000 Kbit" + - interface: "Vlan1" + link_status: "up" + protocol_status: "up" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c0" bia: "0014.1c57.a4c0" - delay: "10 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "37453340" - input_rate: "0" - interface: "Vlan1" - ip_address: "" last_input: "00:00:00" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "37453340" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan50" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c1" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c1" bia: "0014.1c57.a4c1" - delay: "10 usec" description: "" + ip_address: "10.1.50.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "3772" - input_rate: "0" - interface: "Vlan50" - ip_address: "10.1.50.1/24" last_input: "01:04:54" last_output: "01:04:54" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "3804" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "3772" + output_packets: "3804" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan100" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c2" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c2" bia: "0014.1c57.a4c2" - delay: "10 usec" description: "" + ip_address: "10.1.100.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "6313297" - input_rate: "2000" - interface: "Vlan100" - ip_address: "10.1.100.1/24" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "10453439" + queue_strategy: "fifo" + input_rate: "2000" output_rate: "2000" + input_packets: "6313297" + output_packets: "10453439" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan254" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c3" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c3" bia: "0014.1c57.a4c3" - delay: "10 usec" description: "" + ip_address: "10.1.254.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "7881502" - input_rate: "0" - interface: "Vlan254" - ip_address: "10.1.254.1/24" last_input: "00:08:48" last_output: "00:08:48" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "47843" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a483" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "7881502" + output_packets: "47843" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "FastEthernet1/0/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a483" bia: "0014.1c57.a483" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "8647579827" - input_rate: "182000" - interface: "FastEthernet1/0/1" - ip_address: "" last_input: "00:00:01" last_output: "00:00:06" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "86941746207" + queue_strategy: "fifo" + input_rate: "182000" output_rate: "38883000" + input_packets: "8647579827" + output_packets: "86941746207" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/2" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a484" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a484" bia: "0014.1c57.a484" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "86697408651" - input_rate: "38882000" - interface: "FastEthernet1/0/2" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "8485702870" + queue_strategy: "fifo" + input_rate: "38882000" output_rate: "182000" + input_packets: "86697408651" + output_packets: "8485702870" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/3" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a485" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a485" bia: "0014.1c57.a485" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "233361378" - input_rate: "0" - interface: "FastEthernet1/0/3" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "246128007" - output_rate: "1000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a486" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "1000" + input_packets: "233361378" + output_packets: "246128007" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/4" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a486" bia: "0014.1c57.a486" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/4" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/5" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a487" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a487" bia: "0014.1c57.a487" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/5" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/6" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a488" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a488" bia: "0014.1c57.a488" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/6" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/7" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a489" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a489" bia: "0014.1c57.a489" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/7" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/8" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48a" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48a" bia: "0014.1c57.a48a" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/8" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48b" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/9" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48b" bia: "0014.1c57.a48b" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "86293954347" - input_rate: "38871000" - interface: "FastEthernet1/0/9" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "8120676183" + queue_strategy: "fifo" + input_rate: "38871000" output_rate: "174000" + input_packets: "86293954347" + output_packets: "8120676183" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/10" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48c" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48c" bia: "0014.1c57.a48c" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "85011546" - input_rate: "0" - interface: "FastEthernet1/0/10" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "118427887" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48d" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "85011546" + output_packets: "118427887" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/11" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48d" bia: "0014.1c57.a48d" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "13503663" - input_rate: "0" - interface: "FastEthernet1/0/11" - ip_address: "" last_input: "21w5d" last_output: "21w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "96706284" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48e" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "13503663" + output_packets: "96706284" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/12" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48e" bia: "0014.1c57.a48e" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "566684" - input_rate: "0" - interface: "FastEthernet1/0/12" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "10387099" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "566684" + output_packets: "10387099" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/13" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48f" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48f" bia: "0014.1c57.a48f" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "5093298" - input_rate: "0" - interface: "FastEthernet1/0/13" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "35059143" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a490" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "5093298" + output_packets: "35059143" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/14" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a490" bia: "0014.1c57.a490" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "4381776" - input_rate: "0" - interface: "FastEthernet1/0/14" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "33579140" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a491" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "4381776" + output_packets: "33579140" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/15" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a491" bia: "0014.1c57.a491" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "6095906" - input_rate: "0" - interface: "FastEthernet1/0/15" - ip_address: "" last_input: "36w5d" last_output: "36w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "31933579" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "6095906" + output_packets: "31933579" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/16" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a492" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a492" bia: "0014.1c57.a492" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "3048741" - input_rate: "0" - interface: "FastEthernet1/0/16" - ip_address: "" last_input: "36w5d" last_output: "36w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "23191458" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "3048741" + output_packets: "23191458" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/17" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a493" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a493" bia: "0014.1c57.a493" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "515815" - input_rate: "0" - interface: "FastEthernet1/0/17" - ip_address: "" last_input: "1y28w" last_output: "1y28w" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "3364092" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "515815" + output_packets: "3364092" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/18" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a494" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a494" bia: "0014.1c57.a494" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "56335" - input_rate: "0" - interface: "FastEthernet1/0/18" - ip_address: "" last_input: "1y29w" last_output: "1y29w" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "2263838" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a495" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "56335" + output_packets: "2263838" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/19" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a495" bia: "0014.1c57.a495" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2154038" - input_rate: "0" - interface: "FastEthernet1/0/19" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15816478" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2154038" + output_packets: "15816478" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/20" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a496" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a496" bia: "0014.1c57.a496" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2238092" - input_rate: "0" - interface: "FastEthernet1/0/20" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15877977" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2238092" + output_packets: "15877977" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/21" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a497" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a497" bia: "0014.1c57.a497" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "4942593" - input_rate: "0" - interface: "FastEthernet1/0/21" - ip_address: "" last_input: "00:00:25" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "43723513" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "4942593" + output_packets: "43723513" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/22" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a498" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a498" bia: "0014.1c57.a498" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "6201152" - input_rate: "0" - interface: "FastEthernet1/0/22" - ip_address: "" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "43660027" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a499" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "6201152" + output_packets: "43660027" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/23" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a499" bia: "0014.1c57.a499" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/23" - ip_address: "" last_input: "never" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "56" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49a" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "56" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/24" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49a" bia: "0014.1c57.a49a" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2397801" - input_rate: "0" - interface: "FastEthernet1/0/24" - ip_address: "" last_input: "00:00:05" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "45635335" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a49d" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "2397801" + output_packets: "45635335" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/25" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49d" bia: "0014.1c57.a49d" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/25" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/26" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49e" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49e" bia: "0014.1c57.a49e" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/26" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49f" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/27" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49f" bia: "0014.1c57.a49f" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Half-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "288816" - input_rate: "0" - interface: "FastEthernet1/0/27" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55357995" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "288816" + output_packets: "55357995" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/28" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a0" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a0" bia: "0014.1c57.a4a0" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "2" - abort: "" - crc: "1" - input_packets: "295313" - input_rate: "0" - interface: "FastEthernet1/0/28" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55364859" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "295313" + output_packets: "55364859" + input_errors: "2" + crc: "1" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/29" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a1" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a1" bia: "0014.1c57.a4a1" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "28898" - abort: "" - crc: "14167" - input_packets: "39214781" - input_rate: "1000" - interface: "FastEthernet1/0/29" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "90202230" + queue_strategy: "fifo" + input_rate: "1000" output_rate: "2000" + input_packets: "39214781" + output_packets: "90202230" + input_errors: "28898" + crc: "14167" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/30" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a2" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a2" bia: "0014.1c57.a4a2" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "4811284" - input_rate: "0" - interface: "FastEthernet1/0/30" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55162378" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "4811284" + output_packets: "55162378" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/31" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a3" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a3" bia: "0014.1c57.a4a3" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2255624" - input_rate: "0" - interface: "FastEthernet1/0/31" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15969856" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2255624" + output_packets: "15969856" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/32" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a4" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a4" bia: "0014.1c57.a4a4" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "5743877" - input_rate: "0" - interface: "FastEthernet1/0/32" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "20133314" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "5743877" + output_packets: "20133314" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/33" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a5" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a5" bia: "0014.1c57.a4a5" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "11086568" - input_rate: "0" - interface: "FastEthernet1/0/33" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "46398900" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "11086568" + output_packets: "46398900" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/34" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a6" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a6" bia: "0014.1c57.a4a6" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "1071483" - input_rate: "0" - interface: "FastEthernet1/0/34" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "11192764" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "1071483" + output_packets: "11192764" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/35" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a7" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a7" bia: "0014.1c57.a4a7" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "252774135" - input_rate: "3000" - interface: "FastEthernet1/0/35" - ip_address: "" last_input: "25w5d" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "136849790" + queue_strategy: "fifo" + input_rate: "3000" output_rate: "2000" + input_packets: "252774135" + output_packets: "136849790" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/36" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a8" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a8" bia: "0014.1c57.a4a8" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "30561744" - input_rate: "0" - interface: "FastEthernet1/0/36" - ip_address: "" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "25816556" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a9" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "30561744" + output_packets: "25816556" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/37" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a9" bia: "0014.1c57.a4a9" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "23" - input_rate: "0" - interface: "FastEthernet1/0/37" - ip_address: "" last_input: "25w5d" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "110" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "23" + output_packets: "110" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/38" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4aa" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4aa" bia: "0014.1c57.a4aa" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/38" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ab" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/39" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ab" bia: "0014.1c57.a4ab" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/39" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/40" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ac" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ac" bia: "0014.1c57.a4ac" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/40" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/41" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ad" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ad" bia: "0014.1c57.a4ad" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/41" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/42" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ae" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ae" bia: "0014.1c57.a4ae" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/42" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/43" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4af" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4af" bia: "0014.1c57.a4af" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "33944" - input_rate: "0" - interface: "FastEthernet1/0/43" - ip_address: "" last_input: "never" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "52215" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "33944" + output_packets: "52215" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/44" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b0" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b0" bia: "0014.1c57.a4b0" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/44" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b1" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/45" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b1" bia: "0014.1c57.a4b1" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "1103" - input_rate: "0" - interface: "FastEthernet1/0/45" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "10099477" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4b2" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "1103" + output_packets: "10099477" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/46" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b2" bia: "0014.1c57.a4b2" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/46" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/47" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b3" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b3" bia: "0014.1c57.a4b3" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/47" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b4" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/48" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b4" bia: "0014.1c57.a4b4" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8407299374" - input_rate: "180000" - interface: "FastEthernet1/0/48" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "86731716396" - output_rate: "38881000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a481" - bandwidth: "10000 Kbit" - bia: "0014.1c57.a481" - delay: "1000 usec" - description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" + input_rate: "180000" + output_rate: "38881000" + input_packets: "8407299374" + output_packets: "86731716396" input_errors: "0" - abort: "" crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/1" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/1" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a481" + bia: "0014.1c57.a481" + description: "" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/2" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a482" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a482" bia: "0014.1c57.a482" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/2" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/3" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49b" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a49b" bia: "0014.1c57.a49b" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/3" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/4" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49c" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a49c" bia: "0014.1c57.a49c" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/4" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index d06de4f081..c17781df21 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -1,366 +1,380 @@ --- parsed_sample: - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + - interface: "GigabitEthernet0/0" + link_status: "up" + protocol_status: "up" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Connects to LAN" + ip_address: "" + mtu: "1500" duplex: "Full Duplex" + speed: "100Mbps" + media_type: "T" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "338297234" - input_rate: "95000" - interface: "GigabitEthernet0/0" - ip_address: "" last_input: "00:00:24" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "336857668" + queue_strategy: "fifo" + input_rate: "95000" output_rate: "90000" + input_packets: "338297234" + output_packets: "336857668" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/0.6" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "100Mbps" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "LAN" + ip_address: "192.27.6.129/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.6" - ip_address: "192.27.6.129/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.44" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Wireless LAN" + ip_address: "192.22.44.193/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.44" - ip_address: "192.22.44.193/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.188" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Voice LAN" + ip_address: "192.24.188.65/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.188" - ip_address: "192.24.188.65/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.666" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Native Vlan" + ip_address: "" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.666" - ip_address: "" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" - output_rate: "" - protocol_status: "up" queue_strategy: "" - speed: "" - - address: "000f.352d.2382" - bandwidth: "1000000 Kbit" + input_rate: "" + output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/1" + link_status: "administratively down" + protocol_status: "down" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2382" bia: "000f.352d.2382" - delay: "10 usec" description: "NOT IN USE" + ip_address: "" + mtu: "1500" duplex: "Auto Duplex" + speed: "Auto Speed" + media_type: "T" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "MV96340 Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet0/1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "administratively down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down" queue_strategy: "fifo" - speed: "Auto Speed" - - address: "b838.6148.8780" - bandwidth: "10000 Kbit" - bia: "b838.6148.8780" - delay: "100 usec" - description: "connection to Provider" - duplex: "Full-duplex" - encapsulation: "802.1Q Virtual LAN" - hardware_type: "FastEthernet" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" input_errors: "0" - abort: "" crc: "0" - input_packets: "" - input_rate: "96000" - interface: "FastEthernet0/1/0" + abort: "" + output_errors: "0" + - interface: "FastEthernet0/1/0" + link_status: "up" + protocol_status: "up" + hardware_type: "FastEthernet" + address: "b838.6148.8780" + bia: "b838.6148.8780" + description: "connection to Provider" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "100 usec" + encapsulation: "802.1Q Virtual LAN" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "350115018" + queue_strategy: "Class-based queueing" + input_rate: "96000" output_rate: "111000" + input_packets: "" + output_packets: "350115018" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet0/1/0.50" + link_status: "up" protocol_status: "up" - queue_strategy: "Class-based queueing" - speed: "100Mb/s" - - address: "b838.6148.8780" - bandwidth: "10000 Kbit" + hardware_type: "FastEthernet" + address: "b838.6148.8780" bia: "b838.6148.8780" - delay: "100 usec" description: "AVPN Circuit" + ip_address: "192.20.194.29/30" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "FastEthernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "FastEthernet0/1/0.50" - ip_address: "192.20.194.29/30" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" - output_rate: "" - protocol_status: "up" queue_strategy: "" + input_rate: "" + output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "FastEthernet0/1/1" + link_status: "administratively down" + protocol_status: "down" + hardware_type: "FastEthernet" + address: "b838.6148.8781" + bia: "b838.6148.8781" + description: "NOT IN USE" + ip_address: "" + mtu: "1500" + duplex: "" speed: "" - - address: "b838.6148.8781" + media_type: "" bandwidth: "100000 Kbit" - bia: "b838.6148.8781" delay: "100 usec" - description: "NOT IN USE" - duplex: "Auto-duplex" encapsulation: "ARPA" - hardware_type: "FastEthernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "" - input_rate: "0" - interface: "FastEthernet0/1/1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "administratively down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down" queue_strategy: "fifo" - speed: "Auto Speed" - - address: "" - bandwidth: "8000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Loopback0" + link_status: "up" + protocol_status: "up" + hardware_type: "Loopback" + address: "" bia: "" - delay: "5000 usec" description: "Loopback Interface" + ip_address: "192.20.0.144/32" + mtu: "1514" duplex: "" + speed: "" + media_type: "" + bandwidth: "8000000 Kbit" + delay: "5000 usec" encapsulation: "LOOPBACK" - hardware_type: "Loopback" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "2292" - input_rate: "0" - interface: "Loopback0" - ip_address: "192.20.0.144/32" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1514" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2292" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel0" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel0" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel1" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel2" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel2" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel3" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel3" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" From 1bef971e21ee53e06f43b147844350b077a000ca Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 4 Jun 2020 21:10:24 -0400 Subject: [PATCH 086/412] BugFix: IOS CDP - Better handling of output (#735) --- templates/cisco_ios_show_cdp_neighbors.textfsm | 10 +++++----- .../cisco_ios_show_cdp_neighbors_3.raw | 3 ++- .../cisco_ios_show_cdp_neighbors_4.raw | 10 ++++++++++ .../cisco_ios_show_cdp_neighbors_4.yml | 7 +++++++ 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml diff --git a/templates/cisco_ios_show_cdp_neighbors.textfsm b/templates/cisco_ios_show_cdp_neighbors.textfsm index 3cfb60af19..98b3cff9f1 100644 --- a/templates/cisco_ios_show_cdp_neighbors.textfsm +++ b/templates/cisco_ios_show_cdp_neighbors.textfsm @@ -1,8 +1,8 @@ Value Required NEIGHBOR (\S+) Value LOCAL_INTERFACE (\S+(?:\s\S+)?) -Value CAPABILITY ((?:\w\s*?)*?) -Value PLATFORM (\S{2,}\s\S+|\S{2,}) -Value NEIGHBOR_INTERFACE ([a-zA-Z]\S+(?:\s\S+)?) +Value CAPABILITY ((?:\w\s)*\w) +Value PLATFORM ((?:[IiPp]{2}\s)?\S+) +Value NEIGHBOR_INTERFACE (.+?) Start ^Device.*ID -> CDP @@ -12,5 +12,5 @@ Start CDP ^${NEIGHBOR}$$ - ^\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record + ^\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw index d32b1cc068..7e48573ea3 100644 --- a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw @@ -25,4 +25,5 @@ SEP00000000000C Gig 1/0/24 164 H P M IP Phone Port 1 SEP00000000000D Gig 1/0/9 176 H P M IP Phone Port 1 SEP00000000000E Gig 1/0/17 131 H P M IP Phone Port 1 SEP00000000000F Gig 1/0/20 136 H P M IP Phone Port 1 -SEP000000000010 Gig 1/0/36 162 H P M IP Phone Port 1 \ No newline at end of file +SEP000000000010 Gig 1/0/36 162 H P M IP Phone Port 1 + diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw new file mode 100644 index 0000000000..b5761abd8c --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw @@ -0,0 +1,10 @@ +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge + S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, + D - Remote, C - CVTA, M - Two-port Mac Relay + +Device ID Local Intrfce Holdtme Capability Platform Port ID +acc-sw101 + Ten 3/7 175 R AS5610-52 0/47 + +Total cdp entries displayed : 1 + diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml new file mode 100644 index 0000000000..b40ca9cb00 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - neighbor: "acc-sw101" + local_interface: "Ten 3/7" + capability: "R" + platform: "AS5610-52" + neighbor_interface: "0/47" From a68a53c139527c2077dd6e1c2783a38a8f6bd157 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Thu, 4 Jun 2020 21:12:50 -0400 Subject: [PATCH 087/412] New template: broadcom_icos_show_mac-address-table (#736) --- ...oadcom_icos_show_mac-address-table.textfsm | 15 +++ templates/index | 1 + .../broadcom_show_mac-address-table.raw | 22 +++++ .../broadcom_show_mac-address-table.yml | 97 +++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 templates/broadcom_icos_show_mac-address-table.textfsm create mode 100644 tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw create mode 100644 tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml diff --git a/templates/broadcom_icos_show_mac-address-table.textfsm b/templates/broadcom_icos_show_mac-address-table.textfsm new file mode 100644 index 0000000000..16028e7316 --- /dev/null +++ b/templates/broadcom_icos_show_mac-address-table.textfsm @@ -0,0 +1,15 @@ +Value VLAN (\S+) +Value MAC (\S+) +Value INTERFACE (\S+) +Value INDEX (\S+) +Value STATUS (\S+) + +Start + # Captures show mac-address-table for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^\s*VLAN\s+ID\s+MAC\s+Address\s+Interface\s+IfIndex\s+Status + ^-+ + ^\s*${VLAN}\s+${MAC}\s+${INTERFACE}\s+${INDEX}\s+${STATUS} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 15021a1480..9af34272f3 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw new file mode 100644 index 0000000000..7a975e48bf --- /dev/null +++ b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw @@ -0,0 +1,22 @@ + +VLAN ID MAC Address Interface IfIndex Status +------- ------------------ --------------------- ------- ------------ +1 CC:37:AB:18:5F:01 5/1 55 Management +100 CC:37:AB:18:AF:03 4/100 219 Management +150 00:04:F2:B3:AD:CA 0/4 4 Learned +150 00:30:D1:00:A2:F6 0/5 5 Learned +150 00:30:F1:00:AC:36 0/1 1 Learned +150 1C:C1:FE:24:00:C0 0/47 47 Learned +150 1C:C1:FE:24:F7:C2 0/48 48 Learned +150 40:00:34:25:03:A1 0/20 20 Learned +150 64:06:0F:47:0F:A1 0/31 31 Learned +150 64:16:0F:81:B6:BC 0/18 18 Learned +150 04:16:0F:21:E6:3A 0/17 17 Learned +150 14:16:0F:21:F8:24 0/30 30 Learned +150 24:16:0F:34:57:24 0/10 10 Learned +150 34:16:0F:89:28:4E 0/16 16 Learned +150 44:16:0F:49:28:55 0/19 19 Learned +150 AC:3F:DB:09:0D:8F 0/8 8 Learned +112 00:40:58:0E:A6:36 0/14 14 Learned +112 00:40:58:0E:A8:08 0/6 6 Learned +112 00:00:58:13:E4:67 0/13 13 Learned diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml new file mode 100644 index 0000000000..e2e023c7b0 --- /dev/null +++ b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml @@ -0,0 +1,97 @@ +--- +parsed_sample: + - vlan: "1" + mac: "CC:37:AB:18:5F:01" + interface: "5/1" + index: "55" + status: "Management" + - vlan: "100" + mac: "CC:37:AB:18:AF:03" + interface: "4/100" + index: "219" + status: "Management" + - vlan: "150" + mac: "00:04:F2:B3:AD:CA" + interface: "0/4" + index: "4" + status: "Learned" + - vlan: "150" + mac: "00:30:D1:00:A2:F6" + interface: "0/5" + index: "5" + status: "Learned" + - vlan: "150" + mac: "00:30:F1:00:AC:36" + interface: "0/1" + index: "1" + status: "Learned" + - vlan: "150" + mac: "1C:C1:FE:24:00:C0" + interface: "0/47" + index: "47" + status: "Learned" + - vlan: "150" + mac: "1C:C1:FE:24:F7:C2" + interface: "0/48" + index: "48" + status: "Learned" + - vlan: "150" + mac: "40:00:34:25:03:A1" + interface: "0/20" + index: "20" + status: "Learned" + - vlan: "150" + mac: "64:06:0F:47:0F:A1" + interface: "0/31" + index: "31" + status: "Learned" + - vlan: "150" + mac: "64:16:0F:81:B6:BC" + interface: "0/18" + index: "18" + status: "Learned" + - vlan: "150" + mac: "04:16:0F:21:E6:3A" + interface: "0/17" + index: "17" + status: "Learned" + - vlan: "150" + mac: "14:16:0F:21:F8:24" + interface: "0/30" + index: "30" + status: "Learned" + - vlan: "150" + mac: "24:16:0F:34:57:24" + interface: "0/10" + index: "10" + status: "Learned" + - vlan: "150" + mac: "34:16:0F:89:28:4E" + interface: "0/16" + index: "16" + status: "Learned" + - vlan: "150" + mac: "44:16:0F:49:28:55" + interface: "0/19" + index: "19" + status: "Learned" + - vlan: "150" + mac: "AC:3F:DB:09:0D:8F" + interface: "0/8" + index: "8" + status: "Learned" + - vlan: "112" + mac: "00:40:58:0E:A6:36" + interface: "0/14" + index: "14" + status: "Learned" + - vlan: "112" + mac: "00:40:58:0E:A8:08" + interface: "0/6" + index: "6" + status: "Learned" + - vlan: "112" + mac: "00:00:58:13:E4:67" + interface: "0/13" + index: "13" + status: "Learned" From 0919ed6f32b7a8c872802ae246aa3f9f48ca7e1d Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 5 Jun 2020 11:52:30 -0400 Subject: [PATCH 088/412] Enhancement: Added value - interfaces - arista_eos_show_vrf.textfsm (#744) --- templates/arista_eos_show_vrf.textfsm | 97 ++++++++++++++++--- .../show_vrf/arista_eos_show_vrf.raw | 28 +++--- .../show_vrf/arista_eos_show_vrf.yml | 26 +++++ .../show_vrf/arista_eos_show_vrf_2.raw | 8 ++ .../show_vrf/arista_eos_show_vrf_2.yml | 14 +++ 5 files changed, 148 insertions(+), 25 deletions(-) create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml diff --git a/templates/arista_eos_show_vrf.textfsm b/templates/arista_eos_show_vrf.textfsm index 651f617103..d9f97778bd 100644 --- a/templates/arista_eos_show_vrf.textfsm +++ b/templates/arista_eos_show_vrf.textfsm @@ -1,20 +1,95 @@ Value VRF (\S+) Value RD (\d\S+|<.+>) +Value List INTERFACES (\w+) Start ^\s+Vrf\s+RD\s+Protocols\s+State\s+Interfaces -> VRF ^Maximum ^\s*$$ ^. -> Error - + VRF - ^\s+${VRF}\s+${RD} -> Record - # Match second line with Status e.x. v6:routing - ^\s+\S+:\S+ - # Match multiline interface with last line having a single interface - ^\s+\S+\s*$$ - # Match multilin interface with multiple interfaces on the line - ^(?:\s+\S+?,){1,5}(?:\s+\S+)?\s*$$ - ^\s*-+\s+-+ - ^\s*$$ - ^. -> Error + # match a vrf with interfaces + # key on the first line of a VRF + ^\s+\S+\s+(\d\S+|<.+>)\s+\S+\s+(\S+:?\S+(?:\s\S+)*).*$$ -> Continue.Record + # + ################# First lines of VRF ################### + # + # match first line of vrf, first interface and it is the last interface + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,?\s+${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, first interface and it is not the last interface + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,\s+${INTERFACES}, -> Continue + # + # match first line of a vrf, second interface and it is the last interface + # two interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, third interface and it is the last interface + # three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, second interface when there are more than two interfaces + # two or three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match first line of a vrf, third interface when there are more than three Interfaces + # three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ############## Lines that contains state ################## + # + # match state only line + ^\s+(\S+:\S+(?:\s\S+)*)\s*$$ + # + # match first interface of the line when it also has a state and it is the last interface + ^\s+(\S+:\S+(?:\s\S+)*)\s+${INTERFACES}?\s*$$ -> Continue + # + # match first interface of the line when it also has a state and it is not the last interface + ^\s+\S+:\S+(\s\S+)*\s+${INTERFACES}, -> Continue + # + # match second interface of the line when it also has a state and it is the last interface + # two interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match third interface of the line when it also has a state and it is the last interface + # three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match second interface of the line when it also has a state and it is not the last interface + # two or three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match third interface of the line when it also has a state and it is not the last interface + # three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ################# Lines that have whitespace preceding the interface list #################### + # + # + # match first interface of the line when it only has whitespace and it is the last interface + ^\s+${INTERFACES}\s*$$ -> Continue + # + # match first interface of the line when it only has whitespace and it is not the last interface + ^\s+${INTERFACES}, -> Continue + # + # match second interface of the line when it only has whitespace and it is the last interface + # two interfaces displayed per line + ^\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match third interface of the line when it only has whitespace and it is the last interface + # three interfaces displayed per line + ^\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match second interface of the line when it only has whitespace and it is not the last interface + # two or three interfaces displayed per line + ^\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match third interface of the line when it only has whitespace and it is not the last interface + # three interfaces displayed per line + ^\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ################## For vrfs without interfaces ################### + # + # match vrf line with no interfaces + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,?\s+$$ \ No newline at end of file diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw index f28c1e394f..78fffb713f 100644 --- a/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw @@ -1,14 +1,14 @@ - Vrf RD Protocols State Interfaces ---------- -------- --------------- ----------- ---------- - blue 10.125.253.15:1 ipv4,ipv6 v4:routing, Vlan1006, Vlan2230, Vlan2231, - v6:no routing Vlan2232, Vlan2233, Vlan2234, - Vlan2235, Vlan2236, Vlan2237, - Vlan2238, Vlan2239, Vlan2240 - green ipv4,ipv6 v4:routing, Vlan1015, Vlan1016, Vlan1017, - v6:no routing Vlan1018, Vlan1019, Vlan1020, - Vlan1021 - yellow 10.125.253.15:4 ipv4,ipv6 v4:routing, Vlan1009 - v6:no routing - red 10.125.253.15:6 ipv4,ipv6 v4:routing, - v6:no routing - black 999:999 ipv4,ipv6 v4:no routing Management1 + Vrf RD Protocols State Interfaces +------------ -------------------- -------------- ------------------- ----------------------------- + blue 10.125.253.15:1 ipv4,ipv6 v4:no routing, Vlan1006, Vlan2230, Vlan2231, + v6:no routing Vlan2232, Vlan2233, Vlan2234, + Vlan2235, Vlan2236, Vlan2237, + Vlan2238, Vlan2239, Vlan2240 + green ipv4,ipv6 v4:routing, Vlan1015, Vlan1016, Vlan1017, + v6:no routing Vlan1018, Vlan1019, Vlan1020, + Vlan1021 + yellow 10.125.253.15:4 ipv4,ipv6 v4:routing, Vlan1009 + v6:no routing + red 10.125.253.15:6 ipv4,ipv6 v4:routing, + v6:no routing + black 999:999 ipv4,ipv6 v4:no routing Management1 diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml index 11e7c8c295..efe52a2b68 100644 --- a/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml @@ -2,11 +2,37 @@ parsed_sample: - vrf: "blue" rd: "10.125.253.15:1" + interfaces: + - "Vlan1006" + - "Vlan2230" + - "Vlan2231" + - "Vlan2232" + - "Vlan2233" + - "Vlan2234" + - "Vlan2235" + - "Vlan2236" + - "Vlan2237" + - "Vlan2238" + - "Vlan2240" + - "Vlan2239" - vrf: "green" rd: "" + interfaces: + - "Vlan1015" + - "Vlan1016" + - "Vlan1017" + - "Vlan1018" + - "Vlan1019" + - "Vlan1020" + - "Vlan1021" - vrf: "yellow" rd: "10.125.253.15:4" + interfaces: + - "Vlan1009" - vrf: "red" rd: "10.125.253.15:6" + interfaces: [] - vrf: "black" rd: "999:999" + interfaces: + - "Management1" diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw new file mode 100644 index 0000000000..5d6b3dab67 --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw @@ -0,0 +1,8 @@ +Maximum number of vrfs allowed: 4095 + Vrf RD Protocols State Interfaces +--------- ------------ -------------- ------------------- --------------------- + red 100:100 ipv4,ipv6 v4:routing, Ethernet3, Ethernet4, + v6:no routing Ethernet5, Ethernet6, + Ethernet7 + blue 1:1 ipv4,ipv6 v4:no routing, Management1 + v6:no routing diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml new file mode 100644 index 0000000000..c2a7a5bc4a --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - vrf: "red" + rd: "100:100" + interfaces: + - "Ethernet3" + - "Ethernet4" + - "Ethernet5" + - "Ethernet6" + - "Ethernet7" + - vrf: "blue" + rd: "1:1" + interfaces: + - "Management1" From 60a5c16058f46e079e5d8f4b63c1d0c5c158f0de Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 5 Jun 2020 10:17:18 -0600 Subject: [PATCH 089/412] Bugfix: Account for totals - cisco_ios_show_processes_memory_sorted.textfsm (#747) --- templates/cisco_ios_show_processes_memory_sorted.textfsm | 1 + .../cisco_ios_show_processes_memory_sorted.raw | 2 ++ 2 files changed, 3 insertions(+) diff --git a/templates/cisco_ios_show_processes_memory_sorted.textfsm b/templates/cisco_ios_show_processes_memory_sorted.textfsm index 95afbc06a8..9708b73c71 100644 --- a/templates/cisco_ios_show_processes_memory_sorted.textfsm +++ b/templates/cisco_ios_show_processes_memory_sorted.textfsm @@ -16,5 +16,6 @@ Start Process ^\s*${PROCESS_ID}\s+\d+\s+${PROCESS_ALLOCATED}\s+${PROCESS_FREED}\s+${PROCESS_HOLDING}\s+\d+\s+\d+\s+${PROCESS}\s*$$ + ^\s*\d+\s+Total\s*$$ ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw index 7283b898ad..29cfbe7088 100644 --- a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw +++ b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw @@ -15,3 +15,5 @@ Processor Pool Total: 919638648 Used: 236752096 Free: 682886552 338 0 309184 1640 361488 0 0 Crypto IKEv2 480 0 167752 448 221248 0 0 MRIB Process 10 0 4096314696 4096430632 215576 3914231834 3914277834 Pool Manager + +342936032 Total From 85b08297908c065b414b1f081043737637dd5304 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Sat, 6 Jun 2020 09:45:38 -0400 Subject: [PATCH 090/412] New Template: broadcom_icos_show_isdp_neighbors.textfsm (#748) --- .../broadcom_icos_show_isdp_neighbors.textfsm | 18 +++++ templates/index | 1 + .../broadcom_icos_show_isdp_neighbors.raw | 17 +++++ .../broadcom_icos_show_isdp_neighbors.yml | 68 +++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 templates/broadcom_icos_show_isdp_neighbors.textfsm create mode 100644 tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw create mode 100644 tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml diff --git a/templates/broadcom_icos_show_isdp_neighbors.textfsm b/templates/broadcom_icos_show_isdp_neighbors.textfsm new file mode 100644 index 0000000000..8c468de32d --- /dev/null +++ b/templates/broadcom_icos_show_isdp_neighbors.textfsm @@ -0,0 +1,18 @@ +Value ID (\S+) +Value INTERFACE (\S+) +Value HOLDTIME (\S+) +Value CAPABILITY ([\w]{1}(?:\s[\w]){0,2}) +Value PLATFORM ((\S+\s\S+)|(\S+)) +Value PORT (.+) + +Start + # Captures show isdp neighbors for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^Capability\sCodes: + ^\s+\S+\s+- + ^\s*Device\s+ID\s+Intf\s+Holdtime\s+Capability\s+Platform\s+Port\s+ID$$ + ^-+ + ^\s*${ID}\s+${INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${PORT} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 9af34272f3..063b0bcd67 100644 --- a/templates/index +++ b/templates/index @@ -68,6 +68,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] +broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw new file mode 100644 index 0000000000..f237c655cd --- /dev/null +++ b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw @@ -0,0 +1,17 @@ + +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, + S - Switch, H - Host, I - IGMP, r - Repeater + +Device ID Intf Holdtime Capability Platform Port ID +------------------------ --------- --------- ---------- ---------------- --------- +AP00-1-00001 0/1 173 T B I cisco AIR-CAP270 GigabitEt +AP00-2-00002 0/2 139 T B I cisco AIR-CAP270 GigabitEt +AP00-15-00050D 0/3 127 R T cisco AIR-AP3802 GigabitEt +AP00-1-00115F 0/4 170 R T cisco AIR-AP3802 GigabitEt +AP00-22-01665A 0/5 143 R T cisco AIR-AP3802 GigabitEt +dev1-df-loc-sw000001 0/35 161 R BCM-56340 0/1 +dev2-dd-loc-sw000001 0/37 178 R BCM-56340 0/1 +dev3-ds-loc-sw000001 0/39 157 R BCM-56340 0/1 +dev4-da-loc-sw000001 0/43 179 R BCM-56340 0/1 +dev5-ab-loc-sw0001 0/49 154 R AS5610-52X 0/1 +dev6-aa-loc-sw0002 0/50 158 R AS5610-52X 0/1 diff --git a/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml new file mode 100644 index 0000000000..041d1d11dc --- /dev/null +++ b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - id: "AP00-1-00001" + interface: "0/1" + holdtime: "173" + capability: "T B I" + platform: "cisco AIR-CAP270" + port: "GigabitEt" + - id: "AP00-2-00002" + interface: "0/2" + holdtime: "139" + capability: "T B I" + platform: "cisco AIR-CAP270" + port: "GigabitEt" + - id: "AP00-15-00050D" + interface: "0/3" + holdtime: "127" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "AP00-1-00115F" + interface: "0/4" + holdtime: "170" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "AP00-22-01665A" + interface: "0/5" + holdtime: "143" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "dev1-df-loc-sw000001" + interface: "0/35" + holdtime: "161" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev2-dd-loc-sw000001" + interface: "0/37" + holdtime: "178" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev3-ds-loc-sw000001" + interface: "0/39" + holdtime: "157" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev4-da-loc-sw000001" + interface: "0/43" + holdtime: "179" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev5-ab-loc-sw0001" + interface: "0/49" + holdtime: "154" + capability: "R" + platform: "AS5610-52X" + port: "0/1" + - id: "dev6-aa-loc-sw0002" + interface: "0/50" + holdtime: "158" + capability: "R" + platform: "AS5610-52X" + port: "0/1" From bf86d7a3afe338f4bc33f02f639c16845022333d Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Sat, 6 Jun 2020 19:36:54 -0400 Subject: [PATCH 091/412] New Template: broadcom_icos_show_lldp_remote-device_all.textfsm (#749) --- ...m_icos_show_lldp_remote-device_all.textfsm | 19 +++ templates/index | 1 + ...adcom_icos_show_lldp_remote-device_all.raw | 37 +++++ ...adcom_icos_show_lldp_remote-device_all.yml | 157 ++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 templates/broadcom_icos_show_lldp_remote-device_all.textfsm create mode 100644 tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw create mode 100644 tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml diff --git a/templates/broadcom_icos_show_lldp_remote-device_all.textfsm b/templates/broadcom_icos_show_lldp_remote-device_all.textfsm new file mode 100644 index 0000000000..f4f7283733 --- /dev/null +++ b/templates/broadcom_icos_show_lldp_remote-device_all.textfsm @@ -0,0 +1,19 @@ +Value LOCAL_INTERFACE (\S+) +Value REMOTE_ID (\S+) +Value CHASSIS_ID (\S+) +Value PORT_ID (\S+) +Value SYSTEM_NAME (\S+) + +Start + # Captures show lldp remote-device all for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^LLDP + ^Local + ^\s*Interface\s+RemID\s+Chassis\s+ID\s+Port\s+ID\s+System\s+Name$$ + ^-+ + ^\s*${LOCAL_INTERFACE}\s+${REMOTE_ID}\s+${CHASSIS_ID}\s+${PORT_ID}\s+${SYSTEM_NAME} -> Record + # Match records that only include the interface value + ^\s*${LOCAL_INTERFACE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 063b0bcd67..d22609a1c9 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] diff --git a/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw new file mode 100644 index 0000000000..93d303f419 --- /dev/null +++ b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw @@ -0,0 +1,37 @@ + +LLDP Remote Device Summary + +Local +Interface RemID Chassis ID Port ID System Name +--------- ------- -------------------- ------------------ ------------------ +0/1 17 84:3D:C6:00:12:E0 Gi0 abc-1-00001.y ... +0/2 16 00:A6:CA:00:53:C0 Gi0 abc-1-00002.y ... +0/3 18 F4:DB:E6:00:9F:46 0 abc-1-00003M +0/4 19 F4:DB:E6:00:44:9E 0 abc-1-00004M +0/5 20 F4:DB:E6:00:AC:FE Te2/1 abc-1-00005M +0/25 +0/26 +0/27 +0/28 +0/29 +0/30 +0/31 +0/32 +0/33 +0/34 +0/35 8 6C:00:C5:4D:86:3A 6C:00:C5:4D:86:3B abc-aa-acc-sw ... +0/36 +0/37 7 6C:00:C5:49:E7:40 6C:00:C5:49:E7:41 abc-bb-acc-sw ... +0/38 +0/39 29 6C:00:C5:49:08:8A 6C:00:C5:49:08:8B abc-cc-acc-sw ... +0/40 +0/41 +0/42 26 00:00:64:4D:00:68 00:00:64:4D:6E:68 u0030644d6e685 ... +0/43 9 6C:00:C5:49:8D:DE 6C:00:C5:49:8D:DF abc-dd-acc-sw ... +0/44 +0/45 24 00:00:64:4D:D7:F0 00:00:64:4D:D7:F0 u0030644dd7f05 ... +0/46 +0/47 4 00:00:64:4D:72:8A 00:00:64:4D:72:8A u0030644d728a5 ... +0/48 +0/49 1 A8:00:B5:57:CC:8D A8:00:B5:57:CC:8E abc-ee-abc-sw0101 +0/50 2 A8:00:B5:57:CB:01 A8:00:B5:57:CB:02 abc-ff-abc-sw0102 diff --git a/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml new file mode 100644 index 0000000000..eb01c84ed4 --- /dev/null +++ b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml @@ -0,0 +1,157 @@ +--- +parsed_sample: + - local_interface: "0/1" + remote_id: "17" + chassis_id: "84:3D:C6:00:12:E0" + port_id: "Gi0" + system_name: "abc-1-00001.y" + - local_interface: "0/2" + remote_id: "16" + chassis_id: "00:A6:CA:00:53:C0" + port_id: "Gi0" + system_name: "abc-1-00002.y" + - local_interface: "0/3" + remote_id: "18" + chassis_id: "F4:DB:E6:00:9F:46" + port_id: "0" + system_name: "abc-1-00003M" + - local_interface: "0/4" + remote_id: "19" + chassis_id: "F4:DB:E6:00:44:9E" + port_id: "0" + system_name: "abc-1-00004M" + - local_interface: "0/5" + remote_id: "20" + chassis_id: "F4:DB:E6:00:AC:FE" + port_id: "Te2/1" + system_name: "abc-1-00005M" + - local_interface: "0/25" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/26" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/27" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/28" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/29" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/30" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/31" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/32" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/33" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/34" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/35" + remote_id: "8" + chassis_id: "6C:00:C5:4D:86:3A" + port_id: "6C:00:C5:4D:86:3B" + system_name: "abc-aa-acc-sw" + - local_interface: "0/36" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/37" + remote_id: "7" + chassis_id: "6C:00:C5:49:E7:40" + port_id: "6C:00:C5:49:E7:41" + system_name: "abc-bb-acc-sw" + - local_interface: "0/38" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/39" + remote_id: "29" + chassis_id: "6C:00:C5:49:08:8A" + port_id: "6C:00:C5:49:08:8B" + system_name: "abc-cc-acc-sw" + - local_interface: "0/40" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/41" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/42" + remote_id: "26" + chassis_id: "00:00:64:4D:00:68" + port_id: "00:00:64:4D:6E:68" + system_name: "u0030644d6e685" + - local_interface: "0/43" + remote_id: "9" + chassis_id: "6C:00:C5:49:8D:DE" + port_id: "6C:00:C5:49:8D:DF" + system_name: "abc-dd-acc-sw" + - local_interface: "0/44" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/45" + remote_id: "24" + chassis_id: "00:00:64:4D:D7:F0" + port_id: "00:00:64:4D:D7:F0" + system_name: "u0030644dd7f05" + - local_interface: "0/46" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/47" + remote_id: "4" + chassis_id: "00:00:64:4D:72:8A" + port_id: "00:00:64:4D:72:8A" + system_name: "u0030644d728a5" + - local_interface: "0/48" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/49" + remote_id: "1" + chassis_id: "A8:00:B5:57:CC:8D" + port_id: "A8:00:B5:57:CC:8E" + system_name: "abc-ee-abc-sw0101" + - local_interface: "0/50" + remote_id: "2" + chassis_id: "A8:00:B5:57:CB:01" + port_id: "A8:00:B5:57:CB:02" + system_name: "abc-ff-abc-sw0102" From f82b77163268ad7d17508382871cd9da543d7bc5 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Sun, 7 Jun 2020 20:03:43 -0400 Subject: [PATCH 092/412] add faq --- .github/ISSUE_TEMPLATE.md | 9 +++- README.md | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 868c0a54a0..a27afeedb0 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,11 @@ + + + - Bug Report - Feature Idea - - Template Creation Help - Documentation Report ##### TEMPLATE USING diff --git a/README.md b/README.md index 3bdde64f65..912e2540c4 100644 --- a/README.md +++ b/README.md @@ -335,3 +335,91 @@ Questions For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com). Sign up [here](http://slack.networktocode.com/) + + +FAQ +--- + +From an outsiders view, some design choices, requirements, and testing procedures can seem arbitrary. The following list of FAQ is intended to +help provide context and better guide users and contributors of ntc-templates. + +_Why is there a requirement to use `Error` in every template?_ + +Ensuring that the textfsm template can account for every line is the only method to ensure that data was not accidentally missed. Take the following example. Initially we account for status to be: + +`Value STATUS (up|down)` + +Given the result of: +``` +Interface Status Protocol Description +Gi0/0/1 admin down down +Gi0/0/2 up up ISP Connection +Gi0/0/3 down down +``` + +The output would miss the G0/0/1 interface, since the `STATUS` of `admin down` not known. If this was a low percentage use case, it can go +undetected, and result in incorrect information being returned. Instead, by ensuring that we fail fast, an `Error` is raised and hopefully +GitHub Issue is put in. + +_Then why isn't `Error` used in all templates?_ + +Initially the controls were not as strong, so many templates were put in until issues like the previous became an issue. + +_Does the project support requests for additional templates or additional data in an existing template?_ + +We are no longer considering additional template requests at this time. The project has existed for over 5 years (initially within ntc-ansible) +and nearly 200 template at this point any additional requests are essentially edge use cases. Meaning, for five years of usage, no one else +has asked for this feature. There is a limited maintainers who primarily use their free time to maintain the project. + +_Are you open to adding maintainers to the project?_ + +Yes, we would consider giving a proven member of the project and community maintainer rights. Please inquiry emailing info@networktocode.com. + +_I simply want to add my template to the project, I do not want to add all of these tests and controls, can I just do so?_ + +Short answer no, from an outsiders point of view the contributor requirements may seem overly complex, however features added by engineers +rarely come back to support them. The burden of support is on the maintainers and a certain level of quality assurance is required for that to +happen. That includes updating the index file appropriately and adding proper raw and expected value files. + +_Why don't you grab all of the data in the template?_ + +There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from +other commands. This is actually an area where the project choose to be loose, as we do not want to over-burden the contributor. If you feel +that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by +the maintainers of the this project. + +_Why does the index order matter?_ + +The "greediness" of the template match ensures that there longest matches first. For example, if `show ip ospf` was above `show ip ospf database`, the `show ip ospf` template would be used in both cases. The additional steps are because of general programmatic hygiene. + +_Will you accept my template if I create it?_ + +In most cases, yes. However, there are a few edge cases. For example if requesting to add a `show cdp neighbors` when there is already a `show cdp neighbors details` template created. That is additional complexity added to the project with little value. + +_Why was my issue closed?_ + +The most likely reasons are: + +* Did not follow the Issue creation template. +* Did not provide the data required to act upon the request. +* A prolonged time with no response. + +_What is meant that the is a parsing project, not a data modeling project?_ + +The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that +problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is +best handled in post processing. + +_I have never submitted a Pull Request before, how do I do so?_ + +This is outside the scope of this project, but this [video](https://www.youtube.com/watch?v=rgbCcBNZcdQ) should provide the instructions on +how to do so. + +_Does this work on windows?_ + +Based on this [PR](https://github.com/networktocode/ntc-templates/pull/672) it should, however this is not a supported option. We are willing +to take in qualified Pull Requests to have the feature, but have no intention of actively supporting. + +_Can you provide general guidance?_ + +This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. \ No newline at end of file From ba8f2683934e9eefef4360904050caba6f80f84d Mon Sep 17 00:00:00 2001 From: Steve Feldman Date: Sun, 7 Jun 2020 20:18:08 -0700 Subject: [PATCH 093/412] Bugfix: ASA - IPv6 support - cisco_asa_show_vpn-sessiondb anyconnect' (#752) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++- ...isco_asa_show_vpn-sessiondb_anyconnect.yml | 4 ++- ...sco_asa_show_vpn-sessiondb_anyconnect1.yml | 5 +++- ...sco_asa_show_vpn-sessiondb_anyconnect2.yml | 9 ++++-- ...sco_asa_show_vpn-sessiondb_anyconnect3.yml | 2 ++ ...asa_show_vpn-sessiondb_anyconnect_ipv6.raw | 16 ++++++++++ ...asa_show_vpn-sessiondb_anyconnect_ipv6.yml | 29 +++++++++++++++++++ ...pn-sessiondb_anyconnect_long_usernames.yml | 4 ++- 8 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 78c4df071e..826c7e7cf3 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -2,7 +2,8 @@ Value Filldown,Required SESSION_TYPE (\S+) Value USERNAME (\S+) Value Required INDEX (\d+) Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) -Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) +Value PUBLIC_IP (\S+) +Value ASSIGNED_IPV6 (\S+) Value PROTOCOL (.+?) Value LICENSE (.+?) Value ENCRYPTION (.+?) @@ -33,6 +34,7 @@ Connection ^\s*Index\s*:\s+${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ + ^\s*Assigned\s+IPv6\s*:\s+${ASSIGNED_IPV6}$$ ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ ^\s*License\s+:\s*${LICENSE}$$ diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml index 1476aa6c9f..bf75c2ca9e 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml index d00bf4134a..621b5ee842 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" @@ -30,6 +32,7 @@ parsed_sample: index: "1" assigned_ip: "192.168.246.1" public_ip: "10.139.1.2" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" encryption: "RC4 AES128" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml index 635272a1c5..017c5109f0 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml @@ -5,9 +5,11 @@ parsed_sample: index: "55620" assigned_ip: "10.15.113.59" public_ip: "8.8.8.8" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES256" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "2310124124" bytes_rx: "241259137" @@ -30,9 +32,11 @@ parsed_sample: index: "55861" assigned_ip: "10.15.112.51" public_ip: "15.25.192.144" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES256" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "12215025" bytes_rx: "1718697" @@ -55,6 +59,7 @@ parsed_sample: index: "56876" assigned_ip: "10.15.112.173" public_ip: "123.15.26.19" + assigned_ipv6: "" protocol: "AnyConnect-Parent" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml index e13cf5cdc2..680a60ba1c 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml @@ -5,6 +5,7 @@ parsed_sample: index: "57045" assigned_ip: "10.1.2.3" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256" @@ -30,6 +31,7 @@ parsed_sample: index: "47520" assigned_ip: "" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw new file mode 100644 index 0000000000..d797233817 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw @@ -0,0 +1,16 @@ +Session Type: AnyConnect +Username : johndoe12 Index : 38847 +Assigned IP : 10.10.123.123 Public IP : 2001:db8:91::7 +Assigned IPv6: 2001:DB8:1234:1::5678 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES-GCM-256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384 +Bytes Tx : 3145031268 Bytes Rx : 58022385 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 01:13:32 UTC Fri Jun 5 2020 +Duration : 4h:55m:35s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a0edc05097bf0005ed99c3c +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml new file mode 100644 index 0000000000..6f47d86446 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "johndoe12" + index: "38847" + assigned_ip: "10.10.123.123" + public_ip: "2001:db8:91::7" + assigned_ipv6: "2001:DB8:1234:1::5678" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES-GCM-256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384" + bytes_tx: "3145031268" + bytes_rx: "58022385" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "01:13:32" + login_time_zone: "UTC" + login_weekday: "Fri" + login_month: "Jun" + login_day: "5" + login_year: "2020" + duration: "4h:55m:35s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a0edc05097bf0005ed99c3c" + security_grp: "none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml index f500cfb0c0..b3df4e61cb 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" From 6ef1e39aa25778f27178dc05a3067415733b01a3 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 8 Jun 2020 09:54:58 -0400 Subject: [PATCH 094/412] New Template: broadcom_icos_show_vlan_brief.textfsm (#750) --- .../broadcom_icos_show_vlan_brief.textfsm | 14 +++++ templates/index | 1 + .../broadcom_icos_show_vlan_brief.raw | 23 +++++++ .../broadcom_icos_show_vlan_brief.yml | 62 +++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 templates/broadcom_icos_show_vlan_brief.textfsm create mode 100644 tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw create mode 100644 tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml diff --git a/templates/broadcom_icos_show_vlan_brief.textfsm b/templates/broadcom_icos_show_vlan_brief.textfsm new file mode 100644 index 0000000000..c2f80f52ab --- /dev/null +++ b/templates/broadcom_icos_show_vlan_brief.textfsm @@ -0,0 +1,14 @@ +Value VLAN_ID (\d+) +Value NAME (\S+) +Value TYPE (\S+) + + +Start + # Captures show vlan brief for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^\s*VLAN\s+ID\s+VLAN\s+Name\s+VLAN\s+Type$$ + ^-+ + ^\s*${VLAN_ID}\s+${NAME}\s+${TYPE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index d22609a1c9..d091d4fe7c 100644 --- a/templates/index +++ b/templates/index @@ -70,6 +70,7 @@ avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] +broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw new file mode 100644 index 0000000000..b4640dc031 --- /dev/null +++ b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw @@ -0,0 +1,23 @@ + +VLAN ID VLAN Name VLAN Type +------- -------------------------------- ------------------- +1 default Default +1 VLAN0001 Static +2 VLAN0002 Static +3 VLAN0003 Static +4 VLAN0004 Static +5 VLAN0005 Static +6 VLAN0006 Static +7 VLAN0007 Static +8 VLAN0008 Static +9 VLAN0009 Static +10 VLAN0010 Static +100 VLAN0100 Static +200 VLAN0200 Static +300 VLAN0300 Static +400 VLAN0400 Static +500 VLAN0500 Static +600 VLAN0600 Static +700 VLAN0700 Static +800 VLAN0800 Static +999 VLAN0999 Static diff --git a/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml new file mode 100644 index 0000000000..55d10b6faa --- /dev/null +++ b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "default" + type: "Default" + - vlan_id: "1" + name: "VLAN0001" + type: "Static" + - vlan_id: "2" + name: "VLAN0002" + type: "Static" + - vlan_id: "3" + name: "VLAN0003" + type: "Static" + - vlan_id: "4" + name: "VLAN0004" + type: "Static" + - vlan_id: "5" + name: "VLAN0005" + type: "Static" + - vlan_id: "6" + name: "VLAN0006" + type: "Static" + - vlan_id: "7" + name: "VLAN0007" + type: "Static" + - vlan_id: "8" + name: "VLAN0008" + type: "Static" + - vlan_id: "9" + name: "VLAN0009" + type: "Static" + - vlan_id: "10" + name: "VLAN0010" + type: "Static" + - vlan_id: "100" + name: "VLAN0100" + type: "Static" + - vlan_id: "200" + name: "VLAN0200" + type: "Static" + - vlan_id: "300" + name: "VLAN0300" + type: "Static" + - vlan_id: "400" + name: "VLAN0400" + type: "Static" + - vlan_id: "500" + name: "VLAN0500" + type: "Static" + - vlan_id: "600" + name: "VLAN0600" + type: "Static" + - vlan_id: "700" + name: "VLAN0700" + type: "Static" + - vlan_id: "800" + name: "VLAN0800" + type: "Static" + - vlan_id: "999" + name: "VLAN0999" + type: "Static" From 0e2bf373aa47df917543e7d610804dfa1ed21f23 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 8 Jun 2020 13:41:46 -0400 Subject: [PATCH 095/412] Bugfix: show_mac-address-table to show_mac-addr-table (#754) --- ...-table.textfsm => broadcom_icos_show_mac-addr-table.textfsm} | 0 templates/index | 2 +- .../broadcom_show_mac-addr-table.raw} | 0 .../broadcom_show_mac-addr-table.yml} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename templates/{broadcom_icos_show_mac-address-table.textfsm => broadcom_icos_show_mac-addr-table.textfsm} (100%) rename tests/broadcom_icos/{show_mac-address-table/broadcom_show_mac-address-table.raw => show_mac-addr-table/broadcom_show_mac-addr-table.raw} (100%) rename tests/broadcom_icos/{show_mac-address-table/broadcom_show_mac-address-table.yml => show_mac-addr-table/broadcom_show_mac-addr-table.yml} (100%) diff --git a/templates/broadcom_icos_show_mac-address-table.textfsm b/templates/broadcom_icos_show_mac-addr-table.textfsm similarity index 100% rename from templates/broadcom_icos_show_mac-address-table.textfsm rename to templates/broadcom_icos_show_mac-addr-table.textfsm diff --git a/templates/index b/templates/index index d091d4fe7c..2417fb92e1 100644 --- a/templates/index +++ b/templates/index @@ -68,8 +68,8 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] -broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] +broadcom_icos_show_mac-addr-table.textfsm, .*, broadcom_icos, sh[[ow]] mac-addr-[[table]] broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw b/tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.raw similarity index 100% rename from tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw rename to tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.raw diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml b/tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.yml similarity index 100% rename from tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml rename to tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.yml From 41c302726f773f9ae206ba030b03e065caa80e8d Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 12 Jun 2020 09:32:57 -0400 Subject: [PATCH 096/412] Bugfix: DESTINATION to list and account for Eth1/1 format - arista_eos_show_mac_address-table.textfsm (#756) --- .../arista_eos_show_mac_address-table.textfsm | 44 +++++++-- .../arista_eos_show_mac_address-table.raw | 5 +- .../arista_eos_show_mac_address-table.yml | 89 ++++++++++++++----- 3 files changed, 109 insertions(+), 29 deletions(-) diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/templates/arista_eos_show_mac_address-table.textfsm index 097b1e75ad..8ede40a789 100644 --- a/templates/arista_eos_show_mac_address-table.textfsm +++ b/templates/arista_eos_show_mac_address-table.textfsm @@ -1,10 +1,40 @@ -Value MAC_ADDRESS (\w+?\.\w+?\.\w+?|\w+?\:\w+?\:\w+?\:\w+?\:\w+?\:\w+?) -Value TYPE (\w+?) -Value VLAN (\d+?) -Value DESTINATION_PORT (\w+\s\w+\s\w+\s\w+|\w+\s\w+\s\w+|\w+\s\w+|\w+?) -Value MOVES (\d+?) +Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) +Value TYPE (\w+) +Value VLAN (\d+) +Value List DESTINATION_PORT ((\w+\/\w+)|\w+) +Value MOVES (\d+) Value LAST_MOVE (.+) Start - ^\s*${VLAN}\s+?${MAC_ADDRESS}\s+?${TYPE}\s+?${DESTINATION_PORT}\s+?${MOVES}\s+${LAST_MOVE}\sago$$ -> Record - ^\s*${VLAN}\s+?${MAC_ADDRESS}\s+?${TYPE}\s+?${DESTINATION_PORT}$$ -> Record \ No newline at end of file + ^\s*Vlan\s+(M|m)ac\sAddress\s+Type\s+Ports\s+Moves\s+Last\sMove\s*$$ -> MAT + ^\s*Vlan\s+(M|m)ac\sAddress\s+Type\s+Ports\s*$$ -> MMAT + ^\s*$$ + ^\s*(M|m)ac\sAddress\sTable\s*$$ + ^\s*Multicast\s(M|m)ac\sAddress\sTable\s*$$ + ^-*$$ + # ^(-*\s*)*$$ + ^. -> Error + +MAT + # capture the mac address table + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s*$$ -> Record + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s+${MOVES}\s+${LAST_MOVE}\sago$$ -> Record + ^\s*Total\s+mac -> Start + ^\s*-+\s+.*-*$$ + ^\s*$$ + ^. -> Error + +MMAT + # capture the multicast mac address table + # key on the record + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s*.*$$ -> Continue.Record + # match the record with one to five destination ports more. + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}$$ -> Record + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){1}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){2}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){3}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){4}${DESTINATION_PORT}$$ -> Continue + ^\s*Total\s+mac -> Start + ^\s*-+\s+.*-*$$ + ^\s*$$ \ No newline at end of file diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw index fd52c5e147..684f3e1f4d 100644 --- a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw +++ b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw @@ -29,5 +29,8 @@ Total mac Addresses for this criterion: 24 Vlan mac Address Type Ports ---- ----------- ---- ----- - 4 0112.3057.8423 STATIC Po10 Po12 + 4 c867.3057.8423 STATIC Po10 Po123 + 42 5309.3057.8423 STATIC Po135 Po12 po5 + 200 jenn.3057.8423 STATIC Po66 + 47 4242.3057.8423 STATIC Po135 Po12 po5 eth1/1 Total mac Addresses for this criterion: 1 \ No newline at end of file diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml index 5abb6add2e..d9b9f88e7a 100644 --- a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml +++ b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml @@ -3,120 +3,167 @@ parsed_sample: - mac_address: "0012.3694.03ec" type: "STATIC" vlan: "3" - destination_port: "Et7" + destination_port: + - "Et7" moves: "" last_move: "" - mac_address: "001c.7313.a3de" type: "DYNAMIC" vlan: "55" - destination_port: "Et32" + destination_port: + - "Et32" moves: "1" last_move: "0:08:16" - mac_address: "001c.8224.36d7" type: "DYNAMIC" vlan: "101" - destination_port: "Po2" + destination_port: + - "Po2" moves: "1" last_move: "9 days, 15:57:28" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "102" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8229.a0f3" type: "DYNAMIC" vlan: "102" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:05:05" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "661" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822f.6b22" type: "DYNAMIC" vlan: "661" - destination_port: "Po7" + destination_port: + - "Po7" moves: "1" last_move: "0:20:10" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3000" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "0050.56a8.0016" type: "DYNAMIC" vlan: "3000" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:07:38" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3909" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822f.6a80" type: "DYNAMIC" vlan: "3909" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:07:08" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3911" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8220.40fa" type: "DYNAMIC" vlan: "3911" - destination_port: "Po8" + destination_port: + - "Po8" moves: "1" last_move: "1:19:58" - mac_address: "001c.822b.033e" type: "DYNAMIC" vlan: "3912" - destination_port: "Et11" + destination_port: + - "Et11" moves: "1" last_move: "9 days, 15:57:23" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3913" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822b.033e" type: "DYNAMIC" vlan: "3913" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:04:35" - mac_address: "001c.8220.178f" type: "DYNAMIC" vlan: "3984" - destination_port: "Et8" + destination_port: + - "Et8" moves: "1" last_move: "4 days, 15:07:29" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3992" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8221.07b9" type: "DYNAMIC" vlan: "3992" - destination_port: "Po6" + destination_port: + - "Po6" moves: "1" last_move: "4 days, 15:13:15" - - mac_address: "0112.3057.8423" + - mac_address: "c867.3057.8423" type: "STATIC" vlan: "4" - destination_port: "Po10 Po12" + destination_port: + - "Po10" + - "Po123" + moves: "" + last_move: "" + - mac_address: "5309.3057.8423" + type: "STATIC" + vlan: "42" + destination_port: + - "Po135" + - "Po12" + - "po5" + moves: "" + last_move: "" + - mac_address: "jenn.3057.8423" + type: "STATIC" + vlan: "200" + destination_port: + - "Po66" + moves: "" + last_move: "" + - mac_address: "4242.3057.8423" + type: "STATIC" + vlan: "47" + destination_port: + - "Po135" + - "Po12" + - "po5" + - "eth1/1" moves: "" last_move: "" From 2f615566a31f1a54cc507fee8069763daa46c941 Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 12 Jun 2020 09:34:32 -0400 Subject: [PATCH 097/412] New template: arista_eos_show_port-channel_summary.textfsm (#757) --- ...ista_eos_show_port-channel_summary.textfsm | 32 ++ templates/index | 2 + .../arista_eos_show_port-channel_summary.raw | 55 +++ .../arista_eos_show_port-channel_summary.yml | 330 ++++++++++++++++++ 4 files changed, 419 insertions(+) create mode 100644 templates/arista_eos_show_port-channel_summary.textfsm create mode 100644 tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw create mode 100644 tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml diff --git a/templates/arista_eos_show_port-channel_summary.textfsm b/templates/arista_eos_show_port-channel_summary.textfsm new file mode 100644 index 0000000000..71f011a60d --- /dev/null +++ b/templates/arista_eos_show_port-channel_summary.textfsm @@ -0,0 +1,32 @@ +Value PORT_CHANNEL (Po\d+) +Value PORT_CHANNEL_STATUS (\S+) +Value PROTOCOL (\w+) +Value PROTOCOL_STATE (\S+) +Value List PHYS_IFACE (Et\S+) +Value List PHYS_IFACE_STATUS (\S+) + + +Start + ^\s*Flags + ^-+ + ^\s+\S\s+- + ^Number + ^\s+Port-Channel\s+Protocol\s+Ports\s+$$ -> PCS + ^\s*$$ + ^. -> Error + + + +PCS + ^\s*Po\d+ -> Continue.Record + ^\s*${PORT_CHANNEL}\(${PORT_CHANNEL_STATUS}\)\s+${PROTOCOL}\(${PROTOCOL_STATE}\)\s+${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){1}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){2}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){3}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){4}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){1}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){2}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){3}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){4}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + diff --git a/templates/index b/templates/index index 2417fb92e1..f8ba99af8e 100644 --- a/templates/index +++ b/templates/index @@ -24,6 +24,7 @@ arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vi arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] +arista_eos_show_port-channel_summary.textfsm, .*, arista_eos, sh[[ow]] port-c[[hannel]] s[[ummary]] arista_eos_show_environment_cooling.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_ip_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_interfaces_status.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] @@ -53,6 +54,7 @@ arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf + aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp diff --git a/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw new file mode 100644 index 0000000000..ce4d3a1697 --- /dev/null +++ b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw @@ -0,0 +1,55 @@ +Flags +-------------------------- ----------------------------- ------------------------- + a - LACP Active p - LACP Passive * - static fallback + F - Fallback enabled f - Fallback configured ^ - individual fallback + U - In Use D - Down + + - In-Sync - - Out-of-Sync i - incompatible with agg + P - bundled in Po s - suspended G - Aggregable + I - Individual S - ShortTimeout w - wait for agg + +Number of channels in use: 1 +Number of aggregators: 1 + + Port-Channel Protocol Ports +------------------ --------------- -------------------------------- + Po105(D) LACP(aF*) Et5(D) + Po106(D) LACP(aF*) Et6(D) + Po107(D) LACP(aF*) Et7(D) + Po108(D) LACP(aF*) Et8(D) + Po109(D) LACP(aF*) Et9(D) + Po110(D) LACP(aF*) Et10(D) + Po111(D) LACP(aF*) Et11(D) + Po112(D) LACP(aF*) Et12(D) + Po113(D) LACP(aF*) Et13(D) + Po114(D) LACP(aF*) Et14(D) + Po115(D) LACP(aF*) Et15(D) + Po116(D) LACP(aF*) Et16(D) + Po117(D) LACP(aF*) Et17(D) + Po118(D) LACP(aF*) Et18(D) + Po119(D) LACP(aF*) Et19(D) + Po120(D) LACP(aF*) Et20(D) + Po121(D) LACP(aF*) Et21(D) + Po122(D) LACP(aF*) Et22(D) + Po123(D) LACP(aF*) Et23(D) + Po124(D) LACP(aF*) Et24(D) + Po125(D) LACP(aF*) Et25(D) + Po126(D) LACP(aF*) Et26(D) + Po127(D) LACP(aF*) Et27(D) + Po128(D) LACP(aF*) Et28(D) + Po129(D) LACP(aF*) Et29(D) + Po130(D) LACP(aF*) Et30(D) + Po131(D) LACP(aF*) Et31(D) + Po132(D) LACP(aF*) Et32(D) + Po133(D) LACP(aF*) Et33(D) + Po134(D) LACP(aF*) Et34(D) + Po135(D) LACP(aF*) Et35(D) + Po136(D) LACP(aF*) Et36(D) + Po137(D) LACP(aF*) Et37(D) + Po138(D) LACP(aF*) Et38(D) + Po139(D) LACP(aF*) Et39(D) + Po140(D) LACP(aF*) Et40(D) + Po141(D) LACP(aF*) Et41(D) + Po142(D) LACP(aF*) Et42(D) + Po146(D) LACP(aF*) Et43(D) Et44(D) Et45(D) Et46(D) + Et47(D) + Po2000(U) LACP(a) Et54/1(PG+) \ No newline at end of file diff --git a/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml new file mode 100644 index 0000000000..d70a8de216 --- /dev/null +++ b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml @@ -0,0 +1,330 @@ +--- +parsed_sample: + - port_channel: "Po105" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et5" + phys_iface_status: + - "D" + - port_channel: "Po106" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et6" + phys_iface_status: + - "D" + - port_channel: "Po107" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et7" + phys_iface_status: + - "D" + - port_channel: "Po108" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et8" + phys_iface_status: + - "D" + - port_channel: "Po109" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et9" + phys_iface_status: + - "D" + - port_channel: "Po110" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et10" + phys_iface_status: + - "D" + - port_channel: "Po111" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et11" + phys_iface_status: + - "D" + - port_channel: "Po112" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et12" + phys_iface_status: + - "D" + - port_channel: "Po113" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et13" + phys_iface_status: + - "D" + - port_channel: "Po114" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et14" + phys_iface_status: + - "D" + - port_channel: "Po115" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et15" + phys_iface_status: + - "D" + - port_channel: "Po116" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et16" + phys_iface_status: + - "D" + - port_channel: "Po117" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et17" + phys_iface_status: + - "D" + - port_channel: "Po118" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et18" + phys_iface_status: + - "D" + - port_channel: "Po119" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et19" + phys_iface_status: + - "D" + - port_channel: "Po120" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et20" + phys_iface_status: + - "D" + - port_channel: "Po121" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et21" + phys_iface_status: + - "D" + - port_channel: "Po122" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et22" + phys_iface_status: + - "D" + - port_channel: "Po123" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et23" + phys_iface_status: + - "D" + - port_channel: "Po124" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et24" + phys_iface_status: + - "D" + - port_channel: "Po125" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et25" + phys_iface_status: + - "D" + - port_channel: "Po126" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et26" + phys_iface_status: + - "D" + - port_channel: "Po127" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et27" + phys_iface_status: + - "D" + - port_channel: "Po128" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et28" + phys_iface_status: + - "D" + - port_channel: "Po129" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et29" + phys_iface_status: + - "D" + - port_channel: "Po130" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et30" + phys_iface_status: + - "D" + - port_channel: "Po131" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et31" + phys_iface_status: + - "D" + - port_channel: "Po132" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et32" + phys_iface_status: + - "D" + - port_channel: "Po133" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et33" + phys_iface_status: + - "D" + - port_channel: "Po134" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et34" + phys_iface_status: + - "D" + - port_channel: "Po135" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et35" + phys_iface_status: + - "D" + - port_channel: "Po136" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et36" + phys_iface_status: + - "D" + - port_channel: "Po137" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et37" + phys_iface_status: + - "D" + - port_channel: "Po138" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et38" + phys_iface_status: + - "D" + - port_channel: "Po139" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et39" + phys_iface_status: + - "D" + - port_channel: "Po140" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et40" + phys_iface_status: + - "D" + - port_channel: "Po141" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et41" + phys_iface_status: + - "D" + - port_channel: "Po142" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et42" + phys_iface_status: + - "D" + - port_channel: "Po146" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et43" + - "Et46" + - "Et46" + - "Et46" + - "Et47" + phys_iface_status: + - "D" + - "D" + - "D" + - "D" + - "D" + - port_channel: "Po2000" + port_channel_status: "U" + protocol: "LACP" + protocol_state: "a" + phys_iface: + - "Et54/1" + phys_iface_status: + - "PG+" From 7454549e06cf6ef18ec585f8acf21798f6b33cd7 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 14 Jun 2020 21:11:33 -0600 Subject: [PATCH 098/412] Bumping to version 1.5.0 (#763) --- .github_changelog_generator | 4 +- CHANGELOG | 116 ++++++++++++++++ CHANGELOG.md | 243 ---------------------------------- lib/ntc_templates/__init__.py | 2 +- 4 files changed, 119 insertions(+), 246 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator index 50b825868c..1d3e2cee60 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,3 +1,3 @@ unreleased=true -future-release=1.4.2 -since-tag=v1.4.1 +future-release=1.5.0 +since-tag=v1.4.2 diff --git a/CHANGELOG b/CHANGELOG index 3883666903..22a5468967 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,119 @@ +# Changelog + +## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) + +**Implemented enhancements:** + +- Broadcom ICOS/Fastpath Support? [\#726](https://github.com/networktocode/ntc-templates/issues/726) + +**Fixed bugs:** + +- Cisco IOS show cdp neighbors issue [\#727](https://github.com/networktocode/ntc-templates/issues/727) +- Cisco IOS Show Interface Switchport does not parse multi-line VLAN Trunks [\#642](https://github.com/networktocode/ntc-templates/issues/642) +- Cisco ASA Show interface does not catch unnamed interfaces [\#627](https://github.com/networktocode/ntc-templates/issues/627) +- Fixes missing interfaces on down interfaces [\#734](https://github.com/networktocode/ntc-templates/pull/734) ([jvanderaa](https://github.com/jvanderaa)) + +**Closed issues:** + +- Cisco ASA "show vpn-sessiondb anyconnect" parser doesn't support IPv6 addresses [\#751](https://github.com/networktocode/ntc-templates/issues/751) +- failing testsuite [\#743](https://github.com/networktocode/ntc-templates/issues/743) +- I would like to contribute the PR for adding new cisco\_wlc\_ssh\_show\_ap\_image\_all [\#739](https://github.com/networktocode/ntc-templates/issues/739) +- Template help for multiple states [\#737](https://github.com/networktocode/ntc-templates/issues/737) +- textfsm.parser.TextFSMError: State Error raised. Rule Line: 15. Input Line: show ip arp [\#686](https://github.com/networktocode/ntc-templates/issues/686) +- Arista eos - sh ip bgp summ vrf all and sh ip route vrf all template [\#666](https://github.com/networktocode/ntc-templates/issues/666) +- Template Creation Help: cisco\_xr\_admin\_show\_environment\_power to get power supply, voltage and current [\#648](https://github.com/networktocode/ntc-templates/issues/648) +- New template: hp\_comware\_display\_interface\_textFSM [\#634](https://github.com/networktocode/ntc-templates/issues/634) +- cisco\_asa\_show\_failover\_state [\#546](https://github.com/networktocode/ntc-templates/issues/546) + +**Merged pull requests:** + +- Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) +- Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) +- Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) +- Fixes \#751 - IPv6 support for Cisco ASA 'show vpn-sessiondb anyconnect' [\#752](https://github.com/networktocode/ntc-templates/pull/752) ([smfeldman](https://github.com/smfeldman)) +- New Template added support for broadcom\_icos\_show\_vlan\_brief [\#750](https://github.com/networktocode/ntc-templates/pull/750) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_lldp\_remote-device\_all [\#749](https://github.com/networktocode/ntc-templates/pull/749) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_isdp\_neighbors [\#748](https://github.com/networktocode/ntc-templates/pull/748) ([alepodj](https://github.com/alepodj)) +- Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) +- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwu1107](https://github.com/conorwu1107)) +- Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) +- Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) +- BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) +- New Template support for broadcom\_icos as a new OS and added show\_version command [\#733](https://github.com/networktocode/ntc-templates/pull/733) ([alepodj](https://github.com/alepodj)) +- New template for ubiquity edgeswitch: show version [\#732](https://github.com/networktocode/ntc-templates/pull/732) ([saaverdo](https://github.com/saaverdo)) +- New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + ## [1.4.1] ### Fixed - [#617] - IOS show ip ospf database router: Removed reliance on static spacing diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index bce70c1200..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,243 +0,0 @@ -# Changelog - -## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) - -**Fixed bugs:** - -- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) -- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) -- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) - -**Closed issues:** - -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) -- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) -- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) -- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) -- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) -- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) -- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) -- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) -- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) -- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) -- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) -- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) - -**Merged pull requests:** - -- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) -- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) -- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) -- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) -- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) -- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) -- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) -- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) -- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) -- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) -- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) -- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) -- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) - -## [1.4.1] -### Fixed -- [#617] - IOS show ip ospf database router: Removed reliance on static spacing -- [#620] - NXOS show fex: Allow spaces in descriptions -- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) -- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style -- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output -- [#647] - ASA show route: Allow multiline route statements -- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option - -### Added -- [#618] - IOS show ip ospf database network: New template -- [#619] - HP Comware display lldp neighbor information verbose: New template -- [#625] - ASA show vpn-sessiondb anyconnect: New template -- [#628] - Cisco WLC show mobility sum: New template -- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group -- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME -- [#632] - ASA show nat: Added SERVICE_PROTOCOL -- [#635] - IOS show ip route summary: New template -- [#636] - ASA show vpn-sessiondb: New template -- [#638] - ASA show inventory: Capture PID and VID withoout serial -- [#637] - Cisco WLC show band select: New template - -## [1.4.0] -### Fixed -- [#548] IOS show mac address-table: Account for Total Mac Addresses -- [#565] IOS show license: Avoid trailing spaces for features -- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words -- [#574] ASA show failover: Account for new output (IPS) -- [#577] IOS show mac address-table: Account for Multicast Entries -- [#582] NXOS show interface transceiver: Remove requirement for TYPE -- [#585] IOS show mac address-table: Fixed ordering for TYPE2 -- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype -- [#584] IOS show switch detail: Account for Mac persistency wait time -- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE -- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace -- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols -- [610] Aruba os show arp: Fix tests to have the full output from the command and device -- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask -- [#614] IOS show interfaces status: Remove reliance on whitespaces -### Added -- [#406] Testing: Add yamllint to test suite -- [#407] Testing: Add python black to test suite -- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group -- [#554] IOS show logging: New template -- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group -- [#562] ASA show logging: New template -- [#564] NXOS show interface transceiver: New template -- [#567] XR show arp: New template -- [#572] IOS show lldp neighbors detail: Added SERIAL capture group -- [#573] ASA show arp: New template -- [#578] Fortinet get system interface: New template -- [#576] Huawei VRP display lldp neighbor: New template -- [#581] Cisco WLC show vlan sum: New template -- [#580] XR show interfaces summary: New template -- [#590] IOS show ip bgp neighbors: New template -- [#591] NXOS show vdc: New template -- [#595] Checkpoint GAIA show arp dynamic all: New template -- [#593] IOS show module: New template -- [#597] Huwai VRP display version: New template -- [#602] NXOS show vrf interface: New template -- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group -- [#598] IOS show running-config partition access list: Convert COMMENT to list -- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols -- [#596] XR admin show environment power: New template -- [#594] Aruba os show arp: New template -- [#605] SG300 show version: New template -- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID -- [#600] IOS show mpls interfaces: New template -- [#599] IOS show etherchannel summary: New template -- [#611] NXOS show interface: Added MODE capture group -- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups -- [#609] HP Comware display ip interface: New template -- [#606] IOS show ip ospf database router: New template -### Changed -- [#406] Helpers: Added development_helpers cli utility to replace existing helpers -### Deprecated -### Removed - -## [1.3.0] -### Fixed -- [#401] ASA show route: Fix `UPTIME` to account for additional output formats -- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" -- [#465] ASA show failover: Add line to match FirePOWER module -- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" -- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" -- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits -- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats -- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" -- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it -- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) -- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data -- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces -- [#494] IOS show ip interface: Add matches for additional output lines -- [#495] IOS show ip interface: Add matches for additional output lines -- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` -- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas -- [#499] ASA show inventory: Add matches for additional output lines -- [#503] IOS show standby: Fix output that spread across two lines -- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data -- [#516] IOS show ip interface: Add matches for additional output lines -- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line -- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax -- [#525] IOS: Added matches for vty timestamp lines -- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) -- [#538] IOS show interfaces switchport: Added matches for additional output lines -### Added -- [#378] XR show ip route: Added `VRF` capture group -- [#391] WLC show client detail: Added new template -- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free -- [#425] WLC show exclusionlist: Added new template -- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group -- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups -- [#464] Comware display counters bound interface: Added new template -- [#468] Firebox show arp: Added new template -- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group -- [#478] NXOS show ip interface brief: Added new template -- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups -- [#482] XR admin show inventory: Added new template -- [#486] NXOS show route-map: Added new template -- [#489] NXOS show forwarding ipv4 route: Added new template -- [#491] IOS show switch detail: Added new template -- [#492] XR show ipv6 neighbors: Added new template -- [#493] Fastiron show arp: Added new template -- [#496] EOS show ip helper-address: Added new template -- [#501] WLC show 802.11a|b: Added new template -- [#510] WLC show 802.11 cleanair config: Added new template -- [#512] VRP display interface brief: Added new template -- [#512] VRP display temperature: Added new template -- [#513] WLC show rf profile-summary: Added new template -- [#514] IOS show process memory sorted: Added new template -- [#515] WLC show inventory: Added new template -- [#518] Ciena software show: Added new template -- [#521] IOS show ip route: Added `VRF` capture group -- [#524] EOS show vrf: Added new template -- [#526] WLC show advanced 802.11 channel: Added new template -- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#529] Fortios get router info bgp summary: Added new template -- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group -- [#533] IOS show license: Added new template -- [#539] WLC show interface summary: Added new template -- [#540] IOS show environment temperature: Added new template -### Changed -- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" -- [#497] ASA show version: Change `SERIAL` to be a list for clusters -- [#503] IOS show standby: Update index to allow syntax including specifying an interface -- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax -- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax -- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection -- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" -- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection -- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -### Deprecated -### Removed - -## [1.2.1] -### Fixed -- Bumped `__version__` in `__init__` file -### Added -### Changed -### Deprecated -### Removed - -## [1.2.0] -### Fixed -- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces -- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords -- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` -### Added -- [#470] ASA show version: Add capturing `compiled_date` field - - -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 13f56b77ee..e5ed6d99ee 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.2" +__version__ = "1.5.0" From f09edf188889be154b705963d695eabe3f37a8f8 Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Sat, 20 Jun 2020 00:02:21 +0200 Subject: [PATCH 099/412] New Template: cisco_nxos_show_interface_description.textfsm (#758) --- ...co_nxos_show_interface_description.textfsm | 16 + templates/index | 1 + .../cisco_nxos_show_interface_description.raw | 131 +++++ .../cisco_nxos_show_interface_description.yml | 446 ++++++++++++++++++ 4 files changed, 594 insertions(+) create mode 100644 templates/cisco_nxos_show_interface_description.textfsm create mode 100644 tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw create mode 100644 tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml diff --git a/templates/cisco_nxos_show_interface_description.textfsm b/templates/cisco_nxos_show_interface_description.textfsm new file mode 100644 index 0000000000..74aae50935 --- /dev/null +++ b/templates/cisco_nxos_show_interface_description.textfsm @@ -0,0 +1,16 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value SPEED (\d+G?) +Value DESCRIPTION (\S.*?) + +Start + ^Interface\s+Description\s*$$ -> Begin + +Begin + ^-+ + ^Port\s+Type\s+Speed\s+Description\s*$$ + ^Interface\s+Description\s*$$ + ^${PORT}\s+${TYPE}\s+${SPEED}(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^${PORT}\s+(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index f8ba99af8e..8a4e212907 100644 --- a/templates/index +++ b/templates/index @@ -239,6 +239,7 @@ cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] +cisco_nxos_show_interface_description.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] desc[[ription]] cisco_nxos_show_interface_transceiver.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] diff --git a/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw new file mode 100644 index 0000000000..7f38fb71ee --- /dev/null +++ b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw @@ -0,0 +1,131 @@ + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +mgmt0 -- + +------------------------------------------------------------------------------- +Port Type Speed Description +------------------------------------------------------------------------------- +Eth4/1 eth 10G -- +Eth4/2 eth 1000 -- +Eth4/3 eth 10G This is a test description +Eth4/4 eth 10G This is a test description +Eth4/5 eth 10G This is a test description +Eth4/6 eth 1000 This is a test description +Eth4/7 eth 10G This is a test description +Eth4/8 eth 1000 This is a test description +Eth4/9 eth 10G This is a test description +Eth4/10 eth 10G This is a test description +Eth4/11 eth 10G This is a test description +Eth4/12 eth 10G This is a test description +Eth4/13 eth 1000 This is a test description +Eth4/14 eth 10G -- +Eth4/15 eth 10G This is a test description +Eth4/16 eth 10G This is a test description +Eth4/17 eth 1000 This is a test description +Eth4/18 eth 10G This is a test description +Eth4/19 eth 1000 This is a test description +Eth4/20 eth 10G This is a test description +Eth4/21 eth 10G This is a test description +Eth4/22 eth 10G This is a test description +Eth4/23 eth 10G This is a test description +Eth4/24 eth 10G This is a test description +Eth6/1 eth 10G This is a description on line card 6 +Eth6/2 eth 10G This is a description on line card 6 +Eth6/3 eth 1000 This is a description on line card 6 +Eth6/4 eth 1000 This is a description on line card 6 +Eth6/5 eth 10G This is a description on line card 6 +Eth6/6 eth 1000 This is a description on line card 6 +Eth6/7 eth 10G This is a description on line card 6 +Eth6/8 eth 10G This is a description on line card 6 +Eth6/9 eth 10G This is a description on line card 6 +Eth6/10 eth 10G This is a description on line card 6 +Eth6/11 eth 10G This is a description on line card 6 +Eth6/12 eth 10G This is a description on line card 6 +Eth6/13 eth 10G This is a description on line card 6 +Eth6/14 eth 10G This is a description on line card 6 +Eth6/15 eth 10G This is a description on line card 6 +Eth6/16 eth 1000 This is a description on line card 6 +Eth6/17 eth 10G This is a description on line card 6 +Eth6/18 eth 1000 This is a description on line card 6 +Eth6/19 eth 10G This is a description on line card 6 +Eth6/20 eth 10G This is a description on line card 6 +Eth6/21 eth 10G This is a description on line card 6 +Eth6/22 eth 10G This is a description on line card 6 +Eth6/23 eth 10G This is a description on line card 6 +Eth6/24 eth 10G This is a description on line card 6 +Eth6/25 eth 1000 This is a description on line card 6 +Eth6/26 eth 1000 This is a description on line card 6 +Eth6/27 eth 10G This is a description on line card 6 +Eth6/28 eth 1000 This is a description on line card 6 +Eth6/29 eth 10G This is a description on line card 6 +Eth6/30 eth 10G This is a description on line card 6 +Eth6/31 eth 10G This is a description on line card 6 +Eth6/32 eth 10G This is a description on line card 6 +Eth6/33 eth 10G This is a description on line card 6 +Eth6/34 eth 1000 This is a description on line card 6 +Eth6/35 eth 10G This is a description on line card 6 +Eth6/36 eth 1000 This is a description on line card 6 +Eth6/37 eth 10G This is a description on line card 6 +Eth6/38 eth 10G This is a description on line card 6 +Eth6/39 eth 1000 This is a description on line card 6 +Eth6/40 eth 10G This is a description on line card 6 +Eth6/41 eth 10G This is a description on line card 6 +Eth6/42 eth 10G This is a description on line card 6 +Eth6/43 eth 10G This is a description on line card 6 +Eth6/44 eth 10G This is a description on line card 6 +Eth6/45 eth 10G This is a description on line card 6 +Eth6/46 eth 10G This is a description on line card 6 +Eth6/47 eth 10G This is a description on line card 6 +Eth6/48 eth 10G This is a description on line card 6 + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +Po10 This is a portchannel +Po20 This is a portchannel +Po25 This is a portchannel +Po300 This is a portchannel + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +Lo0 This is a loopback +Lo1 This is a loopback +Lo2 This is a loopback +Lo20 -- +Lo30 -- +Vlan1 -- +Vlan9 Nice little VLAN interface here +Vlan10 Nice little VLAN interface here +Vlan20 Nice little VLAN interface here +Vlan30 Nice little VLAN interface here + +------------------------------------------------------------------------------- +Port Type Speed Description +------------------------------------------------------------------------------- +Eth100/1/1 eth 1000 This is another description +Eth100/1/2 eth 1000 This is another description +Eth100/1/3 eth 1000 This is another description +Eth100/1/4 eth 1000 This is another description +Eth100/1/5 eth 1000 This is another description +Eth100/1/6 eth 1000 This is another description +Eth100/1/7 eth 1000 This is another description +Eth100/1/8 eth 1000 This is another description +Eth100/1/9 eth 1000 This is another description +Eth100/1/10 eth 1000 This is another description +Eth100/1/11 eth 1000 This is another description +Eth100/1/12 eth 1000 This is another description +Eth100/1/13 eth 1000 This is another description +Eth100/1/14 eth 1000 This is another description +Eth100/1/15 eth 1000 This is another description +Eth100/1/16 eth 1000 This is another description +Eth100/1/17 eth 1000 This is another description +Eth100/1/18 eth 1000 This is another description +Eth100/1/19 eth 1000 This is another description +Eth100/1/20 eth 1000 This is another description +Eth100/1/21 eth 1000 This is another description +Eth100/1/22 eth 1000 This is another description +Eth100/1/23 eth 1000 This is another description +Eth100/1/24 eth 1000 This is another description diff --git a/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml new file mode 100644 index 0000000000..a7eeae4783 --- /dev/null +++ b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml @@ -0,0 +1,446 @@ +--- +parsed_sample: + - port: "mgmt0" + type: "" + speed: "" + description: "--" + - port: "Eth4/1" + type: "eth" + speed: "10G" + description: "--" + - port: "Eth4/2" + type: "eth" + speed: "1000" + description: "--" + - port: "Eth4/3" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/4" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/5" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/6" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/7" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/8" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/9" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/10" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/11" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/12" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/13" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/14" + type: "eth" + speed: "10G" + description: "--" + - port: "Eth4/15" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/16" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/17" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/18" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/19" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/20" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/21" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/22" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/23" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/24" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth6/1" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/2" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/3" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/4" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/5" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/6" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/7" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/8" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/9" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/10" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/11" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/12" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/13" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/14" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/15" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/16" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/17" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/18" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/19" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/20" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/21" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/22" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/23" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/24" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/25" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/26" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/27" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/28" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/29" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/30" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/31" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/32" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/33" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/34" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/35" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/36" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/37" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/38" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/39" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/40" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/41" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/42" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/43" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/44" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/45" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/46" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/47" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/48" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Po10" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po20" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po25" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po300" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Lo0" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo1" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo2" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo20" + type: "" + speed: "" + description: "--" + - port: "Lo30" + type: "" + speed: "" + description: "--" + - port: "Vlan1" + type: "" + speed: "" + description: "--" + - port: "Vlan9" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan10" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan20" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan30" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Eth100/1/1" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/2" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/3" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/4" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/5" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/6" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/7" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/8" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/9" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/10" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/11" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/12" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/13" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/14" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/15" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/16" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/17" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/18" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/19" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/20" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/21" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/22" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/23" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/24" + type: "eth" + speed: "1000" + description: "This is another description" From 178f59338be97427d47a07b614b217ed99b09151 Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Sat, 20 Jun 2020 00:13:13 +0200 Subject: [PATCH 100/412] New Template: cisco_nxos_show_ip_interface.textfsm (#761) --- .../cisco_nxos_show_ip_interface.textfsm | 106 ++++ templates/index | 1 + .../cisco_nxos_show_ip_interface.raw | 244 ++++++++ .../cisco_nxos_show_ip_interface.yml | 548 ++++++++++++++++++ 4 files changed, 899 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_interface.textfsm create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml diff --git a/templates/cisco_nxos_show_ip_interface.textfsm b/templates/cisco_nxos_show_ip_interface.textfsm new file mode 100644 index 0000000000..3c681015a5 --- /dev/null +++ b/templates/cisco_nxos_show_ip_interface.textfsm @@ -0,0 +1,106 @@ +Value Filldown VRF_NAME (\S+) +Value Required INTERFACE (\S+) +Value PROTOCOL_STATUS (\w+) +Value LINK_STATUS (\w+) +Value ADMIN_STATUS (\w+) +Value PRIMARY_IP_ADDRESS (\S+) +Value PRIMARY_IP_SUBNET (\S+) +Value PRIMARY_BROADCAST_ADDRESS (\S+) +Value List SECONDARY_IP_ADDRESS (\S+) +Value List SECONDARY_IP_SUBNET (\S+) +Value MULTICAST_GROUPS (224\..*?) +Value MTU (\d+) +Value ROUTE_PREFERENCE (\d+) +Value ROUTE_PREFERENCE_TAG (\d+) +Value PROXY_ARP (\S+) +Value LOCAL_PROXY_ARP (\S+) +Value MULTICAST_ROUTING (\S+) +Value ICMP_REDIRECTS (\S+) +Value DIRECTED_BROADCAST (\S+) +Value IP_FORWARDING (\S+) +Value ICMP_UNREACHABLES (\S+) +Value ICMP_PORT_UNREACHABLE (\S+) +Value URPF (\S+) +Value LOAD_SHARING (\S+) +Value LAST_RESET (\S+) +Value UNICAST_PACKETS_SENT (\d+) +Value UNICAST_PACKETS_RECEIVED (\d+) +Value UNICAST_PACKETS_FORWARDED (\d+) +Value UNICAST_PACKETS_ORIGINATED (\d+) +Value UNICAST_PACKETS_CONSUMED (\d+) +Value UNICAST_BYTES_SENT (\d+) +Value UNICAST_BYTES_RECEIVED (\d+) +Value UNICAST_BYTES_FORWARDED (\d+) +Value UNICAST_BYTES_ORIGINATED (\d+) +Value UNICAST_BYTES_CONSUMED (\d+) +Value MULTICAST_PACKETS_SENT (\d+) +Value MULTICAST_PACKETS_RECEIVED (\d+) +Value MULTICAST_PACKETS_FORWARDED (\d+) +Value MULTICAST_PACKETS_ORIGINATED (\d+) +Value MULTICAST_PACKETS_CONSUMED (\d+) +Value MULTICAST_BYTES_SENT (\d+) +Value MULTICAST_BYTES_RECEIVED (\d+) +Value MULTICAST_BYTES_FORWARDED (\d+) +Value MULTICAST_BYTES_ORIGINATED (\d+) +Value MULTICAST_BYTES_CONSUMED (\d+) +Value BROADCAST_PACKETS_SENT (\d+) +Value BROADCAST_PACKETS_RECEIVED (\d+) +Value BROADCAST_PACKETS_FORWARDED (\d+) +Value BROADCAST_PACKETS_ORIGINATED (\d+) +Value BROADCAST_PACKETS_CONSUMED (\d+) +Value BROADCAST_BYTES_SENT (\d+) +Value BROADCAST_BYTES_RECEIVED (\d+) +Value BROADCAST_BYTES_FORWARDED (\d+) +Value BROADCAST_BYTES_ORIGINATED (\d+) +Value BROADCAST_BYTES_CONSUMED (\d+) +Value LABELED_PACKETS_SENT (\d+) +Value LABELED_PACKETS_RECEIVED (\d+) +Value LABELED_PACKETS_FORWARDED (\d+) +Value LABELED_PACKETS_ORIGINATED (\d+) +Value LABELED_PACKETS_CONSUMED (\d+) +Value LABELED_BYTES_SENT (\d+) +Value LABELED_BYTES_RECEIVED (\d+) +Value LABELED_BYTES_FORWARDED (\d+) +Value LABELED_BYTES_ORIGINATED (\d+) +Value LABELED_BYTES_CONSUMED (\d+) +Value WCCP_REDIRECT_OUTBOUND (\S+) +Value WCCP_REDIRECT_INBOUND (\S+) +Value WCCP_REDIRECT_EXCLUDE (\S+) + +Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+\"${VRF_NAME}\"\s*$$ + ^${INTERFACE},.*protocol-${PROTOCOL_STATUS}\/link-${LINK_STATUS}\/admin-${ADMIN_STATUS},.*$$ + ^\s+IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}\s*$$ + # Secondary IP addresses are stored as a list + ^\s+IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*$$ + ^\s+IP\s+broadcast\s+address:\s+${PRIMARY_BROADCAST_ADDRESS}\s*$$ + ^\s+IP\s+multicast\s+groups\s+locally\s+joined:.*$$ + # Multiple multicast groups are on the same line so we can't make a list out of those + ^\s+${MULTICAST_GROUPS}\s*$$ + ^\s+IP\s+MTU:\s+${MTU}.*$$ + ^\s+IP\s+primary\s+address\s+route-preference:\s+${ROUTE_PREFERENCE}, tag:\s+${ROUTE_PREFERENCE_TAG}\s*$$ + ^\s+IP\s+proxy\s+ARP\s*:\s+${PROXY_ARP}\s*$$ + ^\s+IP\s+Local\s+Proxy\s+ARP\s*:\s+${LOCAL_PROXY_ARP}\s*$$ + ^\s+IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING}\s*$$ + ^\s+IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS}\s*$$ + ^\s+IP\s+directed-broadcast:\s+${DIRECTED_BROADCAST}(,.*|\s*)$$ + ^\s+IP\s+Forwarding:\s+${IP_FORWARDING}(,.*|\s*)$$ + ^\s+IP\s+icmp\s+unreachables \(except port\):\s+${ICMP_UNREACHABLES}\s*$$ + ^\s+IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLE}\s*$$ + ^\s+IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${URPF}\s*$$ + ^\s+IP\s+load\s+sharing:\s+${LOAD_SHARING}\s*$$ + ^\s+IP\s+interface\s+statistics\s+last\s+reset:\s+${LAST_RESET}\s*$$ + ^\s+IP\s+interface\s+software\s+stats:.*$$ + ^\s+Unicast\s+packets\s+:\s+${UNICAST_PACKETS_SENT}\/${UNICAST_PACKETS_RECEIVED}\/${UNICAST_PACKETS_FORWARDED}\/${UNICAST_PACKETS_ORIGINATED}\/${UNICAST_PACKETS_CONSUMED}\s*$$ + ^\s+Unicast\s+bytes\s+:\s+${UNICAST_BYTES_SENT}\/${UNICAST_BYTES_RECEIVED}\/${UNICAST_BYTES_FORWARDED}\/${UNICAST_BYTES_ORIGINATED}\/${UNICAST_BYTES_CONSUMED}\s*$$ + ^\s+Multicast\s+packets\s+:\s+${MULTICAST_PACKETS_SENT}\/${MULTICAST_PACKETS_RECEIVED}\/${MULTICAST_PACKETS_FORWARDED}\/${MULTICAST_PACKETS_ORIGINATED}\/${MULTICAST_PACKETS_CONSUMED}\s*$$ + ^\s+Multicast\s+bytes\s+:\s+${MULTICAST_BYTES_SENT}\/${MULTICAST_BYTES_RECEIVED}\/${MULTICAST_BYTES_FORWARDED}\/${MULTICAST_BYTES_ORIGINATED}\/${MULTICAST_BYTES_CONSUMED}\s*$$ + ^\s+Broadcast\s+packets\s+:\s+${BROADCAST_PACKETS_SENT}\/${BROADCAST_PACKETS_RECEIVED}\/${BROADCAST_PACKETS_FORWARDED}\/${BROADCAST_PACKETS_ORIGINATED}\/${BROADCAST_PACKETS_CONSUMED}\s*$$ + ^\s+Broadcast\s+bytes\s+:\s+${BROADCAST_BYTES_SENT}\/${BROADCAST_BYTES_RECEIVED}\/${BROADCAST_BYTES_FORWARDED}\/${BROADCAST_BYTES_ORIGINATED}\/${BROADCAST_BYTES_CONSUMED}\s*$$ + ^\s+Labeled\s+packets\s+:\s+${LABELED_PACKETS_SENT}\/${LABELED_PACKETS_RECEIVED}\/${LABELED_PACKETS_FORWARDED}\/${LABELED_PACKETS_ORIGINATED}\/${LABELED_PACKETS_CONSUMED}\s*$$ + ^\s+Labeled\s+bytes\s+:\s+${LABELED_BYTES_SENT}\/${LABELED_BYTES_RECEIVED}\/${LABELED_BYTES_FORWARDED}\/${LABELED_BYTES_ORIGINATED}\/${LABELED_BYTES_CONSUMED}\s*$$ + ^\s+WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND}\s*$$ + ^\s+WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND}\s*$$ + ^\s+WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8a4e212907..bd7c0d934e 100644 --- a/templates/index +++ b/templates/index @@ -268,6 +268,7 @@ cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] +cisco_nxos_show_ip_interface.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw new file mode 100644 index 0000000000..7109239bda --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw @@ -0,0 +1,244 @@ +IP Interface Status for VRF "default" +Vlan10, Interface status: protocol-up/link-up/admin-up, iod: 92, + IP address: 172.20.254.36, IP subnet: 172.20.254.32/27 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.100 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 5356711/10702083/0/5356711/10701967 + Unicast bytes : 1467196398/1513796078/0/1467196398/1513730150 + Multicast packets : 0/74606257/0/0/63270503 + Multicast bytes : 0/6893838000/0/0/6327050300 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Vlan100, Interface status: protocol-up/link-up/admin-up, iod: 276, + IP address: 172.16.100.69, IP subnet: 172.16.100.0/25 + IP address: 172.16.69.209, IP subnet: 172.16.69.192/26 secondary + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.100 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 363766868/434448766/1840111/361926757/435257628 + Unicast bytes : 60618126417/60180339215/197780979/60420345438/60178592743 + Multicast packets : 0/89412234/0/0/60216211 + Multicast bytes : 0/7526994055/0/0/6021621100 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +loopback10, Interface status: protocol-up/link-up/admin-up, iod: 137, + IP address: 10.255.255.4, IP subnet: 10.255.255.4/32 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/0/0/0/13367169 + Unicast bytes : 0/0/0/0/3595682011 + Multicast packets : 7398420/0/0/7398420/0 + Multicast bytes : 344137656/0/0/344137656/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +port-channel10, Interface status: protocol-up/link-up/admin-up, iod: 134, + IP address: 172.20.200.14, IP subnet: 172.20.200.12/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.22 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 1756/605867934/0/1756/611444114 + Unicast bytes : 102167/33930088347/0/102167/35555680505 + Multicast packets : 72332825/171053548/0/72332825/171053548 + Multicast bytes : 4984881481/8466822983/0/4984881481/8275579923 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Ethernet1/1, Interface status: protocol-up/link-up/admin-up, iod: 190, + IP address: 172.20.200.30, IP subnet: 172.20.200.28/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 401266/4198994/3316/397950/3943939 + Unicast bytes : 27457805/1414570071/831793/26626012/1462629148 + Multicast packets : 48587852/50519381/0/48587852/50519381 + Multicast bytes : 5099368774/4444320435/0/5099368774/4424267143 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Ethernet1/2, Interface status: protocol-up/link-up/admin-up, iod: 194, + IP address: 172.20.200.46, IP subnet: 172.20.200.44/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.20 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 113285373/23742404/556/113284817/5044435 + Unicast bytes : 50997929593/7277400421/176910/50997752683/1994162729 + Multicast packets : 54591467/48609377/0/54591467/48609377 + Multicast bytes : 7951012097/3087773014/0/7951012097/3085864982 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "management" +mgmt0, Interface status: protocol-up/link-up/admin-up, iod: 127, + IP address: 10.46.16.122, IP subnet: 10.46.16.0/24 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 578811674/517277696/0/578811674/517277696 + Unicast bytes : 369383530677/201158028122/0/369383530677/201141114223 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "TEST" +Ethernet2/1, Interface status: protocol-up/link-up/admin-up, iod: 144, + IP address: 172.20.1.94, IP subnet: 172.20.1.0/24 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 169393306/169195583/0/169393306/169195583 + Unicast bytes : 13890251052/10828517312/0/13890251052/10828517312 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml new file mode 100644 index 0000000000..1b2acdd7a6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml @@ -0,0 +1,548 @@ +--- +parsed_sample: + - vrf_name: "default" + interface: "Vlan10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.254.36" + primary_ip_subnet: "172.20.254.32/27" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.100" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "5356711" + unicast_packets_received: "10702083" + unicast_packets_forwarded: "0" + unicast_packets_originated: "5356711" + unicast_packets_consumed: "10701967" + unicast_bytes_sent: "1467196398" + unicast_bytes_received: "1513796078" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "1467196398" + unicast_bytes_consumed: "1513730150" + multicast_packets_sent: "0" + multicast_packets_received: "74606257" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "63270503" + multicast_bytes_sent: "0" + multicast_bytes_received: "6893838000" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "6327050300" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Vlan100" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.16.100.69" + primary_ip_subnet: "172.16.100.0/25" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: + - "172.16.69.209" + secondary_ip_subnet: + - "172.16.69.192/26" + multicast_groups: "224.0.0.100" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "363766868" + unicast_packets_received: "434448766" + unicast_packets_forwarded: "1840111" + unicast_packets_originated: "361926757" + unicast_packets_consumed: "435257628" + unicast_bytes_sent: "60618126417" + unicast_bytes_received: "60180339215" + unicast_bytes_forwarded: "197780979" + unicast_bytes_originated: "60420345438" + unicast_bytes_consumed: "60178592743" + multicast_packets_sent: "0" + multicast_packets_received: "89412234" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "60216211" + multicast_bytes_sent: "0" + multicast_bytes_received: "7526994055" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "6021621100" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "loopback10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "10.255.255.4" + primary_ip_subnet: "10.255.255.4/32" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "0" + unicast_packets_received: "0" + unicast_packets_forwarded: "0" + unicast_packets_originated: "0" + unicast_packets_consumed: "13367169" + unicast_bytes_sent: "0" + unicast_bytes_received: "0" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "0" + unicast_bytes_consumed: "3595682011" + multicast_packets_sent: "7398420" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "7398420" + multicast_packets_consumed: "0" + multicast_bytes_sent: "344137656" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "344137656" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "port-channel10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.14" + primary_ip_subnet: "172.20.200.12/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.22 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "1756" + unicast_packets_received: "605867934" + unicast_packets_forwarded: "0" + unicast_packets_originated: "1756" + unicast_packets_consumed: "611444114" + unicast_bytes_sent: "102167" + unicast_bytes_received: "33930088347" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "102167" + unicast_bytes_consumed: "35555680505" + multicast_packets_sent: "72332825" + multicast_packets_received: "171053548" + multicast_packets_forwarded: "0" + multicast_packets_originated: "72332825" + multicast_packets_consumed: "171053548" + multicast_bytes_sent: "4984881481" + multicast_bytes_received: "8466822983" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "4984881481" + multicast_bytes_consumed: "8275579923" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Ethernet1/1" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.30" + primary_ip_subnet: "172.20.200.28/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "401266" + unicast_packets_received: "4198994" + unicast_packets_forwarded: "3316" + unicast_packets_originated: "397950" + unicast_packets_consumed: "3943939" + unicast_bytes_sent: "27457805" + unicast_bytes_received: "1414570071" + unicast_bytes_forwarded: "831793" + unicast_bytes_originated: "26626012" + unicast_bytes_consumed: "1462629148" + multicast_packets_sent: "48587852" + multicast_packets_received: "50519381" + multicast_packets_forwarded: "0" + multicast_packets_originated: "48587852" + multicast_packets_consumed: "50519381" + multicast_bytes_sent: "5099368774" + multicast_bytes_received: "4444320435" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "5099368774" + multicast_bytes_consumed: "4424267143" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Ethernet1/2" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.46" + primary_ip_subnet: "172.20.200.44/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.20 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "113285373" + unicast_packets_received: "23742404" + unicast_packets_forwarded: "556" + unicast_packets_originated: "113284817" + unicast_packets_consumed: "5044435" + unicast_bytes_sent: "50997929593" + unicast_bytes_received: "7277400421" + unicast_bytes_forwarded: "176910" + unicast_bytes_originated: "50997752683" + unicast_bytes_consumed: "1994162729" + multicast_packets_sent: "54591467" + multicast_packets_received: "48609377" + multicast_packets_forwarded: "0" + multicast_packets_originated: "54591467" + multicast_packets_consumed: "48609377" + multicast_bytes_sent: "7951012097" + multicast_bytes_received: "3087773014" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "7951012097" + multicast_bytes_consumed: "3085864982" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "management" + interface: "mgmt0" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "10.46.16.122" + primary_ip_subnet: "10.46.16.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "578811674" + unicast_packets_received: "517277696" + unicast_packets_forwarded: "0" + unicast_packets_originated: "578811674" + unicast_packets_consumed: "517277696" + unicast_bytes_sent: "369383530677" + unicast_bytes_received: "201158028122" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "369383530677" + unicast_bytes_consumed: "201141114223" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "TEST" + interface: "Ethernet2/1" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.1.94" + primary_ip_subnet: "172.20.1.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "169393306" + unicast_packets_received: "169195583" + unicast_packets_forwarded: "0" + unicast_packets_originated: "169393306" + unicast_packets_consumed: "169195583" + unicast_bytes_sent: "13890251052" + unicast_bytes_received: "10828517312" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "13890251052" + unicast_bytes_consumed: "10828517312" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From aa619258bb5f3ffbd091246179d09748353c0558 Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Tue, 23 Jun 2020 15:44:46 +0200 Subject: [PATCH 101/412] New Template: cisco_nxos_show_license_usage.textfsm (#759) --- .../cisco_nxos_show_license_usage.textfsm | 18 +++++ templates/index | 1 + .../cisco_nxos_show_license_usage.raw | 16 +++++ .../cisco_nxos_show_license_usage.yml | 68 +++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 templates/cisco_nxos_show_license_usage.textfsm create mode 100644 tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw create mode 100644 tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml diff --git a/templates/cisco_nxos_show_license_usage.textfsm b/templates/cisco_nxos_show_license_usage.textfsm new file mode 100644 index 0000000000..5507da711a --- /dev/null +++ b/templates/cisco_nxos_show_license_usage.textfsm @@ -0,0 +1,18 @@ +Value FEATURE (\S+) +Value INSTALLED (Yes|No) +Value LICENSE_COUNT (\d+|-) +Value STATUS (Unused|In\s+use) +Value EXPIRY_DATE (\S+|\s*?) +Value COMMENTS (.+) + +Start + ^Feature\s+Ins\s+Lic\s+Status\s+Expiry\s+Date\s+Comments -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^\s+Count + ^${FEATURE}\s+${INSTALLED}\s+${LICENSE_COUNT}\s+${STATUS}\s+?${EXPIRY_DATE}\s+${COMMENTS}\s*$$ -> Record + ^-+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index bd7c0d934e..3a309e642b 100644 --- a/templates/index +++ b/templates/index @@ -263,6 +263,7 @@ cisco_nxos_show_ip_bgp_summary.textfsm, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[u cisco_nxos_show_lldp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] cisco_nxos_show_cdp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] cd[[p]] neig[[hbors]] cisco_nxos_show_ip_arp_detail.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] +cisco_nxos_show_license_usage.textfsm, .*, cisco_nxos, sh[[ow]] lic[[ense]] us[[age]] cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] diff --git a/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw new file mode 100644 index 0000000000..8a3f6cfb17 --- /dev/null +++ b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw @@ -0,0 +1,16 @@ + +Feature Ins Lic Status Expiry Date Comments + Count +-------------------------------------------------------------------------------- +MPLS_PKG No - Unused Grace 10D 1H +STORAGE-ENT No - Unused Grace 20D 6H +VDC_LICENSES No 0 Unused - +ENTERPRISE_PKG No - Unused - +FCOE-N7K-F132XP No 0 Unused - +FCOE-N7K-F248XP No 0 Unused - +ENHANCED_LAYER2_PKG No - Unused Grace 20D 6H +SCALABLE_SERVICES_PKG No - Unused - +TRANSPORT_SERVICES_PKG Yes - Unused Never - +LAN_ADVANCED_SERVICES_PKG Yes - Unused Never - +LAN_ENTERPRISE_SERVICES_PKG Yes - In use Never - +-------------------------------------------------------------------------------- diff --git a/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml new file mode 100644 index 0000000000..110c7b6a70 --- /dev/null +++ b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - feature: "MPLS_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 10D 1H" + - feature: "STORAGE-ENT" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 20D 6H" + - feature: "VDC_LICENSES" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "ENTERPRISE_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "FCOE-N7K-F132XP" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "FCOE-N7K-F248XP" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "ENHANCED_LAYER2_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 20D 6H" + - feature: "SCALABLE_SERVICES_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "TRANSPORT_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "Unused" + expiry_date: "Never" + comments: "-" + - feature: "LAN_ADVANCED_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "Unused" + expiry_date: "Never" + comments: "-" + - feature: "LAN_ENTERPRISE_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "In use" + expiry_date: "Never" + comments: "-" From ac71d048337870c18a2ca1c0ffc084e656d16b8b Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Tue, 23 Jun 2020 15:45:28 +0200 Subject: [PATCH 102/412] New Template: cisco_nxos_show_hsrp_all.textfsm (#760) --- templates/cisco_nxos_show_hsrp_all.textfsm | 55 +++ templates/index | 1 + .../cisco_nxos_show_hsrp_all.raw | 184 +++++++++ .../cisco_nxos_show_hsrp_all.yml | 353 ++++++++++++++++++ 4 files changed, 593 insertions(+) create mode 100644 templates/cisco_nxos_show_hsrp_all.textfsm create mode 100644 tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw create mode 100644 tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml diff --git a/templates/cisco_nxos_show_hsrp_all.textfsm b/templates/cisco_nxos_show_hsrp_all.textfsm new file mode 100644 index 0000000000..a4948fda43 --- /dev/null +++ b/templates/cisco_nxos_show_hsrp_all.textfsm @@ -0,0 +1,55 @@ +# Object names are based on pyATS/Genie parser (boolean values are left out) +Value INTERFACE (\S+) +Value VERSION (\d+) +Value GROUP_NUMBER (\d+) +Value PRIORITY (\d+) +Value HSRP_ROUTER_STATE (\S+) +Value CONFIGURED_PRIORITY (\d+) +Value PREEMPT (.*) +Value LOWER_FWD_TRESHOLD (\d+) +Value UPPER_FWD_TRESHOLD (\d+) +# Value TIMERS_HELLO_MSEC_FLAG +# Value TIMERS_HOLD_MSEC_FLAG +Value TIMERS_HELLO_SEC (\d+) +Value TIMERS_HOLD_SEC (\d+) +Value PRIMARY_IPV4_ADDRESS (\S+) +# Value VIRTUAL_IP_LEARN +Value SECONDARY_IPV4_ADDRESS (\S+) +Value ACTIVE_ROUTER (\S+) +Value ACTIVE_EXPIRE (\d+\.\d+) +Value ACTIVE_IP_ADDRESS (\S+) +Value ACTIVE_PRIORITY (\d+) +Value STANDBY_ROUTER (\S+) +Value STANDBY_EXPIRE (\d+\.\d+) +Value STANDBY_IP_ADDRESS (\S+) +Value STANDBY_PRIORITY (\d+) +Value AUTHENTICATION (\S+) +Value VIRTUAL_MAC_ADDRESS (\S+) +Value VIRTUAL_MAC_ADDRESS_STATUS (.*) +Value NUM_STATE_CHANGES (\d+) +Value LAST_STATE_CHANGE (\S+) +Value SESSION_NAME (\S+) + +Start + ^${INTERFACE}\s+-\s+Group\s${GROUP_NUMBER}\s+\(HSRP-V${VERSION}\)\s\(IPv[46]\)\s*$$ + ^\s+Local\s+state\s+is\s+${HSRP_ROUTER_STATE},\s+priority\s+${PRIORITY}\s+\(Cfged\s+${CONFIGURED_PRIORITY}\),\s+${PREEMPT}\s*$$ + ^\s+.*lower:\s+${LOWER_FWD_TRESHOLD}\s+upper:\s+${UPPER_FWD_TRESHOLD}\s*$$ + ^\s+Preemption\s+Delay.*$$ + ^\s+Hellotime\s+${TIMERS_HELLO_SEC}.*holdtime\s+${TIMERS_HOLD_SEC}.*$$ + ^\s+Next\s+hello\s+sent.*$$ + ^\s+Virtual\s+IP\s+address\s+is\s+${PRIMARY_IPV4_ADDRESS}\s+.*$$ + ^\s+Secondary\s+Virtual\s+IP\s+address\s+is\s+${SECONDARY_IPV4_ADDRESS}\s*$$ + ^\s+Active\s+router\s+is\s+${ACTIVE_ROUTER}\s*$$ + ^\s+Active\s+router\s+is\s+${ACTIVE_IP_ADDRESS}\s?,\s+priority\s+${ACTIVE_PRIORITY}\s+expires\s+in\s+${ACTIVE_EXPIRE}.*$$ + ^\s+Standby\s+router\s+is\s+${STANDBY_ROUTER}\s*$$ + ^\s+Standby\s+router\s+is\s+${STANDBY_IP_ADDRESS}\s?,\s+priority\s+${STANDBY_PRIORITY}\s+expires\s+in\s+${STANDBY_EXPIRE}.*$$ + ^\s+Authentication\s+${AUTHENTICATION},.*$$ + ^\s+Virtual\s+mac\s+address\s+is\s+${VIRTUAL_MAC_ADDRESS} \(${VIRTUAL_MAC_ADDRESS_STATUS}\)\s*$$ + ^\s+${NUM_STATE_CHANGES}\s+state\s+changes,\s+last\s+state\s+change\s+${LAST_STATE_CHANGE}\s*$$ + ^\s+IP\s+redundancy\s+name\s+is\s+${SESSION_NAME}\s.*$$ + ^\s+Secondary VIP.*$$ + # Catch secondary VIPs: + ^\s+\d+\.\d+\.\d+\.\d+$$ + # Record data when empty line is found + ^\s*$$ -> Record + ^. -> Error diff --git a/templates/index b/templates/index index 3a309e642b..3fbd516504 100644 --- a/templates/index +++ b/templates/index @@ -274,6 +274,7 @@ cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] cisco_nxos_show_hostname.textfsm, .*, cisco_nxos, sh[[ow]] hostn[[ame]] +cisco_nxos_show_hsrp_all.textfsm, .*, cisco_nxos, sh[[ow]] hsrp all cisco_nxos_show_ip_route.textfsm, .*, cisco_nxos, sh[[ow]] ip route cisco_nxos_show_feature.textfsm, .*, cisco_nxos, sh[[ow]] feat[[ure]] cisco_nxos_show_version.textfsm, .*, cisco_nxos, sh[[ow]] ver[[sion]] diff --git a/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw new file mode 100644 index 0000000000..1721fd9651 --- /dev/null +++ b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw @@ -0,0 +1,184 @@ +Vlan100 - Group 100 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 3 sec, holdtime 10 sec + Next hello sent in 2.676000 sec(s) + Virtual IP address is 192.168.100.1 (Cfged) + Secondary Virtual IP address is 192.168.100.193 + Active router is local + Standby router is 192.168.100.69 , priority 200 expires in 10.174000 sec(s) + Authentication MD5, key-string "dr-hsrp" + Virtual mac address is 0000.0c9f.f384 (Default MAC) + 2 state changes, last state change 1y27w + IP redundancy name is hsrp-Vlan100-100 (default) + Secondary VIP(s): + 192.168.100.193 + +Vlan200 - Group 200 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.448000 sec(s) + Virtual IP address is 172.11.4.254 (Cfged) + Active router is local + Standby router is 172.11.4.253 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fd48 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan200-200 (default) + +Vlan201 - Group 201 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.484000 sec(s) + Virtual IP address is 172.11.5.30 (Cfged) + Active router is local + Standby router is 172.11.5.29 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fd49 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan201-201 (default) + +Vlan210 - Group 210 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.420000 sec(s) + Virtual IP address is 172.12.9.254 (Cfged) + Active router is local + Standby router is 172.12.9.253 , priority 200 expires in 2.873000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fdb6 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan210-210 (default) + +Vlan211 - Group 211 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.695000 sec(s) + Virtual IP address is 172.12.10.62 (Cfged) + Active router is local + Standby router is 172.12.10.61 , priority 200 expires in 2.873000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fdb7 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan211-211 (default) + +Vlan220 - Group 220 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.484000 sec(s) + Virtual IP address is 172.13.12.254 (Cfged) + Active router is local + Standby router is 172.13.12.253 , priority 200 expires in 2.281000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fe24 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan220-220 (default) + +Vlan221 - Group 221 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.614000 sec(s) + Virtual IP address is 172.13.13.30 (Cfged) + Active router is local + Standby router is 172.13.13.29 , priority 200 expires in 2.281000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fe25 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan221-221 (default) + +Vlan300 - Group 300 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.448000 sec(s) + Virtual IP address is 172.16.0.254 (Cfged) + Active router is local + Standby router is 172.16.0.253 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "dr-hsrp" + Virtual mac address is 0000.0c9f.fed8 (Default MAC) + 14 state changes, last state change 1y2w + IP redundancy name is hsrp-Vlan300-300 (default) + +Vlan416 - Group 416 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.231000 sec(s) + Virtual IP address is 172.17.1.1 (Cfged) + Active router is 172.17.1.2, priority 150 expires in 0.661000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4c (Default MAC) + 105 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan416-416 (default) + +Vlan417 - Group 417 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.610000 sec(s) + Virtual IP address is 172.17.1.17 (Cfged) + Active router is 172.17.1.18, priority 150 expires in 1.531000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4d (Default MAC) + 418 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan417-417 (default) + +Vlan418 - Group 418 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.422000 sec(s) + Virtual IP address is 172.17.1.33 (Cfged) + Active router is 172.17.1.2, priority 150 expires in 0.081000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4e (Default MAC) + 102 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan418-418 (default) + +Vlan419 - Group 419 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.886000 sec(s) + Virtual IP address is 172.17.1.49 (Cfged) + Active router is 172.17.1.50, priority 150 expires in 2.281000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4f (Default MAC) + 448 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan419-419 (default) + +Vlan420 - Group 420 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.301000 sec(s) + Virtual IP address is 172.17.1.65 (Cfged) + Active router is 172.17.1.66, priority 150 expires in 0.081000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff50 (Default MAC) + 103 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan420-420 (default) diff --git a/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml new file mode 100644 index 0000000000..843ad3d81f --- /dev/null +++ b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml @@ -0,0 +1,353 @@ +--- +parsed_sample: + - interface: "Vlan100" + version: "2" + group_number: "100" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "3" + timers_hold_sec: "10" + primary_ipv4_address: "192.168.100.1" + secondary_ipv4_address: "192.168.100.193" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "10.174000" + standby_ip_address: "192.168.100.69" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.f384" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y27w" + session_name: "hsrp-Vlan100-100" + - interface: "Vlan200" + version: "2" + group_number: "200" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.11.4.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.11.4.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fd48" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan200-200" + - interface: "Vlan201" + version: "2" + group_number: "201" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.11.5.30" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.11.5.29" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fd49" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan201-201" + - interface: "Vlan210" + version: "2" + group_number: "210" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.12.9.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.873000" + standby_ip_address: "172.12.9.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fdb6" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan210-210" + - interface: "Vlan211" + version: "2" + group_number: "211" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.12.10.62" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.873000" + standby_ip_address: "172.12.10.61" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fdb7" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan211-211" + - interface: "Vlan220" + version: "2" + group_number: "220" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.13.12.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.281000" + standby_ip_address: "172.13.12.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fe24" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan220-220" + - interface: "Vlan221" + version: "2" + group_number: "221" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.13.13.30" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.281000" + standby_ip_address: "172.13.13.29" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fe25" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan221-221" + - interface: "Vlan300" + version: "2" + group_number: "300" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.16.0.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.16.0.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fed8" + virtual_mac_address_status: "Default MAC" + num_state_changes: "14" + last_state_change: "1y2w" + session_name: "hsrp-Vlan300-300" + - interface: "Vlan416" + version: "2" + group_number: "416" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.1" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.661000" + active_ip_address: "172.17.1.2" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4c" + virtual_mac_address_status: "Default MAC" + num_state_changes: "105" + last_state_change: "21w5d" + session_name: "hsrp-Vlan416-416" + - interface: "Vlan417" + version: "2" + group_number: "417" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.17" + secondary_ipv4_address: "" + active_router: "" + active_expire: "1.531000" + active_ip_address: "172.17.1.18" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4d" + virtual_mac_address_status: "Default MAC" + num_state_changes: "418" + last_state_change: "21w5d" + session_name: "hsrp-Vlan417-417" + - interface: "Vlan418" + version: "2" + group_number: "418" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.33" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.081000" + active_ip_address: "172.17.1.2" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4e" + virtual_mac_address_status: "Default MAC" + num_state_changes: "102" + last_state_change: "21w5d" + session_name: "hsrp-Vlan418-418" + - interface: "Vlan419" + version: "2" + group_number: "419" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.49" + secondary_ipv4_address: "" + active_router: "" + active_expire: "2.281000" + active_ip_address: "172.17.1.50" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4f" + virtual_mac_address_status: "Default MAC" + num_state_changes: "448" + last_state_change: "21w5d" + session_name: "hsrp-Vlan419-419" + - interface: "Vlan420" + version: "2" + group_number: "420" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.65" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.081000" + active_ip_address: "172.17.1.66" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff50" + virtual_mac_address_status: "Default MAC" + num_state_changes: "103" + last_state_change: "21w5d" + session_name: "hsrp-Vlan420-420" From f255ce19d836cacaaf538468a60895fc85acf115 Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Sun, 28 Jun 2020 21:15:37 -0400 Subject: [PATCH 103/412] Bugfix: Account for capitalization - Total [M|m]ac - arista_eos_show_mac_address-table (#765) --- templates/arista_eos_show_mac_address-table.textfsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/templates/arista_eos_show_mac_address-table.textfsm index 8ede40a789..7b47aac9c4 100644 --- a/templates/arista_eos_show_mac_address-table.textfsm +++ b/templates/arista_eos_show_mac_address-table.textfsm @@ -19,7 +19,7 @@ MAT # capture the mac address table ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s*$$ -> Record ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s+${MOVES}\s+${LAST_MOVE}\sago$$ -> Record - ^\s*Total\s+mac -> Start + ^\s*Total\s+[M|m]ac -> Start ^\s*-+\s+.*-*$$ ^\s*$$ ^. -> Error @@ -35,6 +35,6 @@ MMAT ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){2}${DESTINATION_PORT}\s* -> Continue ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){3}${DESTINATION_PORT}\s* -> Continue ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){4}${DESTINATION_PORT}$$ -> Continue - ^\s*Total\s+mac -> Start + ^\s*Total\s+[M|m]ac -> Start ^\s*-+\s+.*-*$$ ^\s*$$ \ No newline at end of file From 6c663612088998434a231732ab1cc9d3758948df Mon Sep 17 00:00:00 2001 From: Marcus Butler <33135168+mtbutler07@users.noreply.github.com> Date: Fri, 3 Jul 2020 06:03:33 -0500 Subject: [PATCH 104/412] Bugfix: Account for powered-dn - nxos_show_module --- templates/cisco_nxos_show_module.textfsm | 3 +- .../show_module/cisco_nxos_show_module1.raw | 41 +++++++++++++++++++ .../show_module/cisco_nxos_show_module1.yml | 27 ++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw create mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml diff --git a/templates/cisco_nxos_show_module.textfsm b/templates/cisco_nxos_show_module.textfsm index fe464cbc34..677b240794 100644 --- a/templates/cisco_nxos_show_module.textfsm +++ b/templates/cisco_nxos_show_module.textfsm @@ -2,11 +2,12 @@ Value MODULE (\d+) Value PORTS (\d+) Value TYPE (\S+(\s+\S+)+) Value MODEL (\S+) -Value STATUS (ok|active \*|ha-standby|powered-dn) +Value STATUS (ok|active \*|ha-standby|powered-dn|powered-up) Start ^Xbar\s+Ports\s+Module-Type\s+Model\s+Status -> Fail ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${MODEL}\s+${STATUS} -> Record + ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${STATUS} -> Record Fail ^.* -> NoRecord diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw new file mode 100644 index 0000000000..477a307f82 --- /dev/null +++ b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw @@ -0,0 +1,41 @@ +Mod Ports Module-Type Model Status +--- ----- -------------------------------- ------------------ ------------ +1 48 1000 Mbps Optical Ethernet Modul N7K-M148GS-11 ok +3 0 Supervisor Module-2 powered-up +4 0 Supervisor Module-2 N7K-SUP1 powered-dn +5 0 Supervisor Module-2 N7K-SUP1 active * +6 0 Supervisor Module-2 N7K-SUP1 ha-standby + + +Mod Power-Status Reason +--- ------------ --------------------------- +4 powered-dn Configured Power down + +Mod Sw Hw +--- -------------- ------ +3 4.1(3) 0.202 +4 4.1(3) 0.805 + +Mod MAC-Address(es) Serial-Num +--- -------------------------------------- ---------- +3 00-1b-54-c2-ed-d0 to 00-1b-54-c2-ee-04 JAF1219AGFE +4 00-1b-54-c0-ff-10 to 00-1b-54-c0-ff-18 JAB114000BV + +Mod Online Diag Status +--- ------------------ +3 Pass +4 Pass + +Xbar Ports Module-Type Model Status +--- ----- -------------------------------- ------------------ ------------ +1 0 Fabric Module 1 N7K-C7018-FAB-1 ok + +Xbar Sw Hw +--- -------------- ------ +1 NA 0.101 + +Xbar MAC-Address(es) Serial-Num +--- -------------------------------------- ---------- +1 NA JAF1225AGHJ + +* this terminal session diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml new file mode 100644 index 0000000000..2abf48f118 --- /dev/null +++ b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - module: "1" + ports: "48" + type: "1000 Mbps Optical Ethernet Modul" + model: "N7K-M148GS-11" + status: "ok" + - module: "3" + ports: "0" + type: "Supervisor Module-2" + model: "" + status: "powered-up" + - module: "4" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "powered-dn" + - module: "5" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "active *" + - module: "6" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "ha-standby" From 4089329e1c45238ecbf7bc33b1f07d0d1694e72b Mon Sep 17 00:00:00 2001 From: rtkennedy Date: Fri, 3 Jul 2020 05:06:55 -0600 Subject: [PATCH 105/412] Bugfix: Dual line support - cisco_nxos_show_ip_bgp_summary (#772) Co-authored-by: Robert Kennedy --- templates/cisco_nxos_show_ip_bgp_summary.textfsm | 2 ++ .../cisco_nxos_show_ip_bgp_summary.raw | 2 ++ .../cisco_nxos_show_ip_bgp_summary.yml | 11 +++++++++++ 3 files changed, 15 insertions(+) diff --git a/templates/cisco_nxos_show_ip_bgp_summary.textfsm b/templates/cisco_nxos_show_ip_bgp_summary.textfsm index e32e9ce4da..b5873c3139 100644 --- a/templates/cisco_nxos_show_ip_bgp_summary.textfsm +++ b/templates/cisco_nxos_show_ip_bgp_summary.textfsm @@ -15,6 +15,8 @@ Start ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS} ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS} + ^\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record ^BGP\s+table\s+version ^\d+\s+network\s+entries ^BGP attribute entries diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw index 94729aad66..1968fd7b51 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw @@ -17,3 +17,5 @@ Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.8 4 65007 12250936 9181571 512185203 0 0 1y10w 82 10.0.0.9 4 65008 222146 14368489 512185203 0 0 22w0d 0 10.0.0.10 4 65009 26930508 942614 512185203 0 0 1y10w Idle (Admin) +10.0.0.11 4 65010 + 2655204 14931352 512185206 0 0 1w5d 4452 diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml index f7933948fb..f522cb7bac 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml @@ -132,3 +132,14 @@ parsed_sample: out_queue: "0" up_down: "1y10w" state_pfxrcd: "Idle (Admin)" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.11" + neigh_as: "65010" + msg_rcvd: "2655204" + msg_sent: "14931352" + in_queue: "0" + out_queue: "0" + up_down: "1w5d" + state_pfxrcd: "4452" From 7e8b7927532cad82885327ff745d211d914501f5 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Mon, 20 Jul 2020 07:21:42 -0500 Subject: [PATCH 106/412] Bugfix: IOS show version - Remove requirement for numerics in hardware (#781) --- templates/cisco_ios_show_version.textfsm | 12 +++--- .../show_version/cisco_ios_show_version3.raw | 43 +++++++++++++++++++ .../show_version/cisco_ios_show_version3.yml | 14 ++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version3.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version3.yml diff --git a/templates/cisco_ios_show_version.textfsm b/templates/cisco_ios_show_version.textfsm index 19129e6d7b..5ea3b0a4be 100644 --- a/templates/cisco_ios_show_version.textfsm +++ b/templates/cisco_ios_show_version.textfsm @@ -4,29 +4,29 @@ Value HOSTNAME (\S+) Value UPTIME (.+) Value RELOAD_REASON (.+?) Value RUNNING_IMAGE (\S+) -Value List HARDWARE (\S+\d\S+) +Value List HARDWARE (\S+|\S+\d\S+) Value List SERIAL (\S+) Value CONFIG_REGISTER (\S+) Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* - ^ROM: ${ROMMON} + ^ROM:\s+${ROMMON} ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} ^[sS]ystem\s+image\s+file\s+is\s+"(.*?):${RUNNING_IMAGE}" ^(?:[lL]ast\s+reload\s+reason:|System\s+returned\s+to\s+ROM\s+by)\s+${RELOAD_REASON}\s*$$ ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} - ^[Cc]isco\s+${HARDWARE}.+ + ^[Cc]isco\s+${HARDWARE}\s+\(.+\).+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} - ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} - ^Switch Port -> Stack + ^Base\s+[Ee]thernet\s+MAC\s+[Aa]ddress\s+:\s+${MAC} + ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is Stack - ^[Ss]ystem [Ss]erial [Nn]umber\s+:\s+${SERIAL} + ^[Ss]ystem\s+[Ss]erial\s+[Nn]umber\s+:\s+${SERIAL} ^[Mm]odel\s+[Nn]umber\s+:\s+${HARDWARE}\s* ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.raw b/tests/cisco_ios/show_version/cisco_ios_show_version3.raw new file mode 100644 index 0000000000..5001c597a5 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.raw @@ -0,0 +1,43 @@ +Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Version 15.8(3)M2, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Thu 28-Mar-19 14:06 by prod_rel_team + + +ROM: Bootstrap program is IOSv + +rtr-01 uptime is 1 week, 3 days, 16 hours, 11 minutes +System returned to ROM by reload +System image file is "flash0:/vios-adventerprisek9-m" +Last reload reason: Unknown reason + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +Cisco IOSv (revision 1.0) with with 460137K/62464K bytes of memory. +Processor board ID 991UCMIHG4UAJ1J010CQG +4 Gigabit Ethernet interfaces +DRAM configuration is 72 bits wide with parity disabled. +256K bytes of non-volatile configuration memory. +2097152K bytes of ATA System CompactFlash 0 (Read/Write) +0K bytes of ATA CompactFlash 1 (Read/Write) +11217K bytes of ATA CompactFlash 2 (Read/Write) +0K bytes of ATA CompactFlash 3 (Read/Write) + + + +Configuration register is 0x0 \ No newline at end of file diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml new file mode 100644 index 0000000000..1510b62ace --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - version: "15.8(3)M2" + rommon: "Bootstrap" + hostname: "rtr-01" + uptime: "1 week, 3 days, 16 hours, 11 minutes" + reload_reason: "Unknown reason" + running_image: "/vios-adventerprisek9-m" + hardware: + - "IOSv" + serial: + - "991UCMIHG4UAJ1J010CQG" + config_register: "0x0" + mac: [] From 23dc85b386cf15a44cce7c182c99231370a07ba7 Mon Sep 17 00:00:00 2001 From: Ryan Erickson Date: Wed, 2 Sep 2020 20:37:47 -0700 Subject: [PATCH 107/412] Documentation: Fix typos in README.md (#792) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 912e2540c4..777595455e 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ happen. That includes updating the index file appropriately and adding proper ra _Why don't you grab all of the data in the template?_ There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from -other commands. This is actually an area where the project choose to be loose, as we do not want to over-burden the contributor. If you feel +other commands. This is actually an area where the project chose to be loose, as we do not want to over-burden the contributor. If you feel that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by the maintainers of the this project. @@ -404,7 +404,7 @@ The most likely reasons are: * Did not provide the data required to act upon the request. * A prolonged time with no response. -_What is meant that the is a parsing project, not a data modeling project?_ +_What is meant that this is a parsing project, not a data modeling project?_ The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is @@ -422,4 +422,4 @@ to take in qualified Pull Requests to have the feature, but have no intention of _Can you provide general guidance?_ -This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. \ No newline at end of file +This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. From 191372b6ac3e208667d2a9cafc664ff6aaa7a475 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 3 Sep 2020 05:15:25 +0100 Subject: [PATCH 108/412] Enhancement: Cisco NXOS - Added Hostname Value (#789) --- templates/cisco_nxos_show_version.textfsm | 2 ++ tests/cisco_nxos/show_version/cisco_nxos_show_version.yml | 5 +++-- tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml | 5 +++-- tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/cisco_nxos_show_version.textfsm b/templates/cisco_nxos_show_version.textfsm index 06fb92b559..cb7bf0749c 100755 --- a/templates/cisco_nxos_show_version.textfsm +++ b/templates/cisco_nxos_show_version.textfsm @@ -3,6 +3,7 @@ Value LAST_REBOOT_REASON (.+) Value OS (\d+.\d+(.+)?) Value BOOT_IMAGE (.*) Value PLATFORM (\w+) +Value HOSTNAME (.*) Start ^\s+(NXOS: version|system:\s+version)\s+${OS}\s*$$ @@ -11,6 +12,7 @@ Start ^\s+cisco\s+Nexus\d+\s+${PLATFORM} # Cisco N5K platform ^\s+cisco\s+Nexus\s+${PLATFORM}\s+[cC]hassis + ^\s+Device\s+name:\s+${HOSTNAME}$$ ^\s+cisco\s+.+-${PLATFORM}\s* ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml index b9bda8631e..5b0509266f 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml @@ -1,7 +1,8 @@ --- parsed_sample: - - boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" + - uptime: "123 day(s), 5 hour(s), 15 minute(s), 19 second(s)" last_reboot_reason: "Unknown" os: "6.1(2)I3(1)" + boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" platform: "C9396PX" - uptime: "123 day(s), 5 hour(s), 15 minute(s), 19 second(s)" + hostname: "N9K1" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml index b59d74e895..26ccb1b5d2 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml @@ -1,7 +1,8 @@ --- parsed_sample: - - boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" + - uptime: "11 day(s), 01 hour(s), 57 minute(s), 02 second(s)" last_reboot_reason: "unknown" os: "14.0(1h) [build 14.0(1h)]" + boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" platform: "C9396PX" - uptime: "11 day(s), 01 hour(s), 57 minute(s), 02 second(s)" + hostname: "Leaf-101" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml index 58783670d4..e6e6aa8667 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml @@ -5,3 +5,4 @@ parsed_sample: os: "7.1(4)N1(1)" boot_image: "bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin" platform: "5596" + hostname: "IEDP02-N5K-SW01" From 2c03db166111dd8a937788ccb8b36460b1fbb751 Mon Sep 17 00:00:00 2001 From: Markus Juenemann Date: Thu, 10 Sep 2020 04:14:48 +1000 Subject: [PATCH 109/412] Bugfix: Re-formatted development_scripts.py and tests/test_testcases_exists.py with black-20.b1 (#795) --- development_scripts.py | 10 +++++----- tests/test_testcases_exists.py | 6 ++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/development_scripts.py b/development_scripts.py index 8f2ed60553..c51ba8d880 100755 --- a/development_scripts.py +++ b/development_scripts.py @@ -289,7 +289,7 @@ def transform_file(filepath): Example: >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.yml" >>> transform_parsed(filepath) - >>> + >>> """ with open(filepath, encoding="utf-8") as parsed_file: parsed_object = YAML_OBJECT.load(parsed_file) @@ -315,7 +315,7 @@ def transform_glob(dirpath): >>> dirpath = "tests/*/*" >>> transform_parsed(dirpath) # Each filename is printed to the terminal - >>> + >>> """ # This commented out code was used for mass renaming of files; # it is probably not needed anymore @@ -375,7 +375,7 @@ def parse_test_filepath(filepath): show version >>> print(filename) cisco_ios_show_version - >>> + >>> """ command_dir, filename = os.path.split(filepath) platform_dir, command = os.path.split(command_dir) @@ -412,7 +412,7 @@ def build_parsed_data_from_output(filepath, test_dir=TEST_DIR): >>> build_parsed_data_from_output(filepath) >>> os.listdir(root_dir) ['cisco_ios_show_version.raw', 'cisco_ios_show_version.yml'] - >>> + >>> """ platform, command, filename = parse_test_filepath(filepath) with open(filepath, encoding="utf-8") as output_file: @@ -445,7 +445,7 @@ def build_parsed_data_from_dir(dirpath, test_dir=TEST_DIR): >>> dirpath = "tests/cisco_ios/show_mac-address-table" >>> build_parsed_data_from_dir(dirpath) # Each filename is printed to the terminal - >>> + >>> """ for file in glob.iglob("{0}/*.raw".format(dirpath)): print(file) diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 1bf96e5ff7..589edbe70f 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -11,8 +11,7 @@ def extract_index_data(): - """Used to parametrize and report each test case with the necessary data. - """ + """Used to parametrize and report each test case with the necessary data.""" index = sorted(load_index_data()) mock_directories = [] for row in index: @@ -36,8 +35,7 @@ def extract_index_data(): @pytest.mark.parametrize("mock_directory", extract_index_data()) def test_verify_parsed_and_reference_data_exists(mock_directory): - """Verify that at least one test exists for all entries in the index file. - """ + """Verify that at least one test exists for all entries in the index file.""" cases = f"{mock_directory}/*.raw" test_list = glob.glob(cases) assert len(test_list) != 0, f"Could not find tests for {mock_directory}.textfsm" From dcd233d75bcda4422e201344ac4b998a79157b8b Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Tue, 15 Sep 2020 10:49:24 -0700 Subject: [PATCH 110/412] Change TextFSM Windows failure to a runtime failure (instead of an import failure) (#803) --- lib/ntc_templates/parse.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 33e1466a5b..624a6cf179 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -1,6 +1,14 @@ """ntc_templates.parse.""" import os -from textfsm import clitable + +# Due to TextFSM library issues on Windows, it is better to not fail on import +# Instead fail at runtime (i.e. if method is actually used). +try: + from textfsm import clitable + + HAS_CLITABLE = True +except ImportError: + HAS_CLITABLE = False def _get_template_dir(): @@ -27,6 +35,18 @@ def _clitable_to_dict(cli_table): def parse_output(platform=None, command=None, data=None): """Return the structured data based on the output from a network device.""" + + if not HAS_CLITABLE: + msg = """ +The TextFSM library is not currently supported on Windows. If you are NOT using Windows +you should be able to 'pip install textfsm' to fix this issue. If you are using Windows +then you will need to install the patch referenced here: + +https://github.com/google/textfsm/pull/82 + +""" + raise ImportError(msg) + template_dir = _get_template_dir() cli_table = clitable.CliTable("index", template_dir) From bfdd695fc5da55db64b054fa15172e690c7aa927 Mon Sep 17 00:00:00 2001 From: Adam Byczkowski <38091261+qduk@users.noreply.github.com> Date: Sun, 27 Sep 2020 17:54:47 -0500 Subject: [PATCH 111/412] New Template: juniper_junos_show_lldp_neighbors (#797) --- development_scripts.py | 0 templates/index | 1 + templates/juniper_junos_show_lldp_neighbors.textfsm | 11 +++++++++++ .../juniper_junos_show_lldp_neighbors.raw | 3 +++ .../juniper_junos_show_lldp_neighbors.yml | 12 ++++++++++++ 5 files changed, 27 insertions(+) mode change 100755 => 100644 development_scripts.py create mode 100644 templates/juniper_junos_show_lldp_neighbors.textfsm create mode 100644 tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw create mode 100644 tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml diff --git a/development_scripts.py b/development_scripts.py old mode 100755 new mode 100644 diff --git a/templates/index b/templates/index index 3fbd516504..e8d0038387 100644 --- a/templates/index +++ b/templates/index @@ -394,6 +394,7 @@ juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[ass juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] +juniper_junos_show_lldp_neighbors.textfsm, .*, juniper_junos, sh[[ow]] ll[[dp]] n[[eighbors]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] diff --git a/templates/juniper_junos_show_lldp_neighbors.textfsm b/templates/juniper_junos_show_lldp_neighbors.textfsm new file mode 100644 index 0000000000..4a1e32d48b --- /dev/null +++ b/templates/juniper_junos_show_lldp_neighbors.textfsm @@ -0,0 +1,11 @@ +Value Required LOCAL_INTERFACE (\S+) +Value Required PARENT_INTERFACE (\S+) +Value Required CHASSIS_ID (\S+) +Value Required PORT_INFO (\S+) +Value Required SYSTEM_NAME (\S+) + +Start + ^Local\s+Interface\s+Parent\s+Interface\s+Chassis\s+Id\s+Port\s+info\s+System\s+Name + ^${LOCAL_INTERFACE}\s*${PARENT_INTERFACE}\s+${CHASSIS_ID}\s+${PORT_INFO}\s+${SYSTEM_NAME} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw new file mode 100644 index 0000000000..be28d59c2e --- /dev/null +++ b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw @@ -0,0 +1,3 @@ +Local Interface Parent Interface Chassis Id Port info System Name +ge-0/0/1 - 2c:6b:f5:a1:c2:c0 ge-0/0/1 vmx2 +ge-0/0/0 - 2c:6b:f5:a2:08:c0 ge-0/0/0 vmx3 \ No newline at end of file diff --git a/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml new file mode 100644 index 0000000000..e5a1ce9b16 --- /dev/null +++ b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - local_interface: "ge-0/0/1" + parent_interface: "-" + chassis_id: "2c:6b:f5:a1:c2:c0" + port_info: "ge-0/0/1" + system_name: "vmx2" + - local_interface: "ge-0/0/0" + parent_interface: "-" + chassis_id: "2c:6b:f5:a2:08:c0" + port_info: "ge-0/0/0" + system_name: "vmx3" From 9418b50bb7fe68f30e63bd0206a781b0fcd49183 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 2 Oct 2020 14:35:38 -0400 Subject: [PATCH 112/412] change tests to use local import (#806) --- tests/test_structured_data_against_parsed_reference_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index d618cec6fd..e2e4451b75 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -6,7 +6,7 @@ import pytest import yaml -from ntc_templates.parse import parse_output +from lib.ntc_templates.parse import parse_output def return_test_files(): From 0bc96a4c3f76946d03db712abd4d75be9d1b8ae3 Mon Sep 17 00:00:00 2001 From: yshu95 <33629257+yshu95@users.noreply.github.com> Date: Sat, 3 Oct 2020 03:37:29 +0900 Subject: [PATCH 113/412] BugFix: NXOS - Update based on additional mock data (#804) --- templates/cisco_nxos_show_inventory.textfsm | 3 +- .../cisco_nxos_show_inventory1.raw | 41 +++++++++++ .../cisco_nxos_show_inventory1.yml | 72 +++++++++++++++++++ 3 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml diff --git a/templates/cisco_nxos_show_inventory.textfsm b/templates/cisco_nxos_show_inventory.textfsm index b3d315634b..e36f449f44 100644 --- a/templates/cisco_nxos_show_inventory.textfsm +++ b/templates/cisco_nxos_show_inventory.textfsm @@ -1,11 +1,12 @@ Value NAME (.*) Value DESCR (.*) Value PID ([^,]\S+) -Value VID (V\d+) +Value VID ([\d+\w-]+) Value SN ([\d+\w+/]+) Start ^NAME:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" + ^NAME:\s+${NAME},\s+DESCR:\s+${DESCR} ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN:\s+${SN} -> Record ^PID:\s+,.*VID:\s+${VID}.*SN: -> Record ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN: -> Record diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw new file mode 100644 index 0000000000..b440abc872 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw @@ -0,0 +1,41 @@ +NAME: "Chassis", DESCR: "Nexus9000 C9396PX Chassis" +PID: N9K-C9396PX , VID: V02 , SN: SAL1819S6LU + +NAME: "Slot 1", DESCR: "1/10G SFP+ Ethernet Module" +PID: N9K-C9396PX , VID: V02 , SN: SAL1819S6LU + +NAME: "Slot 2", DESCR: "40G Ethernet Expansion Module" +PID: N9K-M12PQ , VID: V01 , SN: SAL1815QCJE + +NAME: "Power Supply 1", DESCR: "Nexus9000 C9396PX Chassis Power Supply" +PID: N9K-PAC-650W , VID: V01 , SN: DCB1809X07E + +NAME: "Power Supply 2", DESCR: "Nexus9000 C9396PX Chassis Power Supply" +PID: N9K-PAC-650W , VID: V01 , SN: DCB1809X07H + +NAME: "Fan 1", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Fan 2", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Fan 3", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Slot 33", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" +PID: N7K-AC-6.0KW, VID: V01, SN: DTM141600XT + +NAME: "Slot 34", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" +PID: N7K-AC-6.0KW, VID: V01, SN: DTM1414007T + +NAME: "Slot 35", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" +PID: N7K-C7009-FAN, VID: V00, SN: JAF1433DDEJ + +NAME: Ethernet1/46, DESCR: CISCO-AVAGO +PID: 10Gbase-SR , VID: SFBR-709SMZ-CS1, SN: AVD42309ABD + +NAME: Ethernet1/47, DESCR: CISCO +PID: 1000base-LH , VID: RTXM191-404-C88, SN: ACW315000AD + +NAME: Ethernet1/48, DESCR: CISCO-AVAGO +PID: 10Gbase-LR , VID: SFCT-739SMZ, SN: AVD2219K9AO diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml new file mode 100644 index 0000000000..70867cb260 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "Nexus9000 C9396PX Chassis" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 1" + descr: "1/10G SFP+ Ethernet Module" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 2" + descr: "40G Ethernet Expansion Module" + pid: "N9K-M12PQ" + vid: "V01" + sn: "SAL1815QCJE" + - name: "Power Supply 1" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07E" + - name: "Power Supply 2" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07H" + - name: "Fan 1" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 2" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 3" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Slot 33" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM141600XT" + - name: "Slot 34" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM1414007T" + - name: "Slot 35" + descr: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" + pid: "N7K-C7009-FAN" + vid: "V00" + sn: "JAF1433DDEJ" + - name: "Ethernet1/46" + descr: "CISCO-AVAGO" + pid: "10Gbase-SR" + vid: "SFBR-709SMZ-CS1" + sn: "AVD42309ABD" + - name: "Ethernet1/47" + descr: "CISCO" + pid: "1000base-LH" + vid: "RTXM191-404-C88" + sn: "ACW315000AD" + - name: "Ethernet1/48" + descr: "CISCO-AVAGO" + pid: "10Gbase-LR" + vid: "SFCT-739SMZ" + sn: "AVD2219K9AO" From c973a22d2dcf3114a5e094a108eb7bd3cd93bd27 Mon Sep 17 00:00:00 2001 From: Hideo Yukutake Date: Sat, 3 Oct 2020 05:24:39 +0900 Subject: [PATCH 114/412] BugFix: ASA - show access-list update with additional mock data --- templates/cisco_asa_show_access-list.textfsm | 15 +- .../cisco_asa_show_access-list_update.raw | 78 + .../cisco_asa_show_access-list_update.yml | 4682 +++++++++++++++++ 3 files changed, 4768 insertions(+), 7 deletions(-) create mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw create mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml diff --git a/templates/cisco_asa_show_access-list.textfsm b/templates/cisco_asa_show_access-list.textfsm index 05e95d9cf3..0d577675bd 100644 --- a/templates/cisco_asa_show_access-list.textfsm +++ b/templates/cisco_asa_show_access-list.textfsm @@ -48,9 +48,9 @@ Value ENTRY_DST_NETWORK (\d+\.\d+\.\d+\.\d+) Value ENTRY_DST_MASK (\d+\.\d+\.\d+\.\d+) Value ENTRY_DST_ANY (any[46]{0,1}) Value ENTRY_DST_FQDN_STATE (unresolved) -Value ENTRY_ICMP_TYPE (\S+) -Value ENTRY_ICMP_CODE (\S+) -Value ENTRY_PORT ([a-z\-]+\s+\d+|\w+) +Value ENTRY_ICMP_TYPE (echo-reply|unreachable|echo|time-exceeded) +Value ENTRY_ICMP_CODE (\d+) +Value ENTRY_PORT ([a-z\-]+\s+\d+|[\w\-]+) Value ENTRY_PORT_LESS_THAN ([a-z\-]+\s+\d+|\w+) Value ENTRY_PORT_GREATER_THAN ([a-z\-]+\s+\d+|\w+) Value ENTRY_PORT_RANGE_START ([a-z\-]+\s+\d+|\w+) @@ -62,9 +62,10 @@ Value ENTRY_HASH (0x\w+) Start ^access\-list\s+${ACL_NAME};\s+${ACL_TOT_ELEM}\s+elements;\s+name\s+hash:\s+${ACL_NAME_HASH}\s* -> Record ^access-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+remark\s+${REMARK}\s*$$ -> Record - ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}((log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL})\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record - ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record - ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record + ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}((log\s+(${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}|disable|default))\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record + ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+(${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}|disable|default)\s+){0,1}(inactive){0,1}\s*(\(hitcnt=${ENTRY_HIT_COUNT}\)){0,1}\s*(\(${ENTRY_STATE}\)){0,1}\s+${ENTRY_HASH}\s* -> Record + ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+(${ENTRY_PROTOCOL}\s+){0,1}(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}((fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+){0,1}(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+([a-z0-9]+\s+interval\s+\d+|disable|default)\s+){0,1}(inactive){0,1}\s*(\(hitcnt=${ENTRY_HIT_COUNT}\)){0,1}\s*(\(${ENTRY_STATE}\)){0,1}\s+${ENTRY_HASH}\s* -> Record + ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+\((hitcnt=${ENTRY_HIT_COUNT})\)\s+${ENTRY_HASH}\s* -> Record ^.* -> Error "Did not match any rules" -EOF \ No newline at end of file +EOF diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw new file mode 100644 index 0000000000..d794b6bea7 --- /dev/null +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw @@ -0,0 +1,78 @@ +access-list test; 51 elements; name hash: 0xcb4257a3 +access-list test line 1 extended permit ah any4 interface outside log informational interval 300 inactive (hitcnt=0) (inactive) 0x20db5032 +access-list test line 2 extended deny udp host 10.10.10.11 host 10.10.12.12 eq dnsix (hitcnt=0) 0xfe42d16f +access-list test line 3 extended permit object svc1 object test1 object test2 log informational interval 300 (hitcnt=0) 0xb18beb2d + access-list test line 3 extended permit icmp fqdn test.com (unresolved) host 10.1.1.2 echo-reply 4 log informational interval 300 (inactive) 0x0397cac0 +access-list test line 4 extended permit tcp object-group grptest1 10.10.10.0 255.255.255.128 (hitcnt=0) 0x26e50070 + access-list test line 4 extended permit tcp host 10.1.1.10 10.10.10.0 255.255.255.128 (hitcnt=0) 0x44aceee4 + access-list test line 4 extended permit tcp fqdn test.com (unresolved) 10.10.10.0 255.255.255.128 (inactive) 0x27806b87 + access-list test line 4 extended permit tcp 10.1.1.8 255.255.255.248 10.10.10.0 255.255.255.128 (hitcnt=0) 0xb65d6d2a +access-list test line 5 extended permit object-group svcgrp1 object test2 object test3 (hitcnt=0) 0xffc8818e + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 eq 60 (hitcnt=0) 0x09fd553e + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 eq www (hitcnt=0) 0xc366785c + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 gt 100 (hitcnt=0) 0xc7a44ae8 + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 range gopher 71 (hitcnt=0) 0x4db36dd4 +access-list test line 6 extended permit ip object-group grptest2 any4 (hitcnt=0) 0x1b9c9328 + access-list test line 6 extended permit ip host 10.1.1.10 any4 (hitcnt=0) 0x9d5931ab + access-list test line 6 extended permit ip fqdn test.com (unresolved) any4 (inactive) 0x0268299f + access-list test line 6 extended permit ip 10.1.1.8 255.255.255.248 any4 (hitcnt=0) 0xa6f62ec7 + access-list test line 6 extended permit ip host 10.10.10.10 any4 (hitcnt=0) 0xac0ce8e7 +access-list test line 7 extended permit object-group svcgrp4 object test3 object test2 (hitcnt=0) 0x866dbeab + access-list test line 7 extended permit tcp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq domain (hitcnt=0) 0xbef61d61 + access-list test line 7 extended permit udp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq domain (hitcnt=0) 0x3f9b81a1 + access-list test line 7 extended permit tcp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq 55 (hitcnt=0) 0x99a487f5 + access-list test line 7 extended permit udp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq 55 (hitcnt=0) 0xcd700fb1 +access-list test line 8 extended permit tcp object test1 object test1 object-group svcgrp6 (hitcnt=0) 0xd76472ac + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq aol (inactive) 0x64af6768 + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq www (inactive) 0x29864b9c + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq 84 (inactive) 0x1f80e564 +access-list test line 9 extended permit object-group prtgrp1 any4 any4 (hitcnt=0) 0x0d8479f0 + access-list test line 9 extended permit esp any4 any4 (hitcnt=0) 0x79a30bff +access-list test line 10 extended permit tcp object-group grptest1 object test1 object-group svcgrp8 (hitcnt=0) 0x0ca66136 + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq aol (inactive) 0xd93c8317 + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq www (inactive) 0x98d3e56f + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq 84 (inactive) 0x45e3cb59 + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq aol (inactive) 0x64af6768 + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq www (inactive) 0x29864b9c + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq 84 (inactive) 0x1f80e564 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq aol (inactive) 0xddad57f9 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq www (inactive) 0x38389426 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq 84 (inactive) 0x883a126a +access-list test line 11 extended permit tcp object-group grptest1 object test1 object-group svcgrp7 (hitcnt=0) 0xb396512b + access-list test line 11 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq domain (inactive) 0x5637d648 + access-list test line 11 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq domain (inactive) 0x3cd20161 + access-list test line 11 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq domain (inactive) 0x69655129 +access-list test line 12 extended permit tcp 10.20.30.0 255.255.255.0 10.50.12.0 255.255.255.224 eq www (hitcnt=0) 0x3f0331e6 +access-list test line 13 extended permit object svc10 host 10.21.10.5 host 10.50.20.10 (hitcnt=0) 0xc766bdc7 + access-list test line 13 extended permit tcp host 10.21.10.5 host 10.50.20.10 range www 88 (hitcnt=0) 0xc766bdc7 +access-list test line 14 extended permit tcp host 10.20.30.22 10.50.12.0 255.255.255.224 eq www (hitcnt=0) 0x3f0331e6 +access-list test line 15 remark explicit-deny +access-list test line 16 extended deny ip any4 any (hitcnt=0) 0x60edeab9 +access-list test line 17 remark ************ Allow ICMP ************* +access-list test line 18 extended permit icmp any any time-exceeded log informational interval 300 (hitcnt=31778) 0x6c633843 +access-list test line 19 extended permit icmp any4 any4 time-exceeded log informational interval 300 (hitcnt=0) 0x19b0643c +access-list test line 20 extended permit icmp any4 any4 unreachable log informational interval 300 (hitcnt=1902659) 0x5e72d761 +access-list test line 21 extended permit icmp any4 any4 echo log informational interval 300 (hitcnt=0) 0x2405f42c +access-list test line 22 extended permit icmp any4 any4 echo-reply log informational interval 300 (hitcnt=572136) 0x95dca5e7 +access-list test line 23 extended permit icmp any4 169.254.148.0 255.255.0.0 echo (hitcnt=0) 0x735d2ad8 +access-list test line 24 extended permit icmp any4 169.254.148.0 255.255.0.0 echo-reply (hitcnt=0) 0x4b1cc532 +access-list test line 25 extended permit icmp any4 169.254.148.0 255.255.0.0 unreachable (hitcnt=0) 0x3111e9c0 +access-list test line 26 extended permit icmp any4 169.254.148.0 255.255.0.0 time-exceeded (hitcnt=0) 0x7a963265 +access-list test line 27 extended permit icmp any4 169.254.147.0 255.255.0.0 echo-reply (hitcnt=0) 0x07bfbf99 +access-list test line 28 extended permit icmp any4 169.254.147.0 255.255.0.0 echo (hitcnt=0) 0x99e30c47 +access-list test line 29 extended permit icmp any4 169.254.147.0 255.255.0.0 unreachable (hitcnt=0) 0x91a15afa +access-list test line 30 extended permit icmp any4 169.254.151.0 255.255.0.0 echo-reply (hitcnt=0) 0xfb31202c +access-list test line 31 extended permit icmp any4 169.254.147.0 255.255.0.0 time-exceeded (hitcnt=0) 0x2bc95316 +access-list test line 32 extended permit icmp any4 169.254.151.0 255.255.0.0 echo (hitcnt=0) 0x0f3edcdd +access-list test line 33 extended permit icmp any4 169.254.151.0 255.255.0.0 unreachable (hitcnt=0) 0x7887741b +access-list test line 34 extended permit icmp any4 169.254.151.0 255.255.0.0 time-exceeded (hitcnt=0) 0x480bef5c +access-list test line 35 extended deny icmp any any (hitcnt=3) 0xff7fd0ca +access-list test line 36 extended permit tcp object-group test_gr object-group test_gr_02 eq ftp-data (hitcnt=0) 0x05e8add7 + access-list test line 36 extended permit tcp host 212.179.71.34 host 10.2.74.35 eq ftp-data (hitcnt=0) 0x9fb86c39 +access-list test line 37 extended permit tcp object network-172.16.0.0 object aps03-aps04_gaibu_vip eq ssh inactive (hitcnt=0) (inactive) 0xcc9741b2 + access-list test line 37 extended permit tcp 172.16.0.0 255.240.0.0 host 10.2.66.237 eq ssh inactive (hitcnt=0) (inactive) 0xcc9741b2 +access-list test line 38 extended permit tcp object ClientPC object-group NETWORK_100 inactive (hitcnt=0) (inactive) 0xc47bdfe9 + access-list test line 38 extended permit tcp host 172.31.168.7 host 10.2.88.104 inactive (hitcnt=0) (inactive) 0x7e7a99ef + access-list test line 38 extended permit tcp host 172.31.168.7 host 10.2.88.100 inactive (hitcnt=0) (inactive) 0x4094da11 +access-list test line 39 extended permit tcp object-group NETWORK_88 object aps0506_VIP_10.2.66.53 eq 6991 log disable (hitcnt=55) 0xe547ccd6 + access-list test line 39 extended permit tcp 10.0.247.0 255.255.255.0 host 10.2.66.53 eq 6991 log disable (hitcnt=40) 0xea52300b diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml new file mode 100644 index 0000000000..54aee7f0de --- /dev/null +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml @@ -0,0 +1,4682 @@ +--- +parsed_sample: + - acl_name: "test" + acl_tot_elem: "51" + acl_name_hash: "0xcb4257a3" + type: "" + line_num: "" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "1" + remark: "" + action: "permit" + protocol: "ah" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "outside" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "inactive" + hit_count: "0" + line_hash: "0x20db5032" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "2" + remark: "" + action: "deny" + protocol: "udp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.10.10.11" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.10.12.12" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "dnsix" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfe42d16f" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "3" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc1" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0xb18beb2d" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "3" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "icmp" + entry_protocol: "" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "4" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0397cac0" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "4" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.10.10.0" + dst_mask: "255.255.255.128" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x26e50070" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x44aceee4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x27806b87" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xb65d6d2a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "5" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test2" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test3" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xffc8818e" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "60" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x09fd553e" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc366785c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "100" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc7a44ae8" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "gopher" + entry_port_range_end: "71" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x4db36dd4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "6" + remark: "" + action: "permit" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest2" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x1b9c9328" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x9d5931ab" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0268299f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xa6f62ec7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.10.10.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xac0ce8e7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "7" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp4" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test3" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x866dbeab" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xbef61d61" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x3f9b81a1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x99a487f5" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xcd700fb1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "8" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp6" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xd76472ac" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "9" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "prtgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0d8479f0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "9" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "esp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "any4" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x79a30bff" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "10" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp8" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0ca66136" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xd93c8317" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x98d3e56f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x45e3cb59" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xddad57f9" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x38389426" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x883a126a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "11" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp7" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xb396512b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x5637d648" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x3cd20161" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x69655129" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "12" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "10.20.30.0" + src_mask: "255.255.255.0" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "13" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc10" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.21.10.5" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.50.20.10" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xc766bdc7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "13" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.21.10.5" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.50.20.10" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "www" + entry_port_range_end: "88" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc766bdc7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "14" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.20.30.22" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "15" + remark: "explicit-deny" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "16" + remark: "" + action: "deny" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x60edeab9" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "17" + remark: "************ Allow ICMP *************" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "18" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "31778" + line_hash: "0x6c633843" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "19" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x19b0643c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "20" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "1902659" + line_hash: "0x5e72d761" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "21" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x2405f42c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "22" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "572136" + line_hash: "0x95dca5e7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "23" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x735d2ad8" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "24" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x4b1cc532" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "25" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3111e9c0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "26" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7a963265" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "27" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x07bfbf99" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "28" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x99e30c47" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "29" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x91a15afa" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "30" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfb31202c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "31" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x2bc95316" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "32" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0f3edcdd" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "33" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7887741b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "34" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x480bef5c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "35" + remark: "" + action: "deny" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "3" + line_hash: "0xff7fd0ca" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "36" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "test_gr" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "test_gr_02" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "ftp-data" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x05e8add7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "36" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "212.179.71.34" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.74.35" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "ftp-data" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x9fb86c39" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "37" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "network-172.16.0.0" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "aps03-aps04_gaibu_vip" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "ssh" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "inactive" + hit_count: "0" + line_hash: "0xcc9741b2" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "37" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "172.16.0.0" + entry_src_mask: "255.240.0.0" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.66.237" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "ssh" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0xcc9741b2" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "38" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "ClientPC" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "NETWORK_100" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "inactive" + hit_count: "0" + line_hash: "0xc47bdfe9" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "38" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "172.31.168.7" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.88.104" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0x7e7a99ef" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "38" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "172.31.168.7" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.88.100" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0x4094da11" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "39" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "NETWORK_88" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "aps0506_VIP_10.2.66.53" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "6991" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "55" + line_hash: "0xe547ccd6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "39" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.0.247.0" + entry_src_mask: "255.255.255.0" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.66.53" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "6991" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "40" + entry_state: "" + entry_hash: "0xea52300b" From 64af854b48183827b042e28ef9a0eabb8cecce57 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 8 Oct 2020 02:48:21 +0200 Subject: [PATCH 115/412] Bugfix: cisco_wlc_ssh_show_interface_summary - Allow space or no space on Number of Interfaces line (#810) --- ...sco_wlc_ssh_show_interface_summary.textfsm | 2 +- .../cisco_wlc_ssh_show_interface_summary2.raw | 10 +++++++ .../cisco_wlc_ssh_show_interface_summary2.yml | 26 +++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml diff --git a/templates/cisco_wlc_ssh_show_interface_summary.textfsm b/templates/cisco_wlc_ssh_show_interface_summary.textfsm index def2fddefd..912446f4e4 100644 --- a/templates/cisco_wlc_ssh_show_interface_summary.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_summary.textfsm @@ -8,7 +8,7 @@ Value AP_MGR (\S+) Value GUEST (\S+) Start - ^\s+Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$ + ^\s*Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$ ^Interface\s+Name\s+Port\s+Vlan\s+Id\s+IP\s+Address\s+Type\s+Ap\s+Mgr\s+Guest -> Type_One ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw new file mode 100644 index 0000000000..faf9bc80b0 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw @@ -0,0 +1,10 @@ + + + +Number of Interfaces.......................... 3 + +Interface Name Port Vlan Id IP Address Type Ap Mgr Guest +-------------------------------- ---- -------- --------------- ------- ------ ----- +management 1 untagged 192.168.1.11 Static Yes N/A +service-port N/A N/A 11.1.1.1 Static No N/A +virtual N/A N/A 1.1.1.1 Static No N/A diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml new file mode 100644 index 0000000000..fb4ed33279 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - ap_mgr: "Yes" + guest: "N/A" + int_count: "3" + ip_addr: "192.168.1.11" + name: "management" + port: "1" + type: "Static" + vlan: "untagged" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "11.1.1.1" + name: "service-port" + port: "N/A" + type: "Static" + vlan: "N/A" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "1.1.1.1" + name: "virtual" + port: "N/A" + type: "Static" + vlan: "N/A" From f8c170157e3a8077df46c3c232360afddeb5479b Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 8 Oct 2020 19:54:44 +0200 Subject: [PATCH 116/412] New Template: cisco_wlc_ssh_show_interface_detailed (#812) --- ...wlc_ssh_show_interface_detailed_id.textfsm | 41 +++++++++++++++++++ templates/index | 1 + ...sco_wlc_ssh_show_interface_detailed_id.raw | 35 ++++++++++++++++ ...sco_wlc_ssh_show_interface_detailed_id.yml | 9 ++++ 4 files changed, 86 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm new file mode 100644 index 0000000000..85b5743cef --- /dev/null +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -0,0 +1,41 @@ +Value INTERFACE_NAME (\S+) +Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) +Value IP_ADDRESS (\d+.\d+.\d+.\d+) +Value IP_NETMASK (\d+.\d+.\d+.\d+) +Value IP_GATEWAY (\d+.\d+.\d+.\d+) +Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+) +Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+) + +Start + ^\s*Interface\s+Name\.+\s+${INTERFACE_NAME}\s*$$ + ^\s*MAC\s+Address\.+\s+${MAC_ADDRESS}\s*$$ + ^\s*IP\s+Address\.+\s+${IP_ADDRESS}\s*$$ + ^\s*IP\s+Netmask\.+\s+${IP_NETMASK}\s*$$ + ^\s*IP\s+Gateway\.+\s+${IP_GATEWAY}\s*$$ + ^\s*Primary\s+DHCP\s+Server\.+\s+${PRIMARY_DHCP_SERVER}\s*$$ + ^\s*Secondary\s+DHCP\s+Server\.+\s+${SECONDARY_DHCP_SERVER}\s*$$ -> Record + ^\s*External\s+NAT\s+IP\s+State.*$$ + ^\s*External\s+NAT\s+IP\s+Address.*$$ + ^\s*Link\s+Local\s+IPv6\s+Address.*$$ + ^\s*STATE.*$$ + ^\s*IPv6\s+Address.*$$ + ^\s*IPv6\s+Gateway.*$$ + ^\s*IPv6\s+Gateway\s+Mac\s+Address.*$$ + ^\s*VLAN.*$$ + ^\s*Quarantine-vlan.*$$ + ^\s*NAS-Identifier.*$$ + ^\s*Active\s+Physical\s+Port.*$$ + ^\s*Primary\s+Physical\s+Port.*$$ + ^\s*Backup\s+Physical\s+Port.*$$ + ^\s*DHCP\s+Proxy\s+Mode.*$$ + ^\s*DHCP\s+Option\s+82.*$$ + ^\s*DHCP\s+Option\s+82\s+bridge\s+mode\s+insertion.*$$ + ^\s*DHCP\s+Option\s+6\s+Opendns\s+Override.*$$ + ^\s*IPv4\s+ACL.*$$ + ^\s*mDNS\s+Profile\s+Name.*$$ + ^\s*AP\s+Manager.*$$ + ^\s*Guest\s+Interface.*$$ + ^\s*3G\s+VLAN.*$$ + ^\s*L2\s+Multicast.*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index e8d0038387..9bb76f0e90 100644 --- a/templates/index +++ b/templates/index @@ -296,6 +296,7 @@ cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] +cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] d[[etailed]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw new file mode 100644 index 0000000000..e8ff9ffea4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw @@ -0,0 +1,35 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. 1.1.1.1 +Secondary DHCP Server............................ 1.1.1.2 +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml new file mode 100644 index 0000000000..d30caf78bb --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "1.1.1.1" + secondary_dhcp_server: "1.1.1.2" From d37e10dfd0398ad7154789372ce736b3f9034c1b Mon Sep 17 00:00:00 2001 From: yshu95 <33629257+yshu95@users.noreply.github.com> Date: Wed, 21 Oct 2020 07:08:46 +0900 Subject: [PATCH 117/412] BugFix: EOS show inventory - modify regex based on additional output (#791) --- templates/arista_eos_show_inventory.textfsm | 12 ++-- .../arista_eos_show_inventory1.raw | 31 +++++++++ .../arista_eos_show_inventory1.yml | 67 +++++++++++++++++++ 3 files changed, 104 insertions(+), 6 deletions(-) create mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw create mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml diff --git a/templates/arista_eos_show_inventory.textfsm b/templates/arista_eos_show_inventory.textfsm index e306ec7c4e..d618959074 100644 --- a/templates/arista_eos_show_inventory.textfsm +++ b/templates/arista_eos_show_inventory.textfsm @@ -11,7 +11,7 @@ Chassis ^\s+Model ^\s+- ^\s+HW - ^\s+${VID}\s+${SN}\s+\d+-\d+-\d+$$ -> Record + ^\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record ^\s+${NAME}?\s+${DESCR}$$ ^\s*System.+(power supply|power-supply) -> Power_Supply @@ -19,18 +19,18 @@ Chassis Power_Supply ^\s+Slot ^\s+- - ^\s+${PORT}\s+${NAME}\s+${SN}$$ -> Record + ^\s+${PORT}\s+${NAME}\s+${SN} -> Record ^\s*System.+(fan) -> Fan - + Fan ^\s+Module ^\s+- - ^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN}$$ -> Record + ^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN} -> Record ^\s*System.+ports -> Ports Ports - ^\s+${DESCR}\s+${PORT}$$ -> Record + ^\s+${DESCR}\s+${PORT} -> Record ^\s*System.+transceiver -> Transceiver Transceiver - ^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID}$$ -> Record \ No newline at end of file + ^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID} -> Record \ No newline at end of file diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw new file mode 100644 index 0000000000..085408c734 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw @@ -0,0 +1,31 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7150S-52-CL 52-port SFP+ 10GigE 1RU + Clock + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 02.00 JPE13120702 2013-03-27 01.00 +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-460AC-F K192KU00241CZ + 2 PWR-460AC-F K192L200751CZ +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7000-F N/A + 2 1 FAN-7000-F N/A + 3 1 FAN-7000-F N/A + 4 1 FAN-7000-F N/A +System has 53 ports + Type Count + ---------------- ---- + Management 1 + Switched 52 +System has 52 transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 2 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 51 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 52 Arista Networks SFP-10G-SR XCW1225FD753 0002 \ No newline at end of file diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml new file mode 100644 index 0000000000..4c8a4a1f58 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml @@ -0,0 +1,67 @@ +--- +parsed_sample: + - port: "" + name: "DCS-7150S-52-CL" + sn: "JPE13120702" + descr: "52-port SFP+ 10GigE 1RU + Clock " + vid: "02.00" + - port: "1" + name: "PWR-460AC-F" + sn: "K192KU00241CZ" + descr: "" + vid: "" + - port: "2" + name: "PWR-460AC-F" + sn: "K192L200751CZ" + descr: "" + vid: "" + - port: "1" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "2" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "3" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "4" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "1" + name: "" + sn: "" + descr: "Management" + vid: "" + - port: "52" + name: "" + sn: "" + descr: "Switched" + vid: "" + - port: "1" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "2" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "51" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "52" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" From ab076700672a18a1854c5bd6365329b1ca23082b Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Wed, 21 Oct 2020 23:07:25 +0100 Subject: [PATCH 118/412] New Template: Procurve show interfaces (#796) --- templates/hp_procurve_show_interfaces.textfsm | 19 ++ templates/index | 1 + .../hp_procurve_show_interfaces.raw | 29 +++ .../hp_procurve_show_interfaces.yml | 170 ++++++++++++++++++ 4 files changed, 219 insertions(+) create mode 100644 templates/hp_procurve_show_interfaces.textfsm create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml diff --git a/templates/hp_procurve_show_interfaces.textfsm b/templates/hp_procurve_show_interfaces.textfsm new file mode 100644 index 0000000000..f5665444d2 --- /dev/null +++ b/templates/hp_procurve_show_interfaces.textfsm @@ -0,0 +1,19 @@ +Value PORT (\S+) +Value TOTAL_BYTES (\S+) +Value TOTAL_FRAMES (\S+) +Value ERRORS_RX (\S+) +Value DROPS_TX (\S+) +Value FLOW_CTRL (off|on) +Value BCAST_LIMIT (\d+) + +Start + ^\s+Status.*Counters\s* + ^\s*$$ + ^\s+Flow\s+Bcast\s* + ^\s+Port.*Limit\s* + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces + +ShowInterfaces + ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9bb76f0e90..49661f748b 100644 --- a/templates/index +++ b/templates/index @@ -378,6 +378,7 @@ hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] +hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw new file mode 100644 index 0000000000..5beaac1b02 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Counters + + Flow Bcast + Port Total Bytes Total Frames Errors Rx Drops Tx Ctrl Limit + ------------ -------------- -------------- --------- --------- ---- ----- + 1 98,581 869 0 0 on 0 + 2 0 0 0 0 off 0 + 3 0 0 0 0 off 0 + 4 0 0 67,00 0 off 0 + 5 0 0 0 0 off 0 + 6 0 0 0 0 off 0 + 7 0 0 0 0 off 0 + 8 0 0 0 0 off 0 + 9 0 0 0 0 off 0 + 10 0 0 0 0 on 50 + 11 0 0 0 0 off 0 + 12 0 0 0 0 off 0 + 13 0 0 0 0 off 0 + 14 0 0 0 0 off 0 + 15 0 0 0 0 off 0 + 16 0 0 0 0 off 0 + 17 0 0 0 0 off 0 + 18 0 0 0 0 off 0 + 19 0 0 0 0 off 0 + 20 0 0 0 0 off 0 + 21 0 0 0 0 off 0 + 22 0 0 0 0 off 0 + 23 0 0 0 0 off 0 + 24 0 0 0 0 off 0 diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml new file mode 100644 index 0000000000..8d5d30e119 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml @@ -0,0 +1,170 @@ +--- +parsed_sample: + - port: "1" + total_bytes: "98,581" + total_frames: "869" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "on" + bcast_limit: "0" + - port: "2" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + total_bytes: "0" + total_frames: "0" + errors_rx: "67,00" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "7" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" From 7a490d84796253ba0a793065a1c56b61a934387d Mon Sep 17 00:00:00 2001 From: jifox Date: Thu, 22 Oct 2020 16:07:18 +0200 Subject: [PATCH 119/412] New Template: Linux - arp -a (#814) --- templates/index | 2 + templates/linux_arp_-a.textfsm | 11 +++ tests/linux/arp_-a/linux_arp_a.raw | 9 +++ tests/linux/arp_-a/linux_arp_a.yml | 48 +++++++++++++ tests/test_index_order.py | 110 +++++++++++++++-------------- 5 files changed, 126 insertions(+), 54 deletions(-) create mode 100644 templates/linux_arp_-a.textfsm create mode 100644 tests/linux/arp_-a/linux_arp_a.raw create mode 100644 tests/linux/arp_-a/linux_arp_a.yml diff --git a/templates/index b/templates/index index 49661f748b..8870dec78d 100644 --- a/templates/index +++ b/templates/index @@ -403,6 +403,8 @@ juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route +linux_arp_-a.textfsm, .*, linux, arp -a + paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] diff --git a/templates/linux_arp_-a.textfsm b/templates/linux_arp_-a.textfsm new file mode 100644 index 0000000000..8f058a453f --- /dev/null +++ b/templates/linux_arp_-a.textfsm @@ -0,0 +1,11 @@ +Value REV_DNS (\S+) +Value IP_ADDRESS (\S+) +Value MAC_ADDRESS (\S+) +Value HW_TYPE (\S+) +Value INTERFACE (\S+) + +Start + ^${REV_DNS}\s+\(${IP_ADDRESS}\)\s+\S+\s+${MAC_ADDRESS}\s+\[${HW_TYPE}\]\s+\S+\s+${INTERFACE}$$ -> Record + ^${REV_DNS}\s+\(${IP_ADDRESS}\)\s+\S+\s+<${MAC_ADDRESS}>\s+\S+\s+${INTERFACE}$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/linux/arp_-a/linux_arp_a.raw b/tests/linux/arp_-a/linux_arp_a.raw new file mode 100644 index 0000000000..b222c25435 --- /dev/null +++ b/tests/linux/arp_-a/linux_arp_a.raw @@ -0,0 +1,9 @@ +? (192.168.13.197) at 00:04:4b:cc:9c:ba [ether] on eth1.100 +? (192.168.10.100) at on eth1.10 +? (192.168.13.252) at 5c:e2:8c:fc:a4:74 [ether] on eth1.100 +esxi (192.168.13.5) at 00:e0:67:05:9d:5a [ether] on eth1.100 +? (192.168.13.253) at dc:f7:19:cd:d6:c4 [ether] on eth1.100 +? (192.168.123.199) at 00:0f:c9:0e:c8:ec [ether] on eth0.21 +? (192.168.10.52) at on eth1.10 +? (192.168.10.7) at 00:0c:29:02:3b:93 [ether] on eth1.10 +? (192.168.10.249) at 00:0c:29:bb:5f:a2 [ether] on eth1.10 diff --git a/tests/linux/arp_-a/linux_arp_a.yml b/tests/linux/arp_-a/linux_arp_a.yml new file mode 100644 index 0000000000..793442a5a7 --- /dev/null +++ b/tests/linux/arp_-a/linux_arp_a.yml @@ -0,0 +1,48 @@ +--- + +parsed_sample: + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.197" + mac_address: "00:04:4b:cc:9c:ba" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.100" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.252" + mac_address: "5c:e2:8c:fc:a4:74" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.5" + mac_address: "00:e0:67:05:9d:5a" + rev_dns: "esxi" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.253" + mac_address: "dc:f7:19:cd:d6:c4" + rev_dns: "?" + - hw_type: "ether" + interface: "eth0.21" + ip_address: "192.168.123.199" + mac_address: "00:0f:c9:0e:c8:ec" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.52" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.7" + mac_address: "00:0c:29:02:3b:93" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.249" + mac_address: "00:0c:29:bb:5f:a2" + rev_dns: "?" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 84d05b6c0e..a6e378991b 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -1,14 +1,63 @@ #!/usr/bin/env python - -import pytest -import csv import os -import glob +import re import csv +import glob + +import pytest from tests import load_index_data +OS_CHOICES = [ + "a10", + "alcatel_aos", + "alcatel_sros", + "arista_eos", + "aruba_os", + "avaya_ers", + "avaya_vsp", + "broadcom_icos", + "brocade_fastiron", + "brocade_netiron", + "brocade_nos", + "brocade_vdx", + "brocade_vyos", + "checkpoint_gaia", + "ciena_saos", + "cisco_asa", + "cisco_ftd", + "cisco_ios", + "cisco_nxos", + "cisco_s300", + "cisco_wlc", + "cisco_xe", + "cisco_xr", + "dell_force10", + "enterasys", + "extreme", + "f5_ltm", + "fortinet_fortios", + "hp_comware", + "hp_procurve", + "huawei_vrp", + "juniper", + "juniper_junos", + "juniper_screenos", + "linux", + "ovs_linux", + "paloalto_panos", + "quanta_mesh", + "ruckus_fastiron", + "ubiquiti_edgeswitch", + "vmware_nsxv", + "vyatta_vyos", + "vyos", + "watchguard_firebox", +] +RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") + + def check_order( current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd ): @@ -60,54 +109,6 @@ def check_order( def test_index_ordering(): - - os_choices = [ - "a10", - "alcatel_aos", - "alcatel_sros", - "arista_eos", - "aruba_os", - "avaya_ers", - "avaya_vsp", - "broadcom_icos", - "brocade_fastiron", - "brocade_netiron", - "brocade_nos", - "brocade_vdx", - "brocade_vyos", - "checkpoint_gaia", - "ciena_saos", - "cisco_asa", - "cisco_ftd", - "cisco_ios", - "cisco_nxos", - "cisco_s300", - "cisco_wlc", - "cisco_xe", - "cisco_xr", - "dell_force10", - "enterasys", - "extreme", - "f5_ltm", - "fortinet_fortios", - "hp_comware", - "hp_procurve", - "huawei_vrp", - "juniper", - "juniper_junos", - "juniper_screenos", - "linux", - "ovs_linux", - "paloalto_panos", - "quanta_mesh", - "ruckus_fastiron", - "ubiquiti_edgeswitch", - "vmware_nsxv", - "vyatta_vyos", - "vyos", - "watchguard_firebox", - ] - prior_os = "" prior_len = 0 prior_cmd = "" @@ -116,11 +117,12 @@ def test_index_ordering(): index = load_index_data() for row in index: template = row[0].strip() - os = "_".join(template.split("_")[:2]) + os_match = RE_TEMPLATE_OS.match(template) + os = os_match.group(0) cmd = "_".join(template.split("_")[2:]) cmd_len = len(cmd) check_val, check_msg = check_order( - os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd + os, prior_os, cmd_len, prior_len, OS_CHOICES, used_os, cmd, prior_cmd ) if not check_val: # assertFalse(check_val, msg=check_msg) From e0f1f300285b91fa21815f251347e8a7c06101b7 Mon Sep 17 00:00:00 2001 From: starlightdreamer <42082309+starlightdreamer@users.noreply.github.com> Date: Mon, 26 Oct 2020 13:00:40 -0500 Subject: [PATCH 120/412] Bugfix: ASA - show_interface - Adds missing case for duplex and speed. (#815) --- templates/cisco_asa_show_interface.textfsm | 1 + .../cisco_asa_show_interface2.raw | 29 +++++++++++++++++++ .../cisco_asa_show_interface2.yml | 26 +++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml diff --git a/templates/cisco_asa_show_interface.textfsm b/templates/cisco_asa_show_interface.textfsm index f7533874f9..274a7a92ef 100644 --- a/templates/cisco_asa_show_interface.textfsm +++ b/templates/cisco_asa_show_interface.textfsm @@ -31,6 +31,7 @@ Start ^.*BW\s+${BANDWIDTH},\s+DLY\s+${DELAY} ^.*\(${DUPLEX}\),\s+Auto-Speed\(${SPEED}\) ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) + ^.*Duplex,\s+Auto-Speed ^.*Description:\s+${DESCRIPTION} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw new file mode 100644 index 0000000000..ad5372236f --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw @@ -0,0 +1,29 @@ +Interface GigabitEthernet0/0 "outside", is up, line protocol is up + Hardware is i82540EM rev03, BW 1000 Mbps, DLY 10 usec + Full-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Description: to iosv-1 + MAC address fa16.3eb0.c3d3, MTU 1500 + IP address 10.0.0.5, subnet mask 255.255.255.252 + 2 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 1 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 2 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (511/511) + output queue (blocks free curr/low): hardware (511/511) + Traffic Statistics for "outside": + 2 packets input, 381 bytes + 1 packets output, 28 bytes + 2 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml new file mode 100644 index 0000000000..197fbd70c0 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - address: "fa16.3eb0.c3d3" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-1" + duplex: "" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "i82540EM rev03" + interface: "GigabitEthernet0/0" + interface_zone: "outside" + ip_address: "10.0.0.5" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "" From 699d9b8a73e1d3e2c64fe4c52dfcf263ab188457 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2020 21:46:19 +0000 Subject: [PATCH 121/412] Enhancement: IOS ACL - Add support for ICMP (#808) --- ...nning-config_partition_access-list.textfsm | 17 +- ...w_running-config_partition_access-list.yml | 261 +++ ...ing-config_partition_access-list_fixed.raw | 2 +- ...ing-config_partition_access-list_fixed.yml | 320 +++- ...nning-config_partition_access-list_new.raw | 57 + ...nning-config_partition_access-list_new.yml | 1489 +++++++++++++++++ 6 files changed, 2137 insertions(+), 9 deletions(-) create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml diff --git a/templates/cisco_ios_show_running-config_partition_access-list.textfsm b/templates/cisco_ios_show_running-config_partition_access-list.textfsm index e3cc2d621b..c75e004daa 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.textfsm +++ b/templates/cisco_ios_show_running-config_partition_access-list.textfsm @@ -1,5 +1,6 @@ Value Required,Filldown ACL_NAME (\S+) Value Filldown ACL_TYPE (standard|extended) +Value LINE_NUM (\d+) Value List COMMENT (.*) Value ACTION (permit|deny) Value PROTOCOL (\S+) @@ -7,20 +8,22 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) -Value SRC_PORT_MATCH (eq|range|lt|gt) -Value SRC_PORT ((? Record # Record named ACL Extended entry - ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record + ^\s+(${LINE_NUM}\s+|)${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s*$$ -> Record # Record named ACL Standard entry - ^\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^\s+(${LINE_NUM}\s+|)${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record named ACL Remark - ^\s+remark\s+${COMMENT}\s* + ^\s+(${LINE_NUM}\s+|)remark\s+${COMMENT}\s* # Record numbered ACL Extended entry - ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Standard entry ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Remark diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml index 283db1bd13..8f7f95bda0 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml @@ -2,6 +2,7 @@ parsed_sample: - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -21,11 +22,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows BGP\"" action: "permit" @@ -46,11 +50,14 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -70,11 +77,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -95,11 +105,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -119,11 +132,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -144,11 +160,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -168,11 +187,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -193,11 +215,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -217,11 +242,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -242,11 +270,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -266,11 +297,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -291,11 +325,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -315,11 +352,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -340,11 +380,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -364,11 +407,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -389,11 +435,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -413,11 +462,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -438,11 +490,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -462,11 +517,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample servers to ping" action: "permit" @@ -487,11 +545,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -511,11 +572,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -536,11 +600,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -560,11 +627,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -584,11 +654,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -608,11 +681,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s) to connect\"" action: "permit" @@ -633,11 +709,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -657,11 +736,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -681,11 +763,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -705,11 +790,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -729,11 +817,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -753,11 +844,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -777,11 +871,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -801,11 +898,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -826,11 +926,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -850,11 +953,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -874,11 +980,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -898,11 +1007,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -922,11 +1034,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -946,11 +1061,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -971,11 +1089,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -995,11 +1116,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1019,11 +1143,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1043,11 +1170,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1067,11 +1197,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1091,11 +1224,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1116,11 +1252,14 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1140,11 +1279,14 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1164,11 +1306,14 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1188,11 +1333,14 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1213,11 +1361,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1237,11 +1388,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1261,11 +1415,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1285,11 +1442,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1309,11 +1469,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1333,11 +1496,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1357,11 +1523,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1381,11 +1550,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1406,11 +1578,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1431,11 +1606,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1456,11 +1634,14 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1480,11 +1661,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1505,11 +1689,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample UDP access" action: "permit" @@ -1530,11 +1717,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1554,11 +1744,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample TCP access" action: "permit" @@ -1579,11 +1772,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1603,11 +1799,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allow sample to send PIM-Join" action: "permit" @@ -1628,11 +1827,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "ip" @@ -1652,11 +1854,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "ip" @@ -1676,11 +1881,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -1700,11 +1908,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "" @@ -1724,11 +1935,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1748,11 +1962,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1772,11 +1989,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1796,11 +2016,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1820,11 +2043,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1844,11 +2070,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1868,11 +2097,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1892,11 +2124,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1916,11 +2151,14 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1940,11 +2178,14 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "ahp" @@ -1964,11 +2205,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1988,11 +2232,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "" protocol: "" @@ -2012,11 +2259,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "permit" protocol: "" @@ -2036,11 +2286,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test2" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2060,11 +2313,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2084,11 +2340,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2108,6 +2367,8 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw index f3a165dc05..4748f0545d 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw @@ -138,7 +138,7 @@ ip access-list extended ios_partition_acl remark consecutive COMMENT permit tcp any host 192.168.100.1 established remark correct syntax for time-range ace - permit tcp host 10.1.1.1 eq ftp any eq tacacs time-range test log + permit tcp host 10.1.1.1 eq ftp any eq tacacs log time-range test access-list 102 remark match protocol numbers access-list 102 deny 53 any any diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml index 36e6f8294d..3366b6cc7b 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml @@ -2,6 +2,7 @@ parsed_sample: - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -21,11 +22,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows BGP\"" action: "permit" @@ -46,11 +50,14 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -70,11 +77,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -95,11 +105,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -119,11 +132,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -144,11 +160,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -168,11 +187,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -193,11 +215,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -217,11 +242,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -242,11 +270,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -266,11 +297,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -291,11 +325,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -315,11 +352,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -340,11 +380,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -364,11 +407,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -389,11 +435,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -413,11 +462,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -438,11 +490,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -462,11 +517,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample servers to ping" action: "permit" @@ -487,11 +545,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -511,11 +572,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -536,11 +600,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -560,11 +627,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -584,11 +654,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -608,11 +681,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s) to connect\"" action: "permit" @@ -633,11 +709,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -657,11 +736,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -681,11 +763,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -705,11 +790,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -729,11 +817,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -753,11 +844,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -777,11 +871,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -801,11 +898,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -826,11 +926,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -850,11 +953,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -874,11 +980,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -898,11 +1007,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -922,11 +1034,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -946,11 +1061,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -971,11 +1089,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -995,11 +1116,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1019,11 +1143,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1043,11 +1170,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1067,11 +1197,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1091,11 +1224,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1116,11 +1252,14 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1140,11 +1279,14 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1164,11 +1306,14 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1188,11 +1333,14 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1213,11 +1361,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1237,11 +1388,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1261,11 +1415,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1285,11 +1442,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1309,11 +1469,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1333,11 +1496,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1357,11 +1523,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1381,11 +1550,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1406,11 +1578,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1431,11 +1606,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1456,11 +1634,14 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1480,11 +1661,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1505,11 +1689,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample UDP access" action: "permit" @@ -1530,11 +1717,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1554,11 +1744,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample TCP access" action: "permit" @@ -1579,11 +1772,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1603,11 +1799,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allow sample to send PIM-Join" action: "permit" @@ -1628,11 +1827,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "ip" @@ -1652,11 +1854,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "ip" @@ -1676,11 +1881,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -1700,11 +1908,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "" @@ -1724,11 +1935,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1748,11 +1962,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1772,11 +1989,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1796,11 +2016,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1820,11 +2043,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1844,11 +2070,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1868,11 +2097,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1892,11 +2124,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1916,11 +2151,14 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1940,11 +2178,14 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "ahp" @@ -1964,11 +2205,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1988,11 +2232,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "" protocol: "" @@ -2012,11 +2259,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "permit" protocol: "" @@ -2036,11 +2286,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test2" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2060,11 +2313,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2084,11 +2340,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2108,11 +2367,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2132,11 +2394,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match protocol numbers" action: "deny" @@ -2157,11 +2422,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "55" @@ -2181,11 +2449,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "pim" @@ -2205,11 +2476,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match source port range correctly" - "COMMENTs as a list" @@ -2231,11 +2505,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2255,11 +2532,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2279,11 +2559,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2303,11 +2586,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match TCP flags" - "consecutive COMMENT" @@ -2329,11 +2615,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "correct syntax for time-range ace" action: "permit" @@ -2354,11 +2643,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" - log: "" + log: "log" + icmp_type: "" time: "test" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "53" @@ -2378,11 +2670,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "55" @@ -2402,11 +2697,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "pim" @@ -2426,11 +2724,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2450,11 +2751,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2474,11 +2778,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2498,11 +2805,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2522,11 +2832,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2546,11 +2859,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2570,6 +2886,8 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw new file mode 100644 index 0000000000..93173c1007 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw @@ -0,0 +1,57 @@ +ip access-list extended filter01 + 20 deny udp any host 200.10.11.135 eq 5060 + 30 deny tcp any 200.10.0.0 0.0.255.255 eq telnet + 40 deny tcp any any eq telnet + 50 deny ip 210.144.0.0 0.15.255.255 any + 280 deny 53 any any + 290 deny 55 any any + 300 deny 77 any any + 310 deny pim any any + 320 remark Vodafone BGP + 320 permit icmp host 113.17.12.113 host 113.17.12.114 + 330 permit icmp host 113.117.249.33 host 113.117.249.34 + 340 permit icmp host 8.8.8.8 host 113.17.12.114 + 350 permit icmp host 8.8.8.8 host 113.117.249.34 + 360 permit icmp host 203.109.180.181 host 113.17.12.114 + 370 permit icmp host 203.109.180.181 host 113.117.249.34 + 380 permit icmp host 108.170.247.49 host 113.17.12.114 + 390 permit icmp host 108.170.247.49 host 113.117.249.34 + 400 permit icmp any host 113.17.12.114 echo-reply + 410 permit icmp host 203.50.13.93 host 113.17.12.114 + 420 permit icmp host 203.50.13.93 host 113.117.249.34 + 430 permit icmp any host 113.117.249.34 echo-reply + 440 permit tcp host 113.17.12.113 host 113.17.12.114 eq bgp + 450 permit tcp host 113.17.70.169 host 113.117.249.34 eq bgp +ip access-list extended nineoneone + 20 deny udp any host 200.10.11.135 eq 5060 + 30 deny tcp any 200.10.0.0 0.0.255.255 eq telnet + 40 deny tcp any any eq telnet + 50 deny ip 210.144.0.0 0.15.255.255 any + 280 deny 53 any any + 290 deny 55 any any + 300 deny 77 any any + 310 deny pim any any + 320 remark Vodafone BGP + 320 permit icmp host 113.17.12.113 host 113.17.12.114 + 330 permit icmp host 113.117.249.33 host 113.117.249.34 + 340 permit icmp host 8.8.8.8 host 113.17.12.114 + 350 permit icmp host 8.8.8.8 host 113.117.249.34 + 360 permit icmp host 203.109.180.181 host 113.17.12.114 + 370 permit icmp host 203.109.180.181 host 113.117.249.34 + 380 permit icmp host 108.170.247.49 host 113.17.12.114 + 390 permit icmp host 108.170.247.49 host 113.117.249.34 + 400 permit icmp any host 113.17.12.114 echo-reply + 410 permit icmp host 203.50.13.93 host 113.17.12.114 + 420 permit icmp host 203.50.13.93 host 113.117.249.34 + 430 permit icmp any host 113.117.249.34 echo-reply + 440 permit tcp host 113.17.12.113 host 113.17.12.114 eq bgp + 450 permit tcp host 113.17.70.169 host 113.117.249.34 eq bgp + 460 permit icmp host 10.10.10.10 any echo-reply + 470 permit icmp host 10.10.10.10 any administratively-prohibited + 480 permit icmp host 10.10.10.10 any unreachable log + 490 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 500 permit icmp host 1.1.11.1 host 1.1.22.4 echo-reply log-input + 510 permit tcp any any match-all +ack -fin log + 520 permit tcp any any match-any +ack -fin log + 521 permit tcp any any match-any +ack +fin +syn +psh + 530 permit tcp any 10.1.0.0 0.0.255.255 established psh diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml new file mode 100644 index 0000000000..e09e0f0b2f --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml @@ -0,0 +1,1489 @@ +--- +parsed_sample: + - acl_name: "filter01" + acl_type: "extended" + line_num: "" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "20" + comment: [] + action: "deny" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "200.10.11.135" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "5060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "30" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "200.10.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "40" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "50" + comment: [] + action: "deny" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "210.144.0.0" + src_wildcard: "0.15.255.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "280" + comment: [] + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "290" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "300" + comment: [] + action: "deny" + protocol: "77" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "310" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "320" + comment: + - "Vodafone BGP" + action: "permit" + protocol: "icmp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "330" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "113.117.249.33" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "340" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "350" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "360" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "370" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "380" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "390" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "400" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "410" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "420" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "430" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "440" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "450" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.70.169" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "20" + comment: [] + action: "deny" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "200.10.11.135" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "5060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "30" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "200.10.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "40" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "50" + comment: [] + action: "deny" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "210.144.0.0" + src_wildcard: "0.15.255.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "280" + comment: [] + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "290" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "300" + comment: [] + action: "deny" + protocol: "77" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "310" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "320" + comment: + - "Vodafone BGP" + action: "permit" + protocol: "icmp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "330" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "113.117.249.33" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "340" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "350" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "360" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "370" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "380" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "390" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "400" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "410" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "420" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "430" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "440" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "450" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.70.169" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "460" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "470" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "480" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "490" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "500" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "1.1.11.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "1.1.22.4" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "510" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "520" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-any" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "521" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-any" + tcp_flag: "+ack +fin +syn +psh" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "530" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + icmp_type: "" + time: "" From 556f7cb086369ee0f4f0db773e261a1cfc013280 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 26 Oct 2020 17:47:29 -0400 Subject: [PATCH 122/412] Release 1.6.0 (#807) --- CHANGELOG | 38 +++++++++++++++++++++++++++++++++++ README.md | 4 ++++ lib/ntc_templates/__init__.py | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 22a5468967..0c81a253eb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,43 @@ # Changelog +## [1.6.0](https://github.com/networktocode/ntc-templates/tree/1.6.0) (2020-10-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...1.6.0) + +**Implemented enhancements:** + +- Creation of a Faq [\#716](https://github.com/networktocode/ntc-templates/issues/716) + +**Closed issues:** + +- This is not a data modeling project. So is there any data modeling project can work with this? [\#802](https://github.com/networktocode/ntc-templates/issues/802) +- Black 20.b0 breaks tox test [\#794](https://github.com/networktocode/ntc-templates/issues/794) +- Unable to Parse show version on IOSv Device [\#780](https://github.com/networktocode/ntc-templates/issues/780) +- TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) +- cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) +- arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) + +**Merged pull requests:** + +- changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) +- modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) +- Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) +- Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) +- Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) +- Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) +- Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) +- Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Account for "powered-up" value in the output of nxos show module [\#774](https://github.com/networktocode/ntc-templates/pull/774) ([mtbutler07](https://github.com/mtbutler07)) +- Dual line support for Cisco NX-OS 'ip bgp summary' command [\#772](https://github.com/networktocode/ntc-templates/pull/772) ([rtkennedy](https://github.com/rtkennedy)) +- Arista eos show mac address table [\#765](https://github.com/networktocode/ntc-templates/pull/765) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template: cisco\_nxos\_show\_ip\_interface [\#761](https://github.com/networktocode/ntc-templates/pull/761) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_hsrp\_all [\#760](https://github.com/networktocode/ntc-templates/pull/760) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_license\_usage [\#759](https://github.com/networktocode/ntc-templates/pull/759) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) +- Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) + ## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) diff --git a/README.md b/README.md index 777595455e..08a57069fc 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,10 @@ For any questions or comments, please feel free to swing by the [networktocode s Sign up [here](http://slack.networktocode.com/) +CHANGELOG +--------- + +Changelog should be generated using [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator) FAQ --- diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index e5ed6d99ee..1d0b6d9d36 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.5.0" +__version__ = "1.6.0" From b2ec68816c78277d80044b4f05e263f9742a14df Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2020 21:49:55 +0000 Subject: [PATCH 123/412] Enhancement: IOS ACL - Add support for ICMP (#809) --- .../cisco_ios_show_ip_access-lists.textfsm | 3 +- .../cisco_ios_show_ip_access-lists.yml | 87 +++++ .../cisco_ios_show_ip_access-lists_fixed.raw | 9 +- .../cisco_ios_show_ip_access-lists_fixed.yml | 314 ++++++++++++++++++ 4 files changed, 411 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.textfsm b/templates/cisco_ios_show_ip_access-lists.textfsm index e12c044b0b..d716172e7f 100644 --- a/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,6 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) +Value ICMP_TYPE (echo|echo-reply|administratively-prohibited|unreachable|port-unreachable|redirect|router-advertisement|router-solicitation|packet-too-big|time-exceeded|ttl-exceeded|parameter-problem) Value TIME (\S+) Value STATE (inactive|active) Value MATCHES (\d+) @@ -29,7 +30,7 @@ Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml index 5d7fe8a168..f53d650c96 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -51,6 +52,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -78,6 +80,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -105,6 +108,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "20" @@ -132,6 +136,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -159,6 +164,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -186,6 +192,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -213,6 +220,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -240,6 +248,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -267,6 +276,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -294,6 +304,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" state: "" matches: "" @@ -321,6 +332,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "test" state: "active" matches: "" @@ -348,6 +360,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -375,6 +388,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -402,6 +416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -429,6 +444,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -456,6 +472,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -483,6 +500,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -510,6 +528,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -537,6 +556,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -564,6 +584,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -591,6 +612,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -618,6 +640,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -645,6 +668,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -672,6 +696,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -699,6 +724,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -726,6 +752,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -753,6 +780,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -780,6 +808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -807,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -834,6 +864,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -861,6 +892,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -888,6 +920,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -915,6 +948,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -942,6 +976,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -969,6 +1004,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -996,6 +1032,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1023,6 +1060,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1050,6 +1088,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1077,6 +1116,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1104,6 +1144,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1131,6 +1172,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1158,6 +1200,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1185,6 +1228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1212,6 +1256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1239,6 +1284,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1266,6 +1312,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1293,6 +1340,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1320,6 +1368,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1347,6 +1396,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1374,6 +1424,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1401,6 +1452,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1428,6 +1480,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1455,6 +1508,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1482,6 +1536,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1509,6 +1564,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1536,6 +1592,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1563,6 +1620,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1590,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1617,6 +1676,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1644,6 +1704,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1671,6 +1732,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1698,6 +1760,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1725,6 +1788,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1752,6 +1816,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1779,6 +1844,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1806,6 +1872,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1833,6 +1900,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1860,6 +1928,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1887,6 +1956,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1914,6 +1984,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1941,6 +2012,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1968,6 +2040,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1995,6 +2068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2022,6 +2096,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2049,6 +2124,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2076,6 +2152,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2103,6 +2180,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2130,6 +2208,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" state: "active" matches: "" @@ -2157,6 +2236,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2184,6 +2264,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2211,6 +2292,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2238,6 +2320,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2265,6 +2348,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2292,6 +2376,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2319,6 +2404,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -2346,6 +2432,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw index 7f2cd2da4b..65d094eb54 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw @@ -88,4 +88,11 @@ Extended IP access list test2 Extended IP access list ios_show_ip_acl 10 permit 53 any any log (123456 matches) 20 permit ip any any log (23 matches) - +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml index ee4d896496..0cfef0d7e9 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -51,6 +52,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -78,6 +80,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -105,6 +108,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "20" @@ -132,6 +136,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -159,6 +164,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -186,6 +192,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -213,6 +220,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -240,6 +248,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -267,6 +276,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -294,6 +304,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" state: "" matches: "" @@ -321,6 +332,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "test" state: "active" matches: "" @@ -348,6 +360,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -375,6 +388,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -402,6 +416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -429,6 +444,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -456,6 +472,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -483,6 +500,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -510,6 +528,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -537,6 +556,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -564,6 +584,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -591,6 +612,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -618,6 +640,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -645,6 +668,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -672,6 +696,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -699,6 +724,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -726,6 +752,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -753,6 +780,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -780,6 +808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -807,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -834,6 +864,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -861,6 +892,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -888,6 +920,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -915,6 +948,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -942,6 +976,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -969,6 +1004,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -996,6 +1032,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1023,6 +1060,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1050,6 +1088,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1077,6 +1116,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1104,6 +1144,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1131,6 +1172,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1158,6 +1200,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1185,6 +1228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1212,6 +1256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1239,6 +1284,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1266,6 +1312,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1293,6 +1340,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1320,6 +1368,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1347,6 +1396,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1374,6 +1424,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1401,6 +1452,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1428,6 +1480,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1455,6 +1508,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1482,6 +1536,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1509,6 +1564,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1536,6 +1592,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1563,6 +1620,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1590,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1617,6 +1676,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1644,6 +1704,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1671,6 +1732,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1698,6 +1760,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1725,6 +1788,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1752,6 +1816,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1779,6 +1844,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1806,6 +1872,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1833,6 +1900,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1860,6 +1928,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1887,6 +1956,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1914,6 +1984,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1941,6 +2012,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1968,6 +2040,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1995,6 +2068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2022,6 +2096,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2049,6 +2124,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2076,6 +2152,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2103,6 +2180,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2130,6 +2208,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" state: "active" matches: "" @@ -2157,6 +2236,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2184,6 +2264,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2211,6 +2292,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2238,6 +2320,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2265,6 +2348,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2292,6 +2376,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2319,6 +2404,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -2346,6 +2432,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2373,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2400,6 +2488,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "123456" @@ -2427,6 +2516,231 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" From 7b762cec5ed0e40a74641f5a2d4677ffab47ece5 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Tue, 27 Oct 2020 01:18:53 +0100 Subject: [PATCH 124/412] BugFix: WLC show interface - Allow for Unconfigured IPs (#817) --- ...wlc_ssh_show_interface_detailed_id.textfsm | 4 +-- ...o_wlc_ssh_show_interface_detailed_id_2.raw | 35 +++++++++++++++++++ ...o_wlc_ssh_show_interface_detailed_id_2.yml | 9 +++++ 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm index 85b5743cef..4b87c65561 100644 --- a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -3,8 +3,8 @@ Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) Value IP_ADDRESS (\d+.\d+.\d+.\d+) Value IP_NETMASK (\d+.\d+.\d+.\d+) Value IP_GATEWAY (\d+.\d+.\d+.\d+) -Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+) -Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+) +Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+|Unconfigured) +Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+|Unconfigured) Start ^\s*Interface\s+Name\.+\s+${INTERFACE_NAME}\s*$$ diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw new file mode 100644 index 0000000000..420c393ba3 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw @@ -0,0 +1,35 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. Unconfigured +Secondary DHCP Server............................ Unconfigured +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml new file mode 100644 index 0000000000..e88c5ff8dd --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "Unconfigured" + secondary_dhcp_server: "Unconfigured" From 7964d3a832ddd9c1f4959108b503c0567329d960 Mon Sep 17 00:00:00 2001 From: abaretta Date: Tue, 27 Oct 2020 18:18:03 +0100 Subject: [PATCH 125/412] Bugfix: IOS Show Int - account for additional data (#818) --- templates/cisco_ios_show_interfaces_switchport.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index 9483705ee2..440195b261 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -27,6 +27,7 @@ Start ^\s*Voice\s+VLAN: ^\s*Pruning\s+VLANs ^\s*Capture\s+(?:Mode|VLANs) + ^\s*Autostate\s+mode\s+exclude ^\s*Protected ^\s*Unknown\s+(unicast|multicast) ^\s*Vepa\s+Enabled From 279d62518b414730109242b7f36b5202bf3f8009 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Wed, 28 Oct 2020 03:22:57 +0100 Subject: [PATCH 126/412] Bugfix: URL ACL issue in cisco_wlc_ssh_show_interface_detailed (#820) Co-authored-by: Wim Van Deun <7521270+enzzzy@users.noreply.github.com> --- ...wlc_ssh_show_interface_detailed_id.textfsm | 1 + ...o_wlc_ssh_show_interface_detailed_id_3.raw | 36 +++++++++++++++++++ ...o_wlc_ssh_show_interface_detailed_id_3.yml | 9 +++++ 3 files changed, 46 insertions(+) create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm index 4b87c65561..19ad5e0315 100644 --- a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -37,5 +37,6 @@ Start ^\s*Guest\s+Interface.*$$ ^\s*3G\s+VLAN.*$$ ^\s*L2\s+Multicast.*$$ + ^\s*URL\s+ACL.*$$ ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw new file mode 100644 index 0000000000..26169a070b --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw @@ -0,0 +1,36 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. Unconfigured +Secondary DHCP Server............................ Unconfigured +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +URL ACL.......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml new file mode 100644 index 0000000000..e88c5ff8dd --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "Unconfigured" + secondary_dhcp_server: "Unconfigured" From c54c3261457072819f8f1cbdaf744d91071bd9d7 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Wed, 4 Nov 2020 14:23:53 +0100 Subject: [PATCH 127/412] Bugfix: issues with cisco_nxos_show_ip_dhcp_relay_address (#821) --- ...co_nxos_show_ip_dhcp_relay_address.textfsm | 12 +++++++--- .../cisco_nxos_show_ip_dhcp_relay_address.raw | 8 ++++++- .../cisco_nxos_show_ip_dhcp_relay_address.yml | 22 +++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm b/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm index 5c27214651..f68843b4ce 100644 --- a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm +++ b/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm @@ -1,5 +1,11 @@ -Value INTERFACE (\w+) -Value RELAY_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value INTERFACE (\S+) +Value RELAY_ADDRESS (\d+.\d+.\d+.\d+) +Value VRF (\S+) Start - ^\s${INTERFACE}\s+${RELAY_ADDRESS} -> Record + ^\s*Interface\s+Relay\s+Address\s+VRF\s+Name\s*$$ + ^\s*-+ + ^\s*${INTERFACE}\s+${RELAY_ADDRESS}\s*$$ -> Record + ^\s*${INTERFACE}\s+${RELAY_ADDRESS}\s+${VRF}\s*$$ -> Record + ^\s*$$ + ^.* -> Error diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw index 7b655eb407..71e791af51 100644 --- a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw +++ b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw @@ -1,7 +1,13 @@ Interface Relay Address VRF Name ------------- ------------- -------- - Vlan100 10.40.15.152 + Vlan100 10.40.15.152 my_vrf Vlan100 10.40.10.162 Vlan200 10.40.15.152 Vlan200 10.40.10.162 + Ethernet1 10.40.15.152 + Ethernet1 10.40.10.162 my_vrf2 + Ethernet1/1 10.40.15.152 + Ethernet1/1 10.40.10.162 + Ethernet1/1.1 10.40.15.152 + Ethernet1/1.1 10.40.10.162 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml index ae737595c6..0f4d708212 100644 --- a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml +++ b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml @@ -2,9 +2,31 @@ parsed_sample: - interface: "Vlan100" relay_address: "10.40.15.152" + vrf: "my_vrf" - interface: "Vlan100" relay_address: "10.40.10.162" + vrf: "" - interface: "Vlan200" relay_address: "10.40.15.152" + vrf: "" - interface: "Vlan200" relay_address: "10.40.10.162" + vrf: "" + - interface: "Ethernet1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1" + relay_address: "10.40.10.162" + vrf: "my_vrf2" + - interface: "Ethernet1/1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1/1" + relay_address: "10.40.10.162" + vrf: "" + - interface: "Ethernet1/1.1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1/1.1" + relay_address: "10.40.10.162" + vrf: "" From 03efd44d006edd7af736155e8e9d0297c9510faf Mon Sep 17 00:00:00 2001 From: rich-day <62023730+rich-day@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:18:49 +0000 Subject: [PATCH 128/412] New template: arista_eos_show_interfaces_description (#822) --- ...ta_eos_show_interfaces_description.textfsm | 17 +++++ templates/index | 1 + ...arista_eos_show_interfaces_description.raw | 18 +++++ ...arista_eos_show_interfaces_description.yml | 70 +++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 templates/arista_eos_show_interfaces_description.textfsm create mode 100644 tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw create mode 100644 tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml diff --git a/templates/arista_eos_show_interfaces_description.textfsm b/templates/arista_eos_show_interfaces_description.textfsm new file mode 100644 index 0000000000..f087d53121 --- /dev/null +++ b/templates/arista_eos_show_interfaces_description.textfsm @@ -0,0 +1,17 @@ +Value PORT (\S+) +Value STATUS (up|down|admin\s+down) +Value PROTOCOL (up|down|lowerlayerdown) +Value DESCRIP (\S.*?) + +Start + ^Interface\s+Status\s+Protocol\s+Description\s*$$ -> Begin + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error + +Begin + ^${PORT}\s+${STATUS}\s+${PROTOCOL}(?:\s+${DESCRIP})?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8870dec78d..85dfbd060b 100644 --- a/templates/index +++ b/templates/index @@ -21,6 +21,7 @@ arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] arista_eos_show_mac_security_mka_counters.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] +arista_eos_show_interfaces_description.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] des[[cription]] arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw new file mode 100644 index 0000000000..39800b71c5 --- /dev/null +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw @@ -0,0 +1,18 @@ +Interface Status Protocol Description +Et1 admin down down ThiS iS a TeSt DeScriPtiON +Et2 up up ThiS iS a TeSt DeScriPtiON +Et3 up up ThiS iS a TeSt DeScriPtiON +Et4 up up ThiS iS a TeSt DeScriPtiON +Et5 admin down down ThiS iS a TeSt DeScriPtiON +Et6 admin down down ThiS iS a TeSt DeScriPtiON +Et7 admin down down ThiS iS a TeSt DeScriPtiON +Et8 admin down down ThiS iS a TeSt DeScriPtiON +Et9 up up ThiS iS a TeSt DeScriPtiON +Et9.999 down lowerlayerdown +Et10 up up ThiS iS a TeSt DeScriPtiON +Et11 up up ThiS iS a TeSt DeScriPtiON +Et12 up up ThiS iS a TeSt DeScriPtiON +Ma1 down down Management +Po1 up up MLAG peer link +Po101 up up ServerRAD +Vl4094 up up MLAG local int diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml new file mode 100644 index 0000000000..e54c1ca32d --- /dev/null +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - port: "Et1" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et2" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et3" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et4" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et5" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et6" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et7" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et8" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et9" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et9.999" + status: "down" + protocol: "lowerlayerdown" + descrip: "" + - port: "Et10" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et11" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et12" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Ma1" + status: "down" + protocol: "down" + descrip: "Management" + - port: "Po1" + status: "up" + protocol: "up" + descrip: "MLAG peer link" + - port: "Po101" + status: "up" + protocol: "up" + descrip: "ServerRAD" + - port: "Vl4094" + status: "up" + protocol: "up" + descrip: "MLAG local int" From 229890f6738d4f025970be4553c5af36ca8ed183 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:21:34 +0000 Subject: [PATCH 129/412] Enhancement: Procurve show interfaces update pre additional output (#823) --- templates/hp_procurve_show_interfaces.textfsm | 13 +- ...rocurve_show_interfaces_no_bcast_limit.raw | 57 +++ ...rocurve_show_interfaces_no_bcast_limit.yml | 366 ++++++++++++++++++ 3 files changed, 434 insertions(+), 2 deletions(-) create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml diff --git a/templates/hp_procurve_show_interfaces.textfsm b/templates/hp_procurve_show_interfaces.textfsm index f5665444d2..cbf1e26401 100644 --- a/templates/hp_procurve_show_interfaces.textfsm +++ b/templates/hp_procurve_show_interfaces.textfsm @@ -9,11 +9,20 @@ Value BCAST_LIMIT (\d+) Start ^\s+Status.*Counters\s* ^\s*$$ + ^\s+Flow\s* + ^\s+Port.*Ctrl\s* + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces1 ^\s+Flow\s+Bcast\s* ^\s+Port.*Limit\s* - ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces2 -ShowInterfaces + +ShowInterfaces1 + ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +ShowInterfaces2 ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw new file mode 100644 index 0000000000..7c84124374 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw @@ -0,0 +1,57 @@ +Status and Counters - Port Counters + + Flow + Port Total Bytes Total Frames Errors Rx Drops Tx Ctrl + ---------- -------------- -------------- ------------ ------------ ---- + 1 200,205 1861 0 0 off + 2 0 0 0 0 off + 3 0 0 0 0 off + 4 0 0 0 0 off + 5 0 0 0 0 off + 6 0 0 0 0 off + 7 0 0 0 0 off + 8 0 0 0 0 off + 9 0 0 0 0 off + 10 0 0 0 0 off + 11 0 0 0 0 off + 12 0 0 0 0 off + 13 0 0 0 0 off + 14 0 0 0 0 off + 15 0 0 0 0 off + 16 0 0 0 0 off + 17 0 0 0 0 off + 18 0 0 0 0 off + 19 0 0 0 0 off + 20 0 0 0 0 off + 21 0 0 0 0 off + 22 0 0 0 0 off + 23 0 0 0 0 off + 24 0 0 0 0 off + 25 0 0 0 0 off + 26 0 0 0 0 off + 27 0 0 0 0 off + 28 0 0 0 0 off + 29 0 0 0 0 off + 30 0 0 0 0 off + 31 0 0 0 0 off + 32 0 0 0 0 off + 33 0 0 0 0 off + 34 0 0 0 0 off + 35 0 0 0 0 off + 36 0 0 0 0 off + 37 0 0 0 0 off + 38 0 0 0 0 off + 39 0 0 0 0 off + 40 0 0 0 0 off + 41 0 0 0 0 off + 42 0 0 0 0 off + 43 0 0 0 0 off + 44 0 0 0 0 off + 45 0 0 0 0 off + 46 0 0 0 0 off + 47 0 0 0 0 off + 48 0 0 0 0 off + 49 0 0 0 0 off + 50 0 0 0 0 off + 51 0 0 0 0 off + 52 0 0 0 0 off diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml new file mode 100644 index 0000000000..300cdaf61d --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml @@ -0,0 +1,366 @@ +--- +parsed_sample: + - port: "1" + total_bytes: "200,205" + total_frames: "1861" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "2" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "3" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "4" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "5" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "6" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "7" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "8" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "9" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "10" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "11" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "12" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "13" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "14" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "15" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "16" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "17" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "18" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "19" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "20" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "21" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "22" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "23" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "24" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "25" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "26" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "27" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "28" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "29" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "30" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "31" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "32" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "33" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "34" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "35" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "36" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "37" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "38" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "39" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "40" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "41" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "42" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "43" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "44" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "45" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "46" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "47" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "48" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "49" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "50" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "51" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "52" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" From 6d6c548c4d0cafed811e763963761a46fad3b46a Mon Sep 17 00:00:00 2001 From: Viktor Kertesz Date: Thu, 12 Nov 2020 20:03:47 +0100 Subject: [PATCH 130/412] New Template: IOS show access-session --- .../cisco_ios_show_access-session.textfsm | 17 + .../cisco_ios_show_lldp_neighbors.textfsm | 2 +- templates/index | 1 + .../cisco_ios_show_access-session.raw | 67 +++ .../cisco_ios_show_access-session.yml | 380 ++++++++++++++++++ .../cisco_ios_show_access-session2.raw | 59 +++ .../cisco_ios_show_access-session2.yml | 248 ++++++++++++ .../cisco_ios_show_access-session3.raw | 60 +++ .../cisco_ios_show_access-session3.yml | 248 ++++++++++++ .../cisco_ios_show_lldp_neighbors.raw | 3 +- .../cisco_ios_show_lldp_neighbors.yml | 4 + 11 files changed, 1087 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_ios_show_access-session.textfsm create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session2.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session2.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session3.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session3.yml diff --git a/templates/cisco_ios_show_access-session.textfsm b/templates/cisco_ios_show_access-session.textfsm new file mode 100644 index 0000000000..d518db4922 --- /dev/null +++ b/templates/cisco_ios_show_access-session.textfsm @@ -0,0 +1,17 @@ +Value INTERFACE (.+?) +Value MAC (.+?) +Value METHOD (.+?) +Value DOMAIN (.+?) +Value STATUS (.+?) +Value SESSION (\w+?) + +Start + ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Catch + ^-+$$ + ^${INTERFACE}\s+${MAC}\s+${METHOD}\s+${DOMAIN}\s+${STATUS}\s+${SESSION}$$ -> Record + ^.* -> Start diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/templates/cisco_ios_show_lldp_neighbors.textfsm index f397e703fe..f2b8010053 100644 --- a/templates/cisco_ios_show_lldp_neighbors.textfsm +++ b/templates/cisco_ios_show_lldp_neighbors.textfsm @@ -1,4 +1,4 @@ -Value Required NEIGHBOR (\S{0,20}) +Value Required NEIGHBOR (.{0,20}(? Date: Thu, 12 Nov 2020 20:08:55 +0100 Subject: [PATCH 131/412] New Templates: Alcatel SROS (#824) * alcatel_sros_show_port * alcatel_sros_show_lag * alcatel_sros_show_router_bgp_summary_family * alcatel_sros_show_router_isis_adjacency * alcatel_sros_show_router_isis_interface * alcatel_sros_show_router_ldp_interface * alcatel_sros_show_router_pim_interface --- templates/alcatel_sros_show_lag.textfsm | 18 + templates/alcatel_sros_show_port.textfsm | 25 + ...ros_show_router_bgp_summary_family.textfsm | 24 + ...el_sros_show_router_isis_adjacency.textfsm | 18 + ...el_sros_show_router_isis_interface.textfsm | 17 + ...tel_sros_show_router_ldp_interface.textfsm | 24 + ...tel_sros_show_router_pim_interface.textfsm | 20 + templates/index | 7 + tests/alcatel_sros/show_lag/show_lag.raw | 40 + tests/alcatel_sros/show_lag/show_lag.yml | 219 ++ tests/alcatel_sros/show_port/show_port.raw | 238 ++ tests/alcatel_sros/show_port/show_port.yml | 2114 +++++++++++++++++ ...el_sros_show_router_bgp_summary_family.raw | 64 + ...el_sros_show_router_bgp_summary_family.yml | 68 + ...lcatel_sros_show_router_isis_adjacency.raw | 11 + ...lcatel_sros_show_router_isis_adjacency.yml | 14 + ...lcatel_sros_show_router_isis_interface.raw | 12 + ...lcatel_sros_show_router_isis_interface.yml | 20 + .../show_router_ldp_interface.raw | 18 + .../show_router_ldp_interface.yml | 35 + .../show_router_pim_interface.raw | 20 + .../show_router_pim_interface.yml | 37 + 22 files changed, 3063 insertions(+) create mode 100644 templates/alcatel_sros_show_lag.textfsm create mode 100644 templates/alcatel_sros_show_port.textfsm create mode 100644 templates/alcatel_sros_show_router_bgp_summary_family.textfsm create mode 100644 templates/alcatel_sros_show_router_isis_adjacency.textfsm create mode 100644 templates/alcatel_sros_show_router_isis_interface.textfsm create mode 100644 templates/alcatel_sros_show_router_ldp_interface.textfsm create mode 100644 templates/alcatel_sros_show_router_pim_interface.textfsm create mode 100644 tests/alcatel_sros/show_lag/show_lag.raw create mode 100644 tests/alcatel_sros/show_lag/show_lag.yml create mode 100644 tests/alcatel_sros/show_port/show_port.raw create mode 100644 tests/alcatel_sros/show_port/show_port.yml create mode 100644 tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw create mode 100644 tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml create mode 100644 tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw create mode 100644 tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml create mode 100644 tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw create mode 100644 tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml create mode 100644 tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw create mode 100644 tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml create mode 100644 tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw create mode 100644 tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml diff --git a/templates/alcatel_sros_show_lag.textfsm b/templates/alcatel_sros_show_lag.textfsm new file mode 100644 index 0000000000..5d2226814b --- /dev/null +++ b/templates/alcatel_sros_show_lag.textfsm @@ -0,0 +1,18 @@ +Value LAG_ID (\d+) +Value ADM (up|down) +Value OPR (up|down) +Value WEIGHTED (Yes|No) +Value THRESHOLD (\d+) +Value UP_COUNT (\d+) +Value MC_ACT_STDBY (N/A|active|standby) + +Start + ^----------- -> Lag + +Lag + ^${LAG_ID}\s+${ADM}\s+${OPR}\s+${WEIGHTED}\s+${THRESHOLD}\s+${UP_COUNT}\s+${MC_ACT_STDBY}(\s|$$) -> Record + ^\s*$$ + ^----------- + ^=========== + ^Total + ^. -> Error diff --git a/templates/alcatel_sros_show_port.textfsm b/templates/alcatel_sros_show_port.textfsm new file mode 100644 index 0000000000..07350dabb3 --- /dev/null +++ b/templates/alcatel_sros_show_port.textfsm @@ -0,0 +1,25 @@ +Value PORT_ID (\S+) +Value ADMIN_STATE (Up|Down) +Value LINK (Yes|No) +Value PORT_STATE (Up|Down|Ghost|Link Up) +Value CFG_MTU (\d+) +Value OPER_MTU (\d+) +Value LAG (\d+|-) +Value PORT_MODE (\S+) +Value PORT_ENCP (\S+) +Value PORT_TYPE (\S+) +Value C_QS_S_XFP_MDIMDX (.*) + +Start + ^----------- -> Port + +Port + ^${PORT_ID}\s+${ADMIN_STATE}\s+${PORT_STATE}\s+conn\s*${C_QS_S_XFP_MDIMDX} -> Record + ^${PORT_ID}\s+${ADMIN_STATE}\s+${LINK}\s+${PORT_STATE}\s+${CFG_MTU}\s+${OPER_MTU}\s+${LAG}\s+${PORT_MODE}\s+${PORT_ENCP}\s+${PORT_TYPE}\s*${C_QS_S_XFP_MDIMDX} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Port + ^Id + ^\*\sindicates + ^. -> Error diff --git a/templates/alcatel_sros_show_router_bgp_summary_family.textfsm b/templates/alcatel_sros_show_router_bgp_summary_family.textfsm new file mode 100644 index 0000000000..417f3132ba --- /dev/null +++ b/templates/alcatel_sros_show_router_bgp_summary_family.textfsm @@ -0,0 +1,24 @@ +Value NEIGHBOR (\d+\.\d+\.\d+\.\d+|[0-9a-f:]*) +Value Required AS (\d+\**) +Value PKTRCVD (\d+\**) +Value PKTSENT (\d+\**) +Value INQ (\d+\**) +Value OUTQ (\d+\**) +Value UP_DOWN (\S+) +Value STATE (\w+) +Value RCV (\d+) +Value ACT (\d+) +Value SENT (\d+) + +Start + ^----------- -> Neighbor + +Neighbor + ^${NEIGHBOR}(\s|$$) -> NeighborData + +NeighborData + ^\s+${AS}\s+${PKTRCVD}\s+${PKTSENT}\s+${INQ}\s+${OUTQ}\s+${UP_DOWN}\s+(${STATE}|${RCV}/${ACT}/${SENT})(\s|$$) -> Record Neighbor + ^.*indicates + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/alcatel_sros_show_router_isis_adjacency.textfsm b/templates/alcatel_sros_show_router_isis_adjacency.textfsm new file mode 100644 index 0000000000..e6ff4bf689 --- /dev/null +++ b/templates/alcatel_sros_show_router_isis_adjacency.textfsm @@ -0,0 +1,18 @@ +Value SYSTEM_ID (\S+) +Value USAGE (\S+) +Value STATE (Up|Down) +Value HOLD (\d+) +Value INTERFACE (\S+) +Value MT_ID (\S+) + +Start + ^----------- -> Adjacency + +Adjacency + ^${SYSTEM_ID}\s+${USAGE}\s+${STATE}\s+${HOLD}\s+${INTERFACE}\s+${MT_ID} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Adjacencies + ^. -> Error + diff --git a/templates/alcatel_sros_show_router_isis_interface.textfsm b/templates/alcatel_sros_show_router_isis_interface.textfsm new file mode 100644 index 0000000000..8303c85f08 --- /dev/null +++ b/templates/alcatel_sros_show_router_isis_interface.textfsm @@ -0,0 +1,17 @@ +Value INTERFACE (\S+) +Value LEVEL (\S+) +Value CIRCID (\d+) +Value OPER_STATE (Up|Down) +Value METRIC_L1 (\d+) +Value METRIC_L2 (\d+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${LEVEL}\s+${CIRCID}\s+${OPER_STATE}\s+${METRIC_L1}/${METRIC_L2} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Interfaces + ^. -> Error diff --git a/templates/alcatel_sros_show_router_ldp_interface.textfsm b/templates/alcatel_sros_show_router_ldp_interface.textfsm new file mode 100644 index 0000000000..2490d123a7 --- /dev/null +++ b/templates/alcatel_sros_show_router_ldp_interface.textfsm @@ -0,0 +1,24 @@ +Value INTERFACE (\S+) +Value ADM (Up|Dwn) +Value OPR (Up|Dwn) +Value SUB_INTERFACE (ipv\d) +Value SUB_INTERFACE_ADM (Up|Dwn) +Value SUB_INTERFACE_OPR (Up|Dwn) +Value HELLO_FCTR (\d+) +Value HOLDTIME (\d+) +Value KA_FCTR (\d+) +Value KA_TIME (\d+) +Value TRANSPORT_ADDRESS (\S+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${ADM}/${OPR}(\s|$$) -> SubInterface + +SubInterface + ^\s+${SUB_INTERFACE}\s+${SUB_INTERFACE_ADM}/${SUB_INTERFACE_OPR}\s+${HELLO_FCTR}\s+${HOLDTIME}\s+${KA_FCTR}\s+${KA_TIME}\s+${TRANSPORT_ADDRESS}(\s|$$) -> Record Interface + ^No.\s+of\s+Interfaces + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/alcatel_sros_show_router_pim_interface.textfsm b/templates/alcatel_sros_show_router_pim_interface.textfsm new file mode 100644 index 0000000000..83f3a91cfb --- /dev/null +++ b/templates/alcatel_sros_show_router_pim_interface.textfsm @@ -0,0 +1,20 @@ +Value INTERFACE (\S+) +Value ADM (Up|Down) +Value OPR (Up|Down) +Value DR ((\d+\.\d+\.\d+\.\d+|[0-9a-f:]*)|N/A) +Value DR_PRTY (\d+|N/A) +Value HELLO_INTVL (\d+) +Value MCAST_SEND (\S+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${ADM}\s+${OPR}\s+${DR_PRTY}\s+${HELLO_INTVL}\s+${MCAST_SEND}(\s|$$) -> Dr + +Dr + ^\s+${DR}(\s|$$) -> Record Interface + ^No.\s+of\s+Interfaces + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9cd78e8a7d..c2f4de0d35 100644 --- a/templates/index +++ b/templates/index @@ -14,8 +14,15 @@ Template, Hostname, Platform, Command alcatel_aos_show_vlan.textfsm, .*, alcatel_aos, show vlan alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm, .*, alcatel_sros, sh[[ow]] router bgp rou[[tes]] vpn-ipv4 +alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] router bgp sum[[mary]] family +alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] +alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] +alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] +alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] +alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port +alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] diff --git a/tests/alcatel_sros/show_lag/show_lag.raw b/tests/alcatel_sros/show_lag/show_lag.raw new file mode 100644 index 0000000000..d995a328b7 --- /dev/null +++ b/tests/alcatel_sros/show_lag/show_lag.raw @@ -0,0 +1,40 @@ + +=============================================================================== +Lag Data +=============================================================================== +Lag-id Adm Opr Weighted Threshold Up-Count MC Act/Stdby +------------------------------------------------------------------------------- +1 up up No 0 2 N/A +2 up up No 0 2 N/A +3 up up No 0 1 N/A +4 down down No 0 0 N/A +5 down down No 0 0 N/A +10 down down No 0 0 N/A +20 up down No 0 0 standby +70 down down No 0 0 N/A +80 up down No 0 0 N/A +90 down down No 0 0 N/A +100 up up No 0 1 N/A +101 up up No 0 1 N/A +102 up up No 0 1 N/A +103 up up No 0 1 active +104 up up No 0 1 N/A +105 up up No 0 1 N/A +106 up up No 0 1 N/A +107 up up No 0 1 N/A +108 up up No 0 1 N/A +109 up up No 0 1 N/A +110 up up No 0 1 active +111 up up No 0 1 N/A +112 up up No 0 1 N/A +114 up up No 0 1 N/A +115 up up No 0 1 N/A +120 up up No 0 1 N/A +124 down down No 0 0 N/A +140 up up No 0 1 N/A +150 down down No 0 0 N/A +153 up up No 0 1 active +180 down down No 0 0 N/A +------------------------------------------------------------------------------- +Total Lag-ids: 31 Single Chassis: 27 MC Act: 3 MC Stdby: 1 +=============================================================================== diff --git a/tests/alcatel_sros/show_lag/show_lag.yml b/tests/alcatel_sros/show_lag/show_lag.yml new file mode 100644 index 0000000000..b3cf0f7ae8 --- /dev/null +++ b/tests/alcatel_sros/show_lag/show_lag.yml @@ -0,0 +1,219 @@ +--- +parsed_sample: + - lag_id: "1" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "2" + mc_act_stdby: "N/A" + - lag_id: "2" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "2" + mc_act_stdby: "N/A" + - lag_id: "3" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "4" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "5" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "10" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "20" + adm: "up" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "standby" + - lag_id: "70" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "80" + adm: "up" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "90" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "100" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "101" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "102" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "103" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "104" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "105" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "106" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "107" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "108" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "109" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "110" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "111" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "112" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "114" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "115" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "120" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "124" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "140" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "150" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "153" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "180" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" diff --git a/tests/alcatel_sros/show_port/show_port.raw b/tests/alcatel_sros/show_port/show_port.raw new file mode 100644 index 0000000000..45f4fa4501 --- /dev/null +++ b/tests/alcatel_sros/show_port/show_port.raw @@ -0,0 +1,238 @@ + +=============================================================================== +Ports on Slot 1 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +1/1/1 Up Yes Up 9212 9212 - hybr dotq xcme GIGE-SX +1/1/2 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/3 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/1/4 Up Yes Up 9212 9212 1 netw null xcme GIGE-SX +1/1/5 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/6 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/7 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/1/8 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/1/9 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/10 Up No Down 1518 1518 - accs dotq xcme GIGE-SX +1/1/11 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/1/12 Up Yes Up 9000 9000 - accs null xcme MDX GIGE-T +1/1/13 Up Yes Up 1514 1514 - accs null xcme GIGE-SX +1/1/14 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/1/15 Up Yes Up 9000 9000 - accs null xcme MDI GIGE-T +1/1/16 Up Yes Up 1514 1514 - accs null xcme GIGE-SX +1/1/17 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/1/18 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/19 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/1/20 Up Yes Up 9212 9212 - hybr dotq xcme MDX GIGE-T +1/1/21 Up Yes Up 1518 1518 - accs dotq xcme GIGE-SX +1/1/22 Up Yes Up 1518 1518 - accs dotq xcme GIGE-SX +1/1/23 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/24 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/1 Up No Down 1518 1518 - accs dotq xcme GIGE-SX +1/2/2 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/3 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/4 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/5 Up Yes Up 9212 9212 - hybr dotq xcme MDX GIGE-T +1/2/6 Up No Down 9022 9022 - accs null xcme GIGE-T +1/2/7 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/2/8 Up No Down 1514 1514 - accs null xcme +1/2/9 Up No Down 1518 1518 99 accs dotq xcme GIGE-SX +1/2/10 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/11 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/12 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/13 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/2/14 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/15 Up No Down 1570 1570 - accs dotq xcme GIGE-T +1/2/16 Up Yes Up 9022 9022 - accs null xcme MDX GIGE-T +1/2/17 Up Yes Up 1538 1538 - accs dotq xcme MDX GIGE-T +1/2/18 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/19 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/2/20 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/21 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/22 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/23 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/24 Up Yes Up 9212 9212 7 netw null xcme GIGE-SX + +=============================================================================== +Ports on Slot A +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +A/1 Up Yes Up 1514 1514 - netw null faste MDI +A/4 Up No Down 1514 1514 - netw null faste + +=============================================================================== +Ports on Slot B +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +B/1 Up No Down 1514 1514 - netw null faste +B/4 Up No Down 1514 1514 - netw null faste + + +=============================================================================== +Ports on Satellite esat-1 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +esat-1/1/1 Up Yes Up 1518 1518 5 accs dotq xcme MDI GIGE-T +esat-1/1/2 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +esat-1/1/3 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +esat-1/1/4 Up Yes Up 1538 1538 - accs dotq xcme MDX GIGE-T +esat-1/1/5 Up Yes Up 9022 9022 - accs null xcme MDX GIGE-T +esat-1/1/6 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +esat-1/1/7 Up Yes Up 9022 9022 - accs null xcme MDI GIGE-T +esat-1/1/8 Up No Down 9022 9022 - accs null xcme GIGE-T +esat-1/1/9 Down No Down 9208 9208 - netw null xcme +esat-1/1/10 Down No Down 9208 9208 - netw null xcme +esat-1/1/11 Down No Down 9208 9208 - netw null xcme +esat-1/1/12 Down No Down 9208 9208 - netw null xcme +esat-1/1/13 Down No Down 9208 9208 - netw null xcme +esat-1/1/14 Down No Down 9208 9208 - netw null xcme +esat-1/1/15 Down No Down 9208 9208 - netw null xcme +esat-1/1/16 Down No Down 9208 9208 - netw null xcme +esat-1/1/17 Down No Down 9208 9208 - netw null xcme +esat-1/1/18 Down No Down 9208 9208 - netw null xcme +esat-1/1/19 Down No Down 9208 9208 - netw null xcme +esat-1/1/20 Down No Down 9208 9208 - netw null xcme +esat-1/1/21 Down No Down 9208 9208 - netw null xcme +esat-1/1/22 Down No Down 9208 9208 - netw null xcme +esat-1/1/23 Down No Down 9208 9208 - netw null xcme +esat-1/1/24 Down No Down 9208 9208 - netw null xcme +esat-1/1/25 Down No Down 9208 9208 - netw null xcme +esat-1/1/26 Down No Down 9208 9208 - netw null xcme +esat-1/1/27 Down No Down 9208 9208 - netw null xcme +esat-1/1/28 Down No Down 9208 9208 - netw null xcme +esat-1/1/29 Down No Down 9208 9208 - netw null xcme +esat-1/1/30 Down No Down 9208 9208 - netw null xcme +esat-1/1/31 Up No Down 9208 9208 - netw null xcme +esat-1/1/32 Down No Down 9208 9208 - netw null xcme +esat-1/1/33 Down No Down 9208 9208 - netw null xcme +esat-1/1/34 Down No Down 9208 9208 - netw null xcme +esat-1/1/35 Down No Down 9208 9208 - netw null xcme +esat-1/1/36 Down No Down 9208 9208 - netw null xcme +esat-1/1/37 Down No Down 9208 9208 - netw null xcme +esat-1/1/38 Down No Down 9208 9208 - netw null xcme +esat-1/1/39 Down No Down 9208 9208 - netw null xcme +esat-1/1/40 Down No Down 9208 9208 - netw null xcme +esat-1/1/41 Down No Down 9208 9208 - netw null xcme +esat-1/1/42 Down No Down 9208 9208 - netw null xcme +esat-1/1/43 Down No Down 9208 9208 - netw null xcme +esat-1/1/44 Down No Down 9208 9208 - netw null xcme +esat-1/1/45 Down No Down 9208 9208 - netw null xcme +esat-1/1/46 Down No Down 9208 9208 - netw null xcme +esat-1/1/47 Down No Down 9208 9208 - netw null xcme +esat-1/1/48 Down No Down 9208 9208 - netw null xcme +esat-1/1/u1 Up Yes Up 9212 9212 - accs dotq xgige 10GBASE-LR * +esat-1/1/u2 Up No Down 9212 9212 - accs dotq xgige +esat-1/1/u3 Up No Down 9212 9212 - accs dotq xgige +esat-1/1/u4 Up No Down 9212 9212 - accs dotq xgige + +=============================================================================== +Ports on Satellite esat-2 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +esat-2/1/1 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/2 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/3 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/4 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/5 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/6 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/7 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/8 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/9 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/10 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/11 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/12 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/13 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/14 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/15 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/16 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/17 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/18 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/19 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/20 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/21 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/22 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/23 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/24 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/25 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/26 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/27 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/28 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/29 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/30 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/31 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/32 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/33 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/34 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/35 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/36 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/37 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/38 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/39 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/40 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/41 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/42 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/43 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/44 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/45 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/46 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/47 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/48 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/u1 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u2 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u3 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u4 Up No Ghost 9212 9212 - accs dotq xgige + +=============================================================================== +Ports on Slot 10 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +10/2/c1 Up Link Up conn 100GBASE-LR4* +10/2/c1/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c2 Up Link Up conn 100GBASE-LR4* +10/2/c2/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c3 Up Link Up conn 100GBASE-LR4* +10/2/c3/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c4 Down Down conn 100GBASE-LR4* +10/2/c5 Down Down conn +10/2/c6 Down Down conn +10/2/c7 Up Link Up conn 100GBASE-LR4* +10/2/c7/1 Up Yes Up 9192 9192 15 accs null cgige +10/2/c8 Up Link Up conn 100GBASE-LR4* +10/2/c8/1 Up Yes Up 9192 9192 30 accs null cgige +10/2/c9 Down Down conn 100GBASE-LR4* +10/2/c10 Up Link Up conn 100GBASE-LR4* +10/2/c10/1 Up Yes Up 9192 9192 24 accs null cgige +10/2/c11 Down Down conn +10/2/c12 Down Down conn +10/2/c13 Up Link Up conn 100GBASE-LR4* +10/2/c13/1 Up Yes Up 9192 9192 14 accs null cgige +10/2/c14 Up Link Up conn 100GBASE-LR4* +10/2/c14/1 Up Yes Link Up 9192 9192 14 accs null cgige +10/2/c15 Up Link Up conn 100GBASE-LR4* +10/2/c15/1 Down No Down 9192 9192 - accs null cgige +10/2/c16 Down Down conn 100GBASE-LR4* +10/2/c17 Down Down conn +10/2/c18 Down Down conn +10/2/c19 Up Link Up conn 100GBASE-LR4* +10/2/c19/1 Up Yes Up 9212 9212 7 netw null cgige +10/2/c20 Up Link Up conn 100GBASE-LR4* +10/2/c20/1 Up Yes Up 9212 9212 3 netw null cgige +10/2/c21 Up Link Up conn 100GBASE-LR4* +10/2/c21/1 Up Yes Up 9212 9212 7 netw null cgige +10/2/c22 Down Down conn +10/2/c23 Down Down conn +10/2/c24 Down Down conn +=============================================================================== +* indicates that the corresponding row element may have been truncated. + diff --git a/tests/alcatel_sros/show_port/show_port.yml b/tests/alcatel_sros/show_port/show_port.yml new file mode 100644 index 0000000000..6ca35c0cf2 --- /dev/null +++ b/tests/alcatel_sros/show_port/show_port.yml @@ -0,0 +1,2114 @@ +--- +parsed_sample: + - port_id: "1/1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/4" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "1" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/6" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/8" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/9" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/10" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/11" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/1/12" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9000" + oper_mtu: "9000" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/13" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/14" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/15" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9000" + oper_mtu: "9000" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/16" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/17" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/1/18" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/19" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/20" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/21" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/22" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/23" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/24" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/1" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/2/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/6" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/8" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "1/2/9" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "99" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/2/10" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/11" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/12" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/13" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/14" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/15" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1570" + oper_mtu: "1570" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/16" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/17" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1538" + oper_mtu: "1538" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/18" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/19" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/20" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/21" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/22" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/23" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/24" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "A/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "MDI" + - port_id: "A/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "B/1" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "B/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "5" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/4" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1538" + oper_mtu: "1538" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/6" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/8" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "esat-1/1/9" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/10" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/11" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/12" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/13" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/14" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/15" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/16" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/17" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/18" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/19" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/20" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/21" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/22" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/23" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/24" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/25" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/26" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/27" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/28" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/29" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/30" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/31" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/32" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/33" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/34" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/35" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/36" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/37" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/38" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/39" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/40" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/41" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/42" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/43" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/44" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/45" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/46" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/47" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/48" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "10GBASE-LR *" + - port_id: "esat-1/1/u2" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u3" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/1" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/2" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/3" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/4" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/5" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/6" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/7" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/8" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/9" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/10" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/11" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/12" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/13" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/14" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/15" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/16" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/17" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/18" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/19" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/20" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/21" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/22" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/23" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/24" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/25" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/26" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/27" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/28" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/29" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/30" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/31" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/32" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/33" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/34" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/35" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/36" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/37" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/38" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/39" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/40" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/41" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/42" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/43" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/44" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/45" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/46" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/47" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/48" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u1" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u2" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u3" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u4" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c1" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c2" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c2/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c3" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c3/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c4" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c5" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c6" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c7" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c7/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "15" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c8" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c8/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "30" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c9" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c10" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c10/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "24" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c11" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c12" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c13" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c13/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "14" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c14" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c14/1" + admin_state: "Up" + link: "Yes" + port_state: "Link Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "14" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c15" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c15/1" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c16" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c17" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c18" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c19" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c19/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c20" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c20/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "3" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c21" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c21/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c22" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c23" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c24" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" diff --git a/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw new file mode 100644 index 0000000000..c1da92864c --- /dev/null +++ b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw @@ -0,0 +1,64 @@ +[kvanlang@steffi upgrade-support]$ cat ../ntc-templates-test/lib/test-bgp-sum-family.raw +A:SRHERE01# show router "Base" bgp summary family ipv4 +=============================================================================== + BGP Router ID:192.0.2.11 AS:6848 Local AS:65535 +=============================================================================== +BGP Admin State : Up BGP Oper State : Up +Total Peer Groups : 6 Total Peers : 150 +Total VPN Peer Groups : 79 Total VPN Peers : 207 +Total BGP Paths : 407944 Total Path Memory : 160791243 + +Total IPv4 Remote Rts : 1725031 Total IPv4 Rem. Active Rts : 862201 +Total IPv6 Remote Rts : 0 Total IPv6 Rem. Active Rts : 0 +Total IPv4 Backup Rts : 0 Total IPv6 Backup Rts : 0 +Total LblIpv4 Rem Rts : 2844 Total LblIpv4 Rem. Act Rts : 311 +Total LblIpv6 Rem Rts : 196896 Total LblIpv6 Rem. Act Rts : 98446 +Total LblIpv4 Bkp Rts : 0 Total LblIpv6 Bkp Rts : 0 +Total Supressed Rts : 0 Total Hist. Rts : 0 +Total Decay Rts : 0 + +Total VPN-IPv4 Rem. Rts : 93000 Total VPN-IPv4 Rem. Act. Rts: 45689 +Total VPN-IPv6 Rem. Rts : 0 Total VPN-IPv6 Rem. Act. Rts: 0 +Total VPN-IPv4 Bkup Rts : 0 Total VPN-IPv6 Bkup Rts : 0 +Total VPN Local Rts : 1147 Total VPN Supp. Rts : 0 +Total VPN Hist. Rts : 0 Total VPN Decay Rts : 0 + +Total MVPN-IPv4 Rem Rts : 0 Total MVPN-IPv4 Rem Act Rts : 0 +Total MVPN-IPv6 Rem Rts : 0 Total MVPN-IPv6 Rem Act Rts : 0 +Total MDT-SAFI Rem Rts : 0 Total MDT-SAFI Rem Act Rts : 0 +Total McIPv4 Remote Rts : 0 Total McIPv4 Rem. Active Rts: 0 +Total McIPv6 Remote Rts : 0 Total McIPv6 Rem. Active Rts: 0 +Total McVpnIPv4 Rem Rts : 0 Total McVpnIPv4 Rem Act Rts : 0 +Total McVpnIPv6 Rem Rts : 0 Total McVpnIPv6 Rem Act Rts : 0 + +Total EVPN Rem Rts : 692 Total EVPN Rem Act Rts : 338 +Total L2-VPN Rem. Rts : 0 Total L2VPN Rem. Act. Rts : 0 +Total MSPW Rem Rts : 0 Total MSPW Rem Act Rts : 0 +Total RouteTgt Rem Rts : 1546 Total RouteTgt Rem Act Rts : 1546 +Total FlowIpv4 Rem Rts : 0 Total FlowIpv4 Rem Act Rts : 0 +Total FlowIpv6 Rem Rts : 0 Total FlowIpv6 Rem Act Rts : 0 +Total Link State Rem Rts: 0 Total Link State Rem Act Rts: 0 +Total SrPlcyIpv4 Rem Rts: 0 Total SrPlcyIpv4 Rem Act Rts: 0 + +=============================================================================== +BGP IPv4 Summary +=============================================================================== +Legend : D - Dynamic Neighbor +=============================================================================== +Neighbor + AS PktRcvd PktSent InQ OutQ Up/Down State|Recv/Actv/Sent +------------------------------------------------------------------------------- +192.0.2.118 + 42598* 228872 215409 0 0 25d10h18m 2/2/1 +192.0.2.110 + 42598 271035 249777 0 0 29d11h41m 1/1/1 +192.0.2.126 + 42598* 0 0 0 0 54d18h43m Connect +192.0.2.254 + 42598* 0 0 0 0 36d13h37m Active +192.0.2.103 + 65535 390698* 749512 0 0 54d18h40m 862440/627895/373 +192.0.2.104 + 65535 355316* 749512 0 0 54d18h40m 862439/234172/373 +------------------------------------------------------------------------------- +* indicates that the corresponding row element may have been truncated. diff --git a/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml new file mode 100644 index 0000000000..8bb40a7086 --- /dev/null +++ b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - neighbor: "192.0.2.118" + as: "42598*" + pktrcvd: "228872" + pktsent: "215409" + inq: "0" + outq: "0" + up_down: "25d10h18m" + state: "" + rcv: "2" + act: "2" + sent: "1" + - neighbor: "192.0.2.110" + as: "42598" + pktrcvd: "271035" + pktsent: "249777" + inq: "0" + outq: "0" + up_down: "29d11h41m" + state: "" + rcv: "1" + act: "1" + sent: "1" + - neighbor: "192.0.2.126" + as: "42598*" + pktrcvd: "0" + pktsent: "0" + inq: "0" + outq: "0" + up_down: "54d18h43m" + state: "Connect" + rcv: "" + act: "" + sent: "" + - neighbor: "192.0.2.254" + as: "42598*" + pktrcvd: "0" + pktsent: "0" + inq: "0" + outq: "0" + up_down: "36d13h37m" + state: "Active" + rcv: "" + act: "" + sent: "" + - neighbor: "192.0.2.103" + as: "65535" + pktrcvd: "390698*" + pktsent: "749512" + inq: "0" + outq: "0" + up_down: "54d18h40m" + state: "" + rcv: "862440" + act: "627895" + sent: "373" + - neighbor: "192.0.2.104" + as: "65535" + pktrcvd: "355316*" + pktsent: "749512" + inq: "0" + outq: "0" + up_down: "54d18h40m" + state: "" + rcv: "862439" + act: "234172" + sent: "373" diff --git a/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw new file mode 100644 index 0000000000..e43d0a9cdb --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw @@ -0,0 +1,11 @@ + +=============================================================================== +Rtr Base ISIS Instance 0 Adjacency +=============================================================================== +System ID Usage State Hold Interface MT-ID +------------------------------------------------------------------------------- +R2 L2 Up 27 R1_R2 0,2 +R3 L2 Up 19 R1_R3 0,2 +------------------------------------------------------------------------------- +Adjacencies : 2 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml new file mode 100644 index 0000000000..8000f44746 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - system_id: "R2" + usage: "L2" + state: "Up" + hold: "27" + interface: "R1_R2" + mt_id: "0,2" + - system_id: "R3" + usage: "L2" + state: "Up" + hold: "19" + interface: "R1_R3" + mt_id: "0,2" diff --git a/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw new file mode 100644 index 0000000000..1c9ef15e43 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw @@ -0,0 +1,12 @@ + +=============================================================================== +Rtr Base ISIS Instance 0 Interfaces +=============================================================================== +Interface Level CircID Oper State L1/L2 Metric +------------------------------------------------------------------------------- +system L1L2 1 Up 0/0 +R1_R2 L2 18 Up 10/10 +R1_R3 L1 21 Down 10/1000 +------------------------------------------------------------------------------- +Interfaces : 3 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml new file mode 100644 index 0000000000..e8312c5a73 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - interface: "system" + level: "L1L2" + circid: "1" + oper_state: "Up" + metric_l1: "0" + metric_l2: "0" + - interface: "R1_R2" + level: "L2" + circid: "18" + oper_state: "Up" + metric_l1: "10" + metric_l2: "10" + - interface: "R1_R3" + level: "L1" + circid: "21" + oper_state: "Down" + metric_l1: "10" + metric_l2: "1000" diff --git a/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw new file mode 100644 index 0000000000..42047f7189 --- /dev/null +++ b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw @@ -0,0 +1,18 @@ + +=============================================================================== +LDP Interfaces +=============================================================================== +Interface Adm/Opr + Sub-Interface(s) Adm/Opr Hello Hold KA KA Transport + Fctr Time Fctr Time Address +------------------------------------------------------------------------------- +R1_R2 Up/Up + ipv4 Up/Up 3 15 3 30 System +R1_R3 Up/Up + ipv4 Up/Up 3 15 3 30 System + ipv6 Up/Up 3 15 3 30 System +R1_R4 Up/Up + ipv4 Up/Dwn 3 15 3 30 System +------------------------------------------------------------------------------- +No. of Interfaces: 3 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml new file mode 100644 index 0000000000..36a90f65b5 --- /dev/null +++ b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - interface: "R1_R2" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Up" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" + - interface: "R1_R3" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Up" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" + - interface: "R1_R4" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Dwn" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" diff --git a/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw new file mode 100644 index 0000000000..72b2ccbb19 --- /dev/null +++ b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw @@ -0,0 +1,20 @@ + +=============================================================================== +PIM Interfaces ipv4 +=============================================================================== +Interface Adm Opr DR Prty Hello Intvl Mcast Send + DR +------------------------------------------------------------------------------- +R1_R2 Up Up 1 30 auto + 192.0.2.245 +R1_R3 Up Up 1 30 auto + 192.0.2.42 +R1_R4 Up Down 10 30 auto + N/A +R1_R5 Up Down 5 30 auto + N/A +R1_R6 Up Down N/A 30 auto + N/A +------------------------------------------------------------------------------- +Interfaces : 5 Tunnel-Interfaces : 0 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml new file mode 100644 index 0000000000..a26dec2f3b --- /dev/null +++ b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - interface: "R1_R2" + adm: "Up" + opr: "Up" + dr: "192.0.2.245" + dr_prty: "1" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R3" + adm: "Up" + opr: "Up" + dr: "192.0.2.42" + dr_prty: "1" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R4" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "10" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R5" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "5" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R6" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "N/A" + hello_intvl: "30" + mcast_send: "auto" From b0e422923068d6b504c6cf18956907d0a912ec31 Mon Sep 17 00:00:00 2001 From: Pieter Date: Thu, 19 Nov 2020 03:47:29 +1300 Subject: [PATCH 132/412] Update: NXOS show version - extract serial from "Processor board ID" (#813) --- .../cisco_ios_show_ip_eigrp_neighbors.textfsm | 3 +- ...sco_nxos_show_cdp_neighbors_detail.textfsm | 5 +- templates/cisco_nxos_show_version.textfsm | 3 + templates/index | 2 +- .../cisco_ios_show_ip_eigrp_neighbors2.raw | 6 ++ .../cisco_ios_show_ip_eigrp_neighbors2.yml | 29 ++++++ .../cisco_ios_show_ip_eigrp_neighbors3.raw | 4 + .../cisco_ios_show_ip_eigrp_neighbors3.yml | 11 +++ .../show_version/cisco_ios_show_version4.raw | 99 +++++++++++++++++++ .../show_version/cisco_ios_show_version4.yml | 18 ++++ .../cisco_nxos_show_cdp_neighbors_detail1.raw | 82 +++++++++++++++ .../cisco_nxos_show_cdp_neighbors_detail1.yml | 38 +++++++ ...o_nxos_show_ip_interface_brief_vrf_all.raw | 6 ++ ...o_nxos_show_ip_interface_brief_vrf_all.yml | 8 ++ .../show_version/cisco_nxos_show_version.yml | 1 + .../show_version/cisco_nxos_show_version1.yml | 1 + .../show_version/cisco_nxos_show_version2.yml | 1 + .../show_version/cisco_nxos_show_version3.raw | 44 +++++++++ .../show_version/cisco_nxos_show_version3.yml | 9 ++ .../show_version/cisco_nxos_show_version4.raw | 46 +++++++++ .../show_version/cisco_nxos_show_version4.yml | 9 ++ 21 files changed, 420 insertions(+), 5 deletions(-) create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version4.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version4.yml create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm b/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm index db6d66b26b..27bd2ee71f 100644 --- a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm +++ b/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm @@ -10,7 +10,8 @@ Value SEQ_NUM (\d+) Start ^.*\s+${ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$ -> Record - ^\s*(?:IP-|)EIGRP(?:-IPv(?:4|6)|)\s+[Nn]eighbors\s+for\s+(?:process\s+|AS\()${AS}(?:\)|)\s*$$ + ^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s*$$ + ^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s+VRF default\s*$$ ^\s*$$ ^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$ ^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm index 2fea1622e7..49e43e5ebd 100644 --- a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm +++ b/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm @@ -6,14 +6,14 @@ Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value VERSION (.*) Value INTERFACE_IP (.*) -Value CAPABILITIES (.*) +Value CAPABILITIES (.*[^\s]) Start ^Device ID:${DEST_HOST} ^System Name: ${SYSNAME} ^Interface address\(es\): -> GetInterfaceIP ^Mgmt address\(es\): -> GetIP - ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES}\s*$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version: -> GetVersion ^----- -> Record @@ -26,4 +26,3 @@ GetInterfaceIP GetVersion ^${VERSION} -> Start - diff --git a/templates/cisco_nxos_show_version.textfsm b/templates/cisco_nxos_show_version.textfsm index cb7bf0749c..890e785091 100755 --- a/templates/cisco_nxos_show_version.textfsm +++ b/templates/cisco_nxos_show_version.textfsm @@ -4,6 +4,7 @@ Value OS (\d+.\d+(.+)?) Value BOOT_IMAGE (.*) Value PLATFORM (\w+) Value HOSTNAME (.*) +Value SERIAL (\w+) Start ^\s+(NXOS: version|system:\s+version)\s+${OS}\s*$$ @@ -14,5 +15,7 @@ Start ^\s+cisco\s+Nexus\s+${PLATFORM}\s+[cC]hassis ^\s+Device\s+name:\s+${HOSTNAME}$$ ^\s+cisco\s+.+-${PLATFORM}\s* + # Nexus intel platform uses Board ID as serial/license + ^\s*Processor\s[Bb]oard\sID\s+${SERIAL}$$ ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/templates/index b/templates/index index c2f4de0d35..8460f77632 100644 --- a/templates/index +++ b/templates/index @@ -258,7 +258,7 @@ cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rward cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] -cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]] +cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]](?: vrf \S+)?\s*$ cisco_nxos_show_cts_interface_all.textfsm, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] cisco_nxos_show_ip_community-list.textfsm, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] cisco_nxos_show_mac_address-table.textfsm, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw new file mode 100644 index 0000000000..3d96e1aae2 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw @@ -0,0 +1,6 @@ +EIGRP-IPv4 Neighbors for AS(545) +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +2 10.205.205.11 Vl624 10 3w2d 4 100 0 13336 +0 10.230.205.27 Vl942 13 9w4d 1 100 0 35073 +1 10.230.205.23 Vl942 13 15w2d 1 100 0 1051652 diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml new file mode 100644 index 0000000000..1952b1362b --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - as: "545" + address: "10.205.205.11" + interface: "Vl624" + hold: "10" + uptime: "3w2d" + srtt: "4" + rto: "100" + q_cnt: "0" + seq_num: "13336" + - as: "545" + address: "10.230.205.27" + interface: "Vl942" + hold: "13" + uptime: "9w4d" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "35073" + - as: "545" + address: "10.230.205.23" + interface: "Vl942" + hold: "13" + uptime: "15w2d" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "1051652" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw new file mode 100644 index 0000000000..9a355162b9 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw @@ -0,0 +1,4 @@ +EIGRP-IPv4:(535) neighbors for process 535 +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +0 10.120.250.1 Vl250 10 1w0d 3 450 0 17091 diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml new file mode 100644 index 0000000000..168595aa22 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - as: "535" + address: "10.120.250.1" + interface: "Vl250" + hold: "10" + uptime: "1w0d" + srtt: "3" + rto: "450" + q_cnt: "0" + seq_num: "17091" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.raw b/tests/cisco_ios/show_version/cisco_ios_show_version4.raw new file mode 100644 index 0000000000..f71d5b9e03 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.raw @@ -0,0 +1,99 @@ +Cisco IOS XE Software, Version 16.09.03 +Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.3, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Wed 20-Mar-19 08:02 by mcpre + + +Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON +BOOTLDR: System Bootstrap, Version 16.9.1r [FC2], RELEASE SOFTWARE (P) + +AKBTESTW01 uptime is 1 year, 22 weeks, 6 days, 9 hours, 38 minutes +Uptime for this control processor is 1 year, 22 weeks, 6 days, 9 hours, 44 minutes +System returned to ROM by Reload Command at 22:09:11 NZST Wed May 1 2019 +System restarted at 22:16:13 NZST Wed May 1 2019 +System image file is "flash:packages.conf" +Last reload reason: Reload Command + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + + +Technology Package License Information: + +------------------------------------------------------------------------------ +Technology-package Technology-package +Current Type Next reboot +------------------------------------------------------------------------------ +network-advantage Smart License network-advantage +dna-advantage Subscription Smart License dna-advantage + + +Smart Licensing Status: UNREGISTERED/EVAL EXPIRED + +cisco C9500-40X (X86) processor with 1419496K/6147K bytes of memory. +Processor board ID FCW2233FFG3 +16 Virtual Ethernet interfaces +96 Ten Gigabit Ethernet interfaces +4 Forty Gigabit Ethernet interfaces +2048K bytes of non-volatile configuration memory. +16777216K bytes of physical memory. +1638400K bytes of Crash Files at crashinfo:. +1638400K bytes of Crash Files at crashinfo-2:. +11264000K bytes of Flash at flash:. +11264000K bytes of Flash at flash-2:. +0K bytes of WebUI ODM Files at webui:. + +Base Ethernet MAC Address : 0c:d0:f8:cd:b5:80 +Motherboard Assembly Number : 73-18140-03 +Motherboard Serial Number : FOC223855F9 +Model Revision Number : D0 +Motherboard Revision Number : B0 +Model Number : C9500-40X +System Serial Number : FCW2233FFG3 + + +Switch Ports Model SW Version SW Image Mode +------ ----- ----- ---------- ---------- ---- +* 1 50 C9500-40X 16.9.3 CAT9K_IOSXE INSTALL + 2 50 C9500-40X 16.9.3 CAT9K_IOSXE INSTALL + + +Switch 02 +--------- +Switch uptime : 1 year, 22 weeks, 6 days, 9 hours, 47 minutes + +Base Ethernet MAC Address : 70:35:09:dd:20:00 +Motherboard Assembly Number : 73-11122-03 +Motherboard Serial Number : FOC234567Y9 +Model Revision Number : D0 +Motherboard Revision Number : B0 +Model Number : C9500-40X +System Serial Number : FCW1234F88V + +Configuration register is 0x102 diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml new file mode 100644 index 0000000000..38ad8334dd --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - version: "16.9.3" + rommon: "IOS-XE" + hostname: "AKBTESTW01" + uptime: "1 year, 22 weeks, 6 days, 9 hours, 38 minutes" + reload_reason: "Reload Command" + running_image: "packages.conf" + hardware: + - "C9500-40X" + - "C9500-40X" + serial: + - "FCW2233FFG3" + - "FCW1234F88V" + config_register: "0x102" + mac: + - "0c:d0:f8:cd:b5:80" + - "70:35:09:dd:20:00" diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw new file mode 100644 index 0000000000..a817bdff60 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw @@ -0,0 +1,82 @@ +---------------------------------------- +Device ID:DC3P01SW01.test.co.nz +VTP Management Domain Name: + +Interface address(es): + IPv4 Address: 10.115.143.251 +Platform: WS-C3560X-24, Capabilities: Switch IGMP Filtering +Interface: mgmt0, Port ID (outgoing port): GigabitEthernet0/20 +Holdtime: 134 sec + +Version: +Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2012 by Cisco Systems, Inc. +Compiled Thu 09-Feb-12 18:32 by prod_rel_team + +Advertisement Version: 2 + +Native VLAN: 143 +Duplex: full +Mgmt address(es): + IPv4 Address: 10.115.143.251 +---------------------------------------- +Device ID:DC3TESTW01-55.test.co.nz(SSI3707070J) +System Name: DC3TESTW01-55 + +Interface address(es): + IPv4 Address: 10.115.17.253 +Platform: N5K-C5548UP, Capabilities: Router Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/1, Port ID (outgoing port): Ethernet1/31 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3, Sydney DC Rack P1, RU36 +Mgmt address(es): + IPv4 Address: 10.115.143.120 +---------------------------------------- +Device ID:DC3TESTW02.test.co.nz(SSI11111D2M) +System Name: DC3TESTW02 + +Interface address(es): + IPv4 Address: 10.115.143.21 +Platform: N5K-C5020P-BF, Capabilities: Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/21, Port ID (outgoing port): Ethernet1/21 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3 , Melbourne +Mgmt address(es): + IPv4 Address: 10.115.143.21 +---------------------------------------- +Device ID:DC3TESTW02.test.co.nz(SSI44444D2M) +System Name: DC3TESTW02 + +Interface address(es): + IPv4 Address: 10.115.143.21 +Platform: N5K-C5020P-BF, Capabilities: Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/22, Port ID (outgoing port): Ethernet1/22 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3 , Melbourne +Mgmt address(es): + IPv4 Address: 10.115.143.21 \ No newline at end of file diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml new file mode 100644 index 0000000000..eeac035473 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - dest_host: "DC3P01SW01.test.co.nz" + local_port: "mgmt0" + mgmt_ip: "10.115.143.251" + platform: "WS-C3560X-24" + remote_port: "GigabitEthernet0/20" + sysname: "" + version: "Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1)" + interface_ip: "10.115.143.251" + capabilities: "Switch IGMP Filtering" + - dest_host: "DC3TESTW01-55.test.co.nz(SSI3707070J)" + local_port: "Ethernet1/1" + mgmt_ip: "10.115.143.120" + platform: "N5K-C5548UP" + remote_port: "Ethernet1/31" + sysname: "DC3TESTW01-55" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.17.253" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "DC3TESTW02.test.co.nz(SSI11111D2M)" + local_port: "Ethernet1/21" + mgmt_ip: "10.115.143.21" + platform: "N5K-C5020P-BF" + remote_port: "Ethernet1/21" + sysname: "DC3TESTW02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.143.21" + capabilities: "Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "DC3TESTW02.test.co.nz(SSI44444D2M)" + local_port: "Ethernet1/22" + mgmt_ip: "10.115.143.21" + platform: "N5K-C5020P-BF" + remote_port: "Ethernet1/22" + sysname: "DC3TESTW02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.143.21" + capabilities: "Switch IGMP Filtering Supports-STP-Dispute" diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw new file mode 100644 index 0000000000..712c8a0c59 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw @@ -0,0 +1,6 @@ +IP Interface Status for VRF "default"(1) +Interface IP Address Interface Status + +IP Interface Status for VRF "management"(2) +Interface IP Address Interface Status +mgmt0 10.205.143.20 protocol-up/link-up/admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml new file mode 100644 index 0000000000..0341032c16 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - vrf: "management" + intf: "mgmt0" + ipaddr: "10.205.143.20" + status: "admin-up" + link: "link-up" + proto: "protocol-up" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml index 5b0509266f..aa0db339df 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" platform: "C9396PX" hostname: "N9K1" + serial: "SAL1819S6LU" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml index 26ccb1b5d2..1f26b1137d 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" platform: "C9396PX" hostname: "Leaf-101" + serial: "SAL1909A8CT" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml index e6e6aa8667..41cdf083c5 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin" platform: "5596" hostname: "IEDP02-N5K-SW01" + serial: "FOC17153X08" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw new file mode 100644 index 0000000000..379e5a125d --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw @@ -0,0 +1,44 @@ +Cisco Nexus Operating System (NX-OS) Software +TAC support: http://www.cisco.com/tac +Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html +Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved. +The copyrights to certain works contained herein are owned by +other third parties and are used and distributed under license. +Some parts of this software are covered under the GNU Public +License. A copy of the license is available at +http://www.gnu.org/licenses/gpl.html. + +Software + BIOS: version 3.6.0 + loader: version N/A + kickstart: version 5.2(1)N1(4) + system: version 5.2(1)N1(4) + power-seq: Module 1: version v1.0 + Module 3: version v5.0 + uC: version v1.2.0.1 + SFP uC: Module 1: v1.0.0.0 + BIOS compile time: 05/09/2012 + kickstart image file is: bootflash:///n5000-uk9-kickstart.5.2.1.N1.4.bin + kickstart compile time: 3/19/2013 3:00:00 [03/19/2013 23:12:59] + system image file is: bootflash:///n5000-uk9.5.2.1.N1.4.bin + system compile time: 3/19/2013 3:00:00 [03/20/2013 01:10:47] + + +Hardware + cisco Nexus5548 Chassis ("O2 32X10GE/Modular Universal Platform Supervisor") + Intel(R) Xeon(R) CPU with 8263848 kB of memory. + Processor Board ID FOC171737PL + + Device name: DC2TESTSW01-55 + bootflash: 2007040 kB + +Kernel uptime is 311 day(s), 0 hour(s), 27 minute(s), 35 second(s) + +Last reset at 629197 usecs after Thu Dec 5 15:17:54 2019 + + Reason: Reset triggered due to HA policy of Reset + System version: 5.2(1)N1(4) + Service: __inst_001__eigrp hap reset + +plugin + Core Plugin, Ethernet Plugin diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml new file mode 100644 index 0000000000..904e5047a9 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - uptime: "311 day(s), 0 hour(s), 27 minute(s), 35 second(s)" + last_reboot_reason: "Reset triggered due to HA policy of Reset" + os: "5.2(1)N1(4)" + boot_image: "bootflash:///n5000-uk9-kickstart.5.2.1.N1.4.bin" + platform: "Nexus5548" + hostname: "DC2TESTSW01-55" + serial: "FOC171737PL" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw new file mode 100644 index 0000000000..2050da2dd1 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw @@ -0,0 +1,46 @@ +Cisco Nexus Operating System (NX-OS) Software +TAC support: http://www.cisco.com/tac +Copyright (C) 2002-2016, Cisco and/or its affiliates. +All rights reserved. +The copyrights to certain works contained in this software are +owned by other third parties and used and distributed under their own +licenses, such as open source. This software is provided "as is," and unless +otherwise stated, there is no warranty, express or implied, including but not +limited to warranties of merchantability and fitness for a particular purpose. +Certain components of this software are licensed under +the GNU General Public License (GPL) version 2.0 or +GNU General Public License (GPL) version 3.0 or the GNU +Lesser General Public License (LGPL) Version 2.1 or +Lesser General Public License (LGPL) Version 2.0. +A copy of each such license is available at +http://www.opensource.org/licenses/gpl-2.0.php and +http://opensource.org/licenses/gpl-3.0.html and +http://www.opensource.org/licenses/lgpl-2.1.php and +http://www.gnu.org/licenses/old-licenses/library.txt. + +Software + BIOS: version 07.51 + NXOS: version 7.0(3)I4(3) + BIOS compile time: 02/15/2016 + NXOS image file is: bootflash:///nxos.7.0.3.I4.3.bin + NXOS compile time: 9/2/2016 3:00:00 [09/02/2016 23:19:13] + + +Hardware + cisco Nexus9000 C9372PX chassis + Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16401548 kB of memory. + Processor Board ID SAL2211QQWS + + Device name: obttestw02 + bootflash: 21693714 kB +Kernel uptime is 670 day(s), 6 hour(s), 34 minute(s), 1 second(s) + +Last reset + Reason: Unknown + System version: 7.0(3)I4(3) + Service: + +plugin + Core Plugin, Ethernet Plugin + +Active Package(s): diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml new file mode 100644 index 0000000000..eabf815c96 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - uptime: "670 day(s), 6 hour(s), 34 minute(s), 1 second(s)" + last_reboot_reason: "Unknown" + os: "7.0(3)I4(3)" + boot_image: "bootflash:///nxos.7.0.3.I4.3.bin" + platform: "C9372PX" + hostname: "obttestw02" + serial: "SAL2211QQWS" From cf0e09e3abe9e8b818398f1b86eca8a8214a1d7f Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Tue, 1 Dec 2020 00:25:17 +0100 Subject: [PATCH 133/412] New template: Vyatta/VyOS BGP summary (#828) --- templates/index | 1 + .../vyatta_vyos_show_ip_bgp_summary.textfsm | 23 ++++++++++++++++ .../vyatta_vyos_show_ip_bgp_summary.raw | 13 ++++++++++ .../vyatta_vyos_show_ip_bgp_summary.yml | 26 +++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 templates/vyatta_vyos_show_ip_bgp_summary.textfsm create mode 100644 tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw create mode 100644 tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml diff --git a/templates/index b/templates/index index 8460f77632..8e80913455 100644 --- a/templates/index +++ b/templates/index @@ -436,6 +436,7 @@ ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] vmware_nsxv_show_ip_bgp_neighbors.textfsm, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] vmware_nsxv_show_ip_route.textfsm, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] +vyatta_vyos_show_ip_bgp_summary.textfsm, .*, .*vyos.*, sh[[ow]] ip bgp sum[[mary]] vyatta_vyos_show_interfaces.textfsm, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.textfsm, .*, .*vyos.*, sh[[ow]] a[[rp]] diff --git a/templates/vyatta_vyos_show_ip_bgp_summary.textfsm b/templates/vyatta_vyos_show_ip_bgp_summary.textfsm new file mode 100644 index 0000000000..2b2cff42bb --- /dev/null +++ b/templates/vyatta_vyos_show_ip_bgp_summary.textfsm @@ -0,0 +1,23 @@ +Value Filldown ROUTER_ID (\S+) +Value Filldown LOCAL_AS (\d+) +Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value NEIGH_AS (\d+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value UP_DOWN (\S+?) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) + +Start + ^IPv4\s+Unicast\s+Summary:$$ + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS}\s+vrf-id\s+\d+$$ + ^BGP\s+table\s+version\s+\d+$$ + ^RIB\s+entries\s+\d+,\s+using\s+\d+\s+MiB\s+of\s+memory$$ + ^Peers\s+\d+,\s+using\s+\d+\s+KiB\s+of\s+memory$$ + ^Peer\s+groups\s+\d+,\s+using\s+\d+\s+bytes\s+of\s+memory$$ + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd$$ + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}(\s+\d+?){3}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^Total\s+number\s+of\s+neighbors\s+\d+$$ + ^\s*$$ + ^. -> Error + +EOF diff --git a/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw new file mode 100644 index 0000000000..8cb99f2dfa --- /dev/null +++ b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw @@ -0,0 +1,13 @@ +IPv4 Unicast Summary: +BGP router identifier 10.10.10.1, local AS number 123456 vrf-id 0 +BGP table version 50711224 +RIB entries 1537189, using 270 MiB of memory +Peers 3, using 593 KiB of memory +Peer groups 4, using 256 bytes of memory + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.10.10.10 4 1234 71460 69353 0 0 0 5d13h10m 0 +123.123.123.123 4 345612 450590 34688 0 0 0 1d00h18m 0 +193.189.82.105 4 12365 0 0 0 0 0 never Active + +Total number of neighbors 3 diff --git a/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml new file mode 100644 index 0000000000..fe5b33b6d1 --- /dev/null +++ b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "10.10.10.10" + neigh_as: "1234" + msg_rcvd: "71460" + msg_sent: "69353" + up_down: "5d13h10m" + state_pfxrcd: "0" + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "123.123.123.123" + neigh_as: "345612" + msg_rcvd: "450590" + msg_sent: "34688" + up_down: "1d00h18m" + state_pfxrcd: "0" + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "193.189.82.105" + neigh_as: "12365" + msg_rcvd: "0" + msg_sent: "0" + up_down: "never" + state_pfxrcd: "Active" From a0513a4267dbb0194beaf786011a596bac609022 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 1 Dec 2020 09:59:30 -0500 Subject: [PATCH 134/412] Change fortinet_fortios to fortinet per Netmiko (#831) --- ...textfsm => fortinet_get_router_info_bgp_summary.textfsm} | 0 ...erface.textfsm => fortinet_get_system_interface.textfsm} | 0 ...em_status.textfsm => fortinet_get_system_status.textfsm} | 0 templates/index | 6 +++--- .../fortinet_get_router_info_bgp_summary.raw} | 0 .../fortinet_get_router_info_bgp_summary.yml} | 0 .../get_system_interface/fortinet_get_system_interface.raw} | 0 .../get_system_interface/fortinet_get_system_interface.yml} | 0 .../get_system_status/fortinet_get_system_status.raw} | 0 .../get_system_status/fortinet_get_system_status.yml} | 0 tests/test_index_order.py | 2 +- 11 files changed, 4 insertions(+), 4 deletions(-) rename templates/{fortinet_fortios_get_router_info_bgp_summary.textfsm => fortinet_get_router_info_bgp_summary.textfsm} (100%) rename templates/{fortinet_fortios_get_system_interface.textfsm => fortinet_get_system_interface.textfsm} (100%) rename templates/{fortinet_fortios_get_system_status.textfsm => fortinet_get_system_status.textfsm} (100%) rename tests/{fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw => fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw} (100%) rename tests/{fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml => fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml} (100%) rename tests/{fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw => fortinet/get_system_interface/fortinet_get_system_interface.raw} (100%) rename tests/{fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml => fortinet/get_system_interface/fortinet_get_system_interface.yml} (100%) rename tests/{fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw => fortinet/get_system_status/fortinet_get_system_status.raw} (100%) rename tests/{fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml => fortinet/get_system_status/fortinet_get_system_status.yml} (100%) diff --git a/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm b/templates/fortinet_get_router_info_bgp_summary.textfsm similarity index 100% rename from templates/fortinet_fortios_get_router_info_bgp_summary.textfsm rename to templates/fortinet_get_router_info_bgp_summary.textfsm diff --git a/templates/fortinet_fortios_get_system_interface.textfsm b/templates/fortinet_get_system_interface.textfsm similarity index 100% rename from templates/fortinet_fortios_get_system_interface.textfsm rename to templates/fortinet_get_system_interface.textfsm diff --git a/templates/fortinet_fortios_get_system_status.textfsm b/templates/fortinet_get_system_status.textfsm similarity index 100% rename from templates/fortinet_fortios_get_system_status.textfsm rename to templates/fortinet_get_system_status.textfsm diff --git a/templates/index b/templates/index index 8e80913455..5d44cbbd09 100644 --- a/templates/index +++ b/templates/index @@ -369,9 +369,9 @@ dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] -fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] -fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[i]]nterface -fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus +fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] +fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface +fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw b/tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw similarity index 100% rename from tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw rename to tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml b/tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml similarity index 100% rename from tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml rename to tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw similarity index 100% rename from tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw rename to tests/fortinet/get_system_interface/fortinet_get_system_interface.raw diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml similarity index 100% rename from tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml rename to tests/fortinet/get_system_interface/fortinet_get_system_interface.yml diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw b/tests/fortinet/get_system_status/fortinet_get_system_status.raw similarity index 100% rename from tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw rename to tests/fortinet/get_system_status/fortinet_get_system_status.raw diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml b/tests/fortinet/get_system_status/fortinet_get_system_status.yml similarity index 100% rename from tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml rename to tests/fortinet/get_system_status/fortinet_get_system_status.yml diff --git a/tests/test_index_order.py b/tests/test_index_order.py index a6e378991b..382d0c24e2 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -37,7 +37,7 @@ "enterasys", "extreme", "f5_ltm", - "fortinet_fortios", + "fortinet", "hp_comware", "hp_procurve", "huawei_vrp", From ac9a9201b8f3f5c07dfd863a68b625ef8687c743 Mon Sep 17 00:00:00 2001 From: nidebr Date: Tue, 1 Dec 2020 17:32:00 +0100 Subject: [PATCH 135/412] New template: Dell PowerConnect show int description (#827) --- ...rconnect_show_bridge_address_table.textfsm | 13 + ...onnect_show_interfaces_description.textfsm | 12 + ...owerconnect_show_interfaces_status.textfsm | 21 + templates/index | 6 +- ...powerconnect_show_bridge_address_table.raw | 30 ++ ...powerconnect_show_bridge_address_table.yml | 106 +++++ ...werconnect_show_interfaces_description.raw | 61 +++ ...werconnect_show_interfaces_description.yml | 98 ++++ ...ll_powerconnect_show_interfaces_status.raw | 63 +++ ...ll_powerconnect_show_interfaces_status.yml | 434 ++++++++++++++++++ tests/test_index_order.py | 1 + 11 files changed, 844 insertions(+), 1 deletion(-) create mode 100644 templates/dell_powerconnect_show_bridge_address_table.textfsm create mode 100644 templates/dell_powerconnect_show_interfaces_description.textfsm create mode 100644 templates/dell_powerconnect_show_interfaces_status.textfsm create mode 100644 tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw create mode 100644 tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml create mode 100644 tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw create mode 100644 tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml create mode 100644 tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw create mode 100644 tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml diff --git a/templates/dell_powerconnect_show_bridge_address_table.textfsm b/templates/dell_powerconnect_show_bridge_address_table.textfsm new file mode 100644 index 0000000000..814c99abb6 --- /dev/null +++ b/templates/dell_powerconnect_show_bridge_address_table.textfsm @@ -0,0 +1,13 @@ +Value DESTINATION_ADDRESS ((\w\w:){5}\w\w) +Value TYPE (dynamic|self) +Value VLAN (\w+) +Value DESTINATION_PORT (\S+) + +Start + ^\s+Vlan\s+Mac\s+Address\s+Port\s+Type -> Begin + +Begin + ^-+ + ^Aging + ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${DESTINATION_PORT}\s+${TYPE} -> Record + ^. -> Error diff --git a/templates/dell_powerconnect_show_interfaces_description.textfsm b/templates/dell_powerconnect_show_interfaces_description.textfsm new file mode 100644 index 0000000000..da9039950e --- /dev/null +++ b/templates/dell_powerconnect_show_interfaces_description.textfsm @@ -0,0 +1,12 @@ +Value INTERFACE (\S+) +Value DESCRIPTION (\S*) + +Start + ^Port\s+Description -> Begin + +Begin + ^-+ + ^Ch\s+Description -> End + ^${INTERFACE}\s*${DESCRIPTION}\s*$$ -> Record + ^\s* + ^. -> Error diff --git a/templates/dell_powerconnect_show_interfaces_status.textfsm b/templates/dell_powerconnect_show_interfaces_status.textfsm new file mode 100644 index 0000000000..5dfecdc756 --- /dev/null +++ b/templates/dell_powerconnect_show_interfaces_status.textfsm @@ -0,0 +1,21 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value DUPLEX (Full|Half|--) +Value SPEED (\d+|--) +Value NEG (Enabled|Disabled|--) +Value FLOWCTRL (Off|On|--) +Value LINKSTATE (Up|Down) +Value BACKPRESSURE (Disabled|Enabled|--) +Value MDIXMODE (Off|On|--) + +Start + ^Port\s+Type\s+Duplex\s+Speed\s+Neg\s+ctrl\s+State\s+Pressure\s+Mode -> Begin + +Begin + ^\s+Flow\s+Link\s+Back\s+Mdix + ^-+ + ^${PORT}\s+${TYPE}\s+${DUPLEX}\s+${SPEED}\s+${NEG}\s+${FLOWCTRL}\s+${LINKSTATE}\s+${BACKPRESSURE}\s+${MDIXMODE} -> Record + ^\s+Flow\s+Link + ^Ch\s+Type\s+Duplex\s+Speed\s+Neg\s+control\s+State -> End + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index 5d44cbbd09..f17ff3b334 100644 --- a/templates/index +++ b/templates/index @@ -77,7 +77,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] -broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] +broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_mac-addr-table.textfsm, .*, broadcom_icos, sh[[ow]] mac-addr-[[table]] broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] @@ -369,6 +369,10 @@ dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] +dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] des[[cription]] +dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] +dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] + fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus diff --git a/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw new file mode 100644 index 0000000000..edb5d4b384 --- /dev/null +++ b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw @@ -0,0 +1,30 @@ +Aging time is 300 sec + + Vlan Mac Address Port Type +-------- --------------------- ------ ---------- + 5 00:08:e3:ff:fc:28 g48 dynamic + 5 00:13:c6:05:d3:1f g48 dynamic + 5 0c:f5:a4:cf:21:1f g48 dynamic + 5 8c:60:4f:59:90:81 g44 dynamic + 5 8c:60:4f:59:98:01 g43 dynamic + 12 00:08:e3:ff:fc:28 g48 dynamic + 12 00:11:32:7c:0e:ba g48 dynamic + 220 00:08:e3:ff:fc:28 g48 dynamic + 220 00:0a:f7:14:c0:92 g48 dynamic + 220 00:0a:f7:14:c3:80 g48 dynamic + 220 00:0a:f7:38:33:10 g48 dynamic + 220 00:0a:f7:6a:56:30 g48 dynamic + 220 4c:d9:8f:00:31:7a g19 dynamic + 220 4c:d9:8f:00:33:24 g17 dynamic + 220 4c:d9:8f:09:c9:10 g31 dynamic + 220 4c:d9:8f:09:c9:16 g30 dynamic + 220 4c:d9:8f:09:c9:40 g37 dynamic + 220 4c:d9:8f:9f:04:3c g48 dynamic + 220 5c:f9:dd:fd:8b:72 g12 dynamic + 220 5c:f9:dd:fd:8c:28 g38 dynamic + 220 5c:f9:dd:fd:90:bc g11 dynamic + 220 5c:f9:dd:fd:9a:da g10 dynamic + 220 70:81:05:1d:e6:e2 g48 dynamic + 220 70:b5:e8:d5:de:d6 g13 dynamic + 220 70:b5:e8:d5:e2:fc g2 dynamic + 220 70:b5:e8:d5:e6:d4 g1 dynamic diff --git a/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml new file mode 100644 index 0000000000..af969b75f8 --- /dev/null +++ b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "00:13:c6:05:d3:1f" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "0c:f5:a4:cf:21:1f" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "8c:60:4f:59:90:81" + type: "dynamic" + vlan: "5" + destination_port: "g44" + - destination_address: "8c:60:4f:59:98:01" + type: "dynamic" + vlan: "5" + destination_port: "g43" + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "12" + destination_port: "g48" + - destination_address: "00:11:32:7c:0e:ba" + type: "dynamic" + vlan: "12" + destination_port: "g48" + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:14:c0:92" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:14:c3:80" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:38:33:10" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:6a:56:30" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "4c:d9:8f:00:31:7a" + type: "dynamic" + vlan: "220" + destination_port: "g19" + - destination_address: "4c:d9:8f:00:33:24" + type: "dynamic" + vlan: "220" + destination_port: "g17" + - destination_address: "4c:d9:8f:09:c9:10" + type: "dynamic" + vlan: "220" + destination_port: "g31" + - destination_address: "4c:d9:8f:09:c9:16" + type: "dynamic" + vlan: "220" + destination_port: "g30" + - destination_address: "4c:d9:8f:09:c9:40" + type: "dynamic" + vlan: "220" + destination_port: "g37" + - destination_address: "4c:d9:8f:9f:04:3c" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "5c:f9:dd:fd:8b:72" + type: "dynamic" + vlan: "220" + destination_port: "g12" + - destination_address: "5c:f9:dd:fd:8c:28" + type: "dynamic" + vlan: "220" + destination_port: "g38" + - destination_address: "5c:f9:dd:fd:90:bc" + type: "dynamic" + vlan: "220" + destination_port: "g11" + - destination_address: "5c:f9:dd:fd:9a:da" + type: "dynamic" + vlan: "220" + destination_port: "g10" + - destination_address: "70:81:05:1d:e6:e2" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "70:b5:e8:d5:de:d6" + type: "dynamic" + vlan: "220" + destination_port: "g13" + - destination_address: "70:b5:e8:d5:e2:fc" + type: "dynamic" + vlan: "220" + destination_port: "g2" + - destination_address: "70:b5:e8:d5:e6:d4" + type: "dynamic" + vlan: "220" + destination_port: "g1" diff --git a/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw new file mode 100644 index 0000000000..547268c5f8 --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw @@ -0,0 +1,61 @@ +Port Description +------- ----------- +g1 TO_SRV05-VSAN_[DRAC] +g2 TO_SRV11-V6_[DRAC] +g3 TO_SRV06-V6_[DRAC] +g4 TO_SRV07-V6_[DRAC] +g5 TO_SRV08-V6_[DRAC] +g6 TO-NAS-MASTER_[DRAC] +g7 TO-NAS-MASTER_[admin] +g8 SRV-IDRAC +g9 SRV-EXT2-IDRAC +g10 TO_SRV02-V3_[DRAC] +g11 TO_SRV03-V3_[DRAC] +g12 TO_SRV04-V3_[DRAC] +g13 TO_SRV12-V6_[DRAC] +g14 TO_SRV01-V4_[DRAC] +g15 TO_SRV02-V4_[DRAC] +g16 TO_SRV09-ESS_[DRAC] +g17 TO_SRV01-V2_[DRAC] +g18 TO_SRV02-V2_[DRAC] +g19 TO_SRV03-V2_[DRAC] +g20 TO_SRV04-V2_[DRAC] +g21 TO_SAN-SAS-2_[C0] +g22 TO_SAN-SAS-2_[C1] +g23 TO_SRV09-V6_[DRAC] +g24 TO_SRV10-V6_[DRAC] +g25 TO_SRV04-VSAN_[DRAC] +g26 TO_SRV07-LC_[DRAC] +g27 TO_SRV03-VSAN_[DRAC] +g28 TO_SAN-[CTRL-0] +g29 TO_SAN-[CTRL-1] +g30 TO_SRV10-VSAN_[DRAC] +g31 TO_SRV09-VSAN_[DRAC] +g32 TO_SRV02-VSAN_[DRAC] +g33 TO_SAN2-[CTRL-0] +g34 TO_SAN2-[CTRL-1] +g35 TO_SAN3[CTRL-0] +g36 TO_SAN3[CTRL-1] +g37 TO_SRV01-VSAN_[DRAC] +g38 TO_SRV01-V3_[DRAC] +g39 TO_SAN4[CTRL-0] +g40 TO_SAN4[CTRL-1] +g41 TO_SAN5[CTRL-0] +g42 TO_SAN5[CTRL-1] +g43 TO_UPLINK1_[1Gbit] +g44 TO_UPLINK2_[1Gbit] +g45 TO_SRV07-V2_[DRAC] +g46 +g47 +g48 ADMIN_[1Gbit] + +Ch Description +------- ----------- +ch1 +ch2 +ch3 +ch4 +ch5 +ch6 +ch7 +ch8 diff --git a/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml new file mode 100644 index 0000000000..e66ca3b4e6 --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - interface: "g1" + description: "TO_SRV05-VSAN_[DRAC]" + - interface: "g2" + description: "TO_SRV11-V6_[DRAC]" + - interface: "g3" + description: "TO_SRV06-V6_[DRAC]" + - interface: "g4" + description: "TO_SRV07-V6_[DRAC]" + - interface: "g5" + description: "TO_SRV08-V6_[DRAC]" + - interface: "g6" + description: "TO-NAS-MASTER_[DRAC]" + - interface: "g7" + description: "TO-NAS-MASTER_[admin]" + - interface: "g8" + description: "SRV-IDRAC" + - interface: "g9" + description: "SRV-EXT2-IDRAC" + - interface: "g10" + description: "TO_SRV02-V3_[DRAC]" + - interface: "g11" + description: "TO_SRV03-V3_[DRAC]" + - interface: "g12" + description: "TO_SRV04-V3_[DRAC]" + - interface: "g13" + description: "TO_SRV12-V6_[DRAC]" + - interface: "g14" + description: "TO_SRV01-V4_[DRAC]" + - interface: "g15" + description: "TO_SRV02-V4_[DRAC]" + - interface: "g16" + description: "TO_SRV09-ESS_[DRAC]" + - interface: "g17" + description: "TO_SRV01-V2_[DRAC]" + - interface: "g18" + description: "TO_SRV02-V2_[DRAC]" + - interface: "g19" + description: "TO_SRV03-V2_[DRAC]" + - interface: "g20" + description: "TO_SRV04-V2_[DRAC]" + - interface: "g21" + description: "TO_SAN-SAS-2_[C0]" + - interface: "g22" + description: "TO_SAN-SAS-2_[C1]" + - interface: "g23" + description: "TO_SRV09-V6_[DRAC]" + - interface: "g24" + description: "TO_SRV10-V6_[DRAC]" + - interface: "g25" + description: "TO_SRV04-VSAN_[DRAC]" + - interface: "g26" + description: "TO_SRV07-LC_[DRAC]" + - interface: "g27" + description: "TO_SRV03-VSAN_[DRAC]" + - interface: "g28" + description: "TO_SAN-[CTRL-0]" + - interface: "g29" + description: "TO_SAN-[CTRL-1]" + - interface: "g30" + description: "TO_SRV10-VSAN_[DRAC]" + - interface: "g31" + description: "TO_SRV09-VSAN_[DRAC]" + - interface: "g32" + description: "TO_SRV02-VSAN_[DRAC]" + - interface: "g33" + description: "TO_SAN2-[CTRL-0]" + - interface: "g34" + description: "TO_SAN2-[CTRL-1]" + - interface: "g35" + description: "TO_SAN3[CTRL-0]" + - interface: "g36" + description: "TO_SAN3[CTRL-1]" + - interface: "g37" + description: "TO_SRV01-VSAN_[DRAC]" + - interface: "g38" + description: "TO_SRV01-V3_[DRAC]" + - interface: "g39" + description: "TO_SAN4[CTRL-0]" + - interface: "g40" + description: "TO_SAN4[CTRL-1]" + - interface: "g41" + description: "TO_SAN5[CTRL-0]" + - interface: "g42" + description: "TO_SAN5[CTRL-1]" + - interface: "g43" + description: "TO_UPLINK1_[1Gbit]" + - interface: "g44" + description: "TO_UPLINK2_[1Gbit]" + - interface: "g45" + description: "TO_SRV07-V2_[DRAC]" + - interface: "g46" + description: "" + - interface: "g47" + description: "" + - interface: "g48" + description: "ADMIN_[1Gbit]" diff --git a/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw new file mode 100644 index 0000000000..9445049bec --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw @@ -0,0 +1,63 @@ +Flow Link Back Mdix +Port Type Duplex Speed Neg ctrl State Pressure Mode +-------- ------------ ------ ----- -------- ---- ----------- -------- ------- +g1 1G-Copper Full 1000 Enabled Off Up Disabled On +g2 1G-Copper Full 1000 Enabled Off Up Disabled On +g3 1G-Copper Full 1000 Enabled Off Up Disabled On +g4 1G-Copper Full 1000 Enabled Off Up Disabled On +g5 1G-Copper Full 1000 Enabled Off Up Disabled On +g6 1G-Copper Full 100 Enabled Off Up Disabled On +g7 1G-Copper Full 100 Enabled Off Up Disabled On +g8 1G-Copper Full 1000 Enabled Off Up Disabled On +g9 1G-Copper Full 1000 Enabled Off Up Disabled On +g10 1G-Copper Full 1000 Enabled Off Up Disabled Off +g11 1G-Copper Full 1000 Enabled Off Up Disabled On +g12 1G-Copper Full 1000 Enabled Off Up Disabled On +g13 1G-Copper Full 1000 Enabled Off Up Disabled On +g14 1G-Copper Full 1000 Enabled Off Up Disabled On +g15 1G-Copper Full 1000 Enabled Off Up Disabled On +g16 1G-Copper Full 1000 Enabled Off Up Disabled On +g17 1G-Copper Full 1000 Enabled Off Up Disabled Off +g18 1G-Copper Full 1000 Enabled Off Up Disabled On +g19 1G-Copper Full 1000 Enabled Off Up Disabled On +g20 1G-Copper Full 1000 Enabled Off Up Disabled On +g21 1G-Copper Full 100 Enabled Off Up Disabled On +g22 1G-Copper Full 100 Enabled Off Up Disabled On +g23 1G-Copper Full 1000 Enabled Off Up Disabled On +g24 1G-Copper Full 1000 Enabled Off Up Disabled Off +g25 1G-Copper Full 1000 Enabled Off Up Disabled On +g26 1G-Copper Full 1000 Enabled Off Up Disabled On +g27 1G-Copper Full 1000 Enabled Off Up Disabled On +g28 1G-Copper Full 100 Enabled Off Up Disabled On +g29 1G-Copper Full 100 Enabled Off Up Disabled On +g30 1G-Copper Full 1000 Enabled Off Up Disabled On +g31 1G-Copper Full 1000 Enabled Off Up Disabled Off +g32 1G-Copper Full 1000 Enabled Off Up Disabled Off +g33 1G-Copper Full 100 Enabled Off Up Disabled On +g34 1G-Copper Full 100 Enabled Off Up Disabled On +g35 1G-Copper Full 100 Enabled Off Up Disabled On +g36 1G-Copper -- -- -- -- Down -- -- +g37 1G-Copper Full 1000 Enabled Off Up Disabled On +g38 1G-Copper Full 1000 Enabled Off Up Disabled On +g39 1G-Copper Full 100 Enabled Off Up Disabled On +g40 1G-Copper -- -- -- -- Down -- -- +g41 1G-Copper Full 100 Enabled Off Up Disabled On +g42 1G-Copper Full 100 Enabled Off Up Disabled On +g43 1G-Copper Full 1000 Enabled Off Up Disabled On +g44 1G-Copper Full 1000 Enabled Off Up Disabled Off +g45 1G-Combo-C -- -- -- -- Down -- -- +g46 1G-Combo-C -- -- -- -- Down -- -- +g47 1G-Combo-C -- -- -- -- Down -- -- +g48 1G-Combo-F Full 1000 Enabled Off Up Disabled Off + +Flow Link +Ch Type Duplex Speed Neg control State +-------- ------- ------ ----- -------- ------- ----------- +ch1 -- -- -- -- -- Not Present +ch2 -- -- -- -- -- Not Present +ch3 -- -- -- -- -- Not Present +ch4 -- -- -- -- -- Not Present +ch5 -- -- -- -- -- Not Present +ch6 -- -- -- -- -- Not Present +ch7 -- -- -- -- -- Not Present +ch8 -- -- -- -- -- Not Present diff --git a/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml new file mode 100644 index 0000000000..637d3e6e3d --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - port: "g1" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g2" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g3" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g4" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g5" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g6" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g7" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g8" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g9" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g10" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g11" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g12" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g13" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g14" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g15" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g16" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g17" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g18" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g19" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g20" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g21" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g22" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g23" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g24" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g25" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g26" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g27" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g28" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g29" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g30" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g31" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g32" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g33" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g34" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g35" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g36" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g37" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g38" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g39" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g40" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g41" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g42" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g43" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g44" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g45" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g46" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g47" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g48" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 382d0c24e2..5c38116c8d 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -34,6 +34,7 @@ "cisco_xe", "cisco_xr", "dell_force10", + "dell_powerconnect", "enterasys", "extreme", "f5_ltm", From 232c0592d8860667c6c1cd19ae7d4cc611d89884 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Tue, 1 Dec 2020 22:00:17 +0000 Subject: [PATCH 136/412] New Template: Procurve show int brief (#829) --- .../hp_procurve_show_interfaces_brief.textfsm | 30 ++ templates/index | 1 + .../show_interfaces_brief.raw | 57 +++ .../show_interfaces_brief.yml | 470 ++++++++++++++++++ .../show_interfaces_brief_bcast.raw | 29 ++ .../show_interfaces_brief_bcast.yml | 218 ++++++++ 6 files changed, 805 insertions(+) create mode 100644 templates/hp_procurve_show_interfaces_brief.textfsm create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/templates/hp_procurve_show_interfaces_brief.textfsm new file mode 100644 index 0000000000..80ee2a064c --- /dev/null +++ b/templates/hp_procurve_show_interfaces_brief.textfsm @@ -0,0 +1,30 @@ +Value PORT (\S+) +Value TYPE (\S*) +Value INTRUSION_ALERT (Yes|No) +Value ENABLED (Yes|No) +Value STATUS (Up|Down) +Value MODE (\S+) +Value MDI_MODE (MDI\S*|Auto) +Value FLOW_CTRL (on|off) +Value BCAST_LIMIT (\d+) + +Start + ^\s+Status.*Status\s* + ^\s*$$ + ^\s+\|\s+Intrusion\s+MDI\s+Flow(?:\s+Bcast)?\s*$$ + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s*$$ -> showintbrief1 + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s+Limit\s*$$ -> showintbrief2 + ^. -> Error + +showintbrief1 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + +showintbrief2 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index f17ff3b334..657615933d 100644 --- a/templates/index +++ b/templates/index @@ -389,6 +389,7 @@ hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] +hp_procurve_show_interfaces_brief.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] b[[rief]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw new file mode 100644 index 0000000000..721240af32 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw @@ -0,0 +1,57 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow + Port Type | Alert Enabled Status Mode Mode Ctrl + ----- ---------- + --------- ------- ------ ---------- ---- ---- + 1 10/100TX | No Yes Up 100FDx MDIX off + 2 10/100TX | No Yes Down 10FDx MDI off + 3 10/100TX | Yes Yes Down 10FDx MDI off + 4 10/100TX | No Yes Down 10FDx MDIX off + 5 10/100TX | No No Down 10FDx MDI off + 6 10/100TX | No Yes Down 10FDx MDI on + 7 10/100TX | No Yes Down 10FDx MDI off + 8 10/100TX | No Yes Down 10FDx MDI off + 9 10/100TX | No Yes Down 10FDx MDIX off + 10 10/100TX | No Yes Down 10FDx MDIX off + 11 10/100TX | No Yes Down 10FDx MDI off + 12 10/100TX | No Yes Down 10FDx MDI off + 13 10/100TX | No Yes Down 10FDx MDIX off + 14 10/100TX | No Yes Down 10FDx MDI off + 15 10/100TX | No Yes Down 10FDx MDIX off + 16 10/100TX | No Yes Down 10FDx MDIX off + 17 10/100TX | No Yes Down 10FDx MDI off + 18 10/100TX | No Yes Down 10FDx MDI off + 19 10/100TX | No Yes Down 10FDx MDI off + 20 10/100TX | No Yes Down 10FDx MDI off + 21 10/100TX | No Yes Down 10FDx MDIX off + 22 10/100TX | No Yes Down 10FDx MDIX off + 23 10/100TX | No Yes Down 10FDx MDI off + 24 10/100TX | No Yes Down 10FDx MDIX off + 25 10/100TX | No Yes Down 10FDx MDI off + 26 10/100TX | No Yes Down 10FDx MDI off + 27 10/100TX | No Yes Down 10FDx MDI off + 28 10/100TX | No Yes Down 10FDx MDIX off + 29 10/100TX | No Yes Down 10FDx MDIX off + 30 10/100TX | No Yes Down 10FDx MDI off + 31 10/100TX | No Yes Down 10FDx MDI off + 32 10/100TX | No Yes Down 10FDx MDI off + 33 10/100TX | No Yes Down 10FDx MDI off + 34 10/100TX | No Yes Down 10FDx MDIX off + 35 10/100TX | No Yes Down 10FDx MDIX off + 36 10/100TX | No Yes Down 10FDx MDI off + 37 10/100TX | No Yes Down 10FDx MDI off + 38 10/100TX | No Yes Down 10FDx MDI off + 39 10/100TX | No Yes Down 10FDx MDI off + 40 10/100TX | No Yes Down 10FDx MDIX off + 41 10/100TX | No Yes Down 10FDx MDIX off + 42 10/100TX | No Yes Down 10FDx MDI off + 43 10/100TX | No Yes Down 10FDx MDIX off + 44 10/100TX | No Yes Down 10FDx MDI off + 45 10/100TX | No Yes Down 10FDx MDIX off + 46 10/100TX | No Yes Down 10FDx MDIX off + 47 10/100TX | No Yes Down 10FDx MDI off + 48 10/100TX | No Yes Down 10FDx MDIX off + 49 100/1000T | No Yes Down 1000FDx MDIX off + 50 100/1000T | No Yes Down 1000FDx MDI off + 51 | No Yes Down . off + 52 | No Yes Down . off diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml new file mode 100644 index 0000000000..d45a30e66a --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml @@ -0,0 +1,470 @@ +--- +parsed_sample: + - port: "1" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "2" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "3" + type: "10/100TX" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "4" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "5" + type: "10/100TX" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "6" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "on" + bcast_limit: "" + - port: "7" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "8" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "9" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "10" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "11" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "12" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "13" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "14" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "15" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "16" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "17" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "18" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "19" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "20" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "21" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "22" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "23" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "24" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "25" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "26" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "27" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "28" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "29" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "30" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "31" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "32" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "33" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "34" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "35" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "36" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "37" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "38" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "39" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "40" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "41" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "42" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "43" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "44" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "45" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "46" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "47" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "48" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "49" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "50" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "51" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" + - port: "52" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw new file mode 100644 index 0000000000..da0f36cc99 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow Bcast + Port Type | Alert Enabled Status Mode Mode Ctrl Limit + ------------ ---------- + --------- ------- ------ ---------- ---- ---- ----- + 1 100/1000T | No Yes Down 1000FDx Auto off 0 + 2 100/1000T | No Yes Down 1000FDx Auto off 0 + 3 100/1000T | Yes Yes Down 1000FDx Auto off 0 + 4 100/1000T | No Yes Down 1000FDx Auto off 0 + 5 100/1000T | No No Down 1000FDx Auto off 0 + 6 100/1000T | No Yes Down 1000FDx Auto on 0 + 7 100/1000T | No Yes Down 1000FDx Auto off 0 + 8 100/1000T | No Yes Down 1000FDx Auto off 0 + 9 100/1000T | No Yes Down 1000FDx Auto off 0 + 10 100/1000T | No Yes Down 1000FDx Auto on 50 + 11 100/1000T | No Yes Down 1000FDx Auto off 0 + 12 100/1000T | No Yes Down 1000FDx Auto off 0 + 13 100/1000T | No Yes Down 1000FDx Auto off 0 + 14 100/1000T | No Yes Down 1000FDx Auto off 0 + 15 100/1000T | No Yes Down 1000FDx Auto off 0 + 16 100/1000T | No Yes Down 1000FDx Auto off 0 + 17 100/1000T | No Yes Down 1000FDx Auto off 0 + 18 100/1000T | No Yes Down 1000FDx Auto off 0 + 19 100/1000T | No Yes Down 1000FDx Auto off 0 + 20 100/1000T | No Yes Down 1000FDx Auto off 0 + 21 100/1000T | No Yes Down 1000FDx Auto off 0 + 22 100/1000T | No Yes Down 1000FDx Auto off 0 + 23 100/1000T | No Yes Down 1000FDx Auto off 0 + 24 100/1000T | No Yes Up 100FDx MDI off 0 diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml new file mode 100644 index 0000000000..471f51ac7d --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml @@ -0,0 +1,218 @@ +--- +parsed_sample: + - port: "1" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "2" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + type: "100/1000T" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + type: "100/1000T" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "0" + - port: "7" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "0" From 2e392e267d2d05c57445c33ea601a06cf5e5eb0a Mon Sep 17 00:00:00 2001 From: Anirudh Kamath Date: Wed, 2 Dec 2020 18:04:24 +0400 Subject: [PATCH 137/412] Enhancemnt: IOS show tacacs - add name capture group (#833) --- templates/cisco_ios_show_tacacs.textfsm | 2 ++ .../show_tacacs/cisco_ios_show_tacacs.yml | 2 ++ .../cisco_ios_show_tacacs_server_name.raw | 26 +++++++++++++++++++ .../cisco_ios_show_tacacs_server_name.yml | 24 +++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml diff --git a/templates/cisco_ios_show_tacacs.textfsm b/templates/cisco_ios_show_tacacs.textfsm index 9cd59c0c8d..31641f6535 100644 --- a/templates/cisco_ios_show_tacacs.textfsm +++ b/templates/cisco_ios_show_tacacs.textfsm @@ -1,3 +1,4 @@ +Value TACACS_SERVER_NAME (.+?) Value TACACS_SERVER (.+?) Value SERVER_PORT (\d+) Value SOCKET_OPENS (\d+) @@ -13,6 +14,7 @@ Value PACKET_RECEIVED (\d+) Start ^Tacacs -> Record ^\s+Server\s+address:\s+${TACACS_SERVER}\s*$$ + ^\s+Server\s+name:\s+${TACACS_SERVER_NAME}\s*$$ ^\s+Server\s+port:\s+${SERVER_PORT}\s*$$ ^\s+Socket\s+opens:\s+ ${SOCKET_OPENS}\s*$$ ^\s+Socket\s+closes:\s+${SOCKET_CLOSES}\s*$$ diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml index 42f1c1f970..08e51cb6d4 100644 --- a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml @@ -1,6 +1,7 @@ --- parsed_sample: - tacacs_server: "10.1.1.140" + tacacs_server_name: "" server_port: "49" socket_opens: "138084" socket_closes: "137992" @@ -11,6 +12,7 @@ parsed_sample: packets_sent: "147753" packet_received: "147693" - tacacs_server: "10.2.1.140" + tacacs_server_name: "" server_port: "49" socket_opens: "2027" socket_closes: "2027" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw new file mode 100644 index 0000000000..99208975e9 --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw @@ -0,0 +1,26 @@ +Tacacs+ Server - public : + Server name: TACACS_ABC + Server address: 10.1.1.141 + Server port: 49 + Socket opens: 146715 + Socket closes: 146715 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 0 + Failed Connect Attempts: 114 + Total Packets Sent: 166094 + Total Packets Recv: 166094 + + +Tacacs+ Server - public : + Server name: TACACS_XYZ + Server address: 10.2.1.141 + Server port: 49 + Socket opens: 2640 + Socket closes: 2640 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 0 + Failed Connect Attempts: 0 + Total Packets Sent: 2954 + Total Packets Recv: 2953 diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml new file mode 100644 index 0000000000..21981a96f9 --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - tacacs_server: "10.1.1.141" + tacacs_server_name: "TACACS_ABC" + server_port: "49" + socket_opens: "146715" + socket_closes: "146715" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "114" + packets_sent: "166094" + packet_received: "166094" + - tacacs_server: "10.2.1.141" + tacacs_server_name: "TACACS_XYZ" + server_port: "49" + socket_opens: "2640" + socket_closes: "2640" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "0" + packets_sent: "2954" + packet_received: "2953" From 593554730950f60e39b7b6434492816188712c8c Mon Sep 17 00:00:00 2001 From: Will McLendon Date: Wed, 2 Dec 2020 14:49:38 -0500 Subject: [PATCH 138/412] New Template: Fortinet get system arp (#832) --- templates/fortinet_get_system_arp.textfsm | 10 +++++++++ templates/index | 1 + .../fortinet_get_system_arp.raw | 5 +++++ .../fortinet_get_system_arp.yml | 21 +++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 templates/fortinet_get_system_arp.textfsm create mode 100644 tests/fortinet/get_system_arp/fortinet_get_system_arp.raw create mode 100644 tests/fortinet/get_system_arp/fortinet_get_system_arp.yml diff --git a/templates/fortinet_get_system_arp.textfsm b/templates/fortinet_get_system_arp.textfsm new file mode 100644 index 0000000000..65d35a8487 --- /dev/null +++ b/templates/fortinet_get_system_arp.textfsm @@ -0,0 +1,10 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value AGE (\d+) +Value MAC (\S+) +Value INTERFACE (.*) + +Start + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE} -> Record + ^Address\s+Age(min)\s+Hardware\s+Addr\s+Interface\s*$$ + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index 657615933d..dab1288a39 100644 --- a/templates/index +++ b/templates/index @@ -376,6 +376,7 @@ dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow] fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus +fortinet_get_system_arp.textfsm, .*, fortinet, [[g]]et [[sy]]stem arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw b/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw new file mode 100644 index 0000000000..e4f9344632 --- /dev/null +++ b/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw @@ -0,0 +1,5 @@ +Address Age(min) Hardware Addr Interface +192.168.1.4 0 b0:a8:6e:01:61:81 lan +192.168.1.110 0 3c:9b:d6:66:52:ab lan +192.168.1.111 0 18:64:72:c9:02:d2 lan +192.168.1.114 4 40:cb:c0:ce:81:85 lan diff --git a/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml b/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml new file mode 100644 index 0000000000..b3c3cfe31b --- /dev/null +++ b/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml @@ -0,0 +1,21 @@ +--- +parsed_sample: + - address: "192.168.1.4" + age: "0" + interface: "lan" + mac: "b0:a8:6e:01:61:81" + + - address: "192.168.1.110" + age: "0" + interface: "lan" + mac: "3c:9b:d6:66:52:ab" + + - address: "192.168.1.111" + age: "0" + interface: "lan" + mac: "18:64:72:c9:02:d2" + + - address: "192.168.1.114" + age: "4" + interface: "lan" + mac: "40:cb:c0:ce:81:85" From 3c05e442dd78aa23fbd15fe5751c005c7c8514d5 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 3 Dec 2020 22:53:13 -0500 Subject: [PATCH 139/412] Enhancment: EOS show int status - account for LAG members (#835) --- .../arista_eos_show_interfaces_status.textfsm | 8 ++-- ...os_show_interfaces_status_port_channel.raw | 7 +++ ...os_show_interfaces_status_port_channel.yml | 44 +++++++++++++++++++ 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw create mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml diff --git a/templates/arista_eos_show_interfaces_status.textfsm b/templates/arista_eos_show_interfaces_status.textfsm index cbbcc7b8b2..199f415284 100644 --- a/templates/arista_eos_show_interfaces_status.textfsm +++ b/templates/arista_eos_show_interfaces_status.textfsm @@ -4,8 +4,10 @@ Value STATUS (connected|notconnect|inactive|errdisabled|disabled) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+) +Value TYPE (.+?) Start - ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE} -> Record - ^${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE} -> Record + ^${PORT}\s+${NAME}\s+${STATUS}\s+(?:in\s+)?${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^${PORT}\s+${STATUS}\s+(?:in\s+)?${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^\s* + ^. -> Error diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw new file mode 100644 index 0000000000..cca28216e8 --- /dev/null +++ b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw @@ -0,0 +1,7 @@ +Port Name Status Vlan Duplex Speed Type +Et1 Cust: (SERV-XXXXX disabled 1 auto auto 1000BASE-T +Et47 Cust: (SERV-XXXXX disabled 1 auto auto 1000BASE-T +Et49 Core: drxx.yul01 notconnect in Po49 full 10G Not Present +Et52 Core: drxx.yul01 connected in Po49 full 10G 10GBASE-SR +Ma1 notconnect routed a-half a-10M 10/100/1000 +Po49 Core: dr01-dr02.y connected trunk full 20G N/A diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml new file mode 100644 index 0000000000..08d796d9d2 --- /dev/null +++ b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - port: "Et1" + name: "Cust: (SERV-XXXXX" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "1000BASE-T" + - port: "Et47" + name: "Cust: (SERV-XXXXX" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "1000BASE-T" + - port: "Et49" + name: "Core: drxx.yul01" + status: "notconnect" + vlan: "Po49" + duplex: "full" + speed: "10G" + type: "Not Present" + - port: "Et52" + name: "Core: drxx.yul01" + status: "connected" + vlan: "Po49" + duplex: "full" + speed: "10G" + type: "10GBASE-SR" + - port: "Ma1" + name: "" + status: "notconnect" + vlan: "routed" + duplex: "a-half" + speed: "a-10M" + type: "10/100/1000" + - port: "Po49" + name: "Core: dr01-dr02.y" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "20G" + type: "N/A" From e886209fffb0c16a3493253420dd57ab97cb704c Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 4 Dec 2020 21:03:37 -0500 Subject: [PATCH 140/412] Add codeowners file (#837) --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..8ead4f8d95 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Default owner(s) of all files in this repository +* @itdependsnetworks @jmcgill298 @FragmentedPacket @jvanderaa From 22c37cb6a80df0aa4965031f421f69c09ecf9183 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 7 Dec 2020 04:39:38 +1300 Subject: [PATCH 141/412] Bugfix: cisco_ios_show_interfaces_status - Capture FC lines (#839) --- .../cisco_ios_show_interfaces_status.textfsm | 18 ++- .../cisco_ios_show_interfaces_status.yml | 19 +++ .../cisco_ios_show_interfaces_status2.raw | 20 +++ .../cisco_ios_show_interfaces_status2.yml | 130 ++++++++++++++++++ 4 files changed, 183 insertions(+), 4 deletions(-) create mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw create mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml diff --git a/templates/cisco_ios_show_interfaces_status.textfsm b/templates/cisco_ios_show_interfaces_status.textfsm index 00f2c7e70f..9fafcd9b62 100644 --- a/templates/cisco_ios_show_interfaces_status.textfsm +++ b/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,17 +1,27 @@ Value PORT (\S+) Value NAME (.+?) -Value STATUS (err-disabled|disabled|connected|notconnect|inactive) +Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) Value TYPE (.*) +Value FC_MODE (\S+) Start - ^Port -> Begin - # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ + # Capture time-stamp if vty line has command time-stamping turned on ^Time\s+source\s+is + ^-+\s*$$ + ^Port\s+Name\s+Status\s+Vlan\s+Duplex\s+Speed\s+Type -> Interfaces + ^\s*$$ + ^. -> Error -Begin +Interfaces + #Match fc... + ^\s*${PORT}\s+is\s+${STATUS}\s+Port\s+mode\s+is\s+${FC_MODE}\s*$$ -> Record + ^\s*${PORT}\s+is\s+${STATUS}\s+\(${TYPE}\)\s*$$ -> Record ^\s*${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record ^\s*${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record + ^-+ + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 7a83f3c6aa..23df2630fc 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -7,6 +7,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/2" name: "AccessPoint" status: "connected" @@ -14,6 +15,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/3" name: "John's Office" status: "notconnect" @@ -21,6 +23,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/4" name: "SingleName" status: "connected" @@ -28,6 +31,7 @@ parsed_sample: duplex: "a-full" speed: "a-100" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/5" name: "Dashed-Name" status: "connected" @@ -35,6 +39,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/6" name: "Spaced Example" status: "connected" @@ -42,6 +47,7 @@ parsed_sample: duplex: "a-full" speed: "a-100" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/7" name: "Trunk Example" status: "connected" @@ -49,6 +55,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "1000BaseSX SFP" + fc_mode: "" - port: "Gi1/0/8" name: "SFP Not Present" status: "notconnect" @@ -56,6 +63,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/9" name: "SFP Not Present" status: "notconnect" @@ -63,6 +71,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/10" name: "Management" status: "notconnect" @@ -70,6 +79,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/11" name: "2960S Port" status: "notconnect" @@ -77,6 +87,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/12" name: "Half Duplex 2950" status: "notconnect" @@ -84,6 +95,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/13" name: "Half Duplex 2950-S" status: "notconnect" @@ -91,6 +103,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/14" name: "Half Duplex 2950-S" status: "notconnect" @@ -98,6 +111,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/15" name: "Multi Space to the" status: "notconnect" @@ -105,6 +119,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/16" name: "Multi Space to the" status: "err-disabled" @@ -112,6 +127,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/17" name: "Multi Space" status: "disabled" @@ -119,6 +135,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Fa1/6" name: "test" status: "notconnect" @@ -126,6 +143,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Po1" name: "ethchl" status: "connected" @@ -133,3 +151,4 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "" + fc_mode: "" diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw new file mode 100644 index 0000000000..f0f1eab5ae --- /dev/null +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw @@ -0,0 +1,20 @@ + +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +fc2/1 is up Port mode is NP +fc2/2 is up Port mode is NP +fc2/3 is up Port mode is NP +fc2/4 is up Port mode is NP +fc2/5 is down (SFP not present) +fc2/6 is down (SFP not present) +Eth1/1 XXXXXXX1_bond1_Act connected 111 full 1000 SFP-1000BAS +Eth1/2 XXXXXXX3_bond1_Act connected 112 full 1000 SFP-1000BAS +Eth1/3 YYYYYYYY1_ha1 connected 115 full 1000 SFP-1000BAS +Eth1/4 ZZZZZZZZZZZZZ1_tru connected trunk full 10G 10Gbase-SR +Eth1/5 ZZZZZZZZZZZZZ1_tru connected trunk full 10G 10Gbase-SR +Eth1/6 AAAAAAAAA1_po2 connected trunk full 1000 SFP-1000BAS +Eth1/7 BBBBBBBB10-1 connected 4093 full 10G Fabric Exte +Eth1/8 BBBBBBBB10-1 connected 4093 full 10G Fabric Exte +Eth1/9 BBBBBBBB11-1 connected 4093 full 10G Fabric Exte +Eth1/10 BBBBBBBB11-1 connected 4093 full 10G Fabric Exte diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml new file mode 100644 index 0000000000..f3b527d425 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml @@ -0,0 +1,130 @@ +--- +parsed_sample: + - port: "fc2/1" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/2" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/3" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/4" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/5" + name: "" + status: "down" + vlan: "" + duplex: "" + speed: "" + type: "SFP not present" + fc_mode: "" + - port: "fc2/6" + name: "" + status: "down" + vlan: "" + duplex: "" + speed: "" + type: "SFP not present" + fc_mode: "" + - port: "Eth1/1" + name: "XXXXXXX1_bond1_Act" + status: "connected" + vlan: "111" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/2" + name: "XXXXXXX3_bond1_Act" + status: "connected" + vlan: "112" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/3" + name: "YYYYYYYY1_ha1" + status: "connected" + vlan: "115" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/4" + name: "ZZZZZZZZZZZZZ1_tru" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + fc_mode: "" + - port: "Eth1/5" + name: "ZZZZZZZZZZZZZ1_tru" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + fc_mode: "" + - port: "Eth1/6" + name: "AAAAAAAAA1_po2" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/7" + name: "BBBBBBBB10-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/8" + name: "BBBBBBBB10-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/9" + name: "BBBBBBBB11-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/10" + name: "BBBBBBBB11-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" From 179dca3b9b63744f03c8ae12f271263ae216b304 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Mon, 7 Dec 2020 03:55:32 +0000 Subject: [PATCH 142/412] Enhancement: Allow NA for MDI_MODE for hp_procurve_show_interfaces_brief (#842) --- .../hp_procurve_show_interfaces_brief.textfsm | 2 +- .../show_interfaces_brief_NA.raw | 29 +++ .../show_interfaces_brief_NA.yml | 218 ++++++++++++++++++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/templates/hp_procurve_show_interfaces_brief.textfsm index 80ee2a064c..4b7ca0cb44 100644 --- a/templates/hp_procurve_show_interfaces_brief.textfsm +++ b/templates/hp_procurve_show_interfaces_brief.textfsm @@ -4,7 +4,7 @@ Value INTRUSION_ALERT (Yes|No) Value ENABLED (Yes|No) Value STATUS (Up|Down) Value MODE (\S+) -Value MDI_MODE (MDI\S*|Auto) +Value MDI_MODE (MDI\S*|Auto|NA) Value FLOW_CTRL (on|off) Value BCAST_LIMIT (\d+) diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw new file mode 100644 index 0000000000..7c24b5db4a --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow Bcast + Port Type | Alert Enabled Status Mode Mode Ctrl Limit + ------------ ---------- + --------- ------- ------ ---------- ---- ---- ----- + 1 100/1000T | No Yes Up 100FDx MDI off 0 + 2 100/1000T | No Yes Down 1000FDx Auto off 0 + 3 100/1000T | No Yes Down 1000FDx Auto off 0 + 4 100/1000T | No Yes Down 1000FDx Auto off 0 + 5 100/1000T | No Yes Down 1000FDx Auto off 0 + 6 100/1000T | No Yes Down 1000FDx Auto off 0 + 7 100/1000T | No Yes Down 1000FDx Auto off 0 + 8 100/1000T | No Yes Down 1000FDx Auto off 0 + 9 100/1000T | No Yes Down 1000FDx Auto off 0 + 10 100/1000T | Yes Yes Down 1000FDx NA on 50 + 11 100/1000T | No Yes Down 1000FDx Auto off 0 + 12 100/1000T | No Yes Down 1000FDx Auto off 0 + 13 100/1000T | No Yes Down 1000FDx Auto off 0 + 14 100/1000T | No Yes Down 1000FDx Auto off 0 + 15 100/1000T | No Yes Down 1000FDx Auto off 0 + 16 100/1000T | No Yes Down 1000FDx Auto off 0 + 17 100/1000T | No Yes Down 1000FDx Auto off 0 + 18 100/1000T | No Yes Down 1000FDx Auto off 0 + 19 100/1000T | No Yes Down 1000FDx Auto off 0 + 20 100/1000T | No Yes Down 1000FDx Auto off 0 + 21 100/1000T | No Yes Down 1000FDx Auto off 0 + 22 100/1000T | No Yes Down 1000FDx Auto off 0 + 23 100/1000T | No Yes Down 1000FDx Auto off 0 + 24 100/1000T | No Yes Down 1000FDx NA off 0 diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml new file mode 100644 index 0000000000..f3e65097ed --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml @@ -0,0 +1,218 @@ +--- +parsed_sample: + - port: "1" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "0" + - port: "2" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "7" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + type: "100/1000T" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "NA" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "NA" + flow_ctrl: "off" + bcast_limit: "0" From 234ddc00affc72970024688bd4e0e7896e98d2c5 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 28 Dec 2020 14:25:15 +1300 Subject: [PATCH 143/412] New Template - cisco_nxos_show_environment.textfsm (#838) Removed `cisco_nxos_show_environments.textfsm` as it's not a valid command. --- templates/cisco_nxos_show_environment.textfsm | 66 +++++++ .../cisco_nxos_show_environments.textfsm | 29 --- templates/index | 2 +- .../cisco_nxos_show_environment.raw} | 0 .../cisco_nxos_show_environment.yml} | 17 ++ .../cisco_nxos_show_environment2.raw | 48 +++++ .../cisco_nxos_show_environment2.yml | 170 ++++++++++++++++++ 7 files changed, 302 insertions(+), 30 deletions(-) create mode 100644 templates/cisco_nxos_show_environment.textfsm delete mode 100644 templates/cisco_nxos_show_environments.textfsm rename tests/cisco_nxos/{show_environments/cisco_nxos_show_environments.raw => show_environment/cisco_nxos_show_environment.raw} (100%) rename tests/cisco_nxos/{show_environments/cisco_nxos_show_environments.yml => show_environment/cisco_nxos_show_environment.yml} (92%) create mode 100644 tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw create mode 100644 tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml diff --git a/templates/cisco_nxos_show_environment.textfsm b/templates/cisco_nxos_show_environment.textfsm new file mode 100644 index 0000000000..0f1ba03cbb --- /dev/null +++ b/templates/cisco_nxos_show_environment.textfsm @@ -0,0 +1,66 @@ +Value POWER_SUPPLY (\d+) +Value POWER_SUPPLY_MODEL (\S+) +Value POWER_SUPPLY_OUTPUT (\d+) +Value POWER_SUPPLY_INPUT (\d+) +Value POWER_SUPPLY_CAPACITY (\d+) +Value POWER_SUPPLY_STATUS (\w+) +Value FAN (Fan\S+) +Value FAN_STATUS (\S+) +Value TEMPERATURE_MODULE (\d+) +Value TEMPERATURE_SENSOR ([^\s\(\)]+) +Value TEMPERATURE_MAJOR_THRESH (\d+) +Value TEMPERATURE_MINOR_THRESH (\d+) +Value TEMPERATURE_CURRENT (\d+) +Value TEMPERATURE_STATUS (\S+) + +Start + # Note: 2020-12 this template is broken, mashing 3 tables into one. + ^Power Supply:\s*$$ -> Power + ^Fan:\s*$$ -> Fan + ^Temperature:\s*$$ -> Temperature + #^Fan\s+Model\s+Hw\s+(Direction\s+)?Status -> Fan + +Power + #Capture Power with only Out + ^Power\s+Actual\s+Total + ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS}\s*$$ -> Record + # + # Capture Power with Out and In + ^Power\s+Actual\s+Actual\s+Total + ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_INPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS}\s*$$ -> Record + # + # Done with Power section back to Start + ^Module\s+Model\s+Draw\s+Allocated\s+Status\s* -> Start + ^Power\s+Usage\s+Summary: -> Start + # + # Skip junk in Power section + ^Voltage:\s+\d+\s+Volts + ^\s*$$ -> Start + ^Supply\s+Model\s+Output\s+Capacity\s+Status + ^Supply\s+Model\s+Output\s+Input\s+Capacity\s+Status + ^\s+\(Watts\s\)\s+ + ^-+\s+-+ + ^. -> Error + +Fan + ^\s*Fan\s+Model\s+Hw\s+Status + ^${FAN}\s+\S+\s+\S+\s+${FAN_STATUS}\s*$$ -> Record + ^\s*Fan\s+Model\s+Hw\s+Direction\s+Status + ^${FAN}\s+\S+\s+\S+\s+\S+\s+${FAN_STATUS}\s*$$ -> Record + # + # Blank line back to Start + ^\s*$$ -> Start + # + # Fan Ignore + ^Fan\s+Zone\s+Speed\s*: + ^Fan\sAir\sFilter\s: + ^-+\s*$$ + ^. -> Error + +Temperature + ^Module\s+Sensor\s+MajorThresh\s+MinorThres\s+CurTemp\s+Status + ^${TEMPERATURE_MODULE}\s+${TEMPERATURE_SENSOR}(\s*\(\S+\))?\s+${TEMPERATURE_MAJOR_THRESH}\s+${TEMPERATURE_MINOR_THRESH}\s+${TEMPERATURE_CURRENT}\s+${TEMPERATURE_STATUS}\s* -> Record + ^\s*\(Celsius\)\s+\(Celsius\) + ^-+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_environments.textfsm b/templates/cisco_nxos_show_environments.textfsm deleted file mode 100644 index a1bc57a2e1..0000000000 --- a/templates/cisco_nxos_show_environments.textfsm +++ /dev/null @@ -1,29 +0,0 @@ -Value POWER_SUPPLY (\d+) -Value POWER_SUPPLY_MODEL (\S+) -Value POWER_SUPPLY_OUTPUT (\d+) -Value POWER_SUPPLY_CAPACITY (\d+) -Value POWER_SUPPLY_STATUS (\w+) -Value FAN (\S+) -Value FAN_STATUS (\S+) -Value TEMPERATURE_MODULE (\d+) -Value TEMPERATURE_SENSOR (\S+) -Value TEMPERATURE_MAJOR_THRESH (\d+) -Value TEMPERATURE_MINOR_THRESH (\d+) -Value TEMPERATURE_CURRENT (\d+) -Value TEMPERATURE_STATUS (\S+) - -Start - ^Power\s+Actual\s+Total -> Power - ^Fan\s+Model\s+Hw\s+Status -> Fan - -Power - ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS} -> Record - ^Module\s+Model\s+Draw\s+Allocated\s+Status -> Start - -Fan - ^Fan\s+Zone\s+Speed -> Temperature - ^${FAN}\s+\S+\s+\S+\s+${FAN_STATUS} -> Record - ^Temperature: -> Temperature - -Temperature - ^${TEMPERATURE_MODULE}\s+${TEMPERATURE_SENSOR}(\s+)?\(\S+\)\s+${TEMPERATURE_MAJOR_THRESH}\s+${TEMPERATURE_MINOR_THRESH}\s+${TEMPERATURE_CURRENT}\s+${TEMPERATURE_STATUS} -> Record diff --git a/templates/index b/templates/index index dab1288a39..70c64b6f8c 100644 --- a/templates/index +++ b/templates/index @@ -276,9 +276,9 @@ cisco_nxos_show_license_usage.textfsm, .*, cisco_nxos, sh[[ow]] lic[[ense]] us[[ cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] -cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] cisco_nxos_show_ip_interface.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] +cisco_nxos_show_environment.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.raw b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.raw similarity index 100% rename from tests/cisco_nxos/show_environments/cisco_nxos_show_environments.raw rename to tests/cisco_nxos/show_environment/cisco_nxos_show_environment.raw diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml similarity index 92% rename from tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml rename to tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml index 545e366070..d09793e69e 100644 --- a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml @@ -3,6 +3,7 @@ parsed_sample: - power_supply: "1" power_supply_model: "N7K-AC-3KW" power_supply_output: "407" + power_supply_input: "" power_supply_capacity: "3000" power_supply_status: "Ok" fan: "" @@ -16,6 +17,7 @@ parsed_sample: - power_supply: "2" power_supply_model: "N7K-AC-3KW" power_supply_output: "370" + power_supply_input: "" power_supply_capacity: "3000" power_supply_status: "Ok" fan: "" @@ -29,6 +31,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan1(sys_fan1)" @@ -42,6 +45,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan_in_PS1" @@ -55,6 +59,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan_in_PS2" @@ -68,6 +73,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -81,6 +87,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -94,6 +101,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -107,6 +115,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -120,6 +129,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -133,6 +143,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -146,6 +157,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -159,6 +171,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -172,6 +185,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -185,6 +199,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -198,6 +213,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -211,6 +227,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" diff --git a/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw new file mode 100644 index 0000000000..3edb5702a2 --- /dev/null +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw @@ -0,0 +1,48 @@ +Power Supply: +Voltage: 12 Volts +Power Actual Actual Total +Supply Model Output Input Capacity Status + (Watts ) (Watts ) (Watts ) +------- ------------------- ---------- ---------- ---------- -------------- +1 N9K-PAC-650W 101 W 103 W 650 W Ok +2 N9K-PAC-650W 96 W 102 W 650 W Ok + + +Power Usage Summary: +-------------------- +Power Supply redundancy mode (configured) PS-Redundant +Power Supply redundancy mode (operational) PS-Redundant + +Total Power Capacity (based on configured mode) 650.00 W +Total Grid-A (first half of PS slots) Power Capacity 650.00 W +Total Grid-B (second half of PS slots) Power Capacity 650.00 W +Total Power of all Inputs (cumulative) 1300.00 W +Total Power Output (actual draw) 197.00 W +Total Power Input (actual draw) 206.00 W +Total Power Allocated (budget) N/A +Total Power Available for additional modules N/A + +Fan: +--------------------------------------------------------------------------- +Fan Model Hw Direction Status +--------------------------------------------------------------------------- +Fan1(sys_fan1) N9K-C9300-FAN2 -- front-to-back Ok +Fan2(sys_fan2) N9K-C9300-FAN2 -- front-to-back Ok +Fan3(sys_fan3) N9K-C9300-FAN2 -- front-to-back Ok +Fan_in_PS1 -- -- front-to-back Ok +Fan_in_PS2 -- -- front-to-back Ok +Fan Zone Speed: Zone 1: 0x80 +Fan Air Filter : NotSupported + + +Temperature: +-------------------------------------------------------------------- +Module Sensor MajorThresh MinorThres CurTemp Status + (Celsius) (Celsius) (Celsius) +-------------------------------------------------------------------- +1 FRONT 70 42 24 Ok +1 BACK 80 70 26 Ok +1 CPU 90 80 42 Ok +1 TD2-1 105 90 35 Ok +1 NS-1 105 90 37 Ok + diff --git a/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml new file mode 100644 index 0000000000..6ac13d1687 --- /dev/null +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml @@ -0,0 +1,170 @@ +--- +parsed_sample: + - power_supply: "1" + power_supply_model: "N9K-PAC-650W" + power_supply_output: "101" + power_supply_input: "103" + power_supply_capacity: "650" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "2" + power_supply_model: "N9K-PAC-650W" + power_supply_output: "96" + power_supply_input: "102" + power_supply_capacity: "650" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan1(sys_fan1)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan2(sys_fan2)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan3(sys_fan3)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS1" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS2" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "FRONT" + temperature_major_thresh: "70" + temperature_minor_thresh: "42" + temperature_current: "24" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "BACK" + temperature_major_thresh: "80" + temperature_minor_thresh: "70" + temperature_current: "26" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "CPU" + temperature_major_thresh: "90" + temperature_minor_thresh: "80" + temperature_current: "42" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "TD2-1" + temperature_major_thresh: "105" + temperature_minor_thresh: "90" + temperature_current: "35" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "NS-1" + temperature_major_thresh: "105" + temperature_minor_thresh: "90" + temperature_current: "37" + temperature_status: "Ok" From b3fdd327690f1e567fc8f97a6e2244414e3b6fde Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Fri, 29 Jan 2021 01:50:18 +0000 Subject: [PATCH 144/412] New Template: hp_procurve_show_port-security (#862) --- .../hp_procurve_show_port-security.textfsm | 16 ++ templates/index | 1 + .../hp_procurve_show_port-security.raw | 56 +++++ .../hp_procurve_show_port-security.yml | 210 ++++++++++++++++++ 4 files changed, 283 insertions(+) create mode 100644 templates/hp_procurve_show_port-security.textfsm create mode 100644 tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw create mode 100644 tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml diff --git a/templates/hp_procurve_show_port-security.textfsm b/templates/hp_procurve_show_port-security.textfsm new file mode 100644 index 0000000000..2a94fd68bc --- /dev/null +++ b/templates/hp_procurve_show_port-security.textfsm @@ -0,0 +1,16 @@ +Value PORT (\S+) +Value LEARN_MODE (\S+) +Value ACTION (None|Send\s+Alarm|Send\s+Alarm\S+\s+Disable\s+Port) +Value EAVESDROP_PREVENTION (Enabled|Disabled) + +Start + ^\s+Port\s+Security\s* + ^\s*$$ + ^\s+Port\s+Learn\s+Mode\s+\|\s+Action\s+Eavesdrop\s+Prevention\s*$$ + ^\s*-+(?:\s|-|\+)+$$ -> Show_Port_Security + ^. -> Error + +Show_Port_Security + ^\s+${PORT}\s+${LEARN_MODE}\s+\|\s+${ACTION}\s+${EAVESDROP_PREVENTION}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 70c64b6f8c..cbc3cfc227 100644 --- a/templates/index +++ b/templates/index @@ -391,6 +391,7 @@ hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_interfaces_brief.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] b[[rief]] +hp_procurve_show_port-security.textfsm, .*, hp_procurve, sh[[ow]] port-s[[ecurity]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] diff --git a/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw new file mode 100644 index 0000000000..611f32b915 --- /dev/null +++ b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw @@ -0,0 +1,56 @@ + Port Security + + Port Learn Mode | Action Eavesdrop Prevention + ----- ------------------ + ------------------------ -------------------- + 1 Continuous | None Enabled + 2 Continuous | None Enabled + 3 Continuous | None Enabled + 4 Continuous | None Enabled + 5 Continuous | None Enabled + 6 Continuous | None Enabled + 7 Continuous | None Enabled + 8 Continuous | None Enabled + 9 Continuous | None Enabled + 10 Static | Send Alarm, Disable Port Enabled + 11 Configured | Send Alarm Enabled + 12 Port-Access | None Enabled + 13 Limited-Continuous | Send Alarm Enabled + 14 Continuous | None Enabled + 15 Continuous | None Enabled + 16 Continuous | None Enabled + 17 Continuous | None Enabled + 18 Continuous | None Enabled + 19 Continuous | None Enabled + 20 Continuous | None Enabled + 21 Continuous | None Enabled + 22 Continuous | None Enabled + 23 Continuous | None Enabled + 24 Continuous | None Enabled + 25 Continuous | None Enabled + 26 Continuous | None Enabled + 27 Continuous | None Enabled + 28 Continuous | None Enabled + 29 Continuous | None Enabled + 30 Continuous | None Enabled + 31 Continuous | None Enabled + 32 Continuous | None Enabled + 33 Continuous | None Enabled + 34 Continuous | None Enabled + 35 Continuous | None Enabled + 36 Continuous | None Enabled + 37 Continuous | None Enabled + 38 Continuous | None Enabled + 39 Continuous | None Enabled + 40 Continuous | None Enabled + 41 Continuous | None Enabled + 42 Continuous | None Enabled + 43 Continuous | None Enabled + 44 Continuous | None Enabled + 45 Continuous | None Enabled + 46 Continuous | None Enabled + 47 Continuous | None Enabled + 48 Continuous | None Enabled + 49 Continuous | None Enabled + 50 Continuous | None Enabled + 51 Continuous | None Enabled + 52 Continuous | None Enabled diff --git a/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml new file mode 100644 index 0000000000..7f122e8933 --- /dev/null +++ b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml @@ -0,0 +1,210 @@ +--- +parsed_sample: + - port: "1" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "2" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "3" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "4" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "5" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "6" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "7" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "8" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "9" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "10" + learn_mode: "Static" + action: "Send Alarm, Disable Port" + eavesdrop_prevention: "Enabled" + - port: "11" + learn_mode: "Configured" + action: "Send Alarm" + eavesdrop_prevention: "Enabled" + - port: "12" + learn_mode: "Port-Access" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "13" + learn_mode: "Limited-Continuous" + action: "Send Alarm" + eavesdrop_prevention: "Enabled" + - port: "14" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "15" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "16" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "17" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "18" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "19" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "20" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "21" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "22" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "23" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "24" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "25" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "26" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "27" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "28" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "29" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "30" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "31" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "32" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "33" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "34" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "35" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "36" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "37" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "38" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "39" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "40" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "41" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "42" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "43" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "44" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "45" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "46" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "47" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "48" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "49" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "50" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "51" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "52" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" From 56ed821dca95583fb4284bd00cb771685ed15c53 Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Fri, 29 Jan 2021 12:59:37 +1100 Subject: [PATCH 145/412] Enhancement: Adding in/out route-map parsing to cisco_ios_show_ip_bgp_neighbor.textfsm (#861) --- .../cisco_ios_show_ip_bgp_neighbors.textfsm | 7 ++++++ .../cisco_ios_show_ip_bgp_neighbors.yml | 2 ++ ...sco_ios_show_ip_bgp_neighbors_multiple.yml | 24 +++++++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm index 92d799b27e..694b76b540 100644 --- a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm +++ b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm @@ -7,6 +7,8 @@ Value LOCALHOST_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value LOCALHOST_PORT (\d+) Value REMOTE_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value REMOTE_PORT (\d+) +Value INBOUND_ROUTEMAP (\S+) +Value OUTBOUND_ROUTEMAP (\S+) Start # Capture first line, which shows the BGP neighor and remote AS number @@ -24,6 +26,11 @@ Start # Example: ' BGP state = Established, up for 7w3d' ^\s+BGP\s+state\s+=\s+${BGP_STATE} # + # Capture Inbound/Outbound Route Maps + # Example: 'Route map for incoming advertisements is BGP_Vendor_in' + # Example: 'Route map for outgoing advertisements is BGP_Vendor_out' + ^\s+Route\s+map\s+for\s+incoming\s+advertisements\s+is\s+${INBOUND_ROUTEMAP} + ^\s+Route\s+map\s+for\s+outgoing\s+advertisements\s+is\s+${OUTBOUND_ROUTEMAP} # # Match local host and port # Example: 'Local host: 10.10.255.13, Local port: 39443' diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml index 5c3b369d8d..e465812abe 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml @@ -9,3 +9,5 @@ parsed_sample: localhost_port: "39443" remote_ip: "20.30.255.14" remote_port: "179" + inbound_routemap: "" + outbound_routemap: "" diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml index 4d4b68b3e8..09a322a760 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml @@ -9,6 +9,8 @@ parsed_sample: localhost_port: "1039" remote_ip: "90.58.27.224" remote_port: "179" + inbound_routemap: "" + outbound_routemap: "" - neighbor: "42.116.171.166" remote_as: "65182" peer_group: "LAN" @@ -18,6 +20,8 @@ parsed_sample: localhost_port: "179" remote_ip: "85.15.185.206" remote_port: "28912" + inbound_routemap: "" + outbound_routemap: "" - neighbor: "5.233.102.244" remote_as: "65181" peer_group: "Vendor" @@ -27,6 +31,8 @@ parsed_sample: localhost_port: "10158" remote_ip: "58.98.25.93" remote_port: "179" + inbound_routemap: "BGP_Vendor_in" + outbound_routemap: "BGP_Vendor_out" - neighbor: "191.113.218.187" remote_as: "65181" peer_group: "Vendor" @@ -36,6 +42,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP_Vendor_in" + outbound_routemap: "BGP_Vendor_out" - neighbor: "50.231.89.165" remote_as: "65183" peer_group: "AWS" @@ -45,6 +53,8 @@ parsed_sample: localhost_port: "10156" remote_ip: "211.76.120.22" remote_port: "179" + inbound_routemap: "BGP_AWS_in" + outbound_routemap: "BGP_AWS_out" - neighbor: "121.216.88.225" remote_as: "65183" peer_group: "AWS" @@ -54,6 +64,8 @@ parsed_sample: localhost_port: "10153" remote_ip: "201.3.14.224" remote_port: "179" + inbound_routemap: "BGP_AWS_in" + outbound_routemap: "BGP_AWS_out" - neighbor: "71.163.23.191" remote_as: "65184" peer_group: "Merge" @@ -63,6 +75,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP_Merge_in" + outbound_routemap: "BGP_Merge_out" - neighbor: "87.90.154.72" remote_as: "65004" peer_group: "L3-CE-SEC" @@ -72,6 +86,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP-L3-CE-SEC-in" + outbound_routemap: "BGP-L3-CE-SEC-out" - neighbor: "35.139.51.35" remote_as: "65004" peer_group: "L3-CE-PRI" @@ -81,6 +97,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP-L3-CE-PRI-in" + outbound_routemap: "BGP-L3-CE-PRI-out" - neighbor: "13.167.37.139" remote_as: "64514" peer_group: "SDWAN-DIA" @@ -90,6 +108,8 @@ parsed_sample: localhost_port: "10926" remote_ip: "152.83.67.150" remote_port: "179" + inbound_routemap: "BGP-SDWAN-in" + outbound_routemap: "BGP-SDWAN-out" - neighbor: "72.37.28.119" remote_as: "18830" peer_group: "Internet" @@ -99,6 +119,8 @@ parsed_sample: localhost_port: "10160" remote_ip: "29.194.88.38" remote_port: "179" + inbound_routemap: "BGP_Internet_in" + outbound_routemap: "BGP_Internet_out" - neighbor: "201.93.188.161" remote_as: "18830" peer_group: "Internet" @@ -108,3 +130,5 @@ parsed_sample: localhost_port: "10159" remote_ip: "84.229.16.220" remote_port: "179" + inbound_routemap: "BGP_Internet_in" + outbound_routemap: "BGP_Internet_out" From dbc8e48764b8dddbad0e28ac9664b09bf00f2e30 Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Thu, 28 Jan 2021 21:52:09 -0500 Subject: [PATCH 146/412] New Template: cisco_ios_show_vrrp_all/brief (#856) --- templates/cisco_ios_show_vrrp_all.textfsm | 41 +++++++ templates/cisco_ios_show_vrrp_brief.textfsm | 38 ++++++ templates/index | 2 + .../show_vrrp_all/cisco_ios_show_vrrp_all.raw | 60 ++++++++++ .../show_vrrp_all/cisco_ios_show_vrrp_all.yml | 92 +++++++++++++++ .../cisco_ios_show_vrrpv3_all.raw | 80 +++++++++++++ .../cisco_ios_show_vrrpv3_all.yml | 110 ++++++++++++++++++ .../cisco_ios_show_vrrp_brief.raw | 7 ++ .../cisco_ios_show_vrrp_brief.yml | 52 +++++++++ .../cisco_ios_show_vrrpv3_brief.raw | 7 ++ .../cisco_ios_show_vrrpv3_brief.yml | 52 +++++++++ 11 files changed, 541 insertions(+) create mode 100644 templates/cisco_ios_show_vrrp_all.textfsm create mode 100644 templates/cisco_ios_show_vrrp_brief.textfsm create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml diff --git a/templates/cisco_ios_show_vrrp_all.textfsm b/templates/cisco_ios_show_vrrp_all.textfsm new file mode 100644 index 0000000000..17fa737a86 --- /dev/null +++ b/templates/cisco_ios_show_vrrp_all.textfsm @@ -0,0 +1,41 @@ +Value IFACE (\S+) +Value GROUP (\d+) +Value ADDR_FAMILY (\S+) +Value STATE (\w+) +Value STATE_DURATION (.+) +Value VIRTUALIP ([a-fA-F\d\.\:]+) +Value VIRTUAL_MAC ([a-fA-F\d\.\:]+) +Value ADV_INTERVAL (\S+) +Value PREEMPT (\w+) +Value PRIORITY (\d+) +Value PRIORITY_CONFIGURED (\d+) +Value TRACK_OBJ (\d+) +Value TRACK_STATUS (\S+) +Value TRACK_ACTION (\S+(\s+\S+)?) +Value MASTER_IP (\S+) +Value MASTER_PRIORITY (\S+) +Value MASTER_ADV_INTERVAL (\S+) +Value MASTER_DOWN_INTERVAL (\S+) + +Start + ^\S+\s+-\s+Group\s+\d+.*$$ -> Continue.Record + ^\s*${IFACE}\s+-\s+Group\s+${GROUP}(\s+-\s+Address-Family\s+${ADDR_FAMILY})?\s*$$ + ^\s+State is\s+${STATE}.*\s*$$ + ^\s*State duration\s+${STATE_DURATION}\s*$$ + ^\s+Virtual IP address is\s+${VIRTUALIP}\s*$$ + ^\s+Virtual MAC address is\s+${VIRTUAL_MAC}\s*$$ + ^\s+Advertisement interval is\s+${ADV_INTERVAL} + ^\s+Preemption\s+${PREEMPT}\s*$$ + ^\s+Priority is\s+${PRIORITY}(\s+\((cfgd|[cC]onfigured)\s+${PRIORITY_CONFIGURED}\))?\s*$$ + ^\s*Track object\s+${TRACK_OBJ}\s+state\s+${TRACK_STATUS}\s+${TRACK_ACTION}\s*$$ + # ignore authentication output since later VRRP versions do not even support it + ^\s+Authentication\s + # ignoring the "local" designation since we can use the STATE value to determine who the master is + ^\s+Master Router is\s+${MASTER_IP}(\s+\(local\))?, priority is\s+${MASTER_PRIORITY}\s*$$ + ^\s+Master Advertisement interval is\s+${MASTER_ADV_INTERVAL} + ^\s+Master Down interval is\s+${MASTER_DOWN_INTERVAL} + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_ios_show_vrrp_brief.textfsm b/templates/cisco_ios_show_vrrp_brief.textfsm new file mode 100644 index 0000000000..585aa46c2c --- /dev/null +++ b/templates/cisco_ios_show_vrrp_brief.textfsm @@ -0,0 +1,38 @@ +Value IFACE (\S+) +Value GROUP (\d+) +Value ADDR_FAMILY (\S+) +Value PRIORITY (\d+) +Value TIME (\d+) +Value OWN (.?) +Value PREEMPT (.) +Value STATE (\w+) +Value MASTER_IP ([a-fA-F\d\.\:]+) +Value VIRTUALIP ([a-fA-F\d\.\:]+) + +Start + ^Interface\s+Grp\s+Pri\s+Time\s+Own\s+Pre\s+State\s+Master addr\s+Group addr\s*$$ -> Vrrp + ^\s*Interface\s+Grp\s+A-F\s+Pri\s+Time\s+Own\s+Pre\s+State\s+Master addr\/Group addr\s*$$ -> Vrrpv3 + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Vrrp + # VRRP Legacy (VRRPv2 for IPv4) + ^${IFACE}\s+${GROUP}\s*${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^${IFACE}\s*$$ + ^\s*${GROUP}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^\s*$$ + ^. -> Error + +Vrrpv3 + # VRRP Unified (VRRPv3 for IPv4 and IPv6) + # - ignoring the "local" designation since we can use the STATE value to determine who the master is + ^\s*${IFACE}\s+${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\(local\)\s+${VIRTUALIP} -> Record + ^\s*${IFACE}\s+${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + # rows that roll over to a second line + ^\s*${IFACE}\s*$$ + ^\s*${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\(local\)\s+${VIRTUALIP} -> Record + ^\s*${IFACE}\s*$$ + ^\s*${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index cbc3cfc227..5537d143b7 100644 --- a/templates/index +++ b/templates/index @@ -217,6 +217,7 @@ cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] +cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] @@ -225,6 +226,7 @@ cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] +cisco_ios_show_vrrp_all.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] a[[ll]] cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] cisco_ios_show_license.textfsm, .*, cisco_ios, sh[[ow]] lic[[ense]] diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw new file mode 100644 index 0000000000..810c9127a9 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw @@ -0,0 +1,60 @@ +FastEthernet0/1 - Group 1 + State is Master + Virtual IP address is 192.168.88.1 + Virtual MAC address is 0000.5e00.0101 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Authentication MD5, key-string "highavailability" + Master Router is 192.168.88.2 (local), priority is 110 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec + +FastEthernet0/1.2 - Group 2 + State is Master + Virtual IP address is 10.0.2.1 + Virtual MAC address is 0000.5e00.0102 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Master Router is 10.0.2.2 (local), priority is 110 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec + +FastEthernet0/1.3 - Group 3 + State is Backup + Virtual IP address is 10.0.3.1 + Virtual MAC address is 0000.5e00.0103 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Master Router is 10.0.3.3, priority is 120 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec (expires in 2.738 sec) + +FastEthernet0/1.4 - Group 4 + State is Init + Virtual IP address is 10.0.4.1 + Virtual MAC address is 0000.5e00.0104 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 100 + Master Router is 10.0.4.3, priority is 120 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.609 sec + +FastEthernet0/1.5 - Group 5 + State is Backup + Virtual IP address is 10.0.5.1 + Virtual MAC address is 0000.5e00.0105 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 90 (cfgd 110) + Track object 2 state Down decrement 20 + Master Router is 10.0.5.3, priority is 105 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec (expires in 2.706 sec) + diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml new file mode 100644 index 0000000000..98837fd982 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml @@ -0,0 +1,92 @@ +--- +parsed_sample: + - iface: "FastEthernet0/1" + group: "1" + addr_family: "" + state: "Master" + state_duration: "" + virtualip: "192.168.88.1" + virtual_mac: "0000.5e00.0101" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "192.168.88.2" + master_priority: "110" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.2" + group: "2" + addr_family: "" + state: "Master" + state_duration: "" + virtualip: "10.0.2.1" + virtual_mac: "0000.5e00.0102" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "10.0.2.2" + master_priority: "110" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.3" + group: "3" + addr_family: "" + state: "Backup" + state_duration: "" + virtualip: "10.0.3.1" + virtual_mac: "0000.5e00.0103" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "10.0.3.3" + master_priority: "120" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.4" + group: "4" + addr_family: "" + state: "Init" + state_duration: "" + virtualip: "10.0.4.1" + virtual_mac: "0000.5e00.0104" + adv_interval: "1.000" + preempt: "enabled" + priority: "100" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "10.0.4.3" + master_priority: "120" + master_adv_interval: "1.000" + master_down_interval: "3.609" + - iface: "FastEthernet0/1.5" + group: "5" + addr_family: "" + state: "Backup" + state_duration: "" + virtualip: "10.0.5.1" + virtual_mac: "0000.5e00.0105" + adv_interval: "1.000" + preempt: "enabled" + priority: "90" + priority_configured: "110" + track_obj: "2" + track_status: "Down" + track_action: "decrement 20" + master_ip: "10.0.5.3" + master_priority: "105" + master_adv_interval: "1.000" + master_down_interval: "3.570" diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw new file mode 100644 index 0000000000..428cf60d5a --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw @@ -0,0 +1,80 @@ + +GigabitEthernet0/0 - Group 1 - Address-Family IPv4 + State is MASTER + State duration 37 mins 23.080 secs + Virtual IP address is 10.0.1.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 1 state UP decrement 10 + Master Router is 10.0.1.2 (local), priority is 110 + Master Advertisement interval is 1000 msec (expires in 32 msec) + Master Down interval is unknown + +GigabitEthernet0/0 - Group 6 - Address-Family IPv6 + State is MASTER + State duration 37 mins 22.120 secs + Virtual IP address is FE80::1:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 1 state UP shutdown + Master Router is FE80::1:A (local), priority is 110 + Master Advertisement interval is 1000 msec (expires in 260 msec) + Master Down interval is unknown + + +GigabitEthernet0/0.4010 - Group 1 - Address-Family IPv4 + State is BACKUP + State duration 37 mins 14.859 secs + Virtual IP address is 10.254.1.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Master Router is 10.254.1.3, priority is 120 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3570 msec (expires in 3194 msec) + +GigabitEthernet0/0.4010 - Group 6 - Address-Family IPv6 + State is BACKUP + State duration 37 mins 13.888 secs + Virtual IP address is FE80::4010:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Master Router is FE80::4010:3, priority is 120 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3570 msec (expires in 3420 msec) + + +GigabitEthernet0/0.2600 - Group 1 - Address-Family IPv4 + State is BACKUP + State duration 2 mins 48.646 secs + Virtual IP address is 172.26.0.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 90 (Configured 110) + Track object 2 state DOWN decrement 20 + Master Router is 172.26.0.3, priority is 100 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3648 msec (expires in 3427 msec) + +GigabitEthernet0/0.2600 - Group 6 - Address-Family IPv6 + State is INIT (Group is shutdown - Tracked object down) + State duration 8 mins 57.183 secs + Virtual IP address is FE80::2600:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 2 state DOWN shutdown + Master Router is unknown, priority is unknown + Master Advertisement interval is unknown + Master Down interval is unknown + + diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml new file mode 100644 index 0000000000..6be1b74098 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - iface: "GigabitEthernet0/0" + group: "1" + addr_family: "IPv4" + state: "MASTER" + state_duration: "37 mins 23.080 secs" + virtualip: "10.0.1.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "UP" + track_action: "decrement 10" + master_ip: "10.0.1.2" + master_priority: "110" + master_adv_interval: "1000" + master_down_interval: "unknown" + - iface: "GigabitEthernet0/0" + group: "6" + addr_family: "IPv6" + state: "MASTER" + state_duration: "37 mins 22.120 secs" + virtualip: "FE80::1:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "UP" + track_action: "shutdown" + master_ip: "FE80::1:A" + master_priority: "110" + master_adv_interval: "1000" + master_down_interval: "unknown" + - iface: "GigabitEthernet0/0.4010" + group: "1" + addr_family: "IPv4" + state: "BACKUP" + state_duration: "37 mins 14.859 secs" + virtualip: "10.254.1.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "10.254.1.3" + master_priority: "120" + master_adv_interval: "1000" + master_down_interval: "3570" + - iface: "GigabitEthernet0/0.4010" + group: "6" + addr_family: "IPv6" + state: "BACKUP" + state_duration: "37 mins 13.888 secs" + virtualip: "FE80::4010:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "FE80::4010:3" + master_priority: "120" + master_adv_interval: "1000" + master_down_interval: "3570" + - iface: "GigabitEthernet0/0.2600" + group: "1" + addr_family: "IPv4" + state: "BACKUP" + state_duration: "2 mins 48.646 secs" + virtualip: "172.26.0.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "90" + priority_configured: "110" + track_obj: "2" + track_status: "DOWN" + track_action: "decrement 20" + master_ip: "172.26.0.3" + master_priority: "100" + master_adv_interval: "1000" + master_down_interval: "3648" + - iface: "GigabitEthernet0/0.2600" + group: "6" + addr_family: "IPv6" + state: "INIT" + state_duration: "8 mins 57.183 secs" + virtualip: "FE80::2600:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "2" + track_status: "DOWN" + track_action: "shutdown" + master_ip: "unknown" + master_priority: "unknown" + master_adv_interval: "unknown" + master_down_interval: "unknown" diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw new file mode 100644 index 0000000000..cbc0108764 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw @@ -0,0 +1,7 @@ +Interface Grp Pri Time Own Pre State Master addr Group addr +Fa0/1 1 110 3570 Y Master 192.168.88.2 192.168.88.1 +Fa0/1.2 2 110 3570 Y Master 10.0.2.2 10.0.2.1 +Fa0/1.3 3 110 3570 Y Backup 10.0.3.3 10.0.3.1 +Fa0/1.4 4 100 3609 Y Init 10.0.4.3 10.0.4.1 +Fa0/1.5 5 90 3570 Y Backup 10.0.5.3 10.0.5.1 + diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml new file mode 100644 index 0000000000..ed7075c43b --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - iface: "Fa0/1" + group: "1" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Master" + master_ip: "192.168.88.2" + virtualip: "192.168.88.1" + - iface: "Fa0/1.2" + group: "2" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Master" + master_ip: "10.0.2.2" + virtualip: "10.0.2.1" + - iface: "Fa0/1.3" + group: "3" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Backup" + master_ip: "10.0.3.3" + virtualip: "10.0.3.1" + - iface: "Fa0/1.4" + group: "4" + addr_family: "" + priority: "100" + time: "3609" + own: "" + preempt: "Y" + state: "Init" + master_ip: "10.0.4.3" + virtualip: "10.0.4.1" + - iface: "Fa0/1.5" + group: "5" + addr_family: "" + priority: "90" + time: "3570" + own: "" + preempt: "Y" + state: "Backup" + master_ip: "10.0.5.3" + virtualip: "10.0.5.1" diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw new file mode 100644 index 0000000000..4893cd1c41 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw @@ -0,0 +1,7 @@ + Interface Grp A-F Pri Time Own Pre State Master addr/Group addr + Gi0/0 1 IPv4 110 0 N Y MASTER 10.0.1.2(local) 10.0.1.1 + Gi0/0 6 IPv6 110 0 N Y MASTER FE80::1:A(local) FE80::1:1 + Gi0/0.4010 1 IPv4 110 3570 N Y BACKUP 10.254.1.3 10.254.1.1 + Gi0/0.4010 6 IPv6 110 3570 N Y BACKUP FE80::4010:3 FE80::4010:1 + Gi0/0.2600 1 IPv4 90 3648 N Y BACKUP 172.26.0.3 172.26.0.1 + diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml new file mode 100644 index 0000000000..70962bb3af --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - iface: "Gi0/0" + group: "1" + addr_family: "IPv4" + priority: "110" + time: "0" + own: "N" + preempt: "Y" + state: "MASTER" + master_ip: "10.0.1.2" + virtualip: "10.0.1.1" + - iface: "Gi0/0" + group: "6" + addr_family: "IPv6" + priority: "110" + time: "0" + own: "N" + preempt: "Y" + state: "MASTER" + master_ip: "FE80::1:A" + virtualip: "FE80::1:1" + - iface: "Gi0/0.4010" + group: "1" + addr_family: "IPv4" + priority: "110" + time: "3570" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "10.254.1.3" + virtualip: "10.254.1.1" + - iface: "Gi0/0.4010" + group: "6" + addr_family: "IPv6" + priority: "110" + time: "3570" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "FE80::4010:3" + virtualip: "FE80::4010:1" + - iface: "Gi0/0.2600" + group: "1" + addr_family: "IPv4" + priority: "90" + time: "3648" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "172.26.0.3" + virtualip: "172.26.0.1" From 8230cf552acbb612879e0fe288954c142e0daa81 Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Thu, 28 Jan 2021 22:11:08 -0500 Subject: [PATCH 147/412] New Templates: cisco_wlc_ssh_show_redundancy_detail/summary.textfsm (#846) --- ...sco_wlc_ssh_show_redundancy_detail.textfsm | 18 ++++++++++++++ ...co_wlc_ssh_show_redundancy_summary.textfsm | 24 +++++++++++++++++++ templates/index | 6 +++-- .../cisco_wlc_ssh_show_redundancy_detail.raw | 21 ++++++++++++++++ .../cisco_wlc_ssh_show_redundancy_detail.yml | 9 +++++++ .../cisco_wlc_ssh_show_redundancy_summary.raw | 11 +++++++++ .../cisco_wlc_ssh_show_redundancy_summary.yml | 13 ++++++++++ 7 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_wlc_ssh_show_redundancy_detail.textfsm create mode 100644 templates/cisco_wlc_ssh_show_redundancy_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw create mode 100644 tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml diff --git a/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm b/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm new file mode 100644 index 0000000000..32a28fec84 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm @@ -0,0 +1,18 @@ +Value REDUNDANCY_MGMT_ADDR (\S+) +Value PEER_REDUNDANCY_MGMT_ADDR (\S+) +Value REDUNDANCY_PORT_ADDR (\S+) +Value PEER_REDUNDANCY_PORT_ADDR (\S+) +Value PEER_SERVICE_PORT_ADDR (\S+) +Value KEEP_ALIVE_TIMEOUT (\d+) +Value PEER_SEARCH_TIMEOUT (\d+) + +Start + ^\s*Redundancy Management IP Address\.*\s+${REDUNDANCY_MGMT_ADDR}\s*$$ + ^\s*Peer Redundancy Management IP Address\.*\s+${PEER_REDUNDANCY_MGMT_ADDR}\s*$$ + ^\s*Redundancy Port IP Address\.*\s+${REDUNDANCY_PORT_ADDR}\s*$$ + ^\s*Peer Redundancy Port IP Address\.*\s+${PEER_REDUNDANCY_PORT_ADDR}\s*$$ + ^\s*Peer Service Port IP Address\.*\s+${PEER_SERVICE_PORT_ADDR}\s*$$ + # presently not parsing Switchover History + ^\s*Keep Alive Timeout\s+:\s+${KEEP_ALIVE_TIMEOUT}\s+msecs\s*$$ + ^\s*Peer Search Timeout\s+:\s+${PEER_SEARCH_TIMEOUT}\s+secs\s*$$ + # presently not parsing Peer Network Routes diff --git a/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm b/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm new file mode 100644 index 0000000000..e679922a64 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm @@ -0,0 +1,24 @@ +Value REDUNDANCY_MODE (\S+\s+\S+) +Value LOCAL_STATE (\S+) +Value PEER_STATE (\S+\s+\S+) +Value UNIT (\S+) +Value UNIT_ID (([\da-fA-F]{2}\:?){6}) +Value REDUNDANCY_STATE (\S+) +Value MOBILITY_MAC (([\da-fA-F]{2}\:?){6}) +Value REDUNDANCY_PORT (\S+) +Value BULKSYNC_STATUS (\S+) +Value AVG_REDUNDANCY_PEER_LATENCY (\d+) +Value AVG_MGMT_GW_LATENCY (\d+) + +Start + ^\s+Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$ + ^\s+Local State\s+=\s+${LOCAL_STATE}\s*$$ + ^\s+Peer State\s+=\s+${PEER_STATE}\s*$$ + ^\s+Unit\s+=\s+${UNIT}\s*$$ + ^\s+Unit ID\s+=\s+${UNIT_ID}\s*$$ + ^\s+Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$ + ^\s+Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$ + ^\s+Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$ + ^\s+BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$ + ^\s*Average Redundancy Peer Reachability Latency\s+=\s+${AVG_REDUNDANCY_PEER_LATENCY}\s+\S+\s+Seconds\s*$$ + ^\s*Average Management Gateway Reachability Latency\s+=\s+${AVG_MGMT_GW_LATENCY}\s+\S+\s+Seconds\s*$$ diff --git a/templates/index b/templates/index index 5537d143b7..4b48563c71 100644 --- a/templates/index +++ b/templates/index @@ -4,8 +4,8 @@ # abc[[xyz]] is expanded to abc(x(y(z)?)?)?, regexp inside [[]] is not supported # # Rules of Ordering: -# - OS in alphbetical order -# - Command in length other +# - OS in alphabetical order +# - Template name in length order # - When Length is the same, use alphabetical order # - Keep space between OS's # @@ -309,9 +309,11 @@ cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] d[[etailed]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_wlc_ssh_show_redundancy_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] su[[mmary]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] +cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw new file mode 100644 index 0000000000..0507ccf2e9 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw @@ -0,0 +1,21 @@ +Redundancy Management IP Address................. 10.128.1.2 +Peer Redundancy Management IP Address............ 10.128.1.3 +Redundancy Port IP Address....................... 169.254.1.2 +Peer Redundancy Port IP Address.................. 169.254.1.3 +Peer Service Port IP Address..................... 0.0.0.0 + +Switchover History[1]: +Previous Active = 10.128.1.3, Current Active = 10.128.1.2 +Switchover Reason = Active controller failed, Switchover Time = Tue Nov 24 19:24:43 2020 + + +Redundancy Timeout Values.....: +---------------------------------------------------- +Keep Alive Timeout : 100 msecs +Peer Search Timeout : 120 secs + + +Number of Routes................................. 0 + +Destination Network Netmask Gateway +------------------- ------------------- ------------------- diff --git a/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml new file mode 100644 index 0000000000..3c5c3e8a60 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - redundancy_mgmt_addr: "10.128.1.2" + peer_redundancy_mgmt_addr: "10.128.1.3" + redundancy_port_addr: "169.254.1.2" + peer_redundancy_port_addr: "169.254.1.3" + peer_service_port_addr: "0.0.0.0" + keep_alive_timeout: "100" + peer_search_timeout: "120" diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw new file mode 100644 index 0000000000..08f379e802 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw @@ -0,0 +1,11 @@ + Redundancy Mode = SSO ENABLED + Local State = ACTIVE + Peer State = STANDBY HOT + Unit = Primary + Unit ID = 00:00:00:00:12:34 + Redundancy State = SSO + Mobility MAC = 00:00:00:00:12:34 + Redundancy Port = UP + BulkSync Status = Complete +Average Redundancy Peer Reachability Latency = 199 Micro Seconds +Average Management Gateway Reachability Latency = 570 Micro Seconds diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml new file mode 100644 index 0000000000..b646f23b65 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - redundancy_mode: "SSO ENABLED" + local_state: "ACTIVE" + peer_state: "STANDBY HOT" + unit: "Primary" + unit_id: "00:00:00:00:12:34" + redundancy_state: "SSO" + mobility_mac: "00:00:00:00:12:34" + redundancy_port: "UP" + bulksync_status: "Complete" + avg_redundancy_peer_latency: "199" + avg_mgmt_gw_latency: "570" From 20236ee9ea42ab7a1ccb6b05ae6d3c303553857d Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sat, 30 Jan 2021 09:24:45 -0500 Subject: [PATCH 148/412] New Template: cisco_wlc_show_mobility_anchor (#847) --- ...cisco_wlc_ssh_show_mobility_anchor.textfsm | 19 ++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_mobility_anchor.raw | 16 ++++++++++++++ .../cisco_wlc_ssh_show_mobility_anchor.yml | 22 +++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_mobility_anchor.textfsm create mode 100644 tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw create mode 100644 tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml diff --git a/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm b/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm new file mode 100644 index 0000000000..6c92cdd39e --- /dev/null +++ b/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm @@ -0,0 +1,19 @@ +Value WLAN_ID (\d+) +Value IPADDR (\S+) +Value STATUS (\S+) +Value PRIORITY ([1-3]) + +Start + ^\s*WLAN ID\s+IP Address\s+Status\s+Priority\s*$$ -> Mobility_Anchor + +Mobility_Anchor + # WLAN Mobility Anchor List + ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS}\s+${PRIORITY} -> Record + # + # also handling the similar Guest LAN (GLAN) output + ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS} -> Record + # + ^\s*GLAN ID\s+IP Address\s+Status\s*$$ + ^\s+[-\s]+$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 4b48563c71..920cc47018 100644 --- a/templates/index +++ b/templates/index @@ -314,6 +314,7 @@ cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] +cisco_wlc_ssh_show_mobility_anchor.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] an[[chor]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw new file mode 100644 index 0000000000..fb158357b3 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw @@ -0,0 +1,16 @@ + +Mobility Anchor Export List + + + Priority number, 1=Highest priority and 3=Lowest priority(default). + + WLAN ID IP Address Status Priority + ------- --------------- ------ -------- + 12 10.0.0.211 Up 3 + 12 10.0.0.212 Up 2 + 13 10.0.0.212 Up 2 + 13 10.0.0.213 Up 1 + + GLAN ID IP Address Status + ------- --------------- ------ + 99 192.168.180.1 Down diff --git a/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml new file mode 100644 index 0000000000..c7c15c3af0 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - wlan_id: "12" + ipaddr: "10.0.0.211" + status: "Up" + priority: "3" + - wlan_id: "12" + ipaddr: "10.0.0.212" + status: "Up" + priority: "2" + - wlan_id: "13" + ipaddr: "10.0.0.212" + status: "Up" + priority: "2" + - wlan_id: "13" + ipaddr: "10.0.0.213" + status: "Up" + priority: "1" + - wlan_id: "99" + ipaddr: "192.168.180.1" + status: "Down" + priority: "" From 46287b2e23af2c65ee89a4e53460e486a43bcc8a Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Sun, 31 Jan 2021 08:50:40 -0600 Subject: [PATCH 149/412] Enhancement: Add Environment Variable Option for Custom Template Location (#863) --- README.md | 19 +++++++++++++++++++ lib/ntc_templates/parse.py | 12 +++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 08a57069fc..4911e04987 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,25 @@ $ >>> ``` +### Define Custom Templates Directory + +To use a custom templates directory set the environmental variable `NTC_TEMPLATES_DIR`. + +**Requirements** +1. `index` file needs to be defined with standard structure. [See](#Index-File) +2. Each custom template should be defined. + +To manaully set variable: +```shell +export NTC_TEMPLATES_DIR=/path/to/new/location/templates +``` + +To set within your program: +```python +import os +os.environ["NTC_TEMPLATES_DIR"] = "/path/to/new/templates/location/templates" +``` + Contributing ------------ diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 624a6cf179..407c289b56 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -12,11 +12,13 @@ def _get_template_dir(): - package_dir = os.path.dirname(__file__) - template_dir = os.path.join(package_dir, "templates") - if not os.path.isdir(template_dir): - project_dir = os.path.dirname(os.path.dirname(os.path.dirname(template_dir))) - template_dir = os.path.join(project_dir, "templates") + template_dir = os.environ.get("NTC_TEMPLATES_DIR") + if template_dir is None: + package_dir = os.path.dirname(__file__) + template_dir = os.path.join(package_dir, "templates") + if not os.path.isdir(template_dir): + project_dir = os.path.dirname(os.path.dirname(os.path.dirname(template_dir))) + template_dir = os.path.join(project_dir, "templates") return template_dir From ffe7044beccee8c4dc10fba439319f374c52a76c Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sun, 31 Jan 2021 09:52:51 -0500 Subject: [PATCH 150/412] New Template: cisco_wlc_ssh_show_time.textfsm (#853) --- templates/cisco_wlc_ssh_show_time.textfsm | 29 +++++++++++++++++++ templates/index | 1 + .../show_time/cisco_wlc_ssh_show_time.raw | 14 +++++++++ .../show_time/cisco_wlc_ssh_show_time.yml | 24 +++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_time.textfsm create mode 100644 tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw create mode 100644 tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml diff --git a/templates/cisco_wlc_ssh_show_time.textfsm b/templates/cisco_wlc_ssh_show_time.textfsm new file mode 100644 index 0000000000..4dc209b1ae --- /dev/null +++ b/templates/cisco_wlc_ssh_show_time.textfsm @@ -0,0 +1,29 @@ +Value Filldown TIME (.+) +Value Filldown TZ_DELTA (\S+) +Value Filldown TIMEZONE (.+) +Value Filldown TZ_NAME (.+) +Value Filldown NTP_VERSION (\d) +Value Filldown NTP_POLLING_INTERVAL (\d+) +Value Required INDEX (\d+) +Value NTP_KEY_INDEX (\d+) +Value NTP_SERVER (\S+) +Value STATUS (\S+\s?\S+) +Value NTP_MSG_AUTH_STATUS (\S+\s?\S+) + +Start + ^\s*Time\s*\.+\s+${TIME}\s*$$ + ^\s*Timezone [dD]elta\s*\.+\s+${TZ_DELTA}\s*$$ + ^\s*Timezone [lL]ocation\s*\.+\s+\(${TIMEZONE}\)\s+${TZ_NAME}\s*$$ + ^\s*NTP [sS]ervers\s*$$ + ^\s*NTP [vV]ersion\s*\.+\s+${NTP_VERSION}\s*$$ + ^\s*NTP [pP]olling [iI]nterval\s*\.+\s+${NTP_POLLING_INTERVAL}\s*$$ + # + # NTP Server Table + ^\s+Index\s+NTP Key Index\s+NTP Server\s+Status\s+NTP Msg Auth Status\s*$$ -> NTP_Servers + ^\s*$$ + +NTP_Servers + ^\s+${INDEX}\s+${NTP_KEY_INDEX}\s+${NTP_SERVER}\s+${STATUS}\s+${NTP_MSG_AUTH_STATUS}\s*$$ -> Record + ^\s+[-\s]+$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 920cc47018..4d0a9e52ac 100644 --- a/templates/index +++ b/templates/index @@ -325,6 +325,7 @@ cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] cisco_wlc_ssh_show_802.11a.textfsm, .*, cisco_wlc_ssh, show 802\.11[ab] cisco_wlc_ssh_show_sysinfo.textfsm, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_wlc_ssh_show_time.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ti[[me]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw new file mode 100644 index 0000000000..f14665d260 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw @@ -0,0 +1,14 @@ + +Time............................................. Tue Dec 22 11:02:42 2020 + +Timezone delta................................... 0:0 +Timezone location................................ (GMT -5:00) Eastern Time (US and Canada) + +NTP Servers + NTP Version.................................. 3 + NTP Polling Interval......................... 72000 + + Index NTP Key Index NTP Server Status NTP Msg Auth Status + ------- --------------------------------------------------------------------- + 1 0 1.1.1.1 In Sync AUTH DISABLED + 2 0 128.138.141.172 Not Tried AUTH DISABLED diff --git a/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml new file mode 100644 index 0000000000..161fbd23ec --- /dev/null +++ b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - time: "Tue Dec 22 11:02:42 2020" + tz_delta: "0:0" + timezone: "GMT -5:00" + tz_name: "Eastern Time (US and Canada)" + ntp_version: "3" + ntp_polling_interval: "72000" + index: "1" + ntp_key_index: "0" + ntp_server: "1.1.1.1" + status: "In Sync" + ntp_msg_auth_status: "AUTH DISABLED" + - time: "Tue Dec 22 11:02:42 2020" + tz_delta: "0:0" + timezone: "GMT -5:00" + tz_name: "Eastern Time (US and Canada)" + ntp_version: "3" + ntp_polling_interval: "72000" + index: "2" + ntp_key_index: "0" + ntp_server: "128.138.141.172" + status: "Not Tried" + ntp_msg_auth_status: "AUTH DISABLED" From 73efe300ecd1a5b411c8dce879d95b24377ae3f8 Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sun, 31 Jan 2021 11:07:48 -0500 Subject: [PATCH 151/412] New Templates: cisco_wlc_ssh_show_port_summary/stats_port_summary (#854) --- .../cisco_wlc_ssh_show_port_summary.textfsm | 23 ++++++ ...co_wlc_ssh_show_stats_port_summary.textfsm | 30 ++++++++ templates/index | 2 + .../cisco_wlc_ssh_show_port_summary.raw | 11 +++ .../cisco_wlc_ssh_show_port_summary.yml | 65 +++++++++++++++++ .../cisco_wlc_ssh_show_stats_port_summary.raw | 9 +++ .../cisco_wlc_ssh_show_stats_port_summary.yml | 72 +++++++++++++++++++ 7 files changed, 212 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_port_summary.textfsm create mode 100644 templates/cisco_wlc_ssh_show_stats_port_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml create mode 100644 tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml diff --git a/templates/cisco_wlc_ssh_show_port_summary.textfsm b/templates/cisco_wlc_ssh_show_port_summary.textfsm new file mode 100644 index 0000000000..690218fc3c --- /dev/null +++ b/templates/cisco_wlc_ssh_show_port_summary.textfsm @@ -0,0 +1,23 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value STP_STATUS (\S+) +Value ADMIN_MODE (\S+) +Value PHYSICAL_MODE (\w+\s?\w+) +Value PHYSICAL_STATUS (\w+\s?\w+) +Value LINK_STATUS (\S+) +Value LINK_TRAP (\S+) +Value POE (\S+(\s+\S+\s+\S+)?) + +Start + ^\s+STP\s+Admin\s+(Physical\s+){2}\s*(Link\s*){2}\s*$$ + ^\s*Pr\s+Type\s+Stat\s+(Mode\s+){2}\s*(Status\s+){2}\s*Trap\s+POE\s*$$ + # + # Port Status and Modes (after the dashed line) + ^\s*[-\s]+$$ -> Port_Status + ^\s*$$ + ^. -> Error + +Port_Status + ^\s*${PORT}\s+${TYPE}\s+${STP_STATUS}\s+${ADMIN_MODE}\s+${PHYSICAL_MODE}\s+${PHYSICAL_STATUS}\s+${LINK_STATUS}\s+${LINK_TRAP}\s+${POE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm b/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm new file mode 100644 index 0000000000..4211c9195c --- /dev/null +++ b/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm @@ -0,0 +1,30 @@ +Value Required PORT (\d) +Value LINK_STATUS (\S+) +Value PACKETS_IN (\d+) +Value PACKETS_OUT (\d+) +Value BROADCAST_IN (\d+) +Value ERRORS_IN (\d+) +Value ERRORS_OUT (\d+) +Value COLLISIONS (\d+) +Value Fillup TOTAL_PACKETS_IN (\d+) +Value Fillup TOTAL_PACKETS_OUT (\d+) +Value Fillup TOTAL_BROADCAST_IN (\d+) +Value Fillup TOTAL_ERRORS_IN (\d+) +Value Fillup TOTAL_ERRORS_OUT (\d+) +Value Fillup TOTAL_COLLISIONS (\d+) + +Start + ^\s+Link\s+(Pkts In\s+){2}\s*Pkts Out\s*$$ + ^\s*Pr\s+Status\s+(Pkts (In|Out)\s+){2}\s*Bcast\s+(?:Errors\s+){2}\s*Collisions\s*$$ -> Port_Stats + # + # Port Statistics (after the dashed line) + #^\s*[-\s]+$$ -> Port_Stats + ^\s*$$ + ^. -> Error + +Port_Stats + ^-+ + ^\s*${PORT}\s+${LINK_STATUS}\s+${PACKETS_IN}\s+${PACKETS_OUT}\s+${BROADCAST_IN}\s+${ERRORS_IN}\s+${ERRORS_OUT}\s+${COLLISIONS}\s*$$ -> Record + ^\s*Total\s+${TOTAL_PACKETS_IN}\s+${TOTAL_PACKETS_OUT}\s+${TOTAL_BROADCAST_IN}\s+${TOTAL_ERRORS_IN}\s+${TOTAL_ERRORS_OUT}\s+${TOTAL_COLLISIONS}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 4d0a9e52ac..6b8dc82d25 100644 --- a/templates/index +++ b/templates/index @@ -311,6 +311,7 @@ cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] in cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_redundancy_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] su[[mmary]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] +cisco_wlc_ssh_show_stats_port_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] st[[ats]] p[[ort]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] @@ -319,6 +320,7 @@ cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] +cisco_wlc_ssh_show_port_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] por[[t]] s[[ummary]] cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] diff --git a/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw new file mode 100644 index 0000000000..3d6f5dc549 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw @@ -0,0 +1,11 @@ + + STP Admin Physical Physical Link Link +Pr Type Stat Mode Mode Status Status Trap POE +-- ------- ---- ------- ---------- ---------- ------ ------- --------- +1 Normal Forw Enable Auto 1000 Full Up Enable N/A +2 Normal Disa Disable Auto Auto Down Enable N/A +3 Normal Disa Disable Auto Auto Down Enable Disable +4 Normal Forw Enable Auto 1000 Full Up Enable Enable (Power Off) +5 Normal Disa Enable Auto Auto Down Enable N/A +RP Normal Forw Enable Auto Auto Up Enable N/A +SP Normal Disa Enable Auto Auto Down Enable N/A diff --git a/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml new file mode 100644 index 0000000000..26a20588ac --- /dev/null +++ b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - port: "1" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "1000 Full" + link_status: "Up" + link_trap: "Enable" + poe: "N/A" + - port: "2" + type: "Normal" + stp_status: "Disa" + admin_mode: "Disable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" + - port: "3" + type: "Normal" + stp_status: "Disa" + admin_mode: "Disable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "Disable" + - port: "4" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "1000 Full" + link_status: "Up" + link_trap: "Enable" + poe: "Enable (Power Off)" + - port: "5" + type: "Normal" + stp_status: "Disa" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" + - port: "RP" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Up" + link_trap: "Enable" + poe: "N/A" + - port: "SP" + type: "Normal" + stp_status: "Disa" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" diff --git a/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw new file mode 100644 index 0000000000..0ba4acca08 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw @@ -0,0 +1,9 @@ + Link Pkts In Pkts In Pkts Out +Pr Status Pkts In Pkts Out Bcast Errors Errors Collisions +-- ------ ------- ------- ------- ------- ------- ---------- +1 Up 2364509905 2472568024 66473417 0 0 0 +2 Down 0 0 0 0 0 0 +3 Down 0 0 0 0 0 0 +4 Up 335582045 124686415 3515026 0 0 0 +5 Down 0 0 0 0 0 0 + Total 2700091950 2597254439 69988443 0 0 0 diff --git a/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml new file mode 100644 index 0000000000..3b2b34b6f8 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - port: "1" + link_status: "Up" + packets_in: "2364509905" + packets_out: "2472568024" + broadcast_in: "66473417" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "2" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "3" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "4" + link_status: "Up" + packets_in: "335582045" + packets_out: "124686415" + broadcast_in: "3515026" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "5" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" From d2b0255486a97086f7f985cef0c0d429564b9a8e Mon Sep 17 00:00:00 2001 From: Michael Bear <38406045+mjbear@users.noreply.github.com> Date: Tue, 2 Feb 2021 21:23:13 -0500 Subject: [PATCH 152/412] New templates: cisco_wlc_ssh_show_radius/tacacs_summary.textfsm (#855) --- .../cisco_wlc_ssh_show_radius_summary.textfsm | 61 +++++++++++ .../cisco_wlc_ssh_show_tacacs_summary.textfsm | 45 ++++++++ templates/index | 2 + .../cisco_wlc_ssh_show_radius_summary.raw | 29 +++++ .../cisco_wlc_ssh_show_radius_summary.yml | 102 ++++++++++++++++++ .../cisco_wlc_ssh_show_tacacs_summary.raw | 26 +++++ .../cisco_wlc_ssh_show_tacacs_summary.yml | 83 ++++++++++++++ 7 files changed, 348 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_radius_summary.textfsm create mode 100644 templates/cisco_wlc_ssh_show_tacacs_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml create mode 100644 tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml diff --git a/templates/cisco_wlc_ssh_show_radius_summary.textfsm b/templates/cisco_wlc_ssh_show_radius_summary.textfsm new file mode 100644 index 0000000000..4554182556 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_radius_summary.textfsm @@ -0,0 +1,61 @@ +Value Filldown VENDOR_ID_BACKWARD_COMPAT (\S+) +Value Filldown CALL_STATION_ID_CASE (\S+) +Value Filldown ACCOUNTING_CALL_STATION_ID_TYPE (.+) +Value Filldown AUTHENTICATION_CALL_STATION_ID_TYPE (.+) +Value Filldown EXTENDED_SOURCE_PORTS_SUPPORT (\S+) +Value Filldown AGGRESSIVE_FAILOVER (\S+) +Value Filldown KEYWRAP (\S+) +Value Filldown FALLBACK_TEST_MODE (\S+) +Value Filldown FALLBACK_TEST_USERNAME (.+) +Value Filldown FALLBACK_TEST_INTERVAL (\d+) +Value Filldown MAC_DELIM_AUTHENTICATION_MSG (\S+) +Value Filldown MAC_DELIM_ACCOUNTING_MSG (\S+) +Value Filldown AUTHENTICATION_FRAMED_MTU (\d+) +Value Required INDEX (\d+) +Value AUTHENTICATION_ADDR (\S+) +Value ACCOUNTING_ADDR (\S+) +Value TYPE (\S+) +Value PORT (\d+) +Value STATE (\S+) +Value TIMEOUT (\d+) +Value MGMT_TIMEOUT (\d+) +Value RFC3576 (\S+) +Value IPSEC_STATE (\S+) +Value IPSEC_PROFILE (\S+) +Value IPSEC_REGION (\S+) + +Start + ^\s*Vendor Id Backward Compatibility\s*\.+\s+${VENDOR_ID_BACKWARD_COMPAT}\s*$$ + ^\s*Call Station I[dD] Case\s*\.+\s+${CALL_STATION_ID_CASE}\s*$$ + ^\s*Accounting Call Station I[dD] Type\s*\.+\s+${ACCOUNTING_CALL_STATION_ID_TYPE}\s*$$ + ^\s*Auth Call Station I[dD] Type\s*\.+\s+${AUTHENTICATION_CALL_STATION_ID_TYPE}\s*$$ + ^\s*Extended Source Ports Support\s*\.+\s+${EXTENDED_SOURCE_PORTS_SUPPORT}\s*$$ + ^\s*Aggressive Failover\s*\.+\s+${AGGRESSIVE_FAILOVER}\s*$$ + ^\s*Keywrap\s*\.+\s+${KEYWRAP}\s*$$ + ^\s*Fallback Test:\s*$$ + ^\s+Test Mode\s*\.+\s+${FALLBACK_TEST_MODE}\s*$$ + ^\s+Probe User Name\s*\.+\s+${FALLBACK_TEST_USERNAME}\s*$$ + ^\s+Interval \(in seconds\)\.+\s+${FALLBACK_TEST_INTERVAL}\s*$$ + ^\s*MAC Delimiter for Authentication Messages\s*\.+\s+${MAC_DELIM_AUTHENTICATION_MSG}\s*$$ + ^\s*MAC Delimiter for Accounting Messages\s*\.+\s+${MAC_DELIM_ACCOUNTING_MSG}\s*$$ + ^\s*RADIUS Authentication Framed-MTU\s*\.+\s+${AUTHENTICATION_FRAMED_MTU}\s[bB]ytes\s*$$ + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthC_Servers + ^\s*Idx\s+Type\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s+RFC3576\s+IPSec - state\/Profile Name\/RadiusRegionString\s*$$ + ^-+ + ^\s*${INDEX}\s+\*\s+${TYPE}\s+${AUTHENTICATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s+${RFC3576}\s+${IPSEC_STATE}\s+${IPSEC_PROFILE}\s+\/${IPSEC_REGION}\s*$$ -> Record + ^\s*$$ + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^. -> Error + +Acct_Servers + ^\s*Idx\s+Type\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s+RFC3576\s+IPSec - state\/Profile Name\/RadiusRegionString\s*$$ + ^-+ + ^\s*${INDEX}\s+\*\s+${TYPE}\s+${ACCOUNTING_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s+${RFC3576}\s+${IPSEC_STATE}\s+${IPSEC_PROFILE}\s+\/${IPSEC_REGION}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm b/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm new file mode 100644 index 0000000000..1e3510c16e --- /dev/null +++ b/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm @@ -0,0 +1,45 @@ +Value Filldown FALLBACK_TEST_INTERVAL (\d+) +Value Required INDEX (\d+) +Value AUTHENTICATION_ADDR (\S+) +Value AUTHORIZATION_ADDR (\S+) +Value ACCOUNTING_ADDR (\S+) +Value PORT (\d+) +Value STATE (\S+) +Value TIMEOUT (\d+) +Value MGMT_TIMEOUT (\d+) + +Start + ^\s*Fallback Test:\s*$$ + ^\s+Interval \(in seconds\)\s*\.+\s+${FALLBACK_TEST_INTERVAL}\s*$$ + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthC_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${AUTHENTICATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthZ_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${AUTHORIZATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +Acct_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${ACCOUNTING_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 6b8dc82d25..7158d280a8 100644 --- a/templates/index +++ b/templates/index @@ -316,6 +316,8 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] cisco_wlc_ssh_show_mobility_anchor.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] an[[chor]] +cisco_wlc_ssh_show_radius_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ra[[dius]] s[[ummary]] +cisco_wlc_ssh_show_tacacs_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ta[[cacs]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw new file mode 100644 index 0000000000..4b85b8d66d --- /dev/null +++ b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw @@ -0,0 +1,29 @@ + +Vendor Id Backward Compatibility................. Disabled +Call Station Id Case............................. lower +Accounting Call Station Id Type.................. Mac Address +Auth Call Station Id Type........................ AP's Radio MAC Address:SSID +Extended Source Ports Support.................... Enabled +Aggressive Failover.............................. Disabled +Keywrap.......................................... Disabled +Fallback Test: + Test Mode.................................... Passive + Probe User Name.............................. cisco-probe + Interval (in seconds)........................ 300 +MAC Delimiter for Authentication Messages........ hyphen +MAC Delimiter for Accounting Messages............ hyphen +RADIUS Authentication Framed-MTU................. 1300 Bytes + +Authentication Servers + +Idx Type Server Address Port State Tout MgmtTout RFC3576 IPSec - state/Profile Name/RadiusRegionString +--- ---- ---------------- ------ -------- ---- -------- ------- ------------------------------------------------------- +3 * NM 10.255.255.24 1812 Enabled 5 5 Disabled Disabled - /none +4 * NM 10.255.255.25 1812 Enabled 5 5 Disabled Disabled - /none + +Accounting Servers + +Idx Type Server Address Port State Tout MgmtTout RFC3576 IPSec - state/Profile Name/RadiusRegionString +--- ---- ---------------- ------ -------- ---- -------- ------- ------------------------------------------------------- +3 * N 10.255.255.26 1813 Enabled 5 5 N/A Disabled - /none +4 * N 10.255.255.27 1813 Enabled 5 5 N/A Disabled - /none diff --git a/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml new file mode 100644 index 0000000000..728c5eb13b --- /dev/null +++ b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "3" + authentication_addr: "10.255.255.24" + accounting_addr: "" + type: "NM" + port: "1812" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "Disabled" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "4" + authentication_addr: "10.255.255.25" + accounting_addr: "" + type: "NM" + port: "1812" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "Disabled" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "3" + authentication_addr: "" + accounting_addr: "10.255.255.26" + type: "N" + port: "1813" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "N/A" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "4" + authentication_addr: "" + accounting_addr: "10.255.255.27" + type: "N" + port: "1813" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "N/A" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" diff --git a/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw new file mode 100644 index 0000000000..00ed483d91 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw @@ -0,0 +1,26 @@ + +Fallback Test: + Interval (in seconds)........................ 0 +Authentication Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.24 49 Enabled 5 5 +2 10.255.255.25 49 Enabled 5 5 +3 10.255.255.124 49 Enabled 5 5 + +Authorization Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.26 49 Enabled 5 5 +2 10.255.255.27 49 Enabled 5 5 +3 10.255.255.126 49 Enabled 5 5 + +Accounting Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.28 49 Enabled 5 5 +2 10.255.255.29 49 Enabled 5 5 +3 10.255.255.128 49 Enabled 5 5 diff --git a/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml new file mode 100644 index 0000000000..140c6b3357 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml @@ -0,0 +1,83 @@ +--- +parsed_sample: + - fallback_test_interval: "0" + index: "1" + authentication_addr: "10.255.255.24" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "10.255.255.25" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "10.255.255.124" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "1" + authentication_addr: "" + authorization_addr: "10.255.255.26" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "" + authorization_addr: "10.255.255.27" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "" + authorization_addr: "10.255.255.126" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "1" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.28" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.29" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.128" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" From 23378bcd02621f9f720334b2bc1d70e0a76e1021 Mon Sep 17 00:00:00 2001 From: Akira Yokochi Date: Wed, 3 Feb 2021 23:44:31 +0900 Subject: [PATCH 153/412] New templates: yamaha_show_environment, yamaha_show_ip_route (#865) --- templates/index | 3 + templates/yamaha_show_environment.textfsm | 36 +++++++++++ templates/yamaha_show_ip_route.textfsm | 17 +++++ tests/test_index_order.py | 1 + .../yamaha_show_environment.raw | 13 ++++ .../yamaha_show_environment.yml | 20 ++++++ .../show_ip_route/yamaha_show_ip_route.raw | 11 ++++ .../show_ip_route/yamaha_show_ip_route.yml | 62 +++++++++++++++++++ 8 files changed, 163 insertions(+) create mode 100644 templates/yamaha_show_environment.textfsm create mode 100644 templates/yamaha_show_ip_route.textfsm create mode 100644 tests/yamaha/show_environment/yamaha_show_environment.raw create mode 100644 tests/yamaha/show_environment/yamaha_show_environment.yml create mode 100644 tests/yamaha/show_ip_route/yamaha_show_ip_route.raw create mode 100644 tests/yamaha/show_ip_route/yamaha_show_ip_route.yml diff --git a/templates/index b/templates/index index 7158d280a8..b747be8aef 100644 --- a/templates/index +++ b/templates/index @@ -458,3 +458,6 @@ vyatta_vyos_show_interfaces.textfsm, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.textfsm, .*, .*vyos.*, sh[[ow]] a[[rp]] watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp + +yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] +yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] diff --git a/templates/yamaha_show_environment.textfsm b/templates/yamaha_show_environment.textfsm new file mode 100644 index 0000000000..fb3700b89e --- /dev/null +++ b/templates/yamaha_show_environment.textfsm @@ -0,0 +1,36 @@ +# You need to set "console character ascci". +Value BOOTROM (\S+) +Value VERSION (\S+) +Value SERIAL (\w+) +Value CPU_5_SEC (\d+) +Value CPU_1_MIN (\d+) +Value CPU_5_MIN (\d+) +Value MEMORY_USED (\d+) +Value FIRMWARE (\S+) +Value CONFIG_FILE (\S+) +Value DEFAULT_FIRMWARE (\S+) +Value DEFAULT_CONFIG_FILE (\S+) +Value BOOT_TIME (.+) +Value CURRENT_TIME (.+) +Value ELASPED_TIME (.+) +Value SECURITY_CLASS ([1-3]) +Value FORGET (ON|OFF) +Value TELNET (ON|OFF) +Value INSIDE_TEMPERATURE (\d+) + +Start + ^.+\sBootROM\sVer\.${BOOTROM} + ^.+\s+Rev\.${VERSION}\s+\(.+\) + ^\s+main:.+serial=${SERIAL}\s+MAC-Address.+ + ^.+=([a-f0-9:]{17}) + ^CPU:\s+${CPU_5_SEC}%\(5sec\)\s+${CPU_1_MIN}%\(1min\)\s+${CPU_5_MIN}%\(5min\)\s+Memory:\s+${MEMORY_USED}%\s+used + ^Packet-buffer:.+ + ^Firmware:\s${FIRMWARE}\s+Config\.\sfile:\s+${CONFIG_FILE} + ^Default\sfirmware:\s${DEFAULT_FIRMWARE}\s+Default\sconfig\.\sfile:\s${DEFAULT_CONFIG_FILE} + ^Boot\stime:\s+${BOOT_TIME} + ^Current\stime:\s+${CURRENT_TIME} + ^Elapsed\stime\sfrom\sboot:\s+${ELASPED_TIME} + ^Security\sClass:\s+${SECURITY_CLASS},\s+FORGET:\s+${FORGET},\s+TELNET:\s+${TELNET} + ^Inside\sTemperature\(C\.\):\s+${INSIDE_TEMPERATURE} + ^\s*$$ + ^. -> Error diff --git a/templates/yamaha_show_ip_route.textfsm b/templates/yamaha_show_ip_route.textfsm new file mode 100644 index 0000000000..6b8fa26776 --- /dev/null +++ b/templates/yamaha_show_ip_route.textfsm @@ -0,0 +1,17 @@ +# You need to set "console character ascci". +Value NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|default) +Value MASK (\d{1,2}) +Value NEXTHOP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|-) +Value NEXTHOP_IF (\S+) +Value PROTOCOL (\S+) +Value ADDITIONAL_INFO (\S*) + +Start + ^Destination\s+Gateway\s+Interface\s+Kind\s+Additional\s+Info -> Routes + +Routes + ^${NETWORK}(/${MASK})?\s+${NEXTHOP_IP}\s+${NEXTHOP_IF}\s+${PROTOCOL}\s+${ADDITIONAL_INFO} -> Record + ^\s*$$ + ^. -> Error + +EOF diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 5c38116c8d..5e26092630 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -55,6 +55,7 @@ "vyatta_vyos", "vyos", "watchguard_firebox", + "yamaha", ] RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") diff --git a/tests/yamaha/show_environment/yamaha_show_environment.raw b/tests/yamaha/show_environment/yamaha_show_environment.raw new file mode 100644 index 0000000000..9e4dd435d9 --- /dev/null +++ b/tests/yamaha/show_environment/yamaha_show_environment.raw @@ -0,0 +1,13 @@ +RTX1200 BootROM Ver.1.01 +RTX1200 Rev.10.01.71 (Thu Sep 29 15:08:40 2016) + main: RTX1200 ver=c0 serial=D12345678 MAC-Address=00:a0:de:aa:bb:11 MAC-Addr +ess=00:a0:de:aa:bb:22 MAC-Address=00:a0:de:aa:bb:33 +CPU: 1%(5sec) 2%(1min) 3%(5min) Memory: 24% used +Packet-buffer: 0%(small) 0%(middle) 5%(large) 0%(huge) used +Firmware: exec1 Config. file: config1 +Default firmware: exec0 Default config. file: config0 +Boot time: 2021/01/24 12:32:36 +09:00 +Current time: 2021/01/30 09:44:53 +09:00 +Elapsed time from boot: 5days 21:12:17 +Security Class: 1, FORGET: ON, TELNET: OFF +Inside Temperature(C.): 36 \ No newline at end of file diff --git a/tests/yamaha/show_environment/yamaha_show_environment.yml b/tests/yamaha/show_environment/yamaha_show_environment.yml new file mode 100644 index 0000000000..52442d5ffa --- /dev/null +++ b/tests/yamaha/show_environment/yamaha_show_environment.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - bootrom: "1.01" + version: "10.01.71" + serial: "D12345678" + cpu_5_sec: "1" + cpu_1_min: "2" + cpu_5_min: "3" + memory_used: "24" + firmware: "exec1" + config_file: "config1" + default_firmware: "exec0" + default_config_file: "config0" + boot_time: "2021/01/24 12:32:36 +09:00" + current_time: "2021/01/30 09:44:53 +09:00" + elasped_time: "5days 21:12:17" + security_class: "1" + forget: "ON" + telnet: "OFF" + inside_temperature: "36" diff --git a/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw b/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw new file mode 100644 index 0000000000..0c49bc5f93 --- /dev/null +++ b/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw @@ -0,0 +1,11 @@ +Destination Gateway Interface Kind Additional Info. +default - PP[01] static +10.0.0.0/8 192.168.1.254 LAN2 static k(1) +10.0.0.0/8 192.168.1.253 LAN2 static w(0) +10.1.0.0/24 192.168.1.253 LAN2 OSPF cost=2 +10.2.0.0/24 192.168.1.252 LAN2 OSPF cost=2 +203.0.113.2/32 - PP[01] implicit +169.254.1.1/30 - TUNNEL[1] implicit +192.168.1.0/24 192.168.1.8 LAN2 implicit +192.168.100.0/24 192.168.100.1 LAN1 implicit +203.0.113.1/32 - PP[01] temporary \ No newline at end of file diff --git a/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml new file mode 100644 index 0000000000..f8262e0577 --- /dev/null +++ b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - network: "default" + mask: "" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "static" + additional_info: "" + - network: "10.0.0.0" + mask: "8" + nexthop_ip: "192.168.1.254" + nexthop_if: "LAN2" + protocol: "static" + additional_info: "k(1)" + - network: "10.0.0.0" + mask: "8" + nexthop_ip: "192.168.1.253" + nexthop_if: "LAN2" + protocol: "static" + additional_info: "w(0)" + - network: "10.1.0.0" + mask: "24" + nexthop_ip: "192.168.1.253" + nexthop_if: "LAN2" + protocol: "OSPF" + additional_info: "cost=2" + - network: "10.2.0.0" + mask: "24" + nexthop_ip: "192.168.1.252" + nexthop_if: "LAN2" + protocol: "OSPF" + additional_info: "cost=2" + - network: "203.0.113.2" + mask: "32" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "implicit" + additional_info: "" + - network: "169.254.1.1" + mask: "30" + nexthop_ip: "-" + nexthop_if: "TUNNEL[1]" + protocol: "implicit" + additional_info: "" + - network: "192.168.1.0" + mask: "24" + nexthop_ip: "192.168.1.8" + nexthop_if: "LAN2" + protocol: "implicit" + additional_info: "" + - network: "192.168.100.0" + mask: "24" + nexthop_ip: "192.168.100.1" + nexthop_if: "LAN1" + protocol: "implicit" + additional_info: "" + - network: "203.0.113.1" + mask: "32" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "temporary" + additional_info: "" From 3736449450b210d0f3d69d870faf88fca41a2317 Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:15:57 -0600 Subject: [PATCH 154/412] Update readme (#868) --- README.md | 64 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 4911e04987..ed0be86f45 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ A cli utility is provided to assist with properly building the parsed files. Thi The `-c` and `-cd` arguments use `lib.ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `templates/` and the `templates/index` file must be updated to correctly point to the template file(s). ```bash -$ /development_scripts.py -yd tests/cisco_ios/show_mac-address-table +$ ./development_scripts.py -yd tests/cisco_ios/show_mac-address-table tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml @@ -314,37 +314,47 @@ To add additional raw/parsed tests for a command: * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.yml` #### Testing -You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6, so either python3.6 needs to be available, or the tox.ini file will need to be updated with an available Python version. +You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6,python3.7, and python3.8, if none/some of those python versions are unavailable **tox** will skip them. The tox.ini file can be updated with an available Python version. ```bash $ tox -GLOB sdist-make: /home/admin/ntc-templates/setup.py -py36 inst-nodeps: /home/admin/ntc-templates/.tox/dist/ntc_templates-1.3.0.zip -py36 installed: appdirs==1.4.3,atomicwrites==1.3.0,attrs==19.3.0,black==19.10b0,Click==7.0,future==0.18.2,importlib-metadata==0.23,more-itertools==7.2.0,ntc-templates==1.3.0,packaging==19.2,pathspec==0.6.0,pluggy==0.13.0,py==1.8.0,pyparsing==2.4.5,pytest==5.2.4,PyYAML==5.1.2,regex==2019.11.1,six==1.13.0,terminal==0.4.0,textfsm==1.1.0,toml==0.10.0,typed-ast==1.4.0,wcwidth==0.1.7,yamllint==1.18.0,zipp==0.6.0 -py36 runtests: PYTHONHASHSEED='3677750645' -py36 runtests: commands[0] | black ./ --diff --check +GLOB sdist-make: /home/travis/build/networktocode/ntc-templates/setup.py +py36 create: /home/travis/build/networktocode/ntc-templates/.tox/py36 +py36 inst: /home/travis/build/networktocode/ntc-templates/.tox/.tmp/package/1/ntc_templates-1.6.0.zip +py36 installed: appdirs==1.4.4,attrs==20.3.0,black==20.8b1,click==7.1.2,dataclasses==0.8,future==0.18.2,importlib-metadata==3.7.0,iniconfig==1.1.1,mypy-extensions==0.4.3,ntc-templates==1.6.0,packaging==20.9,pathspec==0.8.1,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.2,PyYAML==5.4.1,regex==2020.11.13,ruamel.yaml==0.16.12,ruamel.yaml.clib==0.2.2,six==1.15.0,textfsm==1.1.0,toml==0.10.2,typed-ast==1.4.2,typing-extensions==3.7.4.3,yamllint==1.26.0,zipp==3.4.0 +py36 run-test-pre: PYTHONHASHSEED='4147443973' +py36 run-test: commands[0] | black ./ --diff --check All done! ✨ 🍰 ✨ -8 files would be left unchanged. -py36 runtests: commands[1] | yamllint tests/ -py36 runtests: commands[2] | pytest -vv -================================================================ test session starts ================================================================= -platform linux -- Python 3.6.8, pytest-5.2.4, py-1.8.0, pluggy-0.13.0 -- /home/jmcgill/repos/ntc-templates/.tox/py36/bin/python3.6 -cachedir: .pytest_cache -rootdir: /home/jmcgill/repos/ntc-templates -collected 428 items - -tests/test_index_order.py::test_index_ordering PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw] PASSED [ 1%] -... -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw] PASSED [ 99%] -tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists PASSED [100%] - -================================================================ 428 passed in 43.84s ================================================================ -______________________________________________________________________ summary _______________________________________________________________________ +9 files would be left unchanged. +py36 run-test: commands[1] | yamllint tests/ +py36 run-test: commands[2] | pytest -vv +============================= test session starts ============================== +platform linux -- Python 3.6.7, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /home/travis/build/networktocode/ntc-templates/.tox/py36/bin/python +cachedir: .tox/py36/.pytest_cache +rootdir: /home/travis/build/networktocode/ntc-templates +collected 1065 items + +tests/test_development_scripts.py::test_ensure_spacing_for_multiline_comment PASSED [ 0%] +tests/test_development_scripts.py::test_ensure_space_after_octothorpe PASSED [ 0%] +tests/test_development_scripts.py::test_ensure_space_comments PASSED [ 0%] +tests/test_development_scripts.py::test_update_yaml_comments PASSED [ 0%] +tests/test_development_scripts.py::test_transform_file PASSED [ 0%] +tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_environment] PASSED [ 99%] +tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_ip_route] PASSED [100%] + +============================ 1065 passed in 22.59s ============================= +py37 create: /home/travis/build/networktocode/ntc-templates/.tox/py37 +SKIPPED: InterpreterNotFound: python3.7 +py38 create: /home/travis/build/networktocode/ntc-templates/.tox/py38 +SKIPPED: InterpreterNotFound: python3.8 +___________________________________ summary ____________________________________ py36: commands succeeded +SKIPPED: py37: InterpreterNotFound: python3.7 +SKIPPED: py38: InterpreterNotFound: python3.8 congratulations :) +The command "tox" exited with 0. + + +Done. Your build exited with 0. $ ``` From 39d1e325c17bad0834ca0fbda09260d4b681021e Mon Sep 17 00:00:00 2001 From: refriedjello Date: Fri, 26 Feb 2021 09:18:45 -0700 Subject: [PATCH 155/412] Fortinet: Add new templates (#860) --- .../fortinet_get_system_ha_status.textfsm | 54 ++++ .../fortinet_get_system_interface.textfsm | 45 ++- ...inet_get_system_interface_physical.textfsm | 29 ++ templates/fortinet_get_system_status.textfsm | 9 +- templates/index | 8 +- .../fortinet_get_system_ha_status_5.6.raw | 45 +++ .../fortinet_get_system_ha_status_5.6.yml | 17 ++ .../fortinet_get_system_ha_status_6.0.raw | 31 ++ .../fortinet_get_system_ha_status_6.0.yml | 17 ++ ...fortinet_get_system_ha_status_6.0_noha.raw | 12 + ...fortinet_get_system_ha_status_6.0_noha.yml | 17 ++ .../fortinet_get_system_ha_status_6.2.raw | 37 +++ .../fortinet_get_system_ha_status_6.2.yml | 17 ++ .../fortinet_get_system_interface.raw | 4 - .../fortinet_get_system_interface.yml | 42 --- .../fortinet_get_system_interface_5.6.raw | 18 ++ .../fortinet_get_system_interface_5.6.yml | 182 +++++++++++ .../fortinet_get_system_interface_6.0.raw | 18 ++ .../fortinet_get_system_interface_6.0.yml | 182 +++++++++++ .../fortinet_get_system_interface_6.2.raw | 28 ++ .../fortinet_get_system_interface_6.2.yml | 282 ++++++++++++++++++ ...inet_get_system_interface_physical_5.6.raw | 133 +++++++++ ...inet_get_system_interface_physical_5.6.yml | 200 +++++++++++++ ...inet_get_system_interface_physical_6.0.raw | 133 +++++++++ ...inet_get_system_interface_physical_6.0.yml | 200 +++++++++++++ ...inet_get_system_interface_physical_6.2.raw | 139 +++++++++ ...inet_get_system_interface_physical_6.2.yml | 209 +++++++++++++ .../fortinet_get_system_status.yml | 2 + .../fortinet_get_system_status_6.2.raw | 30 ++ .../fortinet_get_system_status_6.2.yml | 32 ++ 30 files changed, 2116 insertions(+), 56 deletions(-) create mode 100644 templates/fortinet_get_system_ha_status.textfsm create mode 100644 templates/fortinet_get_system_interface_physical.textfsm create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml delete mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface.raw delete mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml diff --git a/templates/fortinet_get_system_ha_status.textfsm b/templates/fortinet_get_system_ha_status.textfsm new file mode 100644 index 0000000000..d24b20b984 --- /dev/null +++ b/templates/fortinet_get_system_ha_status.textfsm @@ -0,0 +1,54 @@ +# +# Refried Jello +# +# 2021-01-08: Initial Version +# +# FG Version: 5.6, 6.0, 6.2 +# HW : varied +# +Value HA_HEALTH (\S+) +Value MODEL (\S+) +Value HA_MODE ([\S\s]+) +Value HA_GROUP (\S+) +Value CLUSTER_UPTIME ([\S\s]+) +Value CLUSTER_STATE_CHANGED_TIME ([\S\s]+) +Value HA_SESSION_PICKUP_STATUS (\S+) +Value HA_SESSION_PICKUP_DELAY (\S+) +Value HA_OVERRIDE_STATUS (\S+) +Value HA_MASTER_UNIT_NAME (\S+) +Value HA_SLAVE_UNIT_NAME (\S+) +Value HA_MASTER_UNIT_SERIAL (\S+) +Value HA_SLAVE_UNIT_SERIAL (\S+) +Value HA_MASTER_UNIT_INDEX (\S+) +Value HA_SLAVE_UNIT_INDEX (\S+) + +Start + ^HA\s+Health\s+Status:\s+${HA_HEALTH} + ^Model:\s+${MODEL} + ^Mode:\s+${HA_MODE} + ^Group:\s+${HA_GROUP} + ^Debug:\s+\d+ + ^Cluster\s+Uptime:\s+${CLUSTER_UPTIME} + ^Cluster\s+state\s+change\s+time:\s+${CLUSTER_STATE_CHANGED_TIME} + ^Master\s+selected\s+using: + ^\s+\<\S+ + ^ses_pickup:\s+${HA_SESSION_PICKUP_STATUS},\s+ses_pickup_delay=${HA_SESSION_PICKUP_DELAY} + ^override:\s+${HA_OVERRIDE_STATUS} + ^Configuration\s+Status: + ^\s+\S+\([\S\s]+\): + ^System\s+Usage\s+stats: + ^\s+\S+:\s+ + ^\s+sessions= + ^HBDEV\s+stats: + ^\s+\S+:\s+ + ^\sha:+\S+:\s+ + ^MONDEV\s+stats: + ^\s+\S+:\s+ + ^\s:+\S+:\s+ + ^Master\s*:\s+${HA_MASTER_UNIT_NAME}\s*,\s+${HA_MASTER_UNIT_SERIAL},\s+(HA\s+cluster\s+index|cluster\s+index)\s+=\s+${HA_MASTER_UNIT_INDEX} + ^Slave\s*:\s+${HA_SLAVE_UNIT_NAME}\s*,\s+${HA_SLAVE_UNIT_SERIAL},\s+(|HA)\s*cluster\s+index\s+=\s+${HA_SLAVE_UNIT_INDEX} + ^number\s+of\s+vcluster:\s+\d+ + ^vcluster\s+\d+: + ^(Master|Slave)\s*:\s+\S+,\s+(operating\s+cluster\s+index|HA\s+operating\s+index)\s+=\s+\d+ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/fortinet_get_system_interface.textfsm b/templates/fortinet_get_system_interface.textfsm index 77e28367dd..7e24d6fdae 100644 --- a/templates/fortinet_get_system_interface.textfsm +++ b/templates/fortinet_get_system_interface.textfsm @@ -1,9 +1,10 @@ # -# Patrick Marc Preuss +# Patrick Marc Preuss, Refried Jello # 2020-01-13 - Initial Version +# 2021-01-08 - Update for 6.2 # -# FG Version: 6.0.7 -# HW : FG1500D +# FG Version: 5.6, 6.0.7, 6.2 +# HW : varied # HA : AP # VDOMS : ENABLED Value Required NAME (\S+) @@ -29,7 +30,41 @@ Value DROP_FRAGMENT (\S+) Start ^==\s+\[\s+\S+\s\]$$ - ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s+$$ -> Record + # mgmt + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # modem <=6.0 + # name:mode:management-ip:ip:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # modem =6.2 + # name:mode:management-ip:ip:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # type physical and vlan + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # ha + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # type tunnel + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s*$$ -> Record + # vw1 + # name:status:type:netflow-sampler:sflow-sampler:src-check:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # ssl. that have less output - unsure why different + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+wccp:\s+${WCCP}\sv$$ -> Record + # ssl. =6.2 + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s*$$ -> Record + # type loopback + # name:management-ip:ip:status:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal + ^name:\s+${NAME}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s*$$ -> Record + # loopback =6.2 + # name:management-ip:ip:status:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal + ^name:\s+${NAME}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s*$$ -> Record + # npu_vlink + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record ^\s*$$ ^. -> Error - diff --git a/templates/fortinet_get_system_interface_physical.textfsm b/templates/fortinet_get_system_interface_physical.textfsm new file mode 100644 index 0000000000..3a970d798a --- /dev/null +++ b/templates/fortinet_get_system_interface_physical.textfsm @@ -0,0 +1,29 @@ +# +# Refried Jello, Stephen Kiely +# 2021-01-06 - Initial Version +# +# FG Version: 5.6, 6.0, 6.2 +# HW : variety +# HA : AP +# VDOMS : ENABLED +Value Required NAME (\S+) +Value MODE (\S+) +Value IP (\d+?\.\d+?\.\d+?\.\d+?) +Value NETMASK (\S+) +Value IPV6 (\S+) +Value IPV6NETMASK (\S+) +Value STATUS (\S+) +Value SPEED (\d+|n\/a) +Value DUPLEX (\S+) + +Start + ^==\s+\[onboard\]$$ + ^\s+==\[${NAME}\]$$ + ^\s+mode:\s+${MODE}$$ + ^\s+ip:\s+${IP}\s+${NETMASK}$$ + ^\s+ipv6:\s+${IPV6}/${IPV6NETMASK}$$ + ^\s+status:\s+${STATUS}$$ + ^\s+speed:\s+${SPEED}(|Mbps)\s+\(Duplex:\s+${DUPLEX}\)$$ -> Record + ^\s+speed:\s+${SPEED}$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/fortinet_get_system_status.textfsm b/templates/fortinet_get_system_status.textfsm index d7c31f97ad..ca67ce0f1a 100644 --- a/templates/fortinet_get_system_status.textfsm +++ b/templates/fortinet_get_system_status.textfsm @@ -1,15 +1,17 @@ # -# Patrick Marc Preuss +# Patrick Marc Preuss, Refried Jello # # 2020-01-13: Inital Version +# 2021-01-08: Update for 6.2 # -# FG Version: 6.0.7 +# FG Version: 5.6, 6.0.7, 6.2 # HW : FG1500D # CLUSTER MODE: AP # VDOMS : ENABLED # Value Required HOSTNAME (\S+) Value VERSION (.*) +Value SIGNATURE (.*) Value VIRUS_DB (.*) Value EXTENDED_DB (.*) Value EXTREME_DB (.*) @@ -23,6 +25,7 @@ Value BOTNET_DB (.*) Value BIOS_VERSION (\S+) Value SYSTEM_PART_NUMBER (\S+) Value LOG_HARD_DISK (\S+) +Value PRIVATE_ENCRYPTION (\S+) Value OPERATION_MODE (\S+) Value CURRENT_VIRTUAL_DOMAIN (\S+) Value MAX_NUMBER_OF_VIRTUAL_DOMAINS (\d+) @@ -39,6 +42,7 @@ Value SYSTEM_TIME (.*) Start ^Version:\s+${VERSION} + ^Firmware Signature:\s+${SIGNATURE} ^Virus-DB:\s+${VIRUS_DB} ^Extended\s+DB:\s+${EXTENDED_DB} ^Extreme\s+DB:\s+${EXTREME_DB} @@ -53,6 +57,7 @@ Start ^System\s+Part-Number:\s+${SYSTEM_PART_NUMBER} ^Log\s+hard\s+disk:\s+${LOG_HARD_DISK} ^Hostname:\s+${HOSTNAME} + ^Private\s+Encryption:\s+${PRIVATE_ENCRYPTION} ^Operation\s+Mode:\s+${OPERATION_MODE} ^Current\s+virtual\s+domain:\s+${CURRENT_VIRTUAL_DOMAIN} ^Max\s+number\s+of\s+virtual\s+domains:\s+${MAX_NUMBER_OF_VIRTUAL_DOMAINS} diff --git a/templates/index b/templates/index index b747be8aef..975f58b161 100644 --- a/templates/index +++ b/templates/index @@ -383,10 +383,12 @@ dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] +fortinet_get_system_interface_physical.textfsm, .*, fortinet, g[[et]] sy[[stem]] in[[terface]] p[[hysical]] fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] -fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface -fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus -fortinet_get_system_arp.textfsm, .*, fortinet, [[g]]et [[sy]]stem arp +fortinet_get_system_ha_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] ha s[[tatus]] +fortinet_get_system_interface.textfsm, .*, fortinet, g[[et]] sy[[stem]] in[[terface]] +fortinet_get_system_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] stat[[us]] +fortinet_get_system_arp.textfsm, .*, fortinet, g[[et]] sy[[stem]] arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw new file mode 100644 index 0000000000..610edca146 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw @@ -0,0 +1,45 @@ +HA Health Status: OK +Model: FortiGate-200D +Mode: HA A-P +Group: 0 +Debug: 0 +Cluster Uptime: 913 days 6:17:44 +Cluster state change time: 2020-11-18 20:06:07 +Master selected using: + <2020/11/18 20:06:07> FG200Dyyyyyyyyyy is selected as the master because it has the least value 0 of link-failure + pingsvr-failure. +ses_pickup: enable, ses_pickup_delay=disable +override: disable +Configuration Status: + FG200Dxxxxxxxxxx(updated 3 seconds ago): in-sync + FG200Dyyyyyyyyyy(updated 2 seconds ago): in-sync +System Usage stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + sessions=783, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=36% + FG200Dyyyyyyyyyy(updated 2 seconds ago): + sessions=2133, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=45% +HBDEV stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=159611572717/161193511/0/0, tx=33081101596/72820100/0/0 + FG200Dyyyyyyyyyy(updated 2 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=33102078904/72841639/0/0, tx=159622538782/161222515/0/0 +MONDEV stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + port1: physical/1000auto, up, rx-bytes/packets/dropped/errors=772333476/10120455/0/0, tx=0/0/0/0 + port2: physical/1000auto, up, rx-bytes/packets/dropped/errors=24489027465/180044269/0/0, tx=1216527080/20272865/0/0 + port3: physical/1000auto, up, rx-bytes/packets/dropped/errors=738612670/8494189/0/0, tx=0/0/0/0 + port4: physical/1000auto, up, rx-bytes/packets/dropped/errors=1326403723/10314862/0/0, tx=7221960/120366/0/0 + port9: physical/1000auto, up, rx-bytes/packets/dropped/errors=631932574/7780810/0/0, tx=0/0/0/0 + port10: physical/1000auto, up, rx-bytes/packets/dropped/errors=1448638924/21408174/0/0, tx=0/0/0/0 + FG200Dyyyyyyyyyy(updated 2 seconds ago): + port1: physical/1000auto, up, rx-bytes/packets/dropped/errors=4792670497191/8032421997/0/0, tx=2567023541941/6420616690/0/0 + port2: physical/1000auto, up, rx-bytes/packets/dropped/errors=3164841988838/9813426301/0/0, tx=5238589087538/11151680911/0/0 + port3: physical/1000auto, up, rx-bytes/packets/dropped/errors=2121416101948/1691293285/0/0, tx=193581440599/636568993/0/0 + port4: physical/1000auto, up, rx-bytes/packets/dropped/errors=195739651207/655711324/0/0, tx=2119206966925/1682026942/0/0 + port9: physical/1000auto, up, rx-bytes/packets/dropped/errors=4228611730/46724818/0/0, tx=1390605465/10026243/0/0 + port10: physical/1000auto, up, rx-bytes/packets/dropped/errors=1353423864/19920614/0/0, tx=89179816/1486318/0/0 +Slave : fgt_200d_a , FG200Dxxxxxxxxxx, cluster index = 1 +Master: fgt_200d_b , FG200Dyyyyyyyyyy, cluster index = 0 +number of vcluster: 1 +vcluster 1: standby 169.254.0.1 +Slave : FG200Dxxxxxxxxxx, operating cluster index = 1 +Master: FG200Dyyyyyyyyyy, operating cluster index = 0 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml new file mode 100644 index 0000000000..9c3c4a2448 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-200D" + ha_mode: "HA A-P" + ha_group: "0" + cluster_uptime: "913 days 6:17:44" + cluster_state_changed_time: "2020-11-18 20:06:07" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "disable" + ha_master_unit_name: "fgt_200d_b" + ha_slave_unit_name: "fgt_200d_a" + ha_master_unit_serial: "FG200Dyyyyyyyyyy" + ha_slave_unit_serial: "FG200Dxxxxxxxxxx" + ha_master_unit_index: "0" + ha_slave_unit_index: "1" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw new file mode 100644 index 0000000000..6ed6392350 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw @@ -0,0 +1,31 @@ +HA Health Status: OK +Model: FortiGate-200D +Mode: HA A-P +Group: 0 +Debug: 0 +Cluster Uptime: 764 days 22:45:44 +Cluster state change time: 2019-08-16 11:08:27 +Master selected using: + <2019/08/16 11:08:27> FG200Dxxxxxxxxxx is selected as the master because it has the largest value of override priority. + <2019/08/14 12:32:47> FG200Dyyyyyyyyyy is selected as the master because it has the largest value of override priority. +ses_pickup: enable, ses_pickup_delay=disable +override: enable +Configuration Status: + FG200Dxxxxxxxxxx(updated 2 seconds ago): in-sync + FG200Dyyyyyyyyyy(updated 5 seconds ago): in-sync +System Usage stats: + FG200Dxxxxxxxxxx(updated 2 seconds ago): + sessions=2421, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% + FG200Dyyyyyyyyyy(updated 5 seconds ago): + sessions=326, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=23% +HBDEV stats: + FG200Dxxxxxxxxxx(updated 2 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=152066501590/357378132/0/0, tx=476952801500/678960488/0/0 + FG200Dyyyyyyyyyy(updated 5 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=477266958857/680444657/0/0, tx=151761016675/355910298/0/0 +Master: fgt-200d_a, FG200Dxxxxxxxxxx, cluster index = 1 +Slave : fgt-200d_b, FG200Dyyyyyyyyyy, cluster index = 0 +number of vcluster: 1 +vcluster 1: work 169.254.0.2 +Master: FG200Dxxxxxxxxxx, operating cluster index = 0 +Slave : FG200Dyyyyyyyyyy, operating cluster index = 1 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml new file mode 100644 index 0000000000..39c97d1a12 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-200D" + ha_mode: "HA A-P" + ha_group: "0" + cluster_uptime: "764 days 22:45:44" + cluster_state_changed_time: "2019-08-16 11:08:27" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "fgt-200d_a" + ha_slave_unit_name: "fgt-200d_b" + ha_master_unit_serial: "FG200Dxxxxxxxxxx" + ha_slave_unit_serial: "FG200Dyyyyyyyyyy" + ha_master_unit_index: "1" + ha_slave_unit_index: "0" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw new file mode 100644 index 0000000000..699deb0d44 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw @@ -0,0 +1,12 @@ +HA Health Status: OK +Model: FortiGate-60D +Mode: Standalone +Group: 0 +Debug: 0 +Cluster Uptime: 0 days 0:0:0 +Cluster state change time: N/A +ses_pickup: enable, ses_pickup_delay=disable +override: enable +System Usage stats: +HBDEV stats: +number of vcluster: 0 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml new file mode 100644 index 0000000000..06eb1163a2 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-60D" + ha_mode: "Standalone" + ha_group: "0" + cluster_uptime: "0 days 0:0:0" + cluster_state_changed_time: "N/A" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "" + ha_slave_unit_name: "" + ha_master_unit_serial: "" + ha_slave_unit_serial: "" + ha_master_unit_index: "" + ha_slave_unit_index: "" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw new file mode 100644 index 0000000000..cfec24be79 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw @@ -0,0 +1,37 @@ +HA Health Status: OK +Model: FortiGate-600E +Mode: HA A-P +Group: 5 +Debug: 0 +Cluster Uptime: 36 days 22:20:40 +Cluster state change time: 2020-12-02 22:40:46 +Master selected using: + <2020/12/02 22:40:46> FG6H0Exxxxxxxxxx is selected as the master because it has the largest value of override priority. +ses_pickup: enable, ses_pickup_delay=disable +override: enable +Configuration Status: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): in-sync + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): in-sync +System Usage stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + sessions=692, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + sessions=303, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=23% +HBDEV stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + ha: physical/1000auto, up, rx-bytes/packets/dropped/errors=13086049757/51933375/0/0, tx=93993034207/102822032/0/0 + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + ha: physical/1000auto, up, rx-bytes/packets/dropped/errors=93993244676/102822709/0/0, tx=13085729171/51934319/0/0 +MONDEV stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + x1: physical/10000full, up, rx-bytes/packets/dropped/errors=166373929414532/122946162431/0/0, tx=51746004768400/50869381172/0/0 + x2: physical/10000full, up, rx-bytes/packets/dropped/errors=49656542180617/50909579016/0/337, tx=165637609617619/122981014444/0/0 + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + x1: physical/10000full, up, rx-bytes/packets/dropped/errors=409699822/4202261/0/0, tx=0/0/0/0 + x2: physical/10000full, up, rx-bytes/packets/dropped/errors=12425072765/11621697/0/0, tx=0/0/0/0 +Master: fgt-600e_a, FG6H0Exxxxxxxxxx, HA cluster index = 1 +Slave : fgt-600e_b, FG6H0Eyyyyyyyyyy, HA cluster index = 0 +number of vcluster: 1 +vcluster 1: work 169.254.0.2 +Master: FG6H0Exxxxxxxxxx, HA operating index = 0 +Slave : FG6H0Eyyyyyyyyyy, HA operating index = 1 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml new file mode 100644 index 0000000000..ee3f1a6d44 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-600E" + ha_mode: "HA A-P" + ha_group: "5" + cluster_uptime: "36 days 22:20:40" + cluster_state_changed_time: "2020-12-02 22:40:46" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "fgt-600e_a" + ha_slave_unit_name: "fgt-600e_b" + ha_master_unit_serial: "FG6H0Exxxxxxxxxx" + ha_slave_unit_serial: "FG6H0Eyyyyyyyyyy" + ha_master_unit_index: "1" + ha_slave_unit_index: "0" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw deleted file mode 100644 index 16bea61532..0000000000 --- a/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw +++ /dev/null @@ -1,4 +0,0 @@ -== [ port1 ] -name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable -== [ port2 ] -name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml deleted file mode 100644 index a7ce299713..0000000000 --- a/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - - name: "port1" - mode: "static" - management_ip: "0.0.0.0" - management_netmask: "0.0.0.0" - ip: "0.0.0.0" - netmask: "0.0.0.0" - status: "down" - netbios_forward: "disable" - type: "physical" - netflow_sampler: "disable" - sflow_sampler: "disable" - scan_botnet_connections: "disable" - src_check: "enable" - explicit_web_proxy: "disable" - explicit_ftp_proxy: "disable" - proxy_captive_portal: "disable" - mtu_override: "disable" - wccp: "disable" - drop_overlapped_fragment: "disable" - drop_fragment: "disable" - - name: "port2" - mode: "static" - management_ip: "0.0.0.0" - management_netmask: "0.0.0.0" - ip: "0.0.0.0" - netmask: "0.0.0.0" - status: "down" - netbios_forward: "disable" - type: "physical" - netflow_sampler: "disable" - sflow_sampler: "disable" - scan_botnet_connections: "disable" - src_check: "enable" - explicit_web_proxy: "disable" - explicit_ftp_proxy: "disable" - proxy_captive_portal: "disable" - mtu_override: "disable" - wccp: "disable" - drop_overlapped_fragment: "disable" - drop_fragment: "disable" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw new file mode 100644 index 0000000000..9efee55c3d --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw @@ -0,0 +1,18 @@ +== [ mgmt ] +name: mgmt ip: 1.2.3.4 255.255.255.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ wan1 ] +name: wan1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ dmz1 ] +name: dmz1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.240 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2.10 ] +name: port2.10 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 3.4.5.6 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ VPN-TUN ] +name: VPN-TUN ip: 4.5.6.7 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ loopback.0 ] +name: loopback.0 management-ip: 0.0.0.0 0.0.0.0 ip: 10.0.0.100 255.255.255.255 status: up type: loopback netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml new file mode 100644 index 0000000000..c6767ff055 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - name: "mgmt" + mode: "" + management_ip: "" + management_netmask: "" + ip: "1.2.3.4" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "wan1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "dmz1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.240" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2.10" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "3.4.5.6" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "VPN-TUN" + mode: "" + management_ip: "" + management_netmask: "" + ip: "4.5.6.7" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "loopback.0" + mode: "" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "10.0.0.100" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "" + type: "loopback" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw new file mode 100644 index 0000000000..d5bfd0b133 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw @@ -0,0 +1,18 @@ +== [ mgmt ] +name: mgmt mode: static management-ip: 1.2.3.4 255.255.255.248 ip: 1.2.3.4 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ wan1 ] +name: wan1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ dmz1 ] +name: dmz1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2 ] +name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2.103 ] +name: port2.103 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 3.4.5.6 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ VPN-TUN ] +name: VPN-LAB ip: 7.8.9.10 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml new file mode 100644 index 0000000000..f866255662 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - name: "mgmt" + mode: "static" + management_ip: "1.2.3.4" + management_netmask: "255.255.255.248" + ip: "1.2.3.4" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "wan1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "dmz1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2.103" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "3.4.5.6" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "VPN-LAB" + mode: "" + management_ip: "" + management_netmask: "" + ip: "7.8.9.10" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw new file mode 100644 index 0000000000..efecabd144 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw @@ -0,0 +1,28 @@ +== [ ha ] +name: ha mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ mgmt ] +name: mgmt mode: static management-ip: 1.2.3.4 255.255.255.248 ip: 1.2.3.4 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2 ] +name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ s1 ] +name: s1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ vw1 ] +name: vw1 status: up type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ x1 ] +name: x1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ npu0_vlink0 ] +name: npu0_vlink0 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ fortilink ] +name: fortilink mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 169.254.1.1 255.255.255.0 status: up netbios-forward: disable type: aggregate netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ x1.113 ] +name: x1.113 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ loopback.0 ] +name: loopback.0 management-ip: 0.0.0.0 0.0.0.0 ip: 10.0.0.100 255.255.255.255 status: up type: loopback netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable +== [ VPN-TUN ] +name: VPN-TUN ip: 3.4.5.6 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml new file mode 100644 index 0000000000..6d55c45303 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml @@ -0,0 +1,282 @@ +--- +parsed_sample: + - name: "ha" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "mgmt" + mode: "static" + management_ip: "1.2.3.4" + management_netmask: "255.255.255.248" + ip: "1.2.3.4" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "s1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "vw1" + mode: "" + management_ip: "" + management_netmask: "" + ip: "" + netmask: "" + status: "up" + netbios_forward: "" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "x1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "npu0_vlink0" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "fortilink" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "169.254.1.1" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "aggregate" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "x1.113" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "loopback.0" + mode: "" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "10.0.0.100" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "" + type: "loopback" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "VPN-TUN" + mode: "" + management_ip: "" + management_netmask: "" + ip: "3.4.5.6" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw new file mode 100644 index 0000000000..f7fa7461de --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw @@ -0,0 +1,133 @@ +== [onboard] + ==[dmz1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[dmz2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port1] + mode: static + ip: 2.3.4.5 255.255.255.240 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port3] + mode: static + ip: 66.51.24.44 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port4] + mode: static + ip: 192.168.111.1 255.255.255.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port5] + mode: static + ip: 3.4.5.6 255.255.255.240 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port13] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port14] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port15] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port16] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[wan1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[wan2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml new file mode 100644 index 0000000000..26588ac53d --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml @@ -0,0 +1,200 @@ +--- +parsed_sample: + - name: "dmz1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "dmz2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port1" + mode: "static" + ip: "2.3.4.5" + netmask: "255.255.255.240" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port3" + mode: "static" + ip: "66.51.24.44" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port4" + mode: "static" + ip: "192.168.111.1" + netmask: "255.255.255.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port5" + mode: "static" + ip: "3.4.5.6" + netmask: "255.255.255.240" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port13" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port14" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port15" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port16" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "wan1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "wan2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw new file mode 100644 index 0000000000..5e0bc5a440 --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw @@ -0,0 +1,133 @@ +== [onboard] + ==[dmz1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[dmz2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port1] + mode: static + ip: 2.3.4.5 255.255.255.224 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port3] + mode: static + ip: 3.4.5.6 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port4] + mode: static + ip: 192.168.107.1 255.255.255.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port5] + mode: static + ip: 10.107.128.68 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port13] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port14] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port15] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port16] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[wan1] + mode: dhcp + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[wan2] + mode: dhcp + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml new file mode 100644 index 0000000000..b15461aa4e --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml @@ -0,0 +1,200 @@ +--- +parsed_sample: + - name: "dmz1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "dmz2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port1" + mode: "static" + ip: "2.3.4.5" + netmask: "255.255.255.224" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port3" + mode: "static" + ip: "3.4.5.6" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port4" + mode: "static" + ip: "192.168.107.1" + netmask: "255.255.255.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port5" + mode: "static" + ip: "10.107.128.68" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port13" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port14" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port15" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port16" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "wan1" + mode: "dhcp" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "wan2" + mode: "dhcp" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw new file mode 100644 index 0000000000..fc918e2318 --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw @@ -0,0 +1,139 @@ +== [onboard] + ==[ha] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[npu0_vlink0] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: n/a (Duplex: n/a) + ==[npu0_vlink1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: n/a (Duplex: n/a) + ==[port1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port3] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port4] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port5] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[s1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[s2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[vw1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[vw2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[x1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 10000Mbps (Duplex: full) + ==[x2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 10000Mbps (Duplex: full) + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml new file mode 100644 index 0000000000..5f7f4f1f0d --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml @@ -0,0 +1,209 @@ +--- +parsed_sample: + - name: "ha" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "npu0_vlink0" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "n/a" + duplex: "n/a" + - name: "npu0_vlink1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "n/a" + duplex: "n/a" + - name: "port1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port3" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port4" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port5" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "s1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "s2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "vw1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "vw2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "x1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "10000" + duplex: "full" + - name: "x2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "10000" + duplex: "full" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status.yml b/tests/fortinet/get_system_status/fortinet_get_system_status.yml index 5fd5e14ca2..1c309a1c9b 100644 --- a/tests/fortinet/get_system_status/fortinet_get_system_status.yml +++ b/tests/fortinet/get_system_status/fortinet_get_system_status.yml @@ -2,6 +2,7 @@ parsed_sample: - hostname: "MYCOOLEFIREWALLNAME" version: "FortiGate-1500D v6.0.7,build0302,191112 (GA)" + signature: "" virus_db: "16.00560(2012-10-19 08:31)" extended_db: "1.00000(2018-04-09 18:07)" extreme_db: "1.00000(2018-04-09 18:07)" @@ -15,6 +16,7 @@ parsed_sample: bios_version: "05000006" system_part_number: "P12917-08" log_hard_disk: "Available" + private_encryption: "" operation_mode: "NAT" current_virtual_domain: "root" max_number_of_virtual_domains: "10" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw new file mode 100644 index 0000000000..f909bdd378 --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw @@ -0,0 +1,30 @@ +Version: FortiGate-600E v6.2.6,build1175,201110 (GA) +Firmware Signature: certified +Virus-DB: 83.00146(2021-01-08 11:20) +Extended DB: 83.00146(2021-01-08 11:20) +Extreme DB: 1.00000(2018-04-09 18:07) +IPS-DB: 6.00741(2015-12-01 02:30) +IPS-ETDB: 16.00993(2021-01-07 00:45) +APP-DB: 16.00992(2021-01-06 02:37) +INDUSTRIAL-DB: 6.00741(2015-12-01 02:30) +Serial-Number: FG6H0Exxxxxxxxx +IPS Malicious URL Database: 2.00883(2021-01-08 06:19) +Botnet DB: 1.00000(2012-05-28 22:51) +BIOS version: 05000006 +System Part-Number: P24088-03 +Log hard disk: Not available +Hostname: fgt-600e +Private Encryption: Disable +Operation Mode: NAT +Current virtual domain: root +Max number of virtual domains: 10 +Virtual domains status: 2 in NAT mode, 0 in TP mode +Virtual domain configuration: multiple +FIPS-CC mode: disable +Current HA mode: a-p, master +Cluster uptime: 36 days, 21 hours, 42 minutes, 22 seconds +Cluster state change time: 2020-12-02 22:40:46 +Branch point: 1175 +Release Version Information: GA +FortiOS x86-64: Yes +System time: Fri Jan 8 13:22:01 2021 diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml new file mode 100644 index 0000000000..f63d2f7186 --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - hostname: "fgt-600e" + version: "FortiGate-600E v6.2.6,build1175,201110 (GA)" + signature: "certified" + virus_db: "83.00146(2021-01-08 11:20)" + extended_db: "83.00146(2021-01-08 11:20)" + extreme_db: "1.00000(2018-04-09 18:07)" + ips_db: "6.00741(2015-12-01 02:30)" + ips_etdb: "16.00993(2021-01-07 00:45)" + app_db: "16.00992(2021-01-06 02:37)" + industrial_db: "6.00741(2015-12-01 02:30)" + serial_number: "FG6H0Exxxxxxxxx" + ips_malicious_url_database: "2.00883(2021-01-08 06:19)" + botnet_db: "1.00000(2012-05-28 22:51)" + bios_version: "05000006" + system_part_number: "P24088-03" + log_hard_disk: "Not" + private_encryption: "Disable" + operation_mode: "NAT" + current_virtual_domain: "root" + max_number_of_virtual_domains: "10" + virtual_domains_status: "2 in NAT mode, 0 in TP mode" + virtual_domain_configuration: "multiple" + fips_cc_mode: "disable" + current_ha_mode: "a-p, master" + cluster_uptime: "36 days, 21 hours, 42 minutes, 22 seconds" + cluster_state_change_time: "2020-12-02 22:40:46" + branch_point: "1175" + release_version_information: "GA" + fortios_x86_64: "Yes" + system_time: "Fri Jan 8 13:22:01 2021" From b51ce5de52a410761ca4471fb145609510af943f Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:41:19 -0600 Subject: [PATCH 156/412] New Template: paloalto_panos_test_security-policy-match.textfsm (#867) --- templates/index | 1 + ...o_panos_test_security-policy-match.textfsm | 36 +++++++++++++ ...oalto_panos_test_security-policy-match.raw | 50 +++++++++++++++++++ ...oalto_panos_test_security-policy-match.yml | 50 +++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 templates/paloalto_panos_test_security-policy-match.textfsm create mode 100644 tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw create mode 100644 tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml diff --git a/templates/index b/templates/index index 975f58b161..c7426288e7 100644 --- a/templates/index +++ b/templates/index @@ -435,6 +435,7 @@ linux_arp_-a.textfsm, .*, linux, arp -a paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all +paloalto_panos_test_security-policy-match.textfsm, .*, paloalto_panos, test security-policy-match.* paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] diff --git a/templates/paloalto_panos_test_security-policy-match.textfsm b/templates/paloalto_panos_test_security-policy-match.textfsm new file mode 100644 index 0000000000..488e521706 --- /dev/null +++ b/templates/paloalto_panos_test_security-policy-match.textfsm @@ -0,0 +1,36 @@ +Value Required NAME (.*?) +Value Required INDEX (\d+) +Value FROM (\S+) +Value SOURCE (\S+|\[.*\]) +Value SOURCE_REGION (\S+) +Value TO (\S+) +Value DESTINATION (\S+|\[.*\]) +Value DESTINATION_REGION (\S+) +Value USER (\S+) +Value SOURCE_DEVICE (\S+) +Value DESTINATION_DEVICE (\S+) +Value CATEGORY (\S+) +Value APPLICATION_SERVICE (\S+|\[.*\]) +Value ACTION (\S+) +Value ICMP_UNREACHABLE (\S+) +Value TERMINAL (\S+) + +Start + ^\"${NAME};\s+index:\s+${INDEX}.\s+{ + ^\s+from\s+${FROM}; + ^\s+source\s+${SOURCE}; + ^\s+source-region\s+${SOURCE_REGION}; + ^\s+to\s+${TO}; + ^\s+destination\s+${DESTINATION}; + ^\s+destination-region\s+${DESTINATION_REGION}; + ^\s+user\s+${USER}; + ^\s+source-device\s+${SOURCE_DEVICE}; + ^\s+destinataion-device\s+${DESTINATION_DEVICE}; + ^\s+category\s+${CATEGORY}; + ^\s+application/service\s+${APPLICATION_SERVICE}; + ^\s+action\s+${ACTION}; + ^\s+icmp-unreachable:\s+${ICMP_UNREACHABLE} + ^\s+terminal\s+${TERMINAL}; + ^} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw new file mode 100644 index 0000000000..a745bf1114 --- /dev/null +++ b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw @@ -0,0 +1,50 @@ +"Allow 10.125.100.58-To-Google DNS; index: 1" { + from Internal; + source 10.125.100.58; + source-region none; + to External; + destination 8.8.8.8; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service 0:any/tcp/any/59; + action allow; + icmp-unreachable: no + terminal yes; +} + +"Allow 10.125.100.58-To-1.1.1.1; index: 2" { + from Internal; + source 10.125.100.58; + source-region none; + to External; + destination 1.1.1.1; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service 0:any/tcp/any/53; + action allow; + icmp-unreachable: no + terminal yes; +} + +"Allow DNS_Objects-To-192.0.2.10; index: 4" { + from Internal; + source [ 1.1.1.1 8.8.8.8 ]; + source-region none; + to External; + destination 192.0.2.10; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service [0:any/tcp/any/53 1:any/tcp/any/54 ]; + action allow; + icmp-unreachable: no + terminal yes; +} \ No newline at end of file diff --git a/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml new file mode 100644 index 0000000000..4fb94d6e54 --- /dev/null +++ b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - name: "Allow 10.125.100.58-To-Google DNS" + index: "1" + from: "Internal" + source: "10.125.100.58" + source_region: "none" + to: "External" + destination: "8.8.8.8" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "0:any/tcp/any/59" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + - name: "Allow 10.125.100.58-To-1.1.1.1" + index: "2" + from: "Internal" + source: "10.125.100.58" + source_region: "none" + to: "External" + destination: "1.1.1.1" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "0:any/tcp/any/53" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + - name: "Allow DNS_Objects-To-192.0.2.10" + index: "4" + from: "Internal" + source: "[ 1.1.1.1 8.8.8.8 ]" + source_region: "none" + to: "External" + destination: "192.0.2.10" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "[0:any/tcp/any/53 1:any/tcp/any/54 ]" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" From e36e3986d6a8a65046195016cc68ab5096f32c49 Mon Sep 17 00:00:00 2001 From: Pieter Date: Sat, 27 Feb 2021 15:10:52 +1300 Subject: [PATCH 157/412] Fixes#811 arista eos show ip route (#843) --- templates/arista_eos_show_ip_route.textfsm | 31 ++- .../arista_eos_show_ip_route.yml | 114 ++++++--- .../arista_eos_show_ip_route2.yml | 17 +- .../arista_eos_show_ip_route3.yml | 23 +- .../arista_eos_show_ip_route4.raw | 18 ++ .../arista_eos_show_ip_route4.yml | 80 ++++++ .../arista_eos_show_ip_route_vrf.yml | 228 ++++++++++++------ 7 files changed, 361 insertions(+), 150 deletions(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml diff --git a/templates/arista_eos_show_ip_route.textfsm b/templates/arista_eos_show_ip_route.textfsm index 9123d6f09d..adbcb1d050 100644 --- a/templates/arista_eos_show_ip_route.textfsm +++ b/templates/arista_eos_show_ip_route.textfsm @@ -1,23 +1,30 @@ Value Filldown VRF (\S+) -Value Filldown PROTOCOL (\S+\s\S+?|\w?) -Value Filldown NETWORK (\d+.\d+.\d+.\d+) -Value Filldown MASK (\d+) -Value Filldown DISTANCE (\d+) -Value Filldown METRIC (\d+) +Value PROTOCOL (\S+\s\S+?|\w?) +Value Required NETWORK (\d+\.\d+\.\d+\.\d+) +Value MASK (\d+) +Value DISTANCE (\d+) +Value METRIC (\d+) Value DIRECT (directly) -Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) -Value INTERFACE (\S+) +Value Required,List NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) +#Value INTERFACE (\S+) +Value List INTERFACE (.+) Start - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record - ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} -> Record - ^VRF\s+name:\s+${VRF}\s*$$ - ^VRF:\s+${VRF}\s*$$ + ^VRF(\s+name)?:\s+${VRF}\s*$$ ^WARNING ^kernel ^Codes: # Match for codes ^\s+\S+\s+-\s+\S+ + ^\s*$$ -> Routes + ^. -> Error + +Routes + ^\s+(\S+\s\S+?|\w?)\s+(\d+\.\d+\.\d+\.\d+)/(\d+)\s -> Continue.Record + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+is\s+${DIRECT}\s+${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} + ^\s*$$ -> Record + ^VRF(\s+name)?:\s+${VRF}\s*$$ -> Start ^Gateway\s+of\s+last - ^\s*$$ ^. -> Error diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml index 63b2073ebe..1f16c3a825 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml @@ -7,8 +7,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.1.31.101" @@ -16,8 +18,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.1.31.102" @@ -25,8 +29,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "" protocol: "C" network: "10.1.31.200" @@ -34,8 +40,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "" protocol: "B E" network: "10.1.31.254" @@ -43,8 +51,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.63.255.8" @@ -52,8 +62,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "" protocol: "B E" network: "10.100.22.52" @@ -61,8 +73,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.22.56" @@ -70,8 +84,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.11" @@ -79,8 +95,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.12" @@ -88,8 +106,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.15" @@ -97,8 +117,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.100.233.32" @@ -106,8 +128,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "" protocol: "B E" network: "10.100.233.34" @@ -115,8 +139,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "" protocol: "B E" network: "10.100.233.50" @@ -124,8 +150,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.64" @@ -133,8 +161,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.66" @@ -142,8 +172,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.67" @@ -151,8 +183,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.68" @@ -160,8 +194,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.192" @@ -169,5 +205,7 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml index c6e6f0442a..79e72a7c3b 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml @@ -7,14 +7,9 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "199.229.255.31" - interface: "Vlan70" - - vrf: "default" - protocol: "B I" - network: "74.119.147.148" - mask: "32" - distance: "200" - metric: "0" - direct: "" - next_hop: "199.229.255.35" - interface: "Vlan71" + next_hop: + - "199.229.255.31" + - "199.229.255.35" + interface: + - "Vlan70" + - "Vlan71" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml index 2cda5b6c28..68681f2ad6 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml @@ -7,17 +7,12 @@ parsed_sample: distance: "110" metric: "21" direct: "" - next_hop: "172.83.43.48" - interface: "Vlan55" - - vrf: "default" - protocol: "O E1" - network: "0.0.0.0" - mask: "0" - distance: "110" - metric: "21" - direct: "" - next_hop: "172.83.43.50" - interface: "Vlan65" + next_hop: + - "172.83.43.48" + - "172.83.43.50" + interface: + - "Vlan55" + - "Vlan65" - vrf: "default" protocol: "S" network: "10.1.26.0" @@ -25,5 +20,7 @@ parsed_sample: distance: "1" metric: "0" direct: "" - next_hop: "142.54.229.92" - interface: "Vlan2503" + next_hop: + - "142.54.229.92" + interface: + - "Vlan2503" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw new file mode 100644 index 0000000000..e06d20b32e --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw @@ -0,0 +1,18 @@ +VRF: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B - BGP, B I - iBGP, B E - eBGP, + R - RIP, I L1 - IS-IS level 1, I L2 - IS-IS level 2, + O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route, V - VXLAN Control Service, + DH - DHCP client installed default route, M - Martian, + DP - Dynamic Policy Route, L - VRF Leaked + + C 162.220.49.0/26 is directly connected, Vlan105 + C 162.220.49.64/26 is directly connected, Vlan104 + C 162.220.49.128/31 is directly connected, Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212 + B I 162.220.49.130/31 [200/0] via 199.229.255.1, Vlan50 + B I 162.220.49.132/31 [200/0] via 199.229.255.1, Vlan50 + C 162.220.49.134/31 is directly connected, Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src 216.201.90.212 + S 162.220.49.0/24 is directly connected, Null0 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml new file mode 100644 index 0000000000..7fc1c93a0a --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "C" + network: "162.220.49.0" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan105" + - vrf: "default" + protocol: "C" + network: "162.220.49.64" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan104" + - vrf: "default" + protocol: "C" + network: "162.220.49.128" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" + - vrf: "default" + protocol: "B I" + network: "162.220.49.130" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "B I" + network: "162.220.49.132" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "C" + network: "162.220.49.134" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src\ + \ 216.201.90.212" + - vrf: "default" + protocol: "S" + network: "162.220.49.0" + mask: "24" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Null0" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml index d2a03cebc4..c7458bf9ce 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml @@ -7,8 +7,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.1.31.101" @@ -16,8 +18,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.1.31.102" @@ -25,8 +29,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "default" protocol: "C" network: "10.1.31.200" @@ -34,8 +40,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "default" protocol: "B E" network: "10.1.31.254" @@ -43,8 +51,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.63.255.8" @@ -52,8 +62,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "default" protocol: "B E" network: "10.100.22.52" @@ -61,8 +73,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.22.56" @@ -70,8 +84,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.11" @@ -79,8 +95,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.12" @@ -88,8 +106,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.15" @@ -97,8 +117,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.100.233.32" @@ -106,8 +128,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "default" protocol: "B E" network: "10.100.233.34" @@ -115,8 +139,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "default" protocol: "B E" network: "10.100.233.50" @@ -124,8 +150,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.64" @@ -133,8 +161,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.66" @@ -142,8 +172,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.67" @@ -151,8 +183,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.68" @@ -160,8 +194,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.192" @@ -169,8 +205,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" - vrf: "RED" protocol: "B E" network: "10.1.31.100" @@ -178,8 +216,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.1.31.101" @@ -187,8 +227,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.1.31.102" @@ -196,8 +238,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "RED" protocol: "C" network: "10.1.31.200" @@ -205,8 +249,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "RED" protocol: "B E" network: "10.1.31.254" @@ -214,8 +260,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.63.255.8" @@ -223,8 +271,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "RED" protocol: "B E" network: "10.100.22.52" @@ -232,8 +282,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.22.56" @@ -241,8 +293,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.11" @@ -250,8 +304,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.12" @@ -259,8 +315,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.15" @@ -268,8 +326,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.100.233.32" @@ -277,8 +337,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "RED" protocol: "B E" network: "10.100.233.34" @@ -286,8 +348,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "RED" protocol: "B E" network: "10.100.233.50" @@ -295,8 +359,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.64" @@ -304,8 +370,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.66" @@ -313,8 +381,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.67" @@ -322,8 +392,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.68" @@ -331,8 +403,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.192" @@ -340,5 +414,7 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" From c1495678479fd3de0b7fb191c45385c60dade165 Mon Sep 17 00:00:00 2001 From: Pierre <19718295+burningnode@users.noreply.github.com> Date: Sat, 27 Feb 2021 20:16:19 +0100 Subject: [PATCH 158/412] Update NXOS show_ip_bgp_summary_vrf to support 32-bits ASN outputs (#849) --- ...cisco_nxos_show_ip_bgp_summary_vrf.textfsm | 21 ++- templates/index | 1 + .../cisco_nxos_show_ip_bgp_summary_vrf.yml | 46 ----- .../cisco_nxos_show_ip_bgp_summary_vrf.raw | 22 +++ .../cisco_nxos_show_ip_bgp_summary_vrf.yml | 158 ++++++++++++++++++ 5 files changed, 200 insertions(+), 48 deletions(-) delete mode 100644 tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml rename tests/cisco_nxos/{show_ip_bgp_summary => show_ip_bgp_summary_vrf}/cisco_nxos_show_ip_bgp_summary_vrf.raw (61%) create mode 100644 tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm b/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm index d2bb9ad420..216b50e7e6 100644 --- a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm +++ b/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm @@ -2,10 +2,27 @@ Value Filldown VRF (\S+) Value Filldown ROUTER_ID (\d+?\.\d+?\.\d+?\.\d+?) Value Filldown LOCAL_AS (\d+) Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) -Value Required NEIGH_AS (\d+) +Value BGP_VER (\d) +Value Required NEIGH_AS (\S+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value TBLVER (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start + # Match BGP VRF ^BGP summary information for VRF ${VRF}, address family IPv4 Unicast + # Match RID and Local AS ^BGP router identifier ${ROUTER_ID}, local AS number ${LOCAL_AS} - ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}$$ -> Record + # Match Neighbor lines + ^${BGP_NEIGH}\s+${BGP_VER}\s+${NEIGH_AS}.* -> Continue + ^\s+${MSG_RCVD}\s+${MSG_SENT}\s+${TBLVER}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^${BGP_NEIGH}\s+${BGP_VER}\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${TBLVER}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + # Match lines that are spaces + ^\s+$$ + +Done + ^.* diff --git a/templates/index b/templates/index index c7426288e7..e27e54fb79 100644 --- a/templates/index +++ b/templates/index @@ -260,6 +260,7 @@ cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rward cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] +cisco_nxos_show_ip_bgp_summary_vrf.textfsm, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[ummary]] v[[rf]] cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]](?: vrf \S+)?\s*$ cisco_nxos_show_cts_interface_all.textfsm, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] cisco_nxos_show_ip_community-list.textfsm, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml deleted file mode 100644 index c5f692c530..0000000000 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -parsed_sample: - - router_id: "192.168.1.1" - local_as: "65001" - vrf: "RED" - bgp_neigh: "192.168.1.2" - neigh_as: "65002" - msg_rcvd: "1143238" - msg_sent: "1065438" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "7" - - router_id: "192.168.2.1" - local_as: "65011" - vrf: "WHITE" - bgp_neigh: "192.168.2.2" - neigh_as: "65012" - msg_rcvd: "1142321" - msg_sent: "1065438" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "7" - - router_id: "192.168.3.1" - local_as: "65021" - vrf: "BLUE" - bgp_neigh: "192.168.3.2" - neigh_as: "65022" - msg_rcvd: "672804" - msg_sent: "639789" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "1" - - router_id: "192.168.3.1" - local_as: "65021" - vrf: "BLUE" - bgp_neigh: "192.168.3.3" - neigh_as: "65023" - msg_rcvd: "672792" - msg_sent: "639791" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "1" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw similarity index 61% rename from tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw rename to tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw index c067c41f07..fc175ab139 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw @@ -34,3 +34,25 @@ BGP community entries [3/124], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 192.168.3.2 4 65022 672804 639789 16 0 0 10w4d 1 192.168.3.3 4 65023 672792 639791 16 0 0 10w4d 1 + +BGP summary information for VRF PURPLE, address family IPv4 Unicast +BGP router identifier 1.1.1.1, local AS number 65001 +BGP table version is 1922, IPv4 Unicast config peers 8, capable peers 8 +53 network entries and 58 paths using 13168 bytes of memory +BGP attribute entries [34/5440], BGP AS path entries [17/430] +BGP community entries [11/372], BGP clusterlist entries [0/0] +59 received paths for inbound soft reconfiguration +6 identical, 44 modified, 9 filtered received paths using 1180 bytes + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.101.1.1 4 4233316914 + 14111081 14037706 1922 0 0 5w1d 100 +10.101.1.4 4 4255544594 + 14124621 14051162 1922 0 0 5w1d 0 +111.111.111.111 4 4244433330 + 57508 53320 1922 0 0 2w4d 28 +144.144.144.144 4 33331 888166 836265 1922 0 0 8w1d 8 +155.155.155.155 4 33331 887898 835708 1922 0 0 8w1d 8 +192.168.111.1 4 11112 652276 570942 1922 0 0 1w0d 4 +192.168.111.2 4 11111 502385 501240 1922 0 0 3d03h 1 +192.168.111.6 4 11111 124617 124458 1922 0 0 2w2d 1 diff --git a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml new file mode 100644 index 0000000000..30e6146d9b --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml @@ -0,0 +1,158 @@ +--- +parsed_sample: + - router_id: "192.168.1.1" + local_as: "65001" + vrf: "RED" + bgp_ver: "4" + tblver: "110" + bgp_neigh: "192.168.1.2" + neigh_as: "65002" + msg_rcvd: "1143238" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.2.1" + local_as: "65011" + vrf: "WHITE" + bgp_ver: "4" + tblver: "114" + bgp_neigh: "192.168.2.2" + neigh_as: "65012" + msg_rcvd: "1142321" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_ver: "4" + tblver: "16" + bgp_neigh: "192.168.3.2" + neigh_as: "65022" + msg_rcvd: "672804" + msg_sent: "639789" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_ver: "4" + tblver: "16" + bgp_neigh: "192.168.3.3" + neigh_as: "65023" + msg_rcvd: "672792" + msg_sent: "639791" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "10.101.1.1" + neigh_as: "4233316914" + msg_rcvd: "14111081" + msg_sent: "14037706" + in_queue: "0" + out_queue: "0" + up_down: "5w1d" + state_pfxrcd: "100" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "10.101.1.4" + neigh_as: "4255544594" + msg_rcvd: "14124621" + msg_sent: "14051162" + in_queue: "0" + out_queue: "0" + up_down: "5w1d" + state_pfxrcd: "0" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "111.111.111.111" + neigh_as: "4244433330" + msg_rcvd: "57508" + msg_sent: "53320" + in_queue: "0" + out_queue: "0" + up_down: "2w4d" + state_pfxrcd: "28" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "144.144.144.144" + neigh_as: "33331" + msg_rcvd: "888166" + msg_sent: "836265" + in_queue: "0" + out_queue: "0" + up_down: "8w1d" + state_pfxrcd: "8" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "155.155.155.155" + neigh_as: "33331" + msg_rcvd: "887898" + msg_sent: "835708" + in_queue: "0" + out_queue: "0" + up_down: "8w1d" + state_pfxrcd: "8" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.1" + neigh_as: "11112" + msg_rcvd: "652276" + msg_sent: "570942" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "4" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.2" + neigh_as: "11111" + msg_rcvd: "502385" + msg_sent: "501240" + in_queue: "0" + out_queue: "0" + up_down: "3d03h" + state_pfxrcd: "1" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.6" + neigh_as: "11111" + msg_rcvd: "124617" + msg_sent: "124458" + in_queue: "0" + out_queue: "0" + up_down: "2w2d" + state_pfxrcd: "1" From 49c34c73e8da6b32b28208029d5c886ef3961f95 Mon Sep 17 00:00:00 2001 From: Przemek Rogala Date: Mon, 1 Mar 2021 15:13:09 +0000 Subject: [PATCH 159/412] Update: WLC WLAN Summary - make PMIP_MOBILITY optional (#872) --- templates/cisco_wlc_ssh_show_wlan_sum.textfsm | 4 ++-- .../cisco_wlc_ssh_show_wlan_sum2.raw | 8 ++++++++ .../cisco_wlc_ssh_show_wlan_sum2.yml | 20 +++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml diff --git a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm index 23810a8059..e798864aaa 100644 --- a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm +++ b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm @@ -8,9 +8,9 @@ Value PMIP_MOBILITY (\S+) Start ^Number\s+of\s+WLANs - ^WLAN\s+ID\s+WLAN\s+Profile\s+Name\s+\/\s+SSID\s+Status\s+Interface\s+Name\s+PMIPv6\s+Mobility\s*$$ + ^WLAN\s+ID\s+WLAN\s+Profile\s+Name\s+\/\s+SSID\s+Status\s+Interface\s+Name(\s+PMIPv6\s+Mobility)?\s*$$ ^-------\s+ - ^${WLANID}\s+${PROFILE}\s/\s${SSID}\s+${STATUS}\s+${INTERFACE}\s+${PMIP_MOBILITY}\s*$$ -> Record + ^${WLANID}\s+${PROFILE}\s/\s${SSID}\s+${STATUS}\s+${INTERFACE}(\s+${PMIP_MOBILITY})?\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw new file mode 100644 index 0000000000..74f5169242 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw @@ -0,0 +1,8 @@ + +Number of WLANs.................................. 3 + +WLAN ID WLAN Profile Name / SSID Status Interface Name +------- ------------------------------------- -------- -------------------- +4 OfficeFloor / OfficeFloor Enabled officefloor_int +5 OfficeLobby / OfficeLobby Enabled officelobby_int +6 LoadingBay / LoadingBay Enabled loadingbay_int diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml new file mode 100644 index 0000000000..16457b130a --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - wlanid: "4" + profile: "OfficeFloor" + ssid: "OfficeFloor" + status: "Enabled" + interface: "officefloor_int" + pmip_mobility: "" + - wlanid: "5" + profile: "OfficeLobby" + ssid: "OfficeLobby" + status: "Enabled" + interface: "officelobby_int" + pmip_mobility: "" + - wlanid: "6" + profile: "LoadingBay" + ssid: "LoadingBay" + status: "Enabled" + interface: "loadingbay_int" + pmip_mobility: "" From 4b781844ee125daadc8a92df4156cd25b7157d3f Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 04:46:36 +1300 Subject: [PATCH 160/412] Bugfix: cisco_nxos_show_ip_route - Account for no route found for VRF (#870) --- templates/cisco_nxos_show_ip_route.textfsm | 3 ++ .../cisco_nxos_show_ip_route_vrf2.raw | 25 ++++++++++ .../cisco_nxos_show_ip_route_vrf2.yml | 47 +++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml diff --git a/templates/cisco_nxos_show_ip_route.textfsm b/templates/cisco_nxos_show_ip_route.textfsm index 2f5f163f01..2e5e39b31f 100644 --- a/templates/cisco_nxos_show_ip_route.textfsm +++ b/templates/cisco_nxos_show_ip_route.textfsm @@ -19,6 +19,9 @@ Start # Match the Network/Prefix Line ^\s*${NETWORK}\/${MASK}, ubest/mbest: # + # Match empty vrf + ^\s*Route not found -> Record + # # Match VXLAN Route Entry ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}, tag ${TAG}\s+segid: ${SEGID}\s+tunnelid: ${TUNNELID}\s+encap: ${ENCAP} -> Record # diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw new file mode 100644 index 0000000000..bef49d07b6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw @@ -0,0 +1,25 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +Route not found + +IP Route Table for VRF "DMZ" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 169.254.0.1, [20/0], 41w6d, bgp-64512, external, tag 64512 + +IP Route Table for VRF "Users" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 169.254.0.1%DMZ, [20/0], 41w6d, bgp-64512, external, tag 64512 diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml new file mode 100644 index 0000000000..998ef80724 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "" + type: "" + network: "" + mask: "" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_if: "" + uptime: "" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "DMZ" + protocol: "bgp-64512" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "20" + metric: "0" + nexthop_ip: "169.254.0.1" + nexthop_if: "" + uptime: "41w6d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "Users" + protocol: "bgp-64512" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "20" + metric: "0" + nexthop_ip: "169.254.0.1" + nexthop_if: "" + uptime: "41w6d" + nexthop_vrf: "DMZ" + tag: "" + segid: "" + tunnelid: "" + encap: "" From d15af9852cd21f5e6025f90159ac5fab5c45996a Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 07:04:49 +1300 Subject: [PATCH 161/412] Fixes #851 NXOS: show ip arp detail (#857) --- .../cisco_nxos_show_ip_arp_detail.textfsm | 13 +- .../cisco_nxos_show_ip_arp_detail2.raw | 849 ++++ .../cisco_nxos_show_ip_arp_detail2.yml | 4207 +++++++++++++++++ 3 files changed, 5067 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw create mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml diff --git a/templates/cisco_nxos_show_ip_arp_detail.textfsm b/templates/cisco_nxos_show_ip_arp_detail.textfsm index 77539ae034..4ed1d89bee 100644 --- a/templates/cisco_nxos_show_ip_arp_detail.textfsm +++ b/templates/cisco_nxos_show_ip_arp_detail.textfsm @@ -1,8 +1,17 @@ Value ADDRESS (\d+\.\d+\.\d+\.\d+) -Value AGE (\d+:\d+:\d+|-) +Value AGE (\S+) Value MAC (\S+) Value INTERFACE (\S+) Value PHYSICAL_INTERFACE (\S+) Start - ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE} -> Record + #Ignore junk + ^.+\s-\sAdjacencies\s + ^\s*IP\sARP\sTable\s + ^\s*Total\snumber\sof\sentries: + ^\s*Address\s+Age\s+MAC\s+Address\s+Interface\s+Physical\sInterface\s*$$ -> Data + ^. -> Error + +Data + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}\s*$$ -> Record + ^. -> Error diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw new file mode 100644 index 0000000000..6cbe79b74f --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw @@ -0,0 +1,849 @@ +Flags: * - Adjacencies learnt on non-active FHRP router + + - Adjacencies synced via CFSoE + # - Adjacencies Throttled for Glean + +IP ARP Table for context default +Total number of entries: 1625 +Address Age MAC Address Interface Physical Interface +146.118.1.91 00:00:13 INCOMPLETE Vlan701 Vlan701 +146.118.1.92 00:00:57 b40c.25e0.4011 Vlan701 port-channel222 +146.118.1.93 0.106174 INCOMPLETE Vlan701 Vlan701 +146.118.64.2 00:01:09 fa16.3e34.eb89 Vlan666 port-channel666 +146.118.64.3 00:00:09 fa16.3ebb.a659 Vlan666 port-channel666 +146.118.64.4 00:01:05 fa16.3e16.b96a Vlan666 port-channel666 +146.118.64.5 00:10:08 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.6 00:00:16 fa16.3e7f.5701 Vlan666 port-channel666 +146.118.64.7 00:00:23 fa16.3e04.dea1 Vlan666 port-channel666 +146.118.64.8 00:01:03 fa16.3eed.d157 Vlan666 port-channel666 +146.118.64.9 00:09:50 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.10 00:09:54 fa16.3e62.c01b Vlan666 port-channel666 +146.118.64.11 00:10:42 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.13 00:00:17 fa16.3e2f.5a7a Vlan666 port-channel666 +146.118.64.14 00:00:18 fa16.3e5d.75dc Vlan666 port-channel666 +146.118.64.15 00:00:30 fa16.3ee0.62d6 Vlan666 port-channel666 +146.118.64.16 00:00:49 fa16.3ebe.0582 Vlan666 port-channel666 +146.118.64.17 00:00:13 fa16.3e83.b27a Vlan666 port-channel666 +146.118.64.18 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.64.19 00:10:13 fa16.3e98.d064 Vlan666 port-channel666 +146.118.64.20 00:00:41 fa16.3ee9.2c38 Vlan666 port-channel666 +146.118.64.22 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.64.23 00:00:52 fa16.3ecf.ee58 Vlan666 port-channel666 +146.118.64.24 00:09:53 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.64.25 0.129496 fa16.3e23.ff3e Vlan666 port-channel666 +146.118.64.26 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.27 00:10:19 fa16.3ec4.5c76 Vlan666 port-channel666 +146.118.64.28 00:10:27 fa16.3eba.402d Vlan666 port-channel666 +146.118.64.29 00:10:29 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.64.30 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.31 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.32 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.64.33 00:00:03 fa16.3eca.9ee9 Vlan666 port-channel666 +146.118.64.34 00:00:26 fa16.3ec9.9d4e Vlan666 port-channel666 +146.118.64.35 00:09:59 fa16.3e62.033d Vlan666 port-channel666 +146.118.64.36 00:00:49 fa16.3e62.5bfc Vlan666 port-channel666 +146.118.64.37 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.39 00:00:22 fa16.3edc.26d2 Vlan666 port-channel666 +146.118.64.41 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.64.42 00:00:07 fa16.3e60.d23b Vlan666 port-channel666 +146.118.64.44 00:00:38 fa16.3e30.995b Vlan666 port-channel666 +146.118.64.45 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.64.46 00:00:55 fa16.3e76.dd5a Vlan666 port-channel666 +146.118.64.47 00:00:14 fa16.3e3c.b35c Vlan666 port-channel666 +146.118.64.48 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.49 00:00:13 fa16.3ea2.33c5 Vlan666 port-channel666 +146.118.64.50 00:09:57 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.64.51 00:00:13 fa16.3eea.9c79 Vlan666 port-channel666 +146.118.64.52 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.64.53 00:10:44 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.54 00:01:19 fa16.3e56.0e29 Vlan666 port-channel666 +146.118.64.55 00:00:36 fa16.3e69.9a60 Vlan666 port-channel666 +146.118.64.56 00:02:48 fa16.3e74.ea2d Vlan666 port-channel666 +146.118.64.57 00:10:13 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.58 00:10:22 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.59 00:00:37 fa16.3ec0.191f Vlan666 port-channel666 +146.118.64.60 00:10:34 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.61 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.64.62 00:10:15 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.64 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.64.65 00:00:32 fa16.3ec4.e11e Vlan666 port-channel666 +146.118.64.66 00:00:39 fa16.3e4a.f501 Vlan666 port-channel666 +146.118.64.67 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.64.68 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.64.69 00:00:56 fa16.3e46.97ad Vlan666 port-channel666 +146.118.64.70 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.64.71 00:00:48 fa16.3e7c.0409 Vlan666 port-channel666 +146.118.64.73 00:00:14 fa16.3e0a.9725 Vlan666 port-channel666 +146.118.64.74 00:00:24 fa16.3ec0.8c81 Vlan666 port-channel666 +146.118.64.75 00:10:12 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.76 00:00:34 fa16.3e9f.f2ff Vlan666 port-channel666 +146.118.64.77 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.64.78 00:00:14 fa16.3e6f.d955 Vlan666 port-channel666 +146.118.64.79 00:00:46 fa16.3ea2.7988 Vlan666 port-channel666 +146.118.64.80 00:10:18 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.64.81 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.82 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.83 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.84 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.64.85 00:00:02 fa16.3e28.93d5 Vlan666 port-channel666 +146.118.64.86 00:10:32 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.87 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.64.88 00:00:49 fa16.3e25.5e76 Vlan666 port-channel666 +146.118.64.89 00:10:21 fa16.3e9a.57bc Vlan666 port-channel666 +146.118.64.90 00:01:19 fa16.3e2a.b3ac Vlan666 port-channel666 +146.118.64.91 00:10:19 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.92 00:10:34 fa16.3ec4.e11e Vlan666 port-channel666 +146.118.64.93 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.64.94 00:00:33 fa16.3e73.f0cb Vlan666 port-channel666 +146.118.64.96 00:09:48 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.64.97 00:09:53 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.64.98 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.99 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.100 00:06:26 fa16.3eb0.4437 Vlan666 port-channel666 +146.118.64.101 00:09:52 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.102 00:00:06 fa16.3e20.e36f Vlan666 port-channel666 +146.118.64.103 00:00:35 fa16.3efe.7305 Vlan666 port-channel666 +146.118.64.104 00:10:15 fa16.3e91.0b31 Vlan666 port-channel666 +146.118.64.105 00:10:45 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.106 00:10:21 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.64.108 00:00:55 fa16.3e35.a60d Vlan666 port-channel666 +146.118.64.109 00:10:32 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.110 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.64.111 00:10:08 fa16.3e29.097a Vlan666 port-channel666 +146.118.64.112 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.113 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.115 00:00:40 fa16.3ea5.ce5f Vlan666 port-channel666 +146.118.64.116 00:10:12 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.117 00:00:53 fa16.3eb8.40ce Vlan666 port-channel666 +146.118.64.118 00:00:14 fa16.3e2a.8881 Vlan666 port-channel666 +146.118.64.119 00:09:59 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.120 00:00:27 fa16.3ed8.0825 Vlan666 port-channel666 +146.118.64.121 00:10:37 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.122 00:10:26 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.64.123 00:00:37 fa16.3e19.e8a3 Vlan666 port-channel666 +146.118.64.124 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.64.125 00:01:59 fa16.3e93.b99c Vlan666 port-channel666 +146.118.64.126 00:10:37 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.127 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.128 00:10:11 fa16.3e62.033d Vlan666 port-channel666 +146.118.64.130 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.131 00:00:31 fa16.3e92.1860 Vlan666 port-channel666 +146.118.64.132 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.64.133 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.64.134 00:00:46 fa16.3e23.4479 Vlan666 port-channel666 +146.118.64.135 00:10:21 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.64.137 00:00:17 fa16.3eca.e4d1 Vlan666 port-channel666 +146.118.64.138 00:09:55 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.139 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.140 00:00:08 fa16.3ea5.65ff Vlan666 port-channel666 +146.118.64.141 00:10:40 fa16.3ef5.40d1 Vlan666 port-channel666 +146.118.64.143 00:00:03 fa16.3ef8.a9bf Vlan666 port-channel666 +146.118.64.144 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.64.145 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.147 00:10:01 fa16.3e11.465e Vlan666 port-channel666 +146.118.64.148 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.64.149 00:00:18 fa16.3edf.1641 Vlan666 port-channel666 +146.118.64.150 00:00:11 fa16.3e61.1ab1 Vlan666 port-channel666 +146.118.64.151 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.152 00:10:46 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.64.153 00:00:32 fa16.3e76.9a53 Vlan666 port-channel666 +146.118.64.154 00:10:45 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.64.155 00:10:26 fa16.3e16.e08d Vlan666 port-channel666 +146.118.64.156 00:00:16 fa16.3eea.fb02 Vlan666 port-channel666 +146.118.64.158 00:09:56 fa16.3e25.015f Vlan666 port-channel666 +146.118.64.159 00:00:03 fa16.3e35.d24b Vlan666 port-channel666 +146.118.64.160 00:00:31 fa16.3e87.1ada Vlan666 port-channel666 +146.118.64.161 00:00:09 fa16.3e55.0022 Vlan666 port-channel666 +146.118.64.162 00:10:10 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.163 00:12:18 fa16.3e14.251f Vlan666 port-channel666 +146.118.64.164 00:10:42 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.165 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.167 00:01:04 fa16.3e9f.5568 Vlan666 port-channel666 +146.118.64.168 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.64.169 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.64.171 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.173 00:00:11 fa16.3e6f.9773 Vlan666 port-channel666 +146.118.64.174 00:00:25 fa16.3e12.89e3 Vlan666 port-channel666 +146.118.64.175 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.64.176 00:01:59 fa16.3e65.bc09 Vlan666 port-channel666 +146.118.64.177 00:00:28 fa16.3e72.3421 Vlan666 port-channel666 +146.118.64.179 00:10:26 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.180 00:10:04 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.181 00:00:17 fa16.3ee1.9a57 Vlan666 port-channel666 +146.118.64.182 00:00:27 fa16.3e2d.d271 Vlan666 port-channel666 +146.118.64.183 00:00:21 fa16.3e41.4649 Vlan666 port-channel666 +146.118.64.184 00:00:01 fa16.3e91.5d50 Vlan666 port-channel666 +146.118.64.185 00:00:34 fa16.3e48.34ad Vlan666 port-channel666 +146.118.64.186 00:09:48 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.187 00:10:42 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.188 00:00:06 fa16.3ead.9956 Vlan666 port-channel666 +146.118.64.189 00:10:01 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.190 00:10:11 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.191 00:09:52 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.192 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.193 00:10:13 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.64.194 00:10:26 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.195 00:10:15 fa16.3ed5.cdf2 Vlan666 port-channel666 +146.118.64.196 00:00:07 fa16.3e6f.6e46 Vlan666 port-channel666 +146.118.64.197 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.198 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.199 00:10:13 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.200 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.64.201 00:10:23 fa16.3e8c.71ad Vlan666 port-channel666 +146.118.64.202 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.64.203 00:00:19 fa16.3e38.b7e2 Vlan666 port-channel666 +146.118.64.204 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.205 00:10:19 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.64.206 00:00:01 fa16.3e98.d064 Vlan666 port-channel666 +146.118.64.207 00:09:59 fa16.3e16.e08d Vlan666 port-channel666 +146.118.64.209 00:00:19 fa16.3e9f.03a8 Vlan666 port-channel666 +146.118.64.210 00:00:19 fa16.3ee5.b01b Vlan666 port-channel666 +146.118.64.211 00:00:17 fa16.3e7d.2f2b Vlan666 port-channel666 +146.118.64.212 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.213 00:10:29 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.214 00:00:30 INCOMPLETE Vlan666 Vlan666 +146.118.64.215 00:00:03 fa16.3e16.a693 Vlan666 port-channel666 +146.118.64.216 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.64.217 00:00:27 fa16.3e7c.7a85 Vlan666 port-channel666 +146.118.64.218 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.219 00:10:26 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.64.221 00:13:36 fa16.3ea3.335b Vlan666 port-channel666 +146.118.64.222 00:13:21 fa16.3e49.e594 Vlan666 port-channel666 +146.118.64.223 00:00:12 fa16.3ecd.ea21 Vlan666 port-channel666 +146.118.64.224 00:00:37 fa16.3e01.958e Vlan666 port-channel666 +146.118.64.225 00:10:16 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.226 00:00:10 fa16.3ebc.f748 Vlan666 port-channel666 +146.118.64.227 00:00:33 fa16.3ee3.4c77 Vlan666 port-channel666 +146.118.64.228 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.229 00:10:09 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.230 00:00:33 fa16.3e38.f136 Vlan666 port-channel666 +146.118.64.231 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.64.232 00:00:14 fa16.3e19.abfc Vlan666 port-channel666 +146.118.64.233 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.235 00:00:03 fa16.3ee8.e41c Vlan666 port-channel666 +146.118.64.236 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.239 00:00:45 fa16.3ebb.6e76 Vlan666 port-channel666 +146.118.64.240 00:00:08 fa16.3e89.5377 Vlan666 port-channel666 +146.118.64.242 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.243 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.244 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.245 00:00:10 fa16.3eba.50a6 Vlan666 port-channel666 +146.118.64.246 00:00:06 fa16.3e37.9c54 Vlan666 port-channel666 +146.118.64.247 00:00:33 fa16.3e91.d530 Vlan666 port-channel666 +146.118.64.248 00:10:32 fa16.3edf.1641 Vlan666 port-channel666 +146.118.64.250 00:00:54 fa16.3e23.ee6a Vlan666 port-channel666 +146.118.64.251 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.254 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.0 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.1 00:10:34 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.2 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.65.3 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.4 00:00:32 fa16.3ec4.44ac Vlan666 port-channel666 +146.118.65.5 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.6 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.7 00:10:08 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.8 00:00:42 fa16.3ee7.87da Vlan666 port-channel666 +146.118.65.9 00:09:48 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.10 00:00:11 fa16.3e4b.3a7a Vlan666 port-channel666 +146.118.65.11 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.12 00:00:27 fa16.3e93.f6ba Vlan666 port-channel666 +146.118.65.14 00:01:02 fa16.3ed9.7a23 Vlan666 port-channel666 +146.118.65.15 00:10:32 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.65.16 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.17 00:10:17 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.18 00:00:18 fa16.3e8b.8df9 Vlan666 port-channel666 +146.118.65.19 00:00:37 fa16.3e99.c830 Vlan666 port-channel666 +146.118.65.20 00:09:47 fa16.3e8e.c4c8 Vlan666 port-channel666 +146.118.65.21 00:00:56 fa16.3e58.2279 Vlan666 port-channel666 +146.118.65.22 00:02:06 fa16.3e80.3b85 Vlan666 port-channel666 +146.118.65.23 00:10:01 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.65.24 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.65.25 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.65.27 00:00:05 fa16.3e03.b4e8 Vlan666 port-channel666 +146.118.65.29 00:10:09 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.30 00:00:05 fa16.3e8c.73a8 Vlan666 port-channel666 +146.118.65.31 00:00:43 fa16.3e5c.c85f Vlan666 port-channel666 +146.118.65.32 00:00:43 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.65.33 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.34 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.35 00:00:04 fa16.3ef2.8e4d Vlan666 port-channel666 +146.118.65.37 00:10:39 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.38 00:00:05 fa16.3eeb.b0ff Vlan666 port-channel666 +146.118.65.40 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.65.41 00:00:26 fa16.3e0b.c029 Vlan666 port-channel666 +146.118.65.42 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.65.45 00:00:04 fa16.3e55.dcb0 Vlan666 port-channel666 +146.118.65.46 00:00:23 fa16.3e38.30d4 Vlan666 port-channel666 +146.118.65.47 00:00:08 fa16.3e66.7480 Vlan666 port-channel666 +146.118.65.48 00:00:20 fa16.3e8d.ef96 Vlan666 port-channel666 +146.118.65.49 00:10:10 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.65.50 00:09:52 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.65.51 00:00:19 fa16.3efa.5567 Vlan666 port-channel666 +146.118.65.52 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.53 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.65.54 00:00:03 fa16.3eff.b63f Vlan666 port-channel666 +146.118.65.55 00:00:18 fa16.3ee3.1eba Vlan666 port-channel666 +146.118.65.56 00:00:12 fa16.3e6a.2552 Vlan666 port-channel666 +146.118.65.57 00:03:00 fa16.3ea7.1869 Vlan666 port-channel666 +146.118.65.58 00:10:39 fa16.3ec4.5c76 Vlan666 port-channel666 +146.118.65.59 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.65.60 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.65.61 00:00:21 fa16.3e05.d3f1 Vlan666 port-channel666 +146.118.65.62 00:00:41 fa16.3ea2.098f Vlan666 port-channel666 +146.118.65.63 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.65.64 00:10:15 fa16.3e10.b451 Vlan666 port-channel666 +146.118.65.65 00:00:43 fa16.3e06.f2e7 Vlan666 port-channel666 +146.118.65.66 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.65.67 00:10:25 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.65.68 00:01:10 fa16.3e8a.8caa Vlan666 port-channel666 +146.118.65.69 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.65.70 00:01:04 fa16.3e49.10ca Vlan666 port-channel666 +146.118.65.73 00:00:57 fa16.3e82.1cb1 Vlan666 port-channel666 +146.118.65.75 00:10:10 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.77 00:01:09 fa16.3eb2.ca81 Vlan666 port-channel666 +146.118.65.78 00:10:39 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.79 00:00:21 fa16.3e09.f1b8 Vlan666 port-channel666 +146.118.65.80 00:10:37 fa16.3e41.e690 Vlan666 port-channel666 +146.118.65.81 00:01:12 fa16.3e0d.8f20 Vlan666 port-channel666 +146.118.65.82 00:00:50 fa16.3ece.a872 Vlan666 port-channel666 +146.118.65.83 00:00:41 fa16.3e2a.934c Vlan666 port-channel666 +146.118.65.84 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.65.85 00:10:38 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.86 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.88 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.65.89 00:00:10 fa16.3ea0.8068 Vlan666 port-channel666 +146.118.65.90 00:10:17 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.65.91 00:00:10 fa16.3e03.51a7 Vlan666 port-channel666 +146.118.65.92 00:09:48 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.65.93 00:00:28 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.95 00:00:19 fa16.3ef2.f79b Vlan666 port-channel666 +146.118.65.96 00:00:58 fa16.3e7d.bafc Vlan666 port-channel666 +146.118.65.97 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.98 00:09:48 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.99 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.65.100 00:00:55 fa16.3ebb.74bd Vlan666 port-channel666 +146.118.65.101 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.102 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.65.103 00:09:58 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.105 00:10:41 fa16.3ef5.40d1 Vlan666 port-channel666 +146.118.65.106 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.65.107 00:00:40 fa16.3ee1.69c2 Vlan666 port-channel666 +146.118.65.108 00:01:07 fa16.3e30.8794 Vlan666 port-channel666 +146.118.65.109 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.110 00:00:02 fa16.3e53.a252 Vlan666 port-channel666 +146.118.65.111 00:00:47 fa16.3e8c.318b Vlan666 port-channel666 +146.118.65.112 00:09:58 fa16.3e56.f059 Vlan666 port-channel666 +146.118.65.113 00:00:32 fa16.3ef8.622a Vlan666 port-channel666 +146.118.65.114 00:00:28 fa16.3ec0.ff2b Vlan666 port-channel666 +146.118.65.115 00:00:59 fa16.3e1c.ed73 Vlan666 port-channel666 +146.118.65.116 00:00:48 fa16.3e5a.6eb4 Vlan666 port-channel666 +146.118.65.117 00:00:08 fa16.3edf.0d1f Vlan666 port-channel666 +146.118.65.118 00:00:02 fa16.3e63.1c37 Vlan666 port-channel666 +146.118.65.119 00:00:41 fa16.3e64.3d85 Vlan666 port-channel666 +146.118.65.120 00:00:49 fa16.3e9a.21a4 Vlan666 port-channel666 +146.118.65.121 00:00:01 fa16.3e60.c844 Vlan666 port-channel666 +146.118.65.122 00:00:07 fa16.3e83.ff52 Vlan666 port-channel666 +146.118.65.123 00:01:22 fa16.3ed8.4753 Vlan666 port-channel666 +146.118.65.124 00:00:39 fa16.3e3c.3e7a Vlan666 port-channel666 +146.118.65.125 00:01:01 fa16.3ec6.dfa7 Vlan666 port-channel666 +146.118.65.126 00:01:36 fa16.3e44.15ba Vlan666 port-channel666 +146.118.65.127 00:00:47 fa16.3e49.920a Vlan666 port-channel666 +146.118.65.128 00:01:32 fa16.3ee7.97a0 Vlan666 port-channel666 +146.118.65.129 00:02:02 fa16.3e36.62b6 Vlan666 port-channel666 +146.118.65.130 00:09:55 fa16.3e41.e690 Vlan666 port-channel666 +146.118.65.131 00:00:47 fa16.3e1f.84b1 Vlan666 port-channel666 +146.118.65.132 0.651324 fa16.3eda.6240 Vlan666 port-channel666 +146.118.65.134 00:00:43 fa16.3ef9.8fa1 Vlan666 port-channel666 +146.118.65.135 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.65.136 00:00:11 fa16.3e21.ae2c Vlan666 port-channel666 +146.118.65.138 00:09:50 fa16.3e9f.fc7b Vlan666 port-channel666 +146.118.65.139 00:10:18 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.142 00:00:05 fa16.3e20.fb81 Vlan666 port-channel666 +146.118.65.143 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.144 00:10:36 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.65.145 00:00:08 fa16.3e42.c2c0 Vlan666 port-channel666 +146.118.65.146 00:01:42 fa16.3e04.8675 Vlan666 port-channel666 +146.118.65.148 00:00:43 fa16.3ea5.af6b Vlan666 port-channel666 +146.118.65.149 00:09:57 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.65.150 00:02:25 fa16.3efe.eeb7 Vlan666 port-channel666 +146.118.65.153 00:00:03 fa16.3ee4.45cc Vlan666 port-channel666 +146.118.65.154 00:00:37 fa16.3edd.f612 Vlan666 port-channel666 +146.118.65.155 00:00:08 fa16.3ec2.7fb6 Vlan666 port-channel666 +146.118.65.156 00:00:04 fa16.3e00.b706 Vlan666 port-channel666 +146.118.65.157 00:10:27 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.65.158 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.65.160 00:00:06 fa16.3e96.e10c Vlan666 port-channel666 +146.118.65.161 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.65.162 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.65.163 00:00:25 fa16.3e43.c8f3 Vlan666 port-channel666 +146.118.65.164 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.165 00:00:16 fa16.3e50.b145 Vlan666 port-channel666 +146.118.65.166 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.65.167 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.168 00:10:37 fa16.3ed1.6933 Vlan666 port-channel666 +146.118.65.169 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.170 00:10:06 fa16.3e29.097a Vlan666 port-channel666 +146.118.65.171 00:00:27 fa16.3eaf.4d09 Vlan666 port-channel666 +146.118.65.172 00:10:30 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.65.173 00:00:17 fa16.3e9c.3250 Vlan666 port-channel666 +146.118.65.174 00:00:21 fa16.3ed0.83cf Vlan666 port-channel666 +146.118.65.175 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.176 00:00:56 fa16.3e1b.10b3 Vlan666 port-channel666 +146.118.65.177 00:00:43 fa16.3ecc.4f77 Vlan666 port-channel666 +146.118.65.178 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.180 00:00:42 fa16.3ee5.5748 Vlan666 port-channel666 +146.118.65.181 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.182 00:00:03 fa16.3e29.3471 Vlan666 port-channel666 +146.118.65.184 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.185 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.186 00:00:16 fa16.3ef0.a8b5 Vlan666 port-channel666 +146.118.65.187 00:10:39 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.65.188 00:10:02 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.189 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.190 00:09:56 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.191 00:00:43 fa16.3eb4.f22c Vlan666 port-channel666 +146.118.65.194 00:01:17 fa16.3efa.1387 Vlan666 port-channel666 +146.118.65.195 00:00:08 fa16.3e42.649c Vlan666 port-channel666 +146.118.65.196 00:01:03 fa16.3ef9.cf38 Vlan666 port-channel666 +146.118.65.197 00:10:42 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.65.198 00:00:07 fa16.3e59.e0e2 Vlan666 port-channel666 +146.118.65.199 00:10:01 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.65.200 00:10:29 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.65.201 00:01:02 fa16.3e95.155a Vlan666 port-channel666 +146.118.65.202 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.65.203 00:10:11 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.204 00:00:44 fa16.3e30.120a Vlan666 port-channel666 +146.118.65.205 00:09:54 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.65.206 00:09:22 fa16.3e4c.321c Vlan666 port-channel666 +146.118.65.207 00:00:17 fa16.3edd.1e27 Vlan666 port-channel666 +146.118.65.208 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.209 00:00:13 fa16.3eeb.81d3 Vlan666 port-channel666 +146.118.65.210 00:10:28 fa16.3e62.033d Vlan666 port-channel666 +146.118.65.211 00:00:05 fa16.3e0f.fe25 Vlan666 port-channel666 +146.118.65.212 00:00:40 fa16.3ef2.bd13 Vlan666 port-channel666 +146.118.65.214 00:00:20 fa16.3e70.f577 Vlan666 port-channel666 +146.118.65.215 00:10:19 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.216 00:00:55 fa16.3e61.51a5 Vlan666 port-channel666 +146.118.65.217 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.218 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.219 00:10:08 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.220 00:00:43 fa16.3edc.13cd Vlan666 port-channel666 +146.118.65.221 00:00:31 fa16.3e0f.f542 Vlan666 port-channel666 +146.118.65.223 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.224 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.65.225 00:00:20 fa16.3e85.67e6 Vlan666 port-channel666 +146.118.65.226 00:00:05 fa16.3e9f.cbc5 Vlan666 port-channel666 +146.118.65.227 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.65.228 00:09:50 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.229 00:00:08 fa16.3e4e.59ac Vlan666 port-channel666 +146.118.65.230 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.65.231 00:00:36 fa16.3eaa.57f3 Vlan666 port-channel666 +146.118.65.233 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.234 00:00:08 fa16.3ee1.d34a Vlan666 port-channel666 +146.118.65.235 00:00:05 fa16.3e62.e7cb Vlan666 port-channel666 +146.118.65.237 00:01:13 fa16.3e20.009e Vlan666 port-channel666 +146.118.65.239 00:00:49 fa16.3e69.6a0b Vlan666 port-channel666 +146.118.65.240 00:10:02 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.241 00:00:08 fa16.3edb.98d2 Vlan666 port-channel666 +146.118.65.242 00:10:14 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.243 00:10:29 fa16.3e39.c16d Vlan666 port-channel666 +146.118.65.244 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.245 00:00:52 fa16.3e31.21ca Vlan666 port-channel666 +146.118.65.246 00:10:07 fa16.3e29.097a Vlan666 port-channel666 +146.118.65.248 00:00:17 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.249 00:10:09 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.65.250 00:10:35 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.251 00:00:06 fa16.3e8e.c4c8 Vlan666 port-channel666 +146.118.65.252 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.253 00:01:18 fa16.3e83.90cc Vlan666 port-channel666 +146.118.65.254 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.0 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.1 00:10:08 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.3 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.66.6 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.7 00:00:27 fa16.3e1d.41d7 Vlan666 port-channel666 +146.118.66.8 00:00:25 fa16.3e13.0c01 Vlan666 port-channel666 +146.118.66.9 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.10 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.12 00:10:30 fa16.3e10.b451 Vlan666 port-channel666 +146.118.66.13 00:12:11 fa16.3e9d.5003 Vlan666 port-channel666 +146.118.66.14 00:00:07 fa16.3e40.50e3 Vlan666 port-channel666 +146.118.66.15 00:00:38 fa16.3e74.b748 Vlan666 port-channel666 +146.118.66.16 00:00:32 fa16.3e54.721a Vlan666 port-channel666 +146.118.66.17 00:00:09 fa16.3e59.e456 Vlan666 port-channel666 +146.118.66.19 00:00:21 fa16.3efe.f55e Vlan666 port-channel666 +146.118.66.20 00:00:07 fa16.3e40.9cd8 Vlan666 port-channel666 +146.118.66.21 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.22 00:00:18 fa16.3e7f.ccaa Vlan666 port-channel666 +146.118.66.23 00:00:41 fa16.3e24.51a4 Vlan666 port-channel666 +146.118.66.24 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.25 00:00:09 fa16.3e18.d9ec Vlan666 port-channel666 +146.118.66.26 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.27 00:10:36 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.66.29 00:00:12 fa16.3ec4.db68 Vlan666 port-channel666 +146.118.66.30 00:09:53 fa16.3e2a.c811 Vlan666 port-channel666 +146.118.66.32 00:00:06 fa16.3e0d.755a Vlan666 port-channel666 +146.118.66.33 00:04:37 fa16.3e9f.d713 Vlan666 port-channel666 +146.118.66.35 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.36 00:00:31 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.66.37 00:00:06 fa16.3ed3.79cf Vlan666 port-channel666 +146.118.66.38 00:03:00 fa16.3e63.c99f Vlan666 port-channel666 +146.118.66.39 00:10:01 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.40 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.66.41 00:01:39 fa16.3ece.3a92 Vlan666 port-channel666 +146.118.66.42 00:10:12 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.43 00:12:17 fa16.3e25.ac10 Vlan666 port-channel666 +146.118.66.44 00:00:30 fa16.3e54.3769 Vlan666 port-channel666 +146.118.66.45 0.024843 INCOMPLETE Vlan666 Vlan666 +146.118.66.46 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.47 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.49 00:09:52 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.66.51 00:00:11 fa16.3e23.c8d3 Vlan666 port-channel666 +146.118.66.52 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.53 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.66.54 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.55 00:10:26 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.56 00:10:12 fa16.3e62.033d Vlan666 port-channel666 +146.118.66.57 00:01:01 fa16.3e6e.3111 Vlan666 port-channel666 +146.118.66.58 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.59 00:10:12 fa16.3edd.f255 Vlan666 port-channel666 +146.118.66.61 00:10:04 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.62 00:10:31 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.63 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.64 00:00:50 fa16.3e31.aab5 Vlan666 port-channel666 +146.118.66.65 0.746939 INCOMPLETE Vlan666 Vlan666 +146.118.66.66 00:10:44 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.66.67 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.66.68 00:00:11 fa16.3e90.d071 Vlan666 port-channel666 +146.118.66.69 00:00:28 fa16.3e76.132c Vlan666 port-channel666 +146.118.66.70 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.66.71 00:10:44 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.72 00:10:43 fa16.3e28.93d5 Vlan666 port-channel666 +146.118.66.73 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.74 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.75 00:09:58 fa16.3e70.a72d Vlan666 port-channel666 +146.118.66.76 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.77 00:00:04 fa16.3ec5.36ce Vlan666 port-channel666 +146.118.66.78 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.66.79 00:00:03 fa16.3e74.b2ed Vlan666 port-channel666 +146.118.66.80 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.66.81 00:00:21 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.82 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.85 00:10:06 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.66.87 00:12:09 fa16.3e60.d5bb Vlan666 port-channel666 +146.118.66.88 00:10:32 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.89 00:01:00 fa16.3e85.4ca0 Vlan666 port-channel666 +146.118.66.90 00:09:55 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.91 00:09:51 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.92 00:00:01 fa16.3e4c.f193 Vlan666 port-channel666 +146.118.66.93 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.66.95 00:00:08 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.96 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.66.97 00:00:22 fa16.3e30.d696 Vlan666 port-channel666 +146.118.66.98 00:00:33 fa16.3ef5.3cee Vlan666 port-channel666 +146.118.66.99 00:00:23 fa16.3e65.7e9c Vlan666 port-channel666 +146.118.66.100 00:00:09 fa16.3ec8.5bfb Vlan666 port-channel666 +146.118.66.102 00:00:20 fa16.3e3e.9869 Vlan666 port-channel666 +146.118.66.103 00:00:41 fa16.3eab.c850 Vlan666 port-channel666 +146.118.66.104 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.105 00:00:05 fa16.3e89.9d3b Vlan666 port-channel666 +146.118.66.106 00:00:17 fa16.3e5f.2cd2 Vlan666 port-channel666 +146.118.66.108 00:00:12 fa16.3e3d.5b29 Vlan666 port-channel666 +146.118.66.110 00:10:23 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.66.111 00:00:18 fa16.3e88.7891 Vlan666 port-channel666 +146.118.66.113 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.66.114 00:00:18 fa16.3e10.639b Vlan666 port-channel666 +146.118.66.117 00:00:23 fa16.3edf.9d86 Vlan666 port-channel666 +146.118.66.118 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.119 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.66.120 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.121 00:10:35 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.122 00:10:26 fa16.3e62.033d Vlan666 port-channel666 +146.118.66.123 00:00:25 fa16.3ea8.078d Vlan666 port-channel666 +146.118.66.124 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.125 00:00:43 fa16.3efe.d03f Vlan666 port-channel666 +146.118.66.126 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.66.127 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.129 00:00:32 fa16.3ec2.e40e Vlan666 port-channel666 +146.118.66.130 00:00:20 fa16.3e5e.0d85 Vlan666 port-channel666 +146.118.66.131 00:04:39 fa16.3e79.418c Vlan666 port-channel666 +146.118.66.132 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.133 00:00:04 fa16.3e6a.6056 Vlan666 port-channel666 +146.118.66.134 00:00:06 fa16.3e37.affd Vlan666 port-channel666 +146.118.66.135 00:00:36 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.137 00:10:08 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.138 00:09:55 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.139 00:00:07 fa16.3e98.7f8e Vlan666 port-channel666 +146.118.66.140 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.141 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.142 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.143 00:09:59 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.66.144 00:01:06 fa16.3e5c.f39d Vlan666 port-channel666 +146.118.66.145 00:10:27 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.146 00:10:24 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.148 00:10:07 fa16.3e48.4055 Vlan666 port-channel666 +146.118.66.149 00:00:08 fa16.3e40.a95a Vlan666 port-channel666 +146.118.66.150 00:00:40 fa16.3e47.2484 Vlan666 port-channel666 +146.118.66.151 00:00:05 fa16.3ec7.f06f Vlan666 port-channel666 +146.118.66.152 00:00:11 fa16.3e56.9d5c Vlan666 port-channel666 +146.118.66.153 00:10:09 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.154 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.155 00:10:39 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.66.156 00:10:28 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.66.157 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.158 00:00:22 fa16.3e0a.4725 Vlan666 port-channel666 +146.118.66.160 00:00:10 fa16.3eaa.a31e Vlan666 port-channel666 +146.118.66.161 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.162 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.163 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.66.164 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.66.165 00:10:36 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.66.167 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.168 00:00:07 fa16.3efe.5bc1 Vlan666 port-channel666 +146.118.66.169 00:00:14 fa16.3ec2.0038 Vlan666 port-channel666 +146.118.66.170 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.66.171 00:00:03 fa16.3e9b.e5ca Vlan666 port-channel666 +146.118.66.172 0.466175 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.173 00:00:45 fa16.3edd.33b0 Vlan666 port-channel666 +146.118.66.174 00:10:41 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.66.176 00:10:09 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.177 00:00:03 fa16.3e1d.af89 Vlan666 port-channel666 +146.118.66.178 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.179 00:09:52 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.180 00:00:03 fa16.3eaa.6833 Vlan666 port-channel666 +146.118.66.181 00:00:19 fa16.3eef.ca4a Vlan666 port-channel666 +146.118.66.182 00:00:03 fa16.3edf.6343 Vlan666 port-channel666 +146.118.66.183 00:10:39 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.66.184 00:10:28 fa16.3e48.4055 Vlan666 port-channel666 +146.118.66.185 00:01:10 fa16.3eef.68f7 Vlan666 port-channel666 +146.118.66.186 00:00:16 fa16.3eef.5716 Vlan666 port-channel666 +146.118.66.187 00:00:03 fa16.3eea.3dd7 Vlan666 port-channel666 +146.118.66.188 00:10:03 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.189 00:00:51 fa16.3ea7.da62 Vlan666 port-channel666 +146.118.66.190 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.191 00:00:23 fa16.3e86.55bf Vlan666 port-channel666 +146.118.66.192 00:01:05 fa16.3e7b.a205 Vlan666 port-channel666 +146.118.66.193 00:00:23 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.66.195 00:00:42 fa16.3e30.5538 Vlan666 port-channel666 +146.118.66.196 00:00:49 fa16.3ec0.3308 Vlan666 port-channel666 +146.118.66.197 00:10:26 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.66.198 00:04:58 fa16.3e9f.fc7b Vlan666 port-channel666 +146.118.66.199 00:10:19 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.66.201 00:00:10 fa16.3e41.738a Vlan666 port-channel666 +146.118.66.202 00:00:15 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.203 00:10:15 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.205 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.66.206 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.207 00:00:19 fa16.3e23.6437 Vlan666 port-channel666 +146.118.66.208 00:00:17 fa16.3e6e.e48b Vlan666 port-channel666 +146.118.66.210 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.211 00:00:09 fa16.3e8c.0729 Vlan666 port-channel666 +146.118.66.212 00:00:16 fa16.3e74.d9ba Vlan666 port-channel666 +146.118.66.213 00:00:01 fa16.3ec0.e6d5 Vlan666 port-channel666 +146.118.66.214 00:10:20 fa16.3e25.015f Vlan666 port-channel666 +146.118.66.215 00:15:01 fa16.3e40.e84b Vlan666 port-channel666 +146.118.66.216 00:00:06 fa16.3e17.7e81 Vlan666 port-channel666 +146.118.66.217 00:10:22 fa16.3edd.f255 Vlan666 port-channel666 +146.118.66.218 00:10:35 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.220 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.66.221 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.66.224 00:10:00 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.225 00:14:05 fa16.3ea9.f1c5 Vlan666 port-channel666 +146.118.66.226 00:00:17 fa16.3e2c.8593 Vlan666 port-channel666 +146.118.66.229 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.230 00:00:47 fa16.3e68.6815 Vlan666 port-channel666 +146.118.66.231 00:00:38 fa16.3e41.7021 Vlan666 port-channel666 +146.118.66.233 00:10:00 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.235 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.236 00:00:56 fa16.3e05.d247 Vlan666 port-channel666 +146.118.66.237 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.66.238 00:00:33 fa16.3ea0.69e3 Vlan666 port-channel666 +146.118.66.239 00:00:31 fa16.3ee8.9bea Vlan666 port-channel666 +146.118.66.240 00:00:01 fa16.3e4a.1a1b Vlan666 port-channel666 +146.118.66.241 0.820451 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.66.242 0.715579 INCOMPLETE Vlan666 Vlan666 +146.118.66.243 00:00:16 fa16.3e34.c1d2 Vlan666 port-channel666 +146.118.66.245 00:00:03 fa16.3e08.cc2e Vlan666 port-channel666 +146.118.66.246 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.247 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.248 00:11:58 fa16.3e55.8694 Vlan666 port-channel666 +146.118.66.249 00:14:32 fa16.3e50.cd78 Vlan666 port-channel666 +146.118.66.250 00:07:08 fa16.3e18.724a Vlan666 port-channel666 +146.118.66.251 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.253 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.255 00:00:03 fa16.3eae.f8d9 Vlan666 port-channel666 +146.118.67.0 00:01:51 fa16.3e10.b451 Vlan666 port-channel666 +146.118.67.2 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.67.3 00:00:02 fa16.3e35.ada3 Vlan666 port-channel666 +146.118.67.4 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.5 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.7 00:00:02 fa16.3ebd.b023 Vlan666 port-channel666 +146.118.67.8 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.9 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.12 00:00:19 fa16.3e42.a67f Vlan666 port-channel666 +146.118.67.14 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.67.15 00:09:50 fa16.3ead.8125 Vlan666 port-channel666 +146.118.67.16 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.17 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.67.18 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.21 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.67.22 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.23 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.24 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.25 00:10:18 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.67.28 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.30 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.34 00:00:32 fa16.3e6a.3dc7 Vlan666 port-channel666 +146.118.67.36 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.39 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.41 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.42 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.43 00:00:30 fa16.3e33.bce9 Vlan666 port-channel666 +146.118.67.45 00:10:44 fa16.3ec5.ef28 Vlan666 port-channel666 +146.118.67.46 00:10:28 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.47 00:09:49 fa16.3edf.1641 Vlan666 port-channel666 +146.118.67.48 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.67.49 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.50 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.51 00:09:47 fa16.3e83.bd14 Vlan666 port-channel666 +146.118.67.52 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.53 00:00:12 fa16.3ebe.35d6 Vlan666 port-channel666 +146.118.67.54 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.55 00:10:32 fa16.3ee0.63ca Vlan666 port-channel666 +146.118.67.56 00:10:21 fa16.3ef0.bac9 Vlan666 port-channel666 +146.118.67.57 00:00:12 fa16.3e73.d421 Vlan666 port-channel666 +146.118.67.58 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.59 00:10:29 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.67.60 00:00:11 fa16.3ec3.e53b Vlan666 port-channel666 +146.118.67.61 00:13:11 fa16.3e36.f163 Vlan666 port-channel666 +146.118.67.62 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.67.63 00:09:54 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.64 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.65 00:15:00 fa16.3e1b.5f04 Vlan666 port-channel666 +146.118.67.66 00:00:30 fa16.3eb9.d201 Vlan666 port-channel666 +146.118.67.67 00:13:24 fa16.3e65.d298 Vlan666 port-channel666 +146.118.67.68 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.67.69 00:10:13 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.70 00:00:41 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.67.71 00:00:22 fa16.3eb4.e002 Vlan666 port-channel666 +146.118.67.72 00:00:09 fa16.3ea6.8b2d Vlan666 port-channel666 +146.118.67.73 00:13:16 fa16.3e18.f85b Vlan666 port-channel666 +146.118.67.74 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.75 00:10:21 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.67.76 00:14:49 fa16.3e1a.2e9e Vlan666 port-channel666 +146.118.67.77 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.67.78 00:00:05 fa16.3e0c.db92 Vlan666 port-channel666 +146.118.67.79 00:14:20 fa16.3e4b.d7d7 Vlan666 port-channel666 +146.118.67.80 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.81 00:09:57 fa16.3e84.f34f Vlan666 port-channel666 +146.118.67.82 00:00:24 fa16.3ee9.2a72 Vlan666 port-channel666 +146.118.67.83 00:15:29 fa16.3ec5.a157 Vlan666 port-channel666 +146.118.67.84 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.67.85 00:10:30 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.67.86 00:10:22 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.67.87 00:00:28 fa16.3e97.0389 Vlan666 port-channel666 +146.118.67.88 00:00:19 fa16.3eb8.8d1b Vlan666 port-channel666 +146.118.67.89 00:10:23 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.67.90 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.92 00:10:38 fa16.3ead.9256 Vlan666 port-channel666 +146.118.67.93 00:10:21 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.94 00:00:46 fa16.3e49.cdf0 Vlan666 port-channel666 +146.118.67.95 0.525364 INCOMPLETE Vlan666 Vlan666 +146.118.67.96 00:00:43 fa16.3e23.e44a Vlan666 port-channel666 +146.118.67.97 00:00:02 fa16.3eeb.7439 Vlan666 port-channel666 +146.118.67.98 00:00:11 fa16.3e7b.87f7 Vlan666 port-channel666 +146.118.67.99 00:00:32 fa16.3ee3.6d81 Vlan666 port-channel666 +146.118.67.100 00:00:04 fa16.3e6d.0742 Vlan666 port-channel666 +146.118.67.101 00:09:48 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.67.102 00:00:04 fa16.3e0c.94b9 Vlan666 port-channel666 +146.118.67.103 00:00:19 fa16.3e7c.6103 Vlan666 port-channel666 +146.118.67.104 00:01:02 fa16.3e0a.8309 Vlan666 port-channel666 +146.118.67.105 00:00:43 fa16.3e8d.814f Vlan666 port-channel666 +146.118.67.107 00:00:18 fa16.3ead.61be Vlan666 port-channel666 +146.118.67.108 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.67.109 00:16:44 fa16.3e79.100c Vlan666 port-channel666 +146.118.67.110 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.111 00:03:08 fa16.3e9f.da8b Vlan666 port-channel666 +146.118.67.112 00:10:40 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.67.113 00:00:16 fa16.3e79.baa1 Vlan666 port-channel666 +146.118.67.114 00:10:29 fa16.3e1c.17b9 Vlan666 port-channel666 +146.118.67.115 00:10:33 fa16.3e29.097a Vlan666 port-channel666 +146.118.67.116 00:00:31 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.67.117 00:00:48 fa16.3e31.0eea Vlan666 port-channel666 +146.118.67.118 00:14:18 fa16.3e92.f6d4 Vlan666 port-channel666 +146.118.67.119 00:10:07 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.120 00:10:15 fa16.3e8a.e648 Vlan666 port-channel666 +146.118.67.121 00:10:19 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.67.122 00:12:29 fa16.3e2f.748f Vlan666 port-channel666 +146.118.67.123 00:10:38 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.67.124 00:07:48 fa16.3efa.8162 Vlan666 port-channel666 +146.118.67.126 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.127 00:06:57 fa16.3ea2.f232 Vlan666 port-channel666 +146.118.67.128 00:08:10 fa16.3e88.bfbe Vlan666 port-channel666 +146.118.67.129 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.130 00:00:23 fa16.3ea9.9d03 Vlan666 port-channel666 +146.118.67.131 00:17:48 fa16.3e9d.7a7d Vlan666 port-channel666 +146.118.67.132 00:03:48 fa16.3e49.c85c Vlan666 port-channel666 +146.118.67.133 00:00:06 fa16.3e81.85d1 Vlan666 port-channel666 +146.118.67.134 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.67.135 00:10:31 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.67.136 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.137 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.138 00:03:39 fa16.3e4d.5bca Vlan666 port-channel666 +146.118.67.139 00:03:22 fa16.3ee6.202c Vlan666 port-channel666 +146.118.67.140 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.67.141 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.142 00:10:20 fa16.3e0d.9595 Vlan666 port-channel666 +146.118.67.143 00:00:05 fa16.3e4f.c255 Vlan666 port-channel666 +146.118.67.144 00:01:41 fa16.3e69.48a9 Vlan666 port-channel666 +146.118.67.145 00:10:32 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.67.146 00:09:52 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.67.147 00:13:32 fa16.3e27.42d3 Vlan666 port-channel666 +146.118.67.148 00:00:45 fa16.3e20.8590 Vlan666 port-channel666 +146.118.67.149 00:09:51 fa16.3e77.8f2c Vlan666 port-channel666 +146.118.67.150 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.151 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.153 00:10:40 fa16.3e29.e197 Vlan666 port-channel666 +146.118.67.154 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.157 00:08:11 fa16.3e58.cff9 Vlan666 port-channel666 +146.118.67.158 00:10:18 fa16.3e77.7245 Vlan666 port-channel666 +146.118.67.159 00:00:51 fa16.3edb.5732 Vlan666 port-channel666 +146.118.67.161 00:00:26 fa16.3e52.56a2 Vlan666 port-channel666 +146.118.67.162 00:09:48 fa16.3e30.f470 Vlan666 port-channel666 +146.118.67.164 00:10:26 fa16.3ec7.c597 Vlan666 port-channel666 +146.118.67.165 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.166 00:10:41 fa16.3ec7.43b3 Vlan666 port-channel666 +146.118.67.167 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.67.168 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.169 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.170 00:10:45 fa16.3e7b.24d7 Vlan666 port-channel666 +146.118.67.171 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.67.172 00:09:52 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.174 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.175 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.177 00:02:34 fa16.3e51.2fdc Vlan666 port-channel666 +146.118.67.178 00:10:45 fa16.3e42.4c3e Vlan666 port-channel666 +146.118.67.179 00:10:40 fa16.3e43.7afe Vlan666 port-channel666 +146.118.67.180 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.67.181 00:09:10 fa16.3ec9.0e84 Vlan666 port-channel666 +146.118.67.182 00:08:43 fa16.3e9f.66a9 Vlan666 port-channel666 +146.118.67.183 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.67.184 00:14:57 fa16.3ef8.77cf Vlan666 port-channel666 +146.118.67.185 00:10:38 fa16.3e46.4eaa Vlan666 port-channel666 +146.118.67.186 00:00:16 fa16.3e4f.fe4e Vlan666 port-channel666 +146.118.67.187 00:00:27 fa16.3eaa.4f07 Vlan666 port-channel666 +146.118.67.188 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.67.189 00:10:29 fa16.3edd.f255 Vlan666 port-channel666 +146.118.67.190 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.192 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.194 00:15:28 fa16.3e29.e608 Vlan666 port-channel666 +146.118.67.195 00:10:01 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.67.196 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.67.197 00:04:10 fa16.3e87.4f31 Vlan666 port-channel666 +146.118.67.198 00:01:18 fa16.3e95.f7ea Vlan666 port-channel666 +146.118.67.199 00:05:52 fa16.3e94.2900 Vlan666 port-channel666 +146.118.67.201 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.202 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.203 00:09:11 fa16.3e41.fef3 Vlan666 port-channel666 +146.118.67.204 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.205 00:16:52 fa16.3e63.5071 Vlan666 port-channel666 + diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml new file mode 100644 index 0000000000..1de89e2f69 --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml @@ -0,0 +1,4207 @@ +--- +parsed_sample: + - address: "146.118.1.91" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan701" + physical_interface: "Vlan701" + - address: "146.118.1.92" + age: "00:00:57" + mac: "b40c.25e0.4011" + interface: "Vlan701" + physical_interface: "port-channel222" + - address: "146.118.1.93" + age: "0.106174" + mac: "INCOMPLETE" + interface: "Vlan701" + physical_interface: "Vlan701" + - address: "146.118.64.2" + age: "00:01:09" + mac: "fa16.3e34.eb89" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.3" + age: "00:00:09" + mac: "fa16.3ebb.a659" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.4" + age: "00:01:05" + mac: "fa16.3e16.b96a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.5" + age: "00:10:08" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.6" + age: "00:00:16" + mac: "fa16.3e7f.5701" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.7" + age: "00:00:23" + mac: "fa16.3e04.dea1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.8" + age: "00:01:03" + mac: "fa16.3eed.d157" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.9" + age: "00:09:50" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.10" + age: "00:09:54" + mac: "fa16.3e62.c01b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.11" + age: "00:10:42" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.13" + age: "00:00:17" + mac: "fa16.3e2f.5a7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.14" + age: "00:00:18" + mac: "fa16.3e5d.75dc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.15" + age: "00:00:30" + mac: "fa16.3ee0.62d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.16" + age: "00:00:49" + mac: "fa16.3ebe.0582" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.17" + age: "00:00:13" + mac: "fa16.3e83.b27a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.18" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.19" + age: "00:10:13" + mac: "fa16.3e98.d064" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.20" + age: "00:00:41" + mac: "fa16.3ee9.2c38" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.22" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.23" + age: "00:00:52" + mac: "fa16.3ecf.ee58" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.24" + age: "00:09:53" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.25" + age: "0.129496" + mac: "fa16.3e23.ff3e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.26" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.27" + age: "00:10:19" + mac: "fa16.3ec4.5c76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.28" + age: "00:10:27" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.29" + age: "00:10:29" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.30" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.31" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.32" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.33" + age: "00:00:03" + mac: "fa16.3eca.9ee9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.34" + age: "00:00:26" + mac: "fa16.3ec9.9d4e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.35" + age: "00:09:59" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.36" + age: "00:00:49" + mac: "fa16.3e62.5bfc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.37" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.39" + age: "00:00:22" + mac: "fa16.3edc.26d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.41" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.42" + age: "00:00:07" + mac: "fa16.3e60.d23b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.44" + age: "00:00:38" + mac: "fa16.3e30.995b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.45" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.46" + age: "00:00:55" + mac: "fa16.3e76.dd5a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.47" + age: "00:00:14" + mac: "fa16.3e3c.b35c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.48" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.49" + age: "00:00:13" + mac: "fa16.3ea2.33c5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.50" + age: "00:09:57" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.51" + age: "00:00:13" + mac: "fa16.3eea.9c79" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.52" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.53" + age: "00:10:44" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.54" + age: "00:01:19" + mac: "fa16.3e56.0e29" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.55" + age: "00:00:36" + mac: "fa16.3e69.9a60" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.56" + age: "00:02:48" + mac: "fa16.3e74.ea2d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.57" + age: "00:10:13" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.58" + age: "00:10:22" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.59" + age: "00:00:37" + mac: "fa16.3ec0.191f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.60" + age: "00:10:34" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.61" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.62" + age: "00:10:15" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.64" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.65" + age: "00:00:32" + mac: "fa16.3ec4.e11e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.66" + age: "00:00:39" + mac: "fa16.3e4a.f501" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.67" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.68" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.69" + age: "00:00:56" + mac: "fa16.3e46.97ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.70" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.71" + age: "00:00:48" + mac: "fa16.3e7c.0409" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.73" + age: "00:00:14" + mac: "fa16.3e0a.9725" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.74" + age: "00:00:24" + mac: "fa16.3ec0.8c81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.75" + age: "00:10:12" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.76" + age: "00:00:34" + mac: "fa16.3e9f.f2ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.77" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.78" + age: "00:00:14" + mac: "fa16.3e6f.d955" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.79" + age: "00:00:46" + mac: "fa16.3ea2.7988" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.80" + age: "00:10:18" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.81" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.82" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.83" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.84" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.85" + age: "00:00:02" + mac: "fa16.3e28.93d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.86" + age: "00:10:32" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.87" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.88" + age: "00:00:49" + mac: "fa16.3e25.5e76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.89" + age: "00:10:21" + mac: "fa16.3e9a.57bc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.90" + age: "00:01:19" + mac: "fa16.3e2a.b3ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.91" + age: "00:10:19" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.92" + age: "00:10:34" + mac: "fa16.3ec4.e11e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.93" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.94" + age: "00:00:33" + mac: "fa16.3e73.f0cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.96" + age: "00:09:48" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.97" + age: "00:09:53" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.98" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.99" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.100" + age: "00:06:26" + mac: "fa16.3eb0.4437" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.101" + age: "00:09:52" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.102" + age: "00:00:06" + mac: "fa16.3e20.e36f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.103" + age: "00:00:35" + mac: "fa16.3efe.7305" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.104" + age: "00:10:15" + mac: "fa16.3e91.0b31" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.105" + age: "00:10:45" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.106" + age: "00:10:21" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.108" + age: "00:00:55" + mac: "fa16.3e35.a60d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.109" + age: "00:10:32" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.110" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.111" + age: "00:10:08" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.112" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.113" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.115" + age: "00:00:40" + mac: "fa16.3ea5.ce5f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.116" + age: "00:10:12" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.117" + age: "00:00:53" + mac: "fa16.3eb8.40ce" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.118" + age: "00:00:14" + mac: "fa16.3e2a.8881" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.119" + age: "00:09:59" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.120" + age: "00:00:27" + mac: "fa16.3ed8.0825" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.121" + age: "00:10:37" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.122" + age: "00:10:26" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.123" + age: "00:00:37" + mac: "fa16.3e19.e8a3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.124" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.125" + age: "00:01:59" + mac: "fa16.3e93.b99c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.126" + age: "00:10:37" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.127" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.128" + age: "00:10:11" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.130" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.131" + age: "00:00:31" + mac: "fa16.3e92.1860" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.132" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.133" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.134" + age: "00:00:46" + mac: "fa16.3e23.4479" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.135" + age: "00:10:21" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.137" + age: "00:00:17" + mac: "fa16.3eca.e4d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.138" + age: "00:09:55" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.139" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.140" + age: "00:00:08" + mac: "fa16.3ea5.65ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.141" + age: "00:10:40" + mac: "fa16.3ef5.40d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.143" + age: "00:00:03" + mac: "fa16.3ef8.a9bf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.144" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.145" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.147" + age: "00:10:01" + mac: "fa16.3e11.465e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.148" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.149" + age: "00:00:18" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.150" + age: "00:00:11" + mac: "fa16.3e61.1ab1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.151" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.152" + age: "00:10:46" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.153" + age: "00:00:32" + mac: "fa16.3e76.9a53" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.154" + age: "00:10:45" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.155" + age: "00:10:26" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.156" + age: "00:00:16" + mac: "fa16.3eea.fb02" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.158" + age: "00:09:56" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.159" + age: "00:00:03" + mac: "fa16.3e35.d24b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.160" + age: "00:00:31" + mac: "fa16.3e87.1ada" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.161" + age: "00:00:09" + mac: "fa16.3e55.0022" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.162" + age: "00:10:10" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.163" + age: "00:12:18" + mac: "fa16.3e14.251f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.164" + age: "00:10:42" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.165" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.167" + age: "00:01:04" + mac: "fa16.3e9f.5568" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.168" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.169" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.171" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.173" + age: "00:00:11" + mac: "fa16.3e6f.9773" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.174" + age: "00:00:25" + mac: "fa16.3e12.89e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.175" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.176" + age: "00:01:59" + mac: "fa16.3e65.bc09" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.177" + age: "00:00:28" + mac: "fa16.3e72.3421" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.179" + age: "00:10:26" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.180" + age: "00:10:04" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.181" + age: "00:00:17" + mac: "fa16.3ee1.9a57" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.182" + age: "00:00:27" + mac: "fa16.3e2d.d271" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.183" + age: "00:00:21" + mac: "fa16.3e41.4649" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.184" + age: "00:00:01" + mac: "fa16.3e91.5d50" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.185" + age: "00:00:34" + mac: "fa16.3e48.34ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.186" + age: "00:09:48" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.187" + age: "00:10:42" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.188" + age: "00:00:06" + mac: "fa16.3ead.9956" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.189" + age: "00:10:01" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.190" + age: "00:10:11" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.191" + age: "00:09:52" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.192" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.193" + age: "00:10:13" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.194" + age: "00:10:26" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.195" + age: "00:10:15" + mac: "fa16.3ed5.cdf2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.196" + age: "00:00:07" + mac: "fa16.3e6f.6e46" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.197" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.198" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.199" + age: "00:10:13" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.200" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.201" + age: "00:10:23" + mac: "fa16.3e8c.71ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.202" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.203" + age: "00:00:19" + mac: "fa16.3e38.b7e2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.204" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.205" + age: "00:10:19" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.206" + age: "00:00:01" + mac: "fa16.3e98.d064" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.207" + age: "00:09:59" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.209" + age: "00:00:19" + mac: "fa16.3e9f.03a8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.210" + age: "00:00:19" + mac: "fa16.3ee5.b01b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.211" + age: "00:00:17" + mac: "fa16.3e7d.2f2b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.212" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.213" + age: "00:10:29" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.214" + age: "00:00:30" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.215" + age: "00:00:03" + mac: "fa16.3e16.a693" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.216" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.217" + age: "00:00:27" + mac: "fa16.3e7c.7a85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.218" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.219" + age: "00:10:26" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.221" + age: "00:13:36" + mac: "fa16.3ea3.335b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.222" + age: "00:13:21" + mac: "fa16.3e49.e594" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.223" + age: "00:00:12" + mac: "fa16.3ecd.ea21" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.224" + age: "00:00:37" + mac: "fa16.3e01.958e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.225" + age: "00:10:16" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.226" + age: "00:00:10" + mac: "fa16.3ebc.f748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.227" + age: "00:00:33" + mac: "fa16.3ee3.4c77" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.228" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.229" + age: "00:10:09" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.230" + age: "00:00:33" + mac: "fa16.3e38.f136" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.231" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.232" + age: "00:00:14" + mac: "fa16.3e19.abfc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.233" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.235" + age: "00:00:03" + mac: "fa16.3ee8.e41c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.236" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.239" + age: "00:00:45" + mac: "fa16.3ebb.6e76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.240" + age: "00:00:08" + mac: "fa16.3e89.5377" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.242" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.243" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.244" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.245" + age: "00:00:10" + mac: "fa16.3eba.50a6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.246" + age: "00:00:06" + mac: "fa16.3e37.9c54" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.247" + age: "00:00:33" + mac: "fa16.3e91.d530" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.248" + age: "00:10:32" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.250" + age: "00:00:54" + mac: "fa16.3e23.ee6a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.251" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.254" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.0" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.1" + age: "00:10:34" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.2" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.3" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.4" + age: "00:00:32" + mac: "fa16.3ec4.44ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.5" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.6" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.7" + age: "00:10:08" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.8" + age: "00:00:42" + mac: "fa16.3ee7.87da" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.9" + age: "00:09:48" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.10" + age: "00:00:11" + mac: "fa16.3e4b.3a7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.11" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.12" + age: "00:00:27" + mac: "fa16.3e93.f6ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.14" + age: "00:01:02" + mac: "fa16.3ed9.7a23" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.15" + age: "00:10:32" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.16" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.17" + age: "00:10:17" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.18" + age: "00:00:18" + mac: "fa16.3e8b.8df9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.19" + age: "00:00:37" + mac: "fa16.3e99.c830" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.20" + age: "00:09:47" + mac: "fa16.3e8e.c4c8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.21" + age: "00:00:56" + mac: "fa16.3e58.2279" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.22" + age: "00:02:06" + mac: "fa16.3e80.3b85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.23" + age: "00:10:01" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.24" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.25" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.27" + age: "00:00:05" + mac: "fa16.3e03.b4e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.29" + age: "00:10:09" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.30" + age: "00:00:05" + mac: "fa16.3e8c.73a8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.31" + age: "00:00:43" + mac: "fa16.3e5c.c85f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.32" + age: "00:00:43" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.33" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.34" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.35" + age: "00:00:04" + mac: "fa16.3ef2.8e4d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.37" + age: "00:10:39" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.38" + age: "00:00:05" + mac: "fa16.3eeb.b0ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.40" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.41" + age: "00:00:26" + mac: "fa16.3e0b.c029" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.42" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.45" + age: "00:00:04" + mac: "fa16.3e55.dcb0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.46" + age: "00:00:23" + mac: "fa16.3e38.30d4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.47" + age: "00:00:08" + mac: "fa16.3e66.7480" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.48" + age: "00:00:20" + mac: "fa16.3e8d.ef96" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.49" + age: "00:10:10" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.50" + age: "00:09:52" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.51" + age: "00:00:19" + mac: "fa16.3efa.5567" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.52" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.53" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.54" + age: "00:00:03" + mac: "fa16.3eff.b63f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.55" + age: "00:00:18" + mac: "fa16.3ee3.1eba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.56" + age: "00:00:12" + mac: "fa16.3e6a.2552" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.57" + age: "00:03:00" + mac: "fa16.3ea7.1869" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.58" + age: "00:10:39" + mac: "fa16.3ec4.5c76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.59" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.60" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.61" + age: "00:00:21" + mac: "fa16.3e05.d3f1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.62" + age: "00:00:41" + mac: "fa16.3ea2.098f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.63" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.64" + age: "00:10:15" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.65" + age: "00:00:43" + mac: "fa16.3e06.f2e7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.66" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.67" + age: "00:10:25" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.68" + age: "00:01:10" + mac: "fa16.3e8a.8caa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.69" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.70" + age: "00:01:04" + mac: "fa16.3e49.10ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.73" + age: "00:00:57" + mac: "fa16.3e82.1cb1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.75" + age: "00:10:10" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.77" + age: "00:01:09" + mac: "fa16.3eb2.ca81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.78" + age: "00:10:39" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.79" + age: "00:00:21" + mac: "fa16.3e09.f1b8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.80" + age: "00:10:37" + mac: "fa16.3e41.e690" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.81" + age: "00:01:12" + mac: "fa16.3e0d.8f20" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.82" + age: "00:00:50" + mac: "fa16.3ece.a872" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.83" + age: "00:00:41" + mac: "fa16.3e2a.934c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.84" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.85" + age: "00:10:38" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.86" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.88" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.89" + age: "00:00:10" + mac: "fa16.3ea0.8068" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.90" + age: "00:10:17" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.91" + age: "00:00:10" + mac: "fa16.3e03.51a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.92" + age: "00:09:48" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.93" + age: "00:00:28" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.95" + age: "00:00:19" + mac: "fa16.3ef2.f79b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.96" + age: "00:00:58" + mac: "fa16.3e7d.bafc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.97" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.98" + age: "00:09:48" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.99" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.100" + age: "00:00:55" + mac: "fa16.3ebb.74bd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.101" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.102" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.103" + age: "00:09:58" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.105" + age: "00:10:41" + mac: "fa16.3ef5.40d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.106" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.107" + age: "00:00:40" + mac: "fa16.3ee1.69c2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.108" + age: "00:01:07" + mac: "fa16.3e30.8794" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.109" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.110" + age: "00:00:02" + mac: "fa16.3e53.a252" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.111" + age: "00:00:47" + mac: "fa16.3e8c.318b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.112" + age: "00:09:58" + mac: "fa16.3e56.f059" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.113" + age: "00:00:32" + mac: "fa16.3ef8.622a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.114" + age: "00:00:28" + mac: "fa16.3ec0.ff2b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.115" + age: "00:00:59" + mac: "fa16.3e1c.ed73" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.116" + age: "00:00:48" + mac: "fa16.3e5a.6eb4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.117" + age: "00:00:08" + mac: "fa16.3edf.0d1f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.118" + age: "00:00:02" + mac: "fa16.3e63.1c37" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.119" + age: "00:00:41" + mac: "fa16.3e64.3d85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.120" + age: "00:00:49" + mac: "fa16.3e9a.21a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.121" + age: "00:00:01" + mac: "fa16.3e60.c844" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.122" + age: "00:00:07" + mac: "fa16.3e83.ff52" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.123" + age: "00:01:22" + mac: "fa16.3ed8.4753" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.124" + age: "00:00:39" + mac: "fa16.3e3c.3e7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.125" + age: "00:01:01" + mac: "fa16.3ec6.dfa7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.126" + age: "00:01:36" + mac: "fa16.3e44.15ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.127" + age: "00:00:47" + mac: "fa16.3e49.920a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.128" + age: "00:01:32" + mac: "fa16.3ee7.97a0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.129" + age: "00:02:02" + mac: "fa16.3e36.62b6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.130" + age: "00:09:55" + mac: "fa16.3e41.e690" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.131" + age: "00:00:47" + mac: "fa16.3e1f.84b1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.132" + age: "0.651324" + mac: "fa16.3eda.6240" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.134" + age: "00:00:43" + mac: "fa16.3ef9.8fa1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.135" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.136" + age: "00:00:11" + mac: "fa16.3e21.ae2c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.138" + age: "00:09:50" + mac: "fa16.3e9f.fc7b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.139" + age: "00:10:18" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.142" + age: "00:00:05" + mac: "fa16.3e20.fb81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.143" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.144" + age: "00:10:36" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.145" + age: "00:00:08" + mac: "fa16.3e42.c2c0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.146" + age: "00:01:42" + mac: "fa16.3e04.8675" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.148" + age: "00:00:43" + mac: "fa16.3ea5.af6b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.149" + age: "00:09:57" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.150" + age: "00:02:25" + mac: "fa16.3efe.eeb7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.153" + age: "00:00:03" + mac: "fa16.3ee4.45cc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.154" + age: "00:00:37" + mac: "fa16.3edd.f612" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.155" + age: "00:00:08" + mac: "fa16.3ec2.7fb6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.156" + age: "00:00:04" + mac: "fa16.3e00.b706" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.157" + age: "00:10:27" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.158" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.160" + age: "00:00:06" + mac: "fa16.3e96.e10c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.161" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.162" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.163" + age: "00:00:25" + mac: "fa16.3e43.c8f3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.164" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.165" + age: "00:00:16" + mac: "fa16.3e50.b145" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.166" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.167" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.168" + age: "00:10:37" + mac: "fa16.3ed1.6933" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.169" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.170" + age: "00:10:06" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.171" + age: "00:00:27" + mac: "fa16.3eaf.4d09" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.172" + age: "00:10:30" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.173" + age: "00:00:17" + mac: "fa16.3e9c.3250" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.174" + age: "00:00:21" + mac: "fa16.3ed0.83cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.175" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.176" + age: "00:00:56" + mac: "fa16.3e1b.10b3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.177" + age: "00:00:43" + mac: "fa16.3ecc.4f77" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.178" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.180" + age: "00:00:42" + mac: "fa16.3ee5.5748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.181" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.182" + age: "00:00:03" + mac: "fa16.3e29.3471" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.184" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.185" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.186" + age: "00:00:16" + mac: "fa16.3ef0.a8b5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.187" + age: "00:10:39" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.188" + age: "00:10:02" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.189" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.190" + age: "00:09:56" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.191" + age: "00:00:43" + mac: "fa16.3eb4.f22c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.194" + age: "00:01:17" + mac: "fa16.3efa.1387" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.195" + age: "00:00:08" + mac: "fa16.3e42.649c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.196" + age: "00:01:03" + mac: "fa16.3ef9.cf38" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.197" + age: "00:10:42" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.198" + age: "00:00:07" + mac: "fa16.3e59.e0e2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.199" + age: "00:10:01" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.200" + age: "00:10:29" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.201" + age: "00:01:02" + mac: "fa16.3e95.155a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.202" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.203" + age: "00:10:11" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.204" + age: "00:00:44" + mac: "fa16.3e30.120a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.205" + age: "00:09:54" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.206" + age: "00:09:22" + mac: "fa16.3e4c.321c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.207" + age: "00:00:17" + mac: "fa16.3edd.1e27" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.208" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.209" + age: "00:00:13" + mac: "fa16.3eeb.81d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.210" + age: "00:10:28" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.211" + age: "00:00:05" + mac: "fa16.3e0f.fe25" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.212" + age: "00:00:40" + mac: "fa16.3ef2.bd13" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.214" + age: "00:00:20" + mac: "fa16.3e70.f577" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.215" + age: "00:10:19" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.216" + age: "00:00:55" + mac: "fa16.3e61.51a5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.217" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.218" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.219" + age: "00:10:08" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.220" + age: "00:00:43" + mac: "fa16.3edc.13cd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.221" + age: "00:00:31" + mac: "fa16.3e0f.f542" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.223" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.224" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.225" + age: "00:00:20" + mac: "fa16.3e85.67e6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.226" + age: "00:00:05" + mac: "fa16.3e9f.cbc5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.227" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.228" + age: "00:09:50" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.229" + age: "00:00:08" + mac: "fa16.3e4e.59ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.230" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.231" + age: "00:00:36" + mac: "fa16.3eaa.57f3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.233" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.234" + age: "00:00:08" + mac: "fa16.3ee1.d34a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.235" + age: "00:00:05" + mac: "fa16.3e62.e7cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.237" + age: "00:01:13" + mac: "fa16.3e20.009e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.239" + age: "00:00:49" + mac: "fa16.3e69.6a0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.240" + age: "00:10:02" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.241" + age: "00:00:08" + mac: "fa16.3edb.98d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.242" + age: "00:10:14" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.243" + age: "00:10:29" + mac: "fa16.3e39.c16d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.244" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.245" + age: "00:00:52" + mac: "fa16.3e31.21ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.246" + age: "00:10:07" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.248" + age: "00:00:17" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.249" + age: "00:10:09" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.250" + age: "00:10:35" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.251" + age: "00:00:06" + mac: "fa16.3e8e.c4c8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.252" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.253" + age: "00:01:18" + mac: "fa16.3e83.90cc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.254" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.0" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.1" + age: "00:10:08" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.3" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.6" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.7" + age: "00:00:27" + mac: "fa16.3e1d.41d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.8" + age: "00:00:25" + mac: "fa16.3e13.0c01" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.9" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.10" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.12" + age: "00:10:30" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.13" + age: "00:12:11" + mac: "fa16.3e9d.5003" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.14" + age: "00:00:07" + mac: "fa16.3e40.50e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.15" + age: "00:00:38" + mac: "fa16.3e74.b748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.16" + age: "00:00:32" + mac: "fa16.3e54.721a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.17" + age: "00:00:09" + mac: "fa16.3e59.e456" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.19" + age: "00:00:21" + mac: "fa16.3efe.f55e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.20" + age: "00:00:07" + mac: "fa16.3e40.9cd8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.21" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.22" + age: "00:00:18" + mac: "fa16.3e7f.ccaa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.23" + age: "00:00:41" + mac: "fa16.3e24.51a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.24" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.25" + age: "00:00:09" + mac: "fa16.3e18.d9ec" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.26" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.27" + age: "00:10:36" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.29" + age: "00:00:12" + mac: "fa16.3ec4.db68" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.30" + age: "00:09:53" + mac: "fa16.3e2a.c811" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.32" + age: "00:00:06" + mac: "fa16.3e0d.755a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.33" + age: "00:04:37" + mac: "fa16.3e9f.d713" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.35" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.36" + age: "00:00:31" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.37" + age: "00:00:06" + mac: "fa16.3ed3.79cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.38" + age: "00:03:00" + mac: "fa16.3e63.c99f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.39" + age: "00:10:01" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.40" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.41" + age: "00:01:39" + mac: "fa16.3ece.3a92" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.42" + age: "00:10:12" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.43" + age: "00:12:17" + mac: "fa16.3e25.ac10" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.44" + age: "00:00:30" + mac: "fa16.3e54.3769" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.45" + age: "0.024843" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.46" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.47" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.49" + age: "00:09:52" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.51" + age: "00:00:11" + mac: "fa16.3e23.c8d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.52" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.53" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.54" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.55" + age: "00:10:26" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.56" + age: "00:10:12" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.57" + age: "00:01:01" + mac: "fa16.3e6e.3111" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.58" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.59" + age: "00:10:12" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.61" + age: "00:10:04" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.62" + age: "00:10:31" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.63" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.64" + age: "00:00:50" + mac: "fa16.3e31.aab5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.65" + age: "0.746939" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.66" + age: "00:10:44" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.67" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.68" + age: "00:00:11" + mac: "fa16.3e90.d071" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.69" + age: "00:00:28" + mac: "fa16.3e76.132c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.70" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.71" + age: "00:10:44" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.72" + age: "00:10:43" + mac: "fa16.3e28.93d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.73" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.74" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.75" + age: "00:09:58" + mac: "fa16.3e70.a72d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.76" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.77" + age: "00:00:04" + mac: "fa16.3ec5.36ce" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.78" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.79" + age: "00:00:03" + mac: "fa16.3e74.b2ed" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.80" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.81" + age: "00:00:21" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.82" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.85" + age: "00:10:06" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.87" + age: "00:12:09" + mac: "fa16.3e60.d5bb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.88" + age: "00:10:32" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.89" + age: "00:01:00" + mac: "fa16.3e85.4ca0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.90" + age: "00:09:55" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.91" + age: "00:09:51" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.92" + age: "00:00:01" + mac: "fa16.3e4c.f193" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.93" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.95" + age: "00:00:08" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.96" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.97" + age: "00:00:22" + mac: "fa16.3e30.d696" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.98" + age: "00:00:33" + mac: "fa16.3ef5.3cee" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.99" + age: "00:00:23" + mac: "fa16.3e65.7e9c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.100" + age: "00:00:09" + mac: "fa16.3ec8.5bfb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.102" + age: "00:00:20" + mac: "fa16.3e3e.9869" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.103" + age: "00:00:41" + mac: "fa16.3eab.c850" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.104" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.105" + age: "00:00:05" + mac: "fa16.3e89.9d3b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.106" + age: "00:00:17" + mac: "fa16.3e5f.2cd2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.108" + age: "00:00:12" + mac: "fa16.3e3d.5b29" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.110" + age: "00:10:23" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.111" + age: "00:00:18" + mac: "fa16.3e88.7891" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.113" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.114" + age: "00:00:18" + mac: "fa16.3e10.639b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.117" + age: "00:00:23" + mac: "fa16.3edf.9d86" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.118" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.119" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.120" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.121" + age: "00:10:35" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.122" + age: "00:10:26" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.123" + age: "00:00:25" + mac: "fa16.3ea8.078d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.124" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.125" + age: "00:00:43" + mac: "fa16.3efe.d03f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.126" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.127" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.129" + age: "00:00:32" + mac: "fa16.3ec2.e40e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.130" + age: "00:00:20" + mac: "fa16.3e5e.0d85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.131" + age: "00:04:39" + mac: "fa16.3e79.418c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.132" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.133" + age: "00:00:04" + mac: "fa16.3e6a.6056" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.134" + age: "00:00:06" + mac: "fa16.3e37.affd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.135" + age: "00:00:36" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.137" + age: "00:10:08" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.138" + age: "00:09:55" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.139" + age: "00:00:07" + mac: "fa16.3e98.7f8e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.140" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.141" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.142" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.143" + age: "00:09:59" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.144" + age: "00:01:06" + mac: "fa16.3e5c.f39d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.145" + age: "00:10:27" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.146" + age: "00:10:24" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.148" + age: "00:10:07" + mac: "fa16.3e48.4055" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.149" + age: "00:00:08" + mac: "fa16.3e40.a95a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.150" + age: "00:00:40" + mac: "fa16.3e47.2484" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.151" + age: "00:00:05" + mac: "fa16.3ec7.f06f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.152" + age: "00:00:11" + mac: "fa16.3e56.9d5c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.153" + age: "00:10:09" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.154" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.155" + age: "00:10:39" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.156" + age: "00:10:28" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.157" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.158" + age: "00:00:22" + mac: "fa16.3e0a.4725" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.160" + age: "00:00:10" + mac: "fa16.3eaa.a31e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.161" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.162" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.163" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.164" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.165" + age: "00:10:36" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.167" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.168" + age: "00:00:07" + mac: "fa16.3efe.5bc1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.169" + age: "00:00:14" + mac: "fa16.3ec2.0038" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.170" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.171" + age: "00:00:03" + mac: "fa16.3e9b.e5ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.172" + age: "0.466175" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.173" + age: "00:00:45" + mac: "fa16.3edd.33b0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.174" + age: "00:10:41" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.176" + age: "00:10:09" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.177" + age: "00:00:03" + mac: "fa16.3e1d.af89" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.178" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.179" + age: "00:09:52" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.180" + age: "00:00:03" + mac: "fa16.3eaa.6833" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.181" + age: "00:00:19" + mac: "fa16.3eef.ca4a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.182" + age: "00:00:03" + mac: "fa16.3edf.6343" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.183" + age: "00:10:39" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.184" + age: "00:10:28" + mac: "fa16.3e48.4055" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.185" + age: "00:01:10" + mac: "fa16.3eef.68f7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.186" + age: "00:00:16" + mac: "fa16.3eef.5716" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.187" + age: "00:00:03" + mac: "fa16.3eea.3dd7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.188" + age: "00:10:03" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.189" + age: "00:00:51" + mac: "fa16.3ea7.da62" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.190" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.191" + age: "00:00:23" + mac: "fa16.3e86.55bf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.192" + age: "00:01:05" + mac: "fa16.3e7b.a205" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.193" + age: "00:00:23" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.195" + age: "00:00:42" + mac: "fa16.3e30.5538" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.196" + age: "00:00:49" + mac: "fa16.3ec0.3308" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.197" + age: "00:10:26" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.198" + age: "00:04:58" + mac: "fa16.3e9f.fc7b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.199" + age: "00:10:19" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.201" + age: "00:00:10" + mac: "fa16.3e41.738a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.202" + age: "00:00:15" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.203" + age: "00:10:15" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.205" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.206" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.207" + age: "00:00:19" + mac: "fa16.3e23.6437" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.208" + age: "00:00:17" + mac: "fa16.3e6e.e48b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.210" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.211" + age: "00:00:09" + mac: "fa16.3e8c.0729" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.212" + age: "00:00:16" + mac: "fa16.3e74.d9ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.213" + age: "00:00:01" + mac: "fa16.3ec0.e6d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.214" + age: "00:10:20" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.215" + age: "00:15:01" + mac: "fa16.3e40.e84b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.216" + age: "00:00:06" + mac: "fa16.3e17.7e81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.217" + age: "00:10:22" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.218" + age: "00:10:35" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.220" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.221" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.224" + age: "00:10:00" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.225" + age: "00:14:05" + mac: "fa16.3ea9.f1c5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.226" + age: "00:00:17" + mac: "fa16.3e2c.8593" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.229" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.230" + age: "00:00:47" + mac: "fa16.3e68.6815" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.231" + age: "00:00:38" + mac: "fa16.3e41.7021" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.233" + age: "00:10:00" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.235" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.236" + age: "00:00:56" + mac: "fa16.3e05.d247" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.237" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.238" + age: "00:00:33" + mac: "fa16.3ea0.69e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.239" + age: "00:00:31" + mac: "fa16.3ee8.9bea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.240" + age: "00:00:01" + mac: "fa16.3e4a.1a1b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.241" + age: "0.820451" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.242" + age: "0.715579" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.243" + age: "00:00:16" + mac: "fa16.3e34.c1d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.245" + age: "00:00:03" + mac: "fa16.3e08.cc2e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.246" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.247" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.248" + age: "00:11:58" + mac: "fa16.3e55.8694" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.249" + age: "00:14:32" + mac: "fa16.3e50.cd78" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.250" + age: "00:07:08" + mac: "fa16.3e18.724a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.251" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.253" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.255" + age: "00:00:03" + mac: "fa16.3eae.f8d9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.0" + age: "00:01:51" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.2" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.3" + age: "00:00:02" + mac: "fa16.3e35.ada3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.4" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.5" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.7" + age: "00:00:02" + mac: "fa16.3ebd.b023" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.8" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.9" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.12" + age: "00:00:19" + mac: "fa16.3e42.a67f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.14" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.15" + age: "00:09:50" + mac: "fa16.3ead.8125" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.16" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.17" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.18" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.21" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.22" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.23" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.24" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.25" + age: "00:10:18" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.28" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.30" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.34" + age: "00:00:32" + mac: "fa16.3e6a.3dc7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.36" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.39" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.41" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.42" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.43" + age: "00:00:30" + mac: "fa16.3e33.bce9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.45" + age: "00:10:44" + mac: "fa16.3ec5.ef28" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.46" + age: "00:10:28" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.47" + age: "00:09:49" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.48" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.49" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.50" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.51" + age: "00:09:47" + mac: "fa16.3e83.bd14" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.52" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.53" + age: "00:00:12" + mac: "fa16.3ebe.35d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.54" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.55" + age: "00:10:32" + mac: "fa16.3ee0.63ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.56" + age: "00:10:21" + mac: "fa16.3ef0.bac9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.57" + age: "00:00:12" + mac: "fa16.3e73.d421" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.58" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.59" + age: "00:10:29" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.60" + age: "00:00:11" + mac: "fa16.3ec3.e53b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.61" + age: "00:13:11" + mac: "fa16.3e36.f163" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.62" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.63" + age: "00:09:54" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.64" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.65" + age: "00:15:00" + mac: "fa16.3e1b.5f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.66" + age: "00:00:30" + mac: "fa16.3eb9.d201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.67" + age: "00:13:24" + mac: "fa16.3e65.d298" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.68" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.69" + age: "00:10:13" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.70" + age: "00:00:41" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.71" + age: "00:00:22" + mac: "fa16.3eb4.e002" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.72" + age: "00:00:09" + mac: "fa16.3ea6.8b2d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.73" + age: "00:13:16" + mac: "fa16.3e18.f85b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.74" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.75" + age: "00:10:21" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.76" + age: "00:14:49" + mac: "fa16.3e1a.2e9e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.77" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.78" + age: "00:00:05" + mac: "fa16.3e0c.db92" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.79" + age: "00:14:20" + mac: "fa16.3e4b.d7d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.80" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.81" + age: "00:09:57" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.82" + age: "00:00:24" + mac: "fa16.3ee9.2a72" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.83" + age: "00:15:29" + mac: "fa16.3ec5.a157" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.84" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.85" + age: "00:10:30" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.86" + age: "00:10:22" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.87" + age: "00:00:28" + mac: "fa16.3e97.0389" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.88" + age: "00:00:19" + mac: "fa16.3eb8.8d1b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.89" + age: "00:10:23" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.90" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.92" + age: "00:10:38" + mac: "fa16.3ead.9256" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.93" + age: "00:10:21" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.94" + age: "00:00:46" + mac: "fa16.3e49.cdf0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.95" + age: "0.525364" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.96" + age: "00:00:43" + mac: "fa16.3e23.e44a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.97" + age: "00:00:02" + mac: "fa16.3eeb.7439" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.98" + age: "00:00:11" + mac: "fa16.3e7b.87f7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.99" + age: "00:00:32" + mac: "fa16.3ee3.6d81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.100" + age: "00:00:04" + mac: "fa16.3e6d.0742" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.101" + age: "00:09:48" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.102" + age: "00:00:04" + mac: "fa16.3e0c.94b9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.103" + age: "00:00:19" + mac: "fa16.3e7c.6103" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.104" + age: "00:01:02" + mac: "fa16.3e0a.8309" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.105" + age: "00:00:43" + mac: "fa16.3e8d.814f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.107" + age: "00:00:18" + mac: "fa16.3ead.61be" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.108" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.109" + age: "00:16:44" + mac: "fa16.3e79.100c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.110" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.111" + age: "00:03:08" + mac: "fa16.3e9f.da8b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.112" + age: "00:10:40" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.113" + age: "00:00:16" + mac: "fa16.3e79.baa1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.114" + age: "00:10:29" + mac: "fa16.3e1c.17b9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.115" + age: "00:10:33" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.116" + age: "00:00:31" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.117" + age: "00:00:48" + mac: "fa16.3e31.0eea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.118" + age: "00:14:18" + mac: "fa16.3e92.f6d4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.119" + age: "00:10:07" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.120" + age: "00:10:15" + mac: "fa16.3e8a.e648" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.121" + age: "00:10:19" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.122" + age: "00:12:29" + mac: "fa16.3e2f.748f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.123" + age: "00:10:38" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.124" + age: "00:07:48" + mac: "fa16.3efa.8162" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.126" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.127" + age: "00:06:57" + mac: "fa16.3ea2.f232" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.128" + age: "00:08:10" + mac: "fa16.3e88.bfbe" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.129" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.130" + age: "00:00:23" + mac: "fa16.3ea9.9d03" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.131" + age: "00:17:48" + mac: "fa16.3e9d.7a7d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.132" + age: "00:03:48" + mac: "fa16.3e49.c85c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.133" + age: "00:00:06" + mac: "fa16.3e81.85d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.134" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.135" + age: "00:10:31" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.136" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.137" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.138" + age: "00:03:39" + mac: "fa16.3e4d.5bca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.139" + age: "00:03:22" + mac: "fa16.3ee6.202c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.140" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.141" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.142" + age: "00:10:20" + mac: "fa16.3e0d.9595" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.143" + age: "00:00:05" + mac: "fa16.3e4f.c255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.144" + age: "00:01:41" + mac: "fa16.3e69.48a9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.145" + age: "00:10:32" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.146" + age: "00:09:52" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.147" + age: "00:13:32" + mac: "fa16.3e27.42d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.148" + age: "00:00:45" + mac: "fa16.3e20.8590" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.149" + age: "00:09:51" + mac: "fa16.3e77.8f2c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.150" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.151" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.153" + age: "00:10:40" + mac: "fa16.3e29.e197" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.154" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.157" + age: "00:08:11" + mac: "fa16.3e58.cff9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.158" + age: "00:10:18" + mac: "fa16.3e77.7245" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.159" + age: "00:00:51" + mac: "fa16.3edb.5732" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.161" + age: "00:00:26" + mac: "fa16.3e52.56a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.162" + age: "00:09:48" + mac: "fa16.3e30.f470" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.164" + age: "00:10:26" + mac: "fa16.3ec7.c597" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.165" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.166" + age: "00:10:41" + mac: "fa16.3ec7.43b3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.167" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.168" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.169" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.170" + age: "00:10:45" + mac: "fa16.3e7b.24d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.171" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.172" + age: "00:09:52" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.174" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.175" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.177" + age: "00:02:34" + mac: "fa16.3e51.2fdc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.178" + age: "00:10:45" + mac: "fa16.3e42.4c3e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.179" + age: "00:10:40" + mac: "fa16.3e43.7afe" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.180" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.181" + age: "00:09:10" + mac: "fa16.3ec9.0e84" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.182" + age: "00:08:43" + mac: "fa16.3e9f.66a9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.183" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.184" + age: "00:14:57" + mac: "fa16.3ef8.77cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.185" + age: "00:10:38" + mac: "fa16.3e46.4eaa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.186" + age: "00:00:16" + mac: "fa16.3e4f.fe4e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.187" + age: "00:00:27" + mac: "fa16.3eaa.4f07" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.188" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.189" + age: "00:10:29" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.190" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.192" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.194" + age: "00:15:28" + mac: "fa16.3e29.e608" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.195" + age: "00:10:01" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.196" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.197" + age: "00:04:10" + mac: "fa16.3e87.4f31" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.198" + age: "00:01:18" + mac: "fa16.3e95.f7ea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.199" + age: "00:05:52" + mac: "fa16.3e94.2900" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.201" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.202" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.203" + age: "00:09:11" + mac: "fa16.3e41.fef3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.204" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.205" + age: "00:16:52" + mac: "fa16.3e63.5071" + interface: "Vlan666" + physical_interface: "port-channel666" From fd56cb8e0d0ccfb467cbd09adf1a34514d8d89d5 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 09:35:50 +1300 Subject: [PATCH 162/412] Fix#784 new: cisco asa show running all cryprom map (#840) --- ...show_running-config_all_crypto_map.textfsm | 27 ++++ ...asa_show_running-config_crypto_map.textfsm | 35 ++++-- templates/index | 1 + ...asa_show_running-config_all_crypto_map.raw | 68 ++++++++++ ...asa_show_running-config_all_crypto_map.yml | 119 ++++++++++++++++++ ...sco_asa_show_running-config_crypto_map.yml | 8 +- ...co_asa_show_running-config_crypto_map2.raw | 22 ++++ ...co_asa_show_running-config_crypto_map2.yml | 50 ++++++++ 8 files changed, 317 insertions(+), 13 deletions(-) create mode 100644 templates/cisco_asa_show_running-config_all_crypto_map.textfsm create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml create mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw create mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm new file mode 100644 index 0000000000..744a24cef9 --- /dev/null +++ b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm @@ -0,0 +1,27 @@ +Value MATCHED_ADDRESS (\S+) +Value CONNECTION_TYPE (\S+) +Value Required MAP (\S+) +Value Required SEQ (\d+) +Value PFS (group\d|\s*) +Value Required PEER (\S+) +Value IKEv1_PHASE1_MODE (\S+) +Value IKEv1_TRANSFORM_SET (\S+(\s\S+)*?) +Value IKEv2_MODE (\S+) +Value ISAKMP_DYNAMIC (\S+) +Value Fillup INTERFACE (\S+) +Value TRANSFORM (\S+) +Value SA (\d+) + +Start + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sconnection-type\s${CONNECTION_TYPE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\spfs\s${PFS}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\speer\s${PEER}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\sphase1-mode\s${IKEv1_PHASE1_MODE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\stransform-set\s${IKEv1_TRANSFORM_SET}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev2\smode\s${IKEv2_MODE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ + ^no\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + ^crypto\smap\s${MAP}\sinterface\s${INTERFACE}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s*$$ + ^. -> Error diff --git a/templates/cisco_asa_show_running-config_crypto_map.textfsm b/templates/cisco_asa_show_running-config_crypto_map.textfsm index f5e9849b47..c617db041d 100644 --- a/templates/cisco_asa_show_running-config_crypto_map.textfsm +++ b/templates/cisco_asa_show_running-config_crypto_map.textfsm @@ -1,15 +1,32 @@ Value MATCHED_ADDRESS (\S+) -Value Required MAP (\S+) -Value Required SEQ (\d+) +Value Key MAP (\S+) +Value Key SEQ (\d+) Value PFS (group\d|\s*) -Value Required PEER (\S+) +Value PEER (\S+) Value IKE (\S+) -Value TRANSFORM (\S+) +Value TRANSFORM (\S+(\s\S+)*?) Value SA (\d+) +#Future# Value Fillup INTERFACE (\S+) Start - ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s* - ^crypto\smap\s\S+\s\d+\sset\spfs\s${PFS}\s* - ^crypto\smap\s\S+\s\d+\sset\speer\s${PEER}\s* - ^crypto\smap\s\S+\s\d+\sset\s${IKE}\stransform-set\s${TRANSFORM}\s* - ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s* -> Record + # Value's address , start of block + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ -> ReadBlockLines + ^. -> Error + +ReadBlockLines + # Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\s+match\s+address\s\S+\s*$$ -> Continue.Record + # Real capture of "match address" start of new record + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+match\s+address\s+${MATCHED_ADDRESS}\s*$$ + # + # Read other lines + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+pfs\s+${PFS}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+peer\s+${PEER}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+${IKE}\s+transform-set\s+${TRANSFORM}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+security-association\s+lifetime\s+seconds\s+${SA}\s*$$ + #Future# ^crypto\s+map\s+${MAP}\s+interface\s${INTERFACE}\s* + # + # Ignore rest + ^crypto\s+map\s+\S+\s+interface\s+\S+\s*$$ + ^crypto\s+map\s+\S+\s+\d+\sipsec-isakmp\s+dynamic\s+SYSTEM_DEFAULT_CRYPTO_MAP\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index e27e54fb79..8afa8f7f9b 100644 --- a/templates/index +++ b/templates/index @@ -128,6 +128,7 @@ ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] ciena_saos_vlan_show.textfsm, .*, ciena_saos, vl[[an]] sh[[ow]] +cisco_asa_show_running-config_all_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] all cr[[ypto]] m[[ap]] cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw new file mode 100644 index 0000000000..1821ffc443 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw @@ -0,0 +1,68 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set connection-type bidirectional +crypto map WAN1_CMAP 10 set peer 1.1.1.1 +crypto map WAN1_CMAP 10 set ikev1 phase1-mode main +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 10 set ikev2 mode tunnel +no crypto map WAN1_CMAP 10 set tfc-packets +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set connection-type bidirectional +crypto map WAN1_CMAP 20 set peer 2.2.2.2 +crypto map WAN1_CMAP 20 set ikev1 phase1-mode main +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 set ikev2 mode tunnel +no crypto map WAN1_CMAP 20 set tfc-packets +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set connection-type bidirectional +crypto map WAN1_CMAP 30 set peer 3.3.3.3 +crypto map WAN1_CMAP 30 set ikev1 phase1-mode main +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 set ikev2 mode tunnel +no crypto map WAN1_CMAP 30 set tfc-packets +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set connection-type bidirectional +crypto map WAN1_CMAP 40 set peer 4.4.4.4 +crypto map WAN1_CMAP 40 set ikev1 phase1-mode main +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 set ikev2 mode tunnel +no crypto map WAN1_CMAP 40 set tfc-packets +crypto map WAN1_CMAP 100 match address CMAP_FR_TEST_VPN +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set connection-type bidirectional +crypto map WAN1_CMAP 100 set peer 185.108.69.37 +crypto map WAN1_CMAP 100 set ikev1 phase1-mode main +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set ikev2 mode tunnel +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 +no crypto map WAN1_CMAP 100 set tfc-packets +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set connection-type bidirectional +crypto map S2S_CMAP 10 set peer 10.0.10.1 +crypto map S2S_CMAP 10 set ikev1 phase1-mode main +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 10 set ikev2 mode tunnel +no crypto map S2S_CMAP 10 set tfc-packets +crypto map S2S_CMAP 20 match address CMAP_RU12 +crypto map S2S_CMAP 20 set connection-type bidirectional +crypto map S2S_CMAP 20 set peer 10.0.20.1 +crypto map S2S_CMAP 20 set ikev1 phase1-mode main +crypto map S2S_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 20 set ikev2 mode tunnel +no crypto map S2S_CMAP 20 set tfc-packets +crypto map S2S_CMAP 30 match address CMAP_RU11 +crypto map S2S_CMAP 30 set connection-type bidirectional +crypto map S2S_CMAP 30 set peer 10.0.30.1 +crypto map S2S_CMAP 30 set ikev1 phase1-mode main +crypto map S2S_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 30 set ikev2 mode tunnel +no crypto map S2S_CMAP 30 set tfc-packets +crypto map S2S_CMAP 40 match address CMAP_RU16 +crypto map S2S_CMAP 40 set connection-type bidirectional +crypto map S2S_CMAP 40 set peer 10.0.40.1 +crypto map S2S_CMAP 40 set ikev1 phase1-mode main +crypto map S2S_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 40 set ikev2 mode tunnel +no crypto map S2S_CMAP 40 set tfc-packets +crypto map S2S_CMAP interface S2SVPN \ No newline at end of file diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml new file mode 100644 index 0000000000..70f32d90ee --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml @@ -0,0 +1,119 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "2.2.2.2" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "3.3.3.3" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "4.4.4.4" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_FR_TEST_VPN" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "185.108.69.37" + ikev1_phase1_mode: "main" + ikev1_transform_set: "DES-MD5" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "3600" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "10.0.10.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "20" + pfs: "" + peer: "10.0.20.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "30" + pfs: "" + peer: "10.0.30.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "40" + pfs: "" + peer: "10.0.40.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml index 07e61b129c..e0a8358d8d 100644 --- a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml @@ -1,16 +1,16 @@ --- parsed_sample: - - map: "Standard-1" + - matched_address: "peer1" + map: "Standard-1" seq: "20" - matched_address: "peer1" pfs: "group5" peer: "Peer-1" ike: "ikev1" transform: "Standard-Transform" sa: "28800" - - map: "Standard-1" + - matched_address: "peer2" + map: "Standard-1" seq: "25" - matched_address: "peer2" pfs: "group2" peer: "Peer-2" ike: "ikev1" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw new file mode 100644 index 0000000000..dd91959e3e --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw @@ -0,0 +1,22 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set peer 1.1.1.1 +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set peer 1.1.1.2 +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set peer 1.1.1.3 +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set peer 1.1.1.4 +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 100 match address CMAP_FR1 +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set peer 1.1.1.8 +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set peer 1.1.1.5 +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml new file mode 100644 index 0000000000..c573a7cad0 --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.1" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU11" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "1.1.1.2" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU12" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "1.1.1.3" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU17" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "1.1.1.4" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_FR1" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "1.1.1.8" + ike: "ikev1" + transform: "DES-MD5" + sa: "3600" + - matched_address: "CMAP_RU17" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.5" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" From 91ec1099659b46812bd24b701cf4a57ab023834c Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 9 Mar 2021 15:28:21 -0700 Subject: [PATCH 163/412] New template: alcatel_sros_show_router_mpls_interface.textfsm (#877) --- ...el_sros_show_router_mpls_interface.textfsm | 28 +++++++++++++++++++ templates/index | 1 + ...lcatel_sros_show_router_mpls_interface.raw | 23 +++++++++++++++ ...lcatel_sros_show_router_mpls_interface.yml | 26 +++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 templates/alcatel_sros_show_router_mpls_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw create mode 100644 tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml diff --git a/templates/alcatel_sros_show_router_mpls_interface.textfsm b/templates/alcatel_sros_show_router_mpls_interface.textfsm new file mode 100644 index 0000000000..b2f48185b1 --- /dev/null +++ b/templates/alcatel_sros_show_router_mpls_interface.textfsm @@ -0,0 +1,28 @@ +Value Required INTERFACE (\S+) +Value Required PORT (\S+) +Value Required ADMIN_STATUS (Up|Down) +Value Required OPER_STATUS_V4 (Up|Down) +Value Required OPER_STATUS_V6 (Up|Down) +Value Required TE_METRIC (\d+|None) + + +Start + ^=+ + ^MPLS Interfaces + ^Interface\s+Port-id\s+Adm\s+Opr\(V4\/V6\)\s+TE- -> Interface + ^\s+metric + ^-+ + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s+${PORT}\s+${ADMIN_STATUS}\s+${OPER_STATUS_V4}\S${OPER_STATUS_V6}\s+${TE_METRIC} -> Record + ^\s+Admin\s+Groups + ^\s+\S+ + ^\s+SRLG\s+Groups + ^Interfaces + ^=+ + ^\s+metric + ^-+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 8afa8f7f9b..e3ad34a50e 100644 --- a/templates/index +++ b/templates/index @@ -17,6 +17,7 @@ alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] router bgp sum[[mary]] family alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] +alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw new file mode 100644 index 0000000000..e055615d6e --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw @@ -0,0 +1,23 @@ +=============================================================================== +MPLS Interfaces +=============================================================================== +Interface Port-id Adm Opr(V4/V6) TE- + metric +------------------------------------------------------------------------------- +system system Up Up/Down None + Admin Groups None + SRLG Groups None +TO_IOSXR 1/1/c4/1 Up Up/Down 98999 + Admin Groups RED + GREEN + SRLG Groups None +TO_R1 1/1/c1/1 Up Up/Down 65660 + Admin Groups None + SRLG Groups None +TO_R4 1/1/c2/1 Up Up/Down None + Admin Groups None + SRLG Groups PURPLE + WHITE +------------------------------------------------------------------------------- +Interfaces : 4 +=============================================================================== \ No newline at end of file diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml new file mode 100644 index 0000000000..3d183dcea1 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - admin_status: "Up" + interface: "system" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "system" + te_metric: "None" + - admin_status: "Up" + interface: "TO_IOSXR" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c4/1" + te_metric: "98999" + - admin_status: "Up" + interface: "TO_R1" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c1/1" + te_metric: "65660" + - admin_status: "Up" + interface: "TO_R4" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c2/1" + te_metric: "None" From dcd891eee5726a13efa8c9f85f24429b7ec07364 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 9 Mar 2021 16:37:42 -0700 Subject: [PATCH 164/412] Bugfix: Media type update for cisco_ios_show_interfaces (#879) --- development_scripts.py | 0 templates/cisco_ios_show_interfaces.textfsm | 2 +- .../cisco_ios_show_interfaces2.yml | 24 +- .../cisco_ios_show_interfaces4.raw | 442 ++++++++++++++++++ .../cisco_ios_show_interfaces4.yml | 434 +++++++++++++++++ 5 files changed, 889 insertions(+), 13 deletions(-) mode change 100644 => 100755 development_scripts.py create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml diff --git a/development_scripts.py b/development_scripts.py old mode 100644 new mode 100755 diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index 3e0bedaf00..6928f60802 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -9,7 +9,7 @@ Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?) Value SPEED (.*?) -Value MEDIA_TYPE (\S+) +Value MEDIA_TYPE (\S+(\s+\S+)?) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 7c04499f4e..84a163cb98 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -1413,9 +1413,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1440,9 +1440,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1467,9 +1467,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1494,9 +1494,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw new file mode 100644 index 0000000000..4bc7517743 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw @@ -0,0 +1,442 @@ +FastEthernet1 is down, line protocol is down + Hardware is RP management port, address is 6c41.6aba.b47f (bia 6c41.6aba.b47f) + MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Half-duplex, 10Mb/s, 100BaseTX/FX + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/1 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b440 (bia 6c41.6aba.b440) + Description: vss + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 4 + Queueing strategy: Class-based queueing + Output queue: 0/40 (size/max) + 5 minute input rate 1180000 bits/sec, 131 packets/sec + 5 minute output rate 38000 bits/sec, 33 packets/sec + 4035758153 packets input, 2783400652228 bytes, 0 no buffer + Received 160702941 broadcasts (60693400 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 956714742 packets output, 377708181830 bytes, 0 underruns + 0 output errors, 0 collisions, 4 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/2 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b441 (bia 6c41.6aba.b441) + Description: fast hello + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:21, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 6000 bits/sec, 10 packets/sec + 5 minute output rate 6000 bits/sec, 10 packets/sec + 237748374 packets input, 16820309764 bytes, 0 no buffer + Received 383456 broadcasts (383456 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 237747059 packets output, 16820212146 bytes, 0 underruns + 0 output errors, 0 collisions, 5 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/3 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b442 (bia 6c41.6aba.b442) + Description: vss + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 3 + Queueing strategy: Class-based queueing + Output queue: 0/40 (size/max) + 5 minute input rate 196000 bits/sec, 50 packets/sec + 5 minute output rate 11000 bits/sec, 16 packets/sec + 9594383489 packets input, 7302479029074 bytes, 0 no buffer + Received 66218427 broadcasts (60570610 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 814075627 packets output, 479172141396 bytes, 0 underruns + 0 output errors, 0 collisions, 4 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/4 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b443 (bia 6c41.6aba.b443) + Description: wan + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:00, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1842857 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 419000 bits/sec, 173 packets/sec + 5 minute output rate 1582000 bits/sec, 261 packets/sec + 21777507643 packets input, 11789825980301 bytes, 0 no buffer + Received 23753204 broadcasts (23750450 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 37553221421 packets output, 35764893203339 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/5 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b444 (bia 6c41.6aba.b444) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/6 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b445 (bia 6c41.6aba.b445) + Description: wireless + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:07, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 32416 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 1261000 bits/sec, 243 packets/sec + 5 minute output rate 1582000 bits/sec, 200 packets/sec + 9295308398 packets input, 6075966632228 bytes, 0 no buffer + Received 23393246 broadcasts (20908873 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 8107505603 packets output, 6210024688013 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/7 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b446 (bia 6c41.6aba.b446) + Description: wireless + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:17, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 169728331 packets input, 129190060864 bytes, 0 no buffer + Received 13015669 broadcasts (10933489 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 242553619 packets output, 112374124403 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/8 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b447 (bia 6c41.6aba.b447) + Description: nas + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:08, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 15804107 packets input, 9120651162 bytes, 0 no buffer + Received 345932 broadcasts (345113 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 13861965 packets output, 1342553433 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/9 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b448 (bia 6c41.6aba.b448) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/10 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b449 (bia 6c41.6aba.b449) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/11 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44a (bia 6c41.6aba.b44a) + Description: shop access + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 5M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:03, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 289000 bits/sec, 170 packets/sec + 5 minute output rate 7166000 bits/sec, 714 packets/sec + 33070723737 packets input, 27913140863803 bytes, 0 no buffer + Received 102530192 broadcasts (91747041 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 36245627794 packets output, 35298352607317 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/12 is down, line protocol is down (notconnect) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44b (bia 6c41.6aba.b44b) + Description: shop floor + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is 1000BaseSX + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/13 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44c (bia 6c41.6aba.b44c) + Description: shop access + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is 10GBase-SR + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:03, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 11 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 128000 bits/sec, 48 packets/sec + 5 minute output rate 897000 bits/sec, 126 packets/sec + 2706943013 packets input, 593239780527 bytes, 0 no buffer + Received 10407156 broadcasts (9275413 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 5030894569 packets output, 4585304759149 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/14 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44d (bia 6c41.6aba.b44d) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/15 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44e (bia 6c41.6aba.b44e) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out \ No newline at end of file diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml new file mode 100644 index 0000000000..6ed9e6970e --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - interface: "FastEthernet1" + link_status: "down" + protocol_status: "down" + hardware_type: "RP management port" + address: "6c41.6aba.b47f" + bia: "6c41.6aba.b47f" + description: "" + ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b440" + bia: "6c41.6aba.b440" + description: "vss" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "Class-based queueing" + input_rate: "1180000" + output_rate: "38000" + input_packets: "4035758153" + output_packets: "956714742" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/2" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b441" + bia: "6c41.6aba.b441" + description: "fast hello" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:21" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "6000" + output_rate: "6000" + input_packets: "237748374" + output_packets: "237747059" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/3" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b442" + bia: "6c41.6aba.b442" + description: "vss" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "Class-based queueing" + input_rate: "196000" + output_rate: "11000" + input_packets: "9594383489" + output_packets: "814075627" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/4" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b443" + bia: "6c41.6aba.b443" + description: "wan" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:00" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "419000" + output_rate: "1582000" + input_packets: "21777507643" + output_packets: "37553221421" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/5" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b444" + bia: "6c41.6aba.b444" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "1000BaseT" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/6" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b445" + bia: "6c41.6aba.b445" + description: "wireless" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:07" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "1261000" + output_rate: "1582000" + input_packets: "9295308398" + output_packets: "8107505603" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/7" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b446" + bia: "6c41.6aba.b446" + description: "wireless" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:17" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "169728331" + output_packets: "242553619" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/8" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b447" + bia: "6c41.6aba.b447" + description: "nas" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:08" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "15804107" + output_packets: "13861965" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/9" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b448" + bia: "6c41.6aba.b448" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/10" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b449" + bia: "6c41.6aba.b449" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/11" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44a" + bia: "6c41.6aba.b44a" + description: "shop access" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 5M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:03" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "289000" + output_rate: "7166000" + input_packets: "33070723737" + output_packets: "36245627794" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/12" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44b" + bia: "6c41.6aba.b44b" + description: "shop floor" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "1000BaseSX" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/13" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44c" + bia: "6c41.6aba.b44c" + description: "shop access" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "10GBase-SR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:03" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "128000" + output_rate: "897000" + input_packets: "2706943013" + output_packets: "5030894569" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/14" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44d" + bia: "6c41.6aba.b44d" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/15" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44e" + bia: "6c41.6aba.b44e" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" From 322464368aa246fcf730f0154852fb0c16d1b197 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 9 Mar 2021 16:38:31 -0700 Subject: [PATCH 165/412] New template: cisco_ios_show_alert_counters.textfsm (#881) --- .../cisco_ios_show_alert_counters.textfsm | 17 ++++++ templates/index | 1 + .../cisco_ios_show_alert_counters.raw | 55 +++++++++++++++++++ .../cisco_ios_show_alert_counters.yml | 43 +++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 templates/cisco_ios_show_alert_counters.textfsm create mode 100644 tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw create mode 100644 tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml diff --git a/templates/cisco_ios_show_alert_counters.textfsm b/templates/cisco_ios_show_alert_counters.textfsm new file mode 100644 index 0000000000..f4e65657e1 --- /dev/null +++ b/templates/cisco_ios_show_alert_counters.textfsm @@ -0,0 +1,17 @@ +Value Filldown interface (.+) +Value errorcode (.+) +Value timestamp (.+) +Value description (.+) +Value recommendation (.+) + +Start + ^Interface:\s+${interface} -> Clear + ^Error Code:\s+${errorcode} + ^Timestamp:\s+${timestamp} + ^Description:\s+${description} + ^Recommendation:\s+${recommendation} -> Record + ^Global\s+Errors + ^\s*$$ + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index e3ad34a50e..acfbb5fb2c 100644 --- a/templates/index +++ b/templates/index @@ -198,6 +198,7 @@ cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-list cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_access-session.textfsm, .*, cisco_ios, show access-s[[ession]] +cisco_ios_show_alert_counters.textfsm, .*, cisco_ios, sh[[ow]] alert [[counters]] cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] diff --git a/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw new file mode 100644 index 0000000000..3f81a38f0f --- /dev/null +++ b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw @@ -0,0 +1,55 @@ +Interface: Fa1/1 +Error Code: ALERT-5-STP_BLOCK +Timestamp: 2020 04 28 19 12 03 +Description: This port is blocked by Spanning Tree Protocol (STP). +Recommendation: Make sure that no Spanning Tree Protocol loops exist in the network. + + +Interface: Fa1/2 +Error Code: ALERT-5-STP_BLOCK +Timestamp: 2020 08 10 11 34 47 +Description: This port is blocked by Spanning Tree Protocol (STP). +Recommendation: Make sure that no Spanning Tree Protocol loops exist in the network. + + +Error Code: ALERT-5-COLLISION_ERR +Timestamp: 2020 08 27 13 50 25 +Description: Detected lower performance on this link, possibly because of half duplex configuration or duplex mismatch. +Recommendation: Change the duplex setting of both the ports on this link to "auto" or "full-duplex". + + +Interface: Fa1/3 +Error Code: ALERT-4-PORT_PSECURE_VIOLATION +Timestamp: 2020 08 27 13 53 22 +Description: Access denied to one or more connecting devices on this port. +Recommendation: Maximum allowed devices on this port are already connected, or an unauthorized device attempted to connect on this secure port. Disconnect the device. + + +Error Code: ALERT-5-ALIGN_FCS_ERR +Timestamp: 2020 08 27 13 48 25 +Description: Detected a faulty cable, or bad hardware on connected device, or the connected device is generating frames with bad Frame Check Sequence (FCS). +Recommendation: Change the duplex setting of both the ports on this link to "full-duplex" or change the duplex setting of this port to "auto". Check if the cable is faulty and replace it if needed. The hardware on the connected device might be bad, disconnect the connected device. + + +Error Code: ALERT-5-RX_TX_ERR +Timestamp: 2020 08 27 13 48 25 +Description: Detected a possible over-utilization of the switch link or bad frames generated by the connected device. +Recommendation: Change the port settings of this port to "auto". It might help to create an Ether Channel by grouping this port with other under-utilized or unused ports. Disconnect the connected device. + + +Interface: Fa1/4 + +Interface: Fa1/5 + +Interface: Fa1/6 + +Interface: Fa1/7 + +Interface: Fa1/8 + +Interface: Gi1/1 + +Interface: Gi1/2 + +Global Errors : + diff --git a/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml new file mode 100644 index 0000000000..811cc2d2fb --- /dev/null +++ b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml @@ -0,0 +1,43 @@ +--- +parsed_sample: + - interface: "Fa1/1" + errorcode: "ALERT-5-STP_BLOCK" + timestamp: "2020 04 28 19 12 03" + description: "This port is blocked by Spanning Tree Protocol (STP)." + recommendation: "Make sure that no Spanning Tree Protocol loops exist in the network." + - interface: "Fa1/2" + errorcode: "ALERT-5-STP_BLOCK" + timestamp: "2020 08 10 11 34 47" + description: "This port is blocked by Spanning Tree Protocol (STP)." + recommendation: "Make sure that no Spanning Tree Protocol loops exist in the network." + - interface: "Fa1/2" + errorcode: "ALERT-5-COLLISION_ERR" + timestamp: "2020 08 27 13 50 25" + description: "Detected lower performance on this link, possibly because of half\ + \ duplex configuration or duplex mismatch." + recommendation: "Change the duplex setting of both the ports on this link to \"\ + auto\" or \"full-duplex\"." + - interface: "Fa1/3" + errorcode: "ALERT-4-PORT_PSECURE_VIOLATION" + timestamp: "2020 08 27 13 53 22" + description: "Access denied to one or more connecting devices on this port." + recommendation: "Maximum allowed devices on this port are already connected, or\ + \ an unauthorized device attempted to connect on this secure port. Disconnect\ + \ the device." + - interface: "Fa1/3" + errorcode: "ALERT-5-ALIGN_FCS_ERR" + timestamp: "2020 08 27 13 48 25" + description: "Detected a faulty cable, or bad hardware on connected device, or\ + \ the connected device is generating frames with bad Frame Check Sequence (FCS)." + recommendation: "Change the duplex setting of both the ports on this link to \"\ + full-duplex\" or change the duplex setting of this port to \"auto\". Check if\ + \ the cable is faulty and replace it if needed. The hardware on the connected\ + \ device might be bad, disconnect the connected device." + - interface: "Fa1/3" + errorcode: "ALERT-5-RX_TX_ERR" + timestamp: "2020 08 27 13 48 25" + description: "Detected a possible over-utilization of the switch link or bad frames\ + \ generated by the connected device." + recommendation: "Change the port settings of this port to \"auto\". It might help\ + \ to create an Ether Channel by grouping this port with other under-utilized\ + \ or unused ports. Disconnect the connected device." From 1c2f922e5d83f66170f1ec1036e6cfc6d9e617ee Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 12:40:33 +1300 Subject: [PATCH 166/412] fix#733-CiscoASA-show_vpn-sessiondb_SW_update (#845) --- .../cisco_asa_show_vpn-sessiondb.textfsm | 63 +++++++--------- .../cisco_asa_show_vpn-sessiondb.yml | 71 ++++++++++++------- .../cisco_asa_show_vpn-sessiondb2.raw | 26 +++++++ .../cisco_asa_show_vpn-sessiondb2.yml | 48 +++++++++++++ 4 files changed, 146 insertions(+), 62 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/templates/cisco_asa_show_vpn-sessiondb.textfsm index eae4ed2a61..7fde130dda 100644 --- a/templates/cisco_asa_show_vpn-sessiondb.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb.textfsm @@ -1,53 +1,44 @@ -Value ANYCONNECT_CLIENT_ACTIVE (\d+) -Value ANYCONNECT_CLIENT_CUMULATIVE (\d+) -Value ANYCONNECT_CLIENT_PEAK_CONCURRENT (\d+) -Value ANYCONNECT_CLIENT_INACTIVE (\d+) -Value SSL_TLS_DTLS_ACTIVE (\d+) -Value SSL_TLS_DTLS_CUMULATIVE (\d+) -Value SSL_TLS_DTLS_PEAK_CONCURRENT (\d+) -Value SSL_TLS_DTLS_PEAK_INACTIVE (\d+) -Value CLIENTLESS_VPN_ACTIVE (\d+) -Value CLIENTLESS_VPN_CUMULATIVE (\d+) -Value CLIENTLESS_VPN_PEAK_CONCURRENT (\d+) -Value VPN_BROWSWER_ACTIVE (\d+) -Value VPN_BROWSWER_CUMULATIVE (\d+) -Value VPN_BROWSWER_PEAK_CONCURRENT (\d+) +Value List VPN_SESSION_NAME (\S+?\s?\S+) +Value List VPN_SESSION_ACTIVE (\d+) +Value List VPN_SESSION_CUMULATIVE (\d+) +Value List VPN_SESSION_PEAK_CONCURRENT (\d+) +Value List VPN_SESSION_INACTIVE (\d+) +# Value TOTAL_ACTIVE_AND_INACTIVE (\d+) Value TOTAL_CUMULATIVE (\d+) Value DEVICE_TOTAL_VPN_CAPACITY (\d+) Value DEVICE_LOAD_PERCENT (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_ACTIVE (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT (\d+) +# +Value List TUNNELS_SUMMARY_NAME (\S+?\s?\S+) +Value List TUNNELS_SUMMARY_ACTIVE (\d+) +Value List TUNNELS_SUMMARY_CUMULATIVE (\d+) +Value List TUNNELS_SUMMARY_PEAK_CONCURRENT (\d+) +# Value TOTALS_ACTIVE (\d+) Value TOTALS_CUMULATIVE (\d+) Start + ^.+#\s+show\s+vpn-sessiondb\s*$$ + ^\s*\-+\s*$$ + ^\s*VPN\s+Session\s+Summary\s*$$ -> VPN_Session_Summary + +VPN_Session_Summary ^\s*\-+\s*$$ - ^\s*VPN\s+Session\s+Summary\s*$$ ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concur\s+:\s+Inactive\s*$$ - ^\s*AnyConnect\s+Client\s+:\s+${ANYCONNECT_CLIENT_ACTIVE}\s+:\s+${ANYCONNECT_CLIENT_CUMULATIVE}\s+:\s+${ANYCONNECT_CLIENT_PEAK_CONCURRENT}\s+:\s+${ANYCONNECT_CLIENT_INACTIVE}\s*$$ - ^\s*SSL/TLS/DTLS\s+:\s+${SSL_TLS_DTLS_ACTIVE}\s+:\s+${SSL_TLS_DTLS_CUMULATIVE}\s+:\s+${SSL_TLS_DTLS_PEAK_CONCURRENT}\s+:\s+${SSL_TLS_DTLS_PEAK_INACTIVE}\s*$$ - ^\s*Clientless\s+VPN\s+:\s+${CLIENTLESS_VPN_ACTIVE}\s+:\s+${CLIENTLESS_VPN_CUMULATIVE}\s+:\s+${CLIENTLESS_VPN_PEAK_CONCURRENT}\s*$$ - ^\s*Browser\s+:\s+${VPN_BROWSWER_ACTIVE}\s+:\s+${VPN_BROWSWER_CUMULATIVE}\s+:\s+${VPN_BROWSWER_PEAK_CONCURRENT}\s*$$ + ^\s*${VPN_SESSION_NAME}\s+:\s+${VPN_SESSION_ACTIVE}\s+:\s+${VPN_SESSION_CUMULATIVE}\s+:\s+${VPN_SESSION_PEAK_CONCURRENT}\s*(:\s+${VPN_SESSION_INACTIVE}\s*)?$$ ^\s*Total\s+Active\s+and\s+Inactive\s+:\s+${TOTAL_ACTIVE_AND_INACTIVE}\s+Total\s+Cumulative\s+:\s+${TOTAL_CUMULATIVE}\s*$$ ^\s*Device\s+Total\s+VPN\s+Capacity\s+:\s+${DEVICE_TOTAL_VPN_CAPACITY} ^\s*Device\s+Load\s+:\s+${DEVICE_LOAD_PERCENT}%\s*$$ - ^\s*Tunnels\s+Summary\s* + # + ^\s*Tunnels\s+Summary\s* -> Tunnels_Summary + # + ^\s*$$ + ^. -> Error + +Tunnels_Summary + ^\s*\-+\s*$$ ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concurrent\s*$$ - ^\s*Clientless\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT} - ^\s*AnyConnect\-Parent\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC}\s*$$ - ^\s*SSL\-Tunnel\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT}\s*$$ - ^\s*DTLS\-Tunnel\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*${TUNNELS_SUMMARY_NAME}\s+:\s+${TUNNELS_SUMMARY_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_PEAK_CONCURRENT}\s*$$ ^\s*Totals\s+:\s+${TOTALS_ACTIVE}\s+:\s+${TOTALS_CUMULATIVE}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml index aad928457a..25b4183e42 100644 --- a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml @@ -1,34 +1,53 @@ --- parsed_sample: - - anyconnect_client_active: "38" - anyconnect_client_cumulative: "330351" - anyconnect_client_inactive: "0" - anyconnect_client_peak_concurrent: "442" - ssl_tls_dtls_active: "38" - ssl_tls_dtls_cumulative: "330351" - ssl_tls_dtls_peak_concurrent: "442" - ssl_tls_dtls_peak_inactive: "0" - clientless_vpn_active: "0" - clientless_vpn_cumulative: "1040" - clientless_vpn_peak_concurrent: "9" - vpn_browswer_active: "0" - vpn_browswer_cumulative: "1040" - vpn_browswer_peak_concurrent: "9" + - vpn_session_name: + - "AnyConnect Client" + - "SSL/TLS/DTLS" + - "Clientless VPN" + - "Browser" + vpn_session_active: + - "38" + - "38" + - "0" + - "0" + vpn_session_cumulative: + - "330351" + - "330351" + - "1040" + - "1040" + vpn_session_peak_concurrent: + - "442" + - "442" + - "9" + - "9" + vpn_session_inactive: + - "0" + - "0" + - "None" + - "None" total_active_and_inactive: "38" total_cumulative: "331391" device_total_vpn_capacity: "5000" device_load_percent: "1" - tunnels_summary_clientless_active: "0" - tunnels_summary_clientless_cumulative: "1040" - tunnels_summary_clientless_peak_concurrent: "9" - tunnels_summary_anyconnect_parent_active: "38" - tunnels_summary_anyconnect_parent_cumulative: "330351" - tunnels_summary_anyconnect_parent_peak_conc: "442" - tunnels_summary_ssltunnel_active: "38" - tunnels_summary_ssltunnel_cumulative: "985244" - tunnels_summary_ssltunnel_peak_concurrent: "392" - tunnels_summary_dtlstunnel_active: "37" - tunnels_summary_dtlstunnel_cumulative: "2227003" - tunnels_summary_dtlstunnel_peak_concurrent: "386" + tunnels_summary_name: + - "Clientless" + - "AnyConnect-Parent" + - "SSL-Tunnel" + - "DTLS-Tunnel" + tunnels_summary_active: + - "0" + - "38" + - "38" + - "37" + tunnels_summary_cumulative: + - "1040" + - "330351" + - "985244" + - "2227003" + tunnels_summary_peak_concurrent: + - "9" + - "442" + - "392" + - "386" totals_active: "113" totals_cumulative: "3543638" diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw new file mode 100644 index 0000000000..fc55487810 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw @@ -0,0 +1,26 @@ +hostname1/pri/act# show vpn-sessiondb +--------------------------------------------------------------------------- +VPN Session Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concur : Inactive + ---------------------------------------------- +Site-to-Site VPN : 99 : 3506999 : 99 + IKEv2 IPsec : 9 : 3999 : 9 + IKEv1 IPsec : 99 : 3502999 : 99 +--------------------------------------------------------------------------- +Total Active and Inactive : 99 Total Cumulative : 3506999 +Device Total VPN Capacity : 750 +Device Load : 2% +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +Tunnels Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concurrent + ---------------------------------------------- +IKEv1 : 99 : 3502999 : 99 +IKEv2 : 9 : 3999 : 9 +IPsec : 99 : 9302 : 99 +IPsecOverNatT : 9 : 1999 : 9 +--------------------------------------------------------------------------- +Totals : 99 : 351999 +--------------------------------------------------------------------------- diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml new file mode 100644 index 0000000000..63f0cfa743 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml @@ -0,0 +1,48 @@ +--- +parsed_sample: + - vpn_session_name: + - "Site-to-Site VPN" + - "IKEv2 IPsec" + - "IKEv1 IPsec" + vpn_session_active: + - "99" + - "9" + - "99" + vpn_session_cumulative: + - "3506999" + - "3999" + - "3502999" + vpn_session_peak_concurrent: + - "99" + - "9" + - "99" + vpn_session_inactive: + - "None" + - "None" + - "None" + total_active_and_inactive: "99" + total_cumulative: "3506999" + device_total_vpn_capacity: "750" + device_load_percent: "2" + tunnels_summary_name: + - "IKEv1" + - "IKEv2" + - "IPsec" + - "IPsecOverNatT" + tunnels_summary_active: + - "99" + - "9" + - "99" + - "9" + tunnels_summary_cumulative: + - "3502999" + - "3999" + - "9302" + - "1999" + tunnels_summary_peak_concurrent: + - "99" + - "9" + - "99" + - "9" + totals_active: "99" + totals_cumulative: "351999" From 452b41f89c0d213fee894e953eb1e52e02cb9320 Mon Sep 17 00:00:00 2001 From: Pieter Date: Fri, 12 Mar 2021 11:40:35 +1300 Subject: [PATCH 167/412] 784-cisco_asa_show_running-config_all_crypto_map.textfsm (#883) --- ...show_running-config_all_crypto_map.textfsm | 31 +++- ...asa_show_running-config_all_crypto_map.yml | 55 ++++-- ...sa_show_running-config_all_crypto_map2.raw | 76 ++++++++ ...sa_show_running-config_all_crypto_map2.yml | 167 ++++++++++++++++++ 4 files changed, 314 insertions(+), 15 deletions(-) create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm index 744a24cef9..28d1d32501 100644 --- a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm +++ b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm @@ -3,25 +3,48 @@ Value CONNECTION_TYPE (\S+) Value Required MAP (\S+) Value Required SEQ (\d+) Value PFS (group\d|\s*) -Value Required PEER (\S+) +Value PEER (\S+) Value IKEv1_PHASE1_MODE (\S+) Value IKEv1_TRANSFORM_SET (\S+(\s\S+)*?) Value IKEv2_MODE (\S+) Value ISAKMP_DYNAMIC (\S+) Value Fillup INTERFACE (\S+) Value TRANSFORM (\S+) -Value SA (\d+) +Value SA_SEC (\d+) +Value SA_KB (\d+) +Value TFC_PACKETS (\S\S) Start + # Value's address , start of block + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ -> ReadBlockLines + ^. -> Error + +ReadBlockLines + #1 Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\s+match\s+address\s\S+\s*$$ -> Continue.Record + #1 Real capture of "match address" start of new record ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ + # ^crypto\smap\s${MAP}\s${SEQ}\sset\sconnection-type\s${CONNECTION_TYPE}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\spfs\s${PFS}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\speer\s${PEER}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\sphase1-mode\s${IKEv1_PHASE1_MODE}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\stransform-set\s${IKEv1_TRANSFORM_SET}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev2\smode\s${IKEv2_MODE}\s*$$ + # SA Second/Byte alone or in different combinations + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA_SEC}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\skilobytes\s${SA_KB}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\skilobytes\s${SA_KB}\sseconds\s${SA_SEC}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA_SEC}\skilobytes\s${SA_KB}\s*$$ + #2 Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ -> Continue.Record + #2 Real capture of "match address" start of new record ^crypto\smap\s${MAP}\s${SEQ}\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ - ^no\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + # + #3 no crypto map only at end of each block, if unset (add -> Record for safety) + ^${TFC_PACKETS}\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + #4 Interface only after multiple blocks, FillUp ^crypto\smap\s${MAP}\sinterface\s${INTERFACE}\s*$$ - ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s*$$ + # + ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml index 70f32d90ee..1a15f51c6d 100644 --- a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml @@ -12,7 +12,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU11" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -25,7 +27,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU12" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -38,7 +42,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU17" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -51,7 +57,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_FR_TEST_VPN" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -64,7 +72,24 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "3600" + sa_sec: "3600" + sa_kb: "" + tfc_packets: "no" + - matched_address: "" + connection_type: "" + map: "WAN1_CMAP" + seq: "65535" + pfs: "" + peer: "" + ikev1_phase1_mode: "" + ikev1_transform_set: "" + ikev2_mode: "" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" - matched_address: "CMAP_RU17" connection_type: "bidirectional" map: "S2S_CMAP" @@ -74,10 +99,12 @@ parsed_sample: ikev1_phase1_mode: "main" ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" ikev2_mode: "tunnel" - isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" - interface: "WAN1" + isakmp_dynamic: "" + interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU12" connection_type: "bidirectional" map: "S2S_CMAP" @@ -90,7 +117,9 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU11" connection_type: "bidirectional" map: "S2S_CMAP" @@ -103,7 +132,9 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU16" connection_type: "bidirectional" map: "S2S_CMAP" @@ -116,4 +147,6 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw new file mode 100644 index 0000000000..2b08b4bba4 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw @@ -0,0 +1,76 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set connection-type bidirectional +crypto map WAN1_CMAP 10 set peer 192.0.2.1 +crypto map WAN1_CMAP 10 set ikev1 phase1-mode main +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 10 set ikev2 mode tunnel +no crypto map WAN1_CMAP 10 set tfc-packets +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set connection-type bidirectional +crypto map WAN1_CMAP 20 set peer 192.0.2.2 +crypto map WAN1_CMAP 20 set ikev1 phase1-mode main +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 set ikev2 mode tunnel +crypto map WAN1_CMAP 20 set security-association lifetime seconds 3600 +no crypto map WAN1_CMAP 20 set tfc-packets +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set connection-type bidirectional +crypto map WAN1_CMAP 30 set peer 192.0.2.3 +crypto map WAN1_CMAP 30 set ikev1 phase1-mode main +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 set ikev2 mode tunnel +crypto map WAN1_CMAP 30 set security-association lifetime kilobytes 100000 +no crypto map WAN1_CMAP 30 set tfc-packets +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set connection-type bidirectional +crypto map WAN1_CMAP 40 set peer 192.0.2.4 +crypto map WAN1_CMAP 40 set ikev1 phase1-mode main +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 set ikev2 mode tunnel +crypto map WAN1_CMAP 40 set security-association lifetime kilobytes 100000 seconds 3600 +no crypto map WAN1_CMAP 40 set tfc-packets +crypto map WAN1_CMAP 100 match address CMAP_FR_TEST_VPN +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set connection-type bidirectional +crypto map WAN1_CMAP 100 set peer 192.0.2.5 +crypto map WAN1_CMAP 100 set ikev1 phase1-mode main +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set ikev2 mode tunnel +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 kilobytes 100000 +no crypto map WAN1_CMAP 100 set tfc-packets +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set connection-type bidirectional +crypto map S2S_CMAP 10 set peer 172.21.251.10 +crypto map S2S_CMAP 10 set ikev1 phase1-mode main +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 10 set ikev2 mode tunnel +no crypto map S2S_CMAP 10 set tfc-packets +crypto map S2S_CMAP 20 match address CMAP_RU12 +crypto map S2S_CMAP 20 set connection-type bidirectional +crypto map S2S_CMAP 20 set peer 172.21.251.26 +crypto map S2S_CMAP 20 set ikev1 phase1-mode main +crypto map S2S_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 20 set ikev2 mode tunnel +no crypto map S2S_CMAP 20 set tfc-packets +crypto map S2S_CMAP 30 match address CMAP_RU11 +crypto map S2S_CMAP 30 set connection-type bidirectional +crypto map S2S_CMAP 30 set peer 172.21.251.18 +crypto map S2S_CMAP 30 set ikev1 phase1-mode main +crypto map S2S_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 30 set ikev2 mode tunnel +no crypto map S2S_CMAP 30 set tfc-packets +crypto map S2S_CMAP 40 match address CMAP_RU16 +crypto map S2S_CMAP 40 set connection-type bidirectional +crypto map S2S_CMAP 40 set peer 172.21.251.34 +crypto map S2S_CMAP 40 set ikev1 phase1-mode main +crypto map S2S_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 40 set ikev2 mode tunnel +no crypto map S2S_CMAP 40 set tfc-packets +crypto map S2S_CMAP 160 match address CMAP_RU16_Access-to-Internet +crypto map S2S_CMAP 160 set connection-type bidirectional +crypto map S2S_CMAP 160 set peer 172.21.251.34 +crypto map S2S_CMAP 160 set ikev1 phase1-mode main +crypto map S2S_CMAP 160 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 160 set ikev2 mode tunnel diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml new file mode 100644 index 0000000000..467d8061d2 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml @@ -0,0 +1,167 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "192.0.2.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "192.0.2.2" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "192.0.2.3" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "192.0.2.4" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "CMAP_FR_TEST_VPN" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "192.0.2.5" + ikev1_phase1_mode: "main" + ikev1_transform_set: "DES-MD5" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "" + connection_type: "" + map: "WAN1_CMAP" + seq: "65535" + pfs: "" + peer: "" + ikev1_phase1_mode: "" + ikev1_transform_set: "" + ikev2_mode: "" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "172.21.251.10" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "20" + pfs: "" + peer: "172.21.251.26" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "30" + pfs: "" + peer: "172.21.251.18" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "40" + pfs: "" + peer: "172.21.251.34" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU16_Access-to-Internet" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "160" + pfs: "" + peer: "172.21.251.34" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" From 2b60d45632fe0ffafc8417330e21d1b8160cb732 Mon Sep 17 00:00:00 2001 From: Pavel_Komissarov Date: Fri, 12 Mar 2021 01:46:50 +0300 Subject: [PATCH 168/412] New Template - cisco_ios_show_object-group (#850) --- templates/cisco_ios_show_object-group.textfsm | 31 ++ templates/index | 1 + .../cisco_ios_show_object-group.raw | 31 ++ .../cisco_ios_show_object-group.yml | 498 ++++++++++++++++++ 4 files changed, 561 insertions(+) create mode 100644 templates/cisco_ios_show_object-group.textfsm create mode 100644 tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw create mode 100644 tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml diff --git a/templates/cisco_ios_show_object-group.textfsm b/templates/cisco_ios_show_object-group.textfsm new file mode 100644 index 0000000000..cce83b80fc --- /dev/null +++ b/templates/cisco_ios_show_object-group.textfsm @@ -0,0 +1,31 @@ +Value Required,Filldown TYPE (Service|Network) +Value Required,Filldown NAME (\S+) +Value DESCRIPTION (.+) +Value NESTED_GROUPS (\S+) +Value ANY (any) +Value HOST (\d+\.\d+\.\d+\.\d+) +Value HOST_RANGE_START (\d+\.\d+\.\d+\.\d+) +Value HOST_RANGE_END (\d+\.\d+\.\d+\.\d+) +Value NETWORK (\d+\.\d+\.\d+\.\d+) +Value NETMASK (\d+\.\d+\.\d+\.\d+) +Value PROTOCOL (\S+) +Value PORT_MATCH (eq|neq|range|lt|gt) +Value PORT ((? Continue.Clearall + ^${TYPE}\s+object\s+group\s+${NAME}\s*$$ -> Record + ^\s+Description\s+${DESCRIPTION}$$ -> Record + ^\s+group-object\s+${NESTED_GROUPS}\s*$$ -> Record + ^\s+(host\s+${HOST}|range\s+${HOST_RANGE_START}\s+${HOST_RANGE_END}|${ANY}|${NETWORK}\s+${NETMASK})\s*$$ -> Record + ^\s+icmp\s+${ICMP_TYPE}\s*$$ -> Record + ^\s+${PROTOCOL}\s+${PORT_MATCH}\s+(${PORT_RANGE_START}\s+${PORT_RANGE_END}|${PORT})\s*$$ -> Record + ^\s+${PROTOCOL}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +EOF + diff --git a/templates/index b/templates/index index acfbb5fb2c..b5da6447a8 100644 --- a/templates/index +++ b/templates/index @@ -215,6 +215,7 @@ cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cp cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] cisco_ios_show_standby_brief.textfsm, .*, cisco_ios, sh[[ow]] standby(?:\s+\S+)? br[[ief]] cisco_ios_show_ip_interface.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] +cisco_ios_show_object-group.textfsm, .*, cisco_ios, sh[[ow]] ob[[ject-group]] cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] diff --git a/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw new file mode 100644 index 0000000000..f040a55b90 --- /dev/null +++ b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw @@ -0,0 +1,31 @@ +Network object group NNNN +Service object group SSSS +Service object group TEST-SVC-OGR + Description ! Test Service Group ! + icmp echo-reply + tcp eq smtp + udp eq tacacs + udp range tacacs 50 + tcp range 79 www + tcp eq www + tcp eq 81 + udp lt 999 + udp gt 97 + tcp-udp range 12200 12700 + icmp + tcp + udp + tcp-udp range 0 65535 + group-object SSSS + ip + ipinip + 99 +Network object group TEST_NET_OGR + Description ###TEST NETWORK OGR### + any + host 1.1.1.1 + range 2.2.2.2 3.3.3.3 + group-object NNNN + 1.1.1.0 255.255.255.0 +Network object group XXXX +Network object group YYYY diff --git a/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml new file mode 100644 index 0000000000..562100bd28 --- /dev/null +++ b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml @@ -0,0 +1,498 @@ +--- +parsed_sample: + - type: "Network" + name: "NNNN" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "SSSS" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "! Test Service Group !" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "echo-reply" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "smtp" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "eq" + port: "tacacs" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "range" + port: "" + port_range_start: "tacacs" + port_range_end: "50" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "range" + port: "" + port_range_start: "79" + port_range_end: "www" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "www" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "81" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "lt" + port: "999" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "gt" + port: "97" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp-udp" + port_match: "range" + port: "" + port_range_start: "12200" + port_range_end: "12700" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "icmp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp-udp" + port_match: "range" + port: "" + port_range_start: "0" + port_range_end: "65535" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "SSSS" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "ip" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "ipinip" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "99" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "###TEST NETWORK OGR###" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "any" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "1.1.1.1" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "2.2.2.2" + host_range_end: "3.3.3.3" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "NNNN" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "1.1.1.0" + netmask: "255.255.255.0" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "XXXX" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "YYYY" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" From 7eaaaa95f7df7d9a3914d8c52a6448cab35dae07 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Thu, 11 Mar 2021 16:23:31 -0700 Subject: [PATCH 169/412] new alcatel_sros tmpl, 'show service sdp' (#886) --- .../alcatel_sros_show_service_sdp.textfsm | 27 +++++++++ templates/index | 1 + .../alcatel_sros_show_service_sdp.raw | 18 ++++++ .../alcatel_sros_show_service_sdp.yml | 56 +++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 templates/alcatel_sros_show_service_sdp.textfsm create mode 100644 tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw create mode 100644 tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml diff --git a/templates/alcatel_sros_show_service_sdp.textfsm b/templates/alcatel_sros_show_service_sdp.textfsm new file mode 100644 index 0000000000..6e9f4a14ba --- /dev/null +++ b/templates/alcatel_sros_show_service_sdp.textfsm @@ -0,0 +1,27 @@ +Value Required SDP_ID (\d+) +Value Required ADM_MTU (\d+) +Value Required OPR_MTU (\d+) +Value FAR_END (\d+.\d+.\d+.\d+) +Value Required ADM (Up|Down) +Value Required OPR (Up|Down) +Value Required DEL (\S+) +Value Required LSP (\S+) +Value Required SIG (\S+) + +Start + ^=+ + ^Services: + ^SdpId\s+AdmMTU\s+OprMTU\s+Far\s+End\s+Adm\s+Opr\s+Del\s+LSP\s+Sig\s*$$ + ^-+ -> SDP + ^\s*$$ + ^. -> Error + +SDP + ^${SDP_ID}\s+${ADM_MTU}\s+${OPR_MTU}\s+${FAR_END}\s+${ADM}\s+${OPR}\s+${DEL}\s+${LSP}\s+${SIG} -> Record + ^${SDP_ID}\s+${ADM_MTU}\s+${OPR_MTU}\s+${ADM}\s+${OPR}\s+${DEL}\s+${LSP}\s+${SIG} -> Record + ^-+ -> Done + ^\s*$$ + ^=+ + ^. -> Error + +Done diff --git a/templates/index b/templates/index index b5da6447a8..7702ffcaac 100644 --- a/templates/index +++ b/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] +alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag diff --git a/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw new file mode 100644 index 0000000000..3247d43e1a --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw @@ -0,0 +1,18 @@ + +============================================================================ +Services: Service Destination Points +============================================================================ +SdpId AdmMTU OprMTU Far End Adm Opr Del LSP Sig +---------------------------------------------------------------------------- +1 0 9170 192.168.0.1 Down Down GRE n/a TLDP +31 0 0 10.10.10.1 Up Down MPLS R TLDP +32 0 0 10.10.10.2 Up Down MPLS R TLDP +34 0 0 10.10.10.4 Up Down MPLS R TLDP +38 0 492 10.10.10.8 Up Down MPLS R TLDP +2000 0 0 Down Down GRE n/a TLDP +---------------------------------------------------------------------------- +Number of SDPs : 6 +---------------------------------------------------------------------------- +Legend: R = RSVP, L = LDP, B = BGP, M = MPLS-TP, n/a = Not Applicable + I = SR-ISIS, O = SR-OSPF, T = SR-TE, F = FPE +============================================================================ diff --git a/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml new file mode 100644 index 0000000000..4ef283871d --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - adm: "Down" + adm_mtu: "0" + del: "GRE" + far_end: "192.168.0.1" + lsp: "n/a" + opr: "Down" + opr_mtu: "9170" + sdp_id: "1" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.1" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "31" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.2" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "32" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.4" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "34" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.8" + lsp: "R" + opr: "Down" + opr_mtu: "492" + sdp_id: "38" + sig: "TLDP" + - adm: "Down" + adm_mtu: "0" + del: "GRE" + far_end: "" + lsp: "n/a" + opr: "Down" + opr_mtu: "0" + sdp_id: "2000" + sig: "TLDP" From 431ddec42d66c0e5fd35d336b0ea86a5523d1b85 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Thu, 11 Mar 2021 16:24:53 -0700 Subject: [PATCH 170/412] New Template: alcatel_sros_show_router_rsvp_interface (#884) --- ...el_sros_show_router_rsvp_interface.textfsm | 26 ++++++++++++++++ templates/index | 1 + .../show_router_rsvp_interface.raw | 13 ++++++++ .../show_router_rsvp_interface.yml | 30 +++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 templates/alcatel_sros_show_router_rsvp_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw create mode 100644 tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml diff --git a/templates/alcatel_sros_show_router_rsvp_interface.textfsm b/templates/alcatel_sros_show_router_rsvp_interface.textfsm new file mode 100644 index 0000000000..3c1f7f0e0a --- /dev/null +++ b/templates/alcatel_sros_show_router_rsvp_interface.textfsm @@ -0,0 +1,26 @@ +Value Required INTERFACE (\S+) +Value Required TOTAL_SESSIONS (\d+|-) +Value Required ACTIVE_SESSIONS (\d+|-) +Value Required TOTAL_BW (\d+|-) +Value Required RESV_BW (\d+|-) +Value Required ADMIN_STATE (Up|Dwn|Down) +Value Required OPER_STATE (Up|Dwn|Down) + +Start + ^=+ + ^RSVP\s+Interfaces + ^Interface\s+Total\s+Active\s+Total\s+BW\s+Resv\s+BW\s+Adm\s+Opr\s*$$ + ^\s+Sessions\s+Sessions\s+\(Mbps\)\s+\(Mbps\) + ^-+ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s*${TOTAL_SESSIONS}\s*${ACTIVE_SESSIONS}\s*${TOTAL_BW}\s*${RESV_BW}\s*${ADMIN_STATE}\s*${OPER_STATE} -> Record + ^Interfaces + ^=+ + ^-+ -> Done + ^\s*$$ + ^. -> Error + +Done diff --git a/templates/index b/templates/index index 7702ffcaac..631375838b 100644 --- a/templates/index +++ b/templates/index @@ -18,6 +18,7 @@ alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] +alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] diff --git a/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw new file mode 100644 index 0000000000..4b02d3d53a --- /dev/null +++ b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw @@ -0,0 +1,13 @@ +=============================================================================== +RSVP Interfaces +=============================================================================== +Interface Total Active Total BW Resv BW Adm Opr + Sessions Sessions (Mbps) (Mbps) +------------------------------------------------------------------------------- +system - - - - Up Up +TO_IOSXR 0 0 10000 0 Dwn Dwn +TO_R1 0 0 10000 0 Up Up +TO_R4 0 0 10000 0 Up Up +------------------------------------------------------------------------------- +Interfaces : 4 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml new file mode 100644 index 0000000000..e50ff2c2b6 --- /dev/null +++ b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - active_sessions: "-" + admin_state: "Up" + interface: "system" + oper_state: "Up" + resv_bw: "-" + total_bw: "-" + total_sessions: "-" + - active_sessions: "0" + admin_state: "Dwn" + interface: "TO_IOSXR" + oper_state: "Dwn" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" + - active_sessions: "0" + admin_state: "Up" + interface: "TO_R1" + oper_state: "Up" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" + - active_sessions: "0" + admin_state: "Up" + interface: "TO_R4" + oper_state: "Up" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" From 26bec24029f01a2b148876334a53012fddffff53 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 11 Mar 2021 20:33:14 -0500 Subject: [PATCH 171/412] Release v1.7.0 (#889) --- CHANGELOG | 334 ++++++++++------------------------ lib/ntc_templates/__init__.py | 2 +- 2 files changed, 94 insertions(+), 242 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0c81a253eb..1273e01a5a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,87 @@ # Changelog -## [1.6.0](https://github.com/networktocode/ntc-templates/tree/1.6.0) (2020-10-02) +## [1.7.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...1.6.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...1.7.0) + +**Implemented enhancements:** + +- Potential naming inconsistencies between ntc-templates and netmiko for fortinet devices [\#534](https://github.com/networktocode/ntc-templates/issues/534) + +**Closed issues:** + +- arista\_eos\_show\_interfaces incomplete [\#887](https://github.com/networktocode/ntc-templates/issues/887) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#871](https://github.com/networktocode/ntc-templates/issues/871) +- cisco\_nxos\_show\_ip\_route errors out on Route Not Found [\#869](https://github.com/networktocode/ntc-templates/issues/869) +- cisco\_ios\_show\_interfaces\_description.textfsm fails to parse [\#866](https://github.com/networktocode/ntc-templates/issues/866) +- Having trouble with textfsm [\#858](https://github.com/networktocode/ntc-templates/issues/858) +- cisco\_nxos\_show\_ip\_arp\_detail.textfsm fails to parse Age field \(Age results are of form 00:14:15 AND 0.732312\) [\#851](https://github.com/networktocode/ntc-templates/issues/851) +- arista\_eos\_show\_interfaces\_status parse failures [\#834](https://github.com/networktocode/ntc-templates/issues/834) +- cisco\_ios\_show\_mac-address-table support for pvlans [\#830](https://github.com/networktocode/ntc-templates/issues/830) +- Don’t work when parse output of “show fc zone” for Dell s5000 [\#825](https://github.com/networktocode/ntc-templates/issues/825) +- update nxos show interface to capture discards [\#819](https://github.com/networktocode/ntc-templates/issues/819) +- change key names to match ios template [\#816](https://github.com/networktocode/ntc-templates/issues/816) +- cisco\_nxos\_show\_environment return an empty list [\#790](https://github.com/networktocode/ntc-templates/issues/790) +- cisco show sip-ua register status [\#787](https://github.com/networktocode/ntc-templates/issues/787) +- Issue with cisco\_ios\_show\_vrf.textfsm template [\#786](https://github.com/networktocode/ntc-templates/issues/786) +- version of OS can differ o/p, how to handle such cases [\#782](https://github.com/networktocode/ntc-templates/issues/782) +- NXSOS SHOW\_INVENTORY ALL [\#778](https://github.com/networktocode/ntc-templates/issues/778) +- ISSUE with show bgp neighboor template IOS XR [\#746](https://github.com/networktocode/ntc-templates/issues/746) + +**Merged pull requests:** + +- new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) +- New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) +- Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) +- Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) +- add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) +- New template: yamaha [\#865](https://github.com/networktocode/ntc-templates/pull/865) ([akira6592](https://github.com/akira6592)) +- Add Environment Variable Option for Custom Template Location [\#863](https://github.com/networktocode/ntc-templates/pull/863) ([jeffkala](https://github.com/jeffkala)) +- New Template: hp\_procurve\_show\_port-security [\#862](https://github.com/networktocode/ntc-templates/pull/862) ([adraf82](https://github.com/adraf82)) +- Adding in/out route-map parsing to cisco ios show ip bgp nei template [\#861](https://github.com/networktocode/ntc-templates/pull/861) ([nnaukwal](https://github.com/nnaukwal)) +- Fortinet updates [\#860](https://github.com/networktocode/ntc-templates/pull/860) ([refriedjello](https://github.com/refriedjello)) +- Fixes \#851 and add new template [\#857](https://github.com/networktocode/ntc-templates/pull/857) ([diepes](https://github.com/diepes)) +- New Templates: Cisco IOS show vrrp brief and all [\#856](https://github.com/networktocode/ntc-templates/pull/856) ([mjbear](https://github.com/mjbear)) +- Adding new templates for show \(radius|tacacs\) summary output [\#855](https://github.com/networktocode/ntc-templates/pull/855) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show port summary and show stats port summary [\#854](https://github.com/networktocode/ntc-templates/pull/854) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show time \(for time and NTP information\) [\#853](https://github.com/networktocode/ntc-templates/pull/853) ([mjbear](https://github.com/mjbear)) +- New Template - cisco\_ios\_show\_object-group [\#850](https://github.com/networktocode/ntc-templates/pull/850) ([pkomissarov](https://github.com/pkomissarov)) +- cisco\_nxos\_show\_ip\_bgp\_summary\_vrf update to support 32-bits ASN outputs [\#849](https://github.com/networktocode/ntc-templates/pull/849) ([burningnode](https://github.com/burningnode)) +- New Template: Cisco WLC show mobility anchor [\#847](https://github.com/networktocode/ntc-templates/pull/847) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show redundancy summary and detail [\#846](https://github.com/networktocode/ntc-templates/pull/846) ([mjbear](https://github.com/mjbear)) +- Fixes \#773 CiscoASA-show\_vpn-sessiondb\_SW\_update [\#845](https://github.com/networktocode/ntc-templates/pull/845) ([diepes](https://github.com/diepes)) +- Fixes\#811 arista eos show ip route [\#843](https://github.com/networktocode/ntc-templates/pull/843) ([diepes](https://github.com/diepes)) +- updated template and added test file [\#842](https://github.com/networktocode/ntc-templates/pull/842) ([adraf82](https://github.com/adraf82)) +- Fix\#784 new: cisco asa show running all cryprom map [\#840](https://github.com/networktocode/ntc-templates/pull/840) ([diepes](https://github.com/diepes)) +- Fix\#788 ios show int fc [\#839](https://github.com/networktocode/ntc-templates/pull/839) ([diepes](https://github.com/diepes)) +- Fixes \#790 - new template cisco\_nxos\_show\_environment.textfsm [\#838](https://github.com/networktocode/ntc-templates/pull/838) ([diepes](https://github.com/diepes)) +- Add codeowners file [\#837](https://github.com/networktocode/ntc-templates/pull/837) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancment: EOS show int status - account for LAG members [\#835](https://github.com/networktocode/ntc-templates/pull/835) ([jmcgill298](https://github.com/jmcgill298)) +- update Cisco IOS show tacacs template to support parsing of server name in newer configurations [\#833](https://github.com/networktocode/ntc-templates/pull/833) ([anirudhkamath](https://github.com/anirudhkamath)) +- added fortinet get system arp [\#832](https://github.com/networktocode/ntc-templates/pull/832) ([wmclendon](https://github.com/wmclendon)) +- Enhancement: Change fortinet\_fortios to fortinet per Netmiko [\#831](https://github.com/networktocode/ntc-templates/pull/831) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: hp\_procurve\_show\_interfaces\_brief.textfsm [\#829](https://github.com/networktocode/ntc-templates/pull/829) ([adraf82](https://github.com/adraf82)) +- New template: Vyatta/VyOS BGP summary [\#828](https://github.com/networktocode/ntc-templates/pull/828) ([jpbede](https://github.com/jpbede)) +- New template: dell\_powerconnect [\#827](https://github.com/networktocode/ntc-templates/pull/827) ([nidebr](https://github.com/nidebr)) +- Some sros commands [\#824](https://github.com/networktocode/ntc-templates/pull/824) ([kvlangenhove](https://github.com/kvlangenhove)) +- updated hp\_procurve\_show\_interfaces template for backward compatibility [\#823](https://github.com/networktocode/ntc-templates/pull/823) ([adraf82](https://github.com/adraf82)) +- New template: arista\_eos\_show\_interfaces\_description [\#822](https://github.com/networktocode/ntc-templates/pull/822) ([rich-day](https://github.com/rich-day)) +- Bugfix: issues with cisco\_nxos\_show\_ip\_dhcp\_relay\_address [\#821](https://github.com/networktocode/ntc-templates/pull/821) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: URL ACL property in cisco\_wlc\_ssh\_show\_interface\_detailed [\#820](https://github.com/networktocode/ntc-templates/pull/820) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: added 'Autostate exclude' to avoid error [\#818](https://github.com/networktocode/ntc-templates/pull/818) ([abaretta](https://github.com/abaretta)) +- fix unconfigured DHCP issue in cisco\_wlc\_ssh\_show\_interface\_detailed [\#817](https://github.com/networktocode/ntc-templates/pull/817) ([wvandeun](https://github.com/wvandeun)) +- cisco\_nxos show version - extract serial from "Processor board ID" [\#813](https://github.com/networktocode/ntc-templates/pull/813) ([diepes](https://github.com/diepes)) +- Bugfix: cisco ios show ip access-list [\#809](https://github.com/networktocode/ntc-templates/pull/809) ([jpobeda](https://github.com/jpobeda)) +- Bugfix: IOS show lldp neig - fix neighbor name with spaces [\#799](https://github.com/networktocode/ntc-templates/pull/799) ([realvitya](https://github.com/realvitya)) + +## [v1.6.0](https://github.com/networktocode/ntc-templates/tree/v1.6.0) (2020-10-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...v1.6.0) **Implemented enhancements:** @@ -16,16 +95,23 @@ - TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) - cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) - arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) **Merged pull requests:** +- Bugfix: ASA show interface - missing case handled for no values for duplex & speed [\#815](https://github.com/networktocode/ntc-templates/pull/815) ([starlightdreamer](https://github.com/starlightdreamer)) +- Linux arp a [\#814](https://github.com/networktocode/ntc-templates/pull/814) ([jifox](https://github.com/jifox)) +- add template and tests for cisco\_wlc\_ssh\_show\_interface\_detailed [\#812](https://github.com/networktocode/ntc-templates/pull/812) ([wvandeun](https://github.com/wvandeun)) +- fix issue in cisco\_wlc\_ssh\_show\_interface\_summary template [\#810](https://github.com/networktocode/ntc-templates/pull/810) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: cisco\_ios\_show\_running\_partition\_access\_list [\#808](https://github.com/networktocode/ntc-templates/pull/808) ([jpobeda](https://github.com/jpobeda)) +- Release 1.6.0 [\#807](https://github.com/networktocode/ntc-templates/pull/807) ([jmcgill298](https://github.com/jmcgill298)) - changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) - modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) - Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) - Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) +- New Template - hp\_procurve\_show\_interfaces [\#796](https://github.com/networktocode/ntc-templates/pull/796) ([adraf82](https://github.com/adraf82)) - Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) - Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) +- update arista\_eos\_show\_inventory [\#791](https://github.com/networktocode/ntc-templates/pull/791) ([yshu95](https://github.com/yshu95)) - Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) - Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) - Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) @@ -38,9 +124,9 @@ - New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) - Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) -## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) +## [v1.5.0](https://github.com/networktocode/ntc-templates/tree/v1.5.0) (2020-06-15) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...v1.5.0) **Implemented enhancements:** @@ -67,6 +153,7 @@ **Merged pull requests:** +- Bumping to version 1.5.0 [\#763](https://github.com/networktocode/ntc-templates/pull/763) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) - Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) - Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) @@ -86,241 +173,6 @@ - New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) - BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) -## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) - -**Fixed bugs:** - -- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) -- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) -- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) - -**Closed issues:** - -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) -- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) -- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) -- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) -- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) -- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) -- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) -- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) -- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) -- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) -- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) -- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) - -**Merged pull requests:** - -- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) -- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) -- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) -- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) -- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) -- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) -- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) -- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) -- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) -- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) -- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) -- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) -- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) - -## [1.4.1] -### Fixed -- [#617] - IOS show ip ospf database router: Removed reliance on static spacing -- [#620] - NXOS show fex: Allow spaces in descriptions -- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) -- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style -- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output -- [#647] - ASA show route: Allow multiline route statements -- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option - -### Added -- [#618] - IOS show ip ospf database network: New template -- [#619] - HP Comware display lldp neighbor information verbose: New template -- [#625] - ASA show vpn-sessiondb anyconnect: New template -- [#628] - Cisco WLC show mobility sum: New template -- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group -- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME -- [#632] - ASA show nat: Added SERVICE_PROTOCOL -- [#635] - IOS show ip route summary: New template -- [#636] - ASA show vpn-sessiondb: New template -- [#638] - ASA show inventory: Capture PID and VID withoout serial -- [#637] - Cisco WLC show band select: New template - -## [1.4.0] -### Fixed -- [#548] IOS show mac address-table: Account for Total Mac Addresses -- [#565] IOS show license: Avoid trailing spaces for features -- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words -- [#574] ASA show failover: Account for new output (IPS) -- [#577] IOS show mac address-table: Account for Multicast Entries -- [#582] NXOS show interface transceiver: Remove requirement for TYPE -- [#585] IOS show mac address-table: Fixed ordering for TYPE2 -- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype -- [#584] IOS show switch detail: Account for Mac persistency wait time -- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE -- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace -- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols -- [610] Aruba os show arp: Fix tests to have the full output from the command and device -- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask -- [#614] IOS show interfaces status: Remove reliance on whitespaces -### Added -- [#406] Testing: Add yamllint to test suite -- [#407] Testing: Add python black to test suite -- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group -- [#554] IOS show logging: New template -- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group -- [#562] ASA show logging: New template -- [#564] NXOS show interface transceiver: New template -- [#567] XR show arp: New template -- [#572] IOS show lldp neighbors detail: Added SERIAL capture group -- [#573] ASA show arp: New template -- [#578] Fortinet get system interface: New template -- [#576] Huawei VRP display lldp neighbor: New template -- [#581] Cisco WLC show vlan sum: New template -- [#580] XR show interfaces summary: New template -- [#590] IOS show ip bgp neighbors: New template -- [#591] NXOS show vdc: New template -- [#595] Checkpoint GAIA show arp dynamic all: New template -- [#593] IOS show module: New template -- [#597] Huwai VRP display version: New template -- [#602] NXOS show vrf interface: New template -- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group -- [#598] IOS show running-config partition access list: Convert COMMENT to list -- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols -- [#596] XR admin show environment power: New template -- [#594] Aruba os show arp: New template -- [#605] SG300 show version: New template -- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID -- [#600] IOS show mpls interfaces: New template -- [#599] IOS show etherchannel summary: New template -- [#611] NXOS show interface: Added MODE capture group -- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups -- [#609] HP Comware display ip interface: New template -- [#606] IOS show ip ospf database router: New template -### Changed -- [#406] Helpers: Added development_helpers cli utility to replace existing helpers -### Deprecated -### Removed - -## [1.3.0] -### Fixed -- [#401] ASA show route: Fix `UPTIME` to account for additional output formats -- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" -- [#465] ASA show failover: Add line to match FirePOWER module -- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" -- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" -- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits -- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats -- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" -- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it -- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) -- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data -- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces -- [#494] IOS show ip interface: Add matches for additional output lines -- [#495] IOS show ip interface: Add matches for additional output lines -- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` -- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas -- [#499] ASA show inventory: Add matches for additional output lines -- [#503] IOS show standby: Fix output that spread across two lines -- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data -- [#516] IOS show ip interface: Add matches for additional output lines -- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line -- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax -- [#525] IOS: Added matches for vty timestamp lines -- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) -- [#538] IOS show interfaces switchport: Added matches for additional output lines -### Added -- [#378] XR show ip route: Added `VRF` capture group -- [#391] WLC show client detail: Added new template -- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free -- [#425] WLC show exclusionlist: Added new template -- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group -- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups -- [#464] Comware display counters bound interface: Added new template -- [#468] Firebox show arp: Added new template -- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group -- [#478] NXOS show ip interface brief: Added new template -- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups -- [#482] XR admin show inventory: Added new template -- [#486] NXOS show route-map: Added new template -- [#489] NXOS show forwarding ipv4 route: Added new template -- [#491] IOS show switch detail: Added new template -- [#492] XR show ipv6 neighbors: Added new template -- [#493] Fastiron show arp: Added new template -- [#496] EOS show ip helper-address: Added new template -- [#501] WLC show 802.11a|b: Added new template -- [#510] WLC show 802.11 cleanair config: Added new template -- [#512] VRP display interface brief: Added new template -- [#512] VRP display temperature: Added new template -- [#513] WLC show rf profile-summary: Added new template -- [#514] IOS show process memory sorted: Added new template -- [#515] WLC show inventory: Added new template -- [#518] Ciena software show: Added new template -- [#521] IOS show ip route: Added `VRF` capture group -- [#524] EOS show vrf: Added new template -- [#526] WLC show advanced 802.11 channel: Added new template -- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#529] Fortios get router info bgp summary: Added new template -- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group -- [#533] IOS show license: Added new template -- [#539] WLC show interface summary: Added new template -- [#540] IOS show environment temperature: Added new template -### Changed -- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" -- [#497] ASA show version: Change `SERIAL` to be a list for clusters -- [#503] IOS show standby: Update index to allow syntax including specifying an interface -- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax -- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax -- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection -- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" -- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection -- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -### Deprecated -### Removed -## [1.2.1] -### Fixed -- Bumped `__version__` in `__init__` file -### Added -### Changed -### Deprecated -### Removed -## [1.2.0] -### Fixed -- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces -- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords -- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` -### Added -- [#470] ASA show version: Add capturing `compiled_date` field +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 1d0b6d9d36..2ce6c62561 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.6.0" +__version__ = "1.7.0" From f5de6dba0ff844041336b07e080dd47ab05967b2 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 11 Mar 2021 21:07:58 -0500 Subject: [PATCH 172/412] Migrate packaging to use poetry (#882) --- .travis.yml | 27 +- .yamllint | 34 +- CHANGELOG => CHANGELOG.md | 0 MANIFEST.in | 2 - README.md | 24 +- development_scripts.py | 3 +- lib/ntc_templates/templates | 1 - .../__init__.py | 0 {lib/ntc_templates => ntc_templates}/parse.py | 0 .../templates}/alcatel_aos_show_vlan.textfsm | 0 .../alcatel_sros_oam_mac-ping.textfsm | 2 +- .../templates}/alcatel_sros_show_lag.textfsm | 0 .../templates}/alcatel_sros_show_port.textfsm | 0 ...os_show_router_bgp_routes_vpn-ipv4.textfsm | 0 ...ros_show_router_bgp_summary_family.textfsm | 0 ...el_sros_show_router_isis_adjacency.textfsm | 0 ...el_sros_show_router_isis_interface.textfsm | 0 ...tel_sros_show_router_ldp_interface.textfsm | 0 ...el_sros_show_router_mpls_interface.textfsm | 0 ...tel_sros_show_router_pim_interface.textfsm | 0 ...el_sros_show_router_rsvp_interface.textfsm | 0 .../alcatel_sros_show_service_id_base.textfsm | 0 .../alcatel_sros_show_service_sdp.textfsm | 0 .../templates}/arista_eos_bash_df_-h.textfsm | 0 .../templates}/arista_eos_dir_flash.textfsm | 0 .../arista_eos_show_boot-config.textfsm | 0 .../templates}/arista_eos_show_clock.textfsm | 0 ...rista_eos_show_environment_cooling.textfsm | 0 ...a_eos_show_environment_temperature.textfsm | 0 .../arista_eos_show_hostname.textfsm | 0 .../arista_eos_show_interfaces.textfsm | 0 ...ta_eos_show_interfaces_description.textfsm | 0 .../arista_eos_show_interfaces_status.textfsm | 0 ...ta_eos_show_interfaces_transceiver.textfsm | 0 ...show_interfaces_transceiver_detail.textfsm | 0 .../arista_eos_show_inventory.textfsm | 0 .../arista_eos_show_ip_access-lists.textfsm | 0 .../templates}/arista_eos_show_ip_arp.textfsm | 0 .../templates}/arista_eos_show_ip_bgp.textfsm | 0 .../arista_eos_show_ip_bgp_summary.textfsm | 0 .../arista_eos_show_ip_helper-address.textfsm | 0 ...arista_eos_show_ip_interface_brief.textfsm | 0 .../arista_eos_show_ip_ospf_database.textfsm | 0 .../arista_eos_show_ip_ospf_neighbor.textfsm | 0 .../arista_eos_show_ip_route.textfsm | 0 .../arista_eos_show_isis_neighbors.textfsm | 0 .../arista_eos_show_lldp_neighbors.textfsm | 0 ...sta_eos_show_lldp_neighbors_detail.textfsm | 0 .../arista_eos_show_mac_address-table.textfsm | 0 ...ta_eos_show_mac_security_interface.textfsm | 0 ...eos_show_mac_security_mka_counters.textfsm | 0 ...w_mac_security_participants_detail.textfsm | 0 .../templates}/arista_eos_show_mlag.textfsm | 0 .../templates}/arista_eos_show_module.textfsm | 0 ...ista_eos_show_port-channel_summary.textfsm | 0 .../arista_eos_show_reload_cause.textfsm | 0 .../arista_eos_show_snmp_community.textfsm | 0 .../arista_eos_show_version.textfsm | 0 .../templates}/arista_eos_show_vlan.textfsm | 0 .../templates}/arista_eos_show_vrf.textfsm | 0 .../templates}/aruba_os_show_arp.textfsm | 0 .../aruba_os_show_ip_interface_brief.textfsm | 0 ...aruba_os_show_ipv6_interface_brief.textfsm | 0 .../avaya_ers_show_interface_name.textfsm | 0 .../avaya_ers_show_logging_config.textfsm | 0 .../avaya_ers_show_mac-address-table.textfsm | 0 .../templates}/avaya_ers_show_mlt.textfsm | 0 .../avaya_ers_show_mlt_all-members.textfsm | 0 .../avaya_ers_show_sys-info.textfsm | 0 .../templates}/avaya_ers_show_vlan.textfsm | 0 .../avaya_vsp_show_software.textfsm | 0 .../broadcom_icos_show_isdp_neighbors.textfsm | 0 ...m_icos_show_lldp_remote-device_all.textfsm | 0 .../broadcom_icos_show_mac-addr-table.textfsm | 0 .../broadcom_icos_show_version.textfsm | 0 .../broadcom_icos_show_vlan_brief.textfsm | 0 .../brocade_fastiron_show_arp.textfsm | 0 .../brocade_fastiron_show_interfaces.textfsm | 0 ...ade_fastiron_show_interfaces_brief.textfsm | 0 .../brocade_fastiron_show_lag_brief.textfsm | 0 ...ocade_fastiron_show_lldp_neighbors.textfsm | 0 ...astiron_show_lldp_neighbors_detail.textfsm | 0 .../brocade_fastiron_show_mac-address.textfsm | 0 .../brocade_fastiron_show_metro.textfsm | 0 .../brocade_fastiron_show_monitor.textfsm | 0 ..._fastiron_show_running-config_vlan.textfsm | 0 .../brocade_fastiron_show_span.textfsm | 0 .../brocade_fastiron_show_topo.textfsm | 0 .../brocade_fastiron_show_trunk.textfsm | 0 .../brocade_fastiron_show_version.textfsm | 0 .../brocade_netiron_show_interfaces.textfsm | 0 ...cade_netiron_show_interfaces_brief.textfsm | 0 .../brocade_netiron_show_lag_brief.textfsm | 0 ...netiron_show_lldp_neighbors_detail.textfsm | 0 .../brocade_netiron_show_metro.textfsm | 0 ...rocade_netiron_show_monitor_actual.textfsm | 0 ...iron_show_running-config_interface.textfsm | 0 ...e_netiron_show_running-config_vlan.textfsm | 0 .../brocade_netiron_show_span.textfsm | 0 .../brocade_netiron_show_topo.textfsm | 0 .../checkpoint_gaia_fw_stat.textfsm | 0 ...eckpoint_gaia_show_arp_dynamic_all.textfsm | 0 .../checkpoint_gaia_show_asset_all.textfsm | 0 .../checkpoint_gaia_show_dns.textfsm | 0 .../checkpoint_gaia_show_domainname.textfsm | 0 ...heckpoint_gaia_show_interfaces_all.textfsm | 0 .../checkpoint_gaia_show_ipv6_route.textfsm | 0 .../checkpoint_gaia_show_lom.textfsm | 0 .../checkpoint_gaia_show_ntp_servers.textfsm | 0 .../checkpoint_gaia_show_route.textfsm | 0 .../checkpoint_gaia_show_version_all.textfsm | 0 ...iena_saos_chassis_show_temperature.textfsm | 0 .../templates}/ciena_saos_port_show.textfsm | 0 .../templates}/ciena_saos_rstp_show.textfsm | 0 .../ciena_saos_software_show.textfsm | 0 .../ciena_saos_ssh_server_show_key.textfsm | 0 .../templates}/ciena_saos_vlan_show.textfsm | 0 .../templates}/cisco_asa_dir.textfsm | 0 .../templates}/cisco_asa_ping.textfsm | 0 .../cisco_asa_show_access-list.textfsm | 0 .../templates}/cisco_asa_show_arp.textfsm | 0 .../cisco_asa_show_asp_drop.textfsm | 0 ..._show_asp_table_vpn-context_detail.textfsm | 0 .../cisco_asa_show_bgp_summary.textfsm | 0 ...co_asa_show_crypto_ikev1_sa_detail.textfsm | 0 .../cisco_asa_show_crypto_ipsec_sa.textfsm | 0 .../cisco_asa_show_failover.textfsm | 0 .../cisco_asa_show_interface.textfsm | 0 .../cisco_asa_show_interface_detail.textfsm | 0 .../cisco_asa_show_inventory.textfsm | 0 .../cisco_asa_show_license_all.textfsm | 0 .../templates}/cisco_asa_show_logging.textfsm | 0 .../templates}/cisco_asa_show_name.textfsm | 0 .../templates}/cisco_asa_show_nat.textfsm | 0 ...isco_asa_show_object-group_network.textfsm | 0 .../cisco_asa_show_resource_usage.textfsm | 0 .../templates}/cisco_asa_show_route.textfsm | 0 ...show_running-config_all_crypto_map.textfsm | 0 ...a_show_running-config_crypto_ikev1.textfsm | 0 ...asa_show_running-config_crypto_map.textfsm | 0 ...isco_asa_show_running-config_ipsec.textfsm | 0 ...show_running-config_object_network.textfsm | 0 ...a_show_running-config_tunnel-group.textfsm | 0 .../templates}/cisco_asa_show_version.textfsm | 0 .../cisco_asa_show_vpn-sessiondb.textfsm | 0 ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 0 ..._asa_show_vpn-sessiondb_detail_l2l.textfsm | 0 .../templates}/cisco_asa_show_xlate.textfsm | 0 .../templates}/cisco_ios_dir.textfsm | 0 .../cisco_ios_show_access-list.textfsm | 0 .../cisco_ios_show_access-session.textfsm | 0 .../cisco_ios_show_adjacency.textfsm | 0 .../cisco_ios_show_alert_counters.textfsm | 0 .../templates}/cisco_ios_show_aliases.textfsm | 0 .../templates}/cisco_ios_show_archive.textfsm | 0 ...o_ios_show_authentication_sessions.textfsm | 0 .../templates}/cisco_ios_show_boot.textfsm | 0 ...os_show_capability_feature_routing.textfsm | 0 .../cisco_ios_show_cdp_neighbors.textfsm | 0 ...isco_ios_show_cdp_neighbors_detail.textfsm | 0 .../templates}/cisco_ios_show_clock.textfsm | 0 .../cisco_ios_show_controller_t1.textfsm | 0 .../templates}/cisco_ios_show_dmvpn.textfsm | 0 .../cisco_ios_show_dot1x_all.textfsm | 0 ...sco_ios_show_environment_power_all.textfsm | 0 ...o_ios_show_environment_temperature.textfsm | 0 ...isco_ios_show_etherchannel_summary.textfsm | 0 .../cisco_ios_show_hosts_summary.textfsm | 0 ...sco_ios_show_interface_transceiver.textfsm | 0 .../cisco_ios_show_interfaces.textfsm | 0 ...co_ios_show_interfaces_description.textfsm | 0 .../cisco_ios_show_interfaces_status.textfsm | 0 ...sco_ios_show_interfaces_switchport.textfsm | 0 .../cisco_ios_show_inventory.textfsm | 0 .../cisco_ios_show_ip_access-lists.textfsm | 0 .../templates}/cisco_ios_show_ip_arp.textfsm | 0 .../templates}/cisco_ios_show_ip_bgp.textfsm | 0 .../cisco_ios_show_ip_bgp_neighbors.textfsm | 0 ...ip_bgp_neighbors_advertised-routes.textfsm | 0 .../cisco_ios_show_ip_bgp_summary.textfsm | 0 .../templates}/cisco_ios_show_ip_cef.textfsm | 0 .../cisco_ios_show_ip_cef_detail.textfsm | 0 ...co_ios_show_ip_device_tracking_all.textfsm | 0 .../cisco_ios_show_ip_eigrp_neighbors.textfsm | 0 .../cisco_ios_show_ip_eigrp_topology.textfsm | 0 .../cisco_ios_show_ip_flow_toptalkers.textfsm | 0 .../cisco_ios_show_ip_interface.textfsm | 0 .../cisco_ios_show_ip_interface_brief.textfsm | 0 .../cisco_ios_show_ip_mroute.textfsm | 0 .../cisco_ios_show_ip_ospf_database.textfsm | 0 ..._ios_show_ip_ospf_database_network.textfsm | 0 ...o_ios_show_ip_ospf_database_router.textfsm | 0 ...o_ios_show_ip_ospf_interface_brief.textfsm | 0 .../cisco_ios_show_ip_ospf_neighbor.textfsm | 0 .../cisco_ios_show_ip_prefix-list.textfsm | 0 .../cisco_ios_show_ip_route.textfsm | 0 .../cisco_ios_show_ip_route_summary.textfsm | 0 .../cisco_ios_show_ip_source_binding.textfsm | 0 .../cisco_ios_show_ip_vrf_interfaces.textfsm | 0 ...isco_ios_show_ipv6_interface_brief.textfsm | 0 .../cisco_ios_show_ipv6_neighbors.textfsm | 0 .../cisco_ios_show_isdn_status.textfsm | 0 .../cisco_ios_show_isis_neighbors.textfsm | 0 .../templates}/cisco_ios_show_license.textfsm | 0 .../cisco_ios_show_lldp_neighbors.textfsm | 0 ...sco_ios_show_lldp_neighbors_detail.textfsm | 0 .../templates}/cisco_ios_show_logging.textfsm | 0 .../cisco_ios_show_mac-address-table.textfsm | 0 .../templates}/cisco_ios_show_module.textfsm | 0 .../cisco_ios_show_module_online_diag.textfsm | 0 .../cisco_ios_show_module_status.textfsm | 0 .../cisco_ios_show_module_submodule.textfsm | 0 .../cisco_ios_show_mpls_interfaces.textfsm | 0 .../cisco_ios_show_object-group.textfsm | 0 .../cisco_ios_show_platform_diag.textfsm | 0 .../cisco_ios_show_power_available.textfsm | 0 .../cisco_ios_show_power_status.textfsm | 0 .../cisco_ios_show_power_supplies.textfsm | 0 .../cisco_ios_show_processes_cpu.textfsm | 0 ...o_ios_show_processes_memory_sorted.textfsm | 0 .../cisco_ios_show_redundancy.textfsm | 0 .../cisco_ios_show_route-map.textfsm | 0 ...nning-config_partition_access-list.textfsm | 0 ...running-config_partition_route-map.textfsm | 0 .../cisco_ios_show_snmp_community.textfsm | 0 .../cisco_ios_show_snmp_user.textfsm | 0 .../cisco_ios_show_spanning-tree.textfsm | 0 .../templates}/cisco_ios_show_standby.textfsm | 0 .../cisco_ios_show_standby_brief.textfsm | 0 .../cisco_ios_show_switch_detail.textfsm | 0 ...ios_show_switch_detail_stack_ports.textfsm | 0 .../templates}/cisco_ios_show_tacacs.textfsm | 0 .../templates}/cisco_ios_show_version.textfsm | 0 .../templates}/cisco_ios_show_vlan.textfsm | 0 .../templates}/cisco_ios_show_vrf.textfsm | 0 .../cisco_ios_show_vrrp_all.textfsm | 0 .../cisco_ios_show_vrrp_brief.textfsm | 0 .../cisco_ios_show_vtp_status.textfsm | 0 .../templates}/cisco_ios_traceroute.textfsm | 0 .../cisco_nxos_show_access-lists.textfsm | 0 .../cisco_nxos_show_cdp_neighbors.textfsm | 0 ...sco_nxos_show_cdp_neighbors_detail.textfsm | 0 .../templates}/cisco_nxos_show_clock.textfsm | 0 ...show_configuration_session_summary.textfsm | 0 .../cisco_nxos_show_cts_interface_all.textfsm | 0 ...isco_nxos_show_cts_interface_brief.textfsm | 0 .../cisco_nxos_show_environment.textfsm | 0 ..._nxos_show_environment_temperature.textfsm | 0 .../cisco_nxos_show_feature.textfsm | 0 .../templates}/cisco_nxos_show_fex.textfsm | 0 .../templates}/cisco_nxos_show_fex_id.textfsm | 0 .../cisco_nxos_show_flogi_database.textfsm | 0 ...sco_nxos_show_forwarding_adjacency.textfsm | 0 ...co_nxos_show_forwarding_ipv4_route.textfsm | 0 .../cisco_nxos_show_hostname.textfsm | 0 .../cisco_nxos_show_hsrp_all.textfsm | 0 .../cisco_nxos_show_interface.textfsm | 0 .../cisco_nxos_show_interface_brief.textfsm | 2 +- ...co_nxos_show_interface_description.textfsm | 0 .../cisco_nxos_show_interface_status.textfsm | 0 ...co_nxos_show_interface_transceiver.textfsm | 0 ...show_interface_transceiver_details.textfsm | 0 ...co_nxos_show_interfaces_switchport.textfsm | 0 .../cisco_nxos_show_inventory.textfsm | 0 .../cisco_nxos_show_ip_adjacency.textfsm | 0 .../templates}/cisco_nxos_show_ip_arp.textfsm | 0 .../cisco_nxos_show_ip_arp_detail.textfsm | 0 .../templates}/cisco_nxos_show_ip_bgp.textfsm | 0 .../cisco_nxos_show_ip_bgp_neighbors.textfsm | 0 .../cisco_nxos_show_ip_bgp_summary.textfsm | 0 ...cisco_nxos_show_ip_bgp_summary_vrf.textfsm | 0 .../cisco_nxos_show_ip_community-list.textfsm | 0 ...co_nxos_show_ip_dhcp_relay_address.textfsm | 0 .../cisco_nxos_show_ip_interface.textfsm | 0 ...cisco_nxos_show_ip_interface_brief.textfsm | 0 .../cisco_nxos_show_ip_ospf_database.textfsm | 0 .../cisco_nxos_show_ip_ospf_neighbor.textfsm | 0 .../cisco_nxos_show_ip_route.textfsm | 0 ...sco_nxos_show_ipv6_interface_brief.textfsm | 0 ...b_internal_permanently-frozen-list.textfsm | 0 .../cisco_nxos_show_license_usage.textfsm | 0 .../cisco_nxos_show_lldp_neighbors.textfsm | 0 ...co_nxos_show_lldp_neighbors_detail.textfsm | 0 .../cisco_nxos_show_mac_address-table.textfsm | 0 .../templates}/cisco_nxos_show_module.textfsm | 0 ...sco_nxos_show_port-channel_summary.textfsm | 0 .../cisco_nxos_show_processes_cpu.textfsm | 0 .../cisco_nxos_show_route-map.textfsm | 0 .../templates}/cisco_nxos_show_vdc.textfsm | 0 .../cisco_nxos_show_version.textfsm | 0 .../templates}/cisco_nxos_show_vlan.textfsm | 0 .../templates}/cisco_nxos_show_vpc.textfsm | 0 .../templates}/cisco_nxos_show_vrf.textfsm | 0 .../cisco_nxos_show_vrf_interface.textfsm | 0 .../cisco_s300_show_interfaces_status.textfsm | 0 .../cisco_s300_show_lldp_neighbors.textfsm | 0 .../cisco_s300_show_mac_address-table.textfsm | 0 .../cisco_s300_show_version.textfsm | 0 .../cisco_wlc_ssh_show_802.11a.textfsm | 0 ...c_ssh_show_802.11a_cleanair_config.textfsm | 0 ..._ssh_show_advanced_802.11a_channel.textfsm | 0 ...sco_wlc_ssh_show_ap_config_general.textfsm | 0 .../cisco_wlc_ssh_show_ap_image_all.textfsm | 0 .../cisco_wlc_ssh_show_ap_summary.textfsm | 0 .../cisco_wlc_ssh_show_band-select.textfsm | 0 ..._wlc_ssh_show_cdp_neighbors_detail.textfsm | 0 .../cisco_wlc_ssh_show_client_detail.textfsm | 0 .../cisco_wlc_ssh_show_exclusionlist.textfsm | 0 ...wlc_ssh_show_interface_detailed_id.textfsm | 0 ...sco_wlc_ssh_show_interface_summary.textfsm | 0 .../cisco_wlc_ssh_show_inventory.textfsm | 0 ...cisco_wlc_ssh_show_mobility_anchor.textfsm | 0 .../cisco_wlc_ssh_show_mobility_sum.textfsm | 0 .../cisco_wlc_ssh_show_port_summary.textfsm | 0 .../cisco_wlc_ssh_show_radius_summary.textfsm | 0 ...sco_wlc_ssh_show_redundancy_detail.textfsm | 0 ...co_wlc_ssh_show_redundancy_summary.textfsm | 0 ...co_wlc_ssh_show_rf-profile_summary.textfsm | 0 ...co_wlc_ssh_show_stats_port_summary.textfsm | 0 .../cisco_wlc_ssh_show_sysinfo.textfsm | 0 .../cisco_wlc_ssh_show_tacacs_summary.textfsm | 0 .../cisco_wlc_ssh_show_time.textfsm | 0 .../cisco_wlc_ssh_show_wlan_sum.textfsm | 0 ...dmin_show_controller_fabric_health.textfsm | 0 ...isco_xr_admin_show_environment_fan.textfsm | 0 ...co_xr_admin_show_environment_power.textfsm | 0 .../cisco_xr_admin_show_inventory.textfsm | 0 .../cisco_xr_admin_show_platform.textfsm | 0 .../templates}/cisco_xr_admin_show_vm.textfsm | 0 .../templates}/cisco_xr_show_arp.textfsm | 0 ...o_xr_show_asic-errors_all_location.textfsm | 0 .../cisco_xr_show_bfd_sessions.textfsm | 0 .../templates}/cisco_xr_show_bgp.textfsm | 0 .../cisco_xr_show_bgp_neighbors.textfsm | 0 ...w_bgp_vrf_all_ipv4_unicast_summary.textfsm | 0 ...cisco_xr_show_cdp_neighbors_detail.textfsm | 0 .../cisco_xr_show_cef_drops_location.textfsm | 0 ..._xr_show_configuration_commit_list.textfsm | 0 ...r_show_controller_fabric_plane_all.textfsm | 0 ...controllers_HundredGigabitEthernet.textfsm | 0 .../cisco_xr_show_controllers_all_phy.textfsm | 0 ...s_fabric_fia_drops_egress_location.textfsm | 0 ..._fabric_fia_drops_ingress_location.textfsm | 0 ..._fabric_fia_errors_egress_location.textfsm | 0 ...fabric_fia_errors_ingress_location.textfsm | 0 ...co_xr_show_dhcp_ipv4_proxy_binding.textfsm | 0 .../cisco_xr_show_drops_np_all.textfsm | 0 .../templates}/cisco_xr_show_hsrp.textfsm | 0 .../cisco_xr_show_interface_brief.textfsm | 0 .../cisco_xr_show_interfaces.textfsm | 0 .../cisco_xr_show_interfaces_summary.textfsm | 0 .../cisco_xr_show_ip_bgp_summary.textfsm | 0 .../cisco_xr_show_ip_interface_brief.textfsm | 0 .../templates}/cisco_xr_show_ip_route.textfsm | 0 .../cisco_xr_show_ipv6_neighbors.textfsm | 0 .../cisco_xr_show_isis_neighbors.textfsm | 0 .../cisco_xr_show_lldp_neighbors.textfsm | 0 ...pts_pifib_hardware_police_location.textfsm | 0 ...co_xr_show_mpls_ldp_neighbor_brief.textfsm | 0 .../cisco_xr_show_ospf_neighbor.textfsm | 0 .../cisco_xr_show_pim_neighbor.textfsm | 0 .../cisco_xr_show_processes_cpu.textfsm | 0 .../cisco_xr_show_redundancy_summary.textfsm | 0 .../cisco_xr_show_rsvp_neighbors.textfsm | 0 .../templates}/cisco_xr_show_version.textfsm | 0 .../templates}/dell_force10_show_arp.textfsm | 0 .../dell_force10_show_version.textfsm | 0 .../templates}/dell_force10_show_vlan.textfsm | 0 .../dell_force10_show_vlan_brief.textfsm | 0 ...rconnect_show_bridge_address_table.textfsm | 0 ...onnect_show_interfaces_description.textfsm | 0 ...owerconnect_show_interfaces_status.textfsm | 0 ...rtinet_get_router_info_bgp_summary.textfsm | 0 .../fortinet_get_system_arp.textfsm | 0 .../fortinet_get_system_ha_status.textfsm | 0 .../fortinet_get_system_interface.textfsm | 0 ...inet_get_system_interface_physical.textfsm | 0 .../fortinet_get_system_status.textfsm | 0 .../templates}/hp_comware_display_arp.textfsm | 0 .../hp_comware_display_clock.textfsm | 0 ...e_display_counters_bound_interface.textfsm | 0 ...hp_comware_display_device_manuinfo.textfsm | 0 .../hp_comware_display_ip_interface.textfsm | 0 ...p_comware_display_ip_routing-table.textfsm | 0 ..._lldp_neighbor-information_verbose.textfsm | 0 .../hp_comware_display_mac-address.textfsm | 0 .../hp_comware_display_vlan_brief.textfsm | 0 .../templates}/hp_procurve_show_arp.textfsm | 0 .../hp_procurve_show_interfaces.textfsm | 0 .../hp_procurve_show_interfaces_brief.textfsm | 0 ...curve_show_lldp_info_remote-device.textfsm | 0 ...how_lldp_info_remote-device_detail.textfsm | 0 .../hp_procurve_show_mac-address.textfsm | 0 .../hp_procurve_show_port-security.textfsm | 0 .../hp_procurve_show_system.textfsm | 0 .../hp_procurve_show_tech_buffers.textfsm | 0 .../hp_procurve_show_trunks.textfsm | 0 .../templates}/hp_procurve_show_vlans.textfsm | 0 ...huawei_vrp_display_interface_brief.textfsm | 0 .../huawei_vrp_display_lldp_neighbor.textfsm | 0 .../huawei_vrp_display_temperature.textfsm | 0 .../huawei_vrp_display_version.textfsm | 0 {templates => ntc_templates/templates}/index | 0 .../juniper_junos_show_arp_no-resolve.textfsm | 0 ...os_show_chassis_cluster_interfaces.textfsm | 0 ..._junos_show_chassis_cluster_status.textfsm | 0 ...uniper_junos_show_chassis_firmware.textfsm | 0 ...unos_show_ethernet-switching_table.textfsm | 0 .../juniper_junos_show_interfaces.textfsm | 0 .../juniper_junos_show_isis_adjacency.textfsm | 0 ...juniper_junos_show_lacp_interfaces.textfsm | 0 .../juniper_junos_show_lldp_neighbors.textfsm | 0 .../juniper_junos_show_ospf_neighbor.textfsm | 0 .../juniper_junos_show_version.textfsm | 0 .../juniper_screenos_get_route.textfsm | 0 .../templates}/linux_arp_-a.textfsm | 0 .../paloalto_panos_debug_swm_status.textfsm | 0 .../paloalto_panos_show_arp_all.textfsm | 0 ...paloalto_panos_show_counter_global.textfsm | 0 ...o_panos_show_high-availability_all.textfsm | 0 ...alto_panos_show_interface_hardware.textfsm | 0 ...oalto_panos_show_interface_logical.textfsm | 0 ...to_panos_show_interface_management.textfsm | 0 .../paloalto_panos_show_jobs_all.textfsm | 0 .../paloalto_panos_show_mac_all.textfsm | 0 ...alto_panos_show_running_nat-policy.textfsm | 0 ...panos_show_running_security-policy.textfsm | 0 .../paloalto_panos_show_system_info.textfsm | 0 ...o_panos_test_security-policy-match.textfsm | 0 .../ruckus_fastiron_show_arp.textfsm | 0 .../ubiquiti_edgeswitch_show_arp.textfsm | 0 .../ubiquiti_edgeswitch_show_version.textfsm | 0 .../ubiquiti_edgeswitch_show_vlan.textfsm | 0 .../vmware_nsxv_show_ip_bgp_neighbors.textfsm | 0 .../vmware_nsxv_show_ip_route.textfsm | 0 .../templates}/vyatta_vyos_show_arp.textfsm | 0 .../vyatta_vyos_show_interfaces.textfsm | 0 .../vyatta_vyos_show_ip_bgp_summary.textfsm | 0 .../watchguard_firebox_show_arp.textfsm | 0 .../yamaha_show_environment.textfsm | 0 .../templates}/yamaha_show_ip_route.textfsm | 0 poetry.lock | 667 ++++++++++++++++++ pyproject.toml | 31 +- setup.py | 44 -- ...lcatel_sros_show_router_mpls_interface.yml | 52 +- .../cisco_ios_show_tacacs_server_name.yml | 48 +- tests/linux/arp_-a/linux_arp_a.yml | 95 ++- tests/test_index_order.py | 8 +- ...red_data_against_parsed_reference_files.py | 2 +- tests/test_testcases_exists.py | 2 +- tox.ini | 33 +- 451 files changed, 858 insertions(+), 219 deletions(-) rename CHANGELOG => CHANGELOG.md (100%) delete mode 100644 MANIFEST.in delete mode 120000 lib/ntc_templates/templates rename {lib/ntc_templates => ntc_templates}/__init__.py (100%) rename {lib/ntc_templates => ntc_templates}/parse.py (100%) rename {templates => ntc_templates/templates}/alcatel_aos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_oam_mac-ping.textfsm (69%) rename {templates => ntc_templates/templates}/alcatel_sros_show_lag.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_port.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_bgp_summary_family.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_isis_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_isis_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_ldp_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_mpls_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_pim_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_rsvp_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_service_id_base.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_service_sdp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_bash_df_-h.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_dir_flash.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_boot-config.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_environment_cooling.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_hostname.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_transceiver_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_helper-address.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_interface.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_mka_counters.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_participants_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mlag.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_port-channel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_reload_cause.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_snmp_community.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_interface_name.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_logging_config.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mac-address-table.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mlt.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mlt_all-members.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_sys-info.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_vsp_show_software.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_isdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_lldp_remote-device_all.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_mac-addr-table.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lag_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_metro.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_monitor.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_running-config_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_span.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_topo.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_trunk.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_lag_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_metro.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_monitor_actual.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_running-config_interface.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_running-config_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_span.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_topo.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_fw_stat.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_arp_dynamic_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_asset_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_dns.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_domainname.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_interfaces_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_ipv6_route.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_lom.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_ntp_servers.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_route.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_version_all.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_chassis_show_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_port_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_rstp_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_software_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_ssh_server_show_key.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_vlan_show.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_dir.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_ping.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_asp_drop.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_asp_table_vpn-context_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_crypto_ikev1_sa_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_crypto_ipsec_sa.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_failover.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_interface_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_license_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_logging.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_name.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_nat.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_object-group_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_resource_usage.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_all_crypto_map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_crypto_ikev1.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_crypto_map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_ipsec.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_object_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_tunnel-group.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_xlate.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_dir.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_access-session.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_alert_counters.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_aliases.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_archive.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_authentication_sessions.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_boot.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_capability_feature_routing.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_cdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_controller_t1.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_dmvpn.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_dot1x_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_environment_power_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_etherchannel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_hosts_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interface_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_switchport.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_cef.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_cef_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_device_tracking_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_eigrp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_eigrp_topology.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_flow_toptalkers.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_mroute.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database_router.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_prefix-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_route_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_source_binding.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_vrf_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ipv6_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_isdn_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_license.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_logging.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_mac-address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_online_diag.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_submodule.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_mpls_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_object-group.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_platform_diag.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_available.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_supplies.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_processes_memory_sorted.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_redundancy.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_running-config_partition_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_running-config_partition_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_snmp_community.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_snmp_user.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_spanning-tree.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_standby.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_standby_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_switch_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_switch_detail_stack_ports.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_tacacs.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrrp_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrrp_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vtp_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_traceroute.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_configuration_session_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cts_interface_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cts_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_environment.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_feature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_fex.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_fex_id.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_flogi_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_forwarding_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_forwarding_ipv4_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_hostname.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_hsrp_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_brief.textfsm (97%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_description.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_transceiver_details.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interfaces_switchport.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_arp_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_summary_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_community-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_dhcp_relay_address.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_license_usage.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_port-channel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vdc.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vpc.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vrf_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_802.11a.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_config_general.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_image_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_band-select.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_client_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_exclusionlist.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_interface_detailed_id.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_interface_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_mobility_anchor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_mobility_sum.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_port_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_radius_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_redundancy_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_redundancy_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_rf-profile_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_stats_port_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_sysinfo.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_tacacs_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_time.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_wlan_sum.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_controller_fabric_health.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_environment_fan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_environment_power.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_platform.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_vm.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_asic-errors_all_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bfd_sessions.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_cef_drops_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_configuration_commit_list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controller_fabric_plane_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_all_phy.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_drops_np_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_hsrp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interfaces_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ipv6_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_pim_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_redundancy_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_rsvp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_bridge_address_table.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_router_info_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_arp.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_ha_status.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_interface.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_interface_physical.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_status.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_arp.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_clock.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_counters_bound_interface.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_device_manuinfo.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_ip_routing-table.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_lldp_neighbor-information_verbose.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_lldp_info_remote-device.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_lldp_info_remote-device_detail.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_port-security.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_system.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_tech_buffers.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_trunks.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_vlans.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_lldp_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_version.textfsm (100%) rename {templates => ntc_templates/templates}/index (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_arp_no-resolve.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_cluster_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_cluster_status.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_firmware.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_ethernet-switching_table.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_isis_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_lacp_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_screenos_get_route.textfsm (100%) rename {templates => ntc_templates/templates}/linux_arp_-a.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_debug_swm_status.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_arp_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_counter_global.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_high-availability_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_hardware.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_logical.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_management.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_jobs_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_mac_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_running_nat-policy.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_running_security-policy.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_system_info.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_test_security-policy-match.textfsm (100%) rename {templates => ntc_templates/templates}/ruckus_fastiron_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/vmware_nsxv_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/vmware_nsxv_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/watchguard_firebox_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/yamaha_show_environment.textfsm (100%) rename {templates => ntc_templates/templates}/yamaha_show_ip_route.textfsm (100%) create mode 100644 poetry.lock delete mode 100644 setup.py diff --git a/.travis.yml b/.travis.yml index 570aa28246..7d5af31e3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,29 @@ --- - -language: python +language: "python" +dist: "xenial" +os: "linux" python: - "3.6" - -sudo: false + - "3.7" + - "3.8" install: - - pip install tox + - "pip install virtualenv" + - "virtualenv .venv" + - ".venv/bin/pip install pip setuptools -U" + - ".venv/bin/pip install tox" + +jobs: + include: + - stage: "lint" + script: ".venv/bin/tox -e black" + - script: ".venv/bin/tox -e flake8" + - script: ".venv/bin/tox -e yamllint" + +stages: + - "lint" + - "test" script: - - tox + - ".venv/bin/tox -e py36,py37,py38" diff --git a/.yamllint b/.yamllint index 4bffe932a6..0df5b5674b 100644 --- a/.yamllint +++ b/.yamllint @@ -1,36 +1,16 @@ --- +extends: "default" rules: + comments: "enable" + empty-values: "enable" indentation: - spaces: 2 indent-sequences: "consistent" - braces: - min-spaces-inside: 0 - brackets: - min-spaces-inside: 0 - colons: - max-spaces-before: 0 - max-spaces-after: 1 - hyphens: - max-spaces-after: 1 - commas: - max-spaces-before: 0 - max-spaces-after: 1 - comments: - require-starting-space: true - ignore-shebangs: true - min-spaces-from-content: 1 - document-start: - present: true - empty-lines: - max: 1 - empty-values: - forbid-in-block-mappings: true - forbid-in-flow-mappings: true - key-duplicates: "enable" - new-line-at-end-of-file: "enable" + line-length: "disable" quoted-strings: quote-type: "double" - trailing-spaces: {} ignore: | tests/mocks/ + .tox/ + .venv/ + venv/ diff --git a/CHANGELOG b/CHANGELOG.md similarity index 100% rename from CHANGELOG rename to CHANGELOG.md diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index ef95ea9787..0000000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include README.md CHANGELOG - diff --git a/README.md b/README.md index ed0be86f45..85b056ac3b 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ Repository of TextFSM Templates for Network Devices, and Python wrapper for Text This project provides a large collection of TextFSM Templates (text parsers) for a variety of Networking Vendors. In addition to the templates, there is a function that will convert the CLI output into a CliTable object; the resulting text table is converted into a list of dictionaries mapping the column headers with each row in the table. +> As of v2.0.0, this project uses [Poetry](https://python-poetry.org/) for packaging and distribution. In order to use poetry, the `templates` directory has been moved to `ntc_templates/templates` + Installation and Usage ---------------------- -The project can be installed using either Git or PyPI; if you would like to use the templates outside of this project, then Git is the recommended approach. +The project can be installed using either Git + Poetry or PyPI. #### Git @@ -21,17 +23,7 @@ The project can be installed using either Git or PyPI; if you would like to use $ git clone git@github.com:networktocode/ntc-templates.git $ # Optional steps to install ntc-templates as a python package -$ pip install -e ntc-templates/ -$ -``` - -The install can also include the required dev packages, which can be useful for adding or editing templates: - -```shell -$ git clone git@github.com:networktocode/ntc-templates.git -$ -# Optional steps to install ntc-templates as a python package -$ pip install -e ntc-templates/[dev] +$ poetry install $ ``` @@ -42,12 +34,6 @@ $ pip install ntc_templates $ ``` -To include the dev packages: -``` -$ pip install ntc_templates[dev] -$ -``` - #### Usage ```python @@ -283,7 +269,7 @@ A cli utility is provided to assist with properly building the parsed files. Thi The `-y` and `-yd` arguments are designed to allow developers to generate the expected parsed file how they want, and ensure that the formatting adheres to the defined standard for this project. - The `-c` and `-cd` arguments use `lib.ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `templates/` and the `templates/index` file must be updated to correctly point to the template file(s). + The `-c` and `-cd` arguments use `ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `ntc_templates/templates/` and the `ntc_templates/templates/index` file must be updated to correctly point to the template file(s). ```bash $ ./development_scripts.py -yd tests/cisco_ios/show_mac-address-table diff --git a/development_scripts.py b/development_scripts.py index c51ba8d880..d8ffee24f9 100755 --- a/development_scripts.py +++ b/development_scripts.py @@ -7,8 +7,7 @@ from ruamel.yaml import YAML from ruamel.yaml.scalarstring import DoubleQuotedScalarString as DQ -from textfsm import clitable -from lib.ntc_templates.parse import parse_output +from ntc_templates.parse import parse_output FILE_PATH = os.path.abspath(__file__) diff --git a/lib/ntc_templates/templates b/lib/ntc_templates/templates deleted file mode 120000 index 07531b725b..0000000000 --- a/lib/ntc_templates/templates +++ /dev/null @@ -1 +0,0 @@ -../../templates \ No newline at end of file diff --git a/lib/ntc_templates/__init__.py b/ntc_templates/__init__.py similarity index 100% rename from lib/ntc_templates/__init__.py rename to ntc_templates/__init__.py diff --git a/lib/ntc_templates/parse.py b/ntc_templates/parse.py similarity index 100% rename from lib/ntc_templates/parse.py rename to ntc_templates/parse.py diff --git a/templates/alcatel_aos_show_vlan.textfsm b/ntc_templates/templates/alcatel_aos_show_vlan.textfsm similarity index 100% rename from templates/alcatel_aos_show_vlan.textfsm rename to ntc_templates/templates/alcatel_aos_show_vlan.textfsm diff --git a/templates/alcatel_sros_oam_mac-ping.textfsm b/ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm similarity index 69% rename from templates/alcatel_sros_oam_mac-ping.textfsm rename to ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm index ff28736e7b..5da962ed77 100644 --- a/templates/alcatel_sros_oam_mac-ping.textfsm +++ b/ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm @@ -1,5 +1,5 @@ Value ROUTER (\d+\.\d+\.\d+\.\d+) -Value PORT ([[0-9]0?\/[1-2]\/[0-9]+|lag-[0-9]{1,3}) +Value PORT ([0-9]0?\/[1-2]\/[0-9]+|lag-[0-9]{1,3}) Value TAG ([0-9]{1,4}|\d+.?\d+?) Start diff --git a/templates/alcatel_sros_show_lag.textfsm b/ntc_templates/templates/alcatel_sros_show_lag.textfsm similarity index 100% rename from templates/alcatel_sros_show_lag.textfsm rename to ntc_templates/templates/alcatel_sros_show_lag.textfsm diff --git a/templates/alcatel_sros_show_port.textfsm b/ntc_templates/templates/alcatel_sros_show_port.textfsm similarity index 100% rename from templates/alcatel_sros_show_port.textfsm rename to ntc_templates/templates/alcatel_sros_show_port.textfsm diff --git a/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm b/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm diff --git a/templates/alcatel_sros_show_router_bgp_summary_family.textfsm b/ntc_templates/templates/alcatel_sros_show_router_bgp_summary_family.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_bgp_summary_family.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_bgp_summary_family.textfsm diff --git a/templates/alcatel_sros_show_router_isis_adjacency.textfsm b/ntc_templates/templates/alcatel_sros_show_router_isis_adjacency.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_isis_adjacency.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_isis_adjacency.textfsm diff --git a/templates/alcatel_sros_show_router_isis_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_isis_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_isis_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_isis_interface.textfsm diff --git a/templates/alcatel_sros_show_router_ldp_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_ldp_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_ldp_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_ldp_interface.textfsm diff --git a/templates/alcatel_sros_show_router_mpls_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_mpls_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_mpls_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_mpls_interface.textfsm diff --git a/templates/alcatel_sros_show_router_pim_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_pim_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_pim_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_pim_interface.textfsm diff --git a/templates/alcatel_sros_show_router_rsvp_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_rsvp_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_rsvp_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_rsvp_interface.textfsm diff --git a/templates/alcatel_sros_show_service_id_base.textfsm b/ntc_templates/templates/alcatel_sros_show_service_id_base.textfsm similarity index 100% rename from templates/alcatel_sros_show_service_id_base.textfsm rename to ntc_templates/templates/alcatel_sros_show_service_id_base.textfsm diff --git a/templates/alcatel_sros_show_service_sdp.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sdp.textfsm similarity index 100% rename from templates/alcatel_sros_show_service_sdp.textfsm rename to ntc_templates/templates/alcatel_sros_show_service_sdp.textfsm diff --git a/templates/arista_eos_bash_df_-h.textfsm b/ntc_templates/templates/arista_eos_bash_df_-h.textfsm similarity index 100% rename from templates/arista_eos_bash_df_-h.textfsm rename to ntc_templates/templates/arista_eos_bash_df_-h.textfsm diff --git a/templates/arista_eos_dir_flash.textfsm b/ntc_templates/templates/arista_eos_dir_flash.textfsm similarity index 100% rename from templates/arista_eos_dir_flash.textfsm rename to ntc_templates/templates/arista_eos_dir_flash.textfsm diff --git a/templates/arista_eos_show_boot-config.textfsm b/ntc_templates/templates/arista_eos_show_boot-config.textfsm similarity index 100% rename from templates/arista_eos_show_boot-config.textfsm rename to ntc_templates/templates/arista_eos_show_boot-config.textfsm diff --git a/templates/arista_eos_show_clock.textfsm b/ntc_templates/templates/arista_eos_show_clock.textfsm similarity index 100% rename from templates/arista_eos_show_clock.textfsm rename to ntc_templates/templates/arista_eos_show_clock.textfsm diff --git a/templates/arista_eos_show_environment_cooling.textfsm b/ntc_templates/templates/arista_eos_show_environment_cooling.textfsm similarity index 100% rename from templates/arista_eos_show_environment_cooling.textfsm rename to ntc_templates/templates/arista_eos_show_environment_cooling.textfsm diff --git a/templates/arista_eos_show_environment_temperature.textfsm b/ntc_templates/templates/arista_eos_show_environment_temperature.textfsm similarity index 100% rename from templates/arista_eos_show_environment_temperature.textfsm rename to ntc_templates/templates/arista_eos_show_environment_temperature.textfsm diff --git a/templates/arista_eos_show_hostname.textfsm b/ntc_templates/templates/arista_eos_show_hostname.textfsm similarity index 100% rename from templates/arista_eos_show_hostname.textfsm rename to ntc_templates/templates/arista_eos_show_hostname.textfsm diff --git a/templates/arista_eos_show_interfaces.textfsm b/ntc_templates/templates/arista_eos_show_interfaces.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces.textfsm diff --git a/templates/arista_eos_show_interfaces_description.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_description.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_description.textfsm diff --git a/templates/arista_eos_show_interfaces_status.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_status.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_status.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_status.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_transceiver.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_transceiver.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver_detail.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_transceiver_detail.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver_detail.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_transceiver_detail.textfsm diff --git a/templates/arista_eos_show_inventory.textfsm b/ntc_templates/templates/arista_eos_show_inventory.textfsm similarity index 100% rename from templates/arista_eos_show_inventory.textfsm rename to ntc_templates/templates/arista_eos_show_inventory.textfsm diff --git a/templates/arista_eos_show_ip_access-lists.textfsm b/ntc_templates/templates/arista_eos_show_ip_access-lists.textfsm similarity index 100% rename from templates/arista_eos_show_ip_access-lists.textfsm rename to ntc_templates/templates/arista_eos_show_ip_access-lists.textfsm diff --git a/templates/arista_eos_show_ip_arp.textfsm b/ntc_templates/templates/arista_eos_show_ip_arp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_arp.textfsm rename to ntc_templates/templates/arista_eos_show_ip_arp.textfsm diff --git a/templates/arista_eos_show_ip_bgp.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp.textfsm rename to ntc_templates/templates/arista_eos_show_ip_bgp.textfsm diff --git a/templates/arista_eos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm diff --git a/templates/arista_eos_show_ip_helper-address.textfsm b/ntc_templates/templates/arista_eos_show_ip_helper-address.textfsm similarity index 100% rename from templates/arista_eos_show_ip_helper-address.textfsm rename to ntc_templates/templates/arista_eos_show_ip_helper-address.textfsm diff --git a/templates/arista_eos_show_ip_interface_brief.textfsm b/ntc_templates/templates/arista_eos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/arista_eos_show_ip_interface_brief.textfsm rename to ntc_templates/templates/arista_eos_show_ip_interface_brief.textfsm diff --git a/templates/arista_eos_show_ip_ospf_database.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_database.textfsm rename to ntc_templates/templates/arista_eos_show_ip_ospf_database.textfsm diff --git a/templates/arista_eos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm diff --git a/templates/arista_eos_show_ip_route.textfsm b/ntc_templates/templates/arista_eos_show_ip_route.textfsm similarity index 100% rename from templates/arista_eos_show_ip_route.textfsm rename to ntc_templates/templates/arista_eos_show_ip_route.textfsm diff --git a/templates/arista_eos_show_isis_neighbors.textfsm b/ntc_templates/templates/arista_eos_show_isis_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_isis_neighbors.textfsm rename to ntc_templates/templates/arista_eos_show_isis_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/arista_eos_show_lldp_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/ntc_templates/templates/arista_eos_show_mac_address-table.textfsm similarity index 100% rename from templates/arista_eos_show_mac_address-table.textfsm rename to ntc_templates/templates/arista_eos_show_mac_address-table.textfsm diff --git a/templates/arista_eos_show_mac_security_interface.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_interface.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_interface.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_interface.textfsm diff --git a/templates/arista_eos_show_mac_security_mka_counters.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_mka_counters.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_mka_counters.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_mka_counters.textfsm diff --git a/templates/arista_eos_show_mac_security_participants_detail.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_participants_detail.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_participants_detail.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_participants_detail.textfsm diff --git a/templates/arista_eos_show_mlag.textfsm b/ntc_templates/templates/arista_eos_show_mlag.textfsm similarity index 100% rename from templates/arista_eos_show_mlag.textfsm rename to ntc_templates/templates/arista_eos_show_mlag.textfsm diff --git a/templates/arista_eos_show_module.textfsm b/ntc_templates/templates/arista_eos_show_module.textfsm similarity index 100% rename from templates/arista_eos_show_module.textfsm rename to ntc_templates/templates/arista_eos_show_module.textfsm diff --git a/templates/arista_eos_show_port-channel_summary.textfsm b/ntc_templates/templates/arista_eos_show_port-channel_summary.textfsm similarity index 100% rename from templates/arista_eos_show_port-channel_summary.textfsm rename to ntc_templates/templates/arista_eos_show_port-channel_summary.textfsm diff --git a/templates/arista_eos_show_reload_cause.textfsm b/ntc_templates/templates/arista_eos_show_reload_cause.textfsm similarity index 100% rename from templates/arista_eos_show_reload_cause.textfsm rename to ntc_templates/templates/arista_eos_show_reload_cause.textfsm diff --git a/templates/arista_eos_show_snmp_community.textfsm b/ntc_templates/templates/arista_eos_show_snmp_community.textfsm similarity index 100% rename from templates/arista_eos_show_snmp_community.textfsm rename to ntc_templates/templates/arista_eos_show_snmp_community.textfsm diff --git a/templates/arista_eos_show_version.textfsm b/ntc_templates/templates/arista_eos_show_version.textfsm similarity index 100% rename from templates/arista_eos_show_version.textfsm rename to ntc_templates/templates/arista_eos_show_version.textfsm diff --git a/templates/arista_eos_show_vlan.textfsm b/ntc_templates/templates/arista_eos_show_vlan.textfsm similarity index 100% rename from templates/arista_eos_show_vlan.textfsm rename to ntc_templates/templates/arista_eos_show_vlan.textfsm diff --git a/templates/arista_eos_show_vrf.textfsm b/ntc_templates/templates/arista_eos_show_vrf.textfsm similarity index 100% rename from templates/arista_eos_show_vrf.textfsm rename to ntc_templates/templates/arista_eos_show_vrf.textfsm diff --git a/templates/aruba_os_show_arp.textfsm b/ntc_templates/templates/aruba_os_show_arp.textfsm similarity index 100% rename from templates/aruba_os_show_arp.textfsm rename to ntc_templates/templates/aruba_os_show_arp.textfsm diff --git a/templates/aruba_os_show_ip_interface_brief.textfsm b/ntc_templates/templates/aruba_os_show_ip_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ip_interface_brief.textfsm rename to ntc_templates/templates/aruba_os_show_ip_interface_brief.textfsm diff --git a/templates/aruba_os_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/aruba_os_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/aruba_os_show_ipv6_interface_brief.textfsm diff --git a/templates/avaya_ers_show_interface_name.textfsm b/ntc_templates/templates/avaya_ers_show_interface_name.textfsm similarity index 100% rename from templates/avaya_ers_show_interface_name.textfsm rename to ntc_templates/templates/avaya_ers_show_interface_name.textfsm diff --git a/templates/avaya_ers_show_logging_config.textfsm b/ntc_templates/templates/avaya_ers_show_logging_config.textfsm similarity index 100% rename from templates/avaya_ers_show_logging_config.textfsm rename to ntc_templates/templates/avaya_ers_show_logging_config.textfsm diff --git a/templates/avaya_ers_show_mac-address-table.textfsm b/ntc_templates/templates/avaya_ers_show_mac-address-table.textfsm similarity index 100% rename from templates/avaya_ers_show_mac-address-table.textfsm rename to ntc_templates/templates/avaya_ers_show_mac-address-table.textfsm diff --git a/templates/avaya_ers_show_mlt.textfsm b/ntc_templates/templates/avaya_ers_show_mlt.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt.textfsm rename to ntc_templates/templates/avaya_ers_show_mlt.textfsm diff --git a/templates/avaya_ers_show_mlt_all-members.textfsm b/ntc_templates/templates/avaya_ers_show_mlt_all-members.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt_all-members.textfsm rename to ntc_templates/templates/avaya_ers_show_mlt_all-members.textfsm diff --git a/templates/avaya_ers_show_sys-info.textfsm b/ntc_templates/templates/avaya_ers_show_sys-info.textfsm similarity index 100% rename from templates/avaya_ers_show_sys-info.textfsm rename to ntc_templates/templates/avaya_ers_show_sys-info.textfsm diff --git a/templates/avaya_ers_show_vlan.textfsm b/ntc_templates/templates/avaya_ers_show_vlan.textfsm similarity index 100% rename from templates/avaya_ers_show_vlan.textfsm rename to ntc_templates/templates/avaya_ers_show_vlan.textfsm diff --git a/templates/avaya_vsp_show_software.textfsm b/ntc_templates/templates/avaya_vsp_show_software.textfsm similarity index 100% rename from templates/avaya_vsp_show_software.textfsm rename to ntc_templates/templates/avaya_vsp_show_software.textfsm diff --git a/templates/broadcom_icos_show_isdp_neighbors.textfsm b/ntc_templates/templates/broadcom_icos_show_isdp_neighbors.textfsm similarity index 100% rename from templates/broadcom_icos_show_isdp_neighbors.textfsm rename to ntc_templates/templates/broadcom_icos_show_isdp_neighbors.textfsm diff --git a/templates/broadcom_icos_show_lldp_remote-device_all.textfsm b/ntc_templates/templates/broadcom_icos_show_lldp_remote-device_all.textfsm similarity index 100% rename from templates/broadcom_icos_show_lldp_remote-device_all.textfsm rename to ntc_templates/templates/broadcom_icos_show_lldp_remote-device_all.textfsm diff --git a/templates/broadcom_icos_show_mac-addr-table.textfsm b/ntc_templates/templates/broadcom_icos_show_mac-addr-table.textfsm similarity index 100% rename from templates/broadcom_icos_show_mac-addr-table.textfsm rename to ntc_templates/templates/broadcom_icos_show_mac-addr-table.textfsm diff --git a/templates/broadcom_icos_show_version.textfsm b/ntc_templates/templates/broadcom_icos_show_version.textfsm similarity index 100% rename from templates/broadcom_icos_show_version.textfsm rename to ntc_templates/templates/broadcom_icos_show_version.textfsm diff --git a/templates/broadcom_icos_show_vlan_brief.textfsm b/ntc_templates/templates/broadcom_icos_show_vlan_brief.textfsm similarity index 100% rename from templates/broadcom_icos_show_vlan_brief.textfsm rename to ntc_templates/templates/broadcom_icos_show_vlan_brief.textfsm diff --git a/templates/brocade_fastiron_show_arp.textfsm b/ntc_templates/templates/brocade_fastiron_show_arp.textfsm similarity index 100% rename from templates/brocade_fastiron_show_arp.textfsm rename to ntc_templates/templates/brocade_fastiron_show_arp.textfsm diff --git a/templates/brocade_fastiron_show_interfaces.textfsm b/ntc_templates/templates/brocade_fastiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces.textfsm rename to ntc_templates/templates/brocade_fastiron_show_interfaces.textfsm diff --git a/templates/brocade_fastiron_show_interfaces_brief.textfsm b/ntc_templates/templates/brocade_fastiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces_brief.textfsm rename to ntc_templates/templates/brocade_fastiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_fastiron_show_lag_brief.textfsm b/ntc_templates/templates/brocade_fastiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lag_brief.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lag_brief.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors.textfsm b/ntc_templates/templates/brocade_fastiron_show_lldp_neighbors.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lldp_neighbors.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_fastiron_show_mac-address.textfsm b/ntc_templates/templates/brocade_fastiron_show_mac-address.textfsm similarity index 100% rename from templates/brocade_fastiron_show_mac-address.textfsm rename to ntc_templates/templates/brocade_fastiron_show_mac-address.textfsm diff --git a/templates/brocade_fastiron_show_metro.textfsm b/ntc_templates/templates/brocade_fastiron_show_metro.textfsm similarity index 100% rename from templates/brocade_fastiron_show_metro.textfsm rename to ntc_templates/templates/brocade_fastiron_show_metro.textfsm diff --git a/templates/brocade_fastiron_show_monitor.textfsm b/ntc_templates/templates/brocade_fastiron_show_monitor.textfsm similarity index 100% rename from templates/brocade_fastiron_show_monitor.textfsm rename to ntc_templates/templates/brocade_fastiron_show_monitor.textfsm diff --git a/templates/brocade_fastiron_show_running-config_vlan.textfsm b/ntc_templates/templates/brocade_fastiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_fastiron_show_running-config_vlan.textfsm rename to ntc_templates/templates/brocade_fastiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_fastiron_show_span.textfsm b/ntc_templates/templates/brocade_fastiron_show_span.textfsm similarity index 100% rename from templates/brocade_fastiron_show_span.textfsm rename to ntc_templates/templates/brocade_fastiron_show_span.textfsm diff --git a/templates/brocade_fastiron_show_topo.textfsm b/ntc_templates/templates/brocade_fastiron_show_topo.textfsm similarity index 100% rename from templates/brocade_fastiron_show_topo.textfsm rename to ntc_templates/templates/brocade_fastiron_show_topo.textfsm diff --git a/templates/brocade_fastiron_show_trunk.textfsm b/ntc_templates/templates/brocade_fastiron_show_trunk.textfsm similarity index 100% rename from templates/brocade_fastiron_show_trunk.textfsm rename to ntc_templates/templates/brocade_fastiron_show_trunk.textfsm diff --git a/templates/brocade_fastiron_show_version.textfsm b/ntc_templates/templates/brocade_fastiron_show_version.textfsm similarity index 100% rename from templates/brocade_fastiron_show_version.textfsm rename to ntc_templates/templates/brocade_fastiron_show_version.textfsm diff --git a/templates/brocade_netiron_show_interfaces.textfsm b/ntc_templates/templates/brocade_netiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces.textfsm rename to ntc_templates/templates/brocade_netiron_show_interfaces.textfsm diff --git a/templates/brocade_netiron_show_interfaces_brief.textfsm b/ntc_templates/templates/brocade_netiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces_brief.textfsm rename to ntc_templates/templates/brocade_netiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_netiron_show_lag_brief.textfsm b/ntc_templates/templates/brocade_netiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_lag_brief.textfsm rename to ntc_templates/templates/brocade_netiron_show_lag_brief.textfsm diff --git a/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_netiron_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_netiron_show_metro.textfsm b/ntc_templates/templates/brocade_netiron_show_metro.textfsm similarity index 100% rename from templates/brocade_netiron_show_metro.textfsm rename to ntc_templates/templates/brocade_netiron_show_metro.textfsm diff --git a/templates/brocade_netiron_show_monitor_actual.textfsm b/ntc_templates/templates/brocade_netiron_show_monitor_actual.textfsm similarity index 100% rename from templates/brocade_netiron_show_monitor_actual.textfsm rename to ntc_templates/templates/brocade_netiron_show_monitor_actual.textfsm diff --git a/templates/brocade_netiron_show_running-config_interface.textfsm b/ntc_templates/templates/brocade_netiron_show_running-config_interface.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_interface.textfsm rename to ntc_templates/templates/brocade_netiron_show_running-config_interface.textfsm diff --git a/templates/brocade_netiron_show_running-config_vlan.textfsm b/ntc_templates/templates/brocade_netiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_vlan.textfsm rename to ntc_templates/templates/brocade_netiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_netiron_show_span.textfsm b/ntc_templates/templates/brocade_netiron_show_span.textfsm similarity index 100% rename from templates/brocade_netiron_show_span.textfsm rename to ntc_templates/templates/brocade_netiron_show_span.textfsm diff --git a/templates/brocade_netiron_show_topo.textfsm b/ntc_templates/templates/brocade_netiron_show_topo.textfsm similarity index 100% rename from templates/brocade_netiron_show_topo.textfsm rename to ntc_templates/templates/brocade_netiron_show_topo.textfsm diff --git a/templates/checkpoint_gaia_fw_stat.textfsm b/ntc_templates/templates/checkpoint_gaia_fw_stat.textfsm similarity index 100% rename from templates/checkpoint_gaia_fw_stat.textfsm rename to ntc_templates/templates/checkpoint_gaia_fw_stat.textfsm diff --git a/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_arp_dynamic_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm diff --git a/templates/checkpoint_gaia_show_asset_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_asset_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm diff --git a/templates/checkpoint_gaia_show_dns.textfsm b/ntc_templates/templates/checkpoint_gaia_show_dns.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_dns.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_dns.textfsm diff --git a/templates/checkpoint_gaia_show_domainname.textfsm b/ntc_templates/templates/checkpoint_gaia_show_domainname.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_domainname.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_domainname.textfsm diff --git a/templates/checkpoint_gaia_show_interfaces_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_interfaces_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_interfaces_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_interfaces_all.textfsm diff --git a/templates/checkpoint_gaia_show_ipv6_route.textfsm b/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ipv6_route.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm diff --git a/templates/checkpoint_gaia_show_lom.textfsm b/ntc_templates/templates/checkpoint_gaia_show_lom.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_lom.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_lom.textfsm diff --git a/templates/checkpoint_gaia_show_ntp_servers.textfsm b/ntc_templates/templates/checkpoint_gaia_show_ntp_servers.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ntp_servers.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_ntp_servers.textfsm diff --git a/templates/checkpoint_gaia_show_route.textfsm b/ntc_templates/templates/checkpoint_gaia_show_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_route.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_route.textfsm diff --git a/templates/checkpoint_gaia_show_version_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_version_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_version_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_version_all.textfsm diff --git a/templates/ciena_saos_chassis_show_temperature.textfsm b/ntc_templates/templates/ciena_saos_chassis_show_temperature.textfsm similarity index 100% rename from templates/ciena_saos_chassis_show_temperature.textfsm rename to ntc_templates/templates/ciena_saos_chassis_show_temperature.textfsm diff --git a/templates/ciena_saos_port_show.textfsm b/ntc_templates/templates/ciena_saos_port_show.textfsm similarity index 100% rename from templates/ciena_saos_port_show.textfsm rename to ntc_templates/templates/ciena_saos_port_show.textfsm diff --git a/templates/ciena_saos_rstp_show.textfsm b/ntc_templates/templates/ciena_saos_rstp_show.textfsm similarity index 100% rename from templates/ciena_saos_rstp_show.textfsm rename to ntc_templates/templates/ciena_saos_rstp_show.textfsm diff --git a/templates/ciena_saos_software_show.textfsm b/ntc_templates/templates/ciena_saos_software_show.textfsm similarity index 100% rename from templates/ciena_saos_software_show.textfsm rename to ntc_templates/templates/ciena_saos_software_show.textfsm diff --git a/templates/ciena_saos_ssh_server_show_key.textfsm b/ntc_templates/templates/ciena_saos_ssh_server_show_key.textfsm similarity index 100% rename from templates/ciena_saos_ssh_server_show_key.textfsm rename to ntc_templates/templates/ciena_saos_ssh_server_show_key.textfsm diff --git a/templates/ciena_saos_vlan_show.textfsm b/ntc_templates/templates/ciena_saos_vlan_show.textfsm similarity index 100% rename from templates/ciena_saos_vlan_show.textfsm rename to ntc_templates/templates/ciena_saos_vlan_show.textfsm diff --git a/templates/cisco_asa_dir.textfsm b/ntc_templates/templates/cisco_asa_dir.textfsm similarity index 100% rename from templates/cisco_asa_dir.textfsm rename to ntc_templates/templates/cisco_asa_dir.textfsm diff --git a/templates/cisco_asa_ping.textfsm b/ntc_templates/templates/cisco_asa_ping.textfsm similarity index 100% rename from templates/cisco_asa_ping.textfsm rename to ntc_templates/templates/cisco_asa_ping.textfsm diff --git a/templates/cisco_asa_show_access-list.textfsm b/ntc_templates/templates/cisco_asa_show_access-list.textfsm similarity index 100% rename from templates/cisco_asa_show_access-list.textfsm rename to ntc_templates/templates/cisco_asa_show_access-list.textfsm diff --git a/templates/cisco_asa_show_arp.textfsm b/ntc_templates/templates/cisco_asa_show_arp.textfsm similarity index 100% rename from templates/cisco_asa_show_arp.textfsm rename to ntc_templates/templates/cisco_asa_show_arp.textfsm diff --git a/templates/cisco_asa_show_asp_drop.textfsm b/ntc_templates/templates/cisco_asa_show_asp_drop.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_drop.textfsm rename to ntc_templates/templates/cisco_asa_show_asp_drop.textfsm diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm b/ntc_templates/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm diff --git a/templates/cisco_asa_show_bgp_summary.textfsm b/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm similarity index 100% rename from templates/cisco_asa_show_bgp_summary.textfsm rename to ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm diff --git a/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm b/ntc_templates/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm b/ntc_templates/templates/cisco_asa_show_crypto_ipsec_sa.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ipsec_sa.textfsm rename to ntc_templates/templates/cisco_asa_show_crypto_ipsec_sa.textfsm diff --git a/templates/cisco_asa_show_failover.textfsm b/ntc_templates/templates/cisco_asa_show_failover.textfsm similarity index 100% rename from templates/cisco_asa_show_failover.textfsm rename to ntc_templates/templates/cisco_asa_show_failover.textfsm diff --git a/templates/cisco_asa_show_interface.textfsm b/ntc_templates/templates/cisco_asa_show_interface.textfsm similarity index 100% rename from templates/cisco_asa_show_interface.textfsm rename to ntc_templates/templates/cisco_asa_show_interface.textfsm diff --git a/templates/cisco_asa_show_interface_detail.textfsm b/ntc_templates/templates/cisco_asa_show_interface_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_interface_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_interface_detail.textfsm diff --git a/templates/cisco_asa_show_inventory.textfsm b/ntc_templates/templates/cisco_asa_show_inventory.textfsm similarity index 100% rename from templates/cisco_asa_show_inventory.textfsm rename to ntc_templates/templates/cisco_asa_show_inventory.textfsm diff --git a/templates/cisco_asa_show_license_all.textfsm b/ntc_templates/templates/cisco_asa_show_license_all.textfsm similarity index 100% rename from templates/cisco_asa_show_license_all.textfsm rename to ntc_templates/templates/cisco_asa_show_license_all.textfsm diff --git a/templates/cisco_asa_show_logging.textfsm b/ntc_templates/templates/cisco_asa_show_logging.textfsm similarity index 100% rename from templates/cisco_asa_show_logging.textfsm rename to ntc_templates/templates/cisco_asa_show_logging.textfsm diff --git a/templates/cisco_asa_show_name.textfsm b/ntc_templates/templates/cisco_asa_show_name.textfsm similarity index 100% rename from templates/cisco_asa_show_name.textfsm rename to ntc_templates/templates/cisco_asa_show_name.textfsm diff --git a/templates/cisco_asa_show_nat.textfsm b/ntc_templates/templates/cisco_asa_show_nat.textfsm similarity index 100% rename from templates/cisco_asa_show_nat.textfsm rename to ntc_templates/templates/cisco_asa_show_nat.textfsm diff --git a/templates/cisco_asa_show_object-group_network.textfsm b/ntc_templates/templates/cisco_asa_show_object-group_network.textfsm similarity index 100% rename from templates/cisco_asa_show_object-group_network.textfsm rename to ntc_templates/templates/cisco_asa_show_object-group_network.textfsm diff --git a/templates/cisco_asa_show_resource_usage.textfsm b/ntc_templates/templates/cisco_asa_show_resource_usage.textfsm similarity index 100% rename from templates/cisco_asa_show_resource_usage.textfsm rename to ntc_templates/templates/cisco_asa_show_resource_usage.textfsm diff --git a/templates/cisco_asa_show_route.textfsm b/ntc_templates/templates/cisco_asa_show_route.textfsm similarity index 100% rename from templates/cisco_asa_show_route.textfsm rename to ntc_templates/templates/cisco_asa_show_route.textfsm diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_all_crypto_map.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_all_crypto_map.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_all_crypto_map.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_ikev1.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_map.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_crypto_map.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_map.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_crypto_map.textfsm diff --git a/templates/cisco_asa_show_running-config_ipsec.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_ipsec.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_ipsec.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_ipsec.textfsm diff --git a/templates/cisco_asa_show_running-config_object_network.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_object_network.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm diff --git a/templates/cisco_asa_show_running-config_tunnel-group.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_tunnel-group.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_tunnel-group.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_tunnel-group.textfsm diff --git a/templates/cisco_asa_show_version.textfsm b/ntc_templates/templates/cisco_asa_show_version.textfsm similarity index 100% rename from templates/cisco_asa_show_version.textfsm rename to ntc_templates/templates/cisco_asa_show_version.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm diff --git a/templates/cisco_asa_show_xlate.textfsm b/ntc_templates/templates/cisco_asa_show_xlate.textfsm similarity index 100% rename from templates/cisco_asa_show_xlate.textfsm rename to ntc_templates/templates/cisco_asa_show_xlate.textfsm diff --git a/templates/cisco_ios_dir.textfsm b/ntc_templates/templates/cisco_ios_dir.textfsm similarity index 100% rename from templates/cisco_ios_dir.textfsm rename to ntc_templates/templates/cisco_ios_dir.textfsm diff --git a/templates/cisco_ios_show_access-list.textfsm b/ntc_templates/templates/cisco_ios_show_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_access-list.textfsm rename to ntc_templates/templates/cisco_ios_show_access-list.textfsm diff --git a/templates/cisco_ios_show_access-session.textfsm b/ntc_templates/templates/cisco_ios_show_access-session.textfsm similarity index 100% rename from templates/cisco_ios_show_access-session.textfsm rename to ntc_templates/templates/cisco_ios_show_access-session.textfsm diff --git a/templates/cisco_ios_show_adjacency.textfsm b/ntc_templates/templates/cisco_ios_show_adjacency.textfsm similarity index 100% rename from templates/cisco_ios_show_adjacency.textfsm rename to ntc_templates/templates/cisco_ios_show_adjacency.textfsm diff --git a/templates/cisco_ios_show_alert_counters.textfsm b/ntc_templates/templates/cisco_ios_show_alert_counters.textfsm similarity index 100% rename from templates/cisco_ios_show_alert_counters.textfsm rename to ntc_templates/templates/cisco_ios_show_alert_counters.textfsm diff --git a/templates/cisco_ios_show_aliases.textfsm b/ntc_templates/templates/cisco_ios_show_aliases.textfsm similarity index 100% rename from templates/cisco_ios_show_aliases.textfsm rename to ntc_templates/templates/cisco_ios_show_aliases.textfsm diff --git a/templates/cisco_ios_show_archive.textfsm b/ntc_templates/templates/cisco_ios_show_archive.textfsm similarity index 100% rename from templates/cisco_ios_show_archive.textfsm rename to ntc_templates/templates/cisco_ios_show_archive.textfsm diff --git a/templates/cisco_ios_show_authentication_sessions.textfsm b/ntc_templates/templates/cisco_ios_show_authentication_sessions.textfsm similarity index 100% rename from templates/cisco_ios_show_authentication_sessions.textfsm rename to ntc_templates/templates/cisco_ios_show_authentication_sessions.textfsm diff --git a/templates/cisco_ios_show_boot.textfsm b/ntc_templates/templates/cisco_ios_show_boot.textfsm similarity index 100% rename from templates/cisco_ios_show_boot.textfsm rename to ntc_templates/templates/cisco_ios_show_boot.textfsm diff --git a/templates/cisco_ios_show_capability_feature_routing.textfsm b/ntc_templates/templates/cisco_ios_show_capability_feature_routing.textfsm similarity index 100% rename from templates/cisco_ios_show_capability_feature_routing.textfsm rename to ntc_templates/templates/cisco_ios_show_capability_feature_routing.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_cdp_neighbors.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_ios_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_clock.textfsm b/ntc_templates/templates/cisco_ios_show_clock.textfsm similarity index 100% rename from templates/cisco_ios_show_clock.textfsm rename to ntc_templates/templates/cisco_ios_show_clock.textfsm diff --git a/templates/cisco_ios_show_controller_t1.textfsm b/ntc_templates/templates/cisco_ios_show_controller_t1.textfsm similarity index 100% rename from templates/cisco_ios_show_controller_t1.textfsm rename to ntc_templates/templates/cisco_ios_show_controller_t1.textfsm diff --git a/templates/cisco_ios_show_dmvpn.textfsm b/ntc_templates/templates/cisco_ios_show_dmvpn.textfsm similarity index 100% rename from templates/cisco_ios_show_dmvpn.textfsm rename to ntc_templates/templates/cisco_ios_show_dmvpn.textfsm diff --git a/templates/cisco_ios_show_dot1x_all.textfsm b/ntc_templates/templates/cisco_ios_show_dot1x_all.textfsm similarity index 100% rename from templates/cisco_ios_show_dot1x_all.textfsm rename to ntc_templates/templates/cisco_ios_show_dot1x_all.textfsm diff --git a/templates/cisco_ios_show_environment_power_all.textfsm b/ntc_templates/templates/cisco_ios_show_environment_power_all.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_power_all.textfsm rename to ntc_templates/templates/cisco_ios_show_environment_power_all.textfsm diff --git a/templates/cisco_ios_show_environment_temperature.textfsm b/ntc_templates/templates/cisco_ios_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_temperature.textfsm rename to ntc_templates/templates/cisco_ios_show_environment_temperature.textfsm diff --git a/templates/cisco_ios_show_etherchannel_summary.textfsm b/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_etherchannel_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm diff --git a/templates/cisco_ios_show_hosts_summary.textfsm b/ntc_templates/templates/cisco_ios_show_hosts_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_hosts_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_hosts_summary.textfsm diff --git a/templates/cisco_ios_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_ios_show_interface_transceiver.textfsm similarity index 100% rename from templates/cisco_ios_show_interface_transceiver.textfsm rename to ntc_templates/templates/cisco_ios_show_interface_transceiver.textfsm diff --git a/templates/cisco_ios_show_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces.textfsm diff --git a/templates/cisco_ios_show_interfaces_description.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_description.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_description.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_description.textfsm diff --git a/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_status.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_switchport.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm diff --git a/templates/cisco_ios_show_inventory.textfsm b/ntc_templates/templates/cisco_ios_show_inventory.textfsm similarity index 100% rename from templates/cisco_ios_show_inventory.textfsm rename to ntc_templates/templates/cisco_ios_show_inventory.textfsm diff --git a/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_access-lists.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm diff --git a/templates/cisco_ios_show_ip_arp.textfsm b/ntc_templates/templates/cisco_ios_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_arp.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_arp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/ntc_templates/templates/cisco_ios_show_ip_cef.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_cef.textfsm diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/ntc_templates/templates/cisco_ios_show_ip_cef_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_cef_detail.textfsm diff --git a/templates/cisco_ios_show_ip_device_tracking_all.textfsm b/ntc_templates/templates/cisco_ios_show_ip_device_tracking_all.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_device_tracking_all.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_device_tracking_all.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_topology.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_topology.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm diff --git a/templates/cisco_ios_show_ip_flow_toptalkers.textfsm b/ntc_templates/templates/cisco_ios_show_ip_flow_toptalkers.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_flow_toptalkers.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_flow_toptalkers.textfsm diff --git a/templates/cisco_ios_show_ip_interface.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_interface.textfsm diff --git a/templates/cisco_ios_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_mroute.textfsm b/ntc_templates/templates/cisco_ios_show_ip_mroute.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_mroute.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_mroute.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database_network.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database_network.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database_network.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database_router.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database_router.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database_router.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_ios_show_ip_prefix-list.textfsm b/ntc_templates/templates/cisco_ios_show_ip_prefix-list.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_prefix-list.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_prefix-list.textfsm diff --git a/templates/cisco_ios_show_ip_route.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_route.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_route.textfsm diff --git a/templates/cisco_ios_show_ip_route_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_route_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_route_summary.textfsm diff --git a/templates/cisco_ios_show_ip_source_binding.textfsm b/ntc_templates/templates/cisco_ios_show_ip_source_binding.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_source_binding.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_source_binding.textfsm diff --git a/templates/cisco_ios_show_ip_vrf_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_ip_vrf_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_vrf_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_vrf_interfaces.textfsm diff --git a/templates/cisco_ios_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ipv6_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_ios_show_isdn_status.textfsm b/ntc_templates/templates/cisco_ios_show_isdn_status.textfsm similarity index 100% rename from templates/cisco_ios_show_isdn_status.textfsm rename to ntc_templates/templates/cisco_ios_show_isdn_status.textfsm diff --git a/templates/cisco_ios_show_isis_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_isis_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_isis_neighbors.textfsm diff --git a/templates/cisco_ios_show_license.textfsm b/ntc_templates/templates/cisco_ios_show_license.textfsm similarity index 100% rename from templates/cisco_ios_show_license.textfsm rename to ntc_templates/templates/cisco_ios_show_license.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_lldp_neighbors.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_logging.textfsm b/ntc_templates/templates/cisco_ios_show_logging.textfsm similarity index 100% rename from templates/cisco_ios_show_logging.textfsm rename to ntc_templates/templates/cisco_ios_show_logging.textfsm diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm similarity index 100% rename from templates/cisco_ios_show_mac-address-table.textfsm rename to ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm diff --git a/templates/cisco_ios_show_module.textfsm b/ntc_templates/templates/cisco_ios_show_module.textfsm similarity index 100% rename from templates/cisco_ios_show_module.textfsm rename to ntc_templates/templates/cisco_ios_show_module.textfsm diff --git a/templates/cisco_ios_show_module_online_diag.textfsm b/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm similarity index 100% rename from templates/cisco_ios_show_module_online_diag.textfsm rename to ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm diff --git a/templates/cisco_ios_show_module_status.textfsm b/ntc_templates/templates/cisco_ios_show_module_status.textfsm similarity index 100% rename from templates/cisco_ios_show_module_status.textfsm rename to ntc_templates/templates/cisco_ios_show_module_status.textfsm diff --git a/templates/cisco_ios_show_module_submodule.textfsm b/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm similarity index 100% rename from templates/cisco_ios_show_module_submodule.textfsm rename to ntc_templates/templates/cisco_ios_show_module_submodule.textfsm diff --git a/templates/cisco_ios_show_mpls_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_mpls_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_mpls_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_mpls_interfaces.textfsm diff --git a/templates/cisco_ios_show_object-group.textfsm b/ntc_templates/templates/cisco_ios_show_object-group.textfsm similarity index 100% rename from templates/cisco_ios_show_object-group.textfsm rename to ntc_templates/templates/cisco_ios_show_object-group.textfsm diff --git a/templates/cisco_ios_show_platform_diag.textfsm b/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm similarity index 100% rename from templates/cisco_ios_show_platform_diag.textfsm rename to ntc_templates/templates/cisco_ios_show_platform_diag.textfsm diff --git a/templates/cisco_ios_show_power_available.textfsm b/ntc_templates/templates/cisco_ios_show_power_available.textfsm similarity index 100% rename from templates/cisco_ios_show_power_available.textfsm rename to ntc_templates/templates/cisco_ios_show_power_available.textfsm diff --git a/templates/cisco_ios_show_power_status.textfsm b/ntc_templates/templates/cisco_ios_show_power_status.textfsm similarity index 100% rename from templates/cisco_ios_show_power_status.textfsm rename to ntc_templates/templates/cisco_ios_show_power_status.textfsm diff --git a/templates/cisco_ios_show_power_supplies.textfsm b/ntc_templates/templates/cisco_ios_show_power_supplies.textfsm similarity index 100% rename from templates/cisco_ios_show_power_supplies.textfsm rename to ntc_templates/templates/cisco_ios_show_power_supplies.textfsm diff --git a/templates/cisco_ios_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_ios_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_ios_show_processes_cpu.textfsm diff --git a/templates/cisco_ios_show_processes_memory_sorted.textfsm b/ntc_templates/templates/cisco_ios_show_processes_memory_sorted.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_memory_sorted.textfsm rename to ntc_templates/templates/cisco_ios_show_processes_memory_sorted.textfsm diff --git a/templates/cisco_ios_show_redundancy.textfsm b/ntc_templates/templates/cisco_ios_show_redundancy.textfsm similarity index 100% rename from templates/cisco_ios_show_redundancy.textfsm rename to ntc_templates/templates/cisco_ios_show_redundancy.textfsm diff --git a/templates/cisco_ios_show_route-map.textfsm b/ntc_templates/templates/cisco_ios_show_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_route-map.textfsm rename to ntc_templates/templates/cisco_ios_show_route-map.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_access-list.textfsm b/ntc_templates/templates/cisco_ios_show_running-config_partition_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_access-list.textfsm rename to ntc_templates/templates/cisco_ios_show_running-config_partition_access-list.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_route-map.textfsm b/ntc_templates/templates/cisco_ios_show_running-config_partition_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_route-map.textfsm rename to ntc_templates/templates/cisco_ios_show_running-config_partition_route-map.textfsm diff --git a/templates/cisco_ios_show_snmp_community.textfsm b/ntc_templates/templates/cisco_ios_show_snmp_community.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_community.textfsm rename to ntc_templates/templates/cisco_ios_show_snmp_community.textfsm diff --git a/templates/cisco_ios_show_snmp_user.textfsm b/ntc_templates/templates/cisco_ios_show_snmp_user.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_user.textfsm rename to ntc_templates/templates/cisco_ios_show_snmp_user.textfsm diff --git a/templates/cisco_ios_show_spanning-tree.textfsm b/ntc_templates/templates/cisco_ios_show_spanning-tree.textfsm similarity index 100% rename from templates/cisco_ios_show_spanning-tree.textfsm rename to ntc_templates/templates/cisco_ios_show_spanning-tree.textfsm diff --git a/templates/cisco_ios_show_standby.textfsm b/ntc_templates/templates/cisco_ios_show_standby.textfsm similarity index 100% rename from templates/cisco_ios_show_standby.textfsm rename to ntc_templates/templates/cisco_ios_show_standby.textfsm diff --git a/templates/cisco_ios_show_standby_brief.textfsm b/ntc_templates/templates/cisco_ios_show_standby_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_standby_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_standby_brief.textfsm diff --git a/templates/cisco_ios_show_switch_detail.textfsm b/ntc_templates/templates/cisco_ios_show_switch_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_switch_detail.textfsm diff --git a/templates/cisco_ios_show_switch_detail_stack_ports.textfsm b/ntc_templates/templates/cisco_ios_show_switch_detail_stack_ports.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail_stack_ports.textfsm rename to ntc_templates/templates/cisco_ios_show_switch_detail_stack_ports.textfsm diff --git a/templates/cisco_ios_show_tacacs.textfsm b/ntc_templates/templates/cisco_ios_show_tacacs.textfsm similarity index 100% rename from templates/cisco_ios_show_tacacs.textfsm rename to ntc_templates/templates/cisco_ios_show_tacacs.textfsm diff --git a/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm similarity index 100% rename from templates/cisco_ios_show_version.textfsm rename to ntc_templates/templates/cisco_ios_show_version.textfsm diff --git a/templates/cisco_ios_show_vlan.textfsm b/ntc_templates/templates/cisco_ios_show_vlan.textfsm similarity index 100% rename from templates/cisco_ios_show_vlan.textfsm rename to ntc_templates/templates/cisco_ios_show_vlan.textfsm diff --git a/templates/cisco_ios_show_vrf.textfsm b/ntc_templates/templates/cisco_ios_show_vrf.textfsm similarity index 100% rename from templates/cisco_ios_show_vrf.textfsm rename to ntc_templates/templates/cisco_ios_show_vrf.textfsm diff --git a/templates/cisco_ios_show_vrrp_all.textfsm b/ntc_templates/templates/cisco_ios_show_vrrp_all.textfsm similarity index 100% rename from templates/cisco_ios_show_vrrp_all.textfsm rename to ntc_templates/templates/cisco_ios_show_vrrp_all.textfsm diff --git a/templates/cisco_ios_show_vrrp_brief.textfsm b/ntc_templates/templates/cisco_ios_show_vrrp_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_vrrp_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_vrrp_brief.textfsm diff --git a/templates/cisco_ios_show_vtp_status.textfsm b/ntc_templates/templates/cisco_ios_show_vtp_status.textfsm similarity index 100% rename from templates/cisco_ios_show_vtp_status.textfsm rename to ntc_templates/templates/cisco_ios_show_vtp_status.textfsm diff --git a/templates/cisco_ios_traceroute.textfsm b/ntc_templates/templates/cisco_ios_traceroute.textfsm similarity index 100% rename from templates/cisco_ios_traceroute.textfsm rename to ntc_templates/templates/cisco_ios_traceroute.textfsm diff --git a/templates/cisco_nxos_show_access-lists.textfsm b/ntc_templates/templates/cisco_nxos_show_access-lists.textfsm similarity index 100% rename from templates/cisco_nxos_show_access-lists.textfsm rename to ntc_templates/templates/cisco_nxos_show_access-lists.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_cdp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_clock.textfsm b/ntc_templates/templates/cisco_nxos_show_clock.textfsm similarity index 100% rename from templates/cisco_nxos_show_clock.textfsm rename to ntc_templates/templates/cisco_nxos_show_clock.textfsm diff --git a/templates/cisco_nxos_show_configuration_session_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_configuration_session_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_configuration_session_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_configuration_session_summary.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_all.textfsm b/ntc_templates/templates/cisco_nxos_show_cts_interface_all.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_all.textfsm rename to ntc_templates/templates/cisco_nxos_show_cts_interface_all.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_cts_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_cts_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_environment.textfsm b/ntc_templates/templates/cisco_nxos_show_environment.textfsm similarity index 100% rename from templates/cisco_nxos_show_environment.textfsm rename to ntc_templates/templates/cisco_nxos_show_environment.textfsm diff --git a/templates/cisco_nxos_show_environment_temperature.textfsm b/ntc_templates/templates/cisco_nxos_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_nxos_show_environment_temperature.textfsm rename to ntc_templates/templates/cisco_nxos_show_environment_temperature.textfsm diff --git a/templates/cisco_nxos_show_feature.textfsm b/ntc_templates/templates/cisco_nxos_show_feature.textfsm similarity index 100% rename from templates/cisco_nxos_show_feature.textfsm rename to ntc_templates/templates/cisco_nxos_show_feature.textfsm diff --git a/templates/cisco_nxos_show_fex.textfsm b/ntc_templates/templates/cisco_nxos_show_fex.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex.textfsm rename to ntc_templates/templates/cisco_nxos_show_fex.textfsm diff --git a/templates/cisco_nxos_show_fex_id.textfsm b/ntc_templates/templates/cisco_nxos_show_fex_id.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex_id.textfsm rename to ntc_templates/templates/cisco_nxos_show_fex_id.textfsm diff --git a/templates/cisco_nxos_show_flogi_database.textfsm b/ntc_templates/templates/cisco_nxos_show_flogi_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_flogi_database.textfsm rename to ntc_templates/templates/cisco_nxos_show_flogi_database.textfsm diff --git a/templates/cisco_nxos_show_forwarding_adjacency.textfsm b/ntc_templates/templates/cisco_nxos_show_forwarding_adjacency.textfsm similarity index 100% rename from templates/cisco_nxos_show_forwarding_adjacency.textfsm rename to ntc_templates/templates/cisco_nxos_show_forwarding_adjacency.textfsm diff --git a/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm b/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_forwarding_ipv4_route.textfsm rename to ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm diff --git a/templates/cisco_nxos_show_hostname.textfsm b/ntc_templates/templates/cisco_nxos_show_hostname.textfsm similarity index 100% rename from templates/cisco_nxos_show_hostname.textfsm rename to ntc_templates/templates/cisco_nxos_show_hostname.textfsm diff --git a/templates/cisco_nxos_show_hsrp_all.textfsm b/ntc_templates/templates/cisco_nxos_show_hsrp_all.textfsm similarity index 100% rename from templates/cisco_nxos_show_hsrp_all.textfsm rename to ntc_templates/templates/cisco_nxos_show_hsrp_all.textfsm diff --git a/templates/cisco_nxos_show_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface.textfsm diff --git a/templates/cisco_nxos_show_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm similarity index 97% rename from templates/cisco_nxos_show_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm index 1ca05046fc..a6397ca639 100644 --- a/templates/cisco_nxos_show_interface_brief.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm @@ -4,7 +4,7 @@ Value STATUS (up|down) Value IP (\d+\.\d+\.\d+\.\d+) Value SPEED (\S+) Value MTU (\d+) -Value VLAN ([\d+--]+) +Value VLAN ([\d+-]+) Value TYPE (\S+) Value MODE (routed|access|trunk|pvlan|fabric) Value REASON (\S+((\s\w+)+)?) diff --git a/templates/cisco_nxos_show_interface_description.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_description.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_description.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_description.textfsm diff --git a/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_status.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_status.textfsm diff --git a/templates/cisco_nxos_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_transceiver.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm diff --git a/templates/cisco_nxos_show_interface_transceiver_details.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver_details.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_transceiver_details.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_transceiver_details.textfsm diff --git a/templates/cisco_nxos_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_nxos_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_nxos_show_interfaces_switchport.textfsm rename to ntc_templates/templates/cisco_nxos_show_interfaces_switchport.textfsm diff --git a/templates/cisco_nxos_show_inventory.textfsm b/ntc_templates/templates/cisco_nxos_show_inventory.textfsm similarity index 100% rename from templates/cisco_nxos_show_inventory.textfsm rename to ntc_templates/templates/cisco_nxos_show_inventory.textfsm diff --git a/templates/cisco_nxos_show_ip_adjacency.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_adjacency.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_adjacency.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_adjacency.textfsm diff --git a/templates/cisco_nxos_show_ip_arp.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_arp.textfsm diff --git a/templates/cisco_nxos_show_ip_arp_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_arp_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_arp_detail.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm diff --git a/templates/cisco_nxos_show_ip_community-list.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_community-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_community-list.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_community-list.textfsm diff --git a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm diff --git a/templates/cisco_nxos_show_ip_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm diff --git a/templates/cisco_nxos_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_database.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_database.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_ospf_database.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_nxos_show_ip_route.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_route.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_route.textfsm diff --git a/templates/cisco_nxos_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm b/ntc_templates/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm rename to ntc_templates/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm diff --git a/templates/cisco_nxos_show_license_usage.textfsm b/ntc_templates/templates/cisco_nxos_show_license_usage.textfsm similarity index 100% rename from templates/cisco_nxos_show_license_usage.textfsm rename to ntc_templates/templates/cisco_nxos_show_license_usage.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_lldp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_mac_address-table.textfsm b/ntc_templates/templates/cisco_nxos_show_mac_address-table.textfsm similarity index 100% rename from templates/cisco_nxos_show_mac_address-table.textfsm rename to ntc_templates/templates/cisco_nxos_show_mac_address-table.textfsm diff --git a/templates/cisco_nxos_show_module.textfsm b/ntc_templates/templates/cisco_nxos_show_module.textfsm similarity index 100% rename from templates/cisco_nxos_show_module.textfsm rename to ntc_templates/templates/cisco_nxos_show_module.textfsm diff --git a/templates/cisco_nxos_show_port-channel_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_port-channel_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_port-channel_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_port-channel_summary.textfsm diff --git a/templates/cisco_nxos_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_nxos_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_nxos_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_nxos_show_processes_cpu.textfsm diff --git a/templates/cisco_nxos_show_route-map.textfsm b/ntc_templates/templates/cisco_nxos_show_route-map.textfsm similarity index 100% rename from templates/cisco_nxos_show_route-map.textfsm rename to ntc_templates/templates/cisco_nxos_show_route-map.textfsm diff --git a/templates/cisco_nxos_show_vdc.textfsm b/ntc_templates/templates/cisco_nxos_show_vdc.textfsm similarity index 100% rename from templates/cisco_nxos_show_vdc.textfsm rename to ntc_templates/templates/cisco_nxos_show_vdc.textfsm diff --git a/templates/cisco_nxos_show_version.textfsm b/ntc_templates/templates/cisco_nxos_show_version.textfsm similarity index 100% rename from templates/cisco_nxos_show_version.textfsm rename to ntc_templates/templates/cisco_nxos_show_version.textfsm diff --git a/templates/cisco_nxos_show_vlan.textfsm b/ntc_templates/templates/cisco_nxos_show_vlan.textfsm similarity index 100% rename from templates/cisco_nxos_show_vlan.textfsm rename to ntc_templates/templates/cisco_nxos_show_vlan.textfsm diff --git a/templates/cisco_nxos_show_vpc.textfsm b/ntc_templates/templates/cisco_nxos_show_vpc.textfsm similarity index 100% rename from templates/cisco_nxos_show_vpc.textfsm rename to ntc_templates/templates/cisco_nxos_show_vpc.textfsm diff --git a/templates/cisco_nxos_show_vrf.textfsm b/ntc_templates/templates/cisco_nxos_show_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_vrf.textfsm rename to ntc_templates/templates/cisco_nxos_show_vrf.textfsm diff --git a/templates/cisco_nxos_show_vrf_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_vrf_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_vrf_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_vrf_interface.textfsm diff --git a/templates/cisco_s300_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_s300_show_interfaces_status.textfsm similarity index 100% rename from templates/cisco_s300_show_interfaces_status.textfsm rename to ntc_templates/templates/cisco_s300_show_interfaces_status.textfsm diff --git a/templates/cisco_s300_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_s300_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_s300_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_s300_show_lldp_neighbors.textfsm diff --git a/templates/cisco_s300_show_mac_address-table.textfsm b/ntc_templates/templates/cisco_s300_show_mac_address-table.textfsm similarity index 100% rename from templates/cisco_s300_show_mac_address-table.textfsm rename to ntc_templates/templates/cisco_s300_show_mac_address-table.textfsm diff --git a/templates/cisco_s300_show_version.textfsm b/ntc_templates/templates/cisco_s300_show_version.textfsm similarity index 100% rename from templates/cisco_s300_show_version.textfsm rename to ntc_templates/templates/cisco_s300_show_version.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_802.11a.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_802.11a.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm diff --git a/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_config_general.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_config_general.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_config_general.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_config_general.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_image_all.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_image_all.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_image_all.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_image_all.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_band-select.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_band-select.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_band-select.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_band-select.textfsm diff --git a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_client_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_client_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_client_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_client_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_exclusionlist.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_exclusionlist.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_exclusionlist.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_exclusionlist.textfsm diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm diff --git a/templates/cisco_wlc_ssh_show_interface_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_interface_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_interface_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_interface_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_inventory.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_inventory.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm diff --git a/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_mobility_anchor.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm diff --git a/templates/cisco_wlc_ssh_show_mobility_sum.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_mobility_sum.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_mobility_sum.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_mobility_sum.textfsm diff --git a/templates/cisco_wlc_ssh_show_port_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_port_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_port_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_port_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_radius_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_radius_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_radius_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_radius_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_redundancy_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_redundancy_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_stats_port_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_sysinfo.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_sysinfo.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_sysinfo.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_sysinfo.textfsm diff --git a/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_tacacs_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_time.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_time.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_time.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_time.textfsm diff --git a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_wlan_sum.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_wlan_sum.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_wlan_sum.textfsm diff --git a/templates/cisco_xr_admin_show_controller_fabric_health.textfsm b/ntc_templates/templates/cisco_xr_admin_show_controller_fabric_health.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_controller_fabric_health.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_controller_fabric_health.textfsm diff --git a/templates/cisco_xr_admin_show_environment_fan.textfsm b/ntc_templates/templates/cisco_xr_admin_show_environment_fan.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_environment_fan.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_environment_fan.textfsm diff --git a/templates/cisco_xr_admin_show_environment_power.textfsm b/ntc_templates/templates/cisco_xr_admin_show_environment_power.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_environment_power.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_environment_power.textfsm diff --git a/templates/cisco_xr_admin_show_inventory.textfsm b/ntc_templates/templates/cisco_xr_admin_show_inventory.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_inventory.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_inventory.textfsm diff --git a/templates/cisco_xr_admin_show_platform.textfsm b/ntc_templates/templates/cisco_xr_admin_show_platform.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_platform.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_platform.textfsm diff --git a/templates/cisco_xr_admin_show_vm.textfsm b/ntc_templates/templates/cisco_xr_admin_show_vm.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_vm.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_vm.textfsm diff --git a/templates/cisco_xr_show_arp.textfsm b/ntc_templates/templates/cisco_xr_show_arp.textfsm similarity index 100% rename from templates/cisco_xr_show_arp.textfsm rename to ntc_templates/templates/cisco_xr_show_arp.textfsm diff --git a/templates/cisco_xr_show_asic-errors_all_location.textfsm b/ntc_templates/templates/cisco_xr_show_asic-errors_all_location.textfsm similarity index 100% rename from templates/cisco_xr_show_asic-errors_all_location.textfsm rename to ntc_templates/templates/cisco_xr_show_asic-errors_all_location.textfsm diff --git a/templates/cisco_xr_show_bfd_sessions.textfsm b/ntc_templates/templates/cisco_xr_show_bfd_sessions.textfsm similarity index 100% rename from templates/cisco_xr_show_bfd_sessions.textfsm rename to ntc_templates/templates/cisco_xr_show_bfd_sessions.textfsm diff --git a/templates/cisco_xr_show_bgp.textfsm b/ntc_templates/templates/cisco_xr_show_bgp.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp.textfsm diff --git a/templates/cisco_xr_show_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp_neighbors.textfsm diff --git a/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm diff --git a/templates/cisco_xr_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_xr_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_xr_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_xr_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_xr_show_cef_drops_location.textfsm b/ntc_templates/templates/cisco_xr_show_cef_drops_location.textfsm similarity index 100% rename from templates/cisco_xr_show_cef_drops_location.textfsm rename to ntc_templates/templates/cisco_xr_show_cef_drops_location.textfsm diff --git a/templates/cisco_xr_show_configuration_commit_list.textfsm b/ntc_templates/templates/cisco_xr_show_configuration_commit_list.textfsm similarity index 100% rename from templates/cisco_xr_show_configuration_commit_list.textfsm rename to ntc_templates/templates/cisco_xr_show_configuration_commit_list.textfsm diff --git a/templates/cisco_xr_show_controller_fabric_plane_all.textfsm b/ntc_templates/templates/cisco_xr_show_controller_fabric_plane_all.textfsm similarity index 100% rename from templates/cisco_xr_show_controller_fabric_plane_all.textfsm rename to ntc_templates/templates/cisco_xr_show_controller_fabric_plane_all.textfsm diff --git a/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm diff --git a/templates/cisco_xr_show_controllers_all_phy.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_all_phy.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_all_phy.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_all_phy.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm diff --git a/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm b/ntc_templates/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm similarity index 100% rename from templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm rename to ntc_templates/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm diff --git a/templates/cisco_xr_show_drops_np_all.textfsm b/ntc_templates/templates/cisco_xr_show_drops_np_all.textfsm similarity index 100% rename from templates/cisco_xr_show_drops_np_all.textfsm rename to ntc_templates/templates/cisco_xr_show_drops_np_all.textfsm diff --git a/templates/cisco_xr_show_hsrp.textfsm b/ntc_templates/templates/cisco_xr_show_hsrp.textfsm similarity index 100% rename from templates/cisco_xr_show_hsrp.textfsm rename to ntc_templates/templates/cisco_xr_show_hsrp.textfsm diff --git a/templates/cisco_xr_show_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_interface_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_interface_brief.textfsm diff --git a/templates/cisco_xr_show_interfaces.textfsm b/ntc_templates/templates/cisco_xr_show_interfaces.textfsm similarity index 100% rename from templates/cisco_xr_show_interfaces.textfsm rename to ntc_templates/templates/cisco_xr_show_interfaces.textfsm diff --git a/templates/cisco_xr_show_interfaces_summary.textfsm b/ntc_templates/templates/cisco_xr_show_interfaces_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_interfaces_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_interfaces_summary.textfsm diff --git a/templates/cisco_xr_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_xr_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_xr_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_interface_brief.textfsm diff --git a/templates/cisco_xr_show_ip_route.textfsm b/ntc_templates/templates/cisco_xr_show_ip_route.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_route.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_route.textfsm diff --git a/templates/cisco_xr_show_ipv6_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_ipv6_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_xr_show_isis_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_isis_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_isis_neighbors.textfsm diff --git a/templates/cisco_xr_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_lldp_neighbors.textfsm diff --git a/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm b/ntc_templates/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm similarity index 100% rename from templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm rename to ntc_templates/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm diff --git a/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm b/ntc_templates/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm diff --git a/templates/cisco_xr_show_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_xr_show_ospf_neighbor.textfsm diff --git a/templates/cisco_xr_show_pim_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_pim_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_pim_neighbor.textfsm rename to ntc_templates/templates/cisco_xr_show_pim_neighbor.textfsm diff --git a/templates/cisco_xr_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_xr_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_xr_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_xr_show_processes_cpu.textfsm diff --git a/templates/cisco_xr_show_redundancy_summary.textfsm b/ntc_templates/templates/cisco_xr_show_redundancy_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_redundancy_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_redundancy_summary.textfsm diff --git a/templates/cisco_xr_show_rsvp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_rsvp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_rsvp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_rsvp_neighbors.textfsm diff --git a/templates/cisco_xr_show_version.textfsm b/ntc_templates/templates/cisco_xr_show_version.textfsm similarity index 100% rename from templates/cisco_xr_show_version.textfsm rename to ntc_templates/templates/cisco_xr_show_version.textfsm diff --git a/templates/dell_force10_show_arp.textfsm b/ntc_templates/templates/dell_force10_show_arp.textfsm similarity index 100% rename from templates/dell_force10_show_arp.textfsm rename to ntc_templates/templates/dell_force10_show_arp.textfsm diff --git a/templates/dell_force10_show_version.textfsm b/ntc_templates/templates/dell_force10_show_version.textfsm similarity index 100% rename from templates/dell_force10_show_version.textfsm rename to ntc_templates/templates/dell_force10_show_version.textfsm diff --git a/templates/dell_force10_show_vlan.textfsm b/ntc_templates/templates/dell_force10_show_vlan.textfsm similarity index 100% rename from templates/dell_force10_show_vlan.textfsm rename to ntc_templates/templates/dell_force10_show_vlan.textfsm diff --git a/templates/dell_force10_show_vlan_brief.textfsm b/ntc_templates/templates/dell_force10_show_vlan_brief.textfsm similarity index 100% rename from templates/dell_force10_show_vlan_brief.textfsm rename to ntc_templates/templates/dell_force10_show_vlan_brief.textfsm diff --git a/templates/dell_powerconnect_show_bridge_address_table.textfsm b/ntc_templates/templates/dell_powerconnect_show_bridge_address_table.textfsm similarity index 100% rename from templates/dell_powerconnect_show_bridge_address_table.textfsm rename to ntc_templates/templates/dell_powerconnect_show_bridge_address_table.textfsm diff --git a/templates/dell_powerconnect_show_interfaces_description.textfsm b/ntc_templates/templates/dell_powerconnect_show_interfaces_description.textfsm similarity index 100% rename from templates/dell_powerconnect_show_interfaces_description.textfsm rename to ntc_templates/templates/dell_powerconnect_show_interfaces_description.textfsm diff --git a/templates/dell_powerconnect_show_interfaces_status.textfsm b/ntc_templates/templates/dell_powerconnect_show_interfaces_status.textfsm similarity index 100% rename from templates/dell_powerconnect_show_interfaces_status.textfsm rename to ntc_templates/templates/dell_powerconnect_show_interfaces_status.textfsm diff --git a/templates/fortinet_get_router_info_bgp_summary.textfsm b/ntc_templates/templates/fortinet_get_router_info_bgp_summary.textfsm similarity index 100% rename from templates/fortinet_get_router_info_bgp_summary.textfsm rename to ntc_templates/templates/fortinet_get_router_info_bgp_summary.textfsm diff --git a/templates/fortinet_get_system_arp.textfsm b/ntc_templates/templates/fortinet_get_system_arp.textfsm similarity index 100% rename from templates/fortinet_get_system_arp.textfsm rename to ntc_templates/templates/fortinet_get_system_arp.textfsm diff --git a/templates/fortinet_get_system_ha_status.textfsm b/ntc_templates/templates/fortinet_get_system_ha_status.textfsm similarity index 100% rename from templates/fortinet_get_system_ha_status.textfsm rename to ntc_templates/templates/fortinet_get_system_ha_status.textfsm diff --git a/templates/fortinet_get_system_interface.textfsm b/ntc_templates/templates/fortinet_get_system_interface.textfsm similarity index 100% rename from templates/fortinet_get_system_interface.textfsm rename to ntc_templates/templates/fortinet_get_system_interface.textfsm diff --git a/templates/fortinet_get_system_interface_physical.textfsm b/ntc_templates/templates/fortinet_get_system_interface_physical.textfsm similarity index 100% rename from templates/fortinet_get_system_interface_physical.textfsm rename to ntc_templates/templates/fortinet_get_system_interface_physical.textfsm diff --git a/templates/fortinet_get_system_status.textfsm b/ntc_templates/templates/fortinet_get_system_status.textfsm similarity index 100% rename from templates/fortinet_get_system_status.textfsm rename to ntc_templates/templates/fortinet_get_system_status.textfsm diff --git a/templates/hp_comware_display_arp.textfsm b/ntc_templates/templates/hp_comware_display_arp.textfsm similarity index 100% rename from templates/hp_comware_display_arp.textfsm rename to ntc_templates/templates/hp_comware_display_arp.textfsm diff --git a/templates/hp_comware_display_clock.textfsm b/ntc_templates/templates/hp_comware_display_clock.textfsm similarity index 100% rename from templates/hp_comware_display_clock.textfsm rename to ntc_templates/templates/hp_comware_display_clock.textfsm diff --git a/templates/hp_comware_display_counters_bound_interface.textfsm b/ntc_templates/templates/hp_comware_display_counters_bound_interface.textfsm similarity index 100% rename from templates/hp_comware_display_counters_bound_interface.textfsm rename to ntc_templates/templates/hp_comware_display_counters_bound_interface.textfsm diff --git a/templates/hp_comware_display_device_manuinfo.textfsm b/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm similarity index 100% rename from templates/hp_comware_display_device_manuinfo.textfsm rename to ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm diff --git a/templates/hp_comware_display_ip_interface.textfsm b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm similarity index 100% rename from templates/hp_comware_display_ip_interface.textfsm rename to ntc_templates/templates/hp_comware_display_ip_interface.textfsm diff --git a/templates/hp_comware_display_ip_routing-table.textfsm b/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm similarity index 100% rename from templates/hp_comware_display_ip_routing-table.textfsm rename to ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm diff --git a/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm similarity index 100% rename from templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm rename to ntc_templates/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm diff --git a/templates/hp_comware_display_mac-address.textfsm b/ntc_templates/templates/hp_comware_display_mac-address.textfsm similarity index 100% rename from templates/hp_comware_display_mac-address.textfsm rename to ntc_templates/templates/hp_comware_display_mac-address.textfsm diff --git a/templates/hp_comware_display_vlan_brief.textfsm b/ntc_templates/templates/hp_comware_display_vlan_brief.textfsm similarity index 100% rename from templates/hp_comware_display_vlan_brief.textfsm rename to ntc_templates/templates/hp_comware_display_vlan_brief.textfsm diff --git a/templates/hp_procurve_show_arp.textfsm b/ntc_templates/templates/hp_procurve_show_arp.textfsm similarity index 100% rename from templates/hp_procurve_show_arp.textfsm rename to ntc_templates/templates/hp_procurve_show_arp.textfsm diff --git a/templates/hp_procurve_show_interfaces.textfsm b/ntc_templates/templates/hp_procurve_show_interfaces.textfsm similarity index 100% rename from templates/hp_procurve_show_interfaces.textfsm rename to ntc_templates/templates/hp_procurve_show_interfaces.textfsm diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/ntc_templates/templates/hp_procurve_show_interfaces_brief.textfsm similarity index 100% rename from templates/hp_procurve_show_interfaces_brief.textfsm rename to ntc_templates/templates/hp_procurve_show_interfaces_brief.textfsm diff --git a/templates/hp_procurve_show_lldp_info_remote-device.textfsm b/ntc_templates/templates/hp_procurve_show_lldp_info_remote-device.textfsm similarity index 100% rename from templates/hp_procurve_show_lldp_info_remote-device.textfsm rename to ntc_templates/templates/hp_procurve_show_lldp_info_remote-device.textfsm diff --git a/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm b/ntc_templates/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm similarity index 100% rename from templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm rename to ntc_templates/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm diff --git a/templates/hp_procurve_show_mac-address.textfsm b/ntc_templates/templates/hp_procurve_show_mac-address.textfsm similarity index 100% rename from templates/hp_procurve_show_mac-address.textfsm rename to ntc_templates/templates/hp_procurve_show_mac-address.textfsm diff --git a/templates/hp_procurve_show_port-security.textfsm b/ntc_templates/templates/hp_procurve_show_port-security.textfsm similarity index 100% rename from templates/hp_procurve_show_port-security.textfsm rename to ntc_templates/templates/hp_procurve_show_port-security.textfsm diff --git a/templates/hp_procurve_show_system.textfsm b/ntc_templates/templates/hp_procurve_show_system.textfsm similarity index 100% rename from templates/hp_procurve_show_system.textfsm rename to ntc_templates/templates/hp_procurve_show_system.textfsm diff --git a/templates/hp_procurve_show_tech_buffers.textfsm b/ntc_templates/templates/hp_procurve_show_tech_buffers.textfsm similarity index 100% rename from templates/hp_procurve_show_tech_buffers.textfsm rename to ntc_templates/templates/hp_procurve_show_tech_buffers.textfsm diff --git a/templates/hp_procurve_show_trunks.textfsm b/ntc_templates/templates/hp_procurve_show_trunks.textfsm similarity index 100% rename from templates/hp_procurve_show_trunks.textfsm rename to ntc_templates/templates/hp_procurve_show_trunks.textfsm diff --git a/templates/hp_procurve_show_vlans.textfsm b/ntc_templates/templates/hp_procurve_show_vlans.textfsm similarity index 100% rename from templates/hp_procurve_show_vlans.textfsm rename to ntc_templates/templates/hp_procurve_show_vlans.textfsm diff --git a/templates/huawei_vrp_display_interface_brief.textfsm b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm similarity index 100% rename from templates/huawei_vrp_display_interface_brief.textfsm rename to ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm diff --git a/templates/huawei_vrp_display_lldp_neighbor.textfsm b/ntc_templates/templates/huawei_vrp_display_lldp_neighbor.textfsm similarity index 100% rename from templates/huawei_vrp_display_lldp_neighbor.textfsm rename to ntc_templates/templates/huawei_vrp_display_lldp_neighbor.textfsm diff --git a/templates/huawei_vrp_display_temperature.textfsm b/ntc_templates/templates/huawei_vrp_display_temperature.textfsm similarity index 100% rename from templates/huawei_vrp_display_temperature.textfsm rename to ntc_templates/templates/huawei_vrp_display_temperature.textfsm diff --git a/templates/huawei_vrp_display_version.textfsm b/ntc_templates/templates/huawei_vrp_display_version.textfsm similarity index 100% rename from templates/huawei_vrp_display_version.textfsm rename to ntc_templates/templates/huawei_vrp_display_version.textfsm diff --git a/templates/index b/ntc_templates/templates/index similarity index 100% rename from templates/index rename to ntc_templates/templates/index diff --git a/templates/juniper_junos_show_arp_no-resolve.textfsm b/ntc_templates/templates/juniper_junos_show_arp_no-resolve.textfsm similarity index 100% rename from templates/juniper_junos_show_arp_no-resolve.textfsm rename to ntc_templates/templates/juniper_junos_show_arp_no-resolve.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_status.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_cluster_status.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_status.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_cluster_status.textfsm diff --git a/templates/juniper_junos_show_chassis_firmware.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_firmware.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_firmware.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_firmware.textfsm diff --git a/templates/juniper_junos_show_ethernet-switching_table.textfsm b/ntc_templates/templates/juniper_junos_show_ethernet-switching_table.textfsm similarity index 100% rename from templates/juniper_junos_show_ethernet-switching_table.textfsm rename to ntc_templates/templates/juniper_junos_show_ethernet-switching_table.textfsm diff --git a/templates/juniper_junos_show_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_interfaces.textfsm diff --git a/templates/juniper_junos_show_isis_adjacency.textfsm b/ntc_templates/templates/juniper_junos_show_isis_adjacency.textfsm similarity index 100% rename from templates/juniper_junos_show_isis_adjacency.textfsm rename to ntc_templates/templates/juniper_junos_show_isis_adjacency.textfsm diff --git a/templates/juniper_junos_show_lacp_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_lacp_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_lacp_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_lacp_interfaces.textfsm diff --git a/templates/juniper_junos_show_lldp_neighbors.textfsm b/ntc_templates/templates/juniper_junos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/juniper_junos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/juniper_junos_show_lldp_neighbors.textfsm diff --git a/templates/juniper_junos_show_ospf_neighbor.textfsm b/ntc_templates/templates/juniper_junos_show_ospf_neighbor.textfsm similarity index 100% rename from templates/juniper_junos_show_ospf_neighbor.textfsm rename to ntc_templates/templates/juniper_junos_show_ospf_neighbor.textfsm diff --git a/templates/juniper_junos_show_version.textfsm b/ntc_templates/templates/juniper_junos_show_version.textfsm similarity index 100% rename from templates/juniper_junos_show_version.textfsm rename to ntc_templates/templates/juniper_junos_show_version.textfsm diff --git a/templates/juniper_screenos_get_route.textfsm b/ntc_templates/templates/juniper_screenos_get_route.textfsm similarity index 100% rename from templates/juniper_screenos_get_route.textfsm rename to ntc_templates/templates/juniper_screenos_get_route.textfsm diff --git a/templates/linux_arp_-a.textfsm b/ntc_templates/templates/linux_arp_-a.textfsm similarity index 100% rename from templates/linux_arp_-a.textfsm rename to ntc_templates/templates/linux_arp_-a.textfsm diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/ntc_templates/templates/paloalto_panos_debug_swm_status.textfsm similarity index 100% rename from templates/paloalto_panos_debug_swm_status.textfsm rename to ntc_templates/templates/paloalto_panos_debug_swm_status.textfsm diff --git a/templates/paloalto_panos_show_arp_all.textfsm b/ntc_templates/templates/paloalto_panos_show_arp_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_arp_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_arp_all.textfsm diff --git a/templates/paloalto_panos_show_counter_global.textfsm b/ntc_templates/templates/paloalto_panos_show_counter_global.textfsm similarity index 100% rename from templates/paloalto_panos_show_counter_global.textfsm rename to ntc_templates/templates/paloalto_panos_show_counter_global.textfsm diff --git a/templates/paloalto_panos_show_high-availability_all.textfsm b/ntc_templates/templates/paloalto_panos_show_high-availability_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_high-availability_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_high-availability_all.textfsm diff --git a/templates/paloalto_panos_show_interface_hardware.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_hardware.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_hardware.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_hardware.textfsm diff --git a/templates/paloalto_panos_show_interface_logical.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_logical.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_logical.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_logical.textfsm diff --git a/templates/paloalto_panos_show_interface_management.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_management.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_management.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_management.textfsm diff --git a/templates/paloalto_panos_show_jobs_all.textfsm b/ntc_templates/templates/paloalto_panos_show_jobs_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_jobs_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_jobs_all.textfsm diff --git a/templates/paloalto_panos_show_mac_all.textfsm b/ntc_templates/templates/paloalto_panos_show_mac_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_mac_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_mac_all.textfsm diff --git a/templates/paloalto_panos_show_running_nat-policy.textfsm b/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_nat-policy.textfsm rename to ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm diff --git a/templates/paloalto_panos_show_running_security-policy.textfsm b/ntc_templates/templates/paloalto_panos_show_running_security-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_security-policy.textfsm rename to ntc_templates/templates/paloalto_panos_show_running_security-policy.textfsm diff --git a/templates/paloalto_panos_show_system_info.textfsm b/ntc_templates/templates/paloalto_panos_show_system_info.textfsm similarity index 100% rename from templates/paloalto_panos_show_system_info.textfsm rename to ntc_templates/templates/paloalto_panos_show_system_info.textfsm diff --git a/templates/paloalto_panos_test_security-policy-match.textfsm b/ntc_templates/templates/paloalto_panos_test_security-policy-match.textfsm similarity index 100% rename from templates/paloalto_panos_test_security-policy-match.textfsm rename to ntc_templates/templates/paloalto_panos_test_security-policy-match.textfsm diff --git a/templates/ruckus_fastiron_show_arp.textfsm b/ntc_templates/templates/ruckus_fastiron_show_arp.textfsm similarity index 100% rename from templates/ruckus_fastiron_show_arp.textfsm rename to ntc_templates/templates/ruckus_fastiron_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_arp.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_arp.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_arp.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_version.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_version.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_version.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_version.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_vlan.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_vlan.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_vlan.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_vlan.textfsm diff --git a/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm diff --git a/templates/vmware_nsxv_show_ip_route.textfsm b/ntc_templates/templates/vmware_nsxv_show_ip_route.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_route.textfsm rename to ntc_templates/templates/vmware_nsxv_show_ip_route.textfsm diff --git a/templates/vyatta_vyos_show_arp.textfsm b/ntc_templates/templates/vyatta_vyos_show_arp.textfsm similarity index 100% rename from templates/vyatta_vyos_show_arp.textfsm rename to ntc_templates/templates/vyatta_vyos_show_arp.textfsm diff --git a/templates/vyatta_vyos_show_interfaces.textfsm b/ntc_templates/templates/vyatta_vyos_show_interfaces.textfsm similarity index 100% rename from templates/vyatta_vyos_show_interfaces.textfsm rename to ntc_templates/templates/vyatta_vyos_show_interfaces.textfsm diff --git a/templates/vyatta_vyos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/vyatta_vyos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/vyatta_vyos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/vyatta_vyos_show_ip_bgp_summary.textfsm diff --git a/templates/watchguard_firebox_show_arp.textfsm b/ntc_templates/templates/watchguard_firebox_show_arp.textfsm similarity index 100% rename from templates/watchguard_firebox_show_arp.textfsm rename to ntc_templates/templates/watchguard_firebox_show_arp.textfsm diff --git a/templates/yamaha_show_environment.textfsm b/ntc_templates/templates/yamaha_show_environment.textfsm similarity index 100% rename from templates/yamaha_show_environment.textfsm rename to ntc_templates/templates/yamaha_show_environment.textfsm diff --git a/templates/yamaha_show_ip_route.textfsm b/ntc_templates/templates/yamaha_show_ip_route.textfsm similarity index 100% rename from templates/yamaha_show_ip_route.textfsm rename to ntc_templates/templates/yamaha_show_ip_route.textfsm diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000000..2814529484 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,667 @@ +[[package]] +name = "appdirs" +version = "1.4.4" +description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "atomicwrites" +version = "1.4.0" +description = "Atomic file writes." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "attrs" +version = "20.3.0" +description = "Classes Without Boilerplate" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.extras] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "furo", "sphinx", "pre-commit"] +docs = ["furo", "sphinx", "zope.interface"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six"] + +[[package]] +name = "black" +version = "20.8b1" +description = "The uncompromising code formatter." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +appdirs = "*" +click = ">=7.1.2" +dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} +mypy-extensions = ">=0.4.3" +pathspec = ">=0.6,<1" +regex = ">=2020.1.8" +toml = ">=0.10.1" +typed-ast = ">=1.4.0" +typing-extensions = ">=3.7.4" + +[package.extras] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] + +[[package]] +name = "click" +version = "7.1.2" +description = "Composable command line interface toolkit" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "colorama" +version = "0.4.4" +description = "Cross-platform colored terminal text." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "dataclasses" +version = "0.8" +description = "A backport of the dataclasses module for Python 3.6" +category = "dev" +optional = false +python-versions = ">=3.6, <3.7" + +[[package]] +name = "distlib" +version = "0.3.1" +description = "Distribution utilities" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "filelock" +version = "3.0.12" +description = "A platform independent file lock." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "flake8" +version = "3.8.4" +description = "the modular source code checker: pep8 pyflakes and co" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} +mccabe = ">=0.6.0,<0.7.0" +pycodestyle = ">=2.6.0a1,<2.7.0" +pyflakes = ">=2.2.0,<2.3.0" + +[[package]] +name = "future" +version = "0.18.2" +description = "Clean single-source support for Python 3 and 2" +category = "main" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "importlib-metadata" +version = "3.4.0" +description = "Read metadata from Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] + +[[package]] +name = "importlib-resources" +version = "5.0.0" +description = "Read resources from Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +zipp = {version = ">=0.4", markers = "python_version < \"3.8\""} + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "pytest-black (>=0.3.7)", "pytest-mypy"] + +[[package]] +name = "iniconfig" +version = "1.1.1" +description = "iniconfig: brain-dead simple config-ini parsing" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "mccabe" +version = "0.6.1" +description = "McCabe checker, plugin for flake8" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "mypy-extensions" +version = "0.4.3" +description = "Experimental type system extensions for programs checked with the mypy typechecker." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "packaging" +version = "20.8" +description = "Core utilities for Python packages" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.dependencies] +pyparsing = ">=2.0.2" + +[[package]] +name = "pathspec" +version = "0.8.1" +description = "Utility library for gitignore style pattern matching of file paths." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "pluggy" +version = "0.13.1" +description = "plugin and hook calling mechanisms for python" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.dependencies] +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} + +[package.extras] +dev = ["pre-commit", "tox"] + +[[package]] +name = "py" +version = "1.10.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pycodestyle" +version = "2.6.0" +description = "Python style guide checker" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pyflakes" +version = "2.2.0" +description = "passive checker of Python programs" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pyparsing" +version = "2.4.7" +description = "Python parsing module" +category = "dev" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "pytest" +version = "6.2.1" +description = "pytest: simple powerful testing with Python" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} +attrs = ">=19.2.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=0.12,<1.0.0a1" +py = ">=1.8.2" +toml = "*" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + +[[package]] +name = "pyyaml" +version = "5.3.1" +description = "YAML parser and emitter for Python" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "regex" +version = "2020.11.13" +description = "Alternative regular expression module, to replace re." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "ruamel.yaml" +version = "0.16.12" +description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +"ruamel.yaml.clib" = {version = ">=0.1.2", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.9\""} + +[package.extras] +docs = ["ryd"] +jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] + +[[package]] +name = "ruamel.yaml.clib" +version = "0.2.2" +description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "six" +version = "1.15.0" +description = "Python 2 and 3 compatibility utilities" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "textfsm" +version = "1.1.0" +description = "Python module for parsing semi-structured text into python tables." +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +future = "*" +six = "*" + +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +category = "dev" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "tox" +version = "3.21.0" +description = "tox is a generic virtualenv management and test command line tool" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" + +[package.dependencies] +colorama = {version = ">=0.4.1", markers = "platform_system == \"Windows\""} +filelock = ">=3.0.0" +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +packaging = ">=14" +pluggy = ">=0.12.0" +py = ">=1.4.17" +six = ">=1.14.0" +toml = ">=0.9.4" +virtualenv = ">=16.0.0,<20.0.0 || >20.0.0,<20.0.1 || >20.0.1,<20.0.2 || >20.0.2,<20.0.3 || >20.0.3,<20.0.4 || >20.0.4,<20.0.5 || >20.0.5,<20.0.6 || >20.0.6,<20.0.7 || >20.0.7" + +[package.extras] +docs = ["pygments-github-lexers (>=0.0.5)", "sphinx (>=2.0.0)", "sphinxcontrib-autoprogram (>=0.1.5)", "towncrier (>=18.5.0)"] +testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "psutil (>=5.6.1)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "pytest-xdist (>=1.22.2)", "pathlib2 (>=2.3.3)"] + +[[package]] +name = "typed-ast" +version = "1.4.2" +description = "a fork of Python 2 and 3 ast modules with type comment support" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "typing-extensions" +version = "3.7.4.3" +description = "Backported and Experimental Type Hints for Python 3.5+" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "virtualenv" +version = "20.3.0" +description = "Virtual Python Environment builder" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +appdirs = ">=1.4.3,<2" +distlib = ">=0.3.1,<1" +filelock = ">=3.0.0,<4" +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +importlib-resources = {version = ">=1.0", markers = "python_version < \"3.7\""} +six = ">=1.9.0,<2" + +[package.extras] +docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)"] +testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "packaging (>=20.0)", "xonsh (>=0.9.16)"] + +[[package]] +name = "yamllint" +version = "1.25.0" +description = "A linter for YAML files." +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +pathspec = ">=0.5.3" +pyyaml = "*" + +[[package]] +name = "zipp" +version = "3.4.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] + +[extras] +test = [] + +[metadata] +lock-version = "1.1" +python-versions = "^3.6" +content-hash = "ba6a05698364044243a20fafd93aa22ea3069eb66c0335dd4b46f0a5f0cc0221" + +[metadata.files] +appdirs = [ + {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, + {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, +] +atomicwrites = [ + {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, + {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, +] +attrs = [ + {file = "attrs-20.3.0-py2.py3-none-any.whl", hash = "sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6"}, + {file = "attrs-20.3.0.tar.gz", hash = "sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700"}, +] +black = [ + {file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"}, +] +click = [ + {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"}, + {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"}, +] +colorama = [ + {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, + {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, +] +dataclasses = [ + {file = "dataclasses-0.8-py3-none-any.whl", hash = "sha256:0201d89fa866f68c8ebd9d08ee6ff50c0b255f8ec63a71c16fda7af82bb887bf"}, + {file = "dataclasses-0.8.tar.gz", hash = "sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97"}, +] +distlib = [ + {file = "distlib-0.3.1-py2.py3-none-any.whl", hash = "sha256:8c09de2c67b3e7deef7184574fc060ab8a793e7adbb183d942c389c8b13c52fb"}, + {file = "distlib-0.3.1.zip", hash = "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1"}, +] +filelock = [ + {file = "filelock-3.0.12-py3-none-any.whl", hash = "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836"}, + {file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"}, +] +flake8 = [ + {file = "flake8-3.8.4-py2.py3-none-any.whl", hash = "sha256:749dbbd6bfd0cf1318af27bf97a14e28e5ff548ef8e5b1566ccfb25a11e7c839"}, + {file = "flake8-3.8.4.tar.gz", hash = "sha256:aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b"}, +] +future = [ + {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, +] +importlib-metadata = [ + {file = "importlib_metadata-3.4.0-py3-none-any.whl", hash = "sha256:ace61d5fc652dc280e7b6b4ff732a9c2d40db2c0f92bc6cb74e07b73d53a1771"}, + {file = "importlib_metadata-3.4.0.tar.gz", hash = "sha256:fa5daa4477a7414ae34e95942e4dd07f62adf589143c875c133c1e53c4eff38d"}, +] +importlib-resources = [ + {file = "importlib_resources-5.0.0-py3-none-any.whl", hash = "sha256:ea17df80a0ff04b5dbd3d96dbeab1842acfd1c6c902eaeb8c8858abf2720161e"}, + {file = "importlib_resources-5.0.0.tar.gz", hash = "sha256:4743f090ed8946e713745ec0e660249ef9fb0b9843eacc5b5ff931d2fd5aa67f"}, +] +iniconfig = [ + {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, + {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, +] +mccabe = [ + {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, + {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, +] +mypy-extensions = [ + {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, + {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, +] +packaging = [ + {file = "packaging-20.8-py2.py3-none-any.whl", hash = "sha256:24e0da08660a87484d1602c30bb4902d74816b6985b93de36926f5bc95741858"}, + {file = "packaging-20.8.tar.gz", hash = "sha256:78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093"}, +] +pathspec = [ + {file = "pathspec-0.8.1-py2.py3-none-any.whl", hash = "sha256:aa0cb481c4041bf52ffa7b0d8fa6cd3e88a2ca4879c533c9153882ee2556790d"}, + {file = "pathspec-0.8.1.tar.gz", hash = "sha256:86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd"}, +] +pluggy = [ + {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, + {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, +] +py = [ + {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, + {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, +] +pycodestyle = [ + {file = "pycodestyle-2.6.0-py2.py3-none-any.whl", hash = "sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367"}, + {file = "pycodestyle-2.6.0.tar.gz", hash = "sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e"}, +] +pyflakes = [ + {file = "pyflakes-2.2.0-py2.py3-none-any.whl", hash = "sha256:0d94e0e05a19e57a99444b6ddcf9a6eb2e5c68d3ca1e98e90707af8152c90a92"}, + {file = "pyflakes-2.2.0.tar.gz", hash = "sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8"}, +] +pyparsing = [ + {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, + {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, +] +pytest = [ + {file = "pytest-6.2.1-py3-none-any.whl", hash = "sha256:1969f797a1a0dbd8ccf0fecc80262312729afea9c17f1d70ebf85c5e76c6f7c8"}, + {file = "pytest-6.2.1.tar.gz", hash = "sha256:66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306"}, +] +pyyaml = [ + {file = "PyYAML-5.3.1-cp27-cp27m-win32.whl", hash = "sha256:74809a57b329d6cc0fdccee6318f44b9b8649961fa73144a98735b0aaf029f1f"}, + {file = "PyYAML-5.3.1-cp27-cp27m-win_amd64.whl", hash = "sha256:240097ff019d7c70a4922b6869d8a86407758333f02203e0fc6ff79c5dcede76"}, + {file = "PyYAML-5.3.1-cp35-cp35m-win32.whl", hash = "sha256:4f4b913ca1a7319b33cfb1369e91e50354d6f07a135f3b901aca02aa95940bd2"}, + {file = "PyYAML-5.3.1-cp35-cp35m-win_amd64.whl", hash = "sha256:cc8955cfbfc7a115fa81d85284ee61147059a753344bc51098f3ccd69b0d7e0c"}, + {file = "PyYAML-5.3.1-cp36-cp36m-win32.whl", hash = "sha256:7739fc0fa8205b3ee8808aea45e968bc90082c10aef6ea95e855e10abf4a37b2"}, + {file = "PyYAML-5.3.1-cp36-cp36m-win_amd64.whl", hash = "sha256:69f00dca373f240f842b2931fb2c7e14ddbacd1397d57157a9b005a6a9942648"}, + {file = "PyYAML-5.3.1-cp37-cp37m-win32.whl", hash = "sha256:d13155f591e6fcc1ec3b30685d50bf0711574e2c0dfffd7644babf8b5102ca1a"}, + {file = "PyYAML-5.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:73f099454b799e05e5ab51423c7bcf361c58d3206fa7b0d555426b1f4d9a3eaf"}, + {file = "PyYAML-5.3.1-cp38-cp38-win32.whl", hash = "sha256:06a0d7ba600ce0b2d2fe2e78453a470b5a6e000a985dd4a4e54e436cc36b0e97"}, + {file = "PyYAML-5.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:95f71d2af0ff4227885f7a6605c37fd53d3a106fcab511b8860ecca9fcf400ee"}, + {file = "PyYAML-5.3.1.tar.gz", hash = "sha256:b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"}, +] +regex = [ + {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a63f1a07932c9686d2d416fb295ec2c01ab246e89b4d58e5fa468089cab44b70"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:6e4b08c6f8daca7d8f07c8d24e4331ae7953333dbd09c648ed6ebd24db5a10ee"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:bba349276b126947b014e50ab3316c027cac1495992f10e5682dc677b3dfa0c5"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:56e01daca75eae420bce184edd8bb341c8eebb19dd3bce7266332258f9fb9dd7"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:6a8ce43923c518c24a2579fda49f093f1397dad5d18346211e46f134fc624e31"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab79fcb02b930de09c76d024d279686ec5d532eb814fd0ed1e0051eb8bd2daa"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:9801c4c1d9ae6a70aeb2128e5b4b68c45d4f0af0d1535500884d644fa9b768c6"}, + {file = "regex-2020.11.13-cp36-cp36m-win32.whl", hash = "sha256:49cae022fa13f09be91b2c880e58e14b6da5d10639ed45ca69b85faf039f7a4e"}, + {file = "regex-2020.11.13-cp36-cp36m-win_amd64.whl", hash = "sha256:749078d1eb89484db5f34b4012092ad14b327944ee7f1c4f74d6279a6e4d1884"}, + {file = "regex-2020.11.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b2f4007bff007c96a173e24dcda236e5e83bde4358a557f9ccf5e014439eae4b"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:38c8fd190db64f513fe4e1baa59fed086ae71fa45083b6936b52d34df8f86a88"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5862975b45d451b6db51c2e654990c1820523a5b07100fc6903e9c86575202a0"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:262c6825b309e6485ec2493ffc7e62a13cf13fb2a8b6d212f72bd53ad34118f1"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:bafb01b4688833e099d79e7efd23f99172f501a15c44f21ea2118681473fdba0"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:e32f5f3d1b1c663af7f9c4c1e72e6ffe9a78c03a31e149259f531e0fed826512"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3bddc701bdd1efa0d5264d2649588cbfda549b2899dc8d50417e47a82e1387ba"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538"}, + {file = "regex-2020.11.13-cp37-cp37m-win32.whl", hash = "sha256:0d08e71e70c0237883d0bef12cad5145b84c3705e9c6a588b2a9c7080e5af2a4"}, + {file = "regex-2020.11.13-cp37-cp37m-win_amd64.whl", hash = "sha256:1fa7ee9c2a0e30405e21031d07d7ba8617bc590d391adfc2b7f1e8b99f46f444"}, + {file = "regex-2020.11.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:baf378ba6151f6e272824b86a774326f692bc2ef4cc5ce8d5bc76e38c813a55f"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e3faaf10a0d1e8e23a9b51d1900b72e1635c2d5b0e1bea1c18022486a8e2e52d"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2a11a3e90bd9901d70a5b31d7dd85114755a581a5da3fc996abfefa48aee78af"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d1ebb090a426db66dd80df8ca85adc4abfcbad8a7c2e9a5ec7513ede522e0a8f"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:b2b1a5ddae3677d89b686e5c625fc5547c6e492bd755b520de5332773a8af06b"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2c99e97d388cd0a8d30f7c514d67887d8021541b875baf09791a3baad48bb4f8"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:c084582d4215593f2f1d28b65d2a2f3aceff8342aa85afd7be23a9cad74a0de5"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:a3d748383762e56337c39ab35c6ed4deb88df5326f97a38946ddd19028ecce6b"}, + {file = "regex-2020.11.13-cp38-cp38-win32.whl", hash = "sha256:7913bd25f4ab274ba37bc97ad0e21c31004224ccb02765ad984eef43e04acc6c"}, + {file = "regex-2020.11.13-cp38-cp38-win_amd64.whl", hash = "sha256:6c54ce4b5d61a7129bad5c5dc279e222afd00e721bf92f9ef09e4fae28755683"}, + {file = "regex-2020.11.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1862a9d9194fae76a7aaf0150d5f2a8ec1da89e8b55890b1786b8f88a0f619dc"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux1_i686.whl", hash = "sha256:4902e6aa086cbb224241adbc2f06235927d5cdacffb2425c73e6570e8d862364"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7a25fcbeae08f96a754b45bdc050e1fb94b95cab046bf56b016c25e9ab127b3e"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:d2d8ce12b7c12c87e41123997ebaf1a5767a5be3ec545f64675388970f415e2e"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:f7d29a6fc4760300f86ae329e3b6ca28ea9c20823df123a2ea8693e967b29917"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:717881211f46de3ab130b58ec0908267961fadc06e44f974466d1887f865bd5b"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:3128e30d83f2e70b0bed9b2a34e92707d0877e460b402faca908c6667092ada9"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:8f6a2229e8ad946e36815f2a03386bb8353d4bde368fdf8ca5f0cb97264d3b5c"}, + {file = "regex-2020.11.13-cp39-cp39-win32.whl", hash = "sha256:f8f295db00ef5f8bae530fc39af0b40486ca6068733fb860b42115052206466f"}, + {file = "regex-2020.11.13-cp39-cp39-win_amd64.whl", hash = "sha256:a15f64ae3a027b64496a71ab1f722355e570c3fac5ba2801cafce846bf5af01d"}, + {file = "regex-2020.11.13.tar.gz", hash = "sha256:83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562"}, +] +"ruamel.yaml" = [ + {file = "ruamel.yaml-0.16.12-py2.py3-none-any.whl", hash = "sha256:012b9470a0ea06e4e44e99e7920277edf6b46eee0232a04487ea73a7386340a5"}, + {file = "ruamel.yaml-0.16.12.tar.gz", hash = "sha256:076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e"}, +] +"ruamel.yaml.clib" = [ + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:28116f204103cb3a108dfd37668f20abe6e3cafd0d3fd40dba126c732457b3cc"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:daf21aa33ee9b351f66deed30a3d450ab55c14242cfdfcd377798e2c0d25c9f1"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win32.whl", hash = "sha256:30dca9bbcbb1cc858717438218d11eafb78666759e5094dd767468c0d577a7e7"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win_amd64.whl", hash = "sha256:f6061a31880c1ed6b6ce341215336e2f3d0c1deccd84957b6fa8ca474b41e89f"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:73b3d43e04cc4b228fa6fa5d796409ece6fcb53a6c270eb2048109cbcbc3b9c2"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:53b9dd1abd70e257a6e32f934ebc482dac5edb8c93e23deb663eac724c30b026"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:839dd72545ef7ba78fd2aa1a5dd07b33696adf3e68fae7f31327161c1093001b"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:1236df55e0f73cd138c0eca074ee086136c3f16a97c2ac719032c050f7e0622f"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win32.whl", hash = "sha256:b1e981fe1aff1fd11627f531524826a4dcc1f26c726235a52fcb62ded27d150f"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win_amd64.whl", hash = "sha256:4e52c96ca66de04be42ea2278012a2342d89f5e82b4512fb6fb7134e377e2e62"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a873e4d4954f865dcb60bdc4914af7eaae48fb56b60ed6daa1d6251c72f5337c"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ab845f1f51f7eb750a78937be9f79baea4a42c7960f5a94dde34e69f3cce1988"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:2fd336a5c6415c82e2deb40d08c222087febe0aebe520f4d21910629018ab0f3"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win32.whl", hash = "sha256:e9f7d1d8c26a6a12c23421061f9022bb62704e38211fe375c645485f38df34a2"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win_amd64.whl", hash = "sha256:2602e91bd5c1b874d6f93d3086f9830f3e907c543c7672cf293a97c3fabdcd91"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:44c7b0498c39f27795224438f1a6be6c5352f82cb887bc33d962c3a3acc00df6"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8e8fd0a22c9d92af3a34f91e8a2594eeb35cba90ab643c5e0e643567dc8be43e"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:75f0ee6839532e52a3a53f80ce64925ed4aed697dd3fa890c4c918f3304bd4f4"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win32.whl", hash = "sha256:464e66a04e740d754170be5e740657a3b3b6d2bcc567f0c3437879a6e6087ff6"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win_amd64.whl", hash = "sha256:52ae5739e4b5d6317b52f5b040b1b6639e8af68a5b8fd606a8b08658fbd0cab5"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4df5019e7783d14b79217ad9c56edf1ba7485d614ad5a385d1b3c768635c81c0"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5254af7d8bdf4d5484c089f929cb7f5bafa59b4f01d4f48adda4be41e6d29f99"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:8be05be57dc5c7b4a0b24edcaa2f7275866d9c907725226cdde46da09367d923"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win32.whl", hash = "sha256:74161d827407f4db9072011adcfb825b5258a5ccb3d2cd518dd6c9edea9e30f1"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win_amd64.whl", hash = "sha256:058a1cc3df2a8aecc12f983a48bda99315cebf55a3b3a5463e37bb599b05727b"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c6ac7e45367b1317e56f1461719c853fd6825226f45b835df7436bb04031fd8a"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:b4b0d31f2052b3f9f9b5327024dc629a253a83d8649d4734ca7f35b60ec3e9e5"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:1f8c0a4577c0e6c99d208de5c4d3fd8aceed9574bb154d7a2b21c16bb924154c"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win32.whl", hash = "sha256:46d6d20815064e8bb023ea8628cfb7402c0f0e83de2c2227a88097e239a7dffd"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win_amd64.whl", hash = "sha256:6c0a5dc52fc74eb87c67374a4e554d4761fd42a4d01390b7e868b30d21f4b8bb"}, + {file = "ruamel.yaml.clib-0.2.2.tar.gz", hash = "sha256:2d24bd98af676f4990c4d715bcdc2a60b19c56a3fb3a763164d2d8ca0e806ba7"}, +] +six = [ + {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, + {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, +] +textfsm = [ + {file = "textfsm-1.1.0-py2.py3-none-any.whl", hash = "sha256:0aef3f9cad3d03905915fd62bff358c42b7dc35c863ff2cb0b5324c2b746cc24"}, +] +toml = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] +tox = [ + {file = "tox-3.21.0-py2.py3-none-any.whl", hash = "sha256:5efda30ad73e662c3844ac51ce1381bf28f61063773e06996aa8b6277133a7c0"}, + {file = "tox-3.21.0.tar.gz", hash = "sha256:8cccede64802e78aa6c69f81051b25f0706639d1cbbb34d9366ce00c70ee054f"}, +] +typed-ast = [ + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:7703620125e4fb79b64aa52427ec192822e9f45d37d4b6625ab37ef403e1df70"}, + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:c9aadc4924d4b5799112837b226160428524a9a45f830e0d0f184b19e4090487"}, + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:9ec45db0c766f196ae629e509f059ff05fc3148f9ffd28f3cfe75d4afb485412"}, + {file = "typed_ast-1.4.2-cp35-cp35m-win32.whl", hash = "sha256:85f95aa97a35bdb2f2f7d10ec5bbdac0aeb9dafdaf88e17492da0504de2e6400"}, + {file = "typed_ast-1.4.2-cp35-cp35m-win_amd64.whl", hash = "sha256:9044ef2df88d7f33692ae3f18d3be63dec69c4fb1b5a4a9ac950f9b4ba571606"}, + {file = "typed_ast-1.4.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c1c876fd795b36126f773db9cbb393f19808edd2637e00fd6caba0e25f2c7b64"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5dcfc2e264bd8a1db8b11a892bd1647154ce03eeba94b461effe68790d8b8e07"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:8db0e856712f79c45956da0c9a40ca4246abc3485ae0d7ecc86a20f5e4c09abc"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:d003156bb6a59cda9050e983441b7fa2487f7800d76bdc065566b7d728b4581a"}, + {file = "typed_ast-1.4.2-cp36-cp36m-win32.whl", hash = "sha256:4c790331247081ea7c632a76d5b2a265e6d325ecd3179d06e9cf8d46d90dd151"}, + {file = "typed_ast-1.4.2-cp36-cp36m-win_amd64.whl", hash = "sha256:d175297e9533d8d37437abc14e8a83cbc68af93cc9c1c59c2c292ec59a0697a3"}, + {file = "typed_ast-1.4.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf54cfa843f297991b7388c281cb3855d911137223c6b6d2dd82a47ae5125a41"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:b4fcdcfa302538f70929eb7b392f536a237cbe2ed9cba88e3bf5027b39f5f77f"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:987f15737aba2ab5f3928c617ccf1ce412e2e321c77ab16ca5a293e7bbffd581"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:37f48d46d733d57cc70fd5f30572d11ab8ed92da6e6b28e024e4a3edfb456e37"}, + {file = "typed_ast-1.4.2-cp37-cp37m-win32.whl", hash = "sha256:36d829b31ab67d6fcb30e185ec996e1f72b892255a745d3a82138c97d21ed1cd"}, + {file = "typed_ast-1.4.2-cp37-cp37m-win_amd64.whl", hash = "sha256:8368f83e93c7156ccd40e49a783a6a6850ca25b556c0fa0240ed0f659d2fe496"}, + {file = "typed_ast-1.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:963c80b583b0661918718b095e02303d8078950b26cc00b5e5ea9ababe0de1fc"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e683e409e5c45d5c9082dc1daf13f6374300806240719f95dc783d1fc942af10"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:84aa6223d71012c68d577c83f4e7db50d11d6b1399a9c779046d75e24bed74ea"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:a38878a223bdd37c9709d07cd357bb79f4c760b29210e14ad0fb395294583787"}, + {file = "typed_ast-1.4.2-cp38-cp38-win32.whl", hash = "sha256:a2c927c49f2029291fbabd673d51a2180038f8cd5a5b2f290f78c4516be48be2"}, + {file = "typed_ast-1.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:c0c74e5579af4b977c8b932f40a5464764b2f86681327410aa028a22d2f54937"}, + {file = "typed_ast-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:07d49388d5bf7e863f7fa2f124b1b1d89d8aa0e2f7812faff0a5658c01c59aa1"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:240296b27397e4e37874abb1df2a608a92df85cf3e2a04d0d4d61055c8305ba6"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:d746a437cdbca200622385305aedd9aef68e8a645e385cc483bdc5e488f07166"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:14bf1522cdee369e8f5581238edac09150c765ec1cb33615855889cf33dcb92d"}, + {file = "typed_ast-1.4.2-cp39-cp39-win32.whl", hash = "sha256:cc7b98bf58167b7f2db91a4327da24fb93368838eb84a44c472283778fc2446b"}, + {file = "typed_ast-1.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:7147e2a76c75f0f64c4319886e7639e490fee87c9d25cb1d4faef1d8cf83a440"}, + {file = "typed_ast-1.4.2.tar.gz", hash = "sha256:9fc0b3cb5d1720e7141d103cf4819aea239f7d136acf9ee4a69b047b7986175a"}, +] +typing-extensions = [ + {file = "typing_extensions-3.7.4.3-py2-none-any.whl", hash = "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"}, + {file = "typing_extensions-3.7.4.3-py3-none-any.whl", hash = "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918"}, + {file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"}, +] +virtualenv = [ + {file = "virtualenv-20.3.0-py2.py3-none-any.whl", hash = "sha256:205a7577275dd0d9223c730dd498e21a8910600085c3dee97412b041fc4b853b"}, + {file = "virtualenv-20.3.0.tar.gz", hash = "sha256:7992b8de87e544a4ab55afc2240bf8388c4e3b5765d03784dad384bfdf9097ee"}, +] +yamllint = [ + {file = "yamllint-1.25.0-py2.py3-none-any.whl", hash = "sha256:c7be4d0d2584a1b561498fa9acb77ad22eb434a109725c7781373ae496d823b3"}, + {file = "yamllint-1.25.0.tar.gz", hash = "sha256:b1549cbe5b47b6ba67bdeea31720f5c51431a4d0c076c1557952d841f7223519"}, +] +zipp = [ + {file = "zipp-3.4.0-py3-none-any.whl", hash = "sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108"}, + {file = "zipp-3.4.0.tar.gz", hash = "sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"}, +] diff --git a/pyproject.toml b/pyproject.toml index 782367c645..09bb6bf66d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,34 @@ +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry] +name = "ntc_templates" +version = "1.6.0" +description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." +authors = ["Network to Code "] +license = "Apache-2.0" +readme = "README.md" +repository = "https://github.com/networktocode/ntc-templates" + +[tool.poetry.dependencies] +python = "^3.6" +textfsm = "^1.1.0" + +[tool.poetry.dev-dependencies] +tox = "^3.21.0" +yamllint = "^1.25.0" +black = "^20.8b1" +pytest = "^6.2.1" +"ruamel.yaml" = "^0.16.12" +flake8 = "^3.8.4" + +[tool.poetry.extras] +test = ["pytest"] + [tool.black] line-length = 90 -target-version = ['py36'] +target-version = ['py38'] include = '\.pyi?$' exclude = ''' /( @@ -10,6 +38,7 @@ exclude = ''' | \.mypy_cache | \.tox | \.venv + | venv | _build | buck-out | build diff --git a/setup.py b/setup.py deleted file mode 100644 index 467382e0df..0000000000 --- a/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -import re -from codecs import open -from setuptools import setup, find_packages - -with open("lib/ntc_templates/__init__.py", "r") as fd: - version = re.search( - r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE - ).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", "r", "utf-8") as f: - readme = f.read() - -with open("CHANGELOG", "r", "utf-8") as f: - history = f.read() - -long_description = readme + "\n\n" + history - -config = { - "name": "ntc_templates", - "package_dir": {"": "lib"}, - "packages": find_packages("lib"), - "version": version, - "package_data": {"ntc_templates": ["templates/*"]}, - "description": "Package to return structured data from the output of network devices.", - "long_description": long_description, - "long_description_content_type": "text/markdown", - "author": "network.toCode()", - "author_email": "info@networktocode.com", - "url": "https://github.com/networktocode/ntc-templates", - "install_requires": ["textfsm>=1.1.0"], - "extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]}, - "classifiers": [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Intended Audience :: System Administrators", - "Programming Language :: Python :: 3", - ], - "zip_safe": False, -} - -setup(**config) diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml index 3d183dcea1..3b8f51c599 100644 --- a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml @@ -1,26 +1,26 @@ ---- -parsed_sample: - - admin_status: "Up" - interface: "system" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "system" - te_metric: "None" - - admin_status: "Up" - interface: "TO_IOSXR" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c4/1" - te_metric: "98999" - - admin_status: "Up" - interface: "TO_R1" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c1/1" - te_metric: "65660" - - admin_status: "Up" - interface: "TO_R4" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c2/1" - te_metric: "None" +--- +parsed_sample: + - admin_status: "Up" + interface: "system" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "system" + te_metric: "None" + - admin_status: "Up" + interface: "TO_IOSXR" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c4/1" + te_metric: "98999" + - admin_status: "Up" + interface: "TO_R1" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c1/1" + te_metric: "65660" + - admin_status: "Up" + interface: "TO_R4" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c2/1" + te_metric: "None" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml index 21981a96f9..cf2c130c8f 100644 --- a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml @@ -1,24 +1,24 @@ ---- -parsed_sample: - - tacacs_server: "10.1.1.141" - tacacs_server_name: "TACACS_ABC" - server_port: "49" - socket_opens: "146715" - socket_closes: "146715" - socket_aborts: "0" - socket_errors: "0" - socket_timeouts: "0" - failed_connections: "114" - packets_sent: "166094" - packet_received: "166094" - - tacacs_server: "10.2.1.141" - tacacs_server_name: "TACACS_XYZ" - server_port: "49" - socket_opens: "2640" - socket_closes: "2640" - socket_aborts: "0" - socket_errors: "0" - socket_timeouts: "0" - failed_connections: "0" - packets_sent: "2954" - packet_received: "2953" +--- +parsed_sample: + - tacacs_server: "10.1.1.141" + tacacs_server_name: "TACACS_ABC" + server_port: "49" + socket_opens: "146715" + socket_closes: "146715" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "114" + packets_sent: "166094" + packet_received: "166094" + - tacacs_server: "10.2.1.141" + tacacs_server_name: "TACACS_XYZ" + server_port: "49" + socket_opens: "2640" + socket_closes: "2640" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "0" + packets_sent: "2954" + packet_received: "2953" diff --git a/tests/linux/arp_-a/linux_arp_a.yml b/tests/linux/arp_-a/linux_arp_a.yml index 793442a5a7..b536a9cf4c 100644 --- a/tests/linux/arp_-a/linux_arp_a.yml +++ b/tests/linux/arp_-a/linux_arp_a.yml @@ -1,48 +1,47 @@ ---- - -parsed_sample: - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.197" - mac_address: "00:04:4b:cc:9c:ba" - rev_dns: "?" - - hw_type: "" - interface: "eth1.10" - ip_address: "192.168.10.100" - mac_address: "incomplete" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.252" - mac_address: "5c:e2:8c:fc:a4:74" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.5" - mac_address: "00:e0:67:05:9d:5a" - rev_dns: "esxi" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.253" - mac_address: "dc:f7:19:cd:d6:c4" - rev_dns: "?" - - hw_type: "ether" - interface: "eth0.21" - ip_address: "192.168.123.199" - mac_address: "00:0f:c9:0e:c8:ec" - rev_dns: "?" - - hw_type: "" - interface: "eth1.10" - ip_address: "192.168.10.52" - mac_address: "incomplete" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.10" - ip_address: "192.168.10.7" - mac_address: "00:0c:29:02:3b:93" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.10" - ip_address: "192.168.10.249" - mac_address: "00:0c:29:bb:5f:a2" - rev_dns: "?" +--- +parsed_sample: + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.197" + mac_address: "00:04:4b:cc:9c:ba" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.100" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.252" + mac_address: "5c:e2:8c:fc:a4:74" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.5" + mac_address: "00:e0:67:05:9d:5a" + rev_dns: "esxi" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.253" + mac_address: "dc:f7:19:cd:d6:c4" + rev_dns: "?" + - hw_type: "ether" + interface: "eth0.21" + ip_address: "192.168.123.199" + mac_address: "00:0f:c9:0e:c8:ec" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.52" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.7" + mac_address: "00:0c:29:02:3b:93" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.249" + mac_address: "00:0c:29:bb:5f:a2" + rev_dns: "?" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 5e26092630..e014e556e7 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -1,10 +1,5 @@ #!/usr/bin/env python -import os import re -import csv -import glob - -import pytest from tests import load_index_data @@ -57,7 +52,8 @@ "watchguard_firebox", "yamaha", ] -RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") +CHOICES_STRING = "|".join(OS_CHOICES) +RE_TEMPLATE_OS = re.compile(rf"^({CHOICES_STRING})") def check_order( diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index e2e4451b75..d618cec6fd 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -6,7 +6,7 @@ import pytest import yaml -from lib.ntc_templates.parse import parse_output +from ntc_templates.parse import parse_output def return_test_files(): diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 589edbe70f..01ac99ac58 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -24,7 +24,7 @@ def extract_index_data(): # so need to loop through each platform looking to find a match # in order to accurately derive platform name for directory in TEST_DIRECTORIES: - if re.match(platform, directory): + if re.match(rf"{platform}", directory): platform = directory break cut = len(platform) + 1 diff --git a/tox.ini b/tox.ini index d4eeb04a3c..ca2ccd6799 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,30 @@ [tox] -envlist = py36,py37,py38 +isolated_build = True +envlist = py36,py37,py38,black,flake8,yamllint skip_missing_interpreters = true +download = true [testenv] -install_command = pip install .[dev] {opts} {packages} +passenv = TRAVIS TRAVIS_* +whitelist_externals = poetry +deps = poetry +commands = + poetry install + python -m pytest -v {posargs} -whitelist_externals = - git - rm +[testenv:black] +deps = black +commands = black ./ --diff --check -commands = - black ./ --diff --check - yamllint tests/ - pytest -vv +[testenv:flake8] +deps = flake8 +commands = flake8 ./ + +[testenv:yamllint] +deps = yamllint +commands = yamllint ./ + +[flake8] +# Line length managed by black +ignore = E501 +exclude = .git,.tox,.venv,venv From 52ab105fa08d15b0e12afe734dc47e8d657fcd81 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 12 Mar 2021 09:56:05 -0500 Subject: [PATCH 173/412] Release v2.0.0 (#890) --- CHANGELOG.md | 13 +++++++++++-- ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1273e01a5a..dbea6b3dfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [1.7.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) +## [2.0.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...1.7.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...v1.7.0) + +**Merged pull requests:** + +- Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) + +## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-11) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) **Implemented enhancements:** @@ -30,6 +38,7 @@ **Merged pull requests:** +- Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) - new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 2ce6c62561..f8548d13d6 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.7.0" +__version__ = "2.0.0" diff --git a/pyproject.toml b/pyproject.toml index 09bb6bf66d..aaaaf97fa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "1.6.0" +version = "2.0.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 3e81aeffd00ae9d9b904b257074ba4b92b1dd472 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 13 Mar 2021 21:41:24 -0700 Subject: [PATCH 174/412] New Template: alcatel_sros_show_service_sdp-using.textfsm (#891) --- ...lcatel_sros_show_service_sdp-using.textfsm | 27 ++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_service_sdp-using.raw | 15 +++++++ .../alcatel_sros_show_service_sdp-using.yml | 42 +++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm create mode 100644 tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw create mode 100644 tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml diff --git a/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm new file mode 100644 index 0000000000..cf3dd928b9 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm @@ -0,0 +1,27 @@ +Value Required SERVICE_ID (\d+) +Value Required SDP_ID (\d+) +Value Required SDP_SVC_ID (\d+) +Value Required TYPE (\S+) +Value Required FAR_END (\S+) +Value Required OPER_STATE (\S+) +Value Required INGRESS_LABEL (\S+) +Value Required EGRESS_LABEL (\S+) + +Start + ^=+ + ^SDP\s+Using + ^SvcId\s+SdpId\s+Type\s+Far\s+End\s+Opr\s+I.Label\s+E.Label\s*$$ -> SDP + ^\s*$$ + ^. -> Error + +SDP + ^\s+State + ^-+ + ^${SERVICE_ID}\s+${SDP_ID}:${SDP_SVC_ID}\s+${TYPE}\s+${FAR_END}\s+${OPER_STATE}\s+${INGRESS_LABEL}\s+${EGRESS_LABEL} -> Record + ^-+ -> Done + ^Number\s+of + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 631375838b..6e035adcfc 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] +alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] diff --git a/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw new file mode 100644 index 0000000000..226554820a --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw @@ -0,0 +1,15 @@ +=============================================================================== +SDP Using +=============================================================================== +SvcId SdpId Type Far End Opr I.Label E.Label + State +------------------------------------------------------------------------------- +200 31:200 Spok 10.10.10.1 Up 524281 524283 +200 34:200 Mesh 10.10.10.4 Down None None +310 32767:4294967295 BgpAd 10.10.10.1 Up 524278 524280 +400 32767:4294967294 BgpAd 10.10.10.1 Up 524277 524279 +401 32767:4294967293 BgpAd 10.10.10.1 Up 524276 524278 +------------------------------------------------------------------------------- +Number of SDPs : 5 +------------------------------------------------------------------------------- +=============================================================================== diff --git a/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml new file mode 100644 index 0000000000..484618be7b --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - egress_label: "524283" + far_end: "10.10.10.1" + ingress_label: "524281" + oper_state: "Up" + sdp_id: "31" + sdp_svc_id: "200" + service_id: "200" + type: "Spok" + - egress_label: "None" + far_end: "10.10.10.4" + ingress_label: "None" + oper_state: "Down" + sdp_id: "34" + sdp_svc_id: "200" + service_id: "200" + type: "Mesh" + - egress_label: "524280" + far_end: "10.10.10.1" + ingress_label: "524278" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967295" + service_id: "310" + type: "BgpAd" + - egress_label: "524279" + far_end: "10.10.10.1" + ingress_label: "524277" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967294" + service_id: "400" + type: "BgpAd" + - egress_label: "524278" + far_end: "10.10.10.1" + ingress_label: "524276" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967293" + service_id: "401" + type: "BgpAd" From 1d24b2d568723f1609c022429cdf2f98022aa136 Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:20:39 -0500 Subject: [PATCH 175/412] add new template show port-security interface (#885) --- ..._port-security_interface_interface.textfsm | 28 +++++++++++++++++++ ntc_templates/templates/index | 1 + ...show_port-security_interface_interface.raw | 12 ++++++++ ...show_port-security_interface_interface.yml | 14 ++++++++++ 4 files changed, 55 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm create mode 100644 tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw create mode 100644 tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml diff --git a/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm b/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm new file mode 100644 index 0000000000..32ca8bab9b --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm @@ -0,0 +1,28 @@ +Value PORT_SECURITY (\w+) +Value PORT_STATUS (\S+) +Value VIOLATION_MODE ([Pp]rotect|[Rr]estrict|[Ss]hutdown) +Value AGING_TIME (\d{1,4}\smins) +Value AGING_TYPE ([Aa]bsolute|[Ii]nactivity) +Value SS_ADDR_AGING (\w+) +Value MAX_MAC_ADDRS (\d+) +Value TOTAL_MAC_ADDRS (\d+) +Value CONFIG_MAC_ADDRS (\d+) +Value STICKY_MAC_ADDRS (\d+) +Value LAST_SRC_MAC_ADDR_VLAN (\d.+:\d+) +Value VIOLATION_COUNT (\d+) + +Start + ^Port Security\s+:\s+${PORT_SECURITY} + ^Port Status\s+:\s+${PORT_STATUS} + ^Violation Mode\s+:\s+${VIOLATION_MODE} + ^Aging Time\s+:\s+${AGING_TIME} + ^Aging Type\s+:\s+${AGING_TYPE} + ^SecureStatic Address Aging\s+:\s+${SS_ADDR_AGING} + ^Maximum MAC Addresses\s+:\s+${MAX_MAC_ADDRS} + ^Total MAC Addresses\s+:\s+${TOTAL_MAC_ADDRS} + ^Configured MAC Addresses\s+:\s+${CONFIG_MAC_ADDRS} + ^Sticky MAC Addresses\s+:\s+${STICKY_MAC_ADDRS} + ^Last Source Address:Vlan\s+:\s+${LAST_SRC_MAC_ADDR_VLAN} + ^Security Violation Count\s+:\s+${VIOLATION_COUNT} + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6e035adcfc..3a9c1556a0 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -169,6 +169,7 @@ cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.te 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]](\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_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]] por[[t-security]] i[[nterface]] (\S+) 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]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] diff --git a/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw new file mode 100644 index 0000000000..25aaa58513 --- /dev/null +++ b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw @@ -0,0 +1,12 @@ +Port Security : Disabled +Port Status : Secure-down +Violation Mode : Shutdown +Aging Time : 1440 mins +Aging Type : Absolute +SecureStatic Address Aging : Disabled +Maximum MAC Addresses : 1 +Total MAC Addresses : 0 +Configured MAC Addresses : 0 +Sticky MAC Addresses : 0 +Last Source Address:Vlan : 0000.0000.0000:0 +Security Violation Count : 0 diff --git a/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml new file mode 100644 index 0000000000..a7883969a1 --- /dev/null +++ b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - port_security: "Disabled" + port_status: "Secure-down" + violation_mode: "Shutdown" + aging_time: "1440 mins" + aging_type: "Absolute" + ss_addr_aging: "Disabled" + max_mac_addrs: "1" + total_mac_addrs: "0" + config_mac_addrs: "0" + sticky_mac_addrs: "0" + last_src_mac_addr_vlan: "0000.0000.0000:0" + violation_count: "0" From d463e946e2dd15c0c9eb5fdf8a3585bccf2723d4 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Mon, 15 Mar 2021 14:23:47 -0500 Subject: [PATCH 176/412] New Template: ruckus_fastiron, show mac-address (#896) --- ntc_templates/templates/index | 1 + .../ruckus_fastiron_show_mac-address.textfsm | 12 + .../show_mac-address/show_mac-address.raw | 100 ++ .../show_mac-address/show_mac-address.yml | 374 ++++ .../show_mac-address/show_mac-address1.raw | 411 +++++ .../show_mac-address/show_mac-address1.yml | 1566 +++++++++++++++++ 6 files changed, 2464 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address.raw create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address.yml create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 3a9c1556a0..b6c1d5eb60 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -456,6 +456,7 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm new file mode 100644 index 0000000000..c14acff5a4 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm @@ -0,0 +1,12 @@ +Value MAC_ADDRESS ([A-Fa-f0-9\.]{14}) +Value PORT (\S+) +Value TYPE (\S+) +Value VLAN ([0-9]*) + + +Start + ^Total\s+active\s+entries\s+from\s+all\s+ports\s+=\s+[0-9]* + ^MAC-Address\s+Port\s+Type\s+VLAN + ^${MAC_ADDRESS}\s+${PORT}\s+${TYPE}\s+${VLAN} -> Record + ^\s* + ^. -> Error \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw b/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw new file mode 100644 index 0000000000..36cd0a21eb --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw @@ -0,0 +1,100 @@ + +Total active entries from all ports = 93 +MAC-Address Port Type VLAN +70db.9895.73aa 1/2/1 Dynamic 3 +0010.20d0.b22b 1/1/2 Dynamic 10 +000f.7c0f.f387 2/1/11 Dynamic 3 +54bf.646f.d304 1/1/6 Dynamic 1 +000f.7c0f.f374 2/1/7 Dynamic 3 +70db.9895.73aa 1/2/1 Dynamic 5 +54bf.6479.a8de 1/1/22 Dynamic 2 +000f.7c0f.f385 2/1/18 Dynamic 3 +9890.96d9.f0ab 2/1/48 Dynamic 3 +e454.e85d.bfe1 1/1/48 Dynamic 4 +6c2b.59f8.ec1b 1/1/9 Dynamic 1 +000f.7c0f.f322 2/1/27 Dynamic 3 +0010.20ce.0655 1/1/2 Dynamic 10 +000f.7c0f.f320 2/1/28 Dynamic 3 +0010.20d1.1387 1/1/2 Dynamic 10 +184b.0d22.d780 1/1/5 Dynamic 5 +484d.7edb.1431 1/1/16 Dynamic 1 +0010.20d2.8b0d 1/1/2 Dynamic 10 +000f.7c0f.f324 2/1/30 Dynamic 3 +184b.0d22.48c0 1/1/1 Dynamic 5 +70db.9895.73ab 1/2/1 Dynamic 12 +MAC-Address Port Type VLAN +0010.20d0.b23d 1/1/2 Dynamic 10 +0010.20d2.8afd 1/1/2 Dynamic 10 +184b.0d22.e2a0 1/1/2 Dynamic 5 +54bf.64a2.66c5 1/1/23 Dynamic 2 +6c2b.59ef.7457 1/1/27 Dynamic 1 +000f.7c15.7df0 2/1/38 Dynamic 3 +0010.20d0.b2a3 1/1/2 Dynamic 10 +000f.7c0f.f373 2/1/9 Dynamic 3 +000f.7c0f.f357 2/1/13 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 666 +184b.0d22.4610 1/1/4 Dynamic 5 +000f.7c0f.f328 2/1/21 Dynamic 3 +0010.20cf.9f4d 1/1/2 Dynamic 10 +e454.e85d.9381 1/1/47 Dynamic 4 +000f.7c0f.f371 2/1/2 Dynamic 3 +000f.7c0f.f355 2/1/15 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 1 +0010.20d2.8b2b 1/1/2 Dynamic 10 +6c2b.59e9.aa1c 1/1/20 Dynamic 2 +000f.7c0f.f382 2/1/12 Dynamic 3 +d89e.f344.6592 1/1/11 Dynamic 1 +000f.7c0f.f377 2/1/10 Dynamic 3 +MAC-Address Port Type VLAN +184b.0d22.d920 1/1/3 Dynamic 5 +70db.9895.73aa 1/2/1 Dynamic 2 +000f.7c0f.f380 2/1/23 Dynamic 3 +000f.7c0f.f32c 2/1/31 Dynamic 3 +000f.7c10.683f 2/1/35 Dynamic 3 +000f.7c0f.f375 2/1/3 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 5 +000f.7c0f.f386 2/1/14 Dynamic 3 +6400.6a01.18a6 1/1/18 Dynamic 1 +509a.4c4e.bb73 1/1/12 Dynamic 1 +000f.7c0f.f323 2/1/25 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 7 +000f.7c0f.f384 2/1/22 Dynamic 3 +001a.ef5b.6804 1/1/4 Dynamic 10 +000f.7c15.7e23 2/1/34 Dynamic 3 +000f.7c15.7e07 2/1/37 Dynamic 3 +54bf.6474.f6bb 1/1/10 Dynamic 1 +d89e.f31b.48ea 1/1/17 Dynamic 1 +0010.40b3.a1de 1/1/2 Dynamic 10 +6c2b.59d6.b345 1/1/21 Dynamic 2 +000f.7c0f.f327 2/1/24 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 11 +MAC-Address Port Type VLAN +000f.7c0f.f325 2/1/29 Dynamic 3 +000f.7c0f.f352 2/1/19 Dynamic 3 +d89e.f344.64bc 1/1/46 Dynamic 4 +f8bc.128f.04ee 1/1/14 Dynamic 1 +000f.7c10.212e 2/1/32 Dynamic 3 +6c2b.59d6.9fcd 1/1/19 Dynamic 2 +6c2b.59dd.c6fa 1/1/8 Dynamic 1 +fa98.6b8a.a8b9 1/1/4 Dynamic 11 +d861.6240.f255 1/1/1 Dynamic 10 +54bf.6496.c555 1/1/7 Dynamic 1 +000f.7c0f.f372 2/1/4 Dynamic 3 +000f.7c14.fa31 2/1/26 Dynamic 3 +000f.7c0f.f356 2/1/33 Dynamic 3 +000f.7c0f.f383 2/1/8 Dynamic 3 +484d.7edb.1116 1/1/15 Dynamic 1 +000f.7c0f.f370 2/1/6 Dynamic 3 +000f.7c0f.f354 2/1/16 Dynamic 3 +000f.7c0f.16df 2/1/1 Dynamic 3 +70db.9895.73aa 1/2/1 Dynamic 1 +000f.7c0f.f381 2/1/17 Dynamic 3 +000f.7c0f.f32d 2/1/20 Dynamic 3 +000f.7c0f.f376 2/1/5 Dynamic 3 +MAC-Address Port Type VLAN +70db.9895.73aa 1/2/1 Dynamic 10 +70db.9895.73aa 1/2/1 Dynamic 4 +70db.9895.73ab 1/2/1 Dynamic 10 +70db.9895.73ab 1/2/1 Dynamic 4 +70db.9895.73ab 1/2/1 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 2 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml b/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml new file mode 100644 index 0000000000..90a445d559 --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml @@ -0,0 +1,374 @@ +--- +parsed_sample: + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d0.b22b" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f387" + port: "2/1/11" + type: "Dynamic" + vlan: "3" + - mac_address: "54bf.646f.d304" + port: "1/1/6" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f374" + port: "2/1/7" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "5" + - mac_address: "54bf.6479.a8de" + port: "1/1/22" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f385" + port: "2/1/18" + type: "Dynamic" + vlan: "3" + - mac_address: "9890.96d9.f0ab" + port: "2/1/48" + type: "Dynamic" + vlan: "3" + - mac_address: "e454.e85d.bfe1" + port: "1/1/48" + type: "Dynamic" + vlan: "4" + - mac_address: "6c2b.59f8.ec1b" + port: "1/1/9" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f322" + port: "2/1/27" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20ce.0655" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f320" + port: "2/1/28" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d1.1387" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "184b.0d22.d780" + port: "1/1/5" + type: "Dynamic" + vlan: "5" + - mac_address: "484d.7edb.1431" + port: "1/1/16" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20d2.8b0d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f324" + port: "2/1/30" + type: "Dynamic" + vlan: "3" + - mac_address: "184b.0d22.48c0" + port: "1/1/1" + type: "Dynamic" + vlan: "5" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "12" + - mac_address: "0010.20d0.b23d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.20d2.8afd" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "184b.0d22.e2a0" + port: "1/1/2" + type: "Dynamic" + vlan: "5" + - mac_address: "54bf.64a2.66c5" + port: "1/1/23" + type: "Dynamic" + vlan: "2" + - mac_address: "6c2b.59ef.7457" + port: "1/1/27" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c15.7df0" + port: "2/1/38" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d0.b2a3" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f373" + port: "2/1/9" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f357" + port: "2/1/13" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "666" + - mac_address: "184b.0d22.4610" + port: "1/1/4" + type: "Dynamic" + vlan: "5" + - mac_address: "000f.7c0f.f328" + port: "2/1/21" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20cf.9f4d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "e454.e85d.9381" + port: "1/1/47" + type: "Dynamic" + vlan: "4" + - mac_address: "000f.7c0f.f371" + port: "2/1/2" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f355" + port: "2/1/15" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20d2.8b2b" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "6c2b.59e9.aa1c" + port: "1/1/20" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f382" + port: "2/1/12" + type: "Dynamic" + vlan: "3" + - mac_address: "d89e.f344.6592" + port: "1/1/11" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f377" + port: "2/1/10" + type: "Dynamic" + vlan: "3" + - mac_address: "184b.0d22.d920" + port: "1/1/3" + type: "Dynamic" + vlan: "5" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f380" + port: "2/1/23" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f32c" + port: "2/1/31" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c10.683f" + port: "2/1/35" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f375" + port: "2/1/3" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "5" + - mac_address: "000f.7c0f.f386" + port: "2/1/14" + type: "Dynamic" + vlan: "3" + - mac_address: "6400.6a01.18a6" + port: "1/1/18" + type: "Dynamic" + vlan: "1" + - mac_address: "509a.4c4e.bb73" + port: "1/1/12" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f323" + port: "2/1/25" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "7" + - mac_address: "000f.7c0f.f384" + port: "2/1/22" + type: "Dynamic" + vlan: "3" + - mac_address: "001a.ef5b.6804" + port: "1/1/4" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c15.7e23" + port: "2/1/34" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c15.7e07" + port: "2/1/37" + type: "Dynamic" + vlan: "3" + - mac_address: "54bf.6474.f6bb" + port: "1/1/10" + type: "Dynamic" + vlan: "1" + - mac_address: "d89e.f31b.48ea" + port: "1/1/17" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40b3.a1de" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "6c2b.59d6.b345" + port: "1/1/21" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f327" + port: "2/1/24" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "11" + - mac_address: "000f.7c0f.f325" + port: "2/1/29" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f352" + port: "2/1/19" + type: "Dynamic" + vlan: "3" + - mac_address: "d89e.f344.64bc" + port: "1/1/46" + type: "Dynamic" + vlan: "4" + - mac_address: "f8bc.128f.04ee" + port: "1/1/14" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c10.212e" + port: "2/1/32" + type: "Dynamic" + vlan: "3" + - mac_address: "6c2b.59d6.9fcd" + port: "1/1/19" + type: "Dynamic" + vlan: "2" + - mac_address: "6c2b.59dd.c6fa" + port: "1/1/8" + type: "Dynamic" + vlan: "1" + - mac_address: "fa98.6b8a.a8b9" + port: "1/1/4" + type: "Dynamic" + vlan: "11" + - mac_address: "d861.6240.f255" + port: "1/1/1" + type: "Dynamic" + vlan: "10" + - mac_address: "54bf.6496.c555" + port: "1/1/7" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f372" + port: "2/1/4" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c14.fa31" + port: "2/1/26" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f356" + port: "2/1/33" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f383" + port: "2/1/8" + type: "Dynamic" + vlan: "3" + - mac_address: "484d.7edb.1116" + port: "1/1/15" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f370" + port: "2/1/6" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f354" + port: "2/1/16" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.16df" + port: "2/1/1" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f381" + port: "2/1/17" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f32d" + port: "2/1/20" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f376" + port: "2/1/5" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "10" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "4" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "10" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "4" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "2" diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw new file mode 100644 index 0000000000..7b32eb426c --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw @@ -0,0 +1,411 @@ + +Total active entries from all ports = 603 +MAC-Address Port Type VLAN +0002.d113.1d4e lg61 Dynamic 191 +0010.1848.e9ef lg11 Dynamic 1 +f866.f2a8.242a lg7 Dynamic 1 +6400.6a1f.f6ce lg14 Dynamic 10 +54ec.2f2d.60e0 lg41 Dynamic 110 +d4ae.52e9.2b6d lg11 Dynamic 1 +0015.5d01.300a lg12 Dynamic 1 +6c2b.59de.5656 lg31 Dynamic 101 +d481.d786.39e9 lg21 Dynamic 14 +a0a8.cdbe.2d1e lg12 Dynamic 501 +0010.20cf.6e23 lg31 Dynamic 111 +54ec.2f2d.62b0 lg61 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 25 +842b.2b58.ac78 lg11 Dynamic 50 +34e6.d72e.51f8 lg71 Dynamic 13 +0010.4079.aba8 lg61 Dynamic 111 +d89e.f32f.3a26 lg22 Dynamic 11 +54ec.2f2e.9cc0 lg12 Dynamic 110 +02e0.5221.03de lg1 Static 222 +f866.f2a8.3429 lg7 Dynamic 112 +6454.2206.7a86 lg41 Dynamic 104 +MAC-Address Port Type VLAN +02e0.52a1.8a0b lg1 Static 11 +3056.8402.66c3 lg51 Dynamic 111 +1866.da13.1eaf lg41 Dynamic 102 +0020.6b6f.ba62 lg21 Dynamic 14 +0010.20cf.c30b lg31 Dynamic 111 +6c2b.59eb.527c lg21 Dynamic 14 +0020.6b3e.8f55 lg71 Dynamic 13 +3005.5c8f.7c1e lg61 Dynamic 9 +54ec.2f2d.6f80 lg41 Dynamic 110 +000f.7c14.8226 lg13 Dynamic 226 +509a.4c54.55c5 lg61 Dynamic 9 +d4ae.52e9.2b69 lg11 Dynamic 1 +f866.f2a8.342a lg7 Dynamic 1 +0015.5d0a.8f10 lg11 Dynamic 300 +c0c5.2050.8f68 lg11 Dynamic 10 +d89e.f32b.17d5 lg11 Dynamic 300 +509a.4c50.8792 lg14 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 21 +00c0.0500.093c lg71 Dynamic 75 +f8bc.1270.34ad lg41 Dynamic 101 +e454.e876.0e4b lg14 Dynamic 11 +1866.da35.3d85 lg61 Dynamic 9 +MAC-Address Port Type VLAN +782b.cb29.d613 lg11 Dynamic 1 +a80c.0db2.05a0 lg7 Dynamic 1 +02e0.5234.2c66 lg1 Static 102 +70db.9862.1afc 1/1/29 Dynamic 1 +e898.6d99.ce00 lg11 Dynamic 300 +02e0.52c6.8a0c lg1 Static 12 +d89e.f32f.3c6a lg61 Dynamic 9 +54bf.6474.a330 lg14 Dynamic 14 +0010.40b9.2c4f lg31 Dynamic 111 +0010.40b3.c058 lg31 Dynamic 111 +d4c1.9e5d.d368 lg71 Dynamic 300 +54ec.2f2d.6bb0 lg41 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 254 +d4c1.9e5c.96a8 lg31 Dynamic 300 +3822.e2f9.6a73 lg71 Dynamic 13 +d4ae.52e9.2b66 lg11 Dynamic 1 +0010.40ad.4f65 lg51 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 17 +6c2b.59df.f57d lg31 Dynamic 101 +54ec.2f2e.9c80 lg21 Dynamic 110 +54bf.646e.6a45 lg71 Dynamic 13 +f866.f2a8.3440 lg7 Dynamic 1 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 32 +54ec.2f2d.4ff0 lg61 Dynamic 110 +0015.5d01.be0a lg11 Dynamic 1 +02e0.52eb.8a0d lg1 Static 13 +02e0.52a7.8a19 lg1 Static 25 +02e0.5260.8afc lg1 Static 501 +02e0.522f.8a01 lg1 Static 1 +f866.f2a8.3429 lg7 Dynamic 51 +0004.a3b0.d256 lg41 Dynamic 103 +d4c1.9e5c.a710 lg21 Dynamic 300 +0002.d113.1d54 lg61 Dynamic 191 +0009.b7f7.730d lg11 Dynamic 50 +0000.aac3.7abf lg21 Dynamic 14 +0021.9b92.e0dc lg11 Dynamic 1 +0020.6b40.20ce lg14 Dynamic 1 +a0c9.a0de.6989 lg41 Dynamic 111 +0015.5d01.3007 lg11 Dynamic 225 +b083.fe80.bb2f lg21 Dynamic 11 +b083.feaa.9b23 lg31 Dynamic 101 +484d.7ed5.5fd9 lg61 Dynamic 107 +d89e.f307.af58 lg61 Dynamic 101 +0020.6b3e.156e lg22 Dynamic 15 +MAC-Address Port Type VLAN +c8f7.50fc.9885 lg71 Dynamic 13 +f866.f2a8.3429 lg7 Dynamic 13 +484d.7ef5.e506 lg61 Dynamic 9 +0028.f89a.d436 lg12 Dynamic 501 +a41f.7254.c298 lg61 Dynamic 12 +70db.9862.1af4 1/1/29 Dynamic 1 +0009.b7f7.730d lg11 Dynamic 1 +0002.d113.1d4f lg61 Dynamic 191 +02e0.5285.8afd lg1 Static 502 +0010.20d0.b215 lg61 Dynamic 111 +02e0.5210.8a0e lg1 Static 14 +54bf.646f.d56c lg61 Dynamic 9 +f078.16de.1109 lg14 Dynamic 11 +1866.da09.8e0e lg41 Dynamic 102 +e454.e85d.92d1 lg31 Dynamic 103 +54bf.6461.cfc0 lg61 Dynamic 9 +6c2b.59df.6cda lg31 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 9 +b8ac.6f99.9588 lg11 Dynamic 1 +6c2b.59dd.b693 lg31 Dynamic 101 +e454.e860.290b lg31 Dynamic 103 +0090.c2f8.e280 lg14 Dynamic 225 +MAC-Address Port Type VLAN +a41f.727e.53c8 lg21 Dynamic 14 +d067.e5fd.3521 lg11 Dynamic 300 +0015.5d01.be02 lg11 Dynamic 1 +0019.0f04.a575 lg14 Dynamic 35 +0000.0c9f.f6a4 lg1 Dynamic 1700 +02e0.5235.8a0f lg1 Static 15 +02e0.52e1.8a4b lg1 Static 75 +e454.e87a.c28d lg71 Dynamic 13 +02e0.5269.8a33 lg1 Static 51 +54ec.2f2d.6f60 lg51 Dynamic 110 +502f.a85c.3cf9 lg1 Dynamic 1700 +6c2b.59f9.219e lg31 Dynamic 103 +480f.cfcd.7db9 lg71 Dynamic 13 +f866.f2a8.2429 lg7 Dynamic 1 +c81f.662e.e0a3 lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 77 +02e0.529e.f7c9 lg1 Static 301 +0015.5d0a.8f11 lg11 Dynamic 300 +d0d0.fd22.75eb lg12 Dynamic 1 +f8bc.125e.bd90 lg31 Dynamic 101 +b8ac.6f8a.66ab lg11 Dynamic 1 +0030.4df5.d0ec lg14 Dynamic 1 +MAC-Address Port Type VLAN +0015.5d09.6522 lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 20 +54ec.2f2e.8c30 lg71 Dynamic 110 +6c2b.59e0.0f92 lg31 Dynamic 101 +0015.5d01.3029 lg11 Dynamic 1 +000f.7c14.29db lg13 Dynamic 226 +54a0.50e3.240a lg12 Dynamic 10 +0010.18f1.1eb2 lg12 Dynamic 306 +02e0.525a.8a10 lg1 Static 16 +3c2a.f4a4.b291 lg21 Dynamic 14 +54bf.6476.ad35 lg41 Dynamic 102 +b083.fea2.29ca lg31 Dynamic 101 +02e0.528e.8a34 lg1 Static 52 +d4c1.9e91.2540 lg51 Dynamic 300 +2829.8621.d207 lg11 Dynamic 25 +02e0.5239.426f lg1 Static 111 +f866.f2a8.3429 lg7 Dynamic 1 +0025.64fe.33cd lg11 Dynamic 300 +0015.5d01.3003 lg12 Dynamic 1 +d4ae.52e9.2b67 lg11 Dynamic 1 +6c2b.59e0.100d lg31 Dynamic 101 +54ec.2f2e.9c60 lg12 Dynamic 110 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 16 +a01d.4874.0817 lg22 Dynamic 15 +f866.f2a8.3429 lg7 Dynamic 200 +7845.c41b.eb92 lg13 Dynamic 10 +02e0.5242.8270 lg1 Static 112 +54bf.6475.04c2 lg41 Dynamic 102 +406c.8f0d.b571 lg12 Dynamic 10 +f866.f2a8.3429 lg7 Dynamic 122 +0021.b743.1f83 lg14 Dynamic 11 +000f.7c14.2a0d lg13 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 50 +02e0.527f.8a11 lg1 Static 17 +6454.2202.5e07 lg41 Dynamic 104 +02e0.5230.026e lg1 Static 110 +d4c1.9e5c.b3f8 lg12 Dynamic 300 +02e0.522b.8a4d lg1 Static 77 +3005.5cec.2fdd lg13 Dynamic 10 +1cdf.0fc6.816f lg7 Dynamic 1 +b083.fea6.3dd2 lg31 Dynamic 101 +f8bc.1261.861f lg21 Dynamic 50 +f866.f2a8.3429 lg7 Dynamic 12 +d89e.f32e.8afc lg41 Dynamic 102 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 103 +0019.b9ea.68a5 lg11 Dynamic 1 +0015.5d01.300b lg11 Dynamic 306 +842b.2b56.c449 lg11 Dynamic 1 +0015.5d01.be07 lg11 Dynamic 1 +1866.da35.3d28 lg41 Dynamic 102 +0090.c2f8.e206 lg21 Dynamic 225 +0024.9701.b073 lg12 Dynamic 1 +c0c5.2050.8f2f 1/1/48 Dynamic 666 +54bf.646f.cdfb lg61 Dynamic 9 +0010.18f1.1eb2 lg12 Dynamic 225 +54ec.2f2e.9c20 lg21 Dynamic 110 +c0c5.2050.8f00 1/1/48 Dynamic 4084 +54bf.6461.cdca lg22 Dynamic 11 +6454.2206.7b97 lg41 Dynamic 104 +f8bc.1261.ae08 lg61 Dynamic 9 +54ec.2f2e.9d00 lg21 Dynamic 110 +d4c1.9e5c.c850 lg61 Dynamic 300 +d067.e524.b242 lg14 Dynamic 10 +02e0.5234.a27a lg1 Static 122 +0021.9b93.d7d7 lg11 Dynamic 1 +509a.4c50.83a2 lg61 Dynamic 9 +MAC-Address Port Type VLAN +54ec.2f2d.5d00 lg61 Dynamic 110 +6c2b.59f9.95d1 lg31 Dynamic 107 +6c2b.59eb.6fe5 lg12 Dynamic 10 +b083.febb.908a lg21 Dynamic 14 +54bf.6461.57ad lg11 Dynamic 200 +0025.64fe.33d0 lg11 Dynamic 300 +e454.e860.12ca lg31 Dynamic 103 +0014.ee02.bc43 lg11 Dynamic 1 +02e0.528f.8ae1 lg1 Static 225 +d4c1.9e5c.b468 lg11 Dynamic 300 +d4ae.52e9.2b6b lg11 Dynamic 1 +02e0.52d0.caff lg1 Static 1700 +0015.5d01.3008 lg12 Dynamic 1 +b083.feaa.9849 lg31 Dynamic 101 +0010.4079.abbd lg31 Dynamic 111 +b8ac.6f99.9586 lg11 Dynamic 1 +0010.20cf.c0a5 lg12 Dynamic 111 +842b.2b58.ac7a lg11 Dynamic 50 +0010.40a4.4922 lg31 Dynamic 111 +245e.be2d.6091 lg1 Dynamic 300 +02e0.5234.9068 lg1 Static 104 +e00e.da50.43c8 lg11 Dynamic 300 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 222 +0010.18b4.26d3 lg11 Dynamic 1 +6c2b.59d5.6f52 lg22 Dynamic 11 +0090.a9dd.c7f4 lg11 Dynamic 1 +54ec.2f2d.6150 lg61 Dynamic 110 +50f7.2228.3a41 lg12 Dynamic 10 +e454.e87a.ab2c lg71 Dynamic 13 +f48e.3895.c396 lg71 Dynamic 13 +02e0.52ac.3dfe lg1 Static 254 +02e0.52b4.8ae2 lg1 Static 226 +70db.9862.1afc 1/1/29 Dynamic 306 +02e0.52a4.8a12 lg1 Static 18 +000f.7c14.8261 lg13 Dynamic 226 +003a.7ddf.637c lg11 Dynamic 300 +00c0.0500.09f6 lg31 Dynamic 75 +0001.f095.0722 lg14 Dynamic 1 +1cdf.0fc6.816f lg7 Dynamic 502 +02e0.5282.f7ce lg1 Static 306 +a41f.7282.d823 lg12 Dynamic 10 +d4c1.9e5c.6928 lg14 Dynamic 300 +8018.44dd.8991 lg11 Dynamic 1 +6400.6a20.16c0 lg14 Dynamic 10 +MAC-Address Port Type VLAN +3005.5c01.3974 lg12 Dynamic 10 +003e.e1bf.e49d lg21 Dynamic 15 +70db.9862.1afc 1/1/29 Dynamic 666 +d89e.f32b.f084 lg14 Dynamic 16 +509a.4c50.adb9 lg12 Dynamic 10 +0025.64fe.33ce lg11 Dynamic 300 +f866.f2a8.3429 lg7 Dynamic 15 +0021.b7b5.5fcc lg14 Dynamic 11 +e454.e85d.c322 lg11 Dynamic 300 +1866.da18.8e60 lg41 Dynamic 102 +0021.b77e.b8de lg14 Dynamic 11 +a4bb.6dac.030e lg12 Dynamic 10 +54ec.2f2e.9ca0 lg12 Dynamic 110 +6c2b.59f7.d715 lg14 Dynamic 17 +02e0.520a.8cc8 lg1 Static 200 +0010.20d0.b627 lg61 Dynamic 111 +02e0.5238.cc67 lg1 Static 103 +02e0.52ee.8a14 lg1 Static 20 +00c0.0500.08ad lg22 Dynamic 75 +f866.f2a8.3429 lg7 Dynamic 11 +02e0.52aa.8a20 lg1 Static 32 +54bf.649b.9cdd lg61 Dynamic 9 +MAC-Address Port Type VLAN +0015.5d01.300d lg12 Dynamic 1 +b8ac.6f8a.66ad lg11 Dynamic 1 +502f.a85c.3cd1 lg1 Dynamic 1700 +5435.305d.f27b lg21 Dynamic 501 +a41f.7254.b8c4 lg22 Dynamic 11 +54ec.2f2d.6690 lg31 Dynamic 110 +d067.e5fd.3523 lg11 Dynamic 300 +0000.0c07.ac00 lg14 Dynamic 1 +e454.e87a.257d lg22 Dynamic 11 +0080.643e.92c1 lg31 Dynamic 107 +e454.e87a.af6d lg31 Dynamic 101 +0010.40b9.2afb lg61 Dynamic 111 +e454.e860.251d lg31 Dynamic 103 +0022.195e.5dec lg11 Dynamic 1 +502f.a8a7.7aa9 lg1 Dynamic 1700 +509a.4c3e.94f3 lg14 Dynamic 11 +e454.e85d.bfad lg31 Dynamic 101 +02e0.522f.8c65 lg1 Static 101 +24e9.b364.6b00 lg12 Dynamic 1 +e454.e87a.9b01 lg71 Dynamic 13 +001b.1700.0130 lg1 Dynamic 1700 +d861.6231.c94e lg12 Dynamic 111 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 191 +02e0.52cf.8a21 lg1 Static 33 +02e0.5257.8a09 lg1 Static 9 +02e0.52a5.8abf lg1 Static 191 +0010.20d0.aff7 lg31 Dynamic 111 +02e0.5213.8a15 lg1 Static 21 +0015.5d01.be00 lg11 Dynamic 1 +0010.40a4.4991 lg31 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 113 +e454.e84c.cd52 lg61 Dynamic 107 +3c2a.f41a.0f4d lg31 Dynamic 103 +54ec.2f2d.4ee0 lg31 Dynamic 110 +02e0.520a.f7d2 lg1 Static 300 +0010.18b4.26d2 lg11 Dynamic 1 +0020.6b3d.c471 lg14 Dynamic 11 +484d.7eda.b9b5 lg31 Dynamic 107 +54ec.2f2d.35f0 lg71 Dynamic 110 +0010.18f1.1eb2 lg12 Dynamic 1 +0011.1412.47fd lg31 Dynamic 103 +00e0.8615.e11b lg11 Dynamic 1 +6454.2205.8e42 lg41 Dynamic 104 +0021.b7b9.ea96 lg14 Dynamic 11 +MAC-Address Port Type VLAN +02e0.5253.646d lg1 Static 109 +848a.8d01.dbc0 lg11 Dynamic 300 +0080.64b5.4b26 lg31 Dynamic 107 +f866.f2a8.3429 lg7 Dynamic 75 +0015.5d01.3005 lg12 Dynamic 1 +3c2a.f452.869d lg14 Dynamic 11 +d4c1.9e5c.a898 lg22 Dynamic 300 +b083.fea6.fae4 lg31 Dynamic 101 +685b.3588.d8e1 lg21 Dynamic 15 +02e0.527c.8a0a lg1 Static 10 +54ec.2f2d.6f00 lg41 Dynamic 110 +6c2b.59df.24fe lg31 Dynamic 101 +02e0.52c6.f7cb lg1 Static 303 +f866.f2a8.3429 lg7 Dynamic 18 +3e96.ecf3.395b lg41 Dynamic 112 +0010.40a4.492d lg31 Dynamic 111 +e454.e896.53d0 lg21 Dynamic 14 +02e0.5216.f7cf lg1 Static 307 +1cdf.0fc6.816f lg7 Dynamic 33 +d4c1.9e5e.4528 lg41 Dynamic 300 +6400.6a20.1689 lg14 Dynamic 10 +f866.f2a8.3429 lg7 Dynamic 52 +MAC-Address Port Type VLAN +50f7.22ad.a7c1 lg71 Dynamic 13 +6c2b.59d6.a0b6 lg61 Dynamic 9 +6454.2206.5aa8 lg41 Dynamic 104 +d4c1.9e5c.a160 lg13 Dynamic 300 +0025.64fe.33cf lg11 Dynamic 300 +50f7.22ad.a9c1 lg14 Dynamic 11 +f01f.af2f.1020 lg13 Dynamic 10 +0010.40b9.6260 lg31 Dynamic 111 +a042.3f3b.dd1b lg22 Dynamic 15 +c81f.6604.7037 lg14 Dynamic 11 +509a.4c42.fa15 lg61 Dynamic 107 +6454.2202.5a7f lg41 Dynamic 104 +f866.f2a8.3429 lg7 Dynamic 14 +02e0.5232.f7ca lg1 Static 302 +02e0.5252.3c6c lg1 Static 108 +6400.6a20.1c7b lg12 Dynamic 10 +1cdf.0fc6.816f lg7 Dynamic 501 +02e0.5219.8a23 lg1 Static 35 +6c2b.59df.d5fb lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 33 +54bf.6460.ed6c lg11 Dynamic 300 +c08c.6093.09b6 lg61 Dynamic 254 +MAC-Address Port Type VLAN +6400.6a20.16a2 lg41 Dynamic 101 +0015.5d01.be09 lg11 Dynamic 1 +f8bc.128f.b1d0 lg61 Dynamic 12 +0027.e31e.ebf1 lg14 Dynamic 1 +0008.3246.0041 lg14 Dynamic 11 +02e0.524b.4c6b lg1 Static 107 +54bf.646f.d11e lg61 Dynamic 9 +0010.4054.6c9f lg61 Dynamic 111 +6c2b.59ef.285c lg61 Dynamic 107 +0010.20d0.741b lg61 Dynamic 111 +d89e.f32f.3c59 lg41 Dynamic 102 +0004.a3b7.3156 lg11 Dynamic 1 +e454.e896.5459 lg61 Dynamic 103 +d89e.f345.609e lg31 Dynamic 101 +000b.6bb4.cc74 lg41 Dynamic 111 +0026.b93d.2ab0 lg11 Dynamic 226 +54ec.2f2d.4710 lg41 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 10 +90b1.1c5d.abfe lg12 Dynamic 10 +0010.40ad.039e lg61 Dynamic 111 +54ec.2f2d.5e40 lg41 Dynamic 110 +842b.2b56.c44b lg11 Dynamic 1 +MAC-Address Port Type VLAN +f01f.af30.565c lg11 Dynamic 10 +0010.40a4.48e5 lg31 Dynamic 111 +6400.6a15.bd50 lg61 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 502 +f866.f2a8.3429 lg7 Dynamic 501 +f866.f2a8.3429 lg7 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 225 +f866.f2a8.3429 lg7 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 108 +f866.f2a8.3429 lg7 Dynamic 107 +f866.f2a8.3429 lg7 Dynamic 104 +f866.f2a8.3429 lg7 Dynamic 102 +f866.f2a8.3429 lg7 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 35 +0010.18f1.1eb4 lg11 Dynamic 1 +e454.e87a.238a lg71 Dynamic 13 +f866.f2a8.3429 lg7 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 109 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml new file mode 100644 index 0000000000..e35816388e --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml @@ -0,0 +1,1566 @@ +--- +parsed_sample: + - mac_address: "0002.d113.1d4e" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "0010.1848.e9ef" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.242a" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "6400.6a1f.f6ce" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "54ec.2f2d.60e0" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "d4ae.52e9.2b6d" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.300a" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59de.5656" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "d481.d786.39e9" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "a0a8.cdbe.2d1e" + port: "lg12" + type: "Dynamic" + vlan: "501" + - mac_address: "0010.20cf.6e23" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "54ec.2f2d.62b0" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "25" + - mac_address: "842b.2b58.ac78" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "34e6.d72e.51f8" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "0010.4079.aba8" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "d89e.f32f.3a26" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "54ec.2f2e.9cc0" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "02e0.5221.03de" + port: "lg1" + type: "Static" + vlan: "222" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "112" + - mac_address: "6454.2206.7a86" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "02e0.52a1.8a0b" + port: "lg1" + type: "Static" + vlan: "11" + - mac_address: "3056.8402.66c3" + port: "lg51" + type: "Dynamic" + vlan: "111" + - mac_address: "1866.da13.1eaf" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0020.6b6f.ba62" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0010.20cf.c30b" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "6c2b.59eb.527c" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0020.6b3e.8f55" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "3005.5c8f.7c1e" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2d.6f80" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "000f.7c14.8226" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "509a.4c54.55c5" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "d4ae.52e9.2b69" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.342a" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d0a.8f10" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "c0c5.2050.8f68" + port: "lg11" + type: "Dynamic" + vlan: "10" + - mac_address: "d89e.f32b.17d5" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "509a.4c50.8792" + port: "lg14" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "21" + - mac_address: "00c0.0500.093c" + port: "lg71" + type: "Dynamic" + vlan: "75" + - mac_address: "f8bc.1270.34ad" + port: "lg41" + type: "Dynamic" + vlan: "101" + - mac_address: "e454.e876.0e4b" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "1866.da35.3d85" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "782b.cb29.d613" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "a80c.0db2.05a0" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.5234.2c66" + port: "lg1" + type: "Static" + vlan: "102" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "1" + - mac_address: "e898.6d99.ce00" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.52c6.8a0c" + port: "lg1" + type: "Static" + vlan: "12" + - mac_address: "d89e.f32f.3c6a" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54bf.6474.a330" + port: "lg14" + type: "Dynamic" + vlan: "14" + - mac_address: "0010.40b9.2c4f" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "0010.40b3.c058" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "d4c1.9e5d.d368" + port: "lg71" + type: "Dynamic" + vlan: "300" + - mac_address: "54ec.2f2d.6bb0" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "254" + - mac_address: "d4c1.9e5c.96a8" + port: "lg31" + type: "Dynamic" + vlan: "300" + - mac_address: "3822.e2f9.6a73" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "d4ae.52e9.2b66" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40ad.4f65" + port: "lg51" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "17" + - mac_address: "6c2b.59df.f57d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "54ec.2f2e.9c80" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "54bf.646e.6a45" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3440" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "32" + - mac_address: "54ec.2f2d.4ff0" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "0015.5d01.be0a" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.52eb.8a0d" + port: "lg1" + type: "Static" + vlan: "13" + - mac_address: "02e0.52a7.8a19" + port: "lg1" + type: "Static" + vlan: "25" + - mac_address: "02e0.5260.8afc" + port: "lg1" + type: "Static" + vlan: "501" + - mac_address: "02e0.522f.8a01" + port: "lg1" + type: "Static" + vlan: "1" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "51" + - mac_address: "0004.a3b0.d256" + port: "lg41" + type: "Dynamic" + vlan: "103" + - mac_address: "d4c1.9e5c.a710" + port: "lg21" + type: "Dynamic" + vlan: "300" + - mac_address: "0002.d113.1d54" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "0009.b7f7.730d" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "0000.aac3.7abf" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0021.9b92.e0dc" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0020.6b40.20ce" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "a0c9.a0de.6989" + port: "lg41" + type: "Dynamic" + vlan: "111" + - mac_address: "0015.5d01.3007" + port: "lg11" + type: "Dynamic" + vlan: "225" + - mac_address: "b083.fe80.bb2f" + port: "lg21" + type: "Dynamic" + vlan: "11" + - mac_address: "b083.feaa.9b23" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "484d.7ed5.5fd9" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "d89e.f307.af58" + port: "lg61" + type: "Dynamic" + vlan: "101" + - mac_address: "0020.6b3e.156e" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "c8f7.50fc.9885" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "13" + - mac_address: "484d.7ef5.e506" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0028.f89a.d436" + port: "lg12" + type: "Dynamic" + vlan: "501" + - mac_address: "a41f.7254.c298" + port: "lg61" + type: "Dynamic" + vlan: "12" + - mac_address: "70db.9862.1af4" + port: "1/1/29" + type: "Dynamic" + vlan: "1" + - mac_address: "0009.b7f7.730d" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0002.d113.1d4f" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "02e0.5285.8afd" + port: "lg1" + type: "Static" + vlan: "502" + - mac_address: "0010.20d0.b215" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5210.8a0e" + port: "lg1" + type: "Static" + vlan: "14" + - mac_address: "54bf.646f.d56c" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f078.16de.1109" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "1866.da09.8e0e" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "e454.e85d.92d1" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "54bf.6461.cfc0" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "6c2b.59df.6cda" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "9" + - mac_address: "b8ac.6f99.9588" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59dd.b693" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "e454.e860.290b" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0090.c2f8.e280" + port: "lg14" + type: "Dynamic" + vlan: "225" + - mac_address: "a41f.727e.53c8" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "d067.e5fd.3521" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0015.5d01.be02" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0019.0f04.a575" + port: "lg14" + type: "Dynamic" + vlan: "35" + - mac_address: "0000.0c9f.f6a4" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "02e0.5235.8a0f" + port: "lg1" + type: "Static" + vlan: "15" + - mac_address: "02e0.52e1.8a4b" + port: "lg1" + type: "Static" + vlan: "75" + - mac_address: "e454.e87a.c28d" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "02e0.5269.8a33" + port: "lg1" + type: "Static" + vlan: "51" + - mac_address: "54ec.2f2d.6f60" + port: "lg51" + type: "Dynamic" + vlan: "110" + - mac_address: "502f.a85c.3cf9" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "6c2b.59f9.219e" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "480f.cfcd.7db9" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.2429" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "c81f.662e.e0a3" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "77" + - mac_address: "02e0.529e.f7c9" + port: "lg1" + type: "Static" + vlan: "301" + - mac_address: "0015.5d0a.8f11" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "d0d0.fd22.75eb" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "f8bc.125e.bd90" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "b8ac.6f8a.66ab" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0030.4df5.d0ec" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d09.6522" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "20" + - mac_address: "54ec.2f2e.8c30" + port: "lg71" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59e0.0f92" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0015.5d01.3029" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c14.29db" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "54a0.50e3.240a" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "306" + - mac_address: "02e0.525a.8a10" + port: "lg1" + type: "Static" + vlan: "16" + - mac_address: "3c2a.f4a4.b291" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "54bf.6476.ad35" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "b083.fea2.29ca" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.528e.8a34" + port: "lg1" + type: "Static" + vlan: "52" + - mac_address: "d4c1.9e91.2540" + port: "lg51" + type: "Dynamic" + vlan: "300" + - mac_address: "2829.8621.d207" + port: "lg11" + type: "Dynamic" + vlan: "25" + - mac_address: "02e0.5239.426f" + port: "lg1" + type: "Static" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "0025.64fe.33cd" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0015.5d01.3003" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "d4ae.52e9.2b67" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59e0.100d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "54ec.2f2e.9c60" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "16" + - mac_address: "a01d.4874.0817" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "200" + - mac_address: "7845.c41b.eb92" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "02e0.5242.8270" + port: "lg1" + type: "Static" + vlan: "112" + - mac_address: "54bf.6475.04c2" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "406c.8f0d.b571" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "122" + - mac_address: "0021.b743.1f83" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "000f.7c14.2a0d" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "50" + - mac_address: "02e0.527f.8a11" + port: "lg1" + type: "Static" + vlan: "17" + - mac_address: "6454.2202.5e07" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "02e0.5230.026e" + port: "lg1" + type: "Static" + vlan: "110" + - mac_address: "d4c1.9e5c.b3f8" + port: "lg12" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.522b.8a4d" + port: "lg1" + type: "Static" + vlan: "77" + - mac_address: "3005.5cec.2fdd" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "b083.fea6.3dd2" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "f8bc.1261.861f" + port: "lg21" + type: "Dynamic" + vlan: "50" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "12" + - mac_address: "d89e.f32e.8afc" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "103" + - mac_address: "0019.b9ea.68a5" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.300b" + port: "lg11" + type: "Dynamic" + vlan: "306" + - mac_address: "842b.2b56.c449" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.be07" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "1866.da35.3d28" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0090.c2f8.e206" + port: "lg21" + type: "Dynamic" + vlan: "225" + - mac_address: "0024.9701.b073" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "c0c5.2050.8f2f" + port: "1/1/48" + type: "Dynamic" + vlan: "666" + - mac_address: "54bf.646f.cdfb" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "225" + - mac_address: "54ec.2f2e.9c20" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "c0c5.2050.8f00" + port: "1/1/48" + type: "Dynamic" + vlan: "4084" + - mac_address: "54bf.6461.cdca" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "6454.2206.7b97" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "f8bc.1261.ae08" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2e.9d00" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "d4c1.9e5c.c850" + port: "lg61" + type: "Dynamic" + vlan: "300" + - mac_address: "d067.e524.b242" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "02e0.5234.a27a" + port: "lg1" + type: "Static" + vlan: "122" + - mac_address: "0021.9b93.d7d7" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "509a.4c50.83a2" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2d.5d00" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59f9.95d1" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "6c2b.59eb.6fe5" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "b083.febb.908a" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "54bf.6461.57ad" + port: "lg11" + type: "Dynamic" + vlan: "200" + - mac_address: "0025.64fe.33d0" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "e454.e860.12ca" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0014.ee02.bc43" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.528f.8ae1" + port: "lg1" + type: "Static" + vlan: "225" + - mac_address: "d4c1.9e5c.b468" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "d4ae.52e9.2b6b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.52d0.caff" + port: "lg1" + type: "Static" + vlan: "1700" + - mac_address: "0015.5d01.3008" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "b083.feaa.9849" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0010.4079.abbd" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "b8ac.6f99.9586" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20cf.c0a5" + port: "lg12" + type: "Dynamic" + vlan: "111" + - mac_address: "842b.2b58.ac7a" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "0010.40a4.4922" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "245e.be2d.6091" + port: "lg1" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.5234.9068" + port: "lg1" + type: "Static" + vlan: "104" + - mac_address: "e00e.da50.43c8" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "222" + - mac_address: "0010.18b4.26d3" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59d5.6f52" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "0090.a9dd.c7f4" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "54ec.2f2d.6150" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "50f7.2228.3a41" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "e454.e87a.ab2c" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f48e.3895.c396" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "02e0.52ac.3dfe" + port: "lg1" + type: "Static" + vlan: "254" + - mac_address: "02e0.52b4.8ae2" + port: "lg1" + type: "Static" + vlan: "226" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "306" + - mac_address: "02e0.52a4.8a12" + port: "lg1" + type: "Static" + vlan: "18" + - mac_address: "000f.7c14.8261" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "003a.7ddf.637c" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "00c0.0500.09f6" + port: "lg31" + type: "Dynamic" + vlan: "75" + - mac_address: "0001.f095.0722" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "502" + - mac_address: "02e0.5282.f7ce" + port: "lg1" + type: "Static" + vlan: "306" + - mac_address: "a41f.7282.d823" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "d4c1.9e5c.6928" + port: "lg14" + type: "Dynamic" + vlan: "300" + - mac_address: "8018.44dd.8991" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6400.6a20.16c0" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "3005.5c01.3974" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "003e.e1bf.e49d" + port: "lg21" + type: "Dynamic" + vlan: "15" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "666" + - mac_address: "d89e.f32b.f084" + port: "lg14" + type: "Dynamic" + vlan: "16" + - mac_address: "509a.4c50.adb9" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0025.64fe.33ce" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "15" + - mac_address: "0021.b7b5.5fcc" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "e454.e85d.c322" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "1866.da18.8e60" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0021.b77e.b8de" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "a4bb.6dac.030e" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "54ec.2f2e.9ca0" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59f7.d715" + port: "lg14" + type: "Dynamic" + vlan: "17" + - mac_address: "02e0.520a.8cc8" + port: "lg1" + type: "Static" + vlan: "200" + - mac_address: "0010.20d0.b627" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5238.cc67" + port: "lg1" + type: "Static" + vlan: "103" + - mac_address: "02e0.52ee.8a14" + port: "lg1" + type: "Static" + vlan: "20" + - mac_address: "00c0.0500.08ad" + port: "lg22" + type: "Dynamic" + vlan: "75" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.52aa.8a20" + port: "lg1" + type: "Static" + vlan: "32" + - mac_address: "54bf.649b.9cdd" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0015.5d01.300d" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "b8ac.6f8a.66ad" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "502f.a85c.3cd1" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "5435.305d.f27b" + port: "lg21" + type: "Dynamic" + vlan: "501" + - mac_address: "a41f.7254.b8c4" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "54ec.2f2d.6690" + port: "lg31" + type: "Dynamic" + vlan: "110" + - mac_address: "d067.e5fd.3523" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0000.0c07.ac00" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.257d" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "0080.643e.92c1" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "e454.e87a.af6d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0010.40b9.2afb" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "e454.e860.251d" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0022.195e.5dec" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "502f.a8a7.7aa9" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "509a.4c3e.94f3" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "e454.e85d.bfad" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.522f.8c65" + port: "lg1" + type: "Static" + vlan: "101" + - mac_address: "24e9.b364.6b00" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.9b01" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "001b.1700.0130" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "d861.6231.c94e" + port: "lg12" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "191" + - mac_address: "02e0.52cf.8a21" + port: "lg1" + type: "Static" + vlan: "33" + - mac_address: "02e0.5257.8a09" + port: "lg1" + type: "Static" + vlan: "9" + - mac_address: "02e0.52a5.8abf" + port: "lg1" + type: "Static" + vlan: "191" + - mac_address: "0010.20d0.aff7" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5213.8a15" + port: "lg1" + type: "Static" + vlan: "21" + - mac_address: "0015.5d01.be00" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40a4.4991" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "113" + - mac_address: "e454.e84c.cd52" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "3c2a.f41a.0f4d" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "54ec.2f2d.4ee0" + port: "lg31" + type: "Dynamic" + vlan: "110" + - mac_address: "02e0.520a.f7d2" + port: "lg1" + type: "Static" + vlan: "300" + - mac_address: "0010.18b4.26d2" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0020.6b3d.c471" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "484d.7eda.b9b5" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "54ec.2f2d.35f0" + port: "lg71" + type: "Dynamic" + vlan: "110" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "0011.1412.47fd" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "00e0.8615.e11b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6454.2205.8e42" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "0021.b7b9.ea96" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.5253.646d" + port: "lg1" + type: "Static" + vlan: "109" + - mac_address: "848a.8d01.dbc0" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0080.64b5.4b26" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "75" + - mac_address: "0015.5d01.3005" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "3c2a.f452.869d" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "d4c1.9e5c.a898" + port: "lg22" + type: "Dynamic" + vlan: "300" + - mac_address: "b083.fea6.fae4" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "685b.3588.d8e1" + port: "lg21" + type: "Dynamic" + vlan: "15" + - mac_address: "02e0.527c.8a0a" + port: "lg1" + type: "Static" + vlan: "10" + - mac_address: "54ec.2f2d.6f00" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59df.24fe" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.52c6.f7cb" + port: "lg1" + type: "Static" + vlan: "303" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "18" + - mac_address: "3e96.ecf3.395b" + port: "lg41" + type: "Dynamic" + vlan: "112" + - mac_address: "0010.40a4.492d" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "e454.e896.53d0" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "02e0.5216.f7cf" + port: "lg1" + type: "Static" + vlan: "307" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "33" + - mac_address: "d4c1.9e5e.4528" + port: "lg41" + type: "Dynamic" + vlan: "300" + - mac_address: "6400.6a20.1689" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "52" + - mac_address: "50f7.22ad.a7c1" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "6c2b.59d6.a0b6" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "6454.2206.5aa8" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "d4c1.9e5c.a160" + port: "lg13" + type: "Dynamic" + vlan: "300" + - mac_address: "0025.64fe.33cf" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "50f7.22ad.a9c1" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "f01f.af2f.1020" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40b9.6260" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "a042.3f3b.dd1b" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "c81f.6604.7037" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "509a.4c42.fa15" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "6454.2202.5a7f" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "14" + - mac_address: "02e0.5232.f7ca" + port: "lg1" + type: "Static" + vlan: "302" + - mac_address: "02e0.5252.3c6c" + port: "lg1" + type: "Static" + vlan: "108" + - mac_address: "6400.6a20.1c7b" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "501" + - mac_address: "02e0.5219.8a23" + port: "lg1" + type: "Static" + vlan: "35" + - mac_address: "6c2b.59df.d5fb" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "33" + - mac_address: "54bf.6460.ed6c" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "c08c.6093.09b6" + port: "lg61" + type: "Dynamic" + vlan: "254" + - mac_address: "6400.6a20.16a2" + port: "lg41" + type: "Dynamic" + vlan: "101" + - mac_address: "0015.5d01.be09" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f8bc.128f.b1d0" + port: "lg61" + type: "Dynamic" + vlan: "12" + - mac_address: "0027.e31e.ebf1" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "0008.3246.0041" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.524b.4c6b" + port: "lg1" + type: "Static" + vlan: "107" + - mac_address: "54bf.646f.d11e" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0010.4054.6c9f" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "6c2b.59ef.285c" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "0010.20d0.741b" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "d89e.f32f.3c59" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0004.a3b7.3156" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e896.5459" + port: "lg61" + type: "Dynamic" + vlan: "103" + - mac_address: "d89e.f345.609e" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "000b.6bb4.cc74" + port: "lg41" + type: "Dynamic" + vlan: "111" + - mac_address: "0026.b93d.2ab0" + port: "lg11" + type: "Dynamic" + vlan: "226" + - mac_address: "54ec.2f2d.4710" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "10" + - mac_address: "90b1.1c5d.abfe" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40ad.039e" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "54ec.2f2d.5e40" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "842b.2b56.c44b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f01f.af30.565c" + port: "lg11" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40a4.48e5" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "6400.6a15.bd50" + port: "lg61" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "502" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "501" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "225" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "108" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "107" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "104" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "102" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "35" + - mac_address: "0010.18f1.1eb4" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.238a" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "109" From 85192a1c1605eec7413deaa3a0d01e71d3821db9 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 15 Mar 2021 13:24:36 -0600 Subject: [PATCH 177/412] Bugfix: Type for cisco_nxos_show_interface_status (#880) --- .../cisco_nxos_show_interface_status.textfsm | 8 +- .../cisco_nxos_show_interface_status3.raw | 1 + .../cisco_nxos_show_interface_status3.yml | 109 ++++++++++-------- 3 files changed, 63 insertions(+), 55 deletions(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index 024141a729..5d142c9b3c 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -4,11 +4,11 @@ Value STATUS (\S+) Value VLAN (\d+|routed|trunk|--) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+|\S+\s+\S+) +Value TYPE (\S+(\s\S+)*) Start ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ - ^-+\s*$$ - ^$$ - ^.*$$ -> Error + ^-+ + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw index 434aca5b33..05eeec8aa8 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw @@ -14,3 +14,4 @@ Eth1/10 -- channelDo 1 full 10G Fabric Exte Eth1/11 -- channelDo 1 full 10G Fabric Exte Eth1/12 -- channelDo 1 full 10G Fabric Exte Eth1/13 upk N2232PP-651-10 connected 1 full 10G Fabric Exte +Eth1/39 "FEX151" connected 1 full 10G Fabric Extender Transceiver diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml index 8733852232..abc118c072 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml @@ -1,93 +1,100 @@ --- parsed_sample: - - duplex: "full" + - port: "Eth1/1" name: "upk peerLink_XXXX" - port: "Eth1/1" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/2" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/2" name: "upk peerLink_XXXX" - port: "Eth1/3" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/4" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/3" name: "upk peerLink_XXXX" - port: "Eth1/5" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/6" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/4" name: "upk peerLink_XXXX" - port: "Eth1/7" - speed: "10G" status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" type: "10Gbase-SR" + - port: "Eth1/5" + name: "upk peerLink_XXXX" + status: "connected" vlan: "trunk" - - duplex: "full" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/6" name: "upk peerLink_XXXX" - port: "Eth1/8" + status: "connected" + vlan: "trunk" + duplex: "full" speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/7" + name: "upk peerLink_XXXX" status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" type: "10Gbase-SR" + - port: "Eth1/8" + name: "upk peerLink_XXXX" + status: "connected" vlan: "trunk" - - duplex: "full" - name: "--" - port: "Eth1/9" + duplex: "full" speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/9" + name: "--" status: "channelDo" - type: "Fabric Exte" vlan: "1" - - duplex: "full" - name: "--" - port: "Eth1/10" + duplex: "full" speed: "10G" - status: "channelDo" type: "Fabric Exte" - vlan: "1" - - duplex: "full" + - port: "Eth1/10" name: "--" - port: "Eth1/11" - speed: "10G" status: "channelDo" - type: "Fabric Exte" vlan: "1" - - duplex: "full" - name: "--" - port: "Eth1/12" + duplex: "full" speed: "10G" + type: "Fabric Exte" + - port: "Eth1/11" + name: "--" status: "channelDo" + vlan: "1" + duplex: "full" + speed: "10G" type: "Fabric Exte" + - port: "Eth1/12" + name: "--" + status: "channelDo" vlan: "1" - - duplex: "full" - name: "upk N2232PP-651-10" - port: "Eth1/13" + duplex: "full" speed: "10G" + type: "Fabric Exte" + - port: "Eth1/13" + name: "upk N2232PP-651-10" status: "connected" + vlan: "1" + duplex: "full" + speed: "10G" type: "Fabric Exte" + - port: "Eth1/39" + name: "\"FEX151\"" + status: "connected" vlan: "1" + duplex: "full" + speed: "10G" + type: "Fabric Extender Transceiver" From 2f78ad58e30d9020b9b5fec623057ed80f18cf58 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Tue, 16 Mar 2021 09:15:45 -0500 Subject: [PATCH 178/412] New Template: ruckus_fastiron, show interfaces brief (#895) --- ntc_templates/templates/index | 1 + ...kus_fastiron_show_interfaces_brief.textfsm | 18 + .../show_interfaces_brief.raw | 111 ++ .../show_interfaces_brief.yml | 1201 +++++++++++++++ .../show_interfaces_brief1.raw | 122 ++ .../show_interfaces_brief1.yml | 1300 +++++++++++++++++ 6 files changed, 2753 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b6c1d5eb60..6e4c1895e7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -456,6 +456,7 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm b/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm new file mode 100644 index 0000000000..65ced4520f --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm @@ -0,0 +1,18 @@ +Value Required PORT (\S+) +Value LINK (\S+) +Value STATE (\S+) +Value DUPLEX (\S+) +Value SPEED (\S+) +Value TRUNK (\S+) +Value TAG (\S+) +Value PVID (\S+) +Value PRIORITY (\S+) +Value MAC_ADDRESS (([A-Fa-f0-9\.]{14}|None)) +Value NAME (\S+) + +Start + ^Port\s+Link\s+State\s+Dupl\s+Speed\s+Trunk\s+Tag\s+Pvid\s+Pri\s+MAC\s+Name + ^${PORT}\s+${LINK}\s+${STATE}\s+${DUPLEX}\s+${SPEED}\s+${TRUNK}\s+${TAG}\s+${PVID}\s+${PRIORITY}\s+${MAC_ADDRESS}\s+${NAME} -> Record + ^${PORT}\s+${LINK}\s+${STATE}\s+${DUPLEX}\s+${SPEED}\s+${TRUNK}\s+${TAG}\s+${PVID}\s+${PRIORITY}\s+${MAC_ADDRESS} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw new file mode 100644 index 0000000000..8e354ee67b --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw @@ -0,0 +1,111 @@ + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +1/1/1 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.1108 +1/1/2 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.1109 +1/1/3 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110a +1/1/4 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110b +1/1/5 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110c +1/1/6 Up Forward Full 1G None No 1 0 d4c1.9e8f.110d +1/1/7 Up Forward Full 1G None No 1 0 d4c1.9e8f.110e +1/1/8 Up Forward Full 1G None No 1 0 d4c1.9e8f.110f +1/1/9 Up Forward Full 1G None No 1 0 d4c1.9e8f.1110 +1/1/10 Up Forward Full 1G None No 1 0 d4c1.9e8f.1111 +1/1/11 Up Forward Full 100M None No 1 0 d4c1.9e8f.1112 +1/1/12 Up Forward Full 1G None No 1 0 d4c1.9e8f.1113 +1/1/13 Down None None None None No 1 0 d4c1.9e8f.1114 +1/1/14 Up Forward Full 1G None No 1 0 d4c1.9e8f.1115 +1/1/15 Up Forward Full 1G None No 1 0 d4c1.9e8f.1116 +1/1/16 Up Forward Full 100M None No 1 0 d4c1.9e8f.1117 +1/1/17 Up Forward Full 1G None No 1 0 d4c1.9e8f.1118 +1/1/18 Up Forward Full 1G None No 1 0 d4c1.9e8f.1119 +1/1/19 Up Forward Full 100M None No 2 0 d4c1.9e8f.111a +1/1/20 Up Forward Full 1G None No 2 0 d4c1.9e8f.111b +1/1/21 Up Forward Full 100M None No 2 0 d4c1.9e8f.111c +1/1/22 Up Forward Full 100M None No 2 0 d4c1.9e8f.111d +1/1/23 Up Forward Full 100M None No 2 0 d4c1.9e8f.111e +1/1/24 Down None None None None No 666 0 d4c1.9e8f.111f +1/1/25 Down None None None None No 666 0 d4c1.9e8f.1120 +1/1/26 Down None None None None No 666 0 d4c1.9e8f.1121 +1/1/27 Up Forward Full 1G None No 1 0 d4c1.9e8f.1122 +1/1/28 Down None None None None No 666 0 d4c1.9e8f.1123 +1/1/29 Down None None None None No 666 0 d4c1.9e8f.1124 +1/1/30 Down None None None None No 666 0 d4c1.9e8f.1125 +1/1/31 Down None None None None No 666 0 d4c1.9e8f.1126 +1/1/32 Down None None None None No 666 0 d4c1.9e8f.1127 +1/1/33 Up Forward Full 100M None No 7 0 d4c1.9e8f.1128 +1/1/34 Down None None None None No 666 0 d4c1.9e8f.1129 +1/1/35 Down None None None None No 666 0 d4c1.9e8f.112a +1/1/36 Down None None None None No 666 0 d4c1.9e8f.112b +1/1/37 Down None None None None No 666 0 d4c1.9e8f.112c +1/1/38 Down None None None None No 666 0 d4c1.9e8f.112d +1/1/39 Down None None None None No 666 0 d4c1.9e8f.112e +1/1/40 Down None None None None No 666 0 d4c1.9e8f.112f +1/1/41 Down None None None None No 666 0 d4c1.9e8f.1130 +1/1/42 Down None None None None No 666 0 d4c1.9e8f.1131 +1/1/43 Down None None None None No 666 0 d4c1.9e8f.1132 +1/1/44 Down None None None None No 666 0 d4c1.9e8f.1133 +1/1/45 Down None None None None No 666 0 d4c1.9e8f.1134 +1/1/46 Up Forward Full 1G None No 4 0 d4c1.9e8f.1135 +1/1/47 Up Forward Full 1G None No 4 0 d4c1.9e8f.1136 +1/1/48 Up Forward Full 1G None No 4 0 d4c1.9e8f.1137 +1/2/1 Up Forward Full 1G None Yes 666 0 d4c1.9e8f.1139 +1/2/2 Down None None None None No 666 0 d4c1.9e8f.113a +1/3/1 Up Forward Full 10G None No N/A 0 d4c1.9e8f.113b +1/3/2 Down None None None None No 666 0 d4c1.9e8f.113c +1/3/3 Up Forward Full 10G None No N/A 0 d4c1.9e8f.113d +1/3/4 Down None None None None No 666 0 d4c1.9e8f.113e +2/1/1 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b0 +2/1/2 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b1 +2/1/3 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b2 +2/1/4 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b3 +2/1/5 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b4 +2/1/6 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b5 +2/1/7 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b6 +2/1/8 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b7 +2/1/9 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b8 +2/1/10 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b9 +2/1/11 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ba +2/1/12 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bb +2/1/13 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bc +2/1/14 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bd +2/1/15 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5be +2/1/16 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bf +2/1/17 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c0 +2/1/18 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c1 +2/1/19 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c2 +2/1/20 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c3 +2/1/21 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c4 +2/1/22 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c5 +2/1/23 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c6 +2/1/24 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c7 +2/1/25 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c8 +2/1/26 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c9 +2/1/27 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ca +2/1/28 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cb +2/1/29 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cc +2/1/30 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cd +2/1/31 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ce +2/1/32 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cf +2/1/33 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d0 +2/1/34 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d1 +2/1/35 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d2 +2/1/36 Down None None None None No 3 0 d4c1.9e8e.f5d3 +2/1/37 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d4 +2/1/38 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d5 +2/1/39 Down None None None None No 3 0 d4c1.9e8e.f5d6 +2/1/40 Down None None None None No 3 0 d4c1.9e8e.f5d7 +2/1/41 Down None None None None No 3 0 d4c1.9e8e.f5d8 +2/1/42 Down None None None None No 3 0 d4c1.9e8e.f5d9 +2/1/43 Down None None None None No 3 0 d4c1.9e8e.f5da +2/1/44 Down None None None None No 3 0 d4c1.9e8e.f5db +2/1/45 Down None None None None No 3 0 d4c1.9e8e.f5dc +2/1/46 Down None None None None No 3 0 d4c1.9e8e.f5dd +2/1/47 Down None None None None No 3 0 d4c1.9e8e.f5de +2/1/48 Up Forward Full 1G None No 3 0 d4c1.9e8e.f5df +2/2/1 Down None None None None No 666 0 d4c1.9e8e.f5e1 +2/2/2 Down None None None None No 666 0 d4c1.9e8e.f5e2 +2/3/1 Up Forward Full 10G None No N/A 0 d4c1.9e8e.f5e3 +2/3/2 Down None None None None No 666 0 d4c1.9e8e.f5e4 +2/3/3 Up Forward Full 10G None No N/A 0 d4c1.9e8e.f5e5 +2/3/4 Down None None None None No 666 0 d4c1.9e8e.f5e6 +mgmt1 Down None None None None No None 0 d4c1.9e8f.1108 diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml new file mode 100644 index 0000000000..2fbdc049a8 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml @@ -0,0 +1,1201 @@ +--- +parsed_sample: + - port: "1/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.1108" + name: "" + - port: "1/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.1109" + name: "" + - port: "1/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110a" + name: "" + - port: "1/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110b" + name: "" + - port: "1/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110c" + name: "" + - port: "1/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110d" + name: "" + - port: "1/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110e" + name: "" + - port: "1/1/8" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110f" + name: "" + - port: "1/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1110" + name: "" + - port: "1/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1111" + name: "" + - port: "1/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1112" + name: "" + - port: "1/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1113" + name: "" + - port: "1/1/13" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1114" + name: "" + - port: "1/1/14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1115" + name: "" + - port: "1/1/15" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1116" + name: "" + - port: "1/1/16" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1117" + name: "" + - port: "1/1/17" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1118" + name: "" + - port: "1/1/18" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1119" + name: "" + - port: "1/1/19" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111a" + name: "" + - port: "1/1/20" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111b" + name: "" + - port: "1/1/21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111c" + name: "" + - port: "1/1/22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111d" + name: "" + - port: "1/1/23" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111e" + name: "" + - port: "1/1/24" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.111f" + name: "" + - port: "1/1/25" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1120" + name: "" + - port: "1/1/26" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1121" + name: "" + - port: "1/1/27" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1122" + name: "" + - port: "1/1/28" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1123" + name: "" + - port: "1/1/29" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1124" + name: "" + - port: "1/1/30" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1125" + name: "" + - port: "1/1/31" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1126" + name: "" + - port: "1/1/32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1127" + name: "" + - port: "1/1/33" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "7" + priority: "0" + mac_address: "d4c1.9e8f.1128" + name: "" + - port: "1/1/34" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1129" + name: "" + - port: "1/1/35" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112a" + name: "" + - port: "1/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112b" + name: "" + - port: "1/1/37" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112c" + name: "" + - port: "1/1/38" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112d" + name: "" + - port: "1/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112e" + name: "" + - port: "1/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112f" + name: "" + - port: "1/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1130" + name: "" + - port: "1/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1131" + name: "" + - port: "1/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1132" + name: "" + - port: "1/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1133" + name: "" + - port: "1/1/45" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1134" + name: "" + - port: "1/1/46" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1135" + name: "" + - port: "1/1/47" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1136" + name: "" + - port: "1/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1137" + name: "" + - port: "1/2/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1139" + name: "" + - port: "1/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113a" + name: "" + - port: "1/3/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8f.113b" + name: "" + - port: "1/3/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113c" + name: "" + - port: "1/3/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8f.113d" + name: "" + - port: "1/3/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113e" + name: "" + - port: "2/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b0" + name: "" + - port: "2/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b1" + name: "" + - port: "2/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b2" + name: "" + - port: "2/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b3" + name: "" + - port: "2/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b4" + name: "" + - port: "2/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b5" + name: "" + - port: "2/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b6" + name: "" + - port: "2/1/8" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b7" + name: "" + - port: "2/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b8" + name: "" + - port: "2/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b9" + name: "" + - port: "2/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ba" + name: "" + - port: "2/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bb" + name: "" + - port: "2/1/13" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bc" + name: "" + - port: "2/1/14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bd" + name: "" + - port: "2/1/15" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5be" + name: "" + - port: "2/1/16" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bf" + name: "" + - port: "2/1/17" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c0" + name: "" + - port: "2/1/18" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c1" + name: "" + - port: "2/1/19" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c2" + name: "" + - port: "2/1/20" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c3" + name: "" + - port: "2/1/21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c4" + name: "" + - port: "2/1/22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c5" + name: "" + - port: "2/1/23" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c6" + name: "" + - port: "2/1/24" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c7" + name: "" + - port: "2/1/25" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c8" + name: "" + - port: "2/1/26" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c9" + name: "" + - port: "2/1/27" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ca" + name: "" + - port: "2/1/28" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cb" + name: "" + - port: "2/1/29" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cc" + name: "" + - port: "2/1/30" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cd" + name: "" + - port: "2/1/31" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ce" + name: "" + - port: "2/1/32" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cf" + name: "" + - port: "2/1/33" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d0" + name: "" + - port: "2/1/34" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d1" + name: "" + - port: "2/1/35" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d2" + name: "" + - port: "2/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d3" + name: "" + - port: "2/1/37" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d4" + name: "" + - port: "2/1/38" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d5" + name: "" + - port: "2/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d6" + name: "" + - port: "2/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d7" + name: "" + - port: "2/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d8" + name: "" + - port: "2/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d9" + name: "" + - port: "2/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5da" + name: "" + - port: "2/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5db" + name: "" + - port: "2/1/45" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5dc" + name: "" + - port: "2/1/46" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5dd" + name: "" + - port: "2/1/47" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5de" + name: "" + - port: "2/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5df" + name: "" + - port: "2/2/1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e1" + name: "" + - port: "2/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e2" + name: "" + - port: "2/3/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8e.f5e3" + name: "" + - port: "2/3/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e4" + name: "" + - port: "2/3/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8e.f5e5" + name: "" + - port: "2/3/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e6" + name: "" + - port: "mgmt1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "None" + priority: "0" + mac_address: "d4c1.9e8f.1108" + name: "" diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw new file mode 100644 index 0000000000..f7cd3bfd06 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw @@ -0,0 +1,122 @@ + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +1/1/1 Up Forward Full 10G 11 Yes N/A 0 c0c5.2050.a500 001-rk-mdf1 +1/1/2 Up Forward Full 10G 12 Yes N/A 0 c0c5.2050.a500 001-rk-mdf2 +1/1/3 Up Forward Full 10G 13 Yes N/A 0 c0c5.2050.a500 001-rk-mdf3 +1/1/4 Up Forward Full 10G 14 Yes N/A 0 c0c5.2050.a500 001-rk-mdf4 +1/1/5 Up Forward Full 10G 21 Yes N/A 0 c0c5.2050.a500 001-rk-ww1 +1/1/6 Up Forward Full 10G 22 Yes N/A 0 c0c5.2050.a500 001-rk-ww2 +1/1/7 Up Forward Full 10G 31 Yes N/A 0 c0c5.2050.a500 001-rk-ni1 +1/1/8 Down None None None 32 Yes N/A 0 c0c5.2050.a500 001-rk-ni2 +1/1/9 Up Forward Full 10G 41 Yes N/A 0 c0c5.2050.a500 001-rk-si1 +1/1/10 Up Forward Full 10G 51 Yes N/A 0 c0c5.2050.a500 001-rk-sd1 +1/1/11 Up Forward Full 10G 61 Yes N/A 0 c0c5.2050.a500 001-rk-eb1 +1/1/12 Up Forward Full 10G 71 Yes N/A 0 c0c5.2050.a500 001-rk-wb1 +1/1/13 Down None None None None No 666 0 c0c5.2050.a50c +1/1/14 Down None None None None No 666 0 c0c5.2050.a50d +1/1/15 Down None None None None No 666 0 c0c5.2050.a50e +1/1/16 Down None None None None No 666 0 c0c5.2050.a50f +1/1/17 Down None None None None No 666 0 c0c5.2050.a510 +1/1/18 Down None None None None No 666 0 c0c5.2050.a511 +1/1/19 Down None None None None No 666 0 c0c5.2050.a512 +1/1/20 Down None None None None No 666 0 c0c5.2050.a513 +1/1/21 Down None None None None No 666 0 c0c5.2050.a514 +1/1/22 Down None None None None No 666 0 c0c5.2050.a515 +1/1/23 Down None None None None No 666 0 c0c5.2050.a516 +1/1/24 Down None None None None No 666 0 c0c5.2050.a517 +1/1/25 Down None None None None No 666 0 c0c5.2050.a518 +1/1/26 Down None None None None No 666 0 c0c5.2050.a519 +1/1/27 Down None None None None No 666 0 c0c5.2050.a51a +1/1/28 Down None None None None No 666 0 c0c5.2050.a51b +1/1/29 Up Forward Full 1G None Yes 666 0 c0c5.2050.a500 +1/1/30 Down None None None None No 1800 0 c0c5.2050.a51d +1/1/31 Down None None None None No 666 0 c0c5.2050.a51e +1/1/32 Down None None None None No 666 0 c0c5.2050.a51f +1/1/33 Down None None None None No 666 0 c0c5.2050.a520 +1/1/34 Down None None None None No 666 0 c0c5.2050.a521 +1/1/35 Down None None None None No 666 0 c0c5.2050.a522 +1/1/36 Down None None None None No 666 0 c0c5.2050.a523 +1/1/37 Down None None None None No 300 0 c0c5.2050.a500 001-NAS-A +1/1/38 Down None None None None No 300 0 c0c5.2050.a500 001-NAS-B +1/1/39 Down None None None None No 666 0 c0c5.2050.a526 +1/1/40 Down None None None None No 1700 0 c0c5.2050.a500 +1/1/41 Down None None None None No 1800 0 c0c5.2050.a528 +1/1/42 Down None None None None No 1800 0 c0c5.2050.a529 +1/1/43 Down None None None None No 666 0 c0c5.2050.a52a +1/1/44 Down None None None None No 666 0 c0c5.2050.a52b +1/1/45 Up Forward Full 1G 7 Yes N/A 0 c0c5.2050.a500 w3750 +1/1/46 Up Forward Full 1G 7 Yes N/A 0 c0c5.2050.a500 w3750 +1/1/47 Down None None None None No 666 0 c0c5.2050.a52e +1/1/48 Up Forward Full 10G None Yes 666 0 c0c5.2050.a52f +1/2/1 Down None None None None No 666 0 c0c5.2050.a531 +1/2/2 Down None None None None No 666 0 c0c5.2050.a535 +1/2/3 Down None None None None No 666 0 c0c5.2050.a539 +1/2/4 Down None None None None No 666 0 c0c5.2050.a53d +1/2/5 Up Forward Full 40G 1 Yes N/A 0 c0c5.2050.a500 +1/2/6 Up Forward Full 40G 1 Yes N/A 0 c0c5.2050.a500 +lg1 Up Forward Full 80G 1 Yes N/A 0 c0c5.2050.a500 +lg7 Up Forward Full 2G 7 Yes N/A 0 c0c5.2050.a500 w3750 +lg11 Up Forward Full 10G 11 Yes N/A 0 c0c5.2050.a500 001-rk-mdf1 +lg12 Up Forward Full 10G 12 Yes N/A 0 c0c5.2050.a500 001-rk-mdf2 +lg13 Up Forward Full 10G 13 Yes N/A 0 c0c5.2050.a500 001-rk-mdf3 +lg14 Up Forward Full 10G 14 Yes N/A 0 c0c5.2050.a500 001-rk-mdf4 +lg21 Up Forward Full 10G 21 Yes N/A 0 c0c5.2050.a500 001-rk-ww1 +lg22 Up Forward Full 10G 22 Yes N/A 0 c0c5.2050.a500 001-rk-ww2 +lg31 Up Forward Full 10G 31 Yes N/A 0 c0c5.2050.a500 001-rk-ni1 +lg32 Down None None None 32 Yes N/A 0 c0c5.2050.a500 001-rk-ni2 +lg41 Up Forward Full 10G 41 Yes N/A 0 c0c5.2050.a500 001-rk-si1 +lg51 Up Forward Full 10G 51 Yes N/A 0 c0c5.2050.a500 001-rk-sd1 +lg61 Up Forward Full 10G 61 Yes N/A 0 c0c5.2050.a500 001-rk-eb1 +lg71 Up Forward Full 10G 71 Yes N/A 0 c0c5.2050.a500 001-rk-wb1 +mgmt1 Up None Full 1G None No None 0 c0c5.2050.a500 + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +ve1 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve9 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve10 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve11 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve12 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve13 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve14 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve15 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve16 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve17 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve18 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve20 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve21 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve25 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve32 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve33 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve35 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve51 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve52 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve75 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve77 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve101 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve102 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve103 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve104 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve107 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve108 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve109 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve110 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve111 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve112 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve113 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve122 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve191 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve200 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve222 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve225 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve226 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve254 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve300 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve301 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve302 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve303 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve306 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve307 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve501 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve502 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve1700 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve4085 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml new file mode 100644 index 0000000000..0b4e27b30b --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml @@ -0,0 +1,1300 @@ +--- +parsed_sample: + - port: "1/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "11" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf1" + - port: "1/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "12" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf2" + - port: "1/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "13" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf3" + - port: "1/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "14" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf4" + - port: "1/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "21" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww1" + - port: "1/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "22" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww2" + - port: "1/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "31" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni1" + - port: "1/1/8" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "32" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni2" + - port: "1/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "41" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-si1" + - port: "1/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "51" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-sd1" + - port: "1/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "61" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-eb1" + - port: "1/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "71" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-wb1" + - port: "1/1/13" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50c" + name: "" + - port: "1/1/14" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50d" + name: "" + - port: "1/1/15" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50e" + name: "" + - port: "1/1/16" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50f" + name: "" + - port: "1/1/17" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a510" + name: "" + - port: "1/1/18" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a511" + name: "" + - port: "1/1/19" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a512" + name: "" + - port: "1/1/20" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a513" + name: "" + - port: "1/1/21" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a514" + name: "" + - port: "1/1/22" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a515" + name: "" + - port: "1/1/23" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a516" + name: "" + - port: "1/1/24" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a517" + name: "" + - port: "1/1/25" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a518" + name: "" + - port: "1/1/26" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a519" + name: "" + - port: "1/1/27" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51a" + name: "" + - port: "1/1/28" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51b" + name: "" + - port: "1/1/29" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/1/30" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a51d" + name: "" + - port: "1/1/31" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51e" + name: "" + - port: "1/1/32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51f" + name: "" + - port: "1/1/33" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a520" + name: "" + - port: "1/1/34" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a521" + name: "" + - port: "1/1/35" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a522" + name: "" + - port: "1/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a523" + name: "" + - port: "1/1/37" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "300" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-NAS-A" + - port: "1/1/38" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "300" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-NAS-B" + - port: "1/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a526" + name: "" + - port: "1/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1700" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a528" + name: "" + - port: "1/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a529" + name: "" + - port: "1/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52a" + name: "" + - port: "1/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52b" + name: "" + - port: "1/1/45" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "1/1/46" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "1/1/47" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52e" + name: "" + - port: "1/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52f" + name: "" + - port: "1/2/1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a531" + name: "" + - port: "1/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a535" + name: "" + - port: "1/2/3" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a539" + name: "" + - port: "1/2/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a53d" + name: "" + - port: "1/2/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "40G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/2/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "40G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "lg1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "80G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "lg7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "2G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "lg11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "11" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf1" + - port: "lg12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "12" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf2" + - port: "lg13" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "13" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf3" + - port: "lg14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "14" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf4" + - port: "lg21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "21" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww1" + - port: "lg22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "22" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww2" + - port: "lg31" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "31" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni1" + - port: "lg32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "32" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni2" + - port: "lg41" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "41" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-si1" + - port: "lg51" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "51" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-sd1" + - port: "lg61" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "61" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-eb1" + - port: "lg71" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "71" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-wb1" + - port: "mgmt1" + link: "Up" + state: "None" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "None" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve1" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve9" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve10" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve11" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve12" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve13" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve14" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve15" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve16" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve17" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve18" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve20" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve21" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve25" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve32" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve33" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve35" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve51" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve52" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve75" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve77" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve101" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve102" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve103" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve104" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve107" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve108" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve109" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve110" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve111" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve112" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve113" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve122" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve191" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve200" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve222" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve225" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve226" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve254" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve300" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve301" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve302" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve303" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve306" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve307" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve501" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve502" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve1700" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve4085" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" From 259bf20ea128fcd38c9fe83af145d7f8577616b1 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 16 Mar 2021 08:35:02 -0700 Subject: [PATCH 179/412] New Template: alcatel_sros_show_service_sap-using.textfsm (#892) --- ...lcatel_sros_show_service_sap-using.textfsm | 27 ++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_service_sap-using.raw | 15 +++++++ .../alcatel_sros_show_service_sap-using.yml | 42 +++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm create mode 100644 tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw create mode 100644 tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml diff --git a/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm new file mode 100644 index 0000000000..89ee1b5fac --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm @@ -0,0 +1,27 @@ +Value Required PORT_ID (\S+) +Value Required SERVICE_ID (\d+) +Value Required INGRESS_QOS (\d+) +Value Required INGRESS_FILTER (\S+) +Value Required EGRESS_QOS (\d+) +Value Required EGRESS_FILTER (\S+) +Value Required ADMIN_STATE (Up|Down) +Value Required OPER_STATE (Up|Down) + +Start + ^=+ + ^Service\s+Access\s+Points + ^PortId\s+SvcId\s+Ing.\s+Ing.\s+Egr.\s+Egr.\s+Adm\s+Opr\s*$$ -> SAPS + ^\s*$$ + ^. -> Error + +SAPS + ^\s+QoS\s+Fltr\s+QoS\s+Fltr + ^-+ + ^${PORT_ID}\s+${SERVICE_ID}\s+${INGRESS_QOS}\s+${INGRESS_FILTER}\s+${EGRESS_QOS}\s+${EGRESS_FILTER}\s+${ADMIN_STATE}\s+${OPER_STATE} -> Record + ^-+ -> Done + ^=+ + ^Number\s+of + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6e4c1895e7..b80d5714bd 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] +alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp diff --git a/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw new file mode 100644 index 0000000000..0c31ef23a8 --- /dev/null +++ b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw @@ -0,0 +1,15 @@ +=============================================================================== +Service Access Points +=============================================================================== +PortId SvcId Ing. Ing. Egr. Egr. Adm Opr + QoS Fltr QoS Fltr +------------------------------------------------------------------------------- +lag-21:300 1 11130 none 11140 none Up Up +lag-22:300 1 11130 ip4 11140 none Up Up +1/1/c6/1:234 400 1 none 1 none Up Down +lag-21:400 76415001 10 none 1 none Up Up +lag-22:400 76415002 10 none 1 none Up Up +------------------------------------------------------------------------------- +Number of SAPs : 5 +------------------------------------------------------------------------------- +=============================================================================== diff --git a/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml new file mode 100644 index 0000000000..1e17bdb1ca --- /dev/null +++ b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - admin_state: "Up" + egress_filter: "none" + egress_qos: "11140" + ingress_filter: "none" + ingress_qos: "11130" + oper_state: "Up" + port_id: "lag-21:300" + service_id: "1" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "11140" + ingress_filter: "ip4" + ingress_qos: "11130" + oper_state: "Up" + port_id: "lag-22:300" + service_id: "1" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "1" + oper_state: "Down" + port_id: "1/1/c6/1:234" + service_id: "400" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "10" + oper_state: "Up" + port_id: "lag-21:400" + service_id: "76415001" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "10" + oper_state: "Up" + port_id: "lag-22:400" + service_id: "76415002" From 673ca17df306169641da873cdfa2f0ba8aa5cfd9 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 16 Mar 2021 09:34:42 -0700 Subject: [PATCH 180/412] New Template: alcatel_sros_show_router_mpls_lsp.textfsm (#893) --- .../alcatel_sros_show_router_mpls_lsp.textfsm | 26 +++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_router_mpls_lsp.raw | 21 ++++++++++ .../alcatel_sros_show_router_mpls_lsp.yml | 38 +++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm create mode 100644 tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw create mode 100644 tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm b/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm new file mode 100644 index 0000000000..bbf9027f18 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm @@ -0,0 +1,26 @@ +Value Required LSP_NAME (\S+) +Value Required TO (\d+.\d+.\d+.\d+) +Value Required TUNNEL_ID (\d+) +Value Required FASTFAIL_CONFIG (\S+) +Value Required ADMIN_STATE (Up|Dwn) +Value Required OPER_STATE (Up|Dwn) + +Start + ^=+ + ^MPLS\s+LSPs + ^LSP\s+Name\s+Tun\s+Fastfail\s+Adm\s+Opr\s*$$ -> LSP + ^\s*$$ + ^. -> Error + +LSP + ^\s+To\s+Id\s+Config + ^-+ + ^${LSP_NAME}\s+${TUNNEL_ID}\s+${FASTFAIL_CONFIG}\s+${ADMIN_STATE}\s+${OPER_STATE} + ^\s+${TO} -> Record + ^-+ -> Done + ^LSPs\s+: + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b80d5714bd..a6cfdc1657 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -23,6 +23,7 @@ alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] route alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using +alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] diff --git a/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw new file mode 100644 index 0000000000..9429d5b069 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw @@ -0,0 +1,21 @@ +=============================================================================== +MPLS LSPs (Originating) +=============================================================================== +LSP Name Tun Fastfail Adm Opr + To Id Config +------------------------------------------------------------------------------- +TO_IOSXR 1 Yes Up Up + 10.10.10.8 +TO_R1 2 Yes Up Up + 10.10.10.1 +TO_R2 3 Yes Up Dwn + 10.10.10.2 +TO_R4 4 Yes Up Dwn + 10.10.10.4 +Full-Mesh-10.10.10.8-61441 61441 Yes Up Up + 10.10.10.8 +Full-Mesh-10.10.10.1-65240 65240 Yes Up Up + 10.10.10.1 +------------------------------------------------------------------------------- +LSPs : 6 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml new file mode 100644 index 0000000000..e53f443835 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_IOSXR" + oper_state: "Up" + to: "10.10.10.8" + tunnel_id: "1" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R1" + oper_state: "Up" + to: "10.10.10.1" + tunnel_id: "2" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R2" + oper_state: "Dwn" + to: "10.10.10.2" + tunnel_id: "3" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R4" + oper_state: "Dwn" + to: "10.10.10.4" + tunnel_id: "4" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "Full-Mesh-10.10.10.8-61441" + oper_state: "Up" + to: "10.10.10.8" + tunnel_id: "61441" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "Full-Mesh-10.10.10.1-65240" + oper_state: "Up" + to: "10.10.10.1" + tunnel_id: "65240" From f18bfcbbd4bfc0beabb033c9609f4974ce896186 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 16 Mar 2021 12:38:36 -0400 Subject: [PATCH 181/412] ruckus_fastiron_show_mac-address.textfsm - Add end of line for matching empty lines (#897) --- .../templates/ruckus_fastiron_show_mac-address.textfsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm index c14acff5a4..de70768c26 100644 --- a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm +++ b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm @@ -8,5 +8,5 @@ Start ^Total\s+active\s+entries\s+from\s+all\s+ports\s+=\s+[0-9]* ^MAC-Address\s+Port\s+Type\s+VLAN ^${MAC_ADDRESS}\s+${PORT}\s+${TYPE}\s+${VLAN} -> Record - ^\s* - ^. -> Error \ No newline at end of file + ^\s*$$ + ^. -> Error From 73520c1a8757f59e45abee204cbc6ed10a1894f5 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Wed, 17 Mar 2021 07:10:10 -0700 Subject: [PATCH 182/412] New template: alcatel_sros_show_router_interface.textfsm (#898) --- ...alcatel_sros_show_router_interface.textfsm | 28 +++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_router_interface.raw | 29 +++++++ .../alcatel_sros_show_router_interface.yml | 78 +++++++++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw create mode 100644 tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm new file mode 100644 index 0000000000..da185d1219 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm @@ -0,0 +1,28 @@ +Value Required INTERFACE (\S+) +Value Required ADMIN_STATE (Up|Down) +Value Required OPER_STATE_V4 (Up|Down) +Value Required OPER_STATE_V6 (Up|Down) +Value Required MODE (\S+) +Value Required PORT_SAP_ID (\S+) +Value List ADDRESS (\S+) +Value List PFX_STATE (\S+) + +Start + ^=+ + ^Interface\s+Table + ^Interface-Name\s+Adm\s+Opr\(v4\/v6\)\s+Mode\s+Port/SapId\s*$$ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^\s+IP-Address\s+PfxState + ^-+ + ^.*?\s+(Up|Down) -> Continue.Record + ^${INTERFACE}\s+${ADMIN_STATE}\s+${OPER_STATE_V4}\/${OPER_STATE_V6}\s+${MODE}\s+${PORT_SAP_ID} + ^\s+${ADDRESS}\s+${PFX_STATE} + ^Interfaces -> Done + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a6cfdc1657..f152aeaefd 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -23,6 +23,7 @@ alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] route alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using +alcatel_sros_show_router_interface.textfsm, .*, alcatel_sros, sh[[ow]] router (\d+ int[[erface]]|int[[erface]]) alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp diff --git a/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw new file mode 100644 index 0000000000..4ab3e342ad --- /dev/null +++ b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw @@ -0,0 +1,29 @@ +=============================================================================== +Interface Table (Router: Base) +=============================================================================== +Interface-Name Adm Opr(v4/v6) Mode Port/SapId + IP-Address PfxState +------------------------------------------------------------------------------- +L3-Telecom-IXR01-1 Up Down/Up IES lag-21:300 + 2001:4888:2062:357a:645:400:0:2/64 PREFERRED + fe80::645:400:0:2/64 PREFERRED +L3-Telecom-IXR02-1 Up Down/Up IES lag-22:300 + 2001:4888:2062:3591:645:400:0:2/64 PREFERRED + fe80::645:400:0:2/64 PREFERRED +TO_EDGE_IXR01 Up Down/Down Network n/a + 192.168.28.1/24 n/a + 192.168.47.1/24 n/a +system Up Up/Up Network system + 10.115.43.64/32 n/a + 2001:4888:2062:3000:645:400:0:1a0/128 PREFERRED +to-7750-02 Up Up/Up Network 1/1/c4/1:2415 + 172.25.214.121/31 n/a + 2001:4888:206a:335c:645:400:0:1/64 PREFERRED + fe80::c9:ffff:fe00:0/64 PREFERRED +to-BTS0415-7750-H1 Up Down/Down Network lag-11:4094 + 172.25.198.123/31 n/a + 2001:4888:206a:335f:645:400:0:1/64 INACCESSIBLE + fe80::c9:ffff:fe00:14b/64 INACCESSIBLE +------------------------------------------------------------------------------- +Interfaces : 6 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml new file mode 100644 index 0000000000..226bd1ab6b --- /dev/null +++ b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml @@ -0,0 +1,78 @@ +--- +parsed_sample: + - address: + - "2001:4888:2062:357a:645:400:0:2/64" + - "fe80::645:400:0:2/64" + admin_state: "Up" + interface: "L3-Telecom-IXR01-1" + mode: "IES" + oper_state_v4: "Down" + oper_state_v6: "Up" + pfx_state: + - "PREFERRED" + - "PREFERRED" + port_sap_id: "lag-21:300" + - address: + - "2001:4888:2062:3591:645:400:0:2/64" + - "fe80::645:400:0:2/64" + admin_state: "Up" + interface: "L3-Telecom-IXR02-1" + mode: "IES" + oper_state_v4: "Down" + oper_state_v6: "Up" + pfx_state: + - "PREFERRED" + - "PREFERRED" + port_sap_id: "lag-22:300" + - address: + - "192.168.28.1/24" + - "192.168.47.1/24" + admin_state: "Up" + interface: "TO_EDGE_IXR01" + mode: "Network" + oper_state_v4: "Down" + oper_state_v6: "Down" + pfx_state: + - "n/a" + - "n/a" + port_sap_id: "n/a" + - address: + - "10.115.43.64/32" + - "2001:4888:2062:3000:645:400:0:1a0/128" + admin_state: "Up" + interface: "system" + mode: "Network" + oper_state_v4: "Up" + oper_state_v6: "Up" + pfx_state: + - "n/a" + - "PREFERRED" + port_sap_id: "system" + - address: + - "172.25.214.121/31" + - "2001:4888:206a:335c:645:400:0:1/64" + - "fe80::c9:ffff:fe00:0/64" + admin_state: "Up" + interface: "to-7750-02" + mode: "Network" + oper_state_v4: "Up" + oper_state_v6: "Up" + pfx_state: + - "n/a" + - "PREFERRED" + - "PREFERRED" + port_sap_id: "1/1/c4/1:2415" + - address: + - "172.25.198.123/31" + - "2001:4888:206a:335f:645:400:0:1/64" + - "fe80::c9:ffff:fe00:14b/64" + admin_state: "Up" + interface: "to-BTS0415-7750-H1" + mode: "Network" + oper_state_v4: "Down" + oper_state_v6: "Down" + pfx_state: + - "n/a" + - "INACCESSIBLE" + - "INACCESSIBLE" + port_sap_id: "lag-11:4094" From d0f8b251b4d0c0f0727d3741848fe9c33df20a57 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Wed, 17 Mar 2021 10:35:56 -0500 Subject: [PATCH 183/412] New Template: ruckus_fastiron_show_version.textfsm (#894) --- ntc_templates/templates/index | 1 + .../ruckus_fastiron_show_version.textfsm | 28 ++++++++++++ .../show_version/show_version.raw | 43 +++++++++++++++++++ .../show_version/show_version.yml | 15 +++++++ 4 files changed, 87 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_version.textfsm create mode 100644 tests/ruckus_fastiron/show_version/show_version.raw create mode 100644 tests/ruckus_fastiron/show_version/show_version.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index f152aeaefd..53ef9a5e6a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -461,6 +461,7 @@ paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] +ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_version.textfsm b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm new file mode 100644 index 0000000000..37cc7d41d2 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm @@ -0,0 +1,28 @@ +Value List VERSION (\S+) +Value List BOOTCODE (\S+\s+\S+) +Value HARDWARE (.*) +Value List SERIAL (\S+) +Value List UPTIME (.*) + + +Start + ^\s+Copyright\s+\(c\)\s+Ruckus\s+Networks,\s+Inc\.\s+All\s+rights\s+reserved\. + ^\s+UNIT\s+[0-9]*:\s+compiled\s+on\s+\S+\s+[0-9]*\s+[0-9]*\s+at\s+[0-9]*:[0-9]*:[0-9]*\s+labeled\s+as\s+\S+ + ^\s+\([0-9]*\s+bytes\)\s+from\s+Primary\s+\S+\s+\(UFI\) + ^\s+SW:\s+Version\s+${VERSION} + ^\s+Compressed\s+Primary\s+Boot\s+Code\s+size\s+=\s+[0-9]*,\s+Version:${BOOTCODE} + ^\s+Compiled\s+on\s+\S+\s+\S+\s+[0-9]*\s+[0-9]*:[0-9]*:[0-9]*\s+[0-9]* + ^\s+HW:\s+${HARDWARE}\s*$$ + ^UNIT\s+[0-9]*:\s+SL\s+[0-9]*:\s+.* + ^\s+Serial\s+#:${SERIAL} + ^\s+Software\s+Package:\s+\S+ + ^\s+Current\s+License:\s+\S+ + ^\s+P-ASIC\s+[0-9]*:\s+.* + ^\s+[0-9]* [KMGT](Hz|B)\s+.* + ^STACKID\s+[0-9]*\s+system\s+uptime\s+is\s+${UPTIME}\s*$$ + ^The\s+system\s+started\s+at\s+.* + ^The\s+system\s+:\s+started=.* + ^My\s+stack\s+unit\s+ID\s+=\s+[0-9]*,\s+bootup\s+role\s+=\s+\S+ -> Record + ^=+ + ^\s*$$ + ^. -> Error diff --git a/tests/ruckus_fastiron/show_version/show_version.raw b/tests/ruckus_fastiron/show_version/show_version.raw new file mode 100644 index 0000000000..48a8f3423e --- /dev/null +++ b/tests/ruckus_fastiron/show_version/show_version.raw @@ -0,0 +1,43 @@ + Copyright (c) Ruckus Networks, Inc. All rights reserved. + UNIT 1: compiled on Feb 19 2019 at 13:48:49 labeled as SPS08090 + (28575972 bytes) from Primary SPS08090.bin (UFI) + SW: Version 08.0.90T211 + Compressed Primary Boot Code size = 786944, Version:10.1.15T225 (mnz10115) + Compiled on Thu Jan 31 01:08:55 2019 + UNIT 2: compiled on Feb 19 2019 at 13:48:49 labeled as SPS08090 + (28575972 bytes) from Primary SPS08090.bin (UFI) + SW: Version 08.0.90T211 + Compressed Primary Boot Code size = 786944, Version:10.1.15T225 (mnz10115) + + HW: Stackable ICX7150-48-POEF +========================================================================== +UNIT 1: SL 1: ICX7150-48PF-2X10G_2X1G POE 48-port Management Module + Serial #:FEE3816Q018 + Software Package: BASE_SOFT_PACKAGE + Current License: 2X10G + P-ASIC 0: type B160, rev 11 Chip BCM56160_B0 +========================================================================== +UNIT 1: SL 2: ICX7150-2X1GC 2-port 2G Module +========================================================================== +UNIT 1: SL 3: ICX7150-4X10GF 4-port 40G Module +========================================================================== +UNIT 2: SL 1: ICX7150-48PF-2X10G_2X1G POE 48-port Management Module + Serial #:FEE3816Q017 + Software Package: BASE_SOFT_PACKAGE + Current License: 2X10G +========================================================================== +UNIT 2: SL 2: ICX7150-2X1GC 2-port 2G Module +========================================================================== +UNIT 2: SL 3: ICX7150-4X10GF 4-port 40G Module +========================================================================== + 1000 MHz ARM processor ARMv7 88 MHz bus + 8192 KB boot flash memory + 2048 MB code flash memory + 1024 MB DRAM +STACKID 1 system uptime is 24 day(s) 4 hour(s) 11 minute(s) 1 second(s) +STACKID 2 system uptime is 24 day(s) 4 hour(s) 11 minute(s) 1 second(s) +The system started at 18:28:15 Central Fri Dec 31 1999 + +The system : started=cold start +My stack unit ID = 1, bootup role = active + diff --git a/tests/ruckus_fastiron/show_version/show_version.yml b/tests/ruckus_fastiron/show_version/show_version.yml new file mode 100644 index 0000000000..3e6ba630c9 --- /dev/null +++ b/tests/ruckus_fastiron/show_version/show_version.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - version: + - "08.0.90T211" + - "08.0.90T211" + bootcode: + - "10.1.15T225 (mnz10115)" + - "10.1.15T225 (mnz10115)" + hardware: "Stackable ICX7150-48-POEF" + serial: + - "FEE3816Q018" + - "FEE3816Q017" + uptime: + - "24 day(s) 4 hour(s) 11 minute(s) 1 second(s)" + - "24 day(s) 4 hour(s) 11 minute(s) 1 second(s)" From 1eabe9e5f2d5b294b4561c95c61e25da278b26ce Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 18 Mar 2021 10:23:01 -0600 Subject: [PATCH 184/412] Added deploy option to auto deploy on tags (#901) --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7d5af31e3e..ae51fc2413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,3 +27,11 @@ stages: script: - ".venv/bin/tox -e py36,py37,py38" + +deploy: + provider: "script" + script: + - "poetry config pypi-token.pypi $PYPI_TOKEN" + - "poetry publish --build" + on: + tags: true From 6392953a235cbfea31880d97805fd2fc6cfde9c0 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 18 Mar 2021 10:23:30 -0600 Subject: [PATCH 185/412] Added Known Issues section to document Micah's finding/issue (#902) --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 85b056ac3b..ad20bb6396 100644 --- a/README.md +++ b/README.md @@ -442,3 +442,22 @@ to take in qualified Pull Requests to have the feature, but have no intention of _Can you provide general guidance?_ This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. + +### Known Issues + +#### Cannot import name clitable from textfsm +**ntc-templates** depends on **textfsm**, which hasn't published a source distribution to pypi in a while. See https://github.com/google/textfsm/issues/65. + +This means that for users with a build chain that depends on source distributions only (i.e. no wheels), ntc-templates appears to have a bug: + +``` +File "/usr/local/Cellar/foo/version/libexec/lib/python3.7/site-packages/ntc_templates/parse.py", line 3, in + from textfsm import clitable +ImportError: cannot import name 'clitable' from 'textfsm' +``` + +What's actually happening here is that textfsm provides a source distribution only up to version 0.4.1 (2018-04-09) but the ntc-templates code relies on the interface from version 1.1.0 (2019-07-24) which is only available as a wheel. So the way for users to fix this problem if they encounter it is to install textfsm 1.1.0. + +`pip install textfsm==1.1.0` + +> This was taken from https://github.com/networktocode/ntc-templates/issues/731 From c0a7c7051a10dc0bf9916774e95559b2112bd3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Skov=20Eriksen?= Date: Thu, 15 Apr 2021 21:42:32 +0200 Subject: [PATCH 186/412] New Template: dell_force10_show_ip_interface_brief.textfsm (#875) --- ...ll_force10_show_ip_interface_brief.textfsm | 9 + ntc_templates/templates/index | 1 + .../dell_force10_show_ip_interface_brief.raw | 55 +++ .../dell_force10_show_ip_interface_brief.yml | 326 ++++++++++++++++++ 4 files changed, 391 insertions(+) create mode 100644 ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm create mode 100644 tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw create mode 100644 tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml diff --git a/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm b/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm new file mode 100644 index 0000000000..173e6c1d93 --- /dev/null +++ b/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm @@ -0,0 +1,9 @@ +Value INTF (\S+ \S+) +Value IPADDR (\S+) +Value OK (YES|NO) +Value METHOD (None|Manual) +Value STATUS (up|down) +Value PROTO (up|down) + +Start + ^${INTF}\s+${IPADDR}\s+${OK}\s+${METHOD}\s+${STATUS}\s+${PROTO} -> Record diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 53ef9a5e6a..5e2a7abbe8 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -386,6 +386,7 @@ cisco_xr_show_hsrp.textfsm, .*, cisco_xr, sh[[ow]] hs[[rp]] cisco_xr_show_arp.textfsm, .*, cisco_xr, sh[[ow]] arp cisco_xr_show_bgp.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] +dell_force10_show_ip_interface_brief.textfsm, .*, dell_force10, sh[[ow]] ip int[[erface]] br[[ief]] dell_force10_show_vlan_brief.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] diff --git a/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw new file mode 100644 index 0000000000..11ee9fa003 --- /dev/null +++ b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw @@ -0,0 +1,55 @@ +Interface IP-Address OK Method Status Protocol +TenGigabitEthernet 0/1 unassigned NO None up down +TenGigabitEthernet 0/2 unassigned NO None up down +TenGigabitEthernet 0/3 unassigned YES None up up +TenGigabitEthernet 0/4 unassigned YES None up up +TenGigabitEthernet 0/5 unassigned YES None up up +TenGigabitEthernet 0/6 unassigned NO None up down +TenGigabitEthernet 0/7 unassigned NO None up down +TenGigabitEthernet 0/8 unassigned NO None up down +TenGigabitEthernet 0/9 unassigned NO None up down +TenGigabitEthernet 0/10 unassigned YES None up up +TenGigabitEthernet 0/11 unassigned YES None up up +TenGigabitEthernet 0/12 unassigned YES None up up +TenGigabitEthernet 0/13 unassigned YES None up up +TenGigabitEthernet 0/14 unassigned NO None up down +TenGigabitEthernet 0/15 unassigned NO None up down +TenGigabitEthernet 0/16 unassigned NO None up down +TenGigabitEthernet 0/17 unassigned NO None up down +TenGigabitEthernet 0/18 unassigned NO None up down +TenGigabitEthernet 0/19 unassigned NO None up down +TenGigabitEthernet 0/20 unassigned NO None up down +TenGigabitEthernet 0/21 unassigned NO None up down +TenGigabitEthernet 0/22 unassigned NO None up down +TenGigabitEthernet 0/23 unassigned NO None up down +TenGigabitEthernet 0/24 unassigned NO None up down +TenGigabitEthernet 0/25 unassigned NO None up down +TenGigabitEthernet 0/26 unassigned NO None up down +TenGigabitEthernet 0/27 unassigned NO None up down +TenGigabitEthernet 0/28 unassigned NO None up down +TenGigabitEthernet 0/29 unassigned NO None up down +TenGigabitEthernet 0/30 unassigned NO None up down +TenGigabitEthernet 0/31 unassigned NO None up down +TenGigabitEthernet 0/32 unassigned NO None up down +TenGigabitEthernet 0/33 unassigned NO None up down +TenGigabitEthernet 0/34 unassigned NO None up down +TenGigabitEthernet 0/35 unassigned NO None up down +TenGigabitEthernet 0/36 unassigned NO None up down +TenGigabitEthernet 0/37 unassigned NO None up down +TenGigabitEthernet 0/38 unassigned NO None up down +TenGigabitEthernet 0/39 unassigned NO None up down +TenGigabitEthernet 0/40 unassigned NO None up down +TenGigabitEthernet 0/41 unassigned YES None up up +TenGigabitEthernet 0/42 unassigned YES None up up +TenGigabitEthernet 0/43 unassigned YES None up up +TenGigabitEthernet 0/44 unassigned YES None up up +TenGigabitEthernet 0/49 unassigned NO None up down +TenGigabitEthernet 0/50 unassigned NO None up down +TenGigabitEthernet 0/51 unassigned NO None up down +TenGigabitEthernet 0/52 unassigned NO None up down +TenGigabitEthernet 0/53 unassigned NO None up down +TenGigabitEthernet 0/54 unassigned NO None up down +TenGigabitEthernet 0/55 unassigned NO None up down +TenGigabitEthernet 0/56 unassigned NO None up down +ManagementEthernet 0/0 10.151.5.208 YES Manual up up +Port-channel 128 unassigned YES None up up \ No newline at end of file diff --git a/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml new file mode 100644 index 0000000000..89dd2c605c --- /dev/null +++ b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml @@ -0,0 +1,326 @@ +--- +parsed_sample: + - intf: "TenGigabitEthernet 0/1" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/2" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/3" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/4" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/5" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/6" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/7" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/8" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/9" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/10" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/11" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/12" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/13" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/14" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/15" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/16" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/17" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/18" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/19" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/20" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/21" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/22" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/23" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/24" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/25" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/26" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/27" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/28" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/29" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/30" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/31" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/32" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/33" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/34" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/35" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/36" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/37" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/38" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/39" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/40" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/41" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/42" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/43" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/44" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/49" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/50" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/51" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/52" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/53" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/54" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/55" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/56" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "ManagementEthernet 0/0" + ipaddr: "10.151.5.208" + ok: "YES" + method: "Manual" + status: "up" + proto: "up" + - intf: "Port-channel 128" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" From 76ca748d99ab0106abe74907794136108c3bd1f3 Mon Sep 17 00:00:00 2001 From: Michael Bear <38406045+mjbear@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:00:49 -0500 Subject: [PATCH 187/412] New Template: cisco_ios_show_bfd_neighbors_details.textfsm --- ...sco_ios_show_bfd_neighbors_details.textfsm | 74 +++++ ntc_templates/templates/index | 1 + ...ow_bfd_neighbors_details-includes-ipv6.raw | 226 +++++++++++++++ ...ow_bfd_neighbors_details-includes-ipv6.yml | 263 ++++++++++++++++++ ...os_show_bfd_neighbors_details-version0.raw | 37 +++ ...os_show_bfd_neighbors_details-version0.yml | 60 ++++ .../cisco_ios_show_bfd_neighbors_details.raw | 119 ++++++++ .../cisco_ios_show_bfd_neighbors_details.yml | 176 ++++++++++++ 8 files changed, 956 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml diff --git a/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm b/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm new file mode 100644 index 0000000000..622de93a18 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm @@ -0,0 +1,74 @@ +Value OUR_ADDR (\S+) +Value NEIGHBOR_ADDR (\S+) +Value LOCAL_DISCRIM (\d+) +Value REMOTE_DISCRIM (\d+) +Value REMOTE_HEARD (\S+) +Value HOLDDOWN (\d+) +Value MULTIPLIER (\d{1,2}) +Value STATE (\w+) +Value IFACE (\S+) +Value ECHO_FUNCTION ((?:\w+\s+)?\w+\s+echo\s+function) +Value ECHO_INTERVAL (\d+) +Value DIAGNOSTIC_BIT (\d) +Value DEMAND_BIT (\d) +Value POLL_BIT (\d) +Value MIN_TX_INTERVAL (\d+) +Value MIN_RX_INTERVAL (\d+) +Value RECEIVED_MIN_RX_INTERVAL (\d+) +Value RECEIVED_MULTIPLIER (\d{1,2}) +Value HOLDDOWN_HITS (\d+) +Value HELLO_INTERVAL (\d+) +Value HELLO_HITS (\d+) +Value RX_COUNT (\d+) +Value RX_LAST (\d+) +Value TX_COUNT (\d+) +Value TX_LAST (\d+) +Value REGISTERED_PROTOCOLS (\S+(?:\s+\S+)*) +Value TEMPLATE (\S+) +Value UPTIME (\S+) +Value VERSION (\d+) + +Start + ^\s*IPv\d+\s+Sessions\s*$$ + ^\s*(?:\S+\s+)?NeighAddr.*$$ -> BFD + # + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^\s*$$ + ^. -> Error + +BFD + ^\s*${OUR_ADDR}\s*${NEIGHBOR_ADDR}\s+${LOCAL_DISCRIM}\/${REMOTE_DISCRIM}\s+${REMOTE_HEARD}\s+\d+\s+\(\s*\d+\s*\)\s+${STATE}\s+${IFACE}\s*$$ + # + ^\s*${NEIGHBOR_ADDR}\s+${LOCAL_DISCRIM}\/${REMOTE_DISCRIM}\s+${REMOTE_HEARD}\s+${STATE}\s+${IFACE}\s*$$ + ^\s*OurAddr:\s+${OUR_ADDR}\s*$$ + # + # common BFD details + ^\s*Session\s+state\s+is\s+\S+\s+and\s+${ECHO_FUNCTION}(?:\s+with\s+${ECHO_INTERVAL}\s+)?.*$$ + ^\s*Local\s+Diag:\s+${DIAGNOSTIC_BIT},\s+Demand\s+mode:\s+${DEMAND_BIT},\s+Poll\s+bit:\s+${POLL_BIT}\s*$$ + ^\s*MinTxInt:\s+${MIN_TX_INTERVAL},\s+MinRxInt:\s+${MIN_RX_INTERVAL},\s+Multiplier:\s+${MULTIPLIER}\s*$$ + ^\s*Received\s+MinRxInt:\s+${RECEIVED_MIN_RX_INTERVAL},\s+Received Multiplier:\s+${RECEIVED_MULTIPLIER}\s*$$ + # + # some legacy output spells holddown with one d + ^\s*Holdd?own\s+\(hits\):\s+${HOLDDOWN}\(${HOLDDOWN_HITS}\),\s+Hello\s+\(hits\):\s+${HELLO_INTERVAL}\(${HELLO_HITS}\)\s*$$ + # + ^\s*Rx\s+Count:\s+${RX_COUNT},(?:\s+\S+){6}\s+${RX_LAST}(?:\s+\S+){2}\s*$$ + ^\s*Tx\s+Count:\s+${TX_COUNT},(?:\s+\S+){6}\s+${TX_LAST}(?:\s+\S+){2}\s*$$ + ^\s*Registered\s+protocols:\s+${REGISTERED_PROTOCOLS}\s*$$ + ^\s*Template:\s+${TEMPLATE}\s*$$ + ^\s*Uptime:\s+${UPTIME}\s*$$ + ^\s*Last\s+packet:\s+Version:\s+${VERSION}\s+.*$$ -> Record + # + # lines of no interest for the time being + # + ^\s*Session\s+Host.*$$ + ^\s*Handle.*$$ + ^\s*Elapsed\s+time\s+watermarks.*$$ + ^\s+(?:\S+\s+){1,3}bit.*$$ + ^\s+Multiplier.*$$ + ^\s+My\s+Discr.*$$ + ^\s+Min\s+\S+\s+interval.*$$ + # + ^\s*$$ -> Start + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 5e2a7abbe8..e33bb43f98 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -182,6 +182,7 @@ cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] +cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw new file mode 100644 index 0000000000..717598d34f --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw @@ -0,0 +1,226 @@ + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.10.2 3/8 Up Up Gi0/1.10 +Session state is UP and using echo function with 50 ms interval. +Session Host: Software +OurAddr: 192.168.10.1 +Handle: 3 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(4427) +Rx Count: 4428, Rx Interval (ms) min/max/avg: 1/1676/880 last: 316 ms ago +Tx Count: 4435, Tx Interval (ms) min/max/avg: 1/1296/876 last: 852 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: CEF EIGRP +Uptime: 01:02:56 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 8 - Your Discr.: 3 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 50000 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.12.2 4/4 Up Up Gi0/1.12 +Session state is UP and using echo function with 999 ms interval. +Session Host: Software +OurAddr: 192.168.12.1 +Handle: 4 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(4423) +Rx Count: 4434, Rx Interval (ms) min/max/avg: 1/1004/875 last: 508 ms ago +Tx Count: 4424, Tx Interval (ms) min/max/avg: 756/1184/880 last: 804 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: EIGRP CEF BGP OSPF +Template: BFD-TEST +Uptime: 01:04:45 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 4 - Your Discr.: 4 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.14.253 8/6 Up Up Gi0/1.14 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: 192.168.14.254 +Handle: 8 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2309(0), Hello (hits): 999(4383) +Rx Count: 4381, Rx Interval (ms) min/max/avg: 4/1112/878 last: 496 ms ago +Tx Count: 4386, Tx Interval (ms) min/max/avg: 1/1504/878 last: 408 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPF CEF +Uptime: 01:04:03 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 6 - Your Discr.: 8 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.16.253 5/0 Down Down Gi0/1.16 +Session Host: Software +OurAddr: 192.168.16.254 +Handle: 5 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 0, Received Multiplier: 0 +Holddown (hits): 0(0), Hello (hits): 1000(4369) +Rx Count: 0, Rx Interval (ms) min/max/avg: 0/0/0 last: 3939644 ms ago +Tx Count: 4369, Tx Interval (ms) min/max/avg: 756/1220/879 last: 836 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPF CEF +Template: BFD-TEST +Last packet: Version: 1 - Diagnostic: 0 + State bit: AdminDown - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 0 - Length: 0 + My Discr.: 0 - Your Discr.: 0 + Min tx interval: 0 - Min rx interval: 0 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +2001::7357:2 11/9 Up Up Gi0/1.12 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: 2001::7357:1 +Handle: 9 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2585(0), Hello (hits): 999(82) +Rx Count: 85, Rx Interval (ms) min/max/avg: 1/996/868 last: 116 ms ago +Tx Count: 86, Tx Interval (ms) min/max/avg: 1/996/859 last: 64 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: BGP CEF +Template: BFD-TEST +Uptime: 00:01:13 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 9 - Your Discr.: 11 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:A::DAD 1/7 Up Up Gi0/1.10 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:A::CAB +Handle: 1 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 50000, MinRxInt: 50000, Multiplier: 3 +Received MinRxInt: 50000, Received Multiplier: 3 +Holddown (hits): 114(1), Hello (hits): 50(85054) +Rx Count: 49417, Rx Interval (ms) min/max/avg: 1/56/45 last: 28 ms ago +Tx Count: 49445, Tx Interval (ms) min/max/avg: 1/80/46 last: 32 ms ago +Elapsed time watermarks: 2 2 (last: 2) +Registered protocols: CEF EIGRP +Uptime: 00:37:27 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 7 - Your Discr.: 1 + Min tx interval: 50000 - Min rx interval: 50000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:C::BAD 2/11 Up Up Gi0/1.12 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:C::CAFE +Handle: 2 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2641(1), Hello (hits): 999(4416) +Rx Count: 100, Rx Interval (ms) min/max/avg: 1/992/866 last: 112 ms ago +Tx Count: 101, Tx Interval (ms) min/max/avg: 1/1000/856 last: 776 ms ago +Elapsed time watermarks: 3 3 (last: 3) +Registered protocols: OSPFv3 CEF EIGRP +Template: BFD-TEST +Uptime: 00:01:26 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 11 - Your Discr.: 2 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:E::BEAD 6/5 Up Up Gi0/1.14 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:E::BEEF +Handle: 6 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2865(1), Hello (hits): 999(4375) +Rx Count: 2568, Rx Interval (ms) min/max/avg: 1/1000/878 last: 716 ms ago +Tx Count: 2569, Tx Interval (ms) min/max/avg: 1/1000/877 last: 452 ms ago +Elapsed time watermarks: 3 3 (last: 3) +Registered protocols: CEF OSPFv3 +Uptime: 00:37:30 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 5 - Your Discr.: 6 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:10::AAB 7/0 Down Down Gi0/1.16 +Session Host: Software +OurAddr: FE80:10::AAA +Handle: 7 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 0, Received Multiplier: 0 +Holddown (hits): 0(0), Hello (hits): 1000(4354) +Rx Count: 0, Rx Interval (ms) min/max/avg: 0/0/0 last: 3946664 ms ago +Tx Count: 4354, Tx Interval (ms) min/max/avg: 756/13196/882 last: 168 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPFv3 CEF +Template: BFD-TEST +Last packet: Version: 1 - Diagnostic: 0 + State bit: AdminDown - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 0 - Length: 0 + My Discr.: 0 - Your Discr.: 0 + Min tx interval: 0 - Min rx interval: 0 + Min Echo interval: 0 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml new file mode 100644 index 0000000000..0b03c1dbfe --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml @@ -0,0 +1,263 @@ +--- +parsed_sample: + - our_addr: "192.168.10.1" + neighbor_addr: "192.168.10.2" + local_discrim: "3" + remote_discrim: "8" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/1.10" + echo_function: "using echo function" + echo_interval: "50" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4427" + rx_count: "4428" + rx_last: "316" + tx_count: "4435" + tx_last: "852" + registered_protocols: "CEF EIGRP" + template: "" + uptime: "01:02:56" + version: "1" + - our_addr: "192.168.12.1" + neighbor_addr: "192.168.12.2" + local_discrim: "4" + remote_discrim: "4" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4423" + rx_count: "4434" + rx_last: "508" + tx_count: "4424" + tx_last: "804" + registered_protocols: "EIGRP CEF BGP OSPF" + template: "BFD-TEST" + uptime: "01:04:45" + version: "1" + - our_addr: "192.168.14.254" + neighbor_addr: "192.168.14.253" + local_discrim: "8" + remote_discrim: "6" + remote_heard: "Up" + holddown: "2309" + multiplier: "3" + state: "Up" + iface: "Gi0/1.14" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "999" + hello_hits: "4383" + rx_count: "4381" + rx_last: "496" + tx_count: "4386" + tx_last: "408" + registered_protocols: "OSPF CEF" + template: "" + uptime: "01:04:03" + version: "1" + - our_addr: "192.168.16.254" + neighbor_addr: "192.168.16.253" + local_discrim: "5" + remote_discrim: "0" + remote_heard: "Down" + holddown: "0" + multiplier: "3" + state: "Down" + iface: "Gi0/1.16" + echo_function: "" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "0" + received_multiplier: "0" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4369" + rx_count: "0" + rx_last: "3939644" + tx_count: "4369" + tx_last: "836" + registered_protocols: "OSPF CEF" + template: "BFD-TEST" + uptime: "" + version: "1" + - our_addr: "2001::7357:1" + neighbor_addr: "2001::7357:2" + local_discrim: "11" + remote_discrim: "9" + remote_heard: "Up" + holddown: "2585" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "999" + hello_hits: "82" + rx_count: "85" + rx_last: "116" + tx_count: "86" + tx_last: "64" + registered_protocols: "BGP CEF" + template: "BFD-TEST" + uptime: "00:01:13" + version: "1" + - our_addr: "FE80:A::CAB" + neighbor_addr: "FE80:A::DAD" + local_discrim: "1" + remote_discrim: "7" + remote_heard: "Up" + holddown: "114" + multiplier: "3" + state: "Up" + iface: "Gi0/1.10" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "50000" + min_rx_interval: "50000" + received_min_rx_interval: "50000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "50" + hello_hits: "85054" + rx_count: "49417" + rx_last: "28" + tx_count: "49445" + tx_last: "32" + registered_protocols: "CEF EIGRP" + template: "" + uptime: "00:37:27" + version: "1" + - our_addr: "FE80:C::CAFE" + neighbor_addr: "FE80:C::BAD" + local_discrim: "2" + remote_discrim: "11" + remote_heard: "Up" + holddown: "2641" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "999" + hello_hits: "4416" + rx_count: "100" + rx_last: "112" + tx_count: "101" + tx_last: "776" + registered_protocols: "OSPFv3 CEF EIGRP" + template: "BFD-TEST" + uptime: "00:01:26" + version: "1" + - our_addr: "FE80:E::BEEF" + neighbor_addr: "FE80:E::BEAD" + local_discrim: "6" + remote_discrim: "5" + remote_heard: "Up" + holddown: "2865" + multiplier: "3" + state: "Up" + iface: "Gi0/1.14" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "999" + hello_hits: "4375" + rx_count: "2568" + rx_last: "716" + tx_count: "2569" + tx_last: "452" + registered_protocols: "CEF OSPFv3" + template: "" + uptime: "00:37:30" + version: "1" + - our_addr: "FE80:10::AAA" + neighbor_addr: "FE80:10::AAB" + local_discrim: "7" + remote_discrim: "0" + remote_heard: "Down" + holddown: "0" + multiplier: "3" + state: "Down" + iface: "Gi0/1.16" + echo_function: "" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "0" + received_multiplier: "0" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4354" + rx_count: "0" + rx_last: "3946664" + tx_count: "4354" + tx_last: "168" + registered_protocols: "OSPFv3 CEF" + template: "BFD-TEST" + uptime: "" + version: "1" diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw new file mode 100644 index 0000000000..a34f0107e8 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw @@ -0,0 +1,37 @@ +OurAddr NeighAddr LD/RD RH/RS Holdown(mult) State Int +172.16.1.1 172.16.1.3 5/3 1(RH) 150 (3 ) Up Fa0/1 +Session state is UP and not using echo function. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 50000, MinRxInt: 50000, Multiplier: 3 +Received MinRxInt: 50000, Received Multiplier: 3 +Holdown (hits): 150(0), Hello (hits): 50(1364284) +Rx Count: 1351813, Rx Interval (ms) min/max/avg: 28/64/49 last: 4 ms ago +Tx Count: 1364289, Tx Interval (ms) min/max/avg: 40/68/49 last: 32 ms ago +Registered protocols: EIGRP +Uptime: 18:42:45 +Last packet: Version: 0 - Diagnostic: 0 + I Hear You bit: 1 - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 3 - Your Discr.: 5 + Min tx interval: 50000 - Min rx interval: 50000 + Min Echo interval: 0 + +OurAddr NeighAddr LD/RD RH/RS Holdown(mult) State Int +172.16.1.1 172.16.1.2 6/1 Up 0 (3 ) Up Fa0/1 +Session state is UP and using echo function with 50 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holdown (hits): 3000(0), Hello (hits): 1000(317) +Rx Count: 305, Rx Interval (ms) min/max/avg: 1/1016/887 last: 448 ms ago +Tx Count: 319, Tx Interval (ms) min/max/avg: 1/1008/880 last: 532 ms ago +Registered protocols: EIGRP +Uptime: 00:04:30 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 1 - Your Discr.: 6 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 50000 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml new file mode 100644 index 0000000000..a6486db8e1 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml @@ -0,0 +1,60 @@ +--- +parsed_sample: + - our_addr: "172.16.1.1" + neighbor_addr: "172.16.1.3" + local_discrim: "5" + remote_discrim: "3" + remote_heard: "1(RH)" + holddown: "150" + multiplier: "3" + state: "Up" + iface: "Fa0/1" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "50000" + min_rx_interval: "50000" + received_min_rx_interval: "50000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "50" + hello_hits: "1364284" + rx_count: "1351813" + rx_last: "4" + tx_count: "1364289" + tx_last: "32" + registered_protocols: "EIGRP" + template: "" + uptime: "18:42:45" + version: "0" + - our_addr: "172.16.1.1" + neighbor_addr: "172.16.1.2" + local_discrim: "6" + remote_discrim: "1" + remote_heard: "Up" + holddown: "3000" + multiplier: "3" + state: "Up" + iface: "Fa0/1" + echo_function: "using echo function" + echo_interval: "50" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "317" + rx_count: "305" + rx_last: "448" + tx_count: "319" + tx_last: "532" + registered_protocols: "EIGRP" + template: "" + uptime: "00:04:30" + version: "1" diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw new file mode 100644 index 0000000000..dea0ddb3b0 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw @@ -0,0 +1,119 @@ +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.57 172.16.2.60 34/34 Up 0 (3 ) Up Gi0/2.116 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(7034) +Rx Count: 7046, Rx Interval (ms) min/max/avg: 756/1004/880 last: 400 ms ago +Tx Count: 7037, Tx Interval (ms) min/max/avg: 756/1012/878 last: 452 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 01:43:20 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 34 - Your Discr.: 34 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.1.25 172.16.1.28 31/15 Up 0 (3 ) Up Gi0/2.100 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(108712) +Rx Count: 108784, Rx Interval (ms) min/max/avg: 756/1004/880 last: 556 ms ago +Tx Count: 108715, Tx Interval (ms) min/max/avg: 756/1008/881 last: 20 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d02h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 15 - Your Discr.: 31 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.9 172.16.2.12 24/41 Up 0 (3 ) Up Gi0/2.110 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(198289) +Rx Count: 198480, Rx Interval (ms) min/max/avg: 756/1016/882 last: 544 ms ago +Tx Count: 198291, Tx Interval (ms) min/max/avg: 756/1012/883 last: 164 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 2d00h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 41 - Your Discr.: 24 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.89 172.16.2.92 29/2 Up 0 (3 ) Up Gi0/2.109 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(195048) +Rx Count: 195411, Rx Interval (ms) min/max/avg: 756/1000/877 last: 432 ms ago +Tx Count: 195050, Tx Interval (ms) min/max/avg: 756/1016/883 last: 356 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d23h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 2 - Your Discr.: 29 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.81 172.16.2.84 28/1 Up 0 (3 ) Up Gi0/2.107 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(195388) +Rx Count: 195672, Rx Interval (ms) min/max/avg: 756/1000/877 last: 456 ms ago +Tx Count: 195390, Tx Interval (ms) min/max/avg: 756/1012/882 last: 224 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d23h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 1 - Your Discr.: 28 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.73 172.16.2.76 26/137 Up 0 (3 ) Up Gi0/2.105 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(196435) +Rx Count: 196683, Rx Interval (ms) min/max/avg: 756/1000/878 last: 652 ms ago +Tx Count: 196437, Tx Interval (ms) min/max/avg: 756/1016/878 last: 564 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 2d00h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 137 - Your Discr.: 26 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml new file mode 100644 index 0000000000..051ab2fec4 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml @@ -0,0 +1,176 @@ +--- +parsed_sample: + - our_addr: "172.16.2.57" + neighbor_addr: "172.16.2.60" + local_discrim: "34" + remote_discrim: "34" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.116" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "7034" + rx_count: "7046" + rx_last: "400" + tx_count: "7037" + tx_last: "452" + registered_protocols: "OSPF" + template: "" + uptime: "01:43:20" + version: "1" + - our_addr: "172.16.1.25" + neighbor_addr: "172.16.1.28" + local_discrim: "31" + remote_discrim: "15" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.100" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "108712" + rx_count: "108784" + rx_last: "556" + tx_count: "108715" + tx_last: "20" + registered_protocols: "OSPF" + template: "" + uptime: "1d02h" + version: "1" + - our_addr: "172.16.2.9" + neighbor_addr: "172.16.2.12" + local_discrim: "24" + remote_discrim: "41" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.110" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "198289" + rx_count: "198480" + rx_last: "544" + tx_count: "198291" + tx_last: "164" + registered_protocols: "OSPF" + template: "" + uptime: "2d00h" + version: "1" + - our_addr: "172.16.2.89" + neighbor_addr: "172.16.2.92" + local_discrim: "29" + remote_discrim: "2" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.109" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "195048" + rx_count: "195411" + rx_last: "432" + tx_count: "195050" + tx_last: "356" + registered_protocols: "OSPF" + template: "" + uptime: "1d23h" + version: "1" + - our_addr: "172.16.2.81" + neighbor_addr: "172.16.2.84" + local_discrim: "28" + remote_discrim: "1" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.107" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "195388" + rx_count: "195672" + rx_last: "456" + tx_count: "195390" + tx_last: "224" + registered_protocols: "OSPF" + template: "" + uptime: "1d23h" + version: "1" + - our_addr: "172.16.2.73" + neighbor_addr: "172.16.2.76" + local_discrim: "26" + remote_discrim: "137" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.105" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "196435" + rx_count: "196683" + rx_last: "652" + tx_count: "196437" + tx_last: "564" + registered_protocols: "OSPF" + template: "" + uptime: "2d00h" + version: "1" From 003796e20776f103b938b811abbc3146158c3abd Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 15 May 2021 07:11:45 +0000 Subject: [PATCH 188/412] sros_system_cpu --- .../alcatel_sros_show_system_cpu.textfsm | 27 +++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_system_cpu.raw | 58 +++++ .../alcatel_sros_show_system_cpu.yml | 202 ++++++++++++++++++ 4 files changed, 288 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm create mode 100644 tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw create mode 100644 tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml diff --git a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm new file mode 100644 index 0000000000..be9383a28d --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm @@ -0,0 +1,27 @@ +Value NAME (\S.*?) +Value CPU_TIME (\S+) +Value CPU_USAGE (\S+) +Value CAPACITY_USAGE (\S+) + +Start + ^=+ + ^CPU\sUtil.+ + ^Name\s+CPU\s+Time\s+CPU\s+Usage\s+Capacity\s*$$ + ^\s+\(uSec\)\s+Usage + ^--.+ -> Resources + ^\s*$$ + ^. -> Error + +Resources + ^${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+${CAPACITY_USAGE}\s*$$ -> Record + ^--.+ -> Total + ^\s*$$ + ^. -> Error + +Total + ^${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+ -> Record + ^\s+${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+ -> Record + ^=+ -> Done + ^. -> Error + +Done \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index e33bb43f98..562e80ea4b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -27,6 +27,7 @@ alcatel_sros_show_router_interface.textfsm, .*, alcatel_sros, sh[[ow]] router (\ alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp +alcatel_sros_show_system_cpu.textfsm, .*, alcatel_sros, sh[[ow]] system cpu alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag diff --git a/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw new file mode 100644 index 0000000000..bbfda6bcce --- /dev/null +++ b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw @@ -0,0 +1,58 @@ +=============================================================================== +CPU Utilization (Sample period: 1 second) +=============================================================================== +Name CPU Time CPU Usage Capacity + (uSec) Usage +------------------------------------------------------------------------------- +BFD 189 0.01% 0.01% +BGP 20 ~0.00% ~0.00% +BGP PE-CE 0 0.00% 0.00% +BIER 0 0.00% 0.00% +CFLOWD 48 ~0.00% ~0.00% +Cards & Ports 2,311 0.23% 0.10% +DHCP Server 11 ~0.00% ~0.00% +ETH-CFM 244 0.02% 0.02% +HQoS Algorithm 102 0.01% 0.01% +HQoS Statistics 653 0.06% 0.06% +ICC 524 0.05% 0.03% +IGMP/MLD 78 ~0.00% ~0.00% +IMSI Db Appl 128 0.01% 0.01% +IOM 37,866 3.78% 2.15% +IP Stack 3,554 0.35% 0.22% +IS-IS 298 0.02% 0.01% +ISA 1,093 0.10% 0.03% +LDP 433 0.04% 0.02% +Logging 15 ~0.00% ~0.00% +MBUF 0 0.00% 0.00% +MCS 83 ~0.00% ~0.00% +MPLS/RSVP 1,230 0.12% 0.05% +MSCP 0 0.00% 0.00% +MSDP 0 0.00% 0.00% +Management 25,404 2.53% 1.84% +OAM 1,759 0.17% 0.05% +OSPF 815 0.08% 0.02% +OpenFlow 30 ~0.00% ~0.00% +PIM/L2Mcast 0 0.00% 0.00% +PKI 24 ~0.00% ~0.00% +PTP 8 ~0.00% ~0.00% +RIP 0 0.00% 0.00% +RTM/Policies 0 0.00% 0.00% +Redundancy 0 0.00% 0.00% +SIM 4,086 0.40% 0.39% +SNMP Daemon 0 0.00% 0.00% +Security 0 0.00% 0.00% +Services 1,246 0.12% 0.04% +Stats 0 0.00% 0.00% +Stats-Extended 0 0.00% 0.00% +Subscriber Mgmt 834 0.08% 0.01% +System 52,774 5.27% 2.63% +Traffic Eng 0 0.00% 0.00% +Tree Sid 0 0.00% 0.00% +VRRP 227 0.02% 0.01% +WEB Redirect 107 0.01% ~0.00% +------------------------------------------------------------------------------- +Total 1,001,337 100.00% + Idle 865,143 86.39% + Usage 136,194 13.60% +Busiest Core Utilization 136,194 13.60% +=============================================================================== diff --git a/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml new file mode 100644 index 0000000000..7c39836720 --- /dev/null +++ b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml @@ -0,0 +1,202 @@ +--- +parsed_sample: + - name: "BFD" + cpu_time: "189" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "BGP" + cpu_time: "20" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "BGP PE-CE" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "BIER" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "CFLOWD" + cpu_time: "48" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "Cards & Ports" + cpu_time: "2,311" + cpu_usage: "0.23%" + capacity_usage: "0.10%" + - name: "DHCP Server" + cpu_time: "11" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "ETH-CFM" + cpu_time: "244" + cpu_usage: "0.02%" + capacity_usage: "0.02%" + - name: "HQoS Algorithm" + cpu_time: "102" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "HQoS Statistics" + cpu_time: "653" + cpu_usage: "0.06%" + capacity_usage: "0.06%" + - name: "ICC" + cpu_time: "524" + cpu_usage: "0.05%" + capacity_usage: "0.03%" + - name: "IGMP/MLD" + cpu_time: "78" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "IMSI Db Appl" + cpu_time: "128" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "IOM" + cpu_time: "37,866" + cpu_usage: "3.78%" + capacity_usage: "2.15%" + - name: "IP Stack" + cpu_time: "3,554" + cpu_usage: "0.35%" + capacity_usage: "0.22%" + - name: "IS-IS" + cpu_time: "298" + cpu_usage: "0.02%" + capacity_usage: "0.01%" + - name: "ISA" + cpu_time: "1,093" + cpu_usage: "0.10%" + capacity_usage: "0.03%" + - name: "LDP" + cpu_time: "433" + cpu_usage: "0.04%" + capacity_usage: "0.02%" + - name: "Logging" + cpu_time: "15" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "MBUF" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "MCS" + cpu_time: "83" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "MPLS/RSVP" + cpu_time: "1,230" + cpu_usage: "0.12%" + capacity_usage: "0.05%" + - name: "MSCP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "MSDP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Management" + cpu_time: "25,404" + cpu_usage: "2.53%" + capacity_usage: "1.84%" + - name: "OAM" + cpu_time: "1,759" + cpu_usage: "0.17%" + capacity_usage: "0.05%" + - name: "OSPF" + cpu_time: "815" + cpu_usage: "0.08%" + capacity_usage: "0.02%" + - name: "OpenFlow" + cpu_time: "30" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "PIM/L2Mcast" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "PKI" + cpu_time: "24" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "PTP" + cpu_time: "8" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "RIP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "RTM/Policies" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Redundancy" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "SIM" + cpu_time: "4,086" + cpu_usage: "0.40%" + capacity_usage: "0.39%" + - name: "SNMP Daemon" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Security" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Services" + cpu_time: "1,246" + cpu_usage: "0.12%" + capacity_usage: "0.04%" + - name: "Stats" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Stats-Extended" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Subscriber Mgmt" + cpu_time: "834" + cpu_usage: "0.08%" + capacity_usage: "0.01%" + - name: "System" + cpu_time: "52,774" + cpu_usage: "5.27%" + capacity_usage: "2.63%" + - name: "Traffic Eng" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Tree Sid" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "VRRP" + cpu_time: "227" + cpu_usage: "0.02%" + capacity_usage: "0.01%" + - name: "WEB Redirect" + cpu_time: "107" + cpu_usage: "0.01%" + capacity_usage: "~0.00%" + - name: "Total" + cpu_time: "1,001,337" + cpu_usage: "100.00%" + capacity_usage: "" + - name: "Idle" + cpu_time: "865,143" + cpu_usage: "86.39%" + capacity_usage: "" + - name: "Usage" + cpu_time: "136,194" + cpu_usage: "13.60%" + capacity_usage: "" + - name: "Busiest Core Utilization" + cpu_time: "136,194" + cpu_usage: "13.60%" + capacity_usage: "" From d4ccbc6f439833188e91c3e096d07fee01f3e78e Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 15 May 2021 07:15:10 +0000 Subject: [PATCH 189/412] +empty_line --- ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm index be9383a28d..db51a2ca31 100644 --- a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm +++ b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm @@ -24,4 +24,4 @@ Total ^=+ -> Done ^. -> Error -Done \ No newline at end of file +Done From 221d88b71286278abaf4b7a81bb6dda8d7de3b95 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 21 May 2021 16:56:04 -0400 Subject: [PATCH 190/412] New Template: All BGP VPNv4 Neighbors (#911) * New Template: All BGP VPNv4 Neighbors Co-authored-by: Mark Hayes <1341115+markhayes0338@users.noreply.github.com> --- ...os_show_ip_bgp_vpnv4_all_neighbors.textfsm | 44 + ntc_templates/templates/index | 1 + ...co_ios_show_ip_bgp_vpnv4_all_neighbors.raw | 124 +++ ...co_ios_show_ip_bgp_vpnv4_all_neighbors.yml | 15 + ...ow_ip_bgp_vpnv4_all_neighbors_multiple.raw | 999 ++++++++++++++++++ ...ow_ip_bgp_vpnv4_all_neighbors_multiple.yml | 106 ++ 6 files changed, 1289 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm new file mode 100644 index 0000000000..c13e1e54d1 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm @@ -0,0 +1,44 @@ +Value NEIGHBOR (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value VRF (\S+) +Value REMOTE_AS (\d+) +Value LOCAL_AS (\d+) +Value PEER_GROUP (\S+) +Value REMOTE_ROUTER_ID (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value BGP_STATE (\w+) +Value LOCALHOST_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value LOCALHOST_PORT (\d+) +Value REMOTE_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value REMOTE_PORT (\d+) +Value INBOUND_ROUTEMAP (\S+) +Value OUTBOUND_ROUTEMAP (\S+) + +Start + # Capture first line, which shows the BGP neighor and remote AS number + ^BGP\s+neighbor\s+is -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+vrf\s+${VRF},\s+remote\s+AS\s+${REMOTE_AS},\s+local\s+AS\s+${LOCAL_AS} + # Capture BGP peer group + # Example: 'Member of peer-group RR_SERVERS for session parameters' + ^\s*Member\s+of\s+peer-group\s+${PEER_GROUP} + # + # Capture remote router ID + # Example: ' BGP version 4, remote router ID 10.10.255.14' + ^.+remote\s+router\s+ID\s+${REMOTE_ROUTER_ID} + # + # Capture BGP state + # Example: ' BGP state = Established, up for 7w3d' + ^\s+BGP\s+state\s+=\s+${BGP_STATE} + # + # Capture Inbound/Outbound Route Maps + # Example: 'Route map for incoming advertisements is BGP_Vendor_in' + # Example: 'Route map for outgoing advertisements is BGP_Vendor_out' + ^\s+Route\s+map\s+for\s+incoming\s+advertisements\s+is\s+${INBOUND_ROUTEMAP} + ^\s+Route\s+map\s+for\s+outgoing\s+advertisements\s+is\s+${OUTBOUND_ROUTEMAP} + # + # Match local host and port + # Example: 'Local host: 10.10.255.13, Local port: 39443' + ^Local\s+host:\s+${LOCALHOST_IP},\s+Local\s+port:\s+${LOCALHOST_PORT} + # + # Match foreign host and port + # Example: 'Foreign host: 10.10.255.14, Local port: 39443' + ^Foreign\s+host:\s+${REMOTE_IP},\s+Foreign\s+port:\s+${REMOTE_PORT} + #^.+ -> Error \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 562e80ea4b..97d9c9be6e 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -175,6 +175,7 @@ cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm, .*, cisco_ios, sh[[ow cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]] por[[t-security]] i[[nterface]] (\S+) cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp vpnv4 all nei[[ghbors]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw new file mode 100644 index 0000000000..2ffebdb5db --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw @@ -0,0 +1,124 @@ +BGP neighbor is 10.255.11.4, vrf VRF11, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:54, last write 00:00:35, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32792 32803 + Route Refresh: 0 0 + Total: 32794 32808 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 4, Advertise bit 0 + 4 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 33514 +Foreign host: 10.255.11.4, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE0695D1): +Timer Starts Wakeups Next +Retrans 32804 10 0x0 +TimeWait 0 0 0x0 +AckHold 32805 32223 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781782 1781781 0x4AE069986 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2115004957 snduna: 2115628086 sndnxt: 2115628086 +irs: 3296319032 rcvnxt: 3296942468 + +sndwnd: 15700 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15396 scale: 0 delrcvwnd: 988 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788576610 ms, Sent idletime: 35652 ms, Receive idletime: 35428 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32806, total data bytes: 623435 +Sent: 65477 (retransmit: 10, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32794, total data bytes: 623128 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ACD0 FREE \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml new file mode 100644 index 0000000000..5b7dbec6f0 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "33514" + neighbor: "10.255.11.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.11.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF11" diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw new file mode 100644 index 0000000000..7142479e4e --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw @@ -0,0 +1,999 @@ +BGP neighbor is 10.255.11.4, vrf VRF11, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:54, last write 00:00:35, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32792 32803 + Route Refresh: 0 0 + Total: 32794 32808 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 4, Advertise bit 0 + 4 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 33514 +Foreign host: 10.255.11.4, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE0695D1): +Timer Starts Wakeups Next +Retrans 32804 10 0x0 +TimeWait 0 0 0x0 +AckHold 32805 32223 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781782 1781781 0x4AE069986 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2115004957 snduna: 2115628086 sndnxt: 2115628086 +irs: 3296319032 rcvnxt: 3296942468 + +sndwnd: 15700 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15396 scale: 0 delrcvwnd: 988 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788576610 ms, Sent idletime: 35652 ms, Receive idletime: 35428 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32806, total data bytes: 623435 +Sent: 65477 (retransmit: 10, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32794, total data bytes: 623128 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ACD0 FREE + +BGP neighbor is 10.255.11.9, vrf VRF11, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:15, last write 00:00:09, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32813 32820 + Route Refresh: 0 0 + Total: 32815 32825 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 6, Advertise bit 1 + 6 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 38993 +Foreign host: 10.255.11.9, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069763): +Timer Starts Wakeups Next +Retrans 32816 1 0x0 +TimeWait 0 0 0x0 +AckHold 32822 32248 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782044 1782043 0x4AE0699B0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 957193073 snduna: 957816601 sndnxt: 957816601 +irs: 1068505590 rcvnxt: 1069129349 + +sndwnd: 15301 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15073 scale: 0 delrcvwnd: 1311 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788574963 ms, Sent idletime: 9426 ms, Receive idletime: 9216 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65523 (out of order: 0), with data: 32823, total data bytes: 623758 +Sent: 65522 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32815, total data bytes: 623527 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D408 FREE + +BGP neighbor is 10.255.12.4, vrf VRF12, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:42, last write 00:00:19, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 148 6 + Keepalives: 32761 32801 + Route Refresh: 0 0 + Total: 32910 32810 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF12 + Session: 10.255.12.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 7, Advertise bit 0 + 7 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 9 1 (Consumes 272 bytes) + Prefixes Total: 148 5 + Implicit Withdraw: 1 4 + Explicit Withdraw: 138 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1064 n/a + Total: 1064 0 + Number of NLRIs in the update sent: max 2, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.12.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel12 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.12.204, Local port: 41858 +Foreign host: 10.255.12.4, Foreign port: 179 +Connection tableid (VRF): 4 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069977): +Timer Starts Wakeups Next +Retrans 32864 4 0x0 +TimeWait 0 0 0x0 +AckHold 32806 32235 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782005 1782004 0x4AE069B3B +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 639459013 snduna: 640094455 sndnxt: 640094455 +irs: 2469711945 rcvnxt: 2470335582 + +sndwnd: 16308 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15187 scale: 0 delrcvwnd: 1197 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788571400 ms, Sent idletime: 20201 ms, Receive idletime: 19977 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65548 (out of order: 0), with data: 32808, total data bytes: 623636 +Sent: 65558 (retransmit: 4, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32862, total data bytes: 635441 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D4D8 FREE + +BGP neighbor is 10.255.12.9, vrf VRF12, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:18, last write 00:00:06, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 148 6 + Keepalives: 32776 32810 + Route Refresh: 0 0 + Total: 32925 32819 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF12 + Session: 10.255.12.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 8, Advertise bit 1 + 8 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 9 1 (Consumes 272 bytes) + Prefixes Total: 148 4 + Implicit Withdraw: 1 2 + Explicit Withdraw: 138 1 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1064 n/a + Total: 1064 0 + Number of NLRIs in the update sent: max 2, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.12.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel12 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.12.204, Local port: 54769 +Foreign host: 10.255.12.9, Foreign port: 179 +Connection tableid (VRF): 4 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069C03): +Timer Starts Wakeups Next +Retrans 32878 3 0x0 +TimeWait 0 0 0x0 +AckHold 32815 32241 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782055 1782054 0x4AE069E75 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 1747014950 snduna: 1747650273 sndnxt: 1747650273 +irs: 2226126303 rcvnxt: 2226750079 + +sndwnd: 15548 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15073 scale: 0 delrcvwnd: 1311 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788571028 ms, Sent idletime: 6514 ms, Receive idletime: 6304 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65566 (out of order: 0), with data: 32817, total data bytes: 623775 +Sent: 65578 (retransmit: 3, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32877, total data bytes: 635322 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D5A8 FREE + +BGP neighbor is 10.255.13.4, vrf VRF13, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:09, last write 00:00:00, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 7 + Keepalives: 32782 32806 + Route Refresh: 0 0 + Total: 32784 32816 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF13 + Session: 10.255.13.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 2, Advertise bit 0 + 2 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 6 + Implicit Withdraw: 0 5 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 6 n/a + Total: 6 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.13.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel13 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.13.204, Local port: 39746 +Foreign host: 10.255.13.4, Foreign port: 179 +Connection tableid (VRF): 5 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069E1B): +Timer Starts Wakeups Next +Retrans 32792 8 0x0 +TimeWait 0 0 0x0 +AckHold 32812 32253 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781845 1781844 0x4AE06A0CA +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 452660100 snduna: 453283039 sndnxt: 453283039 +irs: 3919747522 rcvnxt: 3920371334 + +sndwnd: 15890 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16384 scale: 0 delrcvwnd: 0 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788579756 ms, Sent idletime: 906 ms, Receive idletime: 683 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65473 (out of order: 0), with data: 32814, total data bytes: 623811 +Sent: 65499 (retransmit: 8, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32784, total data bytes: 622938 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1744DF0BD0 FREE + +BGP neighbor is 10.255.13.9, vrf VRF13, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:03, last write 00:00:04, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 7 + Keepalives: 32803 32833 + Route Refresh: 0 0 + Total: 32805 32843 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF13 + Session: 10.255.13.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 3, Advertise bit 1 + 3 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 6 + Implicit Withdraw: 0 5 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 6 n/a + Total: 6 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.13.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel13 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.13.204, Local port: 12197 +Foreign host: 10.255.13.9, Foreign port: 179 +Connection tableid (VRF): 5 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069FB4): +Timer Starts Wakeups Next +Retrans 32806 1 0x0 +TimeWait 0 0 0x0 +AckHold 32839 32252 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782035 1782034 0x4AE06A25E +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 4215501672 snduna: 4216125010 sndnxt: 4216125010 +irs: 341672035 rcvnxt: 342296360 + +sndwnd: 15491 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15852 scale: 0 delrcvwnd: 532 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788579142 ms, Sent idletime: 3724 ms, Receive idletime: 3924 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65550 (out of order: 0), with data: 32841, total data bytes: 624324 +Sent: 65518 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32805, total data bytes: 623337 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F173C61CF30 FREE + +BGP neighbor is 172.16.0.4, vrf VRF10, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:15, last write 00:00:20, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32810 32795 + Route Refresh: 0 0 + Total: 32812 32800 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF10 + Session: 172.16.0.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 5, Advertise bit 1 + 5 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 172.16.0.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel10 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 172.16.0.141, Local port: 32322 +Foreign host: 172.16.0.4, Foreign port: 179 +Connection tableid (VRF): 2 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE06A2FC): +Timer Starts Wakeups Next +Retrans 32817 5 0x0 +TimeWait 0 0 0x0 +AckHold 32797 32259 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781931 1781930 0x4AE06A4B5 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 922591666 snduna: 923215137 sndnxt: 923215137 +irs: 3979427565 rcvnxt: 3980050845 + +sndwnd: 15358 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15548 scale: 0 delrcvwnd: 836 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788578957 ms, Sent idletime: 16417 ms, Receive idletime: 16617 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65522 (out of order: 0), with data: 32798, total data bytes: 623279 +Sent: 65531 (retransmit: 5, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32812, total data bytes: 623470 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D678 FREE + +BGP neighbor is 172.16.0.9, vrf VRF10, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:14, last write 00:00:50, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32806 32808 + Route Refresh: 0 0 + Total: 32808 32813 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF10 + Session: 172.16.0.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 1, Advertise bit 0 + 1 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 172.16.0.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel10 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 172.16.0.141, Local port: 49926 +Foreign host: 172.16.0.9, Foreign port: 179 +Connection tableid (VRF): 2 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE06A51B): +Timer Starts Wakeups Next +Retrans 32809 1 0x0 +TimeWait 0 0 0x0 +AckHold 32810 32252 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782044 1782043 0x4AE06A571 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3051876655 snduna: 3052500050 sndnxt: 3052500050 +irs: 2636422233 rcvnxt: 2637045760 + +sndwnd: 15434 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15301 scale: 0 delrcvwnd: 1083 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788585645 ms, Sent idletime: 14322 ms, Receive idletime: 14522 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32811, total data bytes: 623526 +Sent: 65520 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32808, total data bytes: 623394 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ADA0 FREE \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml new file mode 100644 index 0000000000..b88b40a692 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "33514" + neighbor: "10.255.11.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.11.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF11" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "38993" + neighbor: "10.255.11.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.11.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF11" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.12.204" + localhost_port: "41858" + neighbor: "10.255.12.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.12.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF12" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.12.204" + localhost_port: "54769" + neighbor: "10.255.12.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.12.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF12" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.13.204" + localhost_port: "39746" + neighbor: "10.255.13.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.13.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF13" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.13.204" + localhost_port: "12197" + neighbor: "10.255.13.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.13.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF13" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "172.16.0.141" + localhost_port: "32322" + neighbor: "172.16.0.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "172.16.0.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF10" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "172.16.0.141" + localhost_port: "49926" + neighbor: "172.16.0.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "172.16.0.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF10" From f030fc84c9044e18695875d516b32ba040e3dab2 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Fri, 21 May 2021 14:08:07 -0700 Subject: [PATCH 191/412] New Template: Alcatel, sh router ospf int (#931) New template for sros-sh-rtr-ospf-int --- ...el_sros_show_router_ospf_interface.textfsm | 27 +++++++++++++++++++ ntc_templates/templates/index | 1 + ...lcatel_sros_show_router_ospf_interface.raw | 12 +++++++++ ...lcatel_sros_show_router_ospf_interface.yml | 26 ++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw create mode 100644 tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm new file mode 100644 index 0000000000..6f790aad56 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm @@ -0,0 +1,27 @@ +Value Required INTERFACE (\S+) +Value Required AREA (\S+) +Value Required DESIG_RTR (\S+) +Value Required BKUP_DESIG_RTR (\S+) +Value Required ADMIN_STATE (\S+) +Value Required OPER_STATE (\S+) + +Start + ^=+ + ^Rtr\s+Base + ^If\s+Name\s+Area\s+Id\s+Designated\s+Rtr\s+Bkup\s+Desig\s+Rtr\s+Adm\s+Oper\s*$$ + ^-+ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s+${AREA}\s+${DESIG_RTR}\s+${BKUP_DESIG_RTR}\s+${ADMIN_STATE}\s+${OPER_STATE} -> Record + ^-+ -> Total + ^\s*$$ + ^. -> Error + +Total + ^No.\s+ + ^=+ -> Done + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 97d9c9be6e..9437876d32 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -18,6 +18,7 @@ alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] +alcatel_sros_show_router_ospf_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ospf int[[erface]] alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] diff --git a/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw new file mode 100644 index 0000000000..a901f8e05b --- /dev/null +++ b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw @@ -0,0 +1,12 @@ +=============================================================================== +Rtr Base OSPFv2 Instance 0 Interfaces +=============================================================================== +If Name Area Id Designated Rtr Bkup Desig Rtr Adm Oper +------------------------------------------------------------------------------- +system 0.0.0.0 10.10.10.3 0.0.0.0 Up DR +TO_IOSXR 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +TO_R1 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +TO_R4 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +------------------------------------------------------------------------------- +No. of OSPF Interfaces: 4 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml new file mode 100644 index 0000000000..5c1c77d79c --- /dev/null +++ b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "system" + area: "0.0.0.0" + desig_rtr: "10.10.10.3" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "DR" + - interface: "TO_IOSXR" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" + - interface: "TO_R1" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" + - interface: "TO_R4" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" From 343047e2f1dd8dd352ba8c43ffb0d4e6c9a0c227 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Fri, 28 May 2021 09:34:26 -0500 Subject: [PATCH 192/412] Adds monitoring port for show interfaces status (#928) --- .../templates/cisco_ios_show_interfaces_status.textfsm | 2 +- .../cisco_ios_show_interfaces_status.raw | 1 + .../cisco_ios_show_interfaces_status.yml | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm index 9fafcd9b62..88cd95a5cf 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,6 +1,6 @@ Value PORT (\S+) Value NAME (.+?) -Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down) +Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index a6f3180abe..8f460276cc 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -16,5 +16,6 @@ Gi1/0/14 Half Duplex 2950-S notconnect 16 a-half auto Not Present Gi1/0/15 Multi Space to the notconnect 16 a-half auto 10/100BaseTX Gi1/0/16 Multi Space to the err-disabled 16 a-half auto 10/100BaseTX Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX +Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT Fa1/6 test notconnect 1 auto auto 10/100BaseTX Po1 ethchl connected trunk a-full a-1000 diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 23df2630fc..ab567b4694 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -136,6 +136,14 @@ parsed_sample: speed: "auto" type: "10/100BaseTX" fc_mode: "" + - port: "Gi1/0/18" + name: "Monitoring Port" + status: "monitoring" + vlan: "routed" + duplex: "a-full" + speed: "auto" + type: "10/100/1000BaseT" + fc_mode: "" - port: "Fa1/6" name: "test" status: "notconnect" From f7d7aba58bb31c40f86de438c8585ade9b81a1af Mon Sep 17 00:00:00 2001 From: Pavel Khorikov Date: Wed, 23 Jun 2021 00:22:24 +0300 Subject: [PATCH 193/412] cisco_nxos add f-path vlan type (#937) * Fix missing vlan type in command output --- .../templates/cisco_nxos_show_interface_status.textfsm | 2 +- .../cisco_nxos_show_interface_status3.raw | 1 + .../cisco_nxos_show_interface_status3.yml | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index 5d142c9b3c..a41c3d00a5 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -1,7 +1,7 @@ Value PORT (\S+) Value NAME (.*?) Value STATUS (\S+) -Value VLAN (\d+|routed|trunk|--) +Value VLAN (\d+|routed|trunk|f-path|--) Value DUPLEX (\S+) Value SPEED (\S+) Value TYPE (\S+(\s\S+)*) diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw index 05eeec8aa8..ce6efa1296 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw @@ -14,4 +14,5 @@ Eth1/10 -- channelDo 1 full 10G Fabric Exte Eth1/11 -- channelDo 1 full 10G Fabric Exte Eth1/12 -- channelDo 1 full 10G Fabric Exte Eth1/13 upk N2232PP-651-10 connected 1 full 10G Fabric Exte +Eth1/14 FP-port connected f-path full 10G 10Gbase-SR Eth1/39 "FEX151" connected 1 full 10G Fabric Extender Transceiver diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml index abc118c072..79cd0b331a 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml @@ -91,6 +91,13 @@ parsed_sample: duplex: "full" speed: "10G" type: "Fabric Exte" + - port: "Eth1/14" + name: "FP-port" + status: "connected" + vlan: "f-path" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" - port: "Eth1/39" name: "\"FEX151\"" status: "connected" From a97b2a25149011e1874981e1ab4ac3c5eff2482a Mon Sep 17 00:00:00 2001 From: ksrattani <73962227+ksrattani@users.noreply.github.com> Date: Thu, 24 Jun 2021 09:40:43 -0500 Subject: [PATCH 194/412] Adding Restarted to show version template for cisco ios (#940) --- ntc_templates/templates/cisco_ios_show_version.textfsm | 2 ++ tests/cisco_ios/show_version/cisco_ios_show_version.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version1.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version2.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version3.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version4.yml | 1 + 6 files changed, 7 insertions(+) diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index 5ea3b0a4be..4d32f8475b 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -8,6 +8,7 @@ Value List HARDWARE (\S+|\S+\d\S+) Value List SERIAL (\S+) Value CONFIG_REGISTER (\S+) Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) +Value RESTARTED (.+) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* @@ -19,6 +20,7 @@ Start ^[Cc]isco\s+${HARDWARE}\s+\(.+\).+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} ^Base\s+[Ee]thernet\s+MAC\s+[Aa]ddress\s+:\s+${MAC} + ^System\s+restarted\s+at\s+${RESTARTED}$$ ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml index 3a91e0d9c8..fd16da9df3 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -12,3 +12,4 @@ parsed_sample: - "CAT1451S15C" config_register: "0x2102" mac: [] + restarted: "09:09:22 UTC Tue Apr 9 2013" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml index a97fbd1dcd..eb71525870 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -22,3 +22,4 @@ parsed_sample: - "f8:7b:20:22:bb:80" - "f8:b7:e2:33:cc:00" - "f8:b7:e2:44:dd:00" + restarted: "05:00:08 AEDT Wed Nov 22 2017" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml index a38f16353f..11935c90fa 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -12,3 +12,4 @@ parsed_sample: - "SSI1289001MH" config_register: "0x2102" mac: [] + restarted: "23:02:42 MET-DST Fri Jul 25 2014" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml index 1510b62ace..a72cd33d98 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -12,3 +12,4 @@ parsed_sample: - "991UCMIHG4UAJ1J010CQG" config_register: "0x0" mac: [] + restarted: "" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml index 38ad8334dd..677cd7fdab 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -16,3 +16,4 @@ parsed_sample: mac: - "0c:d0:f8:cd:b5:80" - "70:35:09:dd:20:00" + restarted: "22:16:13 NZST Wed May 1 2019" From eca841fea7dd14edc395900ad058c645be06fe73 Mon Sep 17 00:00:00 2001 From: matt852 Date: Thu, 24 Jun 2021 10:44:44 -0400 Subject: [PATCH 195/412] aristra_eos_show_lldp_neighbors: Make argument required to capture all entries (#934) --- ...sta_eos_show_lldp_neighbors_detail.textfsm | 6 ++--- .../arista_eos_show_lldp_neighbors_detail.raw | 22 ++++++++++++++++++- .../arista_eos_show_lldp_neighbors_detail.yml | 8 +++++++ 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm index 604a046bb9..0425d376b8 100644 --- a/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm +++ b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm @@ -1,10 +1,10 @@ -Value DEST_HOST (\S+) +Value Required DEST_HOST (\S+) Value SYSTEM_ID (.+?) Value MGMT_ADDRESS (.+?) Value PLATFORM_VERSION (.+?) Value REMOTE_PORT (.+?) Value Filldown LOCAL_PORT (\S+?) -Value Filldown NEIGH_COUNT (\d+?) +Value Filldown NEIGH_COUNT ([1-9]\d*) Value AGE (.+?) Start @@ -21,5 +21,3 @@ Interface Port_ID ^\s+Port ID\s+:(\s+\"|\s+)${REMOTE_PORT}(\"|$$) -> Interface - -EOF diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw index 35f98c527d..b568eda9b5 100644 --- a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw +++ b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw @@ -635,5 +635,25 @@ Interface Ethernet52/3 detected 0 LLDP neighbors: Interface Ethernet52/4 detected 0 LLDP neighbors: -Interface Management1 detected 0 LLDP neighbors: +Interface Management1 detected 1 LLDP neighbors: + Neighbor 0cca.01c0.e8e1/"Management1", age 2 seconds + Discovered 1:11:08 ago; Last changed 1:11:08 ago + - Chassis ID type: MAC address (4) + Chassis ID : 0cca.01c0.e8e1 + - Port ID type: Interface name(5) + Port ID : "Management1" + - Time To Live: 120 seconds + - System Name: "test-host.domain.com" + - System Capabilities : Bridge, Router + Enabled Capabilities: Bridge + - Management Address Subtype: IPv4 + Management Address : 172.16.208.5 + Interface Number Subtype : ifIndex (2) + Interface Number : 999001 + OID String : + - IEEE802.1 Port VLAN ID: 0 + - IEEE802.1/IEEE802.3 Link Aggregation + Link Aggregation Status: Not Capable (0x00) + Port ID : 0 + - IEEE802.3 Maximum Frame Size: 1518 bytes \ No newline at end of file diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml index 9a4aab4b53..732b00ea7c 100644 --- a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml +++ b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml @@ -171,3 +171,11 @@ parsed_sample: local_port: "Ethernet52/1" neigh_count: "1" age: "28 seconds" + - dest_host: "test-host.domain.com" + system_id: "0cca.01c0.e8e1" + mgmt_address: "172.16.208.5" + platform_version: "" + remote_port: "Management1" + local_port: "Management1" + neigh_count: "1" + age: "2 seconds" From 77a880b711f16b4ca0206948b46f03e32fd80dfd Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 24 Jun 2021 12:00:22 -0600 Subject: [PATCH 196/412] Cutting new release, bumping version to 2.1.0 (#941) --- .github_changelog_generator | 3 +- CHANGELOG.md | 605 +++++++++++++++++++++++++++++++++++- ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 603 insertions(+), 9 deletions(-) diff --git a/.github_changelog_generator b/.github_changelog_generator index 1d3e2cee60..88958d9fae 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,3 +1,2 @@ unreleased=true -future-release=1.5.0 -since-tag=v1.4.2 +future-release=2.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index dbea6b3dfa..fb87e2dab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,59 @@ # Changelog -## [2.0.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) +## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...v1.7.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) + +**Implemented enhancements:** + +- Move to Poetry for dependency and publishing [\#729](https://github.com/networktocode/ntc-templates/issues/729) + +**Closed issues:** + +- cisco\_nxos\_show\_cdp\_neighbors\_detail 'str' object has no attribute 'seek'. [\#936](https://github.com/networktocode/ntc-templates/issues/936) +- show int status returns error \(seems template error\) for particular switch for other switches it does work \(iOS\). [\#922](https://github.com/networktocode/ntc-templates/issues/922) +- IPinfusuion OCNOS support request [\#913](https://github.com/networktocode/ntc-templates/issues/913) +- cisco\_ios\_show\_interfaces\_status.textfsm \(no interface in monitoring state\) [\#878](https://github.com/networktocode/ntc-templates/issues/878) +- Arista\_eos: show ip bgp summary Error [\#844](https://github.com/networktocode/ntc-templates/issues/844) +- arista\_eos\_show\_ip\_route parse exception [\#811](https://github.com/networktocode/ntc-templates/issues/811) +- cisco nxos show interface status issue when FC ports are present [\#788](https://github.com/networktocode/ntc-templates/issues/788) +- cisco\_asa\_show\_running\_cryprom\_map does not parse crypto maps without "set security association lifetime" [\#784](https://github.com/networktocode/ntc-templates/issues/784) +- Cisco ASA show vpn-sessiondb invalid and not returning data after ASA SW update [\#773](https://github.com/networktocode/ntc-templates/issues/773) +- cannot import name 'clitable' from 'textfsm' [\#731](https://github.com/networktocode/ntc-templates/issues/731) **Merged pull requests:** +- Adding Restarted to show version template for cisco ios [\#940](https://github.com/networktocode/ntc-templates/pull/940) ([ksrattani](https://github.com/ksrattani)) +- cisco\_nxos add f-path vlan type [\#937](https://github.com/networktocode/ntc-templates/pull/937) ([JargeZ](https://github.com/JargeZ)) +- Fix issue \#929 [\#934](https://github.com/networktocode/ntc-templates/pull/934) ([matt852](https://github.com/matt852)) +- New Template: Alcatel, sh router ospf int [\#931](https://github.com/networktocode/ntc-templates/pull/931) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: SROS "show system cpu" [\#930](https://github.com/networktocode/ntc-templates/pull/930) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Adds monitoring port for show interfaces status [\#928](https://github.com/networktocode/ntc-templates/pull/928) ([jvanderaa](https://github.com/jvanderaa)) +- New Template: All BGP VPNv4 Neighbors [\#911](https://github.com/networktocode/ntc-templates/pull/911) ([markh0338](https://github.com/markh0338)) +- Added Known Issues section to document Micah's finding/issue [\#902](https://github.com/networktocode/ntc-templates/pull/902) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added deploy option to auto deploy on tags [\#901](https://github.com/networktocode/ntc-templates/pull/901) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- sros, new template - sh router interface, -vrf \# optional [\#898](https://github.com/networktocode/ntc-templates/pull/898) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Add end of line for matching empty lines [\#897](https://github.com/networktocode/ntc-templates/pull/897) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: ruckus\_fastiron, show mac-address [\#896](https://github.com/networktocode/ntc-templates/pull/896) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: ruckus\_fastiron, show version [\#894](https://github.com/networktocode/ntc-templates/pull/894) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: alcatel\_sros, sh router mpls lsp [\#893](https://github.com/networktocode/ntc-templates/pull/893) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sap-using [\#892](https://github.com/networktocode/ntc-templates/pull/892) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sdp-using [\#891](https://github.com/networktocode/ntc-templates/pull/891) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- add new template show port-security interface [\#885](https://github.com/networktocode/ntc-templates/pull/885) ([jeffkala](https://github.com/jeffkala)) +- Bugfix: Type for cisco\_nxos\_show\_interface\_status [\#880](https://github.com/networktocode/ntc-templates/pull/880) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v2.0.0](https://github.com/networktocode/ntc-templates/tree/v2.0.0) (2021-03-12) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.7.0...v2.0.0) + +**Merged pull requests:** + +- Release v2.0.0 [\#890](https://github.com/networktocode/ntc-templates/pull/890) ([jmcgill298](https://github.com/jmcgill298)) - Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) +- Add Dell Force 10 show ip interface brief [\#875](https://github.com/networktocode/ntc-templates/pull/875) ([soer7022](https://github.com/soer7022)) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) -## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-11) +## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-12) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) @@ -38,6 +83,7 @@ **Merged pull requests:** +- New Template: ruckus\_fastiron, show interfaces brief [\#895](https://github.com/networktocode/ntc-templates/pull/895) ([QuasarKid](https://github.com/QuasarKid)) - Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) - new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) @@ -45,7 +91,6 @@ - New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) - new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) - Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) - Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) - add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) @@ -173,7 +218,7 @@ - Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) - Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) -- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwu1107](https://github.com/conorwu1107)) +- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwoo](https://github.com/conorwoo)) - Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) - Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) - BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) @@ -182,6 +227,556 @@ - New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) - BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) +## [v1.4.2](https://github.com/networktocode/ntc-templates/tree/v1.4.2) (2020-05-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...v1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- Bump version to 1.4.2 [\#728](https://github.com/networktocode/ntc-templates/pull/728) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- 718 fix [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + +## [v1.4.1](https://github.com/networktocode/ntc-templates/tree/v1.4.1) (2020-04-23) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.0...v1.4.1) + +**Closed issues:** + +- cisco\_ios\_show\_mac-address-table.textfsm "N/A" in vlan field. [\#657](https://github.com/networktocode/ntc-templates/issues/657) +- platform="cisco\_ios", command="sh ip route summary" returning an empty array. [\#655](https://github.com/networktocode/ntc-templates/issues/655) +- Beginning of output for cisco\_ios "show ip ospf database \" may or may not be a space character [\#649](https://github.com/networktocode/ntc-templates/issues/649) +- Cisco ASA show\_route parsing for alternative multiline format [\#646](https://github.com/networktocode/ntc-templates/issues/646) +- Cisco ASA AnyConnect Errors with Tunnel Group on different line [\#630](https://github.com/networktocode/ntc-templates/issues/630) +- Create Template for Cisco ASA - show vpn-sessiondb anyconnect [\#624](https://github.com/networktocode/ntc-templates/issues/624) +- Juniper Junos add fpc:X, {master:X} for many commans stdout [\#621](https://github.com/networktocode/ntc-templates/issues/621) + +**Merged pull requests:** + +- Forgot to bump version in lib/ntc\_templates/\_\_init\_\_.py [\#661](https://github.com/networktocode/ntc-templates/pull/661) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added information for all new changes between 1.4.0 and now [\#660](https://github.com/networktocode/ntc-templates/pull/660) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios\_show\_mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace [\#659](https://github.com/networktocode/ntc-templates/pull/659) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios show ip ospf database router and network: Make leading spaces optional [\#650](https://github.com/networktocode/ntc-templates/pull/650) ([ariesgeek](https://github.com/ariesgeek)) +- Cisco ASA show\_route [\#647](https://github.com/networktocode/ntc-templates/pull/647) ([fatred](https://github.com/fatred)) +- Enhancement: cisco\_asa\_show\_inventory support inventory items w/o SN [\#638](https://github.com/networktocode/ntc-templates/pull/638) ([wvandeun](https://github.com/wvandeun)) +- show band-select template [\#637](https://github.com/networktocode/ntc-templates/pull/637) ([timjsmith24](https://github.com/timjsmith24)) +- Adds Cisco ASA show vpn-sessiondb [\#636](https://github.com/networktocode/ntc-templates/pull/636) ([jvanderaa](https://github.com/jvanderaa)) +- add cisco\_ios\_show\_ip\_route\_summary [\#635](https://github.com/networktocode/ntc-templates/pull/635) ([kjoyce77](https://github.com/kjoyce77)) +- Bugfix: cisco asa show nat [\#632](https://github.com/networktocode/ntc-templates/pull/632) ([joewesch](https://github.com/joewesch)) +- Updates based on hung sessions and different command output [\#631](https://github.com/networktocode/ntc-templates/pull/631) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Cisco ASA ipsec sa name compatibility [\#629](https://github.com/networktocode/ntc-templates/pull/629) ([joewesch](https://github.com/joewesch)) +- cisco\_wlc show mobility summary [\#628](https://github.com/networktocode/ntc-templates/pull/628) ([timjsmith24](https://github.com/timjsmith24)) +- Updates Cisco ASA `show vpn-sessiondb anyconnect` [\#626](https://github.com/networktocode/ntc-templates/pull/626) ([jvanderaa](https://github.com/jvanderaa)) +- Adds template for Cisco ASA "show vpn-sessiondb anyconnect" [\#625](https://github.com/networktocode/ntc-templates/pull/625) ([jvanderaa](https://github.com/jvanderaa)) +- Junos virtual chassis [\#622](https://github.com/networktocode/ntc-templates/pull/622) ([ainamori](https://github.com/ainamori)) +- allow space in fex description [\#620](https://github.com/networktocode/ntc-templates/pull/620) ([daanvdsanden](https://github.com/daanvdsanden)) +- New Template: hp\_comware\_display\_lldp\_neighbor-information\_verbose [\#619](https://github.com/networktocode/ntc-templates/pull/619) ([xdai555](https://github.com/xdai555)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_network [\#618](https://github.com/networktocode/ntc-templates/pull/618) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Remove reliance on static spacing for cisco\_ios\_show\_ip\_ospf\_database\_router [\#617](https://github.com/networktocode/ntc-templates/pull/617) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Removed reliance on static spacing for cisco\_ios\_show\_interfaces\_status [\#614](https://github.com/networktocode/ntc-templates/pull/614) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v1.4.0](https://github.com/networktocode/ntc-templates/tree/v1.4.0) (2020-03-09) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.3.0...v1.4.0) + +**Implemented enhancements:** + +- Testing that test cases exist has an exception for 4 templates that need to be rectified [\#550](https://github.com/networktocode/ntc-templates/issues/550) +- Huawei - display lldp neighbor formatting [\#396](https://github.com/networktocode/ntc-templates/issues/396) +- Adding vlan name to access vlan and native vlan on NXOS [\#612](https://github.com/networktocode/ntc-templates/pull/612) ([daanvdsanden](https://github.com/daanvdsanden)) +- Enhancement: cisco\_nxos\_show\_vlan: Added interfaces [\#604](https://github.com/networktocode/ntc-templates/pull/604) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: IOS lldp neighbors - add capabilities capture group [\#553](https://github.com/networktocode/ntc-templates/pull/553) ([ewmanthei](https://github.com/ewmanthei)) +- Enhancement: Use ".textfsm" extension for IDEs [\#543](https://github.com/networktocode/ntc-templates/pull/543) ([jmcgill298](https://github.com/jmcgill298)) +- YAMLLINT: Add yamllint to tox testing [\#406](https://github.com/networktocode/ntc-templates/pull/406) ([jmcgill298](https://github.com/jmcgill298)) + +**Fixed bugs:** + +- parse\_output returns empty after interface has been modified by first run of script [\#613](https://github.com/networktocode/ntc-templates/issues/613) +- arista\_eos\_show\_ip\_route.textfsm fails on vrrp route display [\#588](https://github.com/networktocode/ntc-templates/issues/588) +- ASA show failover bug when using IPS module [\#547](https://github.com/networktocode/ntc-templates/issues/547) +- cisco\_nxos\_show\_version does not display N5K platform [\#545](https://github.com/networktocode/ntc-templates/issues/545) +- Fix regex: Update VyOS template to match addresses without netmask de… [\#608](https://github.com/networktocode/ntc-templates/pull/608) ([sliddjur](https://github.com/sliddjur)) +- Fixed regex for fortinet bgp template and added new template standards [\#592](https://github.com/networktocode/ntc-templates/pull/592) ([corvese](https://github.com/corvese)) +- BugFix: Cisco show switch detail with mac persistency wait time [\#584](https://github.com/networktocode/ntc-templates/pull/584) ([msom](https://github.com/msom)) + +**Closed issues:** + +- cisco\_nxos\_show\_vlan does not show ports, thank god cisco\_ios\_show\_vlan works [\#601](https://github.com/networktocode/ntc-templates/issues/601) +- regex to match whitespace, words, or mix of both, and cut off trailing whitespace? [\#566](https://github.com/networktocode/ntc-templates/issues/566) +- Bug: Alcatel SROS show service id index issue [\#556](https://github.com/networktocode/ntc-templates/issues/556) +- Cisco IOS Show MAC Address-Table Errors on Last Line [\#544](https://github.com/networktocode/ntc-templates/issues/544) +- Cisco IOS Show Run Template [\#469](https://github.com/networktocode/ntc-templates/issues/469) +- show ip route IOS vs NXOS [\#382](https://github.com/networktocode/ntc-templates/issues/382) +- Add tests for index file to Travis [\#207](https://github.com/networktocode/ntc-templates/issues/207) +- Using the .textfsm extension for templates [\#171](https://github.com/networktocode/ntc-templates/issues/171) + +**Merged pull requests:** + +- Bumping version to 1.4.0 [\#616](https://github.com/networktocode/ntc-templates/pull/616) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Documentation: Update changelog for 1.4.0 release [\#615](https://github.com/networktocode/ntc-templates/pull/615) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added line to get the port mode of an interface [\#611](https://github.com/networktocode/ntc-templates/pull/611) ([daanvdsanden](https://github.com/daanvdsanden)) +- update show arp for aruba\_os [\#610](https://github.com/networktocode/ntc-templates/pull/610) ([dmwcode](https://github.com/dmwcode)) +- New Template: hp comware show ip interface [\#609](https://github.com/networktocode/ntc-templates/pull/609) ([sliddjur](https://github.com/sliddjur)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_router [\#606](https://github.com/networktocode/ntc-templates/pull/606) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- New Template: cisco\_s300\_show\_version [\#605](https://github.com/networktocode/ntc-templates/pull/605) ([wdennis](https://github.com/wdennis)) +- Enhancements: IOS show ip access-list [\#603](https://github.com/networktocode/ntc-templates/pull/603) ([jpobeda](https://github.com/jpobeda)) +- Cisco nxos show vrf interface [\#602](https://github.com/networktocode/ntc-templates/pull/602) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template Show Mpls interface [\#600](https://github.com/networktocode/ntc-templates/pull/600) ([alekgozali](https://github.com/alekgozali)) +- New Template : Show Etherchannel Summary [\#599](https://github.com/networktocode/ntc-templates/pull/599) ([alekgozali](https://github.com/alekgozali)) +- Fixes for cisco\_ios\_show\_running-config\_partition\_access-list template [\#598](https://github.com/networktocode/ntc-templates/pull/598) ([jpobeda](https://github.com/jpobeda)) +- add huawei vrp display version [\#597](https://github.com/networktocode/ntc-templates/pull/597) ([lutfisan](https://github.com/lutfisan)) +- Cisco XR - admin show environment power - template [\#596](https://github.com/networktocode/ntc-templates/pull/596) ([hijm](https://github.com/hijm)) +- Added Checkpoint GAIA show arp dynamic all template [\#595](https://github.com/networktocode/ntc-templates/pull/595) ([dys152](https://github.com/dys152)) +- add show arp for aruba\_os [\#594](https://github.com/networktocode/ntc-templates/pull/594) ([dmwcode](https://github.com/dmwcode)) +- New Template - CISCO IOS - Show Module [\#593](https://github.com/networktocode/ntc-templates/pull/593) ([alekgozali](https://github.com/alekgozali)) +- New Template: cisco\_nxos\_show\_vdc.textfsm [\#591](https://github.com/networktocode/ntc-templates/pull/591) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: cisco\_ios\_show\_ip\_bgp\_neighbors.textfsm [\#590](https://github.com/networktocode/ntc-templates/pull/590) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: added new vrf format and secondary route catch [\#589](https://github.com/networktocode/ntc-templates/pull/589) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: Cisco IOS show interfaces switchport [\#587](https://github.com/networktocode/ntc-templates/pull/587) ([kwrobert](https://github.com/kwrobert)) +- Bug Fix: Cisco IOS show mac address-table [\#585](https://github.com/networktocode/ntc-templates/pull/585) ([kwrobert](https://github.com/kwrobert)) +- Jschulman cisco nxos allow missing transceiver type [\#582](https://github.com/networktocode/ntc-templates/pull/582) ([jeremyschulman](https://github.com/jeremyschulman)) +- New Template: Cisco WLC show wlan summary [\#581](https://github.com/networktocode/ntc-templates/pull/581) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template Pull Request - cisco\_xr\_show\_interfaces\_summary [\#580](https://github.com/networktocode/ntc-templates/pull/580) ([hijm](https://github.com/hijm)) +- New Templates: Fortinet get system interface and status [\#578](https://github.com/networktocode/ntc-templates/pull/578) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix for cisco ios show mac address-table parser [\#577](https://github.com/networktocode/ntc-templates/pull/577) ([kwrobert](https://github.com/kwrobert)) +- New Templat: Huawei display lldp neighbor [\#576](https://github.com/networktocode/ntc-templates/pull/576) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: NXOS show version - Add n5k platform regex [\#575](https://github.com/networktocode/ntc-templates/pull/575) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: ASA Show failover - Account for new data [\#574](https://github.com/networktocode/ntc-templates/pull/574) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Show arp - ASA [\#573](https://github.com/networktocode/ntc-templates/pull/573) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add SERIAL to Cisco IOS LLDP Neighbors Detail [\#572](https://github.com/networktocode/ntc-templates/pull/572) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Cisco XR - show arp [\#567](https://github.com/networktocode/ntc-templates/pull/567) ([migueloangelo](https://github.com/migueloangelo)) +- cisco\_ios\_show\_license - avoid trailing white spaces [\#565](https://github.com/networktocode/ntc-templates/pull/565) ([migueloangelo](https://github.com/migueloangelo)) +- New Template for Cisco NXOS - show\_interface\_transceiver [\#564](https://github.com/networktocode/ntc-templates/pull/564) ([dgarros](https://github.com/dgarros)) +- Enhancement: IOS show int switchport - Add ADMIN\_MODE Group [\#563](https://github.com/networktocode/ntc-templates/pull/563) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco ASA Show Logging Template [\#562](https://github.com/networktocode/ntc-templates/pull/562) ([afoster213](https://github.com/afoster213)) +- New Template for Cisco IOS Log Messages [\#554](https://github.com/networktocode/ntc-templates/pull/554) ([afoster213](https://github.com/afoster213)) +- Cleanup some testing [\#551](https://github.com/networktocode/ntc-templates/pull/551) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#544: Added new parsed sample based on 3750G 15.0\(2\)SE11 code, … [\#548](https://github.com/networktocode/ntc-templates/pull/548) ([jvanderaa](https://github.com/jvanderaa)) +- PYTHON FORMATTING: Add Black to tox file [\#407](https://github.com/networktocode/ntc-templates/pull/407) ([jmcgill298](https://github.com/jmcgill298)) + +## [v1.3.0](https://github.com/networktocode/ntc-templates/tree/v1.3.0) (2019-11-18) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.1...v1.3.0) + +**Implemented enhancements:** + +- cisco\_ios\_show\_standby\_brief.template support for interfaces and output in two lines [\#483](https://github.com/networktocode/ntc-templates/issues/483) +- New template cisco\_ios\_show\_snmp\_user.template [\#390](https://github.com/networktocode/ntc-templates/issues/390) +- added last\_link\_flapped to nxos\_show\_interface [\#531](https://github.com/networktocode/ntc-templates/pull/531) ([aSauerwein](https://github.com/aSauerwein)) +- Adding Values for route-map names fetch for nxos\_sh\_ip\_bgp\_nei [\#481](https://github.com/networktocode/ntc-templates/pull/481) ([nnaukwal](https://github.com/nnaukwal)) +- Added BGP up/down time to sh ip bgp summary [\#476](https://github.com/networktocode/ntc-templates/pull/476) ([corvese](https://github.com/corvese)) +- Update cisco\_ios\_show\_ip\_eigrp\_topology.template [\#445](https://github.com/networktocode/ntc-templates/pull/445) ([thomasbridge74](https://github.com/thomasbridge74)) +- Cisco wlc template [\#391](https://github.com/networktocode/ntc-templates/pull/391) ([hisaza](https://github.com/hisaza)) +- Cisco xr show route vrf all [\#378](https://github.com/networktocode/ntc-templates/pull/378) ([Warsenius](https://github.com/Warsenius)) + +**Fixed bugs:** + +- cisco\_ios\_show\_interfaces\_switchport.template broken [\#537](https://github.com/networktocode/ntc-templates/issues/537) +- "Cisco IOS show authentication session" issue when session count exceeds ~10 [\#473](https://github.com/networktocode/ntc-templates/issues/473) +- cisco\_ios\_show\_ip\_interface.template does not deal with peer address on virtual-access interface [\#461](https://github.com/networktocode/ntc-templates/issues/461) +- arista\_eos\_show\_interfaces\_status.template does not deal with disabled ports properly [\#460](https://github.com/networktocode/ntc-templates/issues/460) +- cisco\_ios\_show\_ip\_eigrp\_topology.template does not deal with redistributed routes. [\#459](https://github.com/networktocode/ntc-templates/issues/459) +- Cisco ASA - show failover error [\#424](https://github.com/networktocode/ntc-templates/issues/424) +- wrong info returned when not space between interface name and number from show cdp neighbor [\#415](https://github.com/networktocode/ntc-templates/issues/415) +- show\_mac\_address-table - Output contains single dictionary [\#385](https://github.com/networktocode/ntc-templates/issues/385) +- Fix netflow and wccp lines [\#494](https://github.com/networktocode/ntc-templates/pull/494) ([targuan](https://github.com/targuan)) +- Fix mac address table [\#485](https://github.com/networktocode/ntc-templates/pull/485) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 415 cdp [\#480](https://github.com/networktocode/ntc-templates/pull/480) ([mullaneywt](https://github.com/mullaneywt)) +- Issue 472 patch [\#479](https://github.com/networktocode/ntc-templates/pull/479) ([mullaneywt](https://github.com/mullaneywt)) +- fixed ports [\#471](https://github.com/networktocode/ntc-templates/pull/471) ([dainok](https://github.com/dainok)) +- Fixes \#424: Cisco ASA - show failover error. [\#465](https://github.com/networktocode/ntc-templates/pull/465) ([deesel](https://github.com/deesel)) +- Issue \#384 cisco\_asa\_show\_route - Fix uptime issue [\#401](https://github.com/networktocode/ntc-templates/pull/401) ([brandomando](https://github.com/brandomando)) + +**Closed issues:** + +- cisco\_asa bug in 9.10.1.22 causes `show inventory` template to fail [\#498](https://github.com/networktocode/ntc-templates/issues/498) +- Cisco IOS LLDP [\#484](https://github.com/networktocode/ntc-templates/issues/484) +- cisco\_nxos\_show\_interface\_brief does not deal with pvlan and fabric interfaces [\#472](https://github.com/networktocode/ntc-templates/issues/472) +- cisco\_ios\_show\_lldp\_neighbors\_detail failing when last neighbor includes" MED information" section [\#444](https://github.com/networktocode/ntc-templates/issues/444) +- New Template: cisco\_ios\_show\_license [\#440](https://github.com/networktocode/ntc-templates/issues/440) +- nxos\_show\_interface\_status\_template error [\#420](https://github.com/networktocode/ntc-templates/issues/420) +- README Documentation missing setup information [\#411](https://github.com/networktocode/ntc-templates/issues/411) +- Arista and show int status [\#410](https://github.com/networktocode/ntc-templates/issues/410) +- Cisco ASA show route template error [\#384](https://github.com/networktocode/ntc-templates/issues/384) +- Build is failing in Travis CI [\#240](https://github.com/networktocode/ntc-templates/issues/240) + +**Merged pull requests:** + +- Update CHANGELOG and bump version [\#542](https://github.com/networktocode/ntc-templates/pull/542) ([jmcgill298](https://github.com/jmcgill298)) +- Update state transitions to provide more consistency across platforms [\#541](https://github.com/networktocode/ntc-templates/pull/541) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_environment\_temperature.template, iOS, show environment temperature [\#540](https://github.com/networktocode/ntc-templates/pull/540) ([bobbytayar](https://github.com/bobbytayar)) +- show interface summary [\#539](https://github.com/networktocode/ntc-templates/pull/539) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes 537 - IOS show interfaces switchport - Changed output [\#538](https://github.com/networktocode/ntc-templates/pull/538) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 440 [\#533](https://github.com/networktocode/ntc-templates/pull/533) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Show snmp user [\#532](https://github.com/networktocode/ntc-templates/pull/532) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement - fortinet - get router info bgp summary [\#529](https://github.com/networktocode/ntc-templates/pull/529) ([corvese](https://github.com/corvese)) +- Enhancement: Update templates to record on new entry [\#528](https://github.com/networktocode/ntc-templates/pull/528) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco voice vlan [\#527](https://github.com/networktocode/ntc-templates/pull/527) ([ThreeFDDI](https://github.com/ThreeFDDI)) +- Adv 802dot11 channel [\#526](https://github.com/networktocode/ntc-templates/pull/526) ([timjsmith24](https://github.com/timjsmith24)) +- BugFix: IOS - Add capturing of timestamp data for vty lines that auto print one [\#525](https://github.com/networktocode/ntc-templates/pull/525) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - EOS - show vrf [\#524](https://github.com/networktocode/ntc-templates/pull/524) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - IOS - show mac-address - add data validation and tests [\#523](https://github.com/networktocode/ntc-templates/pull/523) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS - Allow show bgp summary to be used for show bgp evpn summary [\#522](https://github.com/networktocode/ntc-templates/pull/522) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS|NXOS - sh ip route add capturing of VRF [\#521](https://github.com/networktocode/ntc-templates/pull/521) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement: IOS|EOS - show bgp summ - Account for VRF syntax [\#520](https://github.com/networktocode/ntc-templates/pull/520) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: XR - show version - account for CRS output [\#519](https://github.com/networktocode/ntc-templates/pull/519) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - Ciena - software show [\#518](https://github.com/networktocode/ntc-templates/pull/518) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: EOS - show bgp summ - match RID/AS more precisely [\#517](https://github.com/networktocode/ntc-templates/pull/517) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: IOS - show ip int - account for serial intfs [\#516](https://github.com/networktocode/ntc-templates/pull/516) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show inventory [\#515](https://github.com/networktocode/ntc-templates/pull/515) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - IOS - show process memory sorted [\#514](https://github.com/networktocode/ntc-templates/pull/514) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show rf profile-summary [\#513](https://github.com/networktocode/ntc-templates/pull/513) ([jmcgill298](https://github.com/jmcgill298)) +- New Templates - Huawei VRP - display interface and display temp [\#512](https://github.com/networktocode/ntc-templates/pull/512) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show 802.11 cleanair config [\#510](https://github.com/networktocode/ntc-templates/pull/510) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: WLC 80211 - Add missing EoL to matching empty lines [\#508](https://github.com/networktocode/ntc-templates/pull/508) ([jmcgill298](https://github.com/jmcgill298)) +- cisco nxos bgp neighbor defect fix [\#505](https://github.com/networktocode/ntc-templates/pull/505) ([nnaukwal](https://github.com/nnaukwal)) +- BugFix: IOS show standby brief - support multiline output [\#503](https://github.com/networktocode/ntc-templates/pull/503) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco WLC Command - Show 802 11a|b [\#501](https://github.com/networktocode/ntc-templates/pull/501) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes498 - Cisco ASA with Extra Output in `show inventory` [\#499](https://github.com/networktocode/ntc-templates/pull/499) ([jvanderaa](https://github.com/jvanderaa)) +- Enhancement: ASA - Convert show version serial to list [\#497](https://github.com/networktocode/ntc-templates/pull/497) ([jmcgill298](https://github.com/jmcgill298)) +- Add arista eos show ip helper [\#496](https://github.com/networktocode/ntc-templates/pull/496) ([targuan](https://github.com/targuan)) +- Fix \#461 [\#495](https://github.com/networktocode/ntc-templates/pull/495) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add ruckus\_fastiron show arp template [\#493](https://github.com/networktocode/ntc-templates/pull/493) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: cisco\_xr\_show\_ipv6\_neighbors [\#492](https://github.com/networktocode/ntc-templates/pull/492) ([charlesmonson](https://github.com/charlesmonson)) +- Switch detail [\#491](https://github.com/networktocode/ntc-templates/pull/491) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco NXoS template for "show forwarding ipv4 route" [\#489](https://github.com/networktocode/ntc-templates/pull/489) ([nnaukwal](https://github.com/nnaukwal)) +- Fix \#460 [\#488](https://github.com/networktocode/ntc-templates/pull/488) ([targuan](https://github.com/targuan)) +- Add test case for 3650/3850 output [\#487](https://github.com/networktocode/ntc-templates/pull/487) ([targuan](https://github.com/targuan)) +- nxos - Template for show route-map command [\#486](https://github.com/networktocode/ntc-templates/pull/486) ([nnaukwal](https://github.com/nnaukwal)) +- Cisco XR admin show inventory [\#482](https://github.com/networktocode/ntc-templates/pull/482) ([charlesmonson](https://github.com/charlesmonson)) +- Add template cisco\_nxos\_show\_ip\_interface\_brief [\#478](https://github.com/networktocode/ntc-templates/pull/478) ([mullaneywt](https://github.com/mullaneywt)) +- BugFix: allow various time formats for ip mroute [\#474](https://github.com/networktocode/ntc-templates/pull/474) ([jmcgill298](https://github.com/jmcgill298)) +- template for show arp in watchguard [\#468](https://github.com/networktocode/ntc-templates/pull/468) ([dainok](https://github.com/dainok)) +- Paloalto panos arp fix [\#466](https://github.com/networktocode/ntc-templates/pull/466) ([dainok](https://github.com/dainok)) +- HP Comware `display counters \(inbound|outbound\) interface` [\#464](https://github.com/networktocode/ntc-templates/pull/464) ([ad8-bdl](https://github.com/ad8-bdl)) +- ASA show asp drop changes [\#446](https://github.com/networktocode/ntc-templates/pull/446) ([vaneuk](https://github.com/vaneuk)) +- add cisco\_wlc\_ssh\_show\_exclusionlist [\#425](https://github.com/networktocode/ntc-templates/pull/425) ([ancker010](https://github.com/ancker010)) +- fix: show ip bgp examples appear to be swapped [\#421](https://github.com/networktocode/ntc-templates/pull/421) ([cmccormack](https://github.com/cmccormack)) +- Bugfix: asa\_dir template to account for change in raw output [\#419](https://github.com/networktocode/ntc-templates/pull/419) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v1.2.1](https://github.com/networktocode/ntc-templates/tree/v1.2.1) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.0...v1.2.1) + +## [v1.2.0](https://github.com/networktocode/ntc-templates/tree/v1.2.0) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.1.1...v1.2.0) + +**Implemented enhancements:** + +- FileNotFoundError on Windows 10 [\#455](https://github.com/networktocode/ntc-templates/issues/455) +- Cisco ASA - Missing capture of Software Compile Date [\#387](https://github.com/networktocode/ntc-templates/issues/387) + +**Merged pull requests:** + +- Updates as requested [\#470](https://github.com/networktocode/ntc-templates/pull/470) ([jvanderaa](https://github.com/jvanderaa)) +- Remove extraneous \(duplicate\) test [\#463](https://github.com/networktocode/ntc-templates/pull/463) ([ad8-bdl](https://github.com/ad8-bdl)) +- Support for locating templates when installing local directory on Windows - Fixes \#455 [\#456](https://github.com/networktocode/ntc-templates/pull/456) ([jmcgill298](https://github.com/jmcgill298)) +- Update cisco\_xr\_show\_version.template [\#442](https://github.com/networktocode/ntc-templates/pull/442) ([mspiez](https://github.com/mspiez)) +- Cisco xr show interfaces duplex and mac for bundle ethernet [\#389](https://github.com/networktocode/ntc-templates/pull/389) ([Warsenius](https://github.com/Warsenius)) + +## [v1.1.1](https://github.com/networktocode/ntc-templates/tree/v1.1.1) (2019-08-08) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/0.9.0...v1.1.1) + +**Implemented enhancements:** + +- cisco\_ios\_show\_version.template Add Licensing [\#256](https://github.com/networktocode/ntc-templates/issues/256) +- Adding cisco\_ios\_show\_ip\_interface [\#322](https://github.com/networktocode/ntc-templates/pull/322) ([vladola](https://github.com/vladola)) +- Packaging [\#288](https://github.com/networktocode/ntc-templates/pull/288) ([micahculpepper](https://github.com/micahculpepper)) + +**Fixed bugs:** + +- nxos show interface status issue [\#426](https://github.com/networktocode/ntc-templates/issues/426) +- CISCO\_XR\_SH\_INTF: Parsed file shows that not all interfaces in raw are being parsed/recorded [\#282](https://github.com/networktocode/ntc-templates/issues/282) +- Test files for aruba os need renamed. [\#224](https://github.com/networktocode/ntc-templates/issues/224) + +**Closed issues:** + +- show\_lldp\_neighbors.template failing when switch + domain name is \> 19 characters [\#375](https://github.com/networktocode/ntc-templates/issues/375) +- cisco\_ios\_show\_lldp\_neighbor\_detail failing when `Physical media capabilities` are `Other/unknown` [\#374](https://github.com/networktocode/ntc-templates/issues/374) +- Master branch fails tox tests [\#361](https://github.com/networktocode/ntc-templates/issues/361) +- cisco\_nxos\_show\_interface\_status.template [\#333](https://github.com/networktocode/ntc-templates/issues/333) +- cisco\_nxos\_show\_interface\_status.template: error on 10G and 40G interfaces [\#331](https://github.com/networktocode/ntc-templates/issues/331) +- cisco\_ios\_show\_vlan.template not recorded complete list of interfaces [\#328](https://github.com/networktocode/ntc-templates/issues/328) +- Problem with parsing ASA ACL [\#287](https://github.com/networktocode/ntc-templates/issues/287) +- New Template Request [\#286](https://github.com/networktocode/ntc-templates/issues/286) +- cisco\_xr\_show\_interfaces.template line 4 regex incorrect [\#280](https://github.com/networktocode/ntc-templates/issues/280) +- cisco\_xr\_show\_cdp\_neighbors\_detail.template shows remote and local interface incorrectly [\#277](https://github.com/networktocode/ntc-templates/issues/277) +- Multiple Failing Use Cases in Cisco IOS ACL Template [\#245](https://github.com/networktocode/ntc-templates/issues/245) +- cisco\_asa\_show\_vpn-sessiondb\_detail\_l2l.template not parsing [\#231](https://github.com/networktocode/ntc-templates/issues/231) +- show interface status for cisco\_nxos returns incorrect 'name' and 'port' objects if there are spaces in the description. [\#196](https://github.com/networktocode/ntc-templates/issues/196) +- cisco\_xr\_show\_ip\_route uptime format and protocol sub-type support [\#185](https://github.com/networktocode/ntc-templates/issues/185) + +**Merged pull requests:** + +- Update readme [\#452](https://github.com/networktocode/ntc-templates/pull/452) ([jmcgill298](https://github.com/jmcgill298)) +- Fix spacing new templates [\#443](https://github.com/networktocode/ntc-templates/pull/443) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#224 Updating aurba test file names to match folder/file naming pattern [\#439](https://github.com/networktocode/ntc-templates/pull/439) ([myyellowshoe](https://github.com/myyellowshoe)) +- add Cisco IOS XR 'show ip interface brief' command [\#438](https://github.com/networktocode/ntc-templates/pull/438) ([dampfhamm3r](https://github.com/dampfhamm3r)) +- Cisco nxos show interfaces switchport [\#434](https://github.com/networktocode/ntc-templates/pull/434) ([dainok](https://github.com/dainok)) +- Cisco ios show interfaces switchport [\#433](https://github.com/networktocode/ntc-templates/pull/433) ([dainok](https://github.com/dainok)) +- Paloalto panos show arp all [\#432](https://github.com/networktocode/ntc-templates/pull/432) ([dainok](https://github.com/dainok)) +- Paloalto panos show mac all [\#431](https://github.com/networktocode/ntc-templates/pull/431) ([dainok](https://github.com/dainok)) +- Hp procurve show mac address [\#430](https://github.com/networktocode/ntc-templates/pull/430) ([dainok](https://github.com/dainok)) +- New template cisco\_ios\_show\_snmp\_user.template [\#429](https://github.com/networktocode/ntc-templates/pull/429) ([jifox](https://github.com/jifox)) +- nxos\_show\_interface\_status: Allows capture of Fabric Exte type [\#427](https://github.com/networktocode/ntc-templates/pull/427) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Tests [\#402](https://github.com/networktocode/ntc-templates/pull/402) ([jmcgill298](https://github.com/jmcgill298)) +- Feature/improve cisco ios show vrf [\#395](https://github.com/networktocode/ntc-templates/pull/395) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- Feature/cisco ios show hosts [\#394](https://github.com/networktocode/ntc-templates/pull/394) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- cisco\_nxos\_show\_version extension for pulling PLATFORM from N9K [\#393](https://github.com/networktocode/ntc-templates/pull/393) ([jonesbra](https://github.com/jonesbra)) +- Cisco IOS - show dmvpn - New template [\#392](https://github.com/networktocode/ntc-templates/pull/392) ([adrydale](https://github.com/adrydale)) +- updated template to catch NSR N/A state [\#381](https://github.com/networktocode/ntc-templates/pull/381) ([Warsenius](https://github.com/Warsenius)) +- show ospf neighbor NEIGHBOR\_UPTIME no match when output in 1w2d format [\#380](https://github.com/networktocode/ntc-templates/pull/380) ([Warsenius](https://github.com/Warsenius)) +- Fixes 374 - Adds example of Other/unknown media on LLDP for a device … [\#377](https://github.com/networktocode/ntc-templates/pull/377) ([jvanderaa](https://github.com/jvanderaa)) +- Updated the template to get first 20 chars on LLDP neighbor for case … [\#376](https://github.com/networktocode/ntc-templates/pull/376) ([jvanderaa](https://github.com/jvanderaa)) +- add Cisco IOS show ip flow toptalkers [\#373](https://github.com/networktocode/ntc-templates/pull/373) ([lscarmic](https://github.com/lscarmic)) +- Updated LLDP Neighbor Detail for matching on some devices that were missing. [\#372](https://github.com/networktocode/ntc-templates/pull/372) ([jvanderaa](https://github.com/jvanderaa)) +- Add show\_boot template for cisco\_ios [\#371](https://github.com/networktocode/ntc-templates/pull/371) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Update cisco\_nxos\_show\_interface\_status.template [\#370](https://github.com/networktocode/ntc-templates/pull/370) ([Pluppo](https://github.com/Pluppo)) +- IOS SHOW INTERFACES : adding regexes for skipped values & parsed results [\#368](https://github.com/networktocode/ntc-templates/pull/368) ([lachlanjholmes](https://github.com/lachlanjholmes)) +- Add Cisco IOS show ipv6 neighbors [\#363](https://github.com/networktocode/ntc-templates/pull/363) ([kimoldfield](https://github.com/kimoldfield)) +- XR SHOW LPTS PIFIB HARDWARE POLICE LOCATION: Add new template [\#360](https://github.com/networktocode/ntc-templates/pull/360) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW DROPS NP ALL: Add new template [\#359](https://github.com/networktocode/ntc-templates/pull/359) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template [\#358](https://github.com/networktocode/ntc-templates/pull/358) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS EGRESS: Add new template [\#357](https://github.com/networktocode/ntc-templates/pull/357) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS INGRESS: Add new template [\#356](https://github.com/networktocode/ntc-templates/pull/356) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS EGRESS: Add new template [\#355](https://github.com/networktocode/ntc-templates/pull/355) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW CEF DROPS LOCATION: Add new template [\#354](https://github.com/networktocode/ntc-templates/pull/354) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW ASIC ERRORS: Add new template [\#353](https://github.com/networktocode/ntc-templates/pull/353) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW BGP: Add new template [\#351](https://github.com/networktocode/ntc-templates/pull/351) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW HSRP: Add new template [\#350](https://github.com/networktocode/ntc-templates/pull/350) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS: Bug Fix [\#349](https://github.com/networktocode/ntc-templates/pull/349) ([jmcgill298](https://github.com/jmcgill298)) +- Create cisco\_ios\_show\_interfaces\_description.template [\#348](https://github.com/networktocode/ntc-templates/pull/348) ([adrydale](https://github.com/adrydale)) +- Aos vlan [\#345](https://github.com/networktocode/ntc-templates/pull/345) ([jmcgill298](https://github.com/jmcgill298)) +- Tacacs cisco [\#344](https://github.com/networktocode/ntc-templates/pull/344) ([jmcgill298](https://github.com/jmcgill298)) +- EOS SHOW MODULE: Add new template [\#343](https://github.com/networktocode/ntc-templates/pull/343) ([jmcgill298](https://github.com/jmcgill298)) +- Patch 2 [\#342](https://github.com/networktocode/ntc-templates/pull/342) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW BGP NEIGH: Add new template [\#341](https://github.com/networktocode/ntc-templates/pull/341) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_ip\_bgp: Fix whitespace change in command output [\#340](https://github.com/networktocode/ntc-templates/pull/340) ([paneu](https://github.com/paneu)) +- CISCO\_ASA\_SHOW\_LICENSE\_ALL: Add new template [\#339](https://github.com/networktocode/ntc-templates/pull/339) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SHOW\_ASP\_DROP: Add new template [\#338](https://github.com/networktocode/ntc-templates/pull/338) ([jmcgill298](https://github.com/jmcgill298)) +- `ASA INTERFACE DETAIL`: Add new template [\#337](https://github.com/networktocode/ntc-templates/pull/337) ([jmcgill298](https://github.com/jmcgill298)) +- `NETIRON SHOW RUN INTF`: Broaden template scope [\#336](https://github.com/networktocode/ntc-templates/pull/336) ([jmcgill298](https://github.com/jmcgill298)) +- checkpoint\_gaia\_show\_ntp\_servers: Add new template [\#335](https://github.com/networktocode/ntc-templates/pull/335) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#333 [\#334](https://github.com/networktocode/ntc-templates/pull/334) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#331 [\#332](https://github.com/networktocode/ntc-templates/pull/332) ([JCapretta](https://github.com/JCapretta)) +- Checkpoint gaia show dns.template [\#330](https://github.com/networktocode/ntc-templates/pull/330) ([JCapretta](https://github.com/JCapretta)) +- Modified cisco\_ios\_show\_vlan.template \(\#328\) [\#329](https://github.com/networktocode/ntc-templates/pull/329) ([JCapretta](https://github.com/JCapretta)) +- cisco ios show ip interface: Incorporate \#229 into \#322 [\#326](https://github.com/networktocode/ntc-templates/pull/326) ([jmcgill298](https://github.com/jmcgill298)) +- ASA SHOW RESOURCE: Add new template [\#325](https://github.com/networktocode/ntc-templates/pull/325) ([jmcgill298](https://github.com/jmcgill298)) +- ASA VPN-SESSIONDB: Bug Fixes with new data [\#323](https://github.com/networktocode/ntc-templates/pull/323) ([jmcgill298](https://github.com/jmcgill298)) +- IOS DIR: Account for spaces in permissions [\#321](https://github.com/networktocode/ntc-templates/pull/321) ([jmcgill298](https://github.com/jmcgill298)) +- NX-OS show l2rib internal permanently-frozen-list template [\#320](https://github.com/networktocode/ntc-templates/pull/320) ([vaneuk](https://github.com/vaneuk)) +- Bugfix: cisco asa show access list [\#313](https://github.com/networktocode/ntc-templates/pull/313) ([joewesch](https://github.com/joewesch)) +- Adding cisco\_asa\_show\_nat [\#312](https://github.com/networktocode/ntc-templates/pull/312) ([joewesch](https://github.com/joewesch)) +- cisco\_ios\_show\_dot1x\_all command [\#308](https://github.com/networktocode/ntc-templates/pull/308) ([realvitya](https://github.com/realvitya)) +- Add INPUT\_PACKETS, INPUT\_ERRORS, OUTPUT\_PACKETS, OUTPUT\_ERRORS fields to cisco\_ios\_show\_interfaces & cisco\_nxos\_show\_interface templates [\#307](https://github.com/networktocode/ntc-templates/pull/307) ([wvandeun](https://github.com/wvandeun)) +- Added cisco\_asa "show running-config object network" template [\#306](https://github.com/networktocode/ntc-templates/pull/306) ([joewesch](https://github.com/joewesch)) +- PARSE: Update parse module to account for new and old TextFSM packaging [\#305](https://github.com/networktocode/ntc-templates/pull/305) ([jmcgill298](https://github.com/jmcgill298)) +- Modified cisco\_asa\_show\_crypto\_ipsec\_sa [\#304](https://github.com/networktocode/ntc-templates/pull/304) ([joewesch](https://github.com/joewesch)) +- Added cisco\_asa\_show\_asp\_table\_vpn-context\_detail [\#303](https://github.com/networktocode/ntc-templates/pull/303) ([joewesch](https://github.com/joewesch)) +- Modified cisco\_asa\_show\_object-group\_network.template [\#302](https://github.com/networktocode/ntc-templates/pull/302) ([joewesch](https://github.com/joewesch)) +- Adding support for avaya\_ers\_show\_logging\_config command [\#301](https://github.com/networktocode/ntc-templates/pull/301) ([kadecole](https://github.com/kadecole)) +- change travis and tox to use textfsm [\#300](https://github.com/networktocode/ntc-templates/pull/300) ([jmcgill298](https://github.com/jmcgill298)) +- Change requirements to use `textfsm` instead of `gtextfsm` [\#299](https://github.com/networktocode/ntc-templates/pull/299) ([jmcgill298](https://github.com/jmcgill298)) +- added juniper\_junos\_show\_version.template [\#298](https://github.com/networktocode/ntc-templates/pull/298) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_chassis\_cluster\_status.template [\#297](https://github.com/networktocode/ntc-templates/pull/297) ([jkraszewski](https://github.com/jkraszewski)) +- add juniper\_junos\_show\_chassis\_cluster\_interfaces [\#296](https://github.com/networktocode/ntc-templates/pull/296) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_arp\_no-resolve.template [\#295](https://github.com/networktocode/ntc-templates/pull/295) ([jkraszewski](https://github.com/jkraszewski)) +- modified cisco\_ios\_show\_ip\_arp.template [\#293](https://github.com/networktocode/ntc-templates/pull/293) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_mac-address.template [\#292](https://github.com/networktocode/ntc-templates/pull/292) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_lldp\_neighbors [\#291](https://github.com/networktocode/ntc-templates/pull/291) ([jkraszewski](https://github.com/jkraszewski)) +- modified brocade\_fastiron\_show\_interfaces\_brief.template [\#290](https://github.com/networktocode/ntc-templates/pull/290) ([jkraszewski](https://github.com/jkraszewski)) +- Brocade fastiron show arp [\#289](https://github.com/networktocode/ntc-templates/pull/289) ([jkraszewski](https://github.com/jkraszewski)) +- Add template for "show ip eigrp neighbors" on Cisco IOS [\#285](https://github.com/networktocode/ntc-templates/pull/285) ([Tachashi](https://github.com/Tachashi)) +- INDEX UPDATES: Fix filenames to use full command syntax [\#284](https://github.com/networktocode/ntc-templates/pull/284) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_INTF: Update regex to properly capture data - Fixes \#282 [\#283](https://github.com/networktocode/ntc-templates/pull/283) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SHOW\_INTF: Correct capturing of IP Address info - Fixes \#280 [\#281](https://github.com/networktocode/ntc-templates/pull/281) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_CDP: Reverse 'REMOTE\_PORT' and 'LOCAL\_PORT' Groups - Fixes \#277 [\#279](https://github.com/networktocode/ntc-templates/pull/279) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SH\_FAIL: Update 'SERVICE\_STATE' groups to conform to Cisco'… [\#278](https://github.com/networktocode/ntc-templates/pull/278) ([jmcgill298](https://github.com/jmcgill298)) +- Account for device 'Not Ready' [\#276](https://github.com/networktocode/ntc-templates/pull/276) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Update parsers to account for new data [\#275](https://github.com/networktocode/ntc-templates/pull/275) ([jmcgill298](https://github.com/jmcgill298)) +- Added template for show ip eigrp topology [\#274](https://github.com/networktocode/ntc-templates/pull/274) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco wlc ssh show ap config general [\#273](https://github.com/networktocode/ntc-templates/pull/273) ([jmcgill298](https://github.com/jmcgill298)) +- added show ap summary for Cisco WLC [\#272](https://github.com/networktocode/ntc-templates/pull/272) ([jmcgill298](https://github.com/jmcgill298)) +- Add RELOAD\_REASON to Record [\#271](https://github.com/networktocode/ntc-templates/pull/271) ([jmcgill298](https://github.com/jmcgill298)) +- Add templates for Vyatta [\#270](https://github.com/networktocode/ntc-templates/pull/270) ([jmcgill298](https://github.com/jmcgill298)) +- Add new OS and commands: Ubiquiti edgeswitch: show vlan and show arp support [\#269](https://github.com/networktocode/ntc-templates/pull/269) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt command [\#268](https://github.com/networktocode/ntc-templates/pull/268) ([jmcgill298](https://github.com/jmcgill298)) +- adding cisco\_xr\_show\_controllers\_hundredgigabitethernet.template [\#267](https://github.com/networktocode/ntc-templates/pull/267) ([jmcgill298](https://github.com/jmcgill298)) +- Update Cisco IOS-XR template for `show ip route` command [\#266](https://github.com/networktocode/ntc-templates/pull/266) ([jmcgill298](https://github.com/jmcgill298)) +- added template for cisco xr : "admin show environment fan" ,"admin show vm" and "show version" [\#264](https://github.com/networktocode/ntc-templates/pull/264) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO IOS SHOW REDUNDANCY: Add new template [\#263](https://github.com/networktocode/ntc-templates/pull/263) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW XLATE: Add new template [\#262](https://github.com/networktocode/ntc-templates/pull/262) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Add template for failover status [\#260](https://github.com/networktocode/ntc-templates/pull/260) ([jmcgill298](https://github.com/jmcgill298)) +- Add match for empty lines or lines that are only spaces [\#257](https://github.com/networktocode/ntc-templates/pull/257) ([jmcgill298](https://github.com/jmcgill298)) +- Updated show inventory to catch space on the name field [\#252](https://github.com/networktocode/ntc-templates/pull/252) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_PREFIX-LIST: Add new template [\#251](https://github.com/networktocode/ntc-templates/pull/251) ([jmcgill298](https://github.com/jmcgill298)) +- Ios show ip access list [\#250](https://github.com/networktocode/ntc-templates/pull/250) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for standard ACL to include matching the 'match counts' [\#249](https://github.com/networktocode/ntc-templates/pull/249) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: Add support for parsing connection st… [\#248](https://github.com/networktocode/ntc-templates/pull/248) ([jmcgill298](https://github.com/jmcgill298)) +- FIXES \#245 - CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: [\#247](https://github.com/networktocode/ntc-templates/pull/247) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_ROUTE-MAP: Add new template [\#244](https://github.com/networktocode/ntc-templates/pull/244) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco asa show inventory [\#243](https://github.com/networktocode/ntc-templates/pull/243) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_BGP\_SUMMARY: Add collecting ROUTER\_ID and LOCAL\_AS to parser. [\#242](https://github.com/networktocode/ntc-templates/pull/242) ([jmcgill298](https://github.com/jmcgill298)) +- Brocade fastiron show version [\#241](https://github.com/networktocode/ntc-templates/pull/241) ([jmcgill298](https://github.com/jmcgill298)) +- Fixed cisco\_ios\_show\_cdp\_neighbors when devices has 4+ capabilities [\#235](https://github.com/networktocode/ntc-templates/pull/235) ([bdowling](https://github.com/bdowling)) +- CISCO\_IOS\_SHOW\_RUNNING-CONFIG\_PARTITION\_ROUTE-MAP: Update record stat… [\#233](https://github.com/networktocode/ntc-templates/pull/233) ([jmcgill298](https://github.com/jmcgill298)) +- added show running-config partition route-map [\#228](https://github.com/networktocode/ntc-templates/pull/228) ([AutoJunjie](https://github.com/AutoJunjie)) +- Update TravisCI to use pypi instead of git clone with Pip [\#226](https://github.com/networktocode/ntc-templates/pull/226) ([jmcgill298](https://github.com/jmcgill298)) +- Added/modified show cap/lldp neighbors detail for cisco\*, brocade\*. Added cisco\_ios\_show\_ip\_device\_tracking\_all, cisco\_ios\_show\_ip\_source\_binding [\#225](https://github.com/networktocode/ntc-templates/pull/225) ([hilash](https://github.com/hilash)) +- Nxos communit list [\#220](https://github.com/networktocode/ntc-templates/pull/220) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for cisco show ip mroute [\#216](https://github.com/networktocode/ntc-templates/pull/216) ([rhoriguchi](https://github.com/rhoriguchi)) +- Find MAC addresses in cisco IOS show version. [\#214](https://github.com/networktocode/ntc-templates/pull/214) ([kimoldfield](https://github.com/kimoldfield)) +- NXOS\_SHOW\_INTERFACE\_STATUS: Update template to better handle name wit… Fixes \#196 [\#204](https://github.com/networktocode/ntc-templates/pull/204) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt\_all-members command [\#202](https://github.com/networktocode/ntc-templates/pull/202) ([kadecole](https://github.com/kadecole)) +- add arista dir flash: [\#187](https://github.com/networktocode/ntc-templates/pull/187) ([ydave](https://github.com/ydave)) +- Update the file to support Cap F on output [\#156](https://github.com/networktocode/ntc-templates/pull/156) ([amb1s1](https://github.com/amb1s1)) +- update cisco\_nxos\_show\_version to support 5ks [\#154](https://github.com/networktocode/ntc-templates/pull/154) ([amb1s1](https://github.com/amb1s1)) + +## [0.9.0](https://github.com/networktocode/ntc-templates/tree/0.9.0) (2018-07-05) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/cc61388f3c6e4543b878e426b30420173d6b6bc4...0.9.0) + +**Closed issues:** + +- Unable to parse out subinterface information from Cisco IOS content [\#197](https://github.com/networktocode/ntc-templates/issues/197) +- how to use this template can any once give 1 example and its result for more and better understanding [\#193](https://github.com/networktocode/ntc-templates/issues/193) +- show cdp neighbors for cisco\_ios returns string instead of structured list [\#189](https://github.com/networktocode/ntc-templates/issues/189) +- Template update: cisco\_ios\_show\_vlan to get interface list [\#175](https://github.com/networktocode/ntc-templates/issues/175) +- python3 support [\#149](https://github.com/networktocode/ntc-templates/issues/149) +- Template update: cisco\_nxos\_show\_cdp\_neighbors [\#147](https://github.com/networktocode/ntc-templates/issues/147) +- NXOS-Show\_Interfaces not finding Vlan Interfaces when additional interfaces are past the config. Also potential to provide wrong information. [\#135](https://github.com/networktocode/ntc-templates/issues/135) +- hp\_procurve\_show\_vlans.template empty output [\#124](https://github.com/networktocode/ntc-templates/issues/124) +- 'show memory statistics' cisco switch/rotuer template [\#121](https://github.com/networktocode/ntc-templates/issues/121) +- Cisco ASA show version template [\#110](https://github.com/networktocode/ntc-templates/issues/110) +- License question [\#92](https://github.com/networktocode/ntc-templates/issues/92) +- cisco\_ios\_show\_ip\_bgp.template some entries are not parsed [\#87](https://github.com/networktocode/ntc-templates/issues/87) +- missing tests folder for cisco\_ios\_show\_ip\_bgp [\#74](https://github.com/networktocode/ntc-templates/issues/74) +- Issues with trying to use the test-template playbook [\#73](https://github.com/networktocode/ntc-templates/issues/73) +- ios show mac address-table [\#59](https://github.com/networktocode/ntc-templates/issues/59) +- nxos show lldp neighbors failing when there is hostname is long [\#58](https://github.com/networktocode/ntc-templates/issues/58) +- arista route template [\#57](https://github.com/networktocode/ntc-templates/issues/57) +- ios show standby brief active/standby state [\#52](https://github.com/networktocode/ntc-templates/issues/52) +- Need help on parsing the show platform diag output [\#48](https://github.com/networktocode/ntc-templates/issues/48) +- need a help on escaping the parenthesis [\#47](https://github.com/networktocode/ntc-templates/issues/47) +- Need an info [\#46](https://github.com/networktocode/ntc-templates/issues/46) +- Difference between Start and Record Start? [\#41](https://github.com/networktocode/ntc-templates/issues/41) + +**Merged pull requests:** + +- Cleanup [\#221](https://github.com/networktocode/ntc-templates/pull/221) ([GGabriele](https://github.com/GGabriele)) +- Fixed README formatting and typos [\#215](https://github.com/networktocode/ntc-templates/pull/215) ([LindsayHill](https://github.com/LindsayHill)) +- Move Record to Interface opening line to ensure each unaccounted for … [\#212](https://github.com/networktocode/ntc-templates/pull/212) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_VLAN: Add support for capturing interfaces associated … [\#210](https://github.com/networktocode/ntc-templates/pull/210) ([jmcgill298](https://github.com/jmcgill298)) +- Update with virtual interfaces [\#209](https://github.com/networktocode/ntc-templates/pull/209) ([jvanderaa](https://github.com/jvanderaa)) +- NXOS\_SHOW\_CDP\_NEIGHBORS: Add additonal capture groups [\#208](https://github.com/networktocode/ntc-templates/pull/208) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_INTERFACES: Add additional logic to account for sub-interfaces [\#206](https://github.com/networktocode/ntc-templates/pull/206) ([jmcgill298](https://github.com/jmcgill298)) +- INDEX: Fix index file out of order [\#205](https://github.com/networktocode/ntc-templates/pull/205) ([jmcgill298](https://github.com/jmcgill298)) +- Procurve show vlans [\#201](https://github.com/networktocode/ntc-templates/pull/201) ([jmcgill298](https://github.com/jmcgill298)) +- add pytest chache to gitignore [\#200](https://github.com/networktocode/ntc-templates/pull/200) ([jmcgill298](https://github.com/jmcgill298)) +- Fix index file out of order [\#199](https://github.com/networktocode/ntc-templates/pull/199) ([jmcgill298](https://github.com/jmcgill298)) +- Fix printing to use function for py3 compatibility [\#198](https://github.com/networktocode/ntc-templates/pull/198) ([jmcgill298](https://github.com/jmcgill298)) +- Adding 4 templates [\#192](https://github.com/networktocode/ntc-templates/pull/192) ([rishabh5j](https://github.com/rishabh5j)) +- adding bash\_df\_-h and show\_reload\_cause templates for arista\_eos [\#182](https://github.com/networktocode/ntc-templates/pull/182) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr show\_controller\_fabric\_plane\_all and admin\_show\_contr… [\#181](https://github.com/networktocode/ntc-templates/pull/181) ([Sandeepsr](https://github.com/Sandeepsr)) +- Adding "get route" template for IPv4 for Juniper NetScreen \(screenos\) [\#180](https://github.com/networktocode/ntc-templates/pull/180) ([burningnode](https://github.com/burningnode)) +- cisco xr lldp and route [\#176](https://github.com/networktocode/ntc-templates/pull/176) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- adding arista\_macsec\_templates [\#174](https://github.com/networktocode/ntc-templates/pull/174) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr\_show\_ip\_bgp\_summary.template [\#170](https://github.com/networktocode/ntc-templates/pull/170) ([Sandeepsr](https://github.com/Sandeepsr)) +- added show vrf and show ip arp for nxos [\#167](https://github.com/networktocode/ntc-templates/pull/167) ([vaneuk](https://github.com/vaneuk)) +- IOS\_SHOW\_RUN\_CONFIG\_PARTITION\_ACL: Add new template [\#166](https://github.com/networktocode/ntc-templates/pull/166) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_IP\_ACL: new template [\#165](https://github.com/networktocode/ntc-templates/pull/165) ([jmcgill298](https://github.com/jmcgill298)) +- ASA\_SHOW\_IP\_ACCESS\_LIST: Add catch-all error [\#164](https://github.com/networktocode/ntc-templates/pull/164) ([jmcgill298](https://github.com/jmcgill298)) +- change top dir logic [\#163](https://github.com/networktocode/ntc-templates/pull/163) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update cisco\_nxos\_show\_lldp\_neighbors.template & index file [\#162](https://github.com/networktocode/ntc-templates/pull/162) ([termlen0](https://github.com/termlen0)) +- Avaya vsp show software [\#161](https://github.com/networktocode/ntc-templates/pull/161) ([kadecole](https://github.com/kadecole)) +- added show config sess summ [\#160](https://github.com/networktocode/ntc-templates/pull/160) ([jedelman8](https://github.com/jedelman8)) +- adding arista\_eos\_show\_interfaces\_transceiver.template and edit arist… [\#159](https://github.com/networktocode/ntc-templates/pull/159) ([Sandeepsr](https://github.com/Sandeepsr)) +- Alex up [\#158](https://github.com/networktocode/ntc-templates/pull/158) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Avaya ers show interface name [\#157](https://github.com/networktocode/ntc-templates/pull/157) ([kadecole](https://github.com/kadecole)) +- Added Avaya ERS templates [\#155](https://github.com/networktocode/ntc-templates/pull/155) ([kadecole](https://github.com/kadecole)) +- Adjusted hp\_procurve\_show\_vlans.template to account for varying outputs. [\#148](https://github.com/networktocode/ntc-templates/pull/148) ([tsimson](https://github.com/tsimson)) +- Added Avaya ERS templates [\#146](https://github.com/networktocode/ntc-templates/pull/146) ([OfWolfAndMan](https://github.com/OfWolfAndMan)) +- Show power commands [\#144](https://github.com/networktocode/ntc-templates/pull/144) ([ericdost](https://github.com/ericdost)) +- Fix CDP to work with 3 capablities in cdp output [\#143](https://github.com/networktocode/ntc-templates/pull/143) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show interface for vlan [\#140](https://github.com/networktocode/ntc-templates/pull/140) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Ios sh status [\#139](https://github.com/networktocode/ntc-templates/pull/139) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update NXOS show-ip-route for more scenarios [\#138](https://github.com/networktocode/ntc-templates/pull/138) ([jamiecaesar](https://github.com/jamiecaesar)) +- Show environment power all [\#137](https://github.com/networktocode/ntc-templates/pull/137) ([ericdost](https://github.com/ericdost)) +- Add ASA VPN Troubelshooting Commands [\#136](https://github.com/networktocode/ntc-templates/pull/136) ([jmcgill298](https://github.com/jmcgill298)) +- Added new template: Cisco ASA show interface [\#134](https://github.com/networktocode/ntc-templates/pull/134) ([jvanderaa](https://github.com/jvanderaa)) +- Updated IOS show-ip-route to handle additional cases [\#133](https://github.com/networktocode/ntc-templates/pull/133) ([jamiecaesar](https://github.com/jamiecaesar)) +- Add ASA Templates [\#131](https://github.com/networktocode/ntc-templates/pull/131) ([jmcgill298](https://github.com/jmcgill298)) +- fix pfs when no value present [\#129](https://github.com/networktocode/ntc-templates/pull/129) ([jmcgill298](https://github.com/jmcgill298)) +- add asa sh run crypto map [\#128](https://github.com/networktocode/ntc-templates/pull/128) ([jmcgill298](https://github.com/jmcgill298)) +- Dgjustice nxos show ip bgp nei [\#126](https://github.com/networktocode/ntc-templates/pull/126) ([dgjustice](https://github.com/dgjustice)) +- Fixing cisco\_ios\_show\_interfaces\_status [\#125](https://github.com/networktocode/ntc-templates/pull/125) ([GGabriele](https://github.com/GGabriele)) +- update xr controllers [\#123](https://github.com/networktocode/ntc-templates/pull/123) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Additional Templates for Cisco IOS [\#122](https://github.com/networktocode/ntc-templates/pull/122) ([rpollard00](https://github.com/rpollard00)) +- change show interface to interfaces [\#120](https://github.com/networktocode/ntc-templates/pull/120) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- add speed + duplex to ios show interfaces [\#119](https://github.com/networktocode/ntc-templates/pull/119) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update ios show proc cpu [\#118](https://github.com/networktocode/ntc-templates/pull/118) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show proc cpu [\#117](https://github.com/networktocode/ntc-templates/pull/117) ([itdependsnetworks](https://github.com/itdependsnetworks)) + \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index f8548d13d6..42c3f6a88d 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.0.0" +__version__ = "2.1.0" diff --git a/pyproject.toml b/pyproject.toml index aaaaf97fa4..6033a8ce3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.0.0" +version = "2.1.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 6bce7575175050fbabbd05fb80ccb799d39d30c2 Mon Sep 17 00:00:00 2001 From: Jonathan Swisher Date: Tue, 29 Jun 2021 11:30:38 -0500 Subject: [PATCH 197/412] Commit for Travis test --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad20bb6396..1b60be62ba 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,8 @@ Start ``` ##### States -If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. Example: +If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. +Example: *Raw Output* ``` From 787be702d4b42e293629609527c085c4a9b75a04 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:27:46 -0500 Subject: [PATCH 198/412] cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) (#944) --- .../templates/cisco_ios_show_version.textfsm | 12 +++++++++++- .../show_version/cisco_ios_show_version.yml | 5 +++++ .../show_version/cisco_ios_show_version1.yml | 5 +++++ .../show_version/cisco_ios_show_version2.yml | 5 +++++ .../show_version/cisco_ios_show_version3.yml | 5 +++++ .../show_version/cisco_ios_show_version4.yml | 5 +++++ tox.ini | 2 +- 7 files changed, 37 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index 4d32f8475b..b879dec418 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -2,6 +2,11 @@ Value VERSION (.+?) Value ROMMON (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) +Value UPTIME_YEARS (\d+) +Value UPTIME_WEEKS (\d+) +Value UPTIME_DAYS (\d+) +Value UPTIME_HOURS (\d+) +Value UPTIME_MINUTES (\d+) Value RELOAD_REASON (.+?) Value RUNNING_IMAGE (\S+) Value List HARDWARE (\S+|\S+\d\S+) @@ -13,7 +18,12 @@ Value RESTARTED (.+) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* ^ROM:\s+${ROMMON} - ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} + ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_YEARS}\syear -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_WEEKS}\sweek -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_DAYS}\sday -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_HOURS}\shour -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_MINUTES}\sminute ^[sS]ystem\s+image\s+file\s+is\s+"(.*?):${RUNNING_IMAGE}" ^(?:[lL]ast\s+reload\s+reason:|System\s+returned\s+to\s+ROM\s+by)\s+${RELOAD_REASON}\s*$$ ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml index fd16da9df3..b233140077 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "12.2(44r)SG9" hostname: "router1" uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + uptime_days: "6" + uptime_hours: "9" + uptime_minutes: "55" + uptime_weeks: "31" + uptime_years: "2" reload_reason: "reload" running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml index eb71525870..b794d0a135 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "city-building-4-sw" uptime: "28 weeks, 1 day, 7 hours, 54 minutes" + uptime_days: "1" + uptime_hours: "7" + uptime_minutes: "54" + uptime_weeks: "28" + uptime_years: "" reload_reason: "Reload Command" running_image: "packages.conf" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml index 11935c90fa..92098c2e90 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "my_device" uptime: "1 day, 15 hours, 32 minutes" + uptime_days: "1" + uptime_hours: "15" + uptime_minutes: "32" + uptime_weeks: "" + uptime_years: "" reload_reason: "LocalSoft" running_image: "asr1001-universalk9.03.09.01.S.153-2.S1.bin" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml index a72cd33d98..32da4c835c 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "Bootstrap" hostname: "rtr-01" uptime: "1 week, 3 days, 16 hours, 11 minutes" + uptime_days: "3" + uptime_hours: "16" + uptime_minutes: "11" + uptime_weeks: "1" + uptime_years: "" reload_reason: "Unknown reason" running_image: "/vios-adventerprisek9-m" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml index 677cd7fdab..a0ccd2232c 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "AKBTESTW01" uptime: "1 year, 22 weeks, 6 days, 9 hours, 38 minutes" + uptime_days: "6" + uptime_hours: "9" + uptime_minutes: "38" + uptime_weeks: "22" + uptime_years: "1" reload_reason: "Reload Command" running_image: "packages.conf" hardware: diff --git a/tox.ini b/tox.ini index ca2ccd6799..fca6188fa8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = True -envlist = py36,py37,py38,black,flake8,yamllint +envlist = py36,py37,py38,py39,black,flake8,yamllint skip_missing_interpreters = true download = true From d2b03dffce3d5f67ea770309e7605fb46071ce2c Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:16:22 -0700 Subject: [PATCH 199/412] New Template: cisco_ios_show_crypto_session_details (#947) --- ...sco_ios_show_crypto_session_detail.textfsm | 46 ++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_crypto_session_detail.raw | 52 ++++++++++++++ .../cisco_ios_show_crypto_session_detail.yml | 71 +++++++++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml diff --git a/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm new file mode 100644 index 0000000000..cd6883aa7b --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm @@ -0,0 +1,46 @@ +Value Required INTERFACE (\S+) +Value Required SESSION_STATUS (\S+) +Value UPTIME (\S+) +Value Required PEER (\S+) +Value PORT (\d+) +Value FVRF (\S+) +Value IVRF (\S+) +Value DESC (\S+) +Value PHASE1_ID (\S+) +Value SESSION_ID (\d+) +Value LOCAL_IP (\S+) +Value LOCAL_PORT (\d+) +Value REMOTE_IP (\S+) +Value REMOTE_PORT (\S+) +Value IKEV1_STATUS (\S+) +Value CAPABILITIES (\S+) +Value CONN_ID (\d+) +Value LIFETIME (\S+) +Value PERMIT (\S+) +Value SRC_HOST (\S+) +Value DST_HOST (\S+) +Value ACTIVE_SA (\d+) +Value ORIGIN (.+) + +Start + ^Crypto\s+.* + ^Code: + ^K\s+- + ^X\s+- + ^R\s+- + ^Interface: -> Continue.Record + ^Interface:\s+${INTERFACE} + ^Session\s+status:\s+${SESSION_STATUS} + ^Uptime:\s+${UPTIME} + ^Peer:\s+${PEER}\s+port\s+${PORT}\s+fvrf:\s+${FVRF}\s+ivrf:\s+${IVRF} + ^\s+Desc:\s+${DESC} + ^\s+Phase1_id:\s+${PHASE1_ID} + ^\s+Session\s+ID:\s+${SESSION_ID} + ^\s+IKEv1\s+SA:\s+local\s+${LOCAL_IP}/${LOCAL_PORT}\s+remote\s+${REMOTE_IP}/${REMOTE_PORT}\s+${IKEV1_STATUS} + ^\s+Capabilities:${CAPABILITIES}\s+connid:${CONN_ID}\s+lifetime:${LIFETIME} + ^\s+IPSEC\s+FLOW:\s+permit\s+${PERMIT}\s+host\s+${SRC_HOST}\s+host\s+${DST_HOST} + ^\s+Active\s+SAs:\s+${ACTIVE_SA},\s+origin:\s+${ORIGIN} + ^\s+Inbound:\s+#.* + ^\s+Outbound:\s+#.* + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 9437876d32..93121f8db1 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -186,6 +186,7 @@ cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[ces cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] +cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cr[[ypto]] se[[ssion]] d[[etail]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw new file mode 100644 index 0000000000..c5615095da --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw @@ -0,0 +1,52 @@ +Crypto session current status + +Code: C - IKE Configuration mode, D - Dead Peer Detection +K - Keepalives, N - NAT-traversal, T - cTCP encapsulation +X - IKE Extended Authentication, F - IKE Fragmentation +R - IKE Auto Reconnect + +Interface: Tunnel1201 +Session status: DOWN-NEGOTIATING +Peer: 10.161.255.14 port 500 fvrf: (none) ivrf: (none) + Desc: (none) + Phase1_id: (none) + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.161.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.161.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + IPSEC FLOW: permit 47 host 10.175.200.116 host 10.161.255.14 + Active SAs: 0, origin: crypto map + Inbound: #pkts dec'ed 0 drop 0 life (KB/Sec) 0/0 + Outbound: #pkts enc'ed 0 drop 0 life (KB/Sec) 0/0 + +Interface: Tunnel1101 +Uptime: 7w0d +Session status: UP-ACTIVE +Peer: 192.168.0.1 port 4500 fvrf: (none) ivrf: (none) + Phase1_id: SOME_DEVICE1234.1pc.com + Desc: (none) + Session ID: 0 + IKEv1 SA: local 169.0.1.1/4500 remote 192.168.0.1/4500 Active + Capabilities:DN connid:2913 lifetime:09:03:41 + IPSEC FLOW: permit 47 host 169.0.1.1 host 192.168.0.1 + Active SAs: 2, origin: crypto map + Inbound: #pkts dec'ed 15344097 drop 0 life (KB/Sec) 4236992/615 + Outbound: #pkts enc'ed 18074395 drop 0 life (KB/Sec) 4236962/615 + +Interface: Tunnel2201 +Session status: DOWN-NEGOTIATING +Peer: 10.163.255.14 port 500 fvrf: (none) ivrf: (none) + Desc: (none) + Phase1_id: (none) + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.163.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.163.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + IPSEC FLOW: permit 47 host 10.175.200.116 host 10.163.255.14 + Active SAs: 0, origin: crypto map + Inbound: #pkts dec'ed 0 drop 0 life (KB/Sec) 0/0 + Outbound: #pkts enc'ed 0 drop 0 life (KB/Sec) 0/0 diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml new file mode 100644 index 0000000000..016a19445e --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml @@ -0,0 +1,71 @@ +--- +parsed_sample: + - interface: "Tunnel1201" + session_status: "DOWN-NEGOTIATING" + uptime: "" + peer: "10.161.255.14" + port: "500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "(none)" + session_id: "0" + local_ip: "10.175.200.116" + local_port: "500" + remote_ip: "10.161.255.14" + remote_port: "500" + ikev1_status: "Inactive" + capabilities: "(none)" + conn_id: "0" + lifetime: "0" + permit: "47" + src_host: "10.175.200.116" + dst_host: "10.161.255.14" + active_sa: "0" + origin: "crypto map" + - interface: "Tunnel1101" + session_status: "UP-ACTIVE" + uptime: "7w0d" + peer: "192.168.0.1" + port: "4500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "SOME_DEVICE1234.1pc.com" + session_id: "0" + local_ip: "169.0.1.1" + local_port: "4500" + remote_ip: "192.168.0.1" + remote_port: "4500" + ikev1_status: "Active" + capabilities: "DN" + conn_id: "2913" + lifetime: "09:03:41" + permit: "47" + src_host: "169.0.1.1" + dst_host: "192.168.0.1" + active_sa: "2" + origin: "crypto map" + - interface: "Tunnel2201" + session_status: "DOWN-NEGOTIATING" + uptime: "" + peer: "10.163.255.14" + port: "500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "(none)" + session_id: "0" + local_ip: "10.175.200.116" + local_port: "500" + remote_ip: "10.163.255.14" + remote_port: "500" + ikev1_status: "Inactive" + capabilities: "(none)" + conn_id: "0" + lifetime: "0" + permit: "47" + src_host: "10.175.200.116" + dst_host: "10.163.255.14" + active_sa: "0" + origin: "crypto map" From 2826eba826f3a9e96ac8cb5eb702a3429c7b044c Mon Sep 17 00:00:00 2001 From: Denis Pointer <52019028+dpnetca@users.noreply.github.com> Date: Wed, 7 Jul 2021 10:18:31 -0600 Subject: [PATCH 200/412] cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces (#918) --- .../templates/cisco_ios_show_vrf.textfsm | 1 + .../cisco_ios_show_vrf_no_interface.raw | 5 +++++ .../cisco_ios_show_vrf_no_interface.yml | 17 +++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml diff --git a/ntc_templates/templates/cisco_ios_show_vrf.textfsm b/ntc_templates/templates/cisco_ios_show_vrf.textfsm index d326e3956e..d2143bf431 100644 --- a/ntc_templates/templates/cisco_ios_show_vrf.textfsm +++ b/ntc_templates/templates/cisco_ios_show_vrf.textfsm @@ -13,4 +13,5 @@ Start_record ^\s{2}\S+ -> Continue.Record ^\s{60}\s+${INTERFACES} ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS}\s+${INTERFACES} + ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS} diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw new file mode 100644 index 0000000000..29c899e2b1 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw @@ -0,0 +1,5 @@ + Name Default RD Protocols Interfaces + OOB-MGMT ipv4 Gi0/3 + vpn21 65201:21 ipv4,ipv6 Gi0/0.21 + Gi0/1.21 + vpn22 65201:22 ipv4 diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml new file mode 100644 index 0000000000..02447c67f9 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - default_rd: "" + interfaces: + - "Gi0/3" + name: "OOB-MGMT" + protocols: "ipv4" + - default_rd: "65201:21" + interfaces: + - "Gi0/0.21" + - "Gi0/1.21" + name: "vpn21" + protocols: "ipv4,ipv6" + - default_rd: "65201:22" + interfaces: [] + name: "vpn22" + protocols: "ipv4" From 61c9890d2775692aaed4d06118b2323b13e2cdc2 Mon Sep 17 00:00:00 2001 From: mickyhale <34953641+mickyhale@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:38:53 -0700 Subject: [PATCH 201/412] cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists (#907) --- ...sco_ios_show_interfaces_switchport.textfsm | 6 ++-- .../cisco_ios_show_interfaces_switchport2.raw | 32 +++++++++++++++++++ .../cisco_ios_show_interfaces_switchport2.yml | 12 +++++++ 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm index 440195b261..3129796ff6 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -21,7 +21,6 @@ Start ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ - ^\s+${TRUNKING_VLANS}$$ ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: @@ -40,5 +39,6 @@ Start ^. -> Error Trunk - ^\s+${TRUNKING_VLANS},\s*$$ -> Start - ^\s+${TRUNKING_VLANS}\s*$$ + ^\s+${TRUNKING_VLANS},\s*$$ + ^\s+${TRUNKING_VLANS}\s*$$ -> Start + ^. -> Error diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw index df2599fd7c..7246296b6a 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw @@ -29,3 +29,35 @@ Unknown unicast blocked: disabled Unknown multicast blocked: disabled Vepa Enabled: false Appliance trust: none + +Name: Te5/0/2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604, + 900,910,920,930,940 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml index 0ec9e9321e..0e4ceca4bd 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml @@ -12,3 +12,15 @@ parsed_sample: trunking_vlans: - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" - "900,910,920,930,940" + - interface: "Te5/0/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" + - "900,910,920,930,940" From 0501ca88be47413a8b443d7f8e5d2fbda5d4ebb3 Mon Sep 17 00:00:00 2001 From: Chip Nielsen Date: Wed, 28 Jul 2021 18:00:27 -0700 Subject: [PATCH 202/412] Fix nxos_show_interface_transceiver failure (#952) (#953) --- ...sco_nxos_show_interface_transceiver.textfsm | 2 ++ .../cisco_nxos_show_interface_transceiver.raw | 18 +++++++++++++++++- .../cisco_nxos_show_interface_transceiver.yml | 5 +++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm index b08ecc2019..efef506d9f 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm @@ -17,5 +17,7 @@ Start ^\s+Link\s+ ^\s+cisco\s+id ^\s+cisco\s+extended + ^\s+cisco\s+part\s+number + ^\s+cisco\s+product\s+id ^\s*$$ -> Record ^. -> Error diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw index 9ee17a7a94..a07ec26853 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw @@ -83,4 +83,20 @@ Ethernet1/47 nominal bitrate is 10300 MBit/sec Link length supported for SMF fiber is 10 km cisco id is -- - cisco extended id number is 196 \ No newline at end of file + cisco extended id number is 196 + +Ethernet1/48 + transceiver is present + type is 10Gbase-SR + name is CISCO-OEM + part number is SFP-10GB-SR + revision is B4 + serial number is GTWG0000 + nominal bitrate is 10300 MBit/sec + Link length supported for 50/125um OM2 fiber is 82 m + Link length supported for 62.5/125um fiber is 26 m + Link length supported for 50/125um OM3 fiber is 300 m + cisco id is 3 + cisco extended id number is 4 + cisco part number is 10-2415-01 + cisco product id is SFP-10G-SR diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml index 7f2e65619f..b2fb011b05 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -30,3 +30,8 @@ parsed_sample: manufacturer: "Arista" part_number: "QSFP-40G-LR4-AR" serial: "AROOGAH" + - interface: "Ethernet1/48" + type: "10Gbase-SR" + manufacturer: "CISCO-OEM" + part_number: "SFP-10GB-SR" + serial: "GTWG0000" From 0b8e9a967dbd936ead9b9ece81a4b3a8872b1a57 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Mon, 2 Aug 2021 15:39:13 +0000 Subject: [PATCH 203/412] Bugfix: precendence & tos for SRC/DST_PORT_MATCH - cisco_ios_show_ip_access-lists.textfsm (#955) --- .../cisco_ios_show_ip_access-lists.textfsm | 4 +- .../cisco_ios_show_ip_access-lists_954.raw | 100 + .../cisco_ios_show_ip_access-lists_954.yml | 2802 +++++++++++++++++ 3 files changed, 2904 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index d716172e7f..0a60b0abd8 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -7,7 +7,7 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) -Value SRC_PORT_MATCH (eq|neq|range|lt|gt) +Value SRC_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt) Value SRC_PORT ((? Date: Mon, 2 Aug 2021 10:34:20 -0600 Subject: [PATCH 204/412] Release 2.2.0 (#957) --- CHANGELOG.md | 18 ++++++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb87e2dab5..ce00b737e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include precedence and tos in *_PORT_MATCH [\#954](https://github.com/networktocode/ntc-templates/issues/954) +- cisco\_nxos\_show\_interface\_transceiver transceiver template failure [\#952](https://github.com/networktocode/ntc-templates/issues/952) + +**Merged pull requests:** + +- cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) [\#944](https://github.com/networktocode/ntc-templates/pull/944) ([joewesch](https://github.com/joewesch)) +- New Template: cisco_ios_show_crypto_session_details [\#947](https://github.com/networktocode/ntc-templates/pull/947) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces [\#918](https://github.com/networktocode/ntc-templates/pull/918) ([dpnetca](https://github.com/dpnetca)) +- cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists [\#907](https://github.com/networktocode/ntc-templates/pull/907) ([mickyhale](https://github.com/mickyhale)) +- Fix nxos_show_interface_transceiver failure [\#953](https://github.com/networktocode/ntc-templates/pull/953) ([chipn](https://github.com/chipn)) +- Updated cisco_ios_show_ip_access-lists.textfsm to include the SRC_PORT_MATCH and DST_PORT_MATCH values for precedence and tos [\#955](https://github.com/networktocode/ntc-templates/pull/955) ([nsnelson402](https://github.com/nsnelson402)) + ## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 42c3f6a88d..c8b263aff6 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.1.0" +__version__ = "2.2.0" diff --git a/pyproject.toml b/pyproject.toml index 6033a8ce3a..923cb047e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.1.0" +version = "2.2.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From fe6b8a1c7b3ca579e9874def87006b3c56d0ec68 Mon Sep 17 00:00:00 2001 From: Uros Bajzelj Date: Wed, 4 Aug 2021 08:48:25 +0200 Subject: [PATCH 205/412] Fix the Travis pipeline (#961) --- .travis.yml | 77 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae51fc2413..aa186e4a2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,12 @@ --- +stages: + - name: "lint" + - name: "test" + - name: "deploy-github" + if: "tag IS present" + - name: "deploy-pypi" + if: "tag IS present" + language: "python" dist: "xenial" os: "linux" @@ -8,30 +16,53 @@ python: - "3.7" - "3.8" -install: - - "pip install virtualenv" - - "virtualenv .venv" - - ".venv/bin/pip install pip setuptools -U" - - ".venv/bin/pip install tox" +# -------------------------------------------------------------------------- +# Tests +# -------------------------------------------------------------------------- +before_script: + - "pip install --upgrade pip" + - "pip install poetry" + - "poetry install" +script: + - "poetry run tox -e py36,py37,py38" + jobs: include: - stage: "lint" - script: ".venv/bin/tox -e black" - - script: ".venv/bin/tox -e flake8" - - script: ".venv/bin/tox -e yamllint" - -stages: - - "lint" - - "test" - -script: - - ".venv/bin/tox -e py36,py37,py38" - -deploy: - provider: "script" - script: - - "poetry config pypi-token.pypi $PYPI_TOKEN" - - "poetry publish --build" - on: - tags: true + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + - "poetry install" + script: + - "poetry run tox -e black" + - "poetry run tox -e flake8" + - "poetry run tox -e yamllint" + - stage: "deploy-github" + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + script: + - "poetry version $TRAVIS_TAG" + - "poetry build" + deploy: + provider: "releases" + api_key: "$GITHUB_AUTH_TOKEN" + file_glob: true + file: "dist/*" + skip_cleanup: true + "on": + all_branches: true + - stage: "deploy-pypi" + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + script: + - "echo Deploying the release to PyPI" + - "poetry version $TRAVIS_TAG" + deploy: + provider: "script" + skip_cleanup: true + script: "poetry publish --build -u __token__ -p $PYPI_TOKEN" + "on": + all_branches: true From abe62ad08a3fabcb0d9b679eb2405d9b1095f4f3 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Wed, 4 Aug 2021 08:00:08 -0400 Subject: [PATCH 206/412] Fixes #924 (#960) --- .../templates/cisco_ios_show_version.textfsm | 1 + .../show_version/cisco_ios_show_version5.raw | 90 +++++++++++++++++++ .../show_version/cisco_ios_show_version5.yml | 24 +++++ 3 files changed, 115 insertions(+) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version5.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version5.yml diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index b879dec418..b55470ca85 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -33,6 +33,7 @@ Start ^System\s+restarted\s+at\s+${RESTARTED}$$ ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on + ^Switch\s\d+ -> Stack ^Load\s+for\s+ ^Time\s+source\s+is diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version5.raw b/tests/cisco_ios/show_version/cisco_ios_show_version5.raw new file mode 100644 index 0000000000..40f254b8f4 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version5.raw @@ -0,0 +1,90 @@ +Cisco IOS XE Software, Version 16.12.04 +Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.4, RELEASE SOFTWARE (fc5) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2020 by Cisco Systems, Inc. +Compiled Thu 09-Jul-20 21:49 by mcpre + + +Cisco IOS-XE software, Copyright (c) 2005-2020 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON +BOOTLDR: System Bootstrap, Version 17.1.1[FC2], RELEASE SOFTWARE (P) + +Switch-Hostname uptime is 7 weeks, 17 hours, 14 minutes +Uptime for this control processor is 7 weeks, 17 hours, 17 minutes +System returned to ROM by Reload Command at 20:51:53 EET Mon Mar 8 2021 +System restarted at 20:57:50 EET Mon Mar 8 2021 +System image file is "flash:packages.conf" +Last reload reason: Reload Command + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + + +Technology Package License Information: + +------------------------------------------------------------------------------ +Technology-package Technology-package +Current Type Next reboot +------------------------------------------------------------------------------ +network-advantage Smart License network-advantage +dna-advantage Subscription Smart License dna-advantage +AIR License Level: AIR DNA Advantage +Next reload AIR license Level: AIR DNA Advantage + + +Smart Licensing Status: UNREGISTERED/EVAL EXPIRED + +cisco C9500-48Y4C (X86) processor with 1867864K/6147K bytes of memory. +Processor board ID CAT23XXXXXX +16 Virtual Ethernet interfaces +96 TwentyFive Gigabit Ethernet interfaces +8 Hundred Gigabit Ethernet interfaces +32768K bytes of non-volatile configuration memory. +16010152K bytes of physical memory. +11161600K bytes of Bootflash at bootflash:. +11161600K bytes of Bootflash at bootflash-2:. +1638400K bytes of Crash Files at crashinfo:. +1638400K bytes of Crash Files at crashinfo-2:. +0K bytes of WebUI ODM Files at webui:. + +Base Ethernet MAC Address : a0:b4:39:00:00:e0 +Motherboard Assembly Number : 48XX +Motherboard Serial Number : CAT23XXXXXX +Model Revision Number : V02 +Motherboard Revision Number : 4 +Model Number : C9500-48Y4C +System Serial Number : CAT23XXXXXX + +Switch 02 +--------- +Base Ethernet MAC Address : a0:b4:39:00:00:00 +Motherboard Assembly Number : 48XX +Motherboard Serial Number : CAT23XXXXXX +Model Revision Number : V02 +Motherboard Revision Number : 4 +Model Number : C9500-48Y4C +System Serial Number : CAT23XXXXXX \ No newline at end of file diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version5.yml b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml new file mode 100644 index 0000000000..3bf3d3844c --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - version: "16.12.4" + rommon: "IOS-XE" + hostname: "Switch-Hostname" + uptime: "7 weeks, 17 hours, 14 minutes" + uptime_years: "" + uptime_weeks: "7" + uptime_days: "" + uptime_hours: "17" + uptime_minutes: "14" + reload_reason: "Reload Command" + running_image: "packages.conf" + hardware: + - "C9500-48Y4C" + - "C9500-48Y4C" + serial: + - "CAT23XXXXXX" + - "CAT23XXXXXX" + config_register: "" + mac: + - "a0:b4:39:00:00:e0" + - "a0:b4:39:00:00:00" + restarted: "20:57:50 EET Mon Mar 8 2021" From cc1a20e78ad0b34f7ae886cf5409cb1bd73d605a Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Thu, 19 Aug 2021 15:01:07 +0000 Subject: [PATCH 207/412] Updated template and created test. (#965) - Updates cisco_ios_show_ip_access-lists --- .../cisco_ios_show_ip_access-lists.textfsm | 2 +- .../cisco_ios_show_ip_access-lists_964.raw | 102 + .../cisco_ios_show_ip_access-lists_964.yml | 2858 +++++++++++++++++ 3 files changed, 2961 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index 0a60b0abd8..5fe2b9f874 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,7 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) -Value ICMP_TYPE (echo|echo-reply|administratively-prohibited|unreachable|port-unreachable|redirect|router-advertisement|router-solicitation|packet-too-big|time-exceeded|ttl-exceeded|parameter-problem) +Value ICMP_TYPE (administratively-prohibited|echo|echo-reply|mask-request|packet-too-big|parameter-problem|port-unreachable|redirect|router-advertisement|router-solicitation|time-exceeded|ttl-exceeded|unreachable) Value TIME (\S+) Value STATE (inactive|active) Value MATCHES (\d+) diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw new file mode 100644 index 0000000000..2b849aa73c --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw @@ -0,0 +1,102 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) +Standard IP access list stdacl + 10 permit 10.1.1.1 +Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh + 120 deny esp any any precedence internet + 130 deny esp any any tos normal +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) +Extended IP access list test2 +Extended IP access list ios_show_ip_acl + 10 permit 53 any any log (123456 matches) + 20 permit ip any any log (23 matches) +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log +Extended IP access list mask-request + 10 deny icmp any any mask-request diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml new file mode 100644 index 0000000000..fb87246d24 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml @@ -0,0 +1,2858 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "120" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "precedence" + dst_port: "internet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "130" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "tos" + dst_port: "normal" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "10" + action: "permit" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "20" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "10" + action: "deny" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "mask-request" + time: "" + state: "" + matches: "" From 7c4400c4193f4a67e9d7a126861aa145335ea3de Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Thu, 19 Aug 2021 10:32:27 -0500 Subject: [PATCH 208/412] release 2.2.2 (#967) --- CHANGELOG.md | 14 ++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce00b737e3..7c49178e83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include additional ICMP_TYPE options [\#964](https://github.com/networktocode/ntc-templates/issues/964) +- cisco\_ios\_show\_version template needs updated to account for StackWise Virtual Domains [\#924](https://github.com/networktocode/ntc-templates/issues/924) + +**Merged pull requests:** + +- cisco\_ios\_show\_ip\_access-lists.textfsm: Updated to include mask-request in template. [\#965](https://github.com/networktocode/ntc-templates/pull/944) ([nsnelson402](https://github.com/nsnelson402)) +- cisco\_ios\_show\_version.textfsm: Updated to account for StackWise Virtual Domains template. [\#960](https://github.com/networktocode/ntc-templates/pull/960) ([itdependsnetworks](https://github.com/itdependsnetworks)) + ## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index c8b263aff6..8d37898e1e 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.2.0" +__version__ = "2.2.2" diff --git a/pyproject.toml b/pyproject.toml index 923cb047e7..19b8d1a448 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.2.0" +version = "2.2.2" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 778a14b0f7a9b5e262d9b4a51b481c691ef0e803 Mon Sep 17 00:00:00 2001 From: Stephen Corry Date: Wed, 25 Aug 2021 13:45:05 -0400 Subject: [PATCH 209/412] Add Aruba AOS-CX command support (#927) --- ...access_interface_all_client-status.textfsm | 37 ++ .../aruba_aoscx_show_arp_all-vrfs.textfsm | 13 + .../aruba_aoscx_show_bfd_all-vrfs.textfsm | 23 + ...oscx_show_bgp_all-vrfs_all_summary.textfsm | 26 + ...oscx_show_bgp_all_all-vrfs_summary.textfsm | 26 + .../aruba_aoscx_show_interface.textfsm | 77 +++ ...ba_aoscx_show_interface_dom_detail.textfsm | 114 ++++ ...aruba_aoscx_show_ip_route_all-vrfs.textfsm | 14 + ...cx_show_lldp_neighbors-info_detail.textfsm | 33 + ...aruba_aoscx_show_mac-address-table.textfsm | 13 + .../aruba_aoscx_show_ntp_associations.textfsm | 14 + .../aruba_aoscx_show_vsf_detail.textfsm | 18 + ntc_templates/templates/index | 11 + ...ort-access_interface_all_client-status.raw | 340 ++++++++++ ...ort-access_interface_all_client-status.yml | 70 ++ .../show_arp_all-vrfs/show_arp_all-vrfs.raw | 6 + .../show_arp_all-vrfs/show_arp_all-vrfs.yml | 14 + .../show_bfd_all-vrfs/show_bfd_all-vrfs.raw | 10 + .../show_bfd_all-vrfs/show_bfd_all-vrfs.yml | 22 + ...ba_aoscx_show_bgp_all-vrfs_all_summary.raw | 21 + ...ba_aoscx_show_bgp_all-vrfs_all_summary.yml | 26 + .../show_interface/show_interface.raw | 505 +++++++++++++++ .../show_interface/show_interface.yml | 597 ++++++++++++++++++ .../show_interface_dom_detail.raw | 188 ++++++ .../show_interface_dom_detail.yml | 237 +++++++ .../show_ip_route_all-vrfs.raw | 33 + .../show_ip_route_all-vrfs.yml | 117 ++++ .../show_lldp_neighbors-info_detail.raw | 192 ++++++ .../show_lldp_neighbors-info_detail.yml | 56 ++ .../show_mac-address-table.raw | 10 + .../show_mac-address-table.yml | 22 + .../show_ntp_associations.raw | 7 + .../show_ntp_associations.yml | 26 + .../show_vsf_detail/show_vsf_detail.raw | 34 + .../show_vsf_detail/show_vsf_detail.yml | 23 + tests/test_index_order.py | 1 + 36 files changed, 2976 insertions(+) create mode 100644 ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_interface.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm create mode 100644 tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw create mode 100644 tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml create mode 100644 tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw create mode 100644 tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml create mode 100644 tests/aruba_aoscx/show_interface/show_interface.raw create mode 100644 tests/aruba_aoscx/show_interface/show_interface.yml create mode 100644 tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw create mode 100644 tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml create mode 100644 tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw create mode 100644 tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml create mode 100644 tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw create mode 100644 tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml create mode 100644 tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw create mode 100644 tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml create mode 100644 tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw create mode 100644 tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml diff --git a/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm b/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm new file mode 100644 index 0000000000..685e1ac539 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm @@ -0,0 +1,37 @@ +Value CLIENT_MAC (\S+) +Value CLIENT_NAME (\S+) +Value SESSION_PORT (\S+) +Value ROLE (\S+) + +Start + ^\s*Port\s+Access\s+Client\s+Status\s+Details + ^\s*Client\s+${CLIENT_MAC},\s+${CLIENT_NAME} + ^\s*=+ + ^\s+Session\s+Details -> Session + ^\s+Authentication\s+Details -> Authentication + ^\s+Authorization\s+Details -> Authorization + ^\s*$$ + ^. -> Error + +Session + ^\s+-+ + ^\s+Port\s+:\s*${SESSION_PORT} + ^\s+Session.*$$ + ^\s+IPv4.*$$ + ^\s+IPv6.*$$ + ^\s*$$ -> Start + ^. -> Error + +Authentication + ^\s+-+ + ^\s+Status.*$$ + ^\s+Auth\s*Precedence.*$$ -> Start + ^\s*$$ -> Start + ^. -> Error + +Authorization + ^\s*-+ + ^\s+Role\s+:\s+${ROLE} + ^\s+Status.*$$ + ^\s*$$ -> Record Start + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm new file mode 100644 index 0000000000..d088973322 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm @@ -0,0 +1,13 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value MAC (\S+) +Value PORT_ID (\S+) +Value PHYSICAL_PORT (\S+) +Value STATE ([a-z]+) +Value VRF (\S+) + +Start + ^IPv4\s+Address\s+MAC\s+Port\s+Physical\s+Port\s+State + ^${ADDRESS}\s+${MAC}\s+${PORT_ID}\s+${PHYSICAL_PORT}\s+${STATE}\s+${VRF} -> Record + ^\s*-* + ^\s*Total.*$$ + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm new file mode 100644 index 0000000000..2c886a91d3 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm @@ -0,0 +1,23 @@ +Value Filldown ADMIN_STATUS (\w+) +Value Filldown SRC_IP (\S+) +Value SESSION (\d+) +Value IFACE (\S+) +Value VRF (\S+) +Value SOURCE_IP (\d+\.\d+\.\d+\.\d+) +Value DESTINATION_IP (\d+\.\d+\.\d+\.\d+) +Value ECHO (\w+) +Value STATE (\w+) +Value APPLICATION (\w+) + + +Start + ^Admin\s+status:\s+${ADMIN_STATUS} + ^Echo\s+source\s+IP:\s+${SRC_IP} + ^Statistics:.* + ^Total.*$$ + ^Session\s+Interface\s+VRF\s+Source\s+IP\s+Destination\s+IP\s+Echo\s+State\s+Protocol + ^\s*-+ + ^${SESSION}\s+${IFACE}\s+${VRF}\s+${SOURCE_IP}\s+${DESTINATION_IP}\s+${ECHO}\s+${STATE}\s+${APPLICATION} -> Record + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm b/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm new file mode 100644 index 0000000000..79e299a96f --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm @@ -0,0 +1,26 @@ +Value Filldown VRF (\S+) +Value Filldown AF (\S+) +Value NEIGHBOUR (\d+\.\d+\.\d+\.\d+) +Value REMOTE_AS (\d+) +Value STATE (\w+) +Value ADMIN_STATUS (\w+) + +Start + ^VRF\s+:\s+${VRF} + ^BGP\sSummary + ^-+ + ^\s*Local\s*AS.* + ^\s*Peers.* + ^\s*Cfg.* + ^\s*$$ + ^Address-family\s:\s${AF} -> Af + ^. -> Error + +Af + ^-+ + ^\s+Neighbor\s+Remote-AS\s+MsgRcvd\s+MsgSent\s+Up/Down\s+Time\s+State\s+AdminStatus + ^\s+${NEIGHBOUR}\s+${REMOTE_AS}\s+\d+\s+\d+\s+\S+\s+${STATE}\s+${ADMIN_STATUS} -> Record + ^\s*$$ -> Clear Start + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm b/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm new file mode 100644 index 0000000000..79e299a96f --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm @@ -0,0 +1,26 @@ +Value Filldown VRF (\S+) +Value Filldown AF (\S+) +Value NEIGHBOUR (\d+\.\d+\.\d+\.\d+) +Value REMOTE_AS (\d+) +Value STATE (\w+) +Value ADMIN_STATUS (\w+) + +Start + ^VRF\s+:\s+${VRF} + ^BGP\sSummary + ^-+ + ^\s*Local\s*AS.* + ^\s*Peers.* + ^\s*Cfg.* + ^\s*$$ + ^Address-family\s:\s${AF} -> Af + ^. -> Error + +Af + ^-+ + ^\s+Neighbor\s+Remote-AS\s+MsgRcvd\s+MsgSent\s+Up/Down\s+Time\s+State\s+AdminStatus + ^\s+${NEIGHBOUR}\s+${REMOTE_AS}\s+\d+\s+\d+\s+\S+\s+${STATE}\s+${ADMIN_STATUS} -> Record + ^\s*$$ -> Clear Start + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_interface.textfsm b/ntc_templates/templates/aruba_aoscx_show_interface.textfsm new file mode 100644 index 0000000000..d8147bd826 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_interface.textfsm @@ -0,0 +1,77 @@ +Value INTERFACE (\S+) +Value LINK_STATUS (\w+) +Value LINK_ADMIN (\w+) +Value LINK_STATE_INFO (\.*) +Value LINK_TRANSITIONS (\d+) +Value INTERFACE_DESC (.*) +Value HW_TYPE (\w+) +Value MAC (\S+) +Value MTU (\d+) +Value IF_TYPE (\S+) +Value DUPLEX (\w+) +Value QOS_TRUST (\S+) +Value SPEED (\S+\s\S+) +Value AUTO_NEG (\S+) +Value FLOW_CONTROL (\S+) +Value ERROR_CONTROL (\S+) +Value VLAN_MODE (\S+) +Value VLAN_ACCESS (\S+) +Value RX_TOTAL_PACKETS (\d+) +Value RX_TOTAL_BYTES (\d+) +Value RX_UNICAST_PACKETS (\d+) +Value RX_MCAST_PACKETS (\d+) +Value RX_BROADCAST_PACKETS (\d+) +Value RX_ERRORS (\d+) +Value RX_DROPPED (\d+) +Value RX_CRC_FCS (\d+) +Value TX_TOTAL_PACKETS (\d+) +Value TX_TOTAL_BYTES (\d+) +Value TX_UNICAST_PACKETS (\d+) +Value TX_MCAST_PACKETS (\d+) +Value TX_BROADCAST_PACKETS (\d+) +Value TX_ERRORS (\d+) +Value TX_DROPPED (\d+) +Value TX_CRC_FCS (\d+) +Value TX_COLLISION (\d+) + +Start + ^\s*Interface\s*${INTERFACE}\s*is\s*${LINK_STATUS} + ^\s*Admin\s*state\s*is\s*${LINK_ADMIN} + ^\s*Link\s*transitions:\s*${LINK_TRANSITIONS} + ^\s*Description:\s${INTERFACE_DESC} + ^\s*State\s*information:\s*${LINK_STATE_INFO} + ^\s*Hardware:\s*${HW_TYPE},?\s*MAC\s*Address:\s+${MAC} + ^\s*MTU\s*${MTU} + ^\s*Type\s*${IF_TYPE} + ^\s*${DUPLEX}-duplex + ^\s*qos\s*trust\s*${QOS_TRUST} + ^\s*Speed\s*${SPEED} + ^\s*Auto-negotiation\s*is\s*${AUTO_NEG} + ^\s*Flow-control: ${FLOW_CONTROL} + ^\s*Error-control: ${ERROR_CONTROL} + ^\s*VLAN Mode: ${VLAN_MODE} + ^\s*Access VLAN: ${VLAN_ACCESS} + ^\s*Rx -> Rx + ^\s*Description: + ^. -> Error + +Rx + ^\s*${RX_TOTAL_PACKETS} total packets\s*${RX_TOTAL_BYTES} total bytes + ^\s*${RX_UNICAST_PACKETS} unicast packets + ^\s*${RX_MCAST_PACKETS} multicast packets + ^\s*${RX_BROADCAST_PACKETS} broadcast packets + ^\s*${RX_ERRORS} errors\s*${RX_DROPPED} dropped + ^\s*${RX_CRC_FCS} CRC/FCS + ^\s*Tx -> Tx + ^. -> Error + +Tx + ^\s*${TX_TOTAL_PACKETS} total packets\s*${TX_TOTAL_BYTES} total bytes + ^\s*${TX_UNICAST_PACKETS} unicast packets + ^\s*${TX_MCAST_PACKETS} multicast packets + ^\s*${TX_BROADCAST_PACKETS} broadcast packets + ^\s*${TX_ERRORS} errors\s*${TX_DROPPED} dropped + ^\s*${TX_CRC_FCS} CRC/FCS + ^\s*${TX_COLLISION}\s*collision + ^\s*$$ -> Record Start + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm new file mode 100644 index 0000000000..dfbad07d31 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm @@ -0,0 +1,114 @@ +Value IFACE (\S+) +Value IFACE_TYPE (\S+) +Value List CHANNEL (\d+) +Value TEMPERATURE (-?\d+\.\d+\w) +Value TEMP_HIGH_ALARM_TRIG (\w+) +Value TEMP_LOW_ALARM_TRIG (\w+) +Value TEMP_HIGH_WARN_TRIG (\w+) +Value TEMP_LOW_WARN_TRIG (\w+) +Value TEMP_HIGH_ALARM_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_LOW_ALARM_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_HIGH_WARN_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_LOW_WARN_THRESHOLD (-?\d+\.\d+\w) +Value VOLTAGE (\d+\.\d+\w) +Value VOLT_HIGH_ALARM_TRIG (\w+) +Value VOLT_LOW_ALARM_TRIG (\w+) +Value VOLT_HIGH_WARN_TRIG (\w+) +Value VOLT_LOW_WARN_TRIG (\w+) +Value VOLT_HIGH_ALARM_THRESHOLD (\d+\.\d+\w) +Value VOLT_LOW_ALARM_THRESHOLD (\d+\.\d+\w) +Value VOLT_HIGH_WARN_THRESHOLD (\d+\.\d+\w) +Value VOLT_LOW_WARN_THRESHOLD (\d+\.\d+\w) +Value List TX_BIAS (\d+\.\d+\w+) +Value List TX_BIAS_HIGH_ALARM_TRIG (\w+) +Value List TX_BIAS_LOW_ALARM_TRIG (\w+) +Value List TX_BIAS_HIGH_WARN_TRIG (\w+) +Value List TX_BIAS_LOW_WARN_TRIG (\w+) +Value List TX_BIAS_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_LOW_WARN_THRESHOLD (\d+\.\d+\w+) +Value List RX_MW (\d+\.\d+\w+) +Value List RX_HIGH_ALARM_TRIG (\w+) +Value List RX_LOW_ALARM_TRIG (\w+) +Value List RX_HIGH_WARN_TRIG (\w+) +Value List RX_LOW_WARN_TRIG (\w+) +Value List RX_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List RX_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List RX_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List RX_LOW_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_MW (\d+\.\d+\w+) +Value List TX_HIGH_ALARM_TRIG (\w+) +Value List TX_LOW_ALARM_TRIG (\w+) +Value List TX_HIGH_WARN_TRIG (\w+) +Value List TX_LOW_WARN_TRIG (\w+) +Value List TX_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_LOW_WARN_THRESHOLD (\d+\.\d+\w+) + + +Start + ^Transceiver -> Continue.Record + ^Transceiver\s+in\s+${IFACE} + ^\s+Type:\s${IFACE_TYPE} + ^\s+% No DOM information available -> Next.Clear + ^\s+Temperature:\s+${TEMPERATURE} -> Common + ^\s+Channel\s+${CHANNEL}: -> Common + ^\. -> Error + +Common + ^\s+Temperature high alarm: ${TEMP_HIGH_ALARM_TRIG} + ^\s+Temperature low alarm: ${TEMP_LOW_ALARM_TRIG} + ^\s+Temperature high warning: ${TEMP_HIGH_WARN_TRIG} + ^\s+Temperature low warning: ${TEMP_LOW_WARN_TRIG} + ^\s+Temperature high alarm threshold: ${TEMP_HIGH_ALARM_THRESHOLD} + ^\s+Temperature low alarm threshold: ${TEMP_LOW_ALARM_THRESHOLD} + ^\s+Temperature high warning threshold: ${TEMP_HIGH_WARN_THRESHOLD} + ^\s+Temperature low warning threshold: ${TEMP_LOW_WARN_THRESHOLD} + ^\s+Voltage:\s+${VOLTAGE} + ^\s+Voltage high alarm: ${VOLT_HIGH_ALARM_TRIG} + ^\s+Voltage low alarm: ${VOLT_LOW_ALARM_TRIG} + ^\s+Voltage high warning: ${VOLT_HIGH_WARN_TRIG} + ^\s+Voltage low warning: ${VOLT_LOW_WARN_TRIG} + ^\s+Voltage high alarm threshold: ${VOLT_HIGH_ALARM_THRESHOLD} + ^\s+Voltage low alarm threshold: ${VOLT_LOW_ALARM_THRESHOLD} + ^\s+Voltage high warning threshold: ${VOLT_HIGH_WARN_THRESHOLD} + ^\s+Voltage low warning threshold: ${VOLT_LOW_WARN_THRESHOLD} + ^\s+Tx Bias: ${TX_BIAS} -> Details + ^\s*$$ -> Start + ^\. -> Error + +Details + ^\s+Channel\s+${CHANNEL}: + ^\s+Tx Bias: ${TX_BIAS} + ^\s+Tx Bias high alarm: ${TX_BIAS_HIGH_ALARM_TRIG} + ^\s+Tx Bias low alarm: ${TX_BIAS_LOW_ALARM_TRIG} + ^\s+Tx Bias high warning: ${TX_BIAS_HIGH_WARN_TRIG} + ^\s+Tx Bias low warning: ${TX_BIAS_LOW_WARN_TRIG} + ^\s+Tx Bias high alarm threshold: ${TX_BIAS_HIGH_ALARM_THRESHOLD} + ^\s+Tx Bias low alarm threshold: ${TX_BIAS_LOW_ALARM_THRESHOLD} + ^\s+Tx Bias high warning threshold: ${TX_BIAS_HIGH_WARN_THRESHOLD} + ^\s+Tx Bias low warning threshold: ${TX_BIAS_LOW_WARN_THRESHOLD} + ^\s+Rx Power: ${RX_MW} + ^\s+Rx Power high alarm: ${RX_HIGH_ALARM_TRIG} + ^\s+Rx Power low alarm: ${RX_LOW_ALARM_TRIG} + ^\s+Rx Power high warning: ${RX_HIGH_WARN_TRIG} + ^\s+Rx Power low warning: ${RX_LOW_WARN_TRIG} + ^\s+Rx Power high alarm threshold: ${RX_HIGH_ALARM_THRESHOLD} + ^\s+Rx Power low alarm threshold: ${RX_LOW_ALARM_THRESHOLD} + ^\s+Rx Power high warning threshold: ${RX_HIGH_WARN_THRESHOLD} + ^\s+Rx Power low warning threshold: ${RX_LOW_WARN_THRESHOLD} + ^\s+Tx Power: ${TX_MW} + ^\s+Tx Power high alarm: ${TX_HIGH_ALARM_TRIG} + ^\s+Tx Power low alarm: ${TX_LOW_ALARM_TRIG} + ^\s+Tx Power high warning: ${TX_HIGH_WARN_TRIG} + ^\s+Tx Power low warning: ${TX_LOW_WARN_TRIG} + ^\s+Tx Power high alarm threshold: ${TX_HIGH_ALARM_THRESHOLD} + ^\s+Tx Power low alarm threshold: ${TX_LOW_ALARM_THRESHOLD} + ^\s+Tx Power high warning threshold: ${TX_HIGH_WARN_THRESHOLD} + ^\s+Tx Power low warning threshold: ${TX_LOW_WARN_THRESHOLD} + ^\s*$$ + ^Transceiver -> Continue.Record + ^Transceiver\s+in\s+${IFACE} -> Start + ^\. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm new file mode 100644 index 0000000000..b207926779 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm @@ -0,0 +1,14 @@ +Value Filldown IP (\d+\.\d+\.\d+\.\d+\/\d+) +Value Filldown VRF (\S+) +Value List IFACE (\S+) +Value List METRIC (\[\S+\]) +Value List STATUS (\w+) + +Start + ^\s*Displaying.* + ^\s*$$ + ^\s*\S+\s+denotes.* + ^\d+\.\d+\.\d+\.\d+\/\d+\W\s+vrf\s+\S+ -> Continue.Record + ^${IP}\W\s+vrf\s+${VRF} + ^\s+via\s+${IFACE},\s+${METRIC},\s+${STATUS} + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm new file mode 100644 index 0000000000..b0e1558ede --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm @@ -0,0 +1,33 @@ +Value Required LOCAL_PORT (\S+) +Value Required CHASSIS_ID (\S+) +Value CHASSIS_NAME (\S+) +Value CHASSIS_DESC (.+) +Value CAPABILITIES (.+) +Value CAPABILITIES_ENABLED (.+) +Value MGMT_ADDR (\S+) +Value PORT_ID (\S+) +Value PORT_DESC (\S+) + + +Start + ^Port\s*:\s*${LOCAL_PORT} + ^Neighbor\s*Chassis-Name\s*:\s*${CHASSIS_NAME} + ^Neighbor\s*Chassis-Description\s*:\s*${CHASSIS_DESC} + ^Neighbor\s*Chassis-ID\s*:\s*${CHASSIS_ID} + ^Neighbor\s*Management-Address\s*:\s*${MGMT_ADDR} + ^Chassis\s*Capabilities\s*Available\s*:\s*${CAPABILITIES} + ^Chassis\s*Capabilities\s*Enabled\s*:\s*${CAPABILITIES_ENABLED} + ^Neighbor\s*Port-ID\s*:\s*${PORT_ID} + ^Neighbor\s*Port-Desc\s*:\s*${PORT_DESC} + ^-+$$ -> Record + ^Neighbor\.* + ^TTL\.* + ^P[D|SE]\.* + ^Power\.* + ^\s+ -> Next + ^\S+#\.* -> Next + ^LLDP\.* + ^Total\.* + ^=+ + ^. -> Error + diff --git a/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm new file mode 100644 index 0000000000..d33936f28d --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm @@ -0,0 +1,13 @@ +Value MAC (\S+) +Value VLAN (\d+) +Value TYPE ([a-z]+) +Value PORT (\S+) + +Start + ^MAC\s+age-time.*$$ + ^Number\s+of\s+MAC.*$$ + ^MAC\s+Address\s+VLAN\s+Type\s+Port + ^-+$$ + ^${MAC}\s+${VLAN}\s+${TYPE}\s+${PORT} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm b/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm new file mode 100644 index 0000000000..fb9f08a663 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm @@ -0,0 +1,14 @@ +Value ID (\W?\s+\d+) +Value NAME (\d+\.\d+\.\d+\.\d+) +Value REMOTE (\d+\.\d+\.\d+\.\d+) +Value REF_ID (\d+\.\d+\.\d+\.\d+) +Value STRATUM (\d+) +Value LAST (\d+) +Value POLL (\d+) +Value REACH (\d+) + +Start + ^-+$$ + ^\s+ID\s+NAME\s+REMOTE\s+REF-ID\s+ST\s+LAST\s+POLL\s+REACH + ^${ID}\s+${NAME}\s+${REMOTE}\s+${REF_ID}\s+${STRATUM}\s+${LAST}\s+${POLL}\s+${REACH} -> Record + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm new file mode 100644 index 0000000000..9edd207632 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm @@ -0,0 +1,18 @@ +Value MEMBER_ID (\S+) +Value MAC (\S+) +Value STATUS (.*) +Value CPU (\d+%) +Value MEMORY (\d+%) +Value VSF_LINK_1 (.*) +Value VSF_LINK_2 (.*) + +Start + ^VSF\s*${MEMBER_ID} + ^Member.* -> Continue.Record + ^Member\s+ID\s+:\s+${MEMBER_ID} + ^\s+MAC\s+Address\s+:\s+${MAC} + ^\s+Status\s+:\s+${STATUS} + ^\s+CPU\sUtilization\s+:\s+${CPU} + ^\s+Memory\sUtilization\s+:\s+${MEMORY} + ^\s+VSF\s+Link\s+1\s+:${VSF_LINK_1} + ^\s+VSF\s+Link\s+2\s+:${VSF_LINK_2} diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 93121f8db1..caff0a197c 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -71,6 +71,17 @@ arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf +aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm , .*, aruba_aoscx, sh[[ow]] aa[[a]] authe[[ntication]] port-access interface all client-status +aruba_aoscx_show_lldp_neighbors-info_detail.textfsm, .*, aruba_aoscx, sh[[ow]] ll[[dp]] nei[[ghbors-info]] d[[etail]] +aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm, .*, aruba_aoscx, sh[[ow]] bgp all-[[vrfs]] a[[ll]] s[[ummary]] +aruba_aoscx_show_interface_dom_detail.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] dom d[[etail]] +aruba_aoscx_show_ip_route_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] ip r[[oute]] a[[ll-vrfs]] +aruba_aoscx_show_mac-address-table.textfsm, .*, aruba_aoscx, sh[[ow]] ma[[c-address-table]] +aruba_aoscx_show_ntp_associations.textfsm, .*, aruba_aoscx, sh[[ow]] ntp as[[sociations]] +aruba_aoscx_show_arp_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] ar[[p]] a[[ll-vrfs]] +aruba_aoscx_show_bfd_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] bf[[d]] a[[ll-vrfs]] +aruba_aoscx_show_vsf_detail.textfsm , .*, aruba_aoscx, sh[[ow]] vsf d[[etail]] +aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] diff --git a/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw new file mode 100644 index 0000000000..98277acc10 --- /dev/null +++ b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw @@ -0,0 +1,340 @@ +Port Access Client Status Details + +Client 90:4c:81:cf:10:30, ap-0148-0125 +============================ + Session Details + --------------- + Port : 2/1/15 + Session Time : 5340956s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0e:ec, ap-0148-0114 +============================ + Session Details + --------------- + Port : 1/1/4 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 20:a6:cd:cf:6d:16, ap-0148-0111 +============================ + Session Details + --------------- + Port : 1/1/1 + Session Time : 5340969s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:98, ap-0148-0123 +============================ + Session Details + --------------- + Port : 2/1/13 + Session Time : 5340966s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0e:f4, ap-0148-0122 +============================ + Session Details + --------------- + Port : 2/1/12 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1b:ac, ap-0148-0115 +============================ + Session Details + --------------- + Port : 1/1/5 + Session Time : 5340962s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:7e, ap-0148-0112 +============================ + Session Details + --------------- + Port : 1/1/2 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:9a, ap-0148-0121 +============================ + Session Details + --------------- + Port : 2/1/11 + Session Time : 5340961s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:8e, ap-0148-0120 +============================ + Session Details + --------------- + Port : 2/1/10 + Session Time : 5340960s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:ee, ap-0148-0113 +============================ + Session Details + --------------- + Port : 1/1/3 + Session Time : 5340966s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 00:20:85:e1:6e:4e, ups-0148-0003 +============================ + Session Details + --------------- + Port : 2/1/48 + Session Time : 5342401s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ups-3128-4 + Status : Applied + + +Client 90:4c:81:cf:0f:10, ap-0148-0118 +============================ + Session Details + --------------- + Port : 1/1/8 + Session Time : 5340968s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:5c, ap-0148-0117 +============================ + Session Details + --------------- + Port : 1/1/7 + Session Time : 5340969s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:92, ap-0148-0126 +============================ + Session Details + --------------- + Port : 2/1/16 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:74, ap-0148-0116 +============================ + Session Details + --------------- + Port : 1/1/6 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:e6, ap-0148-0124 +============================ + Session Details + --------------- + Port : 2/1/14 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:1c, ap-0148-0119 +============================ + Session Details + --------------- + Port : 2/1/9 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied \ No newline at end of file diff --git a/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml new file mode 100644 index 0000000000..42aee13fc7 --- /dev/null +++ b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - client_mac: "90:4c:81:cf:10:30" + client_name: "ap-0148-0125" + session_port: "2/1/15" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0e:ec" + client_name: "ap-0148-0114" + session_port: "1/1/4" + role: "dur_cx_ap-3116-4" + - client_mac: "20:a6:cd:cf:6d:16" + client_name: "ap-0148-0111" + session_port: "1/1/1" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:98" + client_name: "ap-0148-0123" + session_port: "2/1/13" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0e:f4" + client_name: "ap-0148-0122" + session_port: "2/1/12" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1b:ac" + client_name: "ap-0148-0115" + session_port: "1/1/5" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:7e" + client_name: "ap-0148-0112" + session_port: "1/1/2" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:9a" + client_name: "ap-0148-0121" + session_port: "2/1/11" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:8e" + client_name: "ap-0148-0120" + session_port: "2/1/10" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:ee" + client_name: "ap-0148-0113" + session_port: "1/1/3" + role: "dur_cx_ap-3116-4" + - client_mac: "00:20:85:e1:6e:4e" + client_name: "ups-0148-0003" + session_port: "2/1/48" + role: "dur_cx_ups-3128-4" + - client_mac: "90:4c:81:cf:0f:10" + client_name: "ap-0148-0118" + session_port: "1/1/8" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:5c" + client_name: "ap-0148-0117" + session_port: "1/1/7" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:92" + client_name: "ap-0148-0126" + session_port: "2/1/16" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:74" + client_name: "ap-0148-0116" + session_port: "1/1/6" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:e6" + client_name: "ap-0148-0124" + session_port: "2/1/14" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:1c" + client_name: "ap-0148-0119" + session_port: "2/1/9" + role: "dur_cx_ap-3116-4" diff --git a/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw new file mode 100644 index 0000000000..86604d0152 --- /dev/null +++ b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw @@ -0,0 +1,6 @@ +IPv4 Address MAC Port Physical Port State VRF +------------------------------------------------------------------------------------------------------------------ +172.25.0.185 d4:e8:80:af:05:7f 1/1/28 1/1/28 reachable default +172.25.0.189 d4:e8:80:af:04:7f 2/1/28 2/1/28 reachable default +Total Number Of ARP Entries Listed- 2. +------------------------------------------------------------------------------------------------------------------ \ No newline at end of file diff --git a/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml new file mode 100644 index 0000000000..dfc6a69dfb --- /dev/null +++ b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - address: "172.25.0.185" + mac: "d4:e8:80:af:05:7f" + port_id: "1/1/28" + physical_port: "1/1/28" + state: "reachable" + vrf: "default" + - address: "172.25.0.189" + mac: "d4:e8:80:af:04:7f" + port_id: "2/1/28" + physical_port: "2/1/28" + state: "reachable" + vrf: "default" diff --git a/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw new file mode 100644 index 0000000000..c05acaac54 --- /dev/null +++ b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw @@ -0,0 +1,10 @@ +Admin status: enabled +Echo source IP: +Statistics: +Total number of control packets transmitted: 4200050 +Total number of control packets received: 4540241 +Total number of control packets dropped: 0 +Session Interface VRF Source IP Destination IP Echo State Protocol +------- --------- --------- --------------------------------------- --------------------------------------- -------- ------------ ------------ +1 2/1/28 default 172.25.0.190 172.25.0.189 enabled up bgp +2 1/1/28 default 172.25.0.186 172.25.0.185 enabled up bgp diff --git a/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml new file mode 100644 index 0000000000..e3da407ff8 --- /dev/null +++ b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - admin_status: "enabled" + src_ip: "" + session: "1" + iface: "2/1/28" + vrf: "default" + source_ip: "172.25.0.190" + destination_ip: "172.25.0.189" + echo: "enabled" + state: "up" + application: "bgp" + - admin_status: "enabled" + src_ip: "" + session: "2" + iface: "1/1/28" + vrf: "default" + source_ip: "172.25.0.186" + destination_ip: "172.25.0.185" + echo: "enabled" + state: "up" + application: "bgp" diff --git a/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw new file mode 100644 index 0000000000..9be7b50bac --- /dev/null +++ b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw @@ -0,0 +1,21 @@ +VRF : default +BGP Summary +----------- + Local AS : 4290020685 BGP Router Identifier : 192.168.100.1 + Peers : 4 Log Neighbor Changes : No + Cfg. Hold Time : 180 Cfg. Keep Alive : 60 + +Address-family : IPv4 Unicast +----------------------------- + Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus + 10.252.13.2 4290020685 0 0 00h:00m:00s Idle Up + 172.25.0.1 4290000000 116314 133774 02m:02w:06d Established Up + +Address-family : IPv6 Unicast +----------------------------- + +Address-family : L2VPN EVPN +----------------------------- + Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus + 172.18.174.17 4290000000 116310 133770 02m:02w:06d Established Up + 172.18.174.18 4290000000 116310 133742 02m:02w:06d Established Up \ No newline at end of file diff --git a/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml new file mode 100644 index 0000000000..61ddceef26 --- /dev/null +++ b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - vrf: "default" + af: "IPv4" + neighbour: "10.252.13.2" + remote_as: "4290020685" + state: "Idle" + admin_status: "Up" + - vrf: "default" + af: "IPv4" + neighbour: "172.25.0.1" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" + - vrf: "default" + af: "L2VPN" + neighbour: "172.18.174.17" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" + - vrf: "default" + af: "L2VPN" + neighbour: "172.18.174.18" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" diff --git a/tests/aruba_aoscx/show_interface/show_interface.raw b/tests/aruba_aoscx/show_interface/show_interface.raw new file mode 100644 index 0000000000..534a74c00a --- /dev/null +++ b/tests/aruba_aoscx/show_interface/show_interface.raw @@ -0,0 +1,505 @@ +Interface 1/1/1 is up + Admin state is up + Link transitions: 1 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:80 + MTU 9198 + Type SFP+DAC1 + Full-duplex + qos trust none + Speed 10000 Mb/s + Auto-negotiation is off + Flow-control: off + Error-control: off + Rx + 2417650 total packets 457274611 total bytes + 0 unicast packets + 1831055 multicast packets + 586595 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 116722501 total packets 8432615310 total bytes + 0 unicast packets + 116722496 multicast packets + 5 broadcast packets + 0 errors 14 dropped + 0 collision + +Interface 1/1/2 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7e + MTU 9198 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 14 dropped + 0 collision + +Interface 1/1/3 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7c + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/4 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7a + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/5 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:78 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/6 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:76 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/7 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:74 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/8 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:72 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/9 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:70 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/10 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6e + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/11 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6c + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/12 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6a + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/13 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:68 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/14 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:66 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/15 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:64 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/16 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:62 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/17 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:60 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off diff --git a/tests/aruba_aoscx/show_interface/show_interface.yml b/tests/aruba_aoscx/show_interface/show_interface.yml new file mode 100644 index 0000000000..1d2c1017e6 --- /dev/null +++ b/tests/aruba_aoscx/show_interface/show_interface.yml @@ -0,0 +1,597 @@ +--- +parsed_sample: + - interface: "1/1/1" + link_status: "up" + link_admin: "up" + link_state_info: "" + link_transitions: "1" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:80" + mtu: "9198" + if_type: "SFP+DAC1" + duplex: "Full" + qos_trust: "none" + speed: "10000 Mb/s" + auto_neg: "off" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "2417650" + rx_total_bytes: "457274611" + rx_unicast_packets: "0" + rx_mcast_packets: "1831055" + rx_broadcast_packets: "586595" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "116722501" + tx_total_bytes: "8432615310" + tx_unicast_packets: "0" + tx_mcast_packets: "116722496" + tx_broadcast_packets: "5" + tx_errors: "0" + tx_dropped: "14" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/2" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7e" + mtu: "9198" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "14" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/3" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7c" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/4" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7a" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/5" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:78" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/6" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:76" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/7" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:74" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/8" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:72" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/9" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:70" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/10" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6e" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/11" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6c" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/12" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6a" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/13" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:68" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/14" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:66" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/15" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:64" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/16" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:62" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/17" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:60" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "" + rx_total_bytes: "" + rx_unicast_packets: "" + rx_mcast_packets: "" + rx_broadcast_packets: "" + rx_errors: "" + rx_dropped: "" + rx_crc_fcs: "" + tx_total_packets: "" + tx_total_bytes: "" + tx_unicast_packets: "" + tx_mcast_packets: "" + tx_broadcast_packets: "" + tx_errors: "" + tx_dropped: "" + tx_crc_fcs: "" + tx_collision: "" diff --git a/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw new file mode 100644 index 0000000000..3d7137f964 --- /dev/null +++ b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw @@ -0,0 +1,188 @@ +Transceiver in 1/1/34 + Type: SFP+SR + Temperature: 23.60C + Temperature high alarm: Off + Temperature low alarm: Off + Temperature high warning: Off + Temperature low warning: Off + Temperature high alarm threshold: 75.00C + Temperature low alarm threshold: -5.00C + Temperature high warning threshold: 70.00C + Temperature low warning threshold: 0.00C + Voltage: 3.25V + Voltage high alarm: Off + Voltage low alarm: Off + Voltage high warning: Off + Voltage low warning: Off + Voltage high alarm threshold: 3.60V + Voltage low alarm threshold: 3.00V + Voltage high warning threshold: 3.50V + Voltage low warning threshold: 3.10V + Tx Bias: 5.64mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 12.00mA + Tx Bias low alarm threshold: 1.00mA + Tx Bias high warning threshold: 10.50mA + Tx Bias low warning threshold: 2.50mA + Rx Power: 0.54mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 1.00mW + Rx Power low alarm threshold: 0.05mW + Rx Power high warning threshold: 0.79mW + Rx Power low warning threshold: 0.10mW + Tx Power: 0.59mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 1.00mW + Tx Power low alarm threshold: 0.15mW + Tx Power high warning threshold: 0.79mW + Tx Power low warning threshold: 0.19mW + +Transceiver in 1/1/47 + Type: SFP56CR + % No DOM information available + +Transceiver in 1/1/48 + Type: SFP28DAC0.65 + % No DOM information available + +Transceiver in 1/1/56 + Type: QSFP+LR4 + Temperature: 28.00C + Temperature high alarm: Off + Temperature low alarm: Off + Temperature high warning: Off + Temperature low warning: Off + Temperature high alarm threshold: 78.00C + Temperature low alarm threshold: -5.00C + Temperature high warning threshold: 75.00C + Temperature low warning threshold: 0.00C + Voltage: 3.25V + Voltage high alarm threshold: 3.63V + Voltage low alarm threshold: 2.97V + Voltage high warning threshold: 3.46V + Voltage low warning threshold: 3.10V + + Channel 1: + Tx Bias: 33.10mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.48mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.26mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 2: + Tx Bias: 34.44mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.55mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.21mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 3: + Tx Bias: 36.21mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.52mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.18mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 4: + Tx Bias: 34.26mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.40mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.24mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW \ No newline at end of file diff --git a/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml new file mode 100644 index 0000000000..61bf9b8862 --- /dev/null +++ b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml @@ -0,0 +1,237 @@ +--- +parsed_sample: + - iface: "1/1/34" + iface_type: "SFP+SR" + channel: [] + temperature: "23.60C" + temp_high_alarm_trig: "Off" + temp_low_alarm_trig: "Off" + temp_high_warn_trig: "Off" + temp_low_warn_trig: "Off" + temp_high_alarm_threshold: "75.00C" + temp_low_alarm_threshold: "-5.00C" + temp_high_warn_threshold: "70.00C" + temp_low_warn_threshold: "0.00C" + voltage: "3.25V" + volt_high_alarm_trig: "Off" + volt_low_alarm_trig: "Off" + volt_high_warn_trig: "Off" + volt_low_warn_trig: "Off" + volt_high_alarm_threshold: "3.60V" + volt_low_alarm_threshold: "3.00V" + volt_high_warn_threshold: "3.50V" + volt_low_warn_threshold: "3.10V" + tx_bias: + - "5.64mA" + tx_bias_high_alarm_trig: + - "Off" + tx_bias_low_alarm_trig: + - "Off" + tx_bias_high_warn_trig: + - "Off" + tx_bias_low_warn_trig: + - "Off" + tx_bias_high_alarm_threshold: + - "12.00mA" + tx_bias_low_alarm_threshold: + - "1.00mA" + tx_bias_high_warn_threshold: + - "10.50mA" + tx_bias_low_warn_threshold: + - "2.50mA" + rx_mw: + - "0.54mW" + rx_high_alarm_trig: + - "Off" + rx_low_alarm_trig: + - "Off" + rx_high_warn_trig: + - "Off" + rx_low_warn_trig: + - "Off" + rx_high_alarm_threshold: + - "1.00mW" + rx_low_alarm_threshold: + - "0.05mW" + rx_high_warn_threshold: + - "0.79mW" + rx_low_warn_threshold: + - "0.10mW" + tx_mw: + - "0.59mW" + tx_high_alarm_trig: + - "Off" + tx_low_alarm_trig: + - "Off" + tx_high_warn_trig: + - "Off" + tx_low_warn_trig: + - "Off" + tx_high_alarm_threshold: + - "1.00mW" + tx_low_alarm_threshold: + - "0.15mW" + tx_high_warn_threshold: + - "0.79mW" + tx_low_warn_threshold: + - "0.19mW" + - iface: "1/1/56" + iface_type: "QSFP+LR4" + channel: + - "1" + - "2" + - "3" + - "4" + temperature: "28.00C" + temp_high_alarm_trig: "Off" + temp_low_alarm_trig: "Off" + temp_high_warn_trig: "Off" + temp_low_warn_trig: "Off" + temp_high_alarm_threshold: "78.00C" + temp_low_alarm_threshold: "-5.00C" + temp_high_warn_threshold: "75.00C" + temp_low_warn_threshold: "0.00C" + voltage: "3.25V" + volt_high_alarm_trig: "" + volt_low_alarm_trig: "" + volt_high_warn_trig: "" + volt_low_warn_trig: "" + volt_high_alarm_threshold: "3.63V" + volt_low_alarm_threshold: "2.97V" + volt_high_warn_threshold: "3.46V" + volt_low_warn_threshold: "3.10V" + tx_bias: + - "33.10mA" + - "34.44mA" + - "36.21mA" + - "34.26mA" + tx_bias_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_high_alarm_threshold: + - "105.00mA" + - "105.00mA" + - "105.00mA" + - "105.00mA" + tx_bias_low_alarm_threshold: + - "8.00mA" + - "8.00mA" + - "8.00mA" + - "8.00mA" + tx_bias_high_warn_threshold: + - "105.00mA" + - "105.00mA" + - "105.00mA" + - "105.00mA" + tx_bias_low_warn_threshold: + - "10.00mA" + - "10.00mA" + - "10.00mA" + - "10.00mA" + rx_mw: + - "0.48mW" + - "0.55mW" + - "0.52mW" + - "0.40mW" + rx_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_high_alarm_threshold: + - "2.14mW" + - "2.14mW" + - "2.14mW" + - "2.14mW" + rx_low_alarm_threshold: + - "0.02mW" + - "0.02mW" + - "0.02mW" + - "0.02mW" + rx_high_warn_threshold: + - "1.70mW" + - "1.70mW" + - "1.70mW" + - "1.70mW" + rx_low_warn_threshold: + - "0.04mW" + - "0.04mW" + - "0.04mW" + - "0.04mW" + tx_mw: + - "1.26mW" + - "1.21mW" + - "1.18mW" + - "1.24mW" + tx_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_high_alarm_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_low_alarm_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_high_warn_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_low_warn_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" diff --git a/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw new file mode 100644 index 0000000000..fcf6b97bf3 --- /dev/null +++ b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw @@ -0,0 +1,33 @@ +Displaying ipv4 routes selected for forwarding + +'[x/y]' denotes [distance/metric] + +0.0.0.0/0, vrf default + via 172.25.0.189, [20/0], bgp + via 172.25.0.185, [20/0], bgp +10.252.14.109/32, vrf default + via loopback0, [0/0], local +10.252.22.128/26, vrf default + via vlan3564, [0/0], connected +10.252.22.129/32, vrf default + via vlan3564, [0/0], local +10.252.34.224/27, vrf default + via vlan3560, [0/0], connected +10.252.34.225/32, vrf default + via vlan3560, [0/0], local +10.252.71.0/25, vrf default + via vlan3561, [0/0], connected +10.252.71.1/32, vrf default + via vlan3561, [0/0], local +10.252.151.0/24, vrf default + via vlan3590, [0/0], connected +10.252.151.1/32, vrf default + via vlan3590, [0/0], local +172.25.0.184/30, vrf default + via 1/1/28, [0/0], connected +172.25.0.186/32, vrf default + via 1/1/28, [0/0], local +172.25.0.188/30, vrf default + via 2/1/28, [0/0], connected +172.25.0.190/32, vrf default + via 2/1/28, [0/0], local \ No newline at end of file diff --git a/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml new file mode 100644 index 0000000000..9742c0d9ff --- /dev/null +++ b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml @@ -0,0 +1,117 @@ +--- +parsed_sample: + - ip: "0.0.0.0/0" + vrf: "default" + iface: + - "172.25.0.189" + - "172.25.0.185" + metric: + - "[20/0]" + - "[20/0]" + status: + - "bgp" + - "bgp" + - ip: "10.252.14.109/32" + vrf: "default" + iface: + - "loopback0" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.22.128/26" + vrf: "default" + iface: + - "vlan3564" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.22.129/32" + vrf: "default" + iface: + - "vlan3564" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.34.224/27" + vrf: "default" + iface: + - "vlan3560" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.34.225/32" + vrf: "default" + iface: + - "vlan3560" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.71.0/25" + vrf: "default" + iface: + - "vlan3561" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.71.1/32" + vrf: "default" + iface: + - "vlan3561" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.151.0/24" + vrf: "default" + iface: + - "vlan3590" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.151.1/32" + vrf: "default" + iface: + - "vlan3590" + metric: + - "[0/0]" + status: + - "local" + - ip: "172.25.0.184/30" + vrf: "default" + iface: + - "1/1/28" + metric: + - "[0/0]" + status: + - "connected" + - ip: "172.25.0.186/32" + vrf: "default" + iface: + - "1/1/28" + metric: + - "[0/0]" + status: + - "local" + - ip: "172.25.0.188/30" + vrf: "default" + iface: + - "2/1/28" + metric: + - "[0/0]" + status: + - "connected" + - ip: "172.25.0.190/32" + vrf: "default" + iface: + - "2/1/28" + metric: + - "[0/0]" + status: + - "local" diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw new file mode 100644 index 0000000000..cf38c04014 --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw @@ -0,0 +1,192 @@ +sw-0620-0001# show lldp neighbor-info detail +LLDP Neighbor Information +========================= +Total Neighbor Entries : 6 +Total Neighbor Entries Deleted : 0 +Total Neighbor Entries Dropped : 0 +Total Neighbor Entries Aged-Out : 0 +-------------------------------------------------------------------------------- +Port : 1/1/1 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-335-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 335), Version Aruba AP +Neighbor Chassis-ID : 70:3a:0e:cd:41:fe +Neighbor Management-Address : 10.252.99.12 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 70:3a:0e:cd:41:fe +Neighbor Port-Desc : eth0 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 2 PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 25.5 W +PSE Allocated Power Value : 25.5 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class4 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 1/1/2 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-535-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 535), Version Aruba AP +Neighbor Chassis-ID : 00:4e:35:c5:d2:2e +Neighbor Management-Address : 10.252.99.11 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 00:4e:35:c5:d2:2e +Neighbor Port-Desc : eth0 +Neighbor Port VLAN ID : +TTL : 120 + +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 3 Single Signature PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 32.1 W +PSE Allocated Power Value : 32.1 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class5 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +PSE Allocated Power Value Alt A: 0.0 W +PD Requested Power Value Mode A: 0.0 W +PSE Allocated Power Value Alt B: 0.0 W +PD Requested Power Value Mode B: 0.0 W +Power At PD Powered Interface : 0.0 W +Neighbor Powered Status : Single Signature PD +Neighbor Power Class Pair A : - +Neighbor Power Class Pair B : - +Powering on both PD modes : No +PD load electrically isolated : No +Neighbor PD Autoclass Request : No +Neighbor Power Down Request : No +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 1/1/52 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : rtr-agg-0620-a +Neighbor Chassis-Description : Aruba JL635A GL.10.05.0021 +Neighbor Chassis-ID : 90:20:c2:bf:ae:00 +Neighbor Management-Address : 10.252.15.17 +Chassis Capabilities Available : Bridge, Router +Chassis Capabilities Enabled : Bridge, Router +Neighbor Port-ID : 1/1/1 +Neighbor Port-Desc : 1/1/1 +Neighbor Port VLAN ID : 3560 +TTL : 120 +-------------------------------------------------------------------------------- +Port : 2/1/1 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-335-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 335), Version Aruba AP +Neighbor Chassis-ID : 70:3a:0e:cd:41:fe +Neighbor Management-Address : 10.252.99.12 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 70:3a:0e:cd:41:ff +Neighbor Port-Desc : eth1 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 2 PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 25.5 W +PSE Allocated Power Value : 25.5 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class4 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, 100 BASE_TX, 10 BASET_FD, 10 BASE_T +Neighbor MAU type : 1000 BASETFD +-------------------------------------------------------------------------------- +Port : 2/1/2 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-535-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 535), Version Aruba AP +Neighbor Chassis-ID : 00:4e:35:c5:d2:2e +Neighbor Management-Address : 10.252.99.11 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 00:4e:35:c5:d2:2f +Neighbor Port-Desc : eth1 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 3 Single Signature PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 32.1 W +PSE Allocated Power Value : 32.1 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class5 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +PSE Allocated Power Value Alt A: 0.0 W +PD Requested Power Value Mode A: 0.0 W +PSE Allocated Power Value Alt B: 0.0 W +PD Requested Power Value Mode B: 0.0 W +Power At PD Powered Interface : 0.0 W +Neighbor Powered Status : Single Signature PD +Neighbor Power Class Pair A : - +Neighbor Power Class Pair B : - +Powering on both PD modes : No +PD load electrically isolated : No +Neighbor PD Autoclass Request : No +Neighbor Power Down Request : No +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 2/1/52 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : rtr-agg-0620-b +Neighbor Chassis-Description : Aruba JL635A GL.10.05.0021 +Neighbor Chassis-ID : 90:20:c2:bf:ed:00 +Neighbor Management-Address : 10.252.15.18 +Chassis Capabilities Available : Bridge, Router +Chassis Capabilities Enabled : Bridge, Router +Neighbor Port-ID : 1/1/1 +Neighbor Port-Desc : 1/1/1 +Neighbor Port VLAN ID : 3560 +TTL : 120 diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml new file mode 100644 index 0000000000..2626b5fbf8 --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - local_port: "1/1/1" + chassis_id: "70:3a:0e:cd:41:fe" + chassis_name: "ap-9999-335-fe" + chassis_desc: "ArubaOS (MODEL: 335), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.12" + port_id: "70:3a:0e:cd:41:fe" + port_desc: "eth0" + - local_port: "1/1/2" + chassis_id: "00:4e:35:c5:d2:2e" + chassis_name: "ap-9999-535-fe" + chassis_desc: "ArubaOS (MODEL: 535), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.11" + port_id: "00:4e:35:c5:d2:2e" + port_desc: "eth0" + - local_port: "1/1/52" + chassis_id: "90:20:c2:bf:ae:00" + chassis_name: "rtr-agg-0620-a" + chassis_desc: "Aruba JL635A GL.10.05.0021" + capabilities: "Bridge, Router" + capabilities_enabled: "Bridge, Router" + mgmt_addr: "10.252.15.17" + port_id: "1/1/1" + port_desc: "1/1/1" + - local_port: "2/1/1" + chassis_id: "70:3a:0e:cd:41:fe" + chassis_name: "ap-9999-335-fe" + chassis_desc: "ArubaOS (MODEL: 335), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.12" + port_id: "70:3a:0e:cd:41:ff" + port_desc: "eth1" + - local_port: "2/1/2" + chassis_id: "00:4e:35:c5:d2:2e" + chassis_name: "ap-9999-535-fe" + chassis_desc: "ArubaOS (MODEL: 535), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.11" + port_id: "00:4e:35:c5:d2:2f" + port_desc: "eth1" + - local_port: "2/1/52" + chassis_id: "90:20:c2:bf:ed:00" + chassis_name: "rtr-agg-0620-b" + chassis_desc: "Aruba JL635A GL.10.05.0021" + capabilities: "Bridge, Router" + capabilities_enabled: "Bridge, Router" + mgmt_addr: "10.252.15.18" + port_id: "1/1/1" + port_desc: "1/1/1" diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw new file mode 100644 index 0000000000..e8772d632f --- /dev/null +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw @@ -0,0 +1,10 @@ +MAC age-time : 300 seconds +Number of MAC addresses : 5 + +MAC Address VLAN Type Port +-------------------------------------------------------------- +88:3a:30:a3:86:80 1 dynamic lag100 +90:e2:ba:28:0d:f1 10 dynamic lag100 +00:01:2e:82:0f:7b 3560 dynamic lag100 +90:e2:ba:28:0d:f0 3590 dynamic lag100 +88:3a:30:a3:86:80 3590 dynamic lag100 \ No newline at end of file diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml new file mode 100644 index 0000000000..6a23f37408 --- /dev/null +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - mac: "88:3a:30:a3:86:80" + vlan: "1" + type: "dynamic" + port: "lag100" + - mac: "90:e2:ba:28:0d:f1" + vlan: "10" + type: "dynamic" + port: "lag100" + - mac: "00:01:2e:82:0f:7b" + vlan: "3560" + type: "dynamic" + port: "lag100" + - mac: "90:e2:ba:28:0d:f0" + vlan: "3590" + type: "dynamic" + port: "lag100" + - mac: "88:3a:30:a3:86:80" + vlan: "3590" + type: "dynamic" + port: "lag100" diff --git a/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw new file mode 100644 index 0000000000..186ecd6b3e --- /dev/null +++ b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw @@ -0,0 +1,7 @@ +---------------------------------------------------------------------- + ID NAME REMOTE REF-ID ST LAST POLL REACH +---------------------------------------------------------------------- +* 1 10.0.0.1 10.0.0.1 169.254.0.1 4 580 1024 377 ++ 2 10.0.0.2 10.0.0.2 169.254.0.1 4 113 1024 377 ++ 3 10.0.0.3 10.0.0.3 169.254.0.1 4 1059 1024 377 +---------------------------------------------------------------------- \ No newline at end of file diff --git a/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml new file mode 100644 index 0000000000..a1e2a6fa0c --- /dev/null +++ b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - id: "* 1" + name: "10.0.0.1" + remote: "10.0.0.1" + ref_id: "169.254.0.1" + stratum: "4" + last: "580" + poll: "1024" + reach: "377" + - id: "+ 2" + name: "10.0.0.2" + remote: "10.0.0.2" + ref_id: "169.254.0.1" + stratum: "4" + last: "113" + poll: "1024" + reach: "377" + - id: "+ 3" + name: "10.0.0.3" + remote: "10.0.0.3" + ref_id: "169.254.0.1" + stratum: "4" + last: "1059" + poll: "1024" + reach: "377" diff --git a/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw new file mode 100644 index 0000000000..7b3acf1848 --- /dev/null +++ b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw @@ -0,0 +1,34 @@ +VSF Stack + MAC Address : 88:3a:30:97:d0:40 + Secondary : 2 + Topology : chain + Status : No Split + Split Detection Method : None + Software Version : FL.10.05.0021 + Name : Aruba-VSF-6300 + Contact : email@address.com + Location : ThisIsaRoom Somewhere +Member ID : 1 + MAC Address : 88:3a:30:97:d0:40 + Type : JL658A + Model : 6300M 24-port SFP+ and 4-port SFP56 Switch + Status : Master + ROM Version : FL.01.07.0002 + Serial Number : LTRSN123124 + Uptime : 8 weeks, 6 days, 18 hours, 26 minutes + CPU Utilization : 9% + Memory Utilization : 18% + VSF Link 1 : Up, connected to peer member 2, link 1 + VSF Link 2 : +Member ID : 2 + MAC Address : 88:3a:30:96:4d:c0 + Type : JL658A + Model : 6300M 24-port SFP+ and 4-port SFP56 Switch + Status : Standby + ROM Version : FL.01.07.0002 + Serial Number : LTRSN123124 + Uptime : 8 weeks, 6 days, 18 hours, 25 minutes + CPU Utilization : 1% + Memory Utilization : 11% + VSF Link 1 : Up, connected to peer member 1, link 1 + VSF Link 2 diff --git a/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml new file mode 100644 index 0000000000..898d0b87ab --- /dev/null +++ b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - member_id: "Stack" + mac: "88:3a:30:97:d0:40" + status: "No Split" + cpu: "" + memory: "" + vsf_link_1: "" + vsf_link_2: "" + - member_id: "1" + mac: "88:3a:30:97:d0:40" + status: "Master" + cpu: "9%" + memory: "18%" + vsf_link_1: " Up, connected to peer member 2, link 1" + vsf_link_2: "" + - member_id: "2" + mac: "88:3a:30:96:4d:c0" + status: "Standby" + cpu: "1%" + memory: "11%" + vsf_link_1: " Up, connected to peer member 1, link 1" + vsf_link_2: "" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index e014e556e7..b012db5b34 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -9,6 +9,7 @@ "alcatel_aos", "alcatel_sros", "arista_eos", + "aruba_aoscx", "aruba_os", "avaya_ers", "avaya_vsp", From fbc955327676e5456506bc6b6c346eb5d7ef63e8 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Fri, 27 Aug 2021 12:00:42 -0500 Subject: [PATCH 210/412] Enhancement: cisco_ios_show_ip_access-lists - Adds parsing of log tags (#970) --- .../cisco_ios_show_ip_access-lists.textfsm | 5 +- .../cisco_ios_show_ip_access-lists.yml | 87 + .../cisco_ios_show_ip_access-lists_954.yml | 100 + .../cisco_ios_show_ip_access-lists_964.yml | 102 + .../cisco_ios_show_ip_access-lists_969.raw | 106 + .../cisco_ios_show_ip_access-lists_969.yml | 3076 +++++++++++++++++ .../cisco_ios_show_ip_access-lists_fixed.yml | 98 + 7 files changed, 3572 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index 5fe2b9f874..bcba1152ea 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,6 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) +Value LOG_TAG (\S+) Value ICMP_TYPE (administratively-prohibited|echo|echo-reply|mask-request|packet-too-big|parameter-problem|port-unreachable|redirect|router-advertisement|router-solicitation|time-exceeded|ttl-exceeded|unreachable) Value TIME (\S+) Value STATE (inactive|active) @@ -30,8 +31,8 @@ Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml index f53d650c96..b195814b25 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml index 74b4787c04..2c47d9aad8 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2768,6 +2866,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2796,6 +2895,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml index fb87246d24..2ea258e3ad 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2768,6 +2866,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2796,6 +2895,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" @@ -2824,6 +2924,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2852,6 +2953,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "mask-request" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw new file mode 100644 index 0000000000..e602f780bd --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw @@ -0,0 +1,106 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) +Standard IP access list stdacl + 10 permit 10.1.1.1 +Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh + 120 deny esp any any precedence internet + 130 deny esp any any tos normal +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) +Extended IP access list test2 +Extended IP access list ios_show_ip_acl + 10 permit 53 any any log (123456 matches) + 20 permit ip any any log (23 matches) +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log +Extended IP access list mask-request + 10 deny icmp any any mask-request +Extended IP access list Log_Tags_Test + 10 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 log (tag = established) + 20 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 established log + 30 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 established log (tag = tag_name) diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml new file mode 100644 index 0000000000..970250a2a4 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml @@ -0,0 +1,3076 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + log_tag: "" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "120" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "precedence" + dst_port: "internet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "130" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "tos" + dst_port: "normal" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "10" + action: "permit" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "20" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "10" + action: "deny" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "mask-request" + time: "" + state: "" + matches: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "" + dst_any: "" + dst_host: "" + dst_network: "" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "" + flags_match: "" + icmp_type: "" + line_num: "" + log: "" + log_tag: "" + matches: "" + protocol: "" + src_any: "" + src_host: "" + src_network: "" + src_port: "" + src_port_match: "" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "10" + log: "log" + log_tag: "established" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "20" + log: "log" + log_tag: "" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "established" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "30" + log: "log" + log_tag: "tag_name" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "established" + time: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml index 0cfef0d7e9..d2d52c1414 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" From 1cbc278c61ca6337f3053dd61bcadd79d75ebe3d Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 27 Aug 2021 12:08:24 -0600 Subject: [PATCH 211/412] Release v2.3.0 (#971) --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c49178e83..5b17575d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include LOG_TYPE options [\#969](https://github.com/networktocode/ntc-templates/issues/969) ([joewesch](https://github.com/joewesch)) + +**Merged pull requests:** + +- ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm [\#927](https://github.com/networktocode/ntc-templates/pull/927) ([scetron](https://github.com/scetron)) + +**New Templates:** + +- aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm +- aruba_aoscx_show_arp_all-vrfs.textfsm +- aruba_aoscx_show_bfd_all-vrfs.textfsm +- aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm +- aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm +- aruba_aoscx_show_interface.textfsm +- aruba_aoscx_show_interface_dom_detail.textfsm +- aruba_aoscx_show_ip_route_all-vrfs.textfsm +- aruba_aoscx_show_lldp_neighbors-info_detail.textfsm +- aruba_aoscx_show_mac-address-table.textfsm +- aruba_aoscx_show_ntp_associations.textfsm +- aruba_aoscx_show_vsf_detail.textfsm + ## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 8d37898e1e..fe19123254 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.2.2" +__version__ = "2.3.0" diff --git a/pyproject.toml b/pyproject.toml index 19b8d1a448..5410d5f724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.2.2" +version = "2.3.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 5b3e820e2307dcb9d4a0d8159e92a108e9a5f153 Mon Sep 17 00:00:00 2001 From: mitchell-foxworth <71849794+mitchell-foxworth@users.noreply.github.com> Date: Mon, 30 Aug 2021 18:14:26 -0400 Subject: [PATCH 212/412] Bugfix: cisco_ios_show_ip_access-lists - Account for single match (#973) --- .../cisco_ios_show_ip_access-lists.textfsm | 2 +- .../cisco_ios_show_ip_access-lists_969.raw | 3 +- .../cisco_ios_show_ip_access-lists_969.yml | 31 ++++++++++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index bcba1152ea..b36c1738e5 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -32,7 +32,7 @@ Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw index e602f780bd..abcd38f349 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw @@ -4,6 +4,7 @@ Standard IP access list 99 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) Standard IP access list stdacl 10 permit 10.1.1.1 + 20 deny 10.1.1.2 (1 match) Extended IP access list test Extended IP access list 101 10 permit tcp any host 10.1.1.1 eq www @@ -60,7 +61,7 @@ Extended IP access list sample 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 - 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 (1 match) 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml index 970250a2a4..06b84da3e1 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml @@ -174,6 +174,35 @@ parsed_sample: time: "" state: "" matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "20" + action: "deny" + protocol: "" + src_host: "10.1.1.2" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "1" - acl_type: "Extended" acl_name: "test" line_num: "" @@ -1826,7 +1855,7 @@ parsed_sample: icmp_type: "" time: "" state: "" - matches: "" + matches: "1" - acl_type: "Extended" acl_name: "sample" line_num: "420" From 8cf9ef5db9077d7e4fdf11bdd5980a120016c0e6 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 30 Aug 2021 16:51:13 -0600 Subject: [PATCH 213/412] Release v2.3.1 (#974) --- CHANGELOG.md | 12 ++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b17575d72..f13f5b92f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists Account for singluar match [\#972](https://github.com/networktocode/ntc-templates/issues/972) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + +**Merged pull requests:** + +- ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm [\#973](https://github.com/networktocode/ntc-templates/pull/973) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + ## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index fe19123254..9dcf7876b1 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.3.0" +__version__ = "2.3.1" diff --git a/pyproject.toml b/pyproject.toml index 5410d5f724..bc9616b763 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.3.0" +version = "2.3.1" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From e7c11f7ea07a16beaa941fe3f9db4aeb55c03285 Mon Sep 17 00:00:00 2001 From: Thomas Bridge Date: Mon, 13 Sep 2021 17:52:36 +0100 Subject: [PATCH 214/412] Allow cisco ios show ip bgp sum to parse when local AS has a "." in the AS number - fixes #986 (#987) --- .../cisco_ios_show_ip_bgp_summary.textfsm | 2 +- .../cisco_ios_show_ip_bgp_summary_with_dot.raw | 15 +++++++++++++++ .../cisco_ios_show_ip_bgp_summary_with_dot.yml | 9 +++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm index aa6ba8bf64..a718de2c63 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm @@ -1,5 +1,5 @@ Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) -Value Filldown LOCAL_AS (\d+) +Value Filldown LOCAL_AS (\d+(\.\d+)?) Value Filldown ADDR_FAMILY (.+?) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw new file mode 100644 index 0000000000..cedeb9726f --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw @@ -0,0 +1,15 @@ +BGP router identifier 10.12.0.10, local AS number 64000.2017 +BGP table version is 79023, main routing table version 79023 +6064 network entries using 1503872 bytes of memory +6064 path entries using 824704 bytes of memory +11/11 BGP path/bestpath attribute entries using 3080 bytes of memory +288 BGP AS-PATH entries using 18312 bytes of memory +310 BGP community entries using 12496 bytes of memory +62 BGP extended community entries using 2056 bytes of memory +5 BGP route-map cache entries using 320 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 2364840 total bytes of memory +BGP activity 51255/39215 prefixes, 120224/87177 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.20.30.40 4 1234 511374 421210 79022 0 0 4w0d 6063 \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml new file mode 100644 index 0000000000..089df65975 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - router_id: "10.12.0.10" + local_as: "64000.2017" + addr_family: "" + bgp_neigh: "10.20.30.40" + neigh_as: "1234" + up_down: "4w0d" + state_pfxrcd: "6063" From 1745614037bb1dd719760a40deb0fd448c9ab6b0 Mon Sep 17 00:00:00 2001 From: Jan Krupa Date: Mon, 13 Sep 2021 19:10:46 +0200 Subject: [PATCH 215/412] Bugfix: cisco_nxos_show_interface_status: Allow blank Type to capture (#979) (#980) --- .../cisco_nxos_show_interface_status.textfsm | 4 +- .../cisco_nxos_show_interface_status4.raw | 12 ++++ .../cisco_nxos_show_interface_status4.yml | 65 +++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index a41c3d00a5..2252a527a9 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -4,10 +4,10 @@ Value STATUS (\S+) Value VLAN (\d+|routed|trunk|f-path|--) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+(\s\S+)*) +Value TYPE (\S*?(\s\S+)*) Start - ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}\s*$$ -> Record ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ ^-+ ^\s*$$ diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw new file mode 100644 index 0000000000..5336496e34 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw @@ -0,0 +1,12 @@ +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +mgmt0 -- connected routed full 100 -- +Eth1/1 managed by puppet disabled routed auto auto SFP-H10GB-CU2M +Eth1/2 -- disabled 1 auto auto SFP-H10GB-CU2M +Eth1/3 -- xcvrAbsen 1 auto auto +Eth1/4 -- xcvrAbsen trunk auto auto -- +Eth1/5 -- xcvrAbsen trunk auto auto +Vlan20 -- down routed auto auto -- +Vlan77 -- down routed auto auto +Vlan146 my vlan 146 down routed auto auto diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml new file mode 100644 index 0000000000..7a5dff0533 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - port: "mgmt0" + name: "--" + status: "connected" + vlan: "routed" + duplex: "full" + speed: "100" + type: "--" + - port: "Eth1/1" + name: "managed by puppet" + status: "disabled" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/2" + name: "--" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/3" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "" + - port: "Eth1/4" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/5" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "" + - port: "Vlan20" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan77" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "" + - port: "Vlan146" + name: "my vlan 146" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "" From bfd8df60763b3369eb4425799fed7c050cc11cfe Mon Sep 17 00:00:00 2001 From: Aaron Finocchiaro <64494731+a-finocchiaro@users.noreply.github.com> Date: Mon, 13 Sep 2021 10:22:42 -0700 Subject: [PATCH 216/412] Bugfix: cisco_ios_show_interfaces_switchport.textfsm: Account for App Interface line (#968) --- ...sco_ios_show_interfaces_switchport.textfsm | 1 + .../cisco_ios_show_interfaces_switchport.raw | 32 + .../cisco_ios_show_interfaces_switchport.yml | 11 + ...w_interfaces_switchport_app_interfaces.raw | 1639 +++++++++++++++++ ...w_interfaces_switchport_app_interfaces.yml | 574 ++++++ 5 files changed, 2257 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm index 3129796ff6..ca91a2ced7 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -30,6 +30,7 @@ Start ^\s*Protected ^\s*Unknown\s+(unicast|multicast) ^\s*Vepa\s+Enabled + ^\s*App\s+Interface ^\s*Appliance\s+trust ^\s*Operational\s+Dot1q\s+Ethertype ^\s*$$ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw index 3dcc549fec..20fd92adba 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw @@ -168,3 +168,35 @@ Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none + +Name: Gi1/0/1 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml index 9b70ba853c..591397ce3a 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -66,3 +66,14 @@ parsed_sample: voice_vlan: "none" trunking_vlans: - "ALL" + - interface: "Gi1/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw new file mode 100644 index 0000000000..1e95b91729 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw @@ -0,0 +1,1639 @@ +Name: Gi1/0/1 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/2 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/3 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/4 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 200,313,754,900,990,999 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/5 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/6 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/7 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/8 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/9 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/10 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/11 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/12 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/13 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/14 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/15 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/16 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/17 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/18 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/19 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/20 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/21 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/22 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/23 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/24 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/25 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/26 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/27 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/28 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/29 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/30 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/31 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/32 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/33 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/34 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/35 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/36 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 99 (VoIP-TeleMed) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/37 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/38 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/39 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/40 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/41 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/42 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/43 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 99 (VoIP-TeleMed) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/44 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/45 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/46 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/47 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/48 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 200,313,754,900,990,999 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/3 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/4 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml new file mode 100644 index 0000000000..8bda587422 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml @@ -0,0 +1,574 @@ +--- +parsed_sample: + - interface: "Gi1/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "200,313,754,900,990,999" + - interface: "Gi1/0/5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/6" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/7" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/8" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/9" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/10" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/11" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/12" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/13" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/14" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/15" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/16" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/17" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/18" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/19" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/20" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/21" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/22" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/23" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/24" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/25" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/26" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/27" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/28" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/29" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/30" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/31" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/32" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/33" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/34" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/35" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/36" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "99" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/37" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/38" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/39" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/40" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/41" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/42" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/43" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "99" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/44" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/45" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/46" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/47" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/48" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "200,313,754,900,990,999" + - interface: "Te1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" From 190195898db2b4fdd00c3634d66bb13d5640c9c9 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 13 Sep 2021 12:02:08 -0600 Subject: [PATCH 217/412] Release v2.3.2 (#988) --- CHANGELOG.md | 10 ++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f13f5b92f5..f2764b36a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.3.2](https://github.com/networktocode/ntc-templates/tree/2.3.2) (2021-09-13) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.1...2.3.2) + +**Bugfixes** + +- cisco\_ios\_show\_ip\_bgp\_summary Account for dotted ASN notation [\#987](https://github.com/networktocode/ntc-templates/pull/987) ([thomasbridge74](https://github.com/thomasbridge74)) +- cisco\_nxos\_show\_interface\_status Account for blank type [\#980](https://github.com/networktocode/ntc-templates/pull/980) ([Kani999](https://github.com/Kani999)) +- cisco\_ios\_show\_interfaces Account for `App Interface` [\#968](https://github.com/networktocode/ntc-templates/pull/968) ([a-finocchiaro](https://github.com/a-finocchiaro)) + ## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 9dcf7876b1..80e9b74e77 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.3.1" +__version__ = "2.3.2" diff --git a/pyproject.toml b/pyproject.toml index bc9616b763..35a1e3055e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.3.1" +version = "2.3.2" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From fbff3582f26626659b06cc87b4cfd6af7c7db8d5 Mon Sep 17 00:00:00 2001 From: ahlara-devcore <57206391+ahlara-devcore@users.noreply.github.com> Date: Wed, 15 Sep 2021 14:40:19 -0400 Subject: [PATCH 218/412] cisco_ios_show_access-session: Adding Identity to MAC column (#990) Co-authored-by: Alejandro Hernandez --- .../cisco_ios_show_access-session.textfsm | 2 +- .../cisco_ios_show_access-session4.raw | 67 +++ .../cisco_ios_show_access-session4.yml | 380 ++++++++++++++++++ .../cisco_ios_show_access-session5.raw | 59 +++ .../cisco_ios_show_access-session5.yml | 248 ++++++++++++ .../cisco_ios_show_access-session6.raw | 60 +++ .../cisco_ios_show_access-session6.yml | 248 ++++++++++++ 7 files changed, 1063 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml diff --git a/ntc_templates/templates/cisco_ios_show_access-session.textfsm b/ntc_templates/templates/cisco_ios_show_access-session.textfsm index d518db4922..5ba9f40e67 100644 --- a/ntc_templates/templates/cisco_ios_show_access-session.textfsm +++ b/ntc_templates/templates/cisco_ios_show_access-session.textfsm @@ -6,7 +6,7 @@ Value STATUS (.+?) Value SESSION (\w+?) Start - ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + ^Interface\s+(MAC Address|Identifier)\s+Method\s+Domain -> Catch # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw new file mode 100644 index 0000000000..e5f042a6ae --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw @@ -0,0 +1,67 @@ + +Interface Identifier Method Domain Status Session ID +Fa3/0/40 (unknown) mab UNKNOWN Running 0A5C58FE00000018000101FF +Fa2/0/33 (unknown) mab UNKNOWN Running 0A0A7F9B000001E8010101FF +Fa3/0/13 002a.12cd.3d08 mab DATA Authz Success 0A0A7F9B0000A92A2C0101FF +Fa3/0/1 347a.12cd.3fe8 mab VOICE Authz Success 0A0A7F9B00000055000101FF +Fa3/0/38 848a.12cd.339a mab VOICE Authz Success 0A5C58FE00000025000101FF +Fa3/0/28 848a.12cd.3399 mab VOICE Authz Success 0A5C58FE0000001E000101FF +Fa2/0/27 8c8a.12cd.3d3d dot1x DATA Authz Success 0A5C58FE0000000D000101FF +Fa2/0/23 347a.12cd.3ffb mab VOICE Authz Success 0A0A7F9B00000035000101FF +Fa2/0/29 3cba.12cd.3d05 mab VOICE Authz Success 0A0A7F9B0000C6BCA20101FF +Fa2/0/32 347a.12cd.3ff2 mab VOICE Authz Success 0A0A7F9B00000030000101FF +Fa3/0/21 848a.12cd.33b2 mab VOICE Authz Success 0A0A7F9B00000059000101FF +Fa2/0/26 848a.12cd.33b1 mab VOICE Authz Success 0A5C58FE00000007000101FF +Fa2/0/6 848a.12cd.33b0 mab VOICE Authz Success 0A0A7F9B0000002D000101FF +Fa2/0/31 848a.12cd.33bf mab VOICE Authz Success 0A0A7F9B00000031000101FF +Fa2/0/37 8c8a.12cd.3c4f dot1x DATA Authz Success 0A5C58FE00000010000101FF +Fa2/0/14 002a.12cd.312a mab DATA Authz Success 0A0A7F9B0000840CAB0101FF +Fa3/0/21 54ea.12cd.3236 dot1x DATA Authz Success 0A0A7F9B00000504090101FF +Fa3/0/15 001a.12cd.3b13 mab DATA Authz Success 0A0A7F9B0000003D000101FF +Fa3/0/11 848a.12cd.33d8 mab VOICE Authz Success 0A0A7F9B0000974FF40101FF +Fa3/0/32 848a.12cd.32dc mab VOICE Authz Success 0A0A7F9B00000052000101FF +Fa2/0/27 848a.12cd.32c1 mab VOICE Authz Success 0A0A7F9B00000038000101FF +Fa2/0/20 347a.12cd.3fbb mab VOICE Authz Success 0A5C58FE00000008000101FF +Fa3/0/12 c89a.12cd.396e dot1x DATA Authz Success 0A5C58FE00000028000101FF +Fa3/0/10 000a.12cd.3ea4 dot1x DATA Authz Success 0A0A7F9B0000AD443C0101FF +Fa3/0/19 001a.12cd.3f70 mab DATA Authz Success 0A0A7F9B00004E45D40101FF +Fa3/0/37 347a.12cd.30af mab VOICE Authz Success 0A0A7F9B00004E73D40101FF +Fa3/0/11 c89a.12cd.3e91 dot1x DATA Authz Success 0A0A7F9B0000AD4A3C0101FF +Fa2/0/23 54ea.12cd.3313 dot1x DATA Authz Success 0A0A7F9B0000A9582C0101FF +Fa3/0/10 347a.12cd.3e8e mab VOICE Authz Success 0A0A7F9B0000AD453C0101FF +Fa2/0/29 008a.12cd.365c mab DATA Authz Success 0A0A7F9B0000C6BAA20101FF +Fa2/0/2 68ba.12cd.3af5 mab DATA Authz Success 0A0A7F9B0000B9EB6E0101FF +Fa2/0/44 8c8a.12cd.3341 dot1x DATA Authz Success 0A0A7F9B0000AAAD310101FF +Fa2/0/37 347a.12cd.3084 mab VOICE Authz Success 0A0A7F9B0000002F000101FF +Fa2/0/16 848a.12cd.32ea mab VOICE Authz Success 0A5C58FE00000005000101FF +Fa3/0/32 54ea.12cd.3408 dot1x DATA Authz Success 0A0A7F9B00000500090101FF +Fa2/0/31 8c8a.12cd.3a75 dot1x DATA Authz Success 0A5C58FE0000000B000101FF +Fa3/0/44 848a.12cd.3216 mab VOICE Authz Success 0A0A7F9B00007B3F880101FF +Fa2/0/36 004a.12cd.3245 mab DATA Authz Success 0A5C58FE0000000F000101FF +Fa2/0/32 8c8a.12cd.3fd4 dot1x DATA Authz Success 0A5C58FE0000000C000101FF +Fa2/0/15 24da.12cd.32fd mab VOICE Authz Success 0A5C58FE00000004000101FF +Fa3/0/15 347a.12cd.306e mab VOICE Authz Success 0A5C58FE0000001C000101FF +Fa2/0/15 8c8a.12cd.3d53 dot1x DATA Authz Success 0A0A7F9B0000050D090101FF +Fa3/0/39 008a.12cd.3c8e mab DATA Authz Success 0A0A7F9B000080149C0101FF +Fa2/0/6 8c8a.12cd.3aa9 dot1x DATA Authz Success 0A0A497E00000001000101FF +Fa3/0/35 8c8a.12cd.32aa dot1x DATA Authz Success 0A5C58FE00000029000101FF +Fa2/0/36 848a.12cd.333b mab VOICE Authz Success 0A0A7F9B00000037000101FF +Fa3/0/9 8c8a.12cd.3c67 dot1x DATA Authz Success 0A0A7F9B00000511090101FF +Fa3/0/37 8c8a.12cd.32ad dot1x DATA Authz Success 0A0A7F9B00004E72D40101FF +Fa3/0/2 848a.12cd.3223 mab VOICE Authz Success 0A5C58FE00000026000101FF +Fa3/0/44 8c8a.12cd.32b3 dot1x DATA Authz Success 0A0A7F9B00007B3E880101FF +Fa2/0/38 347a.12cd.3042 mab VOICE Authz Success 0A0A7F9B00005C190B0101FF +Fa2/0/38 8c8a.12cd.3c72 dot1x DATA Authz Success 0A0A7F9B00005C180B0101FF +Fa2/0/35 848a.12cd.335a mab VOICE Authz Success 0A0A7F9B0000002E000101FF +Fa3/0/35 848a.12cd.37aa mab VOICE Authz Success 0A0A7F9B0000003C000101FF +Fa3/0/9 848a.12cd.335d mab VOICE Authz Success 0A5C58FE0000001B000101FF +Fa2/0/30 008a.12cd.36e1 mab DATA Authz Success 0A0A7F9B0000C6BBA20101FF +Fa2/0/44 848a.12cd.334d mab VOICE Authz Success 0A0A7F9B0000AAAE310101FF +Fa3/0/12 848a.12cd.3371 mab VOICE Authz Success 0A0A7F9B00000033000101FF +Fa2/0/46 848a.12cd.3376 mab VOICE Authz Success 0A5C58FE00000013000101FF +Fa2/0/8 001a.12cd.3caa mab DATA Authz Success 0A0A7F9B0000B1544C0101FF +Fa2/0/30 347a.12cd.3e00 mab VOICE Authz Success 0A0A7F9B0000C6BDA20101FF +Fa3/0/39 848a.12cd.3365 mab VOICE Authz Success 0A0A7F9B000080199C0101FF +Fa2/0/35 8c8a.12cd.31f9 dot1x DATA Authz Success 0A5C58FE0000000E000101FF + + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml new file mode 100644 index 0000000000..3656a570ce --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml @@ -0,0 +1,380 @@ +--- +parsed_sample: + - interface: "Fa3/0/40" + mac: "(unknown)" + method: "mab" + domain: "UNKNOWN" + status: "Running" + session: "0A5C58FE00000018000101FF" + - interface: "Fa2/0/33" + mac: "(unknown)" + method: "mab" + domain: "UNKNOWN" + status: "Running" + session: "0A0A7F9B000001E8010101FF" + - interface: "Fa3/0/13" + mac: "002a.12cd.3d08" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000A92A2C0101FF" + - interface: "Fa3/0/1" + mac: "347a.12cd.3fe8" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000055000101FF" + - interface: "Fa3/0/38" + mac: "848a.12cd.339a" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000025000101FF" + - interface: "Fa3/0/28" + mac: "848a.12cd.3399" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001E000101FF" + - interface: "Fa2/0/27" + mac: "8c8a.12cd.3d3d" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000D000101FF" + - interface: "Fa2/0/23" + mac: "347a.12cd.3ffb" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000035000101FF" + - interface: "Fa2/0/29" + mac: "3cba.12cd.3d05" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000C6BCA20101FF" + - interface: "Fa2/0/32" + mac: "347a.12cd.3ff2" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000030000101FF" + - interface: "Fa3/0/21" + mac: "848a.12cd.33b2" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000059000101FF" + - interface: "Fa2/0/26" + mac: "848a.12cd.33b1" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000007000101FF" + - interface: "Fa2/0/6" + mac: "848a.12cd.33b0" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002D000101FF" + - interface: "Fa2/0/31" + mac: "848a.12cd.33bf" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000031000101FF" + - interface: "Fa2/0/37" + mac: "8c8a.12cd.3c4f" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000010000101FF" + - interface: "Fa2/0/14" + mac: "002a.12cd.312a" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000840CAB0101FF" + - interface: "Fa3/0/21" + mac: "54ea.12cd.3236" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000504090101FF" + - interface: "Fa3/0/15" + mac: "001a.12cd.3b13" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000003D000101FF" + - interface: "Fa3/0/11" + mac: "848a.12cd.33d8" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000974FF40101FF" + - interface: "Fa3/0/32" + mac: "848a.12cd.32dc" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000052000101FF" + - interface: "Fa2/0/27" + mac: "848a.12cd.32c1" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000038000101FF" + - interface: "Fa2/0/20" + mac: "347a.12cd.3fbb" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000008000101FF" + - interface: "Fa3/0/12" + mac: "c89a.12cd.396e" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000028000101FF" + - interface: "Fa3/0/10" + mac: "000a.12cd.3ea4" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AD443C0101FF" + - interface: "Fa3/0/19" + mac: "001a.12cd.3f70" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00004E45D40101FF" + - interface: "Fa3/0/37" + mac: "347a.12cd.30af" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00004E73D40101FF" + - interface: "Fa3/0/11" + mac: "c89a.12cd.3e91" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AD4A3C0101FF" + - interface: "Fa2/0/23" + mac: "54ea.12cd.3313" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000A9582C0101FF" + - interface: "Fa3/0/10" + mac: "347a.12cd.3e8e" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000AD453C0101FF" + - interface: "Fa2/0/29" + mac: "008a.12cd.365c" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000C6BAA20101FF" + - interface: "Fa2/0/2" + mac: "68ba.12cd.3af5" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000B9EB6E0101FF" + - interface: "Fa2/0/44" + mac: "8c8a.12cd.3341" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AAAD310101FF" + - interface: "Fa2/0/37" + mac: "347a.12cd.3084" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002F000101FF" + - interface: "Fa2/0/16" + mac: "848a.12cd.32ea" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000005000101FF" + - interface: "Fa3/0/32" + mac: "54ea.12cd.3408" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000500090101FF" + - interface: "Fa2/0/31" + mac: "8c8a.12cd.3a75" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000B000101FF" + - interface: "Fa3/0/44" + mac: "848a.12cd.3216" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00007B3F880101FF" + - interface: "Fa2/0/36" + mac: "004a.12cd.3245" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000F000101FF" + - interface: "Fa2/0/32" + mac: "8c8a.12cd.3fd4" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000C000101FF" + - interface: "Fa2/0/15" + mac: "24da.12cd.32fd" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000004000101FF" + - interface: "Fa3/0/15" + mac: "347a.12cd.306e" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001C000101FF" + - interface: "Fa2/0/15" + mac: "8c8a.12cd.3d53" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000050D090101FF" + - interface: "Fa3/0/39" + mac: "008a.12cd.3c8e" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B000080149C0101FF" + - interface: "Fa2/0/6" + mac: "8c8a.12cd.3aa9" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A497E00000001000101FF" + - interface: "Fa3/0/35" + mac: "8c8a.12cd.32aa" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000029000101FF" + - interface: "Fa2/0/36" + mac: "848a.12cd.333b" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000037000101FF" + - interface: "Fa3/0/9" + mac: "8c8a.12cd.3c67" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000511090101FF" + - interface: "Fa3/0/37" + mac: "8c8a.12cd.32ad" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00004E72D40101FF" + - interface: "Fa3/0/2" + mac: "848a.12cd.3223" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000026000101FF" + - interface: "Fa3/0/44" + mac: "8c8a.12cd.32b3" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00007B3E880101FF" + - interface: "Fa2/0/38" + mac: "347a.12cd.3042" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00005C190B0101FF" + - interface: "Fa2/0/38" + mac: "8c8a.12cd.3c72" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00005C180B0101FF" + - interface: "Fa2/0/35" + mac: "848a.12cd.335a" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002E000101FF" + - interface: "Fa3/0/35" + mac: "848a.12cd.37aa" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000003C000101FF" + - interface: "Fa3/0/9" + mac: "848a.12cd.335d" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001B000101FF" + - interface: "Fa2/0/30" + mac: "008a.12cd.36e1" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000C6BBA20101FF" + - interface: "Fa2/0/44" + mac: "848a.12cd.334d" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000AAAE310101FF" + - interface: "Fa3/0/12" + mac: "848a.12cd.3371" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000033000101FF" + - interface: "Fa2/0/46" + mac: "848a.12cd.3376" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000013000101FF" + - interface: "Fa2/0/8" + mac: "001a.12cd.3caa" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000B1544C0101FF" + - interface: "Fa2/0/30" + mac: "347a.12cd.3e00" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000C6BDA20101FF" + - interface: "Fa3/0/39" + mac: "848a.12cd.3365" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B000080199C0101FF" + - interface: "Fa2/0/35" + mac: "8c8a.12cd.31f9" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000E000101FF" diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw new file mode 100644 index 0000000000..d21c125591 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw @@ -0,0 +1,59 @@ + + +Interface Identifier Method Domain Status Fg Session ID +Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF +Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF +Gi2/0/33 848a.12cd.3624 mab VOICE Auth 0A0A1DFE00000FBA000101FF +Gi1/0/26 005a.12cd.3567 N/A UNKNOWN Unauth 0A0A1DFE00001F8D160101FF +Gi1/0/26 004a.12cd.3c40 mab DATA Auth 0A0A1DFE00001C8D5E0101FF +Gi1/0/43 848a.12cd.3db2 mab VOICE Auth 0A0A1DFE00000FC8000101FF +Gi1/0/20 54ea.12cd.3568 dot1x DATA Auth 0A0A1DFE000013DF820101FF +Gi2/0/1 002a.12cd.3906 mab DATA Auth 0A0A1DFE00000FB2000101FF +Gi1/0/21 b4ba.12cd.3f3b mab VOICE Auth 0A0A1DFE00000FCC000101FF +Gi1/0/40 002a.12cd.3d7d mab DATA Auth 0A0A1DFE00001D3B990101FF +Gi1/0/39 8c8a.12cd.3c83 dot1x DATA Auth 0A0A1DFE000010EE7C0101FF +Gi1/0/41 54ea.12cd.32e3 dot1x DATA Auth 0A0A1DFE00000FD6000101FF +Gi1/0/16 848a.12cd.35b8 mab VOICE Auth 0A0A1DFE00000FC2000101FF +Gi1/0/31 54ea.12cd.32dc dot1x DATA Auth 0A0A1DFE00000FD3000101FF +Gi1/0/22 848a.12cd.3626 mab VOICE Auth 0A0A1DFE00000FCD000101FF +Gi1/0/12 c89a.12cd.3be0 dot1x DATA Auth 0A0A1DFE00000FB6000101FF +Gi1/0/43 106a.12cd.36a4 mab DATA Auth 0A0A1DFE00000FB5000101FF +Gi1/0/46 347a.12cd.3aae mab VOICE Auth 0A0A1DFE0000201A380101FF +Gi1/0/15 347a.12cd.3bf5 mab VOICE Auth 0A0A1DFE00000FFD110101FF +Gi1/0/31 848a.12cd.3d3d mab VOICE Auth 0A0A1DFE00000FCE000101FF +Gi1/0/30 347a.12cd.3c00 mab VOICE Auth 0A0A1DFE00000FC6000101FF +Gi1/0/3 848a.12cd.35c3 mab VOICE Auth 0A0A1DFE00000FBE000101FF +Gi1/0/45 8c8a.12cd.3636 dot1x DATA Auth 0A0A1DFE00000FD8000101FF +Gi1/0/37 c89a.12cd.329d dot1x DATA Auth 0A0A1DFE00000FD5000101FF +Gi1/0/5 8c8a.12cd.3096 dot1x DATA Auth 0A0A1DFE00000FB4000101FF +Gi1/0/46 54ea.12cd.3325 dot1x DATA Auth 0A0A1DFE00002019380101FF +Gi2/0/1 848a.12cd.3615 mab VOICE Auth 0A0A1DFE00000FBB000101FF +Gi1/0/12 848a.12cd.34a6 mab VOICE Auth 0A0A1DFE00000FC1000101FF +Gi1/0/2 004a.12cd.3c3f mab DATA Auth 0A0A1DFE00001FC12D0101FF +Gi2/0/15 1c6a.12cd.317e mab DATA Auth 0A0A1DFE00001865F80101FF +Gi1/0/20 848a.12cd.36aa mab VOICE Auth 0A0A1DFE00001225F90101FF +Gi1/0/21 8c8a.12cd.38e9 dot1x DATA Auth 0A0A1DFE00000FB7000101FF +Gi1/0/37 347a.12cd.345b mab VOICE Auth 0A0A1DFE00000FC0000101FF +Gi1/0/45 848a.12cd.35fa mab VOICE Auth 0A0A1DFE00000FBF000101FF +Gi1/0/15 54ea.12cd.31ae dot1x DATA Auth 0A0A1DFE00000FFE110101FF +Gi1/0/41 848a.12cd.359f mab VOICE Auth 0A0A1DFE00000FC4000101FF +Gi1/0/23 848a.12cd.35a3 mab VOICE Auth 0A0A1DFE00000FC3000101FF +Gi1/0/1 001a.12cd.3402 mab DATA Auth 0A0A1DFE0000164F6A0101FF +Gi1/0/10 848a.12cd.35ec mab VOICE Auth 0A0A1DFE00000FC5000101FF +Gi1/0/39 24da.12cd.3b4f mab VOICE Auth 0A0A1DFE000010EF7C0101FF +Gi1/0/29 8c8a.12cd.3943 dot1x DATA Auth 0A0A1DFE0000202C3F0101FF + +Session count = 41 + +Key to Session Events Blocked Status Flags: + + A - Applying Policy (multi-line status for details) + D - Awaiting Deletion + F - Final Removal in progress + I - Awaiting IIF ID allocation + N - Waiting for AAA to come up + P - Pushed Session + R - Removing User Profile (multi-line status for details) + U - Applying User Profile (multi-line status for details) + X - Unknown Blocker + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml new file mode 100644 index 0000000000..2e0652d3a3 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB3000101FF" + - interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBD000101FF" + - interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBA000101FF" + - interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + domain: "UNKNOWN" + status: "Unauth" + session: "0A0A1DFE00001F8D160101FF" + - interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001C8D5E0101FF" + - interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC8000101FF" + - interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000013DF820101FF" + - interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB2000101FF" + - interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCC000101FF" + - interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001D3B990101FF" + - interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000010EE7C0101FF" + - interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD6000101FF" + - interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC2000101FF" + - interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD3000101FF" + - interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCD000101FF" + - interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB6000101FF" + - interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB5000101FF" + - interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE0000201A380101FF" + - interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FFD110101FF" + - interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCE000101FF" + - interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC6000101FF" + - interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBE000101FF" + - interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD8000101FF" + - interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD5000101FF" + - interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB4000101FF" + - interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00002019380101FF" + - interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBB000101FF" + - interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC1000101FF" + - interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001FC12D0101FF" + - interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001865F80101FF" + - interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00001225F90101FF" + - interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB7000101FF" + - interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC0000101FF" + - interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBF000101FF" + - interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FFE110101FF" + - interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC4000101FF" + - interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC3000101FF" + - interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000164F6A0101FF" + - interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC5000101FF" + - interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE000010EF7C0101FF" + - interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000202C3F0101FF" diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw new file mode 100644 index 0000000000..9594fc5e92 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw @@ -0,0 +1,60 @@ + + +Interface Identifier Method Domain Status Fg Session ID +------------------------------------------------------------------------------ +Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF +Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF +Gi2/0/33 848a.12cd.3624 mab VOICE Auth 0A0A1DFE00000FBA000101FF +Gi1/0/26 005a.12cd.3567 N/A UNKNOWN Unauth 0A0A1DFE00001F8D160101FF +Gi1/0/26 004a.12cd.3c40 mab DATA Auth 0A0A1DFE00001C8D5E0101FF +Gi1/0/43 848a.12cd.3db2 mab VOICE Auth 0A0A1DFE00000FC8000101FF +Gi1/0/20 54ea.12cd.3568 dot1x DATA Auth 0A0A1DFE000013DF820101FF +Gi2/0/1 002a.12cd.3906 mab DATA Auth 0A0A1DFE00000FB2000101FF +Gi1/0/21 b4ba.12cd.3f3b mab VOICE Auth 0A0A1DFE00000FCC000101FF +Gi1/0/40 002a.12cd.3d7d mab DATA Auth 0A0A1DFE00001D3B990101FF +Gi1/0/39 8c8a.12cd.3c83 dot1x DATA Auth 0A0A1DFE000010EE7C0101FF +Gi1/0/41 54ea.12cd.32e3 dot1x DATA Auth 0A0A1DFE00000FD6000101FF +Gi1/0/16 848a.12cd.35b8 mab VOICE Auth 0A0A1DFE00000FC2000101FF +Gi1/0/31 54ea.12cd.32dc dot1x DATA Auth 0A0A1DFE00000FD3000101FF +Gi1/0/22 848a.12cd.3626 mab VOICE Auth 0A0A1DFE00000FCD000101FF +Gi1/0/12 c89a.12cd.3be0 dot1x DATA Auth 0A0A1DFE00000FB6000101FF +Gi1/0/43 106a.12cd.36a4 mab DATA Auth 0A0A1DFE00000FB5000101FF +Gi1/0/46 347a.12cd.3aae mab VOICE Auth 0A0A1DFE0000201A380101FF +Gi1/0/15 347a.12cd.3bf5 mab VOICE Auth 0A0A1DFE00000FFD110101FF +Gi1/0/31 848a.12cd.3d3d mab VOICE Auth 0A0A1DFE00000FCE000101FF +Gi1/0/30 347a.12cd.3c00 mab VOICE Auth 0A0A1DFE00000FC6000101FF +Gi1/0/3 848a.12cd.35c3 mab VOICE Auth 0A0A1DFE00000FBE000101FF +Gi1/0/45 8c8a.12cd.3636 dot1x DATA Auth 0A0A1DFE00000FD8000101FF +Gi1/0/37 c89a.12cd.329d dot1x DATA Auth 0A0A1DFE00000FD5000101FF +Gi1/0/5 8c8a.12cd.3096 dot1x DATA Auth 0A0A1DFE00000FB4000101FF +Gi1/0/46 54ea.12cd.3325 dot1x DATA Auth 0A0A1DFE00002019380101FF +Gi2/0/1 848a.12cd.3615 mab VOICE Auth 0A0A1DFE00000FBB000101FF +Gi1/0/12 848a.12cd.34a6 mab VOICE Auth 0A0A1DFE00000FC1000101FF +Gi1/0/2 004a.12cd.3c3f mab DATA Auth 0A0A1DFE00001FC12D0101FF +Gi2/0/15 1c6a.12cd.317e mab DATA Auth 0A0A1DFE00001865F80101FF +Gi1/0/20 848a.12cd.36aa mab VOICE Auth 0A0A1DFE00001225F90101FF +Gi1/0/21 8c8a.12cd.38e9 dot1x DATA Auth 0A0A1DFE00000FB7000101FF +Gi1/0/37 347a.12cd.345b mab VOICE Auth 0A0A1DFE00000FC0000101FF +Gi1/0/45 848a.12cd.35fa mab VOICE Auth 0A0A1DFE00000FBF000101FF +Gi1/0/15 54ea.12cd.31ae dot1x DATA Auth 0A0A1DFE00000FFE110101FF +Gi1/0/41 848a.12cd.359f mab VOICE Auth 0A0A1DFE00000FC4000101FF +Gi1/0/23 848a.12cd.35a3 mab VOICE Auth 0A0A1DFE00000FC3000101FF +Gi1/0/1 001a.12cd.3402 mab DATA Auth 0A0A1DFE0000164F6A0101FF +Gi1/0/10 848a.12cd.35ec mab VOICE Auth 0A0A1DFE00000FC5000101FF +Gi1/0/39 24da.12cd.3b4f mab VOICE Auth 0A0A1DFE000010EF7C0101FF +Gi1/0/29 8c8a.12cd.3943 dot1x DATA Auth 0A0A1DFE0000202C3F0101FF + +Session count = 41 + +Key to Session Events Blocked Status Flags: + + A - Applying Policy (multi-line status for details) + D - Awaiting Deletion + F - Final Removal in progress + I - Awaiting IIF ID allocation + N - Waiting for AAA to come up + P - Pushed Session + R - Removing User Profile (multi-line status for details) + U - Applying User Profile (multi-line status for details) + X - Unknown Blocker + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml new file mode 100644 index 0000000000..2e0652d3a3 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB3000101FF" + - interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBD000101FF" + - interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBA000101FF" + - interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + domain: "UNKNOWN" + status: "Unauth" + session: "0A0A1DFE00001F8D160101FF" + - interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001C8D5E0101FF" + - interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC8000101FF" + - interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000013DF820101FF" + - interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB2000101FF" + - interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCC000101FF" + - interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001D3B990101FF" + - interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000010EE7C0101FF" + - interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD6000101FF" + - interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC2000101FF" + - interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD3000101FF" + - interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCD000101FF" + - interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB6000101FF" + - interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB5000101FF" + - interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE0000201A380101FF" + - interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FFD110101FF" + - interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCE000101FF" + - interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC6000101FF" + - interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBE000101FF" + - interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD8000101FF" + - interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD5000101FF" + - interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB4000101FF" + - interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00002019380101FF" + - interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBB000101FF" + - interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC1000101FF" + - interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001FC12D0101FF" + - interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001865F80101FF" + - interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00001225F90101FF" + - interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB7000101FF" + - interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC0000101FF" + - interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBF000101FF" + - interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FFE110101FF" + - interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC4000101FF" + - interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC3000101FF" + - interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000164F6A0101FF" + - interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC5000101FF" + - interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE000010EF7C0101FF" + - interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000202C3F0101FF" From 05e0f83eefefb3532879b62715401bdafbf99bee Mon Sep 17 00:00:00 2001 From: georgesnow Date: Wed, 15 Sep 2021 14:43:42 -0400 Subject: [PATCH 219/412] [New Template] Ciena - traffic-profile standard-profile (#981) - Add Cienna traffic-profile standard-profile --- ...ic-profiling_standard-profile_show.textfsm | 23 ++++++++++++ ntc_templates/templates/index | 1 + ...raffic-profiling_standard-profile_show.raw | 10 ++++++ ...raffic-profiling_standard-profile_show.yml | 35 +++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm create mode 100644 tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw create mode 100644 tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml diff --git a/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm b/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm new file mode 100644 index 0000000000..ec6645e446 --- /dev/null +++ b/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm @@ -0,0 +1,23 @@ +Value PORT ([0-9A-Za-z\.]+) +Value ID (\d+) +Value PROFILE_NAME (\S+) +Value ROLE (\S+) +Value PARENT_CHILD (\d+) +Value CIR (\d+) +Value EIR (\d+) +Value CBS (\d+) +Value EBS (\d+) +Value CLASSIFIER_A (\S+) +Value CLASSIFIER_B (\S+) + + +Start + ^\+-+\s*STANDARD\s*PROFILE\s*TABLE\s*-+\+ + ^\|\s*Port + ^\|\s*\|\s*ID + ^\+-+\+ + ^\|\s*${PORT}\s*\|\s*${ID}\s*\|\s*${PROFILE_NAME}\s*\|\s*${ROLE}\s*\|\s*${PARENT_CHILD}\s*\|\s*${CIR}\s*\|\s*${EIR}\s*\|\s*${CBS}\s*\|\s*${EBS}\s*\|\s*${CLASSIFIER_A}\s*\|\s*${CLASSIFIER_B}\s*\| -> Record + ^\+-.* + ^\s*$$ + ^. -> Error + \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index caff0a197c..be2bea4954 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -141,6 +141,7 @@ checkpoint_gaia_show_dns.textfsm, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat +ciena_saos_traffic-profiling_standard-profile_show.textfsm, .*, ciena_saos, traffic-p[[rofiling]] st[[andard-profile]] sh[[ow]] ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] ciena_saos_ssh_server_show_key.textfsm, .*, ciena_saos, ssh se[[rver]] sh[[ow]] k[[ey]] ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] diff --git a/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw new file mode 100644 index 0000000000..8beb72f6c7 --- /dev/null +++ b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw @@ -0,0 +1,10 @@ ++---------------------------------------- STANDARD PROFILE TABLE -----------------------------------------+ +| Port | Profile | |Parent| BW (Kbps) | Max Burst KB | CLASSIFIERS | +| | ID | Name |Role|#Child| CIR | EIR | CBS | EBS | | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|21 |1 |V4096 | N | 0 | 10000 | 0 | 2000 | 0 | VS | TestA | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|22 |1 |V4096 | N | 0 | 100000 | 0 | 2000 | 0 | VS | TestB | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|24 |1 |V4096 | N | 0 | 32 | 0 | 3000 | 0 | VS | TestC | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml new file mode 100644 index 0000000000..cb8d272556 --- /dev/null +++ b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - port: "21" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "10000" + eir: "0" + cbs: "2000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestA" + - port: "22" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "100000" + eir: "0" + cbs: "2000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestB" + - port: "24" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "32" + eir: "0" + cbs: "3000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestC" From 7e6fa0a585c0495b636269b2fc90d868fa581770 Mon Sep 17 00:00:00 2001 From: AJatCDW <58526544+AJatCDW@users.noreply.github.com> Date: Wed, 15 Sep 2021 13:45:43 -0500 Subject: [PATCH 220/412] New template: cisco_nxos_show_ip_interface_vrf_all.textfsm (#978) * New template: cisco_nxos_show_ip_interface_vrf_all.textfsm * Update index * Update index --- ...sco_nxos_show_ip_interface_vrf_all.textfsm | 59 ++++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_nxos_show_ip_interface_vrf_all.raw | 61 +++++++++++++++++++ .../cisco_nxos_show_ip_interface_vrf_all.yml | 52 ++++++++++++++++ 4 files changed, 173 insertions(+) create mode 100644 ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm create mode 100644 tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw create mode 100644 tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm new file mode 100644 index 0000000000..ba2652fb98 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm @@ -0,0 +1,59 @@ +Value VRF (\S+) +Value INTF (\S+) +Value IPADDR ([a-zA-Z0-9./]+) +Value STATUS (\S+-\S+) +Value LINK (\S+-\S+) +Value PROTO (\S+-\S+) +Value SUBNET (\d+.\d+.\d+.\d+\/\d+) +Value ROUTE_PREF (\d+) +Value ROUTE_TAG (\d+) +Value BROADCAST ([a-zA-Z0-9./]+) +Value MULTICAST_GROUPS (\S+) +Value MTU (\d+) +Value PROXY_ARP (\S+) +Value IP_LOCAL_PROXY_ARP (\S+) +Value MULTICAST_ROUTING (\S+) +Value ICMP_REDIRECTS (\S+) +Value IP_DIRECTED_BROADCAST (\S+) +Value IP_FORWARDING (\S+) +Value ICMP_UNREACHABLES (\S+) +Value ICMP_PORT_UNREACHABLES (\S+) +Value IP_UNICAST_RPF (\S+) +Value IP_LOAD_SHARING (\S+) +Value WCCP_REDIRECT_OUTBOUND (\S+) +Value WCCP_REDIRECT_INBOUND (\S+) +Value WCCP_REDIRECT_EXCLUDE (\S+) + +Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+"${VRF}" + ^${INTF},\s+Interface\s+status:\s+${PROTO}/${LINK}/${STATUS} + ^\s+IP\s+address:\s+${IPADDR},\s+IP\s+subnet:\s+${SUBNET}\s+route-preference:\s+${ROUTE_PREF},\s+tag:\s+${ROUTE_TAG} + ^\s+IP\s+broadcast\s+address:\s+${BROADCAST} + ^\s+IP\s+multicast\s+groups\s+locally\s+joined:\s+${MULTICAST_GROUPS} + ^\s+IP\s+MTU:\s+${MTU}\s+bytes + ^\s+IP\s+primary\s+address\s+route-preference: + ^\s+IP\s+proxy\s+ARP\s+:\s+${PROXY_ARP} + ^\s+IP\s+Local\s+Proxy\s+ARP\s+:\s+${IP_LOCAL_PROXY_ARP} + ^\s+IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING} + ^\s+IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS} + ^\s+IP\s+directed-broadcast:\s+${IP_DIRECTED_BROADCAST} + ^\s+IP\s+Forwarding:\s+${IP_FORWARDING} + ^\s+IP\s+icmp\s+unreachables.+:\s+${ICMP_UNREACHABLES} + ^\s+IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLES} + ^\s+IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${IP_UNICAST_RPF} + ^\s+IP\s+load\s+sharing:\s+${IP_LOAD_SHARING} + ^\s+IP\s+interface\s+statistics\s+last\s+reset: + ^\s+IP\s+interface\s+software\s+stats: + ^\s+Unicast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Unicast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Multicast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Multicast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Broadcast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Broadcast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Labeled\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Labeled\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND} + ^\s+WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND} + ^\s+WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index be2bea4954..ed2f77ba37 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -285,6 +285,7 @@ cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[c cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] (?:ipv4 )?ad[[jacency]] +cisco_nxos_show_ip_interface_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] ip interf[[ace]] v[[rf]] a[[ll]] cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] diff --git a/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw new file mode 100644 index 0000000000..a58c3fa6bd --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw @@ -0,0 +1,61 @@ +IP Interface Status for VRF "default" +Ethernet1/1, Interface status: protocol-up/link-up/admin-up, iod: 5, + IP address: 192.168.101.203, IP subnet: 192.168.101.0/24 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 59/75/0/59/150 + Unicast bytes : 8860/6511/0/8860/12800 + Multicast packets : 0/74/0/0/1 + Multicast bytes : 0/13864/0/0/32 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "management" +mgmt0, Interface status: protocol-up/link-up/admin-up, iod: 2, + IP address: 10.100.0.26, IP subnet: 10.100.0.0/24 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/1/0/0/2 + Unicast bytes : 0/48/0/0/96 + Multicast packets : 0/123/0/0/2 + Multicast bytes : 0/6868/0/0/64 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml new file mode 100644 index 0000000000..8266fd8289 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - vrf: "default" + intf: "Ethernet1/1" + ipaddr: "192.168.101.203" + status: "admin-up," + link: "link-up" + proto: "protocol-up" + subnet: "192.168.101.0/24" + route_pref: "0" + route_tag: "0" + broadcast: "255.255.255.255" + multicast_groups: "none" + mtu: "1500" + proxy_arp: "disabled" + ip_local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + ip_directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachables: "enabled" + ip_unicast_rpf: "none" + ip_load_sharing: "none" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf: "management" + intf: "mgmt0" + ipaddr: "10.100.0.26" + status: "admin-up," + link: "link-up" + proto: "protocol-up" + subnet: "10.100.0.0/24" + route_pref: "0" + route_tag: "0" + broadcast: "255.255.255.255" + multicast_groups: "none" + mtu: "1500" + proxy_arp: "disabled" + ip_local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + ip_directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachables: "enabled" + ip_unicast_rpf: "none" + ip_load_sharing: "none" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From bab2b9b8c6609dd65c915f6ea9fa0e7a29864f9d Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Wed, 15 Sep 2021 21:49:11 +0300 Subject: [PATCH 221/412] New template: juniper_junos_show_system_uptime.textfsm (#975) New template: juniper_junos_show_system_uptime.textfsm --- ntc_templates/templates/index | 1 + .../juniper_junos_show_system_uptime.textfsm | 36 +++++++++++++++++++ .../juniper_junos_show_system_uptime.raw | 6 ++++ .../juniper_junos_show_system_uptime.yml | 28 +++++++++++++++ .../juniper_junos_show_system_uptime_2.raw | 6 ++++ .../juniper_junos_show_system_uptime_2.yml | 28 +++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 ntc_templates/templates/juniper_junos_show_system_uptime.textfsm create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ed2f77ba37..a384b75f62 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -457,6 +457,7 @@ juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_lldp_neighbors.textfsm, .*, juniper_junos, sh[[ow]] ll[[dp]] n[[eighbors]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] +juniper_junos_show_system_uptime.textfsm, .*, juniper_junos, sh[[ow]] sys[[tem]] up[[time]] juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] diff --git a/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm b/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm new file mode 100644 index 0000000000..8393cd9979 --- /dev/null +++ b/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm @@ -0,0 +1,36 @@ +Value TIME (\d+:\d+:\d+) +Value TIMEZONE (\S+) +Value MONTH (\w+) +Value DAY (\d+) +Value YEAR (\d+) +Value TIME_SOURCE (.*) +Value BOOT_TIME (\d+:\d+:\d+) +Value BOOT_TIMEZONE (\S+) +Value BOOT_MONTH (\w+) +Value BOOT_DAY (\d+) +Value BOOT_YEAR (\d+) +Value PROTOCOLS_TIME (\d+:\d+:\d+) +Value PROTOCOLS_TIMEZONE (\S+) +Value PROTOCOLS_MONTH (\w+) +Value PROTOCOLS_DAY (\d+) +Value PROTOCOLS_YEAR (\d+) +Value LAST_CONFIG_TIME (\d+:\d+:\d+) +Value LAST_CONFIG_TIMEZONE (\S+) +Value LAST_CONFIG_MONTH (\w+) +Value LAST_CONFIG_DAY (\d+) +Value LAST_CONFIG_YEAR (\d+) +Value LAST_CONFIG_USER (\w+) +Value USERS (\d+) +Value LOAD_AVERAGE_1MIN (\d+\.\d{2}) +Value LOAD_AVERAGE_5MIN (\d+\.\d{2}) +Value LOAD_AVERAGE_15MIN (\d+\.\d{2}) + +Start + ^Current\s+time:\s*${YEAR}-${MONTH}-${DAY}\s+${TIME}\s+${TIMEZONE} + ^Time\s+[Ss]ource:\s*${TIME_SOURCE} + ^System\s+booted:\s*${BOOT_YEAR}-${BOOT_MONTH}-${BOOT_DAY}\s+${BOOT_TIME}\s+${BOOT_TIMEZONE}\s+\([^)]+\) + ^Protocols\s+started:\s*${PROTOCOLS_YEAR}-${PROTOCOLS_MONTH}-${PROTOCOLS_DAY}\s+${PROTOCOLS_TIME}\s+${PROTOCOLS_TIMEZONE}\s+\([^)]+\) + ^Last\s+configured:\s*${LAST_CONFIG_YEAR}-${LAST_CONFIG_MONTH}-${LAST_CONFIG_DAY}\s+${LAST_CONFIG_TIME}\s+${LAST_CONFIG_TIMEZONE}\s+\([^)]+\)\s+by\s+${LAST_CONFIG_USER} + ^.*,\s*${USERS}\s+users?,\s*load\s+averages:\s*${LOAD_AVERAGE_1MIN},\s*${LOAD_AVERAGE_5MIN},\s*${LOAD_AVERAGE_15MIN} + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw new file mode 100644 index 0000000000..d645472847 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw @@ -0,0 +1,6 @@ +Current time: 2021-08-31 08:48:11 MSK +Time Source: NTP CLOCK +System booted: 2021-03-29 13:32:05 MSK (22w0d 19:16 ago) +Protocols started: 2021-03-29 13:37:11 MSK (22w0d 19:11 ago) +Last configured: 2021-07-13 16:35:35 MSK (6w6d 16:12 ago) by admin + 8:48AM up 154 days, 19:16, 2 users, load averages: 0.04, 0.04, 0.01 diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml new file mode 100644 index 0000000000..b812c75e11 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - time: "08:48:11" + timezone: "MSK" + year: "2021" + month: "08" + day: "31" + time_source: "NTP CLOCK" + boot_time: "13:32:05" + boot_timezone: "MSK" + boot_year: "2021" + boot_month: "03" + boot_day: "29" + protocols_time: "13:37:11" + protocols_timezone: "MSK" + protocols_year: "2021" + protocols_month: "03" + protocols_day: "29" + last_config_time: "16:35:35" + last_config_timezone: "MSK" + last_config_year: "2021" + last_config_month: "07" + last_config_day: "13" + last_config_user: "admin" + users: "2" + load_average_1min: "0.04" + load_average_5min: "0.04" + load_average_15min: "0.01" diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw new file mode 100644 index 0000000000..2a09b8717c --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw @@ -0,0 +1,6 @@ +Current time: 2021-08-31 12:29:34 MSK +Time Source: NTP CLOCK +System booted: 2021-02-26 18:30:12 MSK (26w3d 17:59 ago) +Protocols started: 2021-02-26 18:34:06 MSK (26w3d 17:55 ago) +Last configured: 2021-07-13 16:35:18 MSK (6w6d 19:54 ago) by admin +12:29PM up 185 days, 17:59, 1 user, load averages: 0.11, 0.05, 0.01 \ No newline at end of file diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml new file mode 100644 index 0000000000..f13959c128 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - time: "12:29:34" + timezone: "MSK" + month: "08" + day: "31" + year: "2021" + time_source: "NTP CLOCK" + boot_time: "18:30:12" + boot_timezone: "MSK" + boot_month: "02" + boot_day: "26" + boot_year: "2021" + protocols_time: "18:34:06" + protocols_timezone: "MSK" + protocols_month: "02" + protocols_day: "26" + protocols_year: "2021" + last_config_time: "16:35:18" + last_config_timezone: "MSK" + last_config_month: "07" + last_config_day: "13" + last_config_year: "2021" + last_config_user: "admin" + users: "1" + load_average_1min: "0.11" + load_average_5min: "0.05" + load_average_15min: "0.01" From 4cf62f36697890c3af74704ceaed4b917414ef5d Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Wed, 15 Sep 2021 13:54:20 -0500 Subject: [PATCH 222/412] Template Change: cisco_ios, show archive (#905) --- .../templates/cisco_ios_show_archive.textfsm | 11 +++++++++++ .../show_archive/cisco_ios_show_archive.yml | 3 +++ .../cisco_ios_show_archive_filelist.raw | 18 ++++++++++++++++++ .../cisco_ios_show_archive_filelist.yml | 16 ++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw create mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml diff --git a/ntc_templates/templates/cisco_ios_show_archive.textfsm b/ntc_templates/templates/cisco_ios_show_archive.textfsm index b86a6a65e7..ee37ded98c 100644 --- a/ntc_templates/templates/cisco_ios_show_archive.textfsm +++ b/ntc_templates/templates/cisco_ios_show_archive.textfsm @@ -1,7 +1,18 @@ Value STATE (\w+\s\w+) +Value NEXT_FILENAME (\S+) +Value List FILENAMES (\S+) +Value CURRENT_INDEX (\d+) Start + ^The\s+maximum\s+archive\s+configurations\s+allowed\s+is\s+\d+. + ^There\s+(are|is)\s+currently\s+\d+\s+archive\s+configuration(s|)\s+saved. + ^The\s+next\s+archive\s+file\s+will\s+be\s+named\s+${NEXT_FILENAME} + ^\s+Archive\s+#\s+Name + ^\s+${CURRENT_INDEX}\s+${FILENAMES}\s+<-\s+Most\s+Recent + ^\s+\d+\s+${FILENAMES} + ^\s+\d+ -> Record ^\sArchive feature ${STATE} -> Record # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is + ^. -> Error diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml index 3affec9822..633c47aaaa 100644 --- a/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml @@ -1,3 +1,6 @@ --- parsed_sample: - state: "not enabled" + next_filename: "" + filenames: [] + current_index: "" diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw new file mode 100644 index 0000000000..df26959e8b --- /dev/null +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw @@ -0,0 +1,18 @@ +The maximum archive configurations allowed is 14. +There are currently 10 archive configurations saved. +The next archive file will be named flash:002-rtr-1-Mar-18-20-30-52.969-CDT-10 + Archive # Name + 1 flash:002-rtr-1-Mar-17-07-53-52.484-CDT-0 + 2 flash:002-rtr-1-Mar-17-20-41-40.639-CDT-1 + 3 flash:002-rtr-1-Mar-17-20-46-54.242-CDT-2 + 4 flash:002-rtr-1-Mar-17-20-50-10.784-CDT-3 + 5 flash:002-rtr-1-Mar-17-20-51-44.032-CDT-4 + 6 flash:002-rtr-1-Mar-17-20-53-59.347-CDT-5 + 7 flash:002-rtr-1-Mar-18-09-59-49.072-CDT-6 + 8 flash:002-rtr-1-Mar-18-10-00-02.188-CDT-7 + 9 flash:002-rtr-1-Mar-18-14-16-54.198-CDT-8 + 10 flash:002-rtr-1-Mar-18-16-08-16.319-CDT-9 <- Most Recent + 11 + 12 + 13 + 14 \ No newline at end of file diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml new file mode 100644 index 0000000000..b36e06abee --- /dev/null +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - state: "" + next_filename: "flash:002-rtr-1-Mar-18-20-30-52.969-CDT-10" + filenames: + - "flash:002-rtr-1-Mar-17-07-53-52.484-CDT-0" + - "flash:002-rtr-1-Mar-17-20-41-40.639-CDT-1" + - "flash:002-rtr-1-Mar-17-20-46-54.242-CDT-2" + - "flash:002-rtr-1-Mar-17-20-50-10.784-CDT-3" + - "flash:002-rtr-1-Mar-17-20-51-44.032-CDT-4" + - "flash:002-rtr-1-Mar-17-20-53-59.347-CDT-5" + - "flash:002-rtr-1-Mar-18-09-59-49.072-CDT-6" + - "flash:002-rtr-1-Mar-18-10-00-02.188-CDT-7" + - "flash:002-rtr-1-Mar-18-14-16-54.198-CDT-8" + - "flash:002-rtr-1-Mar-18-16-08-16.319-CDT-9" + current_index: "10" From 617d19dd88f40b80f7b3850f09fd08d6eb8c09f8 Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Wed, 15 Sep 2021 21:55:58 +0300 Subject: [PATCH 223/412] Bugfix: change date format in hp_comware_display_clock.textfsm (#977) As per https://techhub.hpe.com/eginfolib/networking/docs/switches/5940/5200-1008b_fund_cr/content/491962772.htm output of the `display clock` commands output contains date in `MM/DD/YYYY` format. Can confirm this on different types of HPE switches I have at my disposal. Added test cases that cover the scenarios when time zone and daylight time saving configurations are set. --- ntc_templates/templates/hp_comware_display_clock.textfsm | 2 +- .../hp_comware/display_clock/hp_comware_display_clock.yml | 8 ++++---- .../display_clock/hp_comware_display_clock_1.raw | 1 + .../display_clock/hp_comware_display_clock_1.yml | 8 ++++++++ .../display_clock/hp_comware_display_clock_2.raw | 2 ++ .../display_clock/hp_comware_display_clock_2.yml | 8 ++++++++ .../display_clock/hp_comware_display_clock_3.raw | 3 +++ .../display_clock/hp_comware_display_clock_3.yml | 8 ++++++++ 8 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_1.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_1.yml create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_2.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_2.yml create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_3.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_3.yml diff --git a/ntc_templates/templates/hp_comware_display_clock.textfsm b/ntc_templates/templates/hp_comware_display_clock.textfsm index 612c0d6bba..ae56893686 100644 --- a/ntc_templates/templates/hp_comware_display_clock.textfsm +++ b/ntc_templates/templates/hp_comware_display_clock.textfsm @@ -6,6 +6,6 @@ Value DAY (\d+) Value YEAR (\d+) Start - ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record + ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${MONTH}/${DAY}/${YEAR} -> Record diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock.yml b/tests/hp_comware/display_clock/hp_comware_display_clock.yml index 84bfccbd97..d189e3b31c 100644 --- a/tests/hp_comware/display_clock/hp_comware_display_clock.yml +++ b/tests/hp_comware/display_clock/hp_comware_display_clock.yml @@ -1,8 +1,8 @@ --- parsed_sample: - - day: "01" - dayweek: "Sat" - month: "08" - time: "19:35:31" + - time: "19:35:31" timezone: "UTC" + dayweek: "Sat" + month: "01" + day: "08" year: "2011" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw new file mode 100644 index 0000000000..7146ad417a --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw @@ -0,0 +1 @@ +10:09:00 UTC Fri 03/16/2015 \ No newline at end of file diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml new file mode 100644 index 0000000000..2b219c2025 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "10:09:00" + timezone: "UTC" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw new file mode 100644 index 0000000000..7bc116bccc --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw @@ -0,0 +1,2 @@ +15:10:00 Z5 Fri 03/16/2015 +Time Zone : Z5 add 05:00:00 \ No newline at end of file diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml new file mode 100644 index 0000000000..a63a153ea4 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "15:10:00" + timezone: "Z5" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw new file mode 100644 index 0000000000..561e7fcf15 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw @@ -0,0 +1,3 @@ +15:11:00 Z5 Fri 03/16/2015 +Time Zone : Z5 add 05:00:00 +Summer Time : PDT 06:00:00 08/01 06:00:00 09/01 01:00:00 diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml new file mode 100644 index 0000000000..15a71d648d --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "15:11:00" + timezone: "Z5" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" From 4413834943b324cb193ad30232abc468aae32050 Mon Sep 17 00:00:00 2001 From: Stephen Corry Date: Wed, 15 Sep 2021 15:04:24 -0400 Subject: [PATCH 224/412] update arista interface template + raw (#963) --- .../arista_eos_show_interfaces.textfsm | 13 +++++-- .../arista_eos_show_interfaces.yml | 34 +++++++------------ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/ntc_templates/templates/arista_eos_show_interfaces.textfsm b/ntc_templates/templates/arista_eos_show_interfaces.textfsm index 7e794ea461..19bc004c67 100644 --- a/ntc_templates/templates/arista_eos_show_interfaces.textfsm +++ b/ntc_templates/templates/arista_eos_show_interfaces.textfsm @@ -8,10 +8,19 @@ Value DESCRIPTION (.*) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value BANDWIDTH (\d+\s+\w+) +Value INTERFACE_UP_TIME (.*) +Value LINK_STATUS_CHANGE (\d+) Start - ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}$$ + ^\S+\s+is\s+\S+,\s+line\s+protocol\s+is\s+\S+\s+\S+ -> Continue.Record + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(.*address\s+is\s+${ADDRESS})*(.*bia\s+${BIA})* ^\s+Description:\s+${DESCRIPTION} ^\s+Internet\s+address\s+is\s+${IP_ADDRESS} - ^.*MTU\s+${MTU}(.*BW\s+${BANDWIDTH})* -> Record + ^\s+(Up|Down)\s+${INTERFACE_UP_TIME} + ^\s+${LINK_STATUS_CHANGE}\s+link\s+status\s+changes.* + ^.*MTU\s+${MTU}(.*BW\s+${BANDWIDTH})* + ^\s* + ^. -> Error + +EOF \ No newline at end of file diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml index 0edeb2bcc6..c9a183f5d0 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml @@ -10,26 +10,20 @@ parsed_sample: ip_address: "172.16.1.1/24" mtu: "1500" bandwidth: "10000000 kbit" - - interface: "Ethernet2" - link_status: "up" - protocol_status: "up (connected)" - hardware_type: "Ethernet" - address: "0800.27dc.5443" - bia: "" - description: "Connects to Ethernet1 on localhost" - ip_address: "172.16.2.1/24" - mtu: "1500" - bandwidth: "10000000 kbit" + interface_up_time: "14 minutes, 2 seconds" + link_status_change: "1" - interface: "Ethernet49/1" link_status: "administratively down" protocol_status: "notpresent (disabled)" hardware_type: "Ethernet" address: "fcbd.67e2.b922" bia: "fcbd.67e2.b922" - description: "" - ip_address: "" + description: "Connects to Ethernet1 on localhost" + ip_address: "172.16.2.1/24" mtu: "9214" bandwidth: "100000000 kbit" + interface_up_time: "6 days, 11 hours, 16 minutes, 54 seconds" + link_status_change: "1" - interface: "Loopback0" link_status: "up" protocol_status: "up (connected)" @@ -40,6 +34,8 @@ parsed_sample: ip_address: "1.1.1.1/32" mtu: "65535" bandwidth: "" + interface_up_time: "7 seconds" + link_status_change: "" - interface: "Port-Channel1" link_status: "down" protocol_status: "lowerlayerdown (notconnect)" @@ -50,6 +46,8 @@ parsed_sample: ip_address: "" mtu: "9214" bandwidth: "" + interface_up_time: "10 minutes, 21 seconds" + link_status_change: "1" - interface: "Management1" link_status: "up" protocol_status: "up (connected)" @@ -60,13 +58,5 @@ parsed_sample: ip_address: "" mtu: "1500" bandwidth: "1000000 kbit" - - interface: "Vlan10" - link_status: "down" - protocol_status: "lowerlayerdown (notconnect)" - hardware_type: "Vlan" - address: "0800.27dc.5443" - bia: "0800.27dc.5443" - description: "" - ip_address: "10.0.0.1/24" - mtu: "1500" - bandwidth: "" + interface_up_time: "14 minutes, 4 seconds" + link_status_change: "3" From 04200cd4cceaf70827b5dfccccd49a4fbc20200a Mon Sep 17 00:00:00 2001 From: lamiskin Date: Wed, 22 Sep 2021 00:53:30 +1000 Subject: [PATCH 225/412] New Template: cisco_ios_show_dhcp_lease (#991) --- .../cisco_ios_show_dhcp_lease.textfsm | 30 +++++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_dhcp_lease.raw | 10 +++++++ .../cisco_ios_show_dhcp_lease.yml | 17 +++++++++++ .../cisco_ios_show_dhcp_lease_2.raw | 10 +++++++ .../cisco_ios_show_dhcp_lease_2.yml | 17 +++++++++++ .../cisco_ios_show_dhcp_lease_3.raw | 11 +++++++ .../cisco_ios_show_dhcp_lease_3.yml | 17 +++++++++++ 8 files changed, 113 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml diff --git a/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm b/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm new file mode 100644 index 0000000000..2c1cd93400 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm @@ -0,0 +1,30 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value NETMASK (\d+\.\d+\.\d+\.\d+) +Value INTERFACE (\S+) +Value SERVER (\d+\.\d+\.\d+\.\d+) +Value STATE_ID (\d+) +Value STATE (\w+) +Value TRANSACTION_ID (\S+) +Value TIME_LEASE (\d+) +Value TIME_RENEWAL (\d+) +Value TIME_REBOUND (\d+) +Value TIME_NEXT_FIRE (\S+) +Value GATEWAY (\d+\.\d+\.\d+\.\d+) +Value RETRY_COUNT (\d+) +Value CLIENT_ID (\S+) +Value HOSTNAME (\S+) + +Start + ^\s*Temp\s+IP\s+addr:\s+${ADDRESS}\s+for\s+peer\s+on\s+Interface: ${INTERFACE} + ^\s*Temp\s+sub\s+net\s+mask:\s+${NETMASK} + ^\s*DHCP\s+Lease\s+server:\s+${SERVER},\s+state:\s+${STATE_ID}\s+${STATE} + ^\s*DHCP\s+transaction\s+id:\s+${TRANSACTION_ID} + ^\s*Lease:\s+${TIME_LEASE}\s+secs,\s+Renewal:\s+${TIME_RENEWAL}\s+secs,\s+Rebind:\s+${TIME_REBOUND}\s+secs + ^\s*Next\s+timer\s+fires\s+after:\s+${TIME_NEXT_FIRE} + ^\s*Client\-ID\s+hex\s+dump.*$$ + ^\s*\S+$$ + ^\s*Temp\s+default-gateway\s+addr:\s+${GATEWAY} + ^\s*Retry\s+count:\s+${RETRY_COUNT}\s+Client-ID:\s+${CLIENT_ID} + ^\s*Hostname: ${HOSTNAME} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a384b75f62..9ed2eb76f7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -243,6 +243,7 @@ cisco_ios_show_object-group.textfsm, .*, cisco_ios, sh[[ow]] ob[[ject-group]] cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] +cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw new file mode 100644 index 0000000000..7b0d239e79 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw @@ -0,0 +1,10 @@ +Temp IP addr: 172.31.8.197 for peer on Interface: Vlan49 +Temp sub net mask: 255.255.255.128 + DHCP Lease server: 130.102.189.253, state: 5 Bound + DHCP transaction id: 45B + Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs + Next timer fires after: 11:59:42 + Retry count: 0 Client-ID: cisco-0025.8313.0d43-Vl49 + Client-ID hex dump: 636973636F2D303032352E383331332E + 306434332D566C3431 + Hostname: hostname-1 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml new file mode 100644 index 0000000000..2ce77ecd80 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "172.31.8.197" + netmask: "255.255.255.128" + interface: "Vlan49" + server: "130.102.189.253" + state_id: "5" + state: "Bound" + transaction_id: "45B" + time_lease: "86400" + time_renewal: "43200" + time_rebound: "75600" + time_next_fire: "11:59:42" + gateway: "" + retry_count: "0" + client_id: "cisco-0025.8313.0d43-Vl49" + hostname: "hostname-1" diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw new file mode 100644 index 0000000000..1e34016d1b --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw @@ -0,0 +1,10 @@ +Temp IP addr: 0.0.0.0 for peer on Interface: Vlan1 +Temp sub net mask: 0.0.0.0 + DHCP Lease server: 0.0.0.0, state: 10 Purging + DHCP transaction id: BD28 + Lease: 0 secs, Renewal: 0 secs, Rebind: 0 secs + Next timer fires after: 00:00:31 + Retry count: 0 Client-ID: cisco-0025.46e6.0cc0-Vl1 + Client-ID hex dump: 636973636F2D303032352E343665362E + 306363302D566C31 + Hostname: hostname-2 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml new file mode 100644 index 0000000000..df6e73f887 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "0.0.0.0" + netmask: "0.0.0.0" + interface: "Vlan1" + server: "0.0.0.0" + state_id: "10" + state: "Purging" + transaction_id: "BD28" + time_lease: "0" + time_renewal: "0" + time_rebound: "0" + time_next_fire: "00:00:31" + gateway: "" + retry_count: "0" + client_id: "cisco-0025.46e6.0cc0-Vl1" + hostname: "hostname-2" diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw new file mode 100644 index 0000000000..cc0c132a44 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw @@ -0,0 +1,11 @@ +Temp IP addr: 172.16.219.170 for peer on Interface: Vlan49 +Temp sub net mask: 255.255.255.128 + DHCP Lease server: 130.102.188.253, state: 7 Renewing + DHCP transaction id: 210E + Lease: 14400 secs, Renewal: 7200 secs, Rebind: 12600 secs +Temp default-gateway addr: 172.16.219.129 + Next timer fires after: 00:37:36 + Retry count: 1 Client-ID: cisco-ecce.131f.fe62-Vl49 + Client-ID hex dump: 636973636F2D656363652E313331662E + 666536322D566C3439 + Hostname: 01-0080-7059-as01 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml new file mode 100644 index 0000000000..1b1df35284 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "172.16.219.170" + netmask: "255.255.255.128" + interface: "Vlan49" + server: "130.102.188.253" + state_id: "7" + state: "Renewing" + transaction_id: "210E" + time_lease: "14400" + time_renewal: "7200" + time_rebound: "12600" + time_next_fire: "00:37:36" + gateway: "172.16.219.129" + retry_count: "1" + client_id: "cisco-ecce.131f.fe62-Vl49" + hostname: "01-0080-7059-as01" From 44408003a4779b7afb76edf017a616371709bfc7 Mon Sep 17 00:00:00 2001 From: Armen Martirosyan Date: Wed, 22 Sep 2021 01:28:23 -0700 Subject: [PATCH 226/412] Fix ios_mac-addr type2 --- .../cisco_ios_show_mac-address-table.textfsm | 31 +++- .../cisco_ios_show_mac-address-table.yml | 27 ++-- .../cisco_ios_show_mac-address-table2.yml | 27 ++-- .../cisco_ios_show_mac-address-table3.yml | 27 ++-- .../cisco_ios_show_mac-address-table4.yml | 51 ++++-- .../cisco_ios_show_mac-address-table5.yml | 30 ++-- .../cisco_ios_show_mac-address-table6.yml | 33 ++-- .../cisco_ios_show_mac-address-table7.yml | 18 ++- .../cisco_ios_show_mac-address-table8.yml | 147 ++++++++++++------ .../cisco_ios_show_mac-address-table9.raw | 1 - .../cisco_ios_show_mac-address-table9.yml | 91 +++++++---- tests/mocks/expected/show_mac.yml | 27 ++-- 12 files changed, 341 insertions(+), 169 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index 4d24ad469c..a6e994a805 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,7 +1,7 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\S+) Value VLAN (\S+) -Value DESTINATION_PORT (\S+) +Value List DESTINATION_PORT (\S+?) Start ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1 @@ -13,7 +13,7 @@ Start ^Time\s+source\s+is TYPE1 - ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record + ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT}$$ -> Record ^-+\s+-+ ^Displaying\s+entries ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port @@ -23,16 +23,35 @@ TYPE1 TYPE2 # Order of the group in brackets here matters - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+) -> Continue.Record + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,)${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports ^\s*$$ + ^\s*\S+ ^Multicast\s+Entries -> End ^. -> Error TYPE3 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT}$$ -> Record ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+protocols\s+port @@ -41,11 +60,11 @@ TYPE3 ^. -> Error TYPE4 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}$$ -> Record ^-+\s+-+ ^Displaying\s+entries ^Vlan\s+Mac Address\s+Type\s+Ports ^\s*$$ ^Total\s+Mac\s+Addresses ^MultiCast\s+Entries -> End - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml index 0ad68037b1..042ef44f15 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "0010.0de0.e289" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0010.7b00.1540" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0010.7b00.1545" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0060.5cf4.0076" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.0077" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.1315" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.70cb.f301" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e42.9978" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e9f.3900" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml index 970e0426b7..af5d6e61a1 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "30a3.30a3.a1c3" type: "dynamic" vlan: "666" - destination_port: "Te1/30" + destination_port: + - "Te1/30" - destination_address: "30a3.30a3.5ab8" type: "dynamic" vlan: "666" - destination_port: "Po3" + destination_port: + - "Po3" - destination_address: "30a3.30a3.4d54" type: "dynamic" vlan: "60" - destination_port: "Te1/21" + destination_port: + - "Te1/21" - destination_address: "0000.30a3.0167" type: "static" vlan: "777" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "30a3.30a3.58b5" type: "dynamic" vlan: "664" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.daf5" type: "dynamic" vlan: "667" - destination_port: "Te3/20" + destination_port: + - "Te3/20" - destination_address: "30a3.30a3.e401" type: "dynamic" vlan: "668" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.5a22" type: "dynamic" vlan: "669" - destination_port: "Te3/20" + destination_port: + - "Te3/20" - destination_address: "30a3.30a3.5a22" type: "dynamic" vlan: "2000" - destination_port: "Te3/20" + destination_port: + - "Te3/20" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml index de4198e107..b092112ba5 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "30a3.30a3.a1c3" type: "dynamic" vlan: "1" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c4" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c5" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c6" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c7" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c8" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c9" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1ca" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1ca" type: "dynamic" vlan: "2000" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml index 141468d8a7..2c15de8577 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml @@ -3,68 +3,85 @@ parsed_sample: - destination_address: "0100.0ccc.cccc" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0100.0ccc.cccd" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0100.0ccc.ccce" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0000" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0001" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "30a3.30a3.a1c3" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c4" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c5" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c6" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c7" type: "DYNAMIC" vlan: "1" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1c8" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1c9" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1ca" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1cb" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1cc" type: "STATIC" vlan: "99" - destination_port: "Vl99" + destination_port: + - "Vl99" - destination_address: "30a3.30a3.a1cd" type: "DYNAMIC" vlan: "99" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.a1cd" type: "DYNAMIC" vlan: "2000" - destination_port: "Po6" + destination_port: + - "Po6" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml index 7262f25e55..3cc19b12d7 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml @@ -3,40 +3,50 @@ parsed_sample: - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml index 117f7a3f03..e570b09bd8 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml @@ -3,44 +3,55 @@ parsed_sample: - destination_address: "0180.c200.000f" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0010" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "ffff.ffff.ffff" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "c869.cd54.1f71" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/7" + destination_port: + - "Gi1/0/7" - destination_address: "d052.a826.5d8d" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/3" + destination_port: + - "Gi1/0/3" - destination_address: "e46f.13a9.08e5" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/36" + destination_port: + - "Gi1/0/36" - destination_address: "e8eb.1190.d0ff" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/37" + destination_port: + - "Gi1/0/37" - destination_address: "fca1.831b.8ba9" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/41" + destination_port: + - "Gi1/0/41" - destination_address: "fcec.da7a.c955" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/1" + destination_port: + - "Gi1/0/1" - destination_address: "fcec.da80.0a3e" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/22" + destination_port: + - "Gi1/0/22" - destination_address: "fcec.da80.0af9" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/41" + destination_port: + - "Gi1/0/41" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml index e99dcd98c6..fd25e6584b 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml @@ -3,24 +3,30 @@ parsed_sample: - destination_address: "0000.0c07.ac04" type: "dynamic" vlan: "46" - destination_port: "TenGigabitEthernet5/1" + destination_port: + - "TenGigabitEthernet5/1" - destination_address: "000c.ab66.1c75" type: "dynamic" vlan: "46" - destination_port: "GigabitEthernet1/15" + destination_port: + - "GigabitEthernet1/15" - destination_address: "ac9b.0acc.ff55" type: "dynamic" vlan: "46" - destination_port: "GigabitEthernet7/13" + destination_port: + - "GigabitEthernet7/13" - destination_address: "002a.101e.e33e" type: "dynamic" vlan: "48" - destination_port: "TenGigabitEthernet7/1" + destination_port: + - "TenGigabitEthernet7/1" - destination_address: "002a.1060.51da" type: "dynamic" vlan: "48" - destination_port: "TenGigabitEthernet1/10" + destination_port: + - "TenGigabitEthernet1/10" - destination_address: "0081.c4ba.d07f" type: "static" vlan: "48" - destination_port: "Switch" + destination_port: + - "Switch" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml index 7e1c30fe9f..fe1a3ce7aa 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml @@ -3,196 +3,245 @@ parsed_sample: - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "e033.8ebe.f149" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "e033.8ebe.f149" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "58b1.0f81.4b32" type: "dynamic" vlan: "45" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "6c96.cfdd.d70f" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "701f.534c.5bd3" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.5385.b32b" type: "dynamic" vlan: "65" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.534c.5b60" type: "dynamic" vlan: "68" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "0072.78de.5b2f" type: "dynamic" vlan: "69" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.5385.b259" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "acbc.32be.0a99" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "3ce1.a146.fd6e" type: "dynamic" vlan: "57" - destination_port: "Te1/5" + destination_port: + - "Te1/5" - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "701f.534c.5ec1" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5bb5" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.534c.5b60" type: "dynamic" vlan: "68" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "0072.78de.5b2f" type: "dynamic" vlan: "69" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.5385.b259" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "acbc.32be.0a99" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "3ce1.a146.fd6e" type: "dynamic" vlan: "57" - destination_port: "Te1/5" + destination_port: + - "Te1/5" - destination_address: "701f.534c.643e" type: "dynamic" vlan: "67" - destination_port: "Te1/5" + destination_port: + - "Te1/5" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw index 5a5cc393af..bdb06a7cd2 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -35,7 +35,6 @@ Displaying entries from active supervisor:: * 10 0000.0000.1300 dynamic Yes 0 Te1/5/13 200 0000.0000.3cc0 dynamic Yes 20 Te1/1/8 82 0000.0000.3900 dynamic Yes 0 Te2/5/4 - R N/A 0000.0000.0e00 static No - Router 216 0000.0000.4b10 dynamic Yes 265 Te1/1/8 361 0000.0000.7565 dynamic Yes 50 Po4 361 0000.0000.0ca6 dynamic Yes 105 Po4 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml index 7c5f61973f..2cc4534051 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -3,120 +3,145 @@ parsed_sample: - destination_address: "0000.0000.4500" type: "dynamic" vlan: "75" - destination_port: "Te2/5/4" + destination_port: + - "Te2/5/4" - destination_address: "0000.0000.21de" type: "dynamic" vlan: "402" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.3800" type: "dynamic" vlan: "3" - destination_port: "Te2/5/10" + destination_port: + - "Te2/5/10" - destination_address: "0000.0000.0f00" type: "dynamic" vlan: "24" - destination_port: "Te1/1/9" + destination_port: + - "Te1/1/9" - destination_address: "0000.0100.0000" type: "dynamic" vlan: "10" - destination_port: "Te1/5/13" + destination_port: + - "Te1/5/13" - destination_address: "0000.0000.0e00" type: "static" vlan: "459" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.0d00" type: "dynamic" vlan: "39" - destination_port: "Te1/5/4" + destination_port: + - "Te1/5/4" - destination_address: "0000.0000.ace0" type: "dynamic" vlan: "174" - destination_port: "Te1/1/11" + destination_port: + - "Te1/1/11" - destination_address: "0000.0000.1bea" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.e903" type: "dynamic" vlan: "310" - destination_port: "Te2/1/5" + destination_port: + - "Te2/1/5" - destination_address: "0000.0000.0400" type: "dynamic" vlan: "302" - destination_port: "Te1/5/4" + destination_port: + - "Te1/5/4" - destination_address: "0000.0000.0000" type: "dynamic" vlan: "402" - destination_port: "Te1/1/10" + destination_port: + - "Te1/1/10" - destination_address: "0000.0000.0e00" type: "static" vlan: "303" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.3e00" type: "dynamic" vlan: "141" - destination_port: "Te2/1/9" + destination_port: + - "Te2/1/9" - destination_address: "0000.0000.3900" type: "dynamic" vlan: "8" - destination_port: "Te2/5/3" + destination_port: + - "Te2/5/3" - destination_address: "0000.0000.0f00" type: "dynamic" vlan: "111" - destination_port: "Te1/1/9" + destination_port: + - "Te1/1/9" - destination_address: "0000.0000.0e00" type: "static" vlan: "68" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.39c9" type: "dynamic" vlan: "60" - destination_port: "Te2/1/5" + destination_port: + - "Te2/1/5" - destination_address: "0000.0000.a3ea" type: "dynamic" vlan: "6" - destination_port: "Te2/5/8" + destination_port: + - "Te2/5/8" - destination_address: "0000.0000.4000" type: "dynamic" vlan: "703" - destination_port: "Te2/1/9" + destination_port: + - "Te2/1/9" - destination_address: "0000.0000.0e00" type: "static" vlan: "62" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.1300" type: "dynamic" vlan: "10" - destination_port: "Te1/5/13" + destination_port: + - "Te1/5/13" - destination_address: "0000.0000.3cc0" type: "dynamic" vlan: "200" - destination_port: "Te1/1/8" + destination_port: + - "Te1/1/8" - destination_address: "0000.0000.3900" type: "dynamic" vlan: "82" - destination_port: "Te2/5/4" - - destination_address: "0000.0000.0e00" - type: "static" - vlan: "N/A" - destination_port: "Router" + destination_port: + - "Te2/5/4" - destination_address: "0000.0000.4b10" type: "dynamic" vlan: "216" - destination_port: "Te1/1/8" + destination_port: + - "Te1/1/8" - destination_address: "0000.0000.7565" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.0ca6" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.0e00" type: "static" vlan: "451" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.1fcb" type: "dynamic" vlan: "401" - destination_port: "Po4" + destination_port: + - "Po4" diff --git a/tests/mocks/expected/show_mac.yml b/tests/mocks/expected/show_mac.yml index 0ad68037b1..042ef44f15 100644 --- a/tests/mocks/expected/show_mac.yml +++ b/tests/mocks/expected/show_mac.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "0010.0de0.e289" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0010.7b00.1540" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0010.7b00.1545" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0060.5cf4.0076" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.0077" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.1315" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.70cb.f301" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e42.9978" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e9f.3900" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" From bbf08a21ffb546683ad6f1e0d8f41f76551e346b Mon Sep 17 00:00:00 2001 From: dainok Date: Wed, 13 Oct 2021 20:03:02 +0200 Subject: [PATCH 227/412] fix parsing with int addresses = 0 (#982) Fix parsing of int addresses = 0 --- .../cisco_nxos_show_cdp_neighbors_detail.textfsm | 2 +- .../cisco_nxos_show_cdp_neighbors_detail2.raw | 14 ++++++++++++++ .../cisco_nxos_show_cdp_neighbors_detail2.yml | 11 +++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.raw create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.yml diff --git a/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm index 49e43e5ebd..cbcccbda12 100644 --- a/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm @@ -11,7 +11,7 @@ Value CAPABILITIES (.*[^\s]) Start ^Device ID:${DEST_HOST} ^System Name: ${SYSNAME} - ^Interface address\(es\): -> GetInterfaceIP + ^Interface address\(es\):\s*(^[1-9]\d*|$$) -> GetInterfaceIP ^Mgmt address\(es\): -> GetIP ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES}\s*$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.raw b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.raw new file mode 100644 index 0000000000..32e77fc8c6 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.raw @@ -0,0 +1,14 @@ +---------------------------------------- +Device ID:MKT1 + +Interface address(es): 0 +Platform: MikroTik, Capabilities: Router +Interface: Ethernet1/1, Port ID (outgoing port): ether1 +Holdtime: 61 sec + +Version: +6.47.10 (long-term) + +Advertisement Version: 1 +Local Interface MAC: b1:81:d1:d1:a1:11 +Remote Interface MAC: 00:00:00:00:00:00 diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.yml b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.yml new file mode 100644 index 0000000000..fe8087a36f --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail2.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - dest_host: "MKT1" + local_port: "Ethernet1/1" + mgmt_ip: "" + platform: "MikroTik" + remote_port: "ether1" + sysname: "" + version: "6.47.10 (long-term)" + interface_ip: "" + capabilities: "Router" From 24b54a6e59806ffaea127fe61998018ffa0af9cf Mon Sep 17 00:00:00 2001 From: ak-empiak <70951291+ak-empiak@users.noreply.github.com> Date: Fri, 15 Oct 2021 02:22:11 +0200 Subject: [PATCH 228/412] new template : huawei_vrp dis_int_desc + dis_port_vlan ; fix huawei_vrp dis_int_br (#998) Add new templates `huawei_vrp` `dis_int_desc` `dis_port_vlan` --- ...huawei_vrp_display_interface_brief.textfsm | 2 +- ..._vrp_display_interface_description.textfsm | 18 + .../huawei_vrp_display_port_vlan.textfsm | 137 +++++++ ntc_templates/templates/index | 2 + ...awei_vrp_display_interface_description.raw | 41 +++ ...awei_vrp_display_interface_description.yml | 122 +++++++ .../huawei_vrp_display_port_vlan_example1.raw | 30 ++ .../huawei_vrp_display_port_vlan_example1.yml | 142 ++++++++ .../huawei_vrp_display_port_vlan_example2.raw | 30 ++ .../huawei_vrp_display_port_vlan_example2.yml | 131 +++++++ .../huawei_vrp_display_port_vlan_example3.raw | 54 +++ .../huawei_vrp_display_port_vlan_example3.yml | 339 ++++++++++++++++++ 12 files changed, 1047 insertions(+), 1 deletion(-) create mode 100644 ntc_templates/templates/huawei_vrp_display_interface_description.textfsm create mode 100644 ntc_templates/templates/huawei_vrp_display_port_vlan.textfsm create mode 100644 tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.raw create mode 100644 tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.yml create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.raw create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.yml create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.raw create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.yml create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.raw create mode 100644 tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.yml diff --git a/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm index aa298fa834..5ca1282261 100644 --- a/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm @@ -10,7 +10,7 @@ Value OUTERRORS (\d+) Start ^\s*${INTERFACE}\s+${PHY}\s+${PROTOCOL}\s+${INUTI}\s+${OUTUTI}\s+${INERRORS}\s+${OUTERRORS} -> Record ^PHY:\s+Physical - ^(?:\*|\^)down: + ^(?:\*|\^|\#)down: ^\(\w+\):\s+\S+ ^InUti/OutUti: ^Interface\s+PHY\s+Protocol\s+InUti\s+OutUti\s+inErrors\s+outErrors\s*$$ diff --git a/ntc_templates/templates/huawei_vrp_display_interface_description.textfsm b/ntc_templates/templates/huawei_vrp_display_interface_description.textfsm new file mode 100644 index 0000000000..c7b9605d66 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_interface_description.textfsm @@ -0,0 +1,18 @@ +Value INTERFACE (\S+) +Value PHY (down|\*down|up|up\(s\)) +Value PROTOCOL (down|\*down|up|up\(s\)) +Value DESCRIPTION (\S+.*?) + + +Start + ^Interface\s+PHY\s+Protocol\s+Description\s*$$ -> Begin + ^\s*$$ + ^PHY:\s+Physical + ^(?:\*|\^|\#)down: + ^\(\w+\):\s+\S+ + ^. -> Error + +Begin + ^${INTERFACE}\s+${PHY}\s+${PROTOCOL}(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/huawei_vrp_display_port_vlan.textfsm b/ntc_templates/templates/huawei_vrp_display_port_vlan.textfsm new file mode 100644 index 0000000000..ba9ca6e3b6 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_port_vlan.textfsm @@ -0,0 +1,137 @@ +Value Required INTERFACE ([\w\.\/]+) +Value LINK_TYPE (trunk|access|auto|hybrid) +Value PVID (\d+) +Value List TRUNK_VLAN_LIST (\d+-\d+|\d+) + + +Start + ^\s*$$ + ^[pPoOrRtT]{4}.*$$ -> VLANS + +VLANS + ^[\w\.\/]+ -> Continue.Record + ^${INTERFACE}\s+${LINK_TYPE}\s+${PVID}\s+${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){3}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){4}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){5}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){6}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){7}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){8}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){9}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){10}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){11}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){12}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){13}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){14}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){15}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){16}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){17}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){18}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){19}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){20}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){21}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){22}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){23}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){24}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){25}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){26}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){27}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){28}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){29}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){30}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){31}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){32}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){33}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){34}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){35}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){36}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){37}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){38}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){39}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){40}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){41}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){42}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){43}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){44}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){45}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){46}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){47}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){48}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){49}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){50}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){51}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){52}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){53}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){54}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){55}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){56}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){57}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){58}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){59}${TRUNK_VLAN_LIST}\s* -> Continue + ^[\w\.\/]+\s+(?:\S+\s+){60}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+\S+\s+${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){2}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){3}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){4}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){5}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){6}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){7}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){8}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){9}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){10}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){11}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){12}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){13}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){14}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){15}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){16}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){17}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){18}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){19}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){20}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){21}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){22}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){23}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){24}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){25}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){26}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){27}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){28}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){29}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){30}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){31}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){32}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){33}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){34}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){35}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){36}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){37}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){38}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){39}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){40}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){41}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){42}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){43}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){44}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){45}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){46}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){47}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){48}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){49}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){50}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){51}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){52}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){53}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){54}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){55}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){56}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){57}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){58}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){59}${TRUNK_VLAN_LIST}\s* -> Continue + ^\s+(?:\S+\s+){60}${TRUNK_VLAN_LIST}\s* -> Continue + ^${INTERFACE}\s+${LINK_TYPE}\s+${PVID}\s+-$$ -> Record + ^[\w\.\/]+ + ^\s+ + ^-+ + ^.+ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 9ed2eb76f7..8288d3ecbc 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -444,9 +444,11 @@ hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] +huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] des[[cription]] huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, disp[[lay]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[perature]] +huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, disp[[lay]] port vl[[an]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, disp[[lay]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] diff --git a/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.raw b/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.raw new file mode 100644 index 0000000000..ecfa53e6d6 --- /dev/null +++ b/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.raw @@ -0,0 +1,41 @@ +PHY: Physical +*down: administratively down +#down: LBDT down +(l): loopback +(s): spoofing +(E): E-Trunk down +(b): BFD down +(e): ETHOAM down +(dl): DLDP down +(lb): LBDT block +Interface PHY Protocol Description +GE0/0/1 up up work - station 1 +GE0/0/2 up up work - station 1 +GE0/0/3 up up work - station 1 +GE0/0/4 up up work - station 1 +GE0/0/5 up up work - station 1 +GE0/0/6 up up work - station 1 +GE0/0/7 up up work - station 1 +GE0/0/8 up up work - station 1 +GE0/0/9 up up work - station 1 +GE0/0/10 up up work - station 1 +GE0/0/11 up up work - station 1 +GE0/0/12 up up work - station 1 +GE0/0/13 up up work - station 1 +GE0/0/14 up up work - station 1 +GE0/0/15 up up work - station 1 +GE0/0/16 down down work - station 1 +GE0/0/17 up up work - station 1 +GE0/0/18 up up work - station 1 +GE0/0/19 down down work - station 1 +GE0/0/20 up up work - station 1 +GE0/0/21 down down work - station 1 +GE0/0/22 up up work - station 1 +GE0/0/23 up up work - station 1 +GE0/0/24 up up work - station 1 +GE0/0/25 *down down +GE0/0/26 *down down +GE0/0/27 up up spine Uplink +GE0/0/28 up up spine Uplink 2 +NULL0 up up(s) +Vlanif1 up up \ No newline at end of file diff --git a/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.yml b/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.yml new file mode 100644 index 0000000000..930f0ec85d --- /dev/null +++ b/tests/huawei_vrp/display_interface_description/huawei_vrp_display_interface_description.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - interface: "GE0/0/1" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/2" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/3" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/4" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/5" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/6" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/7" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/8" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/9" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/10" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/11" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/12" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/13" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/14" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/15" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/16" + phy: "down" + protocol: "down" + description: " work - station 1" + - interface: "GE0/0/17" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/18" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/19" + phy: "down" + protocol: "down" + description: " work - station 1" + - interface: "GE0/0/20" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/21" + phy: "down" + protocol: "down" + description: " work - station 1" + - interface: "GE0/0/22" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/23" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/24" + phy: "up" + protocol: "up" + description: " work - station 1" + - interface: "GE0/0/25" + phy: "*down" + protocol: "down" + description: "" + - interface: "GE0/0/26" + phy: "*down" + protocol: "down" + description: "" + - interface: "GE0/0/27" + phy: "up" + protocol: "up" + description: "spine Uplink" + - interface: "GE0/0/28" + phy: "up" + protocol: "up" + description: "spine Uplink 2" + - interface: "NULL0" + phy: "up" + protocol: "up(s)" + description: "" + - interface: "Vlanif1" + phy: "up" + protocol: "up" + description: "" diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.raw b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.raw new file mode 100644 index 0000000000..9760653402 --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.raw @@ -0,0 +1,30 @@ +Port Link Type PVID Trunk VLAN List +------------------------------------------------------------------------------- +GigabitEthernet0/0/1 hybrid 1 2 +GigabitEthernet0/0/2 hybrid 1 2 +GigabitEthernet0/0/3 hybrid 1 2 +GigabitEthernet0/0/4 hybrid 1 2 +GigabitEthernet0/0/5 hybrid 1 2 +GigabitEthernet0/0/6 hybrid 1 2 +GigabitEthernet0/0/7 hybrid 1 2 +GigabitEthernet0/0/8 hybrid 1 2 +GigabitEthernet0/0/9 hybrid 1 2 +GigabitEthernet0/0/10 hybrid 1 2 +GigabitEthernet0/0/11 hybrid 1 2 +GigabitEthernet0/0/12 hybrid 1 2 +GigabitEthernet0/0/13 hybrid 1 2 +GigabitEthernet0/0/14 hybrid 1 2 +GigabitEthernet0/0/15 hybrid 1 2 +GigabitEthernet0/0/16 hybrid 1 2 +GigabitEthernet0/0/17 hybrid 1 2 +GigabitEthernet0/0/18 hybrid 1 2 +GigabitEthernet0/0/19 hybrid 1 2 +GigabitEthernet0/0/20 hybrid 1 2 +GigabitEthernet0/0/21 hybrid 1 2 +GigabitEthernet0/0/22 hybrid 1 2 +GigabitEthernet0/0/23 hybrid 1 2 +GigabitEthernet0/0/24 hybrid 1 2 +GigabitEthernet0/0/25 auto 1 1-4094 +GigabitEthernet0/0/26 auto 1 1-4094 +GigabitEthernet0/0/27 trunk 1 1-4094 +GigabitEthernet0/0/28 trunk 1 1-4094 diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.yml b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.yml new file mode 100644 index 0000000000..ec5031100d --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example1.yml @@ -0,0 +1,142 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/1" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/2" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/3" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/4" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/5" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/6" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/7" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/8" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/9" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/10" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/11" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/12" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/13" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/14" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/15" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/16" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/17" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/18" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/19" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/20" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/21" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/22" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/23" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/24" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/25" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/26" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/27" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/28" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.raw b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.raw new file mode 100644 index 0000000000..6acd9db916 --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.raw @@ -0,0 +1,30 @@ +Port Link Type PVID Trunk VLAN List +------------------------------------------------------------------------------- +GigabitEthernet0/0/1 trunk 1 1-4094 +GigabitEthernet0/0/2 trunk 1 1 249-255 +GigabitEthernet0/0/3 trunk 999 255 300 999 +GigabitEthernet0/0/4 trunk 999 255 300 999 +GigabitEthernet0/0/5 access 330 - +GigabitEthernet0/0/6 access 330 - +GigabitEthernet0/0/7 access 330 - +GigabitEthernet0/0/8 access 330 - +GigabitEthernet0/0/9 access 330 - +GigabitEthernet0/0/10 access 330 - +GigabitEthernet0/0/11 access 330 - +GigabitEthernet0/0/12 access 330 - +GigabitEthernet0/0/13 access 300 - +GigabitEthernet0/0/14 access 300 - +GigabitEthernet0/0/15 access 300 - +GigabitEthernet0/0/16 access 300 - +GigabitEthernet0/0/17 access 300 - +GigabitEthernet0/0/18 access 300 - +GigabitEthernet0/0/19 access 300 - +GigabitEthernet0/0/20 access 300 - +GigabitEthernet0/0/21 auto 450 1-4094 +GigabitEthernet0/0/22 auto 450 1-4094 +GigabitEthernet0/0/23 auto 254 1-4094 +GigabitEthernet0/0/24 auto 255 1-4094 +GigabitEthernet0/0/25 auto 1 1-4094 +GigabitEthernet0/0/26 auto 1 1-4094 +GigabitEthernet0/0/27 trunk 1 1-4094 +GigabitEthernet0/0/28 trunk 1 1-4094 diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.yml b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.yml new file mode 100644 index 0000000000..318115af60 --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example2.yml @@ -0,0 +1,131 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/1" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/2" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "249-255" + - interface: "GigabitEthernet0/0/3" + link_type: "trunk" + pvid: "999" + trunk_vlan_list: + - "255" + - "300" + - "999" + - interface: "GigabitEthernet0/0/4" + link_type: "trunk" + pvid: "999" + trunk_vlan_list: + - "255" + - "300" + - "999" + - interface: "GigabitEthernet0/0/5" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/6" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/7" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/8" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/9" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/10" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/11" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/12" + link_type: "access" + pvid: "330" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/13" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/14" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/15" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/16" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/17" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/18" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/19" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/20" + link_type: "access" + pvid: "300" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/21" + link_type: "auto" + pvid: "450" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/22" + link_type: "auto" + pvid: "450" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/23" + link_type: "auto" + pvid: "254" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/24" + link_type: "auto" + pvid: "255" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/25" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/26" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/27" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/28" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.raw b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.raw new file mode 100644 index 0000000000..09522b8928 --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.raw @@ -0,0 +1,54 @@ +Port Link Type PVID Trunk VLAN List +------------------------------------------------------------------------------- +GigabitEthernet0/0/1 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/2 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/3 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/4 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/5 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/6 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/7 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/8 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/9 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/10 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/11 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/12 trunk 1 1 191 212 214 218 224 238 + 250-255 300-301 303 306 330 + 332-333 335 350 400 450 999 +GigabitEthernet0/0/13 access 2 - +GigabitEthernet0/0/14 access 2 - +GigabitEthernet0/0/15 hybrid 1 2 +GigabitEthernet0/0/16 hybrid 69 2 +GigabitEthernet0/0/17 access 160 - +GigabitEthernet0/0/18 access 160 - +GigabitEthernet0/0/19 access 160 - +GigabitEthernet0/0/20 access 160 - +GigabitEthernet0/0/21 access 160 - +GigabitEthernet0/0/22 hybrid 1 2 +GigabitEthernet0/0/23 hybrid 1 2 +GigabitEthernet0/0/24 hybrid 1 2 +GigabitEthernet0/0/25 auto 1 1-4094 +GigabitEthernet0/0/26 auto 1 1-4094 +GigabitEthernet0/0/27 trunk 1 1-4094 +GigabitEthernet0/0/28 trunk 1 1-4094 diff --git a/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.yml b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.yml new file mode 100644 index 0000000000..5f144b8bd2 --- /dev/null +++ b/tests/huawei_vrp/display_port_vlan/huawei_vrp_display_port_vlan_example3.yml @@ -0,0 +1,339 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/1" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/2" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/3" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/4" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/5" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/6" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/7" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/8" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/9" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/10" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/11" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/12" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1" + - "191" + - "212" + - "214" + - "218" + - "224" + - "238" + - "250-255" + - "300-301" + - "303" + - "306" + - "330" + - "332-333" + - "335" + - "350" + - "400" + - "450" + - "999" + - interface: "GigabitEthernet0/0/13" + link_type: "access" + pvid: "2" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/14" + link_type: "access" + pvid: "2" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/15" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/16" + link_type: "hybrid" + pvid: "69" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/17" + link_type: "access" + pvid: "160" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/18" + link_type: "access" + pvid: "160" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/19" + link_type: "access" + pvid: "160" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/20" + link_type: "access" + pvid: "160" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/21" + link_type: "access" + pvid: "160" + trunk_vlan_list: [] + - interface: "GigabitEthernet0/0/22" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/23" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/24" + link_type: "hybrid" + pvid: "1" + trunk_vlan_list: + - "2" + - interface: "GigabitEthernet0/0/25" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/26" + link_type: "auto" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/27" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" + - interface: "GigabitEthernet0/0/28" + link_type: "trunk" + pvid: "1" + trunk_vlan_list: + - "1-4094" From c66798a5777b25db4f10c3d51a5f8f50cedac803 Mon Sep 17 00:00:00 2001 From: dm-bell-networking <70971887+dm-bell-networking@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:25:43 -0700 Subject: [PATCH 229/412] added VLAN value and search pattern (#1002) * Add VLAN value for Cisco ASA `show interface` --- .../cisco_asa_show_interface.textfsm | 2 + .../cisco_asa_show_interface.yml | 164 +++++++++--------- .../cisco_asa_show_interface1.yml | 164 +++++++++--------- .../cisco_asa_show_interface2.yml | 31 ++-- .../cisco_asa_show_interface_vlans.raw | 9 + .../cisco_asa_show_interface_vlans.yml | 27 +++ 6 files changed, 224 insertions(+), 173 deletions(-) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml diff --git a/ntc_templates/templates/cisco_asa_show_interface.textfsm b/ntc_templates/templates/cisco_asa_show_interface.textfsm index 274a7a92ef..6b889d73c5 100644 --- a/ntc_templates/templates/cisco_asa_show_interface.textfsm +++ b/ntc_templates/templates/cisco_asa_show_interface.textfsm @@ -10,6 +10,7 @@ Value SPEED (\d+\w+\s\w+) Value DESCRIPTION (.*) Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) Value MTU (\d+) +Value VLAN (\d+) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+) Value NET_MASK (\d+\.\d+\.\d+\.\d+) Value ONEMIN_IN_PPS (\d+) @@ -33,6 +34,7 @@ Start ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) ^.*Duplex,\s+Auto-Speed ^.*Description:\s+${DESCRIPTION} + ^.*VLAN\s+identifier\s+${VLAN} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set ^.*IP\s+address\s+${IP_ADDRESS},\s+subnet\s+mask\s+${NET_MASK} diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml index 3868812e5f..ee72115017 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml @@ -1,146 +1,152 @@ --- parsed_sample: - - address: "fa16.3eb0.c3d3" + - interface: "GigabitEthernet0/0" + interface_zone: "outside" + link_status: "up" + protocol_status: "up" + hardware_type: "i82540EM rev03" bandwidth: "1000 Mbps" delay: "10 usec" - description: "to iosv-1" duplex: "Full-duplex" - fivemin_drop_rate: "0" - fivemin_in_pps: "0" - fivemin_in_rate: "0" - fivemin_out_pps: "0" - fivemin_out_rate: "0" - hardware_type: "i82540EM rev03" - interface: "GigabitEthernet0/0" - interface_zone: "outside" - ip_address: "10.0.0.5" - link_status: "up" + speed: "1000 Mbps" + description: "to iosv-1" + address: "fa16.3eb0.c3d3" mtu: "1500" + vlan: "" + ip_address: "10.0.0.5" net_mask: "255.255.255.252" - onemin_drop_rate: "0" onemin_in_pps: "0" onemin_in_rate: "0" onemin_out_pps: "0" onemin_out_rate: "0" - protocol_status: "up" - speed: "1000 Mbps" - - address: "fa16.3ed1.7e26" - bandwidth: "1000 Mbps" - delay: "10 usec" - description: "to iosv-2" - duplex: "Full-duplex" - fivemin_drop_rate: "0" + onemin_drop_rate: "0" fivemin_in_pps: "0" fivemin_in_rate: "0" fivemin_out_pps: "0" fivemin_out_rate: "0" - hardware_type: "i82540EM rev03" - interface: "GigabitEthernet0/1" + fivemin_drop_rate: "0" + - interface: "GigabitEthernet0/1" interface_zone: "outside-1" - ip_address: "10.0.0.13" link_status: "up" + protocol_status: "up" + hardware_type: "i82540EM rev03" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "to iosv-2" + address: "fa16.3ed1.7e26" mtu: "1500" + vlan: "" + ip_address: "10.0.0.13" net_mask: "255.255.255.252" - onemin_drop_rate: "0" onemin_in_pps: "0" onemin_in_rate: "0" onemin_out_pps: "0" onemin_out_rate: "0" - protocol_status: "up" - speed: "1000 Mbps" - - address: "fa16.3e1c.d1c3" - bandwidth: "1000 Mbps" - delay: "10 usec" - description: "OOB Management" - duplex: "Full-duplex" - fivemin_drop_rate: "0" + onemin_drop_rate: "0" fivemin_in_pps: "0" - fivemin_in_rate: "91" + fivemin_in_rate: "0" fivemin_out_pps: "0" - fivemin_out_rate: "11" - hardware_type: "i82540EM rev03" - interface: "Management0/0" + fivemin_out_rate: "0" + fivemin_drop_rate: "0" + - interface: "Management0/0" interface_zone: "mgmt" - ip_address: "172.16.1.222" link_status: "up" + protocol_status: "up" + hardware_type: "i82540EM rev03" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "OOB Management" + address: "fa16.3e1c.d1c3" mtu: "1500" + vlan: "" + ip_address: "172.16.1.222" net_mask: "255.255.255.0" - onemin_drop_rate: "0" onemin_in_pps: "1" onemin_in_rate: "79" onemin_out_pps: "1" onemin_out_rate: "117" + onemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "91" + fivemin_out_pps: "0" + fivemin_out_rate: "11" + fivemin_drop_rate: "0" + - interface: "DMZ" + interface_zone: "DMZ" + link_status: "up" protocol_status: "up" - speed: "1000 Mbps" - - address: "fa16.3eb0.c3d3" + hardware_type: "" bandwidth: "" delay: "" - description: "DMZ (Vl3)" duplex: "" - fivemin_drop_rate: "" - fivemin_in_pps: "" - fivemin_in_rate: "" - fivemin_out_pps: "" - fivemin_out_rate: "" - hardware_type: "" - interface: "DMZ" - interface_zone: "DMZ" - ip_address: "10.6.2.1" - link_status: "up" + speed: "" + description: "DMZ (Vl3)" + address: "fa16.3eb0.c3d3" mtu: "1500" + vlan: "" + ip_address: "10.6.2.1" net_mask: "255.255.255.0" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" - protocol_status: "up" - speed: "" - - address: "fa16.3eb0.c3d3" - bandwidth: "" - delay: "" - description: "outside(Vl2)" - duplex: "" - fivemin_drop_rate: "" + onemin_drop_rate: "" fivemin_in_pps: "" fivemin_in_rate: "" fivemin_out_pps: "" fivemin_out_rate: "" - hardware_type: "" - interface: "outside" + fivemin_drop_rate: "" + - interface: "outside" interface_zone: "outside-3" - ip_address: "10.12.16.237" link_status: "up" + protocol_status: "up" + hardware_type: "" + bandwidth: "" + delay: "" + duplex: "" + speed: "" + description: "outside(Vl2)" + address: "fa16.3eb0.c3d3" mtu: "1500" + vlan: "" + ip_address: "10.12.16.237" net_mask: "255.255.255.248" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" - protocol_status: "up" - speed: "" - - address: "fa16.3eb0.c3d3" - bandwidth: "" - delay: "" - description: "" - duplex: "" - fivemin_drop_rate: "" + onemin_drop_rate: "" fivemin_in_pps: "" fivemin_in_rate: "" fivemin_out_pps: "" fivemin_out_rate: "" - hardware_type: "" - interface: "inside" + fivemin_drop_rate: "" + - interface: "inside" interface_zone: "inside" - ip_address: "10.6.10.1" link_status: "up" + protocol_status: "up" + hardware_type: "" + bandwidth: "" + delay: "" + duplex: "" + speed: "" + description: "" + address: "fa16.3eb0.c3d3" mtu: "1500" + vlan: "" + ip_address: "10.6.10.1" net_mask: "255.255.255.0" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" - protocol_status: "up" - speed: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml index 13e621e620..c4ee2a83f8 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml @@ -1,146 +1,152 @@ --- parsed_sample: - - address: "5254.000d.da4c" + - interface: "GigabitEthernet0/0" + interface_zone: "outside" + link_status: "up" + protocol_status: "up" + hardware_type: "net_virtio" bandwidth: "1000 Mbps" delay: "10 usec" - description: "to iosv-1" duplex: "Full-duplex" - fivemin_drop_rate: "0" - fivemin_in_pps: "0" - fivemin_in_rate: "0" - fivemin_out_pps: "0" - fivemin_out_rate: "0" - hardware_type: "net_virtio" - interface: "GigabitEthernet0/0" - interface_zone: "outside" - ip_address: "10.99.99.2" - link_status: "up" + speed: "1000 Mbps" + description: "to iosv-1" + address: "5254.000d.da4c" mtu: "1500" + vlan: "" + ip_address: "10.99.99.2" net_mask: "255.255.255.0" - onemin_drop_rate: "0" onemin_in_pps: "0" onemin_in_rate: "0" onemin_out_pps: "0" onemin_out_rate: "0" - protocol_status: "up" - speed: "1000 Mbps" - - address: "5254.0005.1b55" - bandwidth: "1000 Mbps" - delay: "10 usec" - description: "" - duplex: "Full-duplex" - fivemin_drop_rate: "0" + onemin_drop_rate: "0" fivemin_in_pps: "0" fivemin_in_rate: "0" fivemin_out_pps: "0" fivemin_out_rate: "0" - hardware_type: "net_virtio" - interface: "GigabitEthernet0/1" + fivemin_drop_rate: "0" + - interface: "GigabitEthernet0/1" interface_zone: "inside" - ip_address: "10.90.90.1" link_status: "up" + protocol_status: "up" + hardware_type: "net_virtio" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "" + address: "5254.0005.1b55" mtu: "1500" + vlan: "" + ip_address: "10.90.90.1" net_mask: "255.255.255.0" - onemin_drop_rate: "0" onemin_in_pps: "0" onemin_in_rate: "0" onemin_out_pps: "0" onemin_out_rate: "0" + onemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + fivemin_drop_rate: "0" + - interface: "GigabitEthernet0/2" + interface_zone: "" + link_status: "administratively down" protocol_status: "up" - speed: "1000 Mbps" - - address: "5254.0017.e9c0" + hardware_type: "net_virtio" bandwidth: "1000 Mbps" delay: "10 usec" - description: "" duplex: "Full-duplex" - fivemin_drop_rate: "" - fivemin_in_pps: "" - fivemin_in_rate: "" - fivemin_out_pps: "" - fivemin_out_rate: "" - hardware_type: "net_virtio" - interface: "GigabitEthernet0/2" - interface_zone: "" - ip_address: "" - link_status: "administratively down" + speed: "1000 Mbps" + description: "" + address: "5254.0017.e9c0" mtu: "" + vlan: "" + ip_address: "" net_mask: "" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" - protocol_status: "up" - speed: "1000 Mbps" - - address: "5254.001c.5b3a" - bandwidth: "1000 Mbps" - delay: "10 usec" - description: "" - duplex: "Full-duplex" - fivemin_drop_rate: "" + onemin_drop_rate: "" fivemin_in_pps: "" fivemin_in_rate: "" fivemin_out_pps: "" fivemin_out_rate: "" - hardware_type: "net_virtio" - interface: "GigabitEthernet0/3" + fivemin_drop_rate: "" + - interface: "GigabitEthernet0/3" interface_zone: "" - ip_address: "" link_status: "administratively down" + protocol_status: "up" + hardware_type: "net_virtio" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "" + address: "5254.001c.5b3a" mtu: "" + vlan: "" + ip_address: "" net_mask: "" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" - protocol_status: "up" - speed: "1000 Mbps" - - address: "5254.0008.9da4" - bandwidth: "1000 Mbps" - delay: "10 usec" - description: "" - duplex: "Full-duplex" - fivemin_drop_rate: "" + onemin_drop_rate: "" fivemin_in_pps: "" fivemin_in_rate: "" fivemin_out_pps: "" fivemin_out_rate: "" - hardware_type: "net_virtio" - interface: "GigabitEthernet0/4" + fivemin_drop_rate: "" + - interface: "GigabitEthernet0/4" interface_zone: "" - ip_address: "" link_status: "administratively down" + protocol_status: "up" + hardware_type: "net_virtio" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "" + address: "5254.0008.9da4" mtu: "" + vlan: "" + ip_address: "" net_mask: "" - onemin_drop_rate: "" onemin_in_pps: "" onemin_in_rate: "" onemin_out_pps: "" onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + - interface: "Management0/0" + interface_zone: "management" + link_status: "up" protocol_status: "up" - speed: "1000 Mbps" - - address: "5254.0006.b468" + hardware_type: "net_virtio" bandwidth: "1000 Mbps" delay: "10 usec" - description: "" duplex: "Full-duplex" - fivemin_drop_rate: "0" - fivemin_in_pps: "0" - fivemin_in_rate: "17" - fivemin_out_pps: "0" - fivemin_out_rate: "18" - hardware_type: "net_virtio" - interface: "Management0/0" - interface_zone: "management" - ip_address: "10.100.100.2" - link_status: "up" + speed: "1000 Mbps" + description: "" + address: "5254.0006.b468" mtu: "1500" + vlan: "" + ip_address: "10.100.100.2" net_mask: "255.255.255.0" - onemin_drop_rate: "0" onemin_in_pps: "1" onemin_in_rate: "90" onemin_out_pps: "1" onemin_out_rate: "95" - protocol_status: "up" - speed: "1000 Mbps" + onemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "17" + fivemin_out_pps: "0" + fivemin_out_rate: "18" + fivemin_drop_rate: "0" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml index 197fbd70c0..0a30f81e76 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml @@ -1,26 +1,27 @@ --- parsed_sample: - - address: "fa16.3eb0.c3d3" + - interface: "GigabitEthernet0/0" + interface_zone: "outside" + link_status: "up" + protocol_status: "up" + hardware_type: "i82540EM rev03" bandwidth: "1000 Mbps" delay: "10 usec" - description: "to iosv-1" duplex: "" - fivemin_drop_rate: "0" - fivemin_in_pps: "0" - fivemin_in_rate: "0" - fivemin_out_pps: "0" - fivemin_out_rate: "0" - hardware_type: "i82540EM rev03" - interface: "GigabitEthernet0/0" - interface_zone: "outside" - ip_address: "10.0.0.5" - link_status: "up" + speed: "" + description: "to iosv-1" + address: "fa16.3eb0.c3d3" mtu: "1500" + vlan: "" + ip_address: "10.0.0.5" net_mask: "255.255.255.252" - onemin_drop_rate: "0" onemin_in_pps: "0" onemin_in_rate: "0" onemin_out_pps: "0" onemin_out_rate: "0" - protocol_status: "up" - speed: "" + onemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + fivemin_drop_rate: "0" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.raw new file mode 100644 index 0000000000..0f6e6b26fa --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.raw @@ -0,0 +1,9 @@ +Interface GigabitEthernet0/0.60 "FINANCE", is up, line protocol is up + Hardware is i82540EM rev03, BW 1000 Mbps, DLY 10 usec + VLAN identifier 60 + MAC address 0c29.a40a.f201, MTU 1500 + IP address 10.29.60.1, subnet mask 255.255.255.0 + Traffic Statistics for "FINANCE": + 0 packets input, 0 bytes + 79671 packets output, 6054948 bytes + 0 packets dropped diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml new file mode 100644 index 0000000000..a8738bf4d6 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0.60" + interface_zone: "FINANCE" + link_status: "up" + protocol_status: "up" + hardware_type: "i82540EM rev03" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "" + speed: "" + description: "" + address: "0c29.a40a.f201" + mtu: "1500" + vlan: "60" + ip_address: "10.29.60.1" + net_mask: "255.255.255.0" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" From 4258b0141a0b2be2921188e00bf5834daf08f808 Mon Sep 17 00:00:00 2001 From: Armen Martirosyan Date: Wed, 27 Oct 2021 11:43:57 -0700 Subject: [PATCH 230/412] Enhancements: Cisco IOS show mac and show module (#1006) --- .../cisco_ios_show_mac-address-table.textfsm | 51 +++--- .../templates/cisco_ios_show_module.textfsm | 8 +- .../cisco_ios_show_module_online_diag.textfsm | 9 +- .../cisco_ios_show_module_status.textfsm | 10 +- .../cisco_ios_show_module_submodule.textfsm | 8 +- .../show_module/cisco_ios_show_module1.yml | 24 +-- .../show_module/cisco_ios_show_module2.raw | 32 ++++ .../show_module/cisco_ios_show_module2.yml | 146 ++++++++++++++++ .../show_module/cisco_ios_show_module3.raw | 38 ++++ .../show_module/cisco_ios_show_module3.yml | 162 ++++++++++++++++++ 10 files changed, 441 insertions(+), 47 deletions(-) create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module2.raw create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module2.yml create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module3.raw create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module3.yml diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index a6e994a805..acade9c42c 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,7 +1,7 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\S+) Value VLAN (\S+) -Value List DESTINATION_PORT (\S+?) +Value List DESTINATION_PORT ([^,\s]+) Start ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1 @@ -23,30 +23,37 @@ TYPE1 TYPE2 # Order of the group in brackets here matters - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+) -> Continue.Record - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s{20}\s+${DESTINATION_PORT}, -> Continue - ^\s{20}\s+(?:\S+?,)${DESTINATION_PORT}, -> Continue - ^\s{20}\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue - ^\s{20}\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s{20}\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s{20}\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s{20}\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s{20}\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*(\d+|-+|[Nn]/[Aa]) -> Continue.Record + # using 20 spaces should ensure that lines only match destination port flowing to next line + ^\s{20}\s+${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+${DESTINATION_PORT},*\s*$$ + ^\s{20}\s+[^,\s]+(\s+|,\s*)${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+[^,\s]+(\s+|,\s*)${DESTINATION_PORT},*\s*$$ + ^\s{20}\s+([^,\s]+(\s+|,\s*)){2}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+([^,\s]+(\s+|,\s*)){2}${DESTINATION_PORT},*\s*$$ + ^\s{20}\s+([^,\s]+(\s+|,\s*)){3}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+([^,\s]+(\s+|,\s*)){3}${DESTINATION_PORT},*\s*$$ + ^\s{20}\s+([^,\s]+(\s+|,\s*)){4}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+([^,\s]+(\s+|,\s*)){4}${DESTINATION_PORT},*\s*$$ + ^\s{20}\s+([^,\s]+(\s+|,\s*)){5}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s{20}\s+([^,\s]+(\s+|,\s*)){5}${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+[^,\s]+(\s+|,\s*)${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+[^,\s]+?(\s+|,\s*)${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){2}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){2}${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){3}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){3}${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){4}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){4}${DESTINATION_PORT},*\s*$$ + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){5}${DESTINATION_PORT}(\s+|,\s*)\S -> Continue + ^\s*(\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+([^,\s]+(\s+|,\s*)){5}${DESTINATION_PORT},*\s*$$ ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports ^\s*$$ - ^\s*\S+ ^Multicast\s+Entries -> End ^. -> Error @@ -67,4 +74,4 @@ TYPE4 ^\s*$$ ^Total\s+Mac\s+Addresses ^MultiCast\s+Entries -> End - ^. -> Error \ No newline at end of file + ^. -> Error diff --git a/ntc_templates/templates/cisco_ios_show_module.textfsm b/ntc_templates/templates/cisco_ios_show_module.textfsm index 20b3fa4c0a..952420209f 100644 --- a/ntc_templates/templates/cisco_ios_show_module.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module.textfsm @@ -1,6 +1,6 @@ Value Key MODULE (\d+) Value PORT (\d+) -Value CARDTYPE (.+?) +Value CARDTYPE (\S.+?) Value MODEL (\S+) Value SERIAL (\w+) @@ -10,9 +10,11 @@ Start Status ^-+ - ^\s*${MODULE}\s+${PORT}\s+${CARDTYPE}\s+${MODEL}\s+${SERIAL}\s*$$ -> Record - ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^\s*${MODULE}\s+(${PORT}\s+)?${CARDTYPE}(\s+${MODEL})?(\s+${SERIAL})?\s*$$ -> Record + ^(?:Mod|\s+M)\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End ^Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Redundancy\s+Mode\s+Configured\s+Redundancy\s+Mode -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End ^Mod\s+Online\s+Diag\s+Status -> End ^\s*$$ ^. -> Error diff --git a/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm b/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm index 5aadd9d890..e7ecbb38a5 100644 --- a/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm @@ -2,14 +2,17 @@ Value Key MODULE (\d+) Value ONLINE_DIAG (\w+) Start - ^Mod\s+Online\s+Diag\s+Status -> Diag + ^Mod\s+Online\s+Diag\s+Status -> Diag Diag ^-+ - ^\s*${MODULE}\s+${ONLINE_DIAG} -> Record + ^\s*${MODULE}\s+${ONLINE_DIAG} -> Record ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End - ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^(?:Mod|\s+M)\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End ^Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Redundancy\s+Mode\s+Configured\s+Redundancy\s+Mode -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End + ^Mod\s+Online\s+Diag\s+Status -> End ^\s*$$ ^. -> Error diff --git a/ntc_templates/templates/cisco_ios_show_module_status.textfsm b/ntc_templates/templates/cisco_ios_show_module_status.textfsm index 9957a3e719..ee9f2efe65 100644 --- a/ntc_templates/templates/cisco_ios_show_module_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module_status.textfsm @@ -1,20 +1,22 @@ Value Key MODULE (\d+) Value MAC_ADDR (\S+\s+to\s+\S+) Value MOD_HW (\S+) -Value FW (\S+) -Value SW (\S+) +Value MOD_FW (\S+) +Value MOD_SW (\S+) Value STATUS (\w+) Start - ^\s*Mod\s+MAC\saddresses\s+Hw\s+Fw\s+Sw\s+Status\s*$$ -> ModStatus + ^\s*Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status\s*$$ -> ModStatus ModStatus ^-+ - ^\s*${MODULE}\s+${MAC_ADDR}\s+${MOD_HW}\s+${FW}\s+${SW}\s+${STATUS}\s*$$ -> Record + ^\s*${MODULE}\s+${MAC_ADDR}\s+${MOD_HW}\s+${MOD_FW}\s+${MOD_SW}\s+${STATUS}\s*$$ -> Record ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> End ^Mod\s+Online\s+Diag\s+Status -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Redundancy\s+Mode\s+Configured\s+Redundancy\s+Mode -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End ^\s*$$ ^. -> Error diff --git a/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm b/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm index be43ff869d..d3fa6a0843 100644 --- a/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm @@ -7,14 +7,16 @@ Value SUBMODULE_STATUS (\w+) Start - ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> SubModule + ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> SubModule SubModule ^-+ - ^\s*${MODULE}\s+${SUBMODULE}\s+${SUBMODULE_MODEL}\s+${SUBMODULE_SERIAL}\s+${SUBMODULE_HW}\s+${SUBMODULE_STATUS}\s*$$ -> Record + ^\s*${MODULE}\s+${SUBMODULE}\s+${SUBMODULE_MODEL}\s+${SUBMODULE_SERIAL}\s+${SUBMODULE_HW}\s+${SUBMODULE_STATUS}\s*$$ -> Record ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End - ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^(?:Mod|\s+M)\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End ^Mod\s+Online\s+Diag\s+Status -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Redundancy\s+Mode\s+Configured\s+Redundancy\s+Mode -> End + ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module1.yml b/tests/cisco_ios/show_module/cisco_ios_show_module1.yml index d45543ddac..679580730b 100644 --- a/tests/cisco_ios/show_module/cisco_ios_show_module1.yml +++ b/tests/cisco_ios/show_module/cisco_ios_show_module1.yml @@ -7,8 +7,8 @@ parsed_sample: serial: "SAL11111111" mac_addr: "aaaa.aaaa.0000 to aaaa.aaaa.ffff" mod_hw: "2.1" - fw: "12.2(18r)S1" - sw: "15.2(1)SY5" + mod_fw: "12.2(18r)S1" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Distributed Forwarding Card" submodule_model: "WS-F6K-DFC4-E" @@ -23,8 +23,8 @@ parsed_sample: serial: "SAL22222222" mac_addr: "bbbb.bbbb.0000 to bbbb.bbbb.ffff" mod_hw: "2.5" - fw: "12.2(14r)S5" - sw: "15.2(1)SY5" + mod_fw: "12.2(14r)S5" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Centralized Forwarding Card" submodule_model: "WS-F6700-CFC" @@ -39,8 +39,8 @@ parsed_sample: serial: "SAL33333333" mac_addr: "cccc.cccc.0000 to cccc.cccc.ffff" mod_hw: "2.5" - fw: "12.2(14r)S5" - sw: "15.2(1)SY5" + mod_fw: "12.2(14r)S5" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Centralized Forwarding Card" submodule_model: "WS-F6700-CFC" @@ -55,8 +55,8 @@ parsed_sample: serial: "SAL44444444" mac_addr: "dddd.dddd.0000 to dddd.dddd.ffff" mod_hw: "2.3" - fw: "12.2(18r)S1" - sw: "15.2(1)SY5" + mod_fw: "12.2(18r)S1" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Distributed Forwarding Card" submodule_model: "WS-F6K-DFC4-E" @@ -71,8 +71,8 @@ parsed_sample: serial: "SAL55555555" mac_addr: "eeee.eeee.0000 to eeee.eeee.ffff" mod_hw: "1.5" - fw: "12.2(50r)SYS" - sw: "15.2(1)SY5" + mod_fw: "12.2(50r)SYS" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Policy Feature Card 4" submodule_model: "VS-F6K-PFC4" @@ -87,8 +87,8 @@ parsed_sample: serial: "SAL66666666" mac_addr: "ffff.ffff.0000 to ffff.ffff.ffff" mod_hw: "1.5" - fw: "12.2(50r)SYS" - sw: "15.2(1)SY5" + mod_fw: "12.2(50r)SYS" + mod_sw: "15.2(1)SY5" status: "Ok" submodule: "Policy Feature Card 4" submodule_model: "VS-F6K-PFC4" diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module2.raw b/tests/cisco_ios/show_module/cisco_ios_show_module2.raw new file mode 100644 index 0000000000..58dcada032 --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module2.raw @@ -0,0 +1,32 @@ +Chassis Type : WS-C4510R+E + +Power consumed by backplane : 40 Watts + +Mod Ports Card Type Model Serial No. +---+-----+--------------------------------------+------------------+----------- + 1 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L0X3 + 2 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L15S + 3 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L0WR + 4 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L15B + 5 4 Sup 7-E 10GE (SFP+), 1000BaseX (SFP) AS-T45-SUP7-E ABC1234L46Z + 6 4 Sup 7-E 10GE (SFP+), 1000BaseX (SFP) AS-T45-SUP7-E ABC1234L0MU + 8 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L4XM + 9 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L17Y +10 12 1000BaseX (SFP) AS-T4612-SFP-E ABC1234021X + + M MAC addresses Hw Fw Sw Status +--+--------------------------------+---+------------+----------------+--------- + 1 ffff.ca83.ffff to ffff.ca83.ffff 1.2 Ok + 2 ffff.89a3.ffff to ffff.89a3.ffff 1.2 Ok + 3 ffff.ac5c.ffff to ffff.ac5c.ffff 1.2 Ok + 4 ffff.ca83.ffff to ffff.ca83.ffff 1.2 Ok + 5 ffff.aca5.ffff to ffff.aca5.ffff 2.1 15.0(1r)SG5 03.11.03a.E Ok + 6 ffff.aca5.ffff to ffff.aca5.ffff 2.1 15.0(1r)SG5 03.11.03a.E Ok + 8 ffff.2894.ffff to ffff.2894.ffff 1.2 Ok + 9 ffff.a78f.ffff to ffff.a78f.ffff 1.1 Ok +10 ffff.0671.ffff to ffff.0671.ffff 2.0 Ok + +Mod Redundancy role Operating mode Redundancy status +----+-------------------+-------------------+---------------------------------- + 5 Active Supervisor SSO Active + 6 Standby Supervisor SSO Standby hot diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module2.yml b/tests/cisco_ios/show_module/cisco_ios_show_module2.yml new file mode 100644 index 0000000000..98118913cd --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module2.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - module: "1" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L0X3" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "2" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L15S" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "3" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L0WR" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "4" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L15B" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "5" + port: "4" + cardtype: "Sup 7-E 10GE (SFP+), 1000BaseX (SFP)" + model: "AS-T45-SUP7-E" + serial: "ABC1234L46Z" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "6" + port: "4" + cardtype: "Sup 7-E 10GE (SFP+), 1000BaseX (SFP)" + model: "AS-T45-SUP7-E" + serial: "ABC1234L0MU" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "8" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L4XM" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "9" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L17Y" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "10" + port: "12" + cardtype: "1000BaseX (SFP)" + model: "AS-T4612-SFP-E" + serial: "ABC1234021X" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module3.raw b/tests/cisco_ios/show_module/cisco_ios_show_module3.raw new file mode 100644 index 0000000000..a3d072561c --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module3.raw @@ -0,0 +1,38 @@ +Chassis Type : WS-C4510R+E + +Power consumed by backplane : 40 Watts + +Mod Ports Card Type Model Serial No. +---+-----+--------------------------------------+------------------+----------- + 1 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L2XQ + 2 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L610 + 3 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L00D + 4 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L040 + 5 Supervisor + 6 4 Sup 7-E 10GE (SFP+), 1000BaseX (SFP) AS-T45-SUP7-E ABC1234L1TE + 7 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L2DR + 8 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L2EM + 9 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L1ND +10 48 10/100/1000BaseT UPOE E Series AS-T4748-UPOE+E ABC1234L0N7 + + M MAC addresses Hw Fw Sw Status +--+--------------------------------+---+------------+----------------+--------- + 1 ffff.50b0.ffff to ffff.50b0.ffff 1.0 Ok + 2 ffff.50b0.ffff to ffff.50b0.ffff 1.0 Ok + 3 ffff.50b0.ffff to ffff.50b0.ffff 1.0 Ok + 4 ffff.50b0.ffff to ffff.50b0.ffff 1.0 Ok + 5 Unknown Unknown Unknown Other + 6 ffff.35a0.ffff to ffff.35a0.ffff 2.1 15.0(1r)SG5 03.11.03a.E Ok + 7 ffff.fc79.ffff to ffff.fc79.ffff 1.0 Ok + 8 ffff.f972.ffff to ffff.f972.ffff 1.0 Ok + 9 ffff.fc08.ffff to ffff.fc08.ffff 1.0 Ok +10 ffff.50e2.ffff to ffff.50e2.ffff 1.0 Ok + +Mod Redundancy role Operating mode Redundancy status +----+-------------------+-------------------+---------------------------------- + 5 Standby Supervisor SSO Disabled + 6 Active Supervisor SSO Active + +System Failures: +---------------- +Power Supply: bad/off (see 'show power') diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module3.yml b/tests/cisco_ios/show_module/cisco_ios_show_module3.yml new file mode 100644 index 0000000000..e01715e206 --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module3.yml @@ -0,0 +1,162 @@ +--- +parsed_sample: + - module: "1" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L2XQ" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "2" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L610" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "3" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L00D" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "4" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L040" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "5" + port: "" + cardtype: "Supervisor" + model: "" + serial: "" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "6" + port: "4" + cardtype: "Sup 7-E 10GE (SFP+), 1000BaseX (SFP)" + model: "AS-T45-SUP7-E" + serial: "ABC1234L1TE" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "7" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L2DR" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "8" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L2EM" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "9" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L1ND" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "10" + port: "48" + cardtype: "10/100/1000BaseT UPOE E Series" + model: "AS-T4748-UPOE+E" + serial: "ABC1234L0N7" + mac_addr: "" + mod_hw: "" + mod_fw: "" + mod_sw: "" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" From 352ccaa9272f40084f2f41c8a824b33ec9874102 Mon Sep 17 00:00:00 2001 From: georgesnow Date: Thu, 28 Oct 2021 09:07:01 -0400 Subject: [PATCH 231/412] Junos show chassis (#997) * baseline * baseline ciena traffic-profile * traffic-p stand pro show parsing * fixed filenames * fixing naming, linting etc... * remove stale file * juniper extend interfaces for capturing ips * removing commented outlines * junos show chassis hardware template * fix end of file * fix end of file * updating index file * needed to add another match * clean up comments * add matching for fpc,mic,pic * removing commented out lines for fpc,mic,pic capture * account for devices that without mics and multiple xcvrs * updated tests to account for additional xcvrs * fixed template to have error out this includes the raw capture for 3 platforms need to update ymls for tests * first set of ymls for tests * Change interfaces to use Continue.Record * updated ymls for tests * removed commented out lines * fixing raw3 tests * moving EOF the correct location * Fix continues and simplify template Co-authored-by: gfn4 Co-authored-by: jmcgill298 --- ntc_templates/templates/index | 1 + ...uniper_junos_show_chassis_hardware.textfsm | 35 ++++ .../juniper_junos_show_interfaces.textfsm | 14 +- .../juniper_junos_show_chassis_hardware.raw | 26 +++ .../juniper_junos_show_chassis_hardware.yml | 44 +++++ .../juniper_junos_show_chassis_hardware1.raw | 41 +++++ .../juniper_junos_show_chassis_hardware1.yml | 170 ++++++++++++++++++ .../juniper_junos_show_chassis_hardware2.raw | 44 +++++ .../juniper_junos_show_chassis_hardware2.yml | 128 +++++++++++++ .../juniper_junos_show_chassis_hardware3.raw | 21 +++ .../juniper_junos_show_chassis_hardware3.yml | 58 ++++++ .../juniper_junos_show_interfaces.raw | 11 ++ .../juniper_junos_show_interfaces.yml | 29 +++ 13 files changed, 616 insertions(+), 6 deletions(-) create mode 100644 ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.raw create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.yml create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.raw create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.yml create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.raw create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.yml create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.raw create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 8288d3ecbc..d417a5b646 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -455,6 +455,7 @@ juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] +juniper_junos_show_chassis_hardware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] ha[[ardware]] juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] diff --git a/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm new file mode 100644 index 0000000000..dcd775e537 --- /dev/null +++ b/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm @@ -0,0 +1,35 @@ +Value Filldown FPC (\d+) +Value Filldown MIC (\d+) +Value Filldown PIC (\d+) +Value XCVR (\d+) +Value PART (\S+) +Value SERIAL (\S+) +Value DESCRIPTION (\S+) + +Start + ^Hardware.* + ^Item\s+Version\s+Part\s+number\s+Serial\s+number\s+Description\s*$$ + ^\s*(Chassis|Midplane|Pseudo|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* + ^.*FPC\s+${FPC}.*$$ -> FPC + ^{master + ^\s*$$ + ^. -> Error + +FPC + ^\s*FPC\s+${FPC} + ^\s*MIC\s+${MIC} + ^\s*PIC\s+${PIC} -> XCVR + ^\s*CPU + ^\s*$$ + ^. -> Error + +XCVR + ^\s*Xcvr\s+${XCVR}\s+(REV\s+(|\d+)|]|)\s+${PART}\s+${SERIAL}\s+${DESCRIPTION} -> Record + ^\s*FPC\s+${FPC} -> FPC + ^\s*MIC\s+${MIC} -> FPC + ^\s*PIC\s+${PIC} + ^\s*(Chassis|Midplane|Pseudo|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* -> Start + ^\s*$$ + ^. -> Error + +EOF diff --git a/ntc_templates/templates/juniper_junos_show_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_interfaces.textfsm index a571ab5c2b..7a86338444 100644 --- a/ntc_templates/templates/juniper_junos_show_interfaces.textfsm +++ b/ntc_templates/templates/juniper_junos_show_interfaces.textfsm @@ -2,15 +2,17 @@ Value Required INTERFACE (\S+) Value LINK_STATUS (\w+) Value ADMIN_STATE (\S+) Value HARDWARE_TYPE (\S+) +Value DESCRIPTION (\w+.*) +Value DESTINATION (\S+) +Value LOCAL (\S+) Value MTU (\d+|Unlimited) Start - ^\s+Logical\s+interface\s+${INTERFACE} + ^\s*\S+\s+interface -> Continue.Record ^Physical\s+interface:\s+${INTERFACE},\s+${ADMIN_STATE},\s+Physical\s+link\s+is\s+${LINK_STATUS} - ^.*ype:\s+${HARDWARE_TYPE},.*MTU:\s+${MTU}.* -> Record - ^.*MTU:\s+${MTU}.* -> Record - ^.*[fF]lags -> Record + ^.*Description:\s+${DESCRIPTION} + ^.*ype:\s+${HARDWARE_TYPE},.*MTU:\s+${MTU}.* + ^\s+Logical\s+interface\s+${INTERFACE} + ^.*Destination:\s+${DESTINATION},\s+Local:\s+${LOCAL},.* ^\s*$$ ^{master:\d+} - -EOF diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.raw b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.raw new file mode 100644 index 0000000000..fb2503dc2b --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.raw @@ -0,0 +1,26 @@ +Hardware inventory: +Item Version Part number Serial number Description +Chassis A1111 MX10-T +Midplane REV 08 711-038213 XXXX2118 MX10-T +PEM 0 Rev 05 740-028288 AJ00000 AC Power Entry Module +PEM 1 Rev 05 740-028288 AJ00001 AC Power Entry Module +Routing Engine BUILTIN BUILTIN Routing Engine +TFEB 0 BUILTIN BUILTIN Forwarding Engine Processor + QXM 0 REV 05 711-028408 ABCB4000 MPC QXM +FPC 0 BUILTIN BUILTIN MPC BUILTIN + MIC 0 BUILTIN BUILTIN 4x 10GE XFP + PIC 0 BUILTIN BUILTIN 4x 10GE XFP + Xcvr 0 REV 01 740-011571 USASR24490 XFP-10G-SR +FPC 1 BUILTIN BUILTIN MPC BUILTIN + MIC 0 REV 30 750-028380 CALW4921 3D 2x 10GE XFP + PIC 0 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-011607 A1JACT3 XFP-10G-LR + PIC 1 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-011607 A1KBPNC XFP-10G-LR + MIC 1 REV 20 750-028380 ABCC2190 3D 2x 10GE XFP + PIC 2 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 NON-JNPR CC37BK0PQ XFP-10G-SR + PIC 3 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-014279 EOXH27560005 XFP-10G-LR + Xcvr 1 REV 01 740-014279 XXXXXXXXXXXX XFP-10G-LR +Fan Tray Fan Tray \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.yml b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.yml new file mode 100644 index 0000000000..65a093fdba --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - fpc: "0" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-011571" + serial: "USASR24490" + description: "XFP-10G-SR" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-011607" + serial: "A1JACT3" + description: "XFP-10G-LR" + - fpc: "1" + mic: "0" + pic: "1" + xcvr: "0" + part: "740-011607" + serial: "A1KBPNC" + description: "XFP-10G-LR" + - fpc: "1" + mic: "1" + pic: "2" + xcvr: "0" + part: "NON-JNPR" + serial: "CC37BK0PQ" + description: "XFP-10G-SR" + - fpc: "1" + mic: "1" + pic: "3" + xcvr: "0" + part: "740-014279" + serial: "EOXH27560005" + description: "XFP-10G-LR" + - fpc: "1" + mic: "1" + pic: "3" + xcvr: "1" + part: "740-014279" + serial: "XXXXXXXXXXXX" + description: "XFP-10G-LR" diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.raw b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.raw new file mode 100644 index 0000000000..3970faadaa --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.raw @@ -0,0 +1,41 @@ +Hardware inventory: +Item Version Part number Serial number Description +Chassis XXXXXXXX0000 QFX5100-48S-6Q +Pseudo CB 0 +Routing Engine 0 BUILTIN BUILTIN QFX Routing Engine +FPC 0 REV 12 650-000000 XXXXXXXX0223 QFX5100-48S-6Q + CPU BUILTIN BUILTIN FPC CPU + PIC 0 BUILTIN BUILTIN 48x10G-6x40G + Xcvr 0 REV 01 740-000000 XXXXX0000000 SFP+-10G-SR + Xcvr 2 REV 01 740-000000 XXXXX0000000 SFP+-10G-SR + Xcvr 4 ] NON-JNPR XXXXX0000000 SFP+-10G-SR + Xcvr 5 REV 01 740-000000 XXXXX0000000 SFP+-10G-SR + Xcvr 6 REV 01 740-000000 XXXXX0000000 SFP+-10G-SR + Xcvr 7 ] NON-JNPR XXXXX0000000 SFP+-10G-SR + Xcvr 12 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 13 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 14 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 15 REV 02 740-000000 XXXXX0000000 SFP-T + Xcvr 17 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 18 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 21 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 22 REV 01 740-000000 XXXXX0000000 SFP-T + Xcvr 23 REV 01 740-000000 XXXXX0000000 SFP+-10G-LR + Xcvr 24 REV 01 740-000000 XXXXX0000000 SFP+-10G-LR + Xcvr 26 REV 01 740-000000 XXXXX0000000 SFP+-10G-LR + Xcvr 28 REV 01 740-000000 XXXXX0000000 SFP+-10G-LR + Xcvr 30 REV 01 740-000000 XXXXX0000000 SFP+-10G-LR + Xcvr 36 REV 01 740-000000 XXXXX0000000 SFP-LX10 + Xcvr 37 REV 02 740-000000 XXXXX0000000 SFP-LX10 + Xcvr 38 740-000000 XXXXX0000000 SFP-LX10 + Xcvr 40 REV 01 740-000000 XXXXX0000000 SFP-LX10 + Xcvr 46 REV 01 740-000000 XXXXX0000000 SFP-LX10 +Power Supply 0 REV 03 740-000000 XXXXXXX0016 JPSU-650W-AC-AFO +Power Supply 1 REV 03 740-000001 XXXXXXX0017 JPSU-650W-AC-AFO +Fan Tray 0 QFX5100 Fan Tray 0, Front to Back Airflow - AFO +Fan Tray 1 QFX5100 Fan Tray 1, Front to Back Airflow - AFO +Fan Tray 2 QFX5100 Fan Tray 2, Front to Back Airflow - AFO +Fan Tray 3 QFX5100 Fan Tray 3, Front to Back Airflow - AFO +Fan Tray 4 QFX5100 Fan Tray 4, Front to Back Airflow - AFO + +{master:0} \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.yml b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.yml new file mode 100644 index 0000000000..7b33338b68 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware1.yml @@ -0,0 +1,170 @@ +--- +parsed_sample: + - fpc: "0" + mic: "" + pic: "0" + xcvr: "0" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "2" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "4" + part: "NON-JNPR" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "5" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "6" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "7" + part: "NON-JNPR" + serial: "XXXXX0000000" + description: "SFP+-10G-SR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "12" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "13" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "14" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "15" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "17" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "18" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "21" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "22" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-T" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "23" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "24" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "26" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "28" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "30" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "36" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-LX10" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "37" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-LX10" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "38" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-LX10" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "40" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-LX10" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "46" + part: "740-000000" + serial: "XXXXX0000000" + description: "SFP-LX10" diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.raw b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.raw new file mode 100644 index 0000000000..653bb22762 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.raw @@ -0,0 +1,44 @@ +Hardware inventory: +Item Version Part number Serial number Description +Chassis A0000 MX104 +Midplane REV 49 750-000000 XXXXXX04 MX104 +PEM 0 REV 04 740-000000 XXXXXX20039 AC Power Entry Module +PEM 1 REV 04 740-000000 XXXXXX20125 AC Power Entry Module +Routing Engine 0 REV 07 750-000000 XXXXXX28 RE-MX-104 +AFEB 0 BUILTIN BUILTIN Forwarding Engine Processor +FPC 0 BUILTIN BUILTIN MPC BUILTIN + MIC 0 REV 25 750-000000 XXXXXX26 3D 2x 10GE XFP + PIC 0 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-000000 XXXXXXXX0001 XFP-10G-LR + PIC 1 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-000000 XXXXXXXX0001 XFP-10G-LR + MIC 1 REV 25 750-000000 ABCV0000 3D 2x 10GE XFP + PIC 2 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-000000 XXXXXXXX0001 XFP-10G-LR + PIC 3 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 NON-JNPR AAAA0000A XFP-10G-SR +FPC 1 BUILTIN BUILTIN MPC BUILTIN + MIC 0 REV 30 750-000000 AAAA000A 3D 20x 1GE(LAN) SFP + PIC 0 BUILTIN BUILTIN 10x 1GE(LAN) SFP + Xcvr 0 REV 02 740-000000 XXXXX1G22474 SFP-T + Xcvr 1 REV 02 740-000000 XXXXX1G22472 SFP-T + Xcvr 2 REV 01 740-000000 XXXXX23 SFP-T + Xcvr 3 REV 01 740-000000 XXXXX01 SFP-T + Xcvr 4 REV 02 740-000000 XXXXX1G22481 SFP-T + Xcvr 5 REV 02 740-000000 XXXXX1G22479 SFP-T + PIC 1 BUILTIN BUILTIN 10x 1GE(LAN) SFP + Xcvr 0 REV 01 740-000000 XXXXXX20000 SFP-T + Xcvr 1 REV 02 740-000000 XXXXX1G20000 SFP-T + MIC 1 REV 26 750-000000 XXXXX000 3D 2x 10GE XFP + PIC 2 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-000000 A00098A XFP-10G-LR + PIC 3 BUILTIN BUILTIN 1x 10GE XFP + Xcvr 0 REV 01 740-000000 XXXXX00000 XFP-10G-LR +FPC 2 BUILTIN BUILTIN MPC BUILTIN + MIC 0 BUILTIN BUILTIN 4x 10GE(LAN) SFP+ + PIC 0 BUILTIN BUILTIN 4x 10GE(LAN) SFP+ + Xcvr 0 REV 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 1 REV 01 740-000000 XXXXX00000 SFP+-10G-SR + Xcvr 2 REV 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 3 REV 740-000000 XXXXX00000 SFP+-10G-LR +Fan Tray 0 REV 03 711-000000 ABCD0000 Fan Tray diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.yml b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.yml new file mode 100644 index 0000000000..a3926edcd5 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware2.yml @@ -0,0 +1,128 @@ +--- +parsed_sample: + - fpc: "0" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-000000" + serial: "XXXXXXXX0001" + description: "XFP-10G-LR" + - fpc: "0" + mic: "0" + pic: "1" + xcvr: "0" + part: "740-000000" + serial: "XXXXXXXX0001" + description: "XFP-10G-LR" + - fpc: "0" + mic: "1" + pic: "2" + xcvr: "0" + part: "740-000000" + serial: "XXXXXXXX0001" + description: "XFP-10G-LR" + - fpc: "0" + mic: "1" + pic: "3" + xcvr: "0" + part: "NON-JNPR" + serial: "AAAA0000A" + description: "XFP-10G-SR" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-000000" + serial: "XXXXX1G22474" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "1" + part: "740-000000" + serial: "XXXXX1G22472" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "2" + part: "740-000000" + serial: "XXXXX23" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "3" + part: "740-000000" + serial: "XXXXX01" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "4" + part: "740-000000" + serial: "XXXXX1G22481" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "0" + xcvr: "5" + part: "740-000000" + serial: "XXXXX1G22479" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "1" + xcvr: "0" + part: "740-000000" + serial: "XXXXXX20000" + description: "SFP-T" + - fpc: "1" + mic: "0" + pic: "1" + xcvr: "1" + part: "740-000000" + serial: "XXXXX1G20000" + description: "SFP-T" + - fpc: "1" + mic: "1" + pic: "2" + xcvr: "0" + part: "740-000000" + serial: "A00098A" + description: "XFP-10G-LR" + - fpc: "1" + mic: "1" + pic: "3" + xcvr: "0" + part: "740-000000" + serial: "XXXXX00000" + description: "XFP-10G-LR" + - fpc: "2" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "2" + mic: "0" + pic: "0" + xcvr: "1" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-SR" + - fpc: "2" + mic: "0" + pic: "0" + xcvr: "2" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "2" + mic: "0" + pic: "0" + xcvr: "3" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.raw b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.raw new file mode 100644 index 0000000000..56ed5e83d6 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.raw @@ -0,0 +1,21 @@ +Hardware inventory: +Item Version Part number Serial number Description +Chassis A0000 JNP204 [MX204] +Routing Engine 0 BUILTIN BUILTIN RE-S-1600x8 +CB 0 REV 35 750-000000 ABCD0000 JNP204 [MX204] +FPC 0 BUILTIN BUILTIN MPC + PIC 0 BUILTIN BUILTIN 4XQSFP28 PIC + Xcvr 0 REV 02 740-000000 XXXXXXX100P QSFP+-4X10G-LR + Xcvr 1 REV 02 740-000000 XXXXXXX0090 QSFP+-4X10G-LR + Xcvr 2 REV 01 740-000000 XXXXXXX5 QSFP+-4X10G-SR + PIC 1 BUILTIN BUILTIN 8XSFPP PIC + Xcvr 0 REV 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 1 REV 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 2 REV 01 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 3 REV 01 740-000000 XXXXX00000 SFP+-10G-LR + Xcvr 5 REV 01 740-000000 XXXXX0000010 SFP+-10G-SR +PEM 0 REV 04 740-000000 XXXXX000003 AC AFO 650W PSU +PEM 1 REV 04 740-000000 XXXXX000004 AC AFO 650W PSU +Fan Tray 0 Fan Tray, Front to Back Airflow - AFO +Fan Tray 1 Fan Tray, Front to Back Airflow - AFO +Fan Tray 2 Fan Tray, Front to Back Airflow - AFO diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.yml b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.yml new file mode 100644 index 0000000000..f7f133bf34 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware3.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - fpc: "0" + mic: "" + pic: "0" + xcvr: "0" + part: "740-000000" + serial: "XXXXXXX100P" + description: "QSFP+-4X10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "1" + part: "740-000000" + serial: "XXXXXXX0090" + description: "QSFP+-4X10G-LR" + - fpc: "0" + mic: "" + pic: "0" + xcvr: "2" + part: "740-000000" + serial: "XXXXXXX5" + description: "QSFP+-4X10G-SR" + - fpc: "0" + mic: "" + pic: "1" + xcvr: "0" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "1" + xcvr: "1" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "1" + xcvr: "2" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "1" + xcvr: "3" + part: "740-000000" + serial: "XXXXX00000" + description: "SFP+-10G-LR" + - fpc: "0" + mic: "" + pic: "1" + xcvr: "5" + part: "740-000000" + serial: "XXXXX0000010" + description: "SFP+-10G-SR" diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw index 8beadec804..e4bcf1190a 100644 --- a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw +++ b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw @@ -1,5 +1,6 @@ Physical interface: ge-0/0/0, Enabled, Physical link is Up Interface index: 134, SNMP ifIndex: 502 + Description: Test Link-level type: Ethernet, MTU: 1514, MRU: 0, LAN-PHY mode, Link-mode: Half-duplex, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, @@ -16,6 +17,16 @@ Physical interface: ge-0/0/0, Enabled, Physical link is Up Active defects : None Interface transmit statistics: Disabled + Logical interface ge-0/0/0.2036 (Index 74) (SNMP ifIndex 535) + Flags: Up SNMP-Traps 0x0 VLAN-Tag [ 0x8100.2036 ] Encapsulation: ENET2 + Input packets : 12439041 + Output packets: 2552075 + Security: Zone: Null + Protocol inet, MTU: 1500 + Flags: Sendbcast-pkt-to-re, Sample-input, Sample-output + Addresses, Flags: Is-Preferred Is-Primary + Destination: 10.10.199.176/29, Local: 10.0.10.199.180, Broadcast: 10.10.199.183 + Physical interface: gr-0/0/0, Enabled, Physical link is Up Interface index: 139, SNMP ifIndex: 506 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml index 18143872d7..3b9c3d08b9 100644 --- a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml +++ b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml @@ -2,36 +2,65 @@ parsed_sample: - admin_state: "Enabled" hardware_type: "Ethernet" + description: "Test" interface: "ge-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "1514" + - admin_state: "" + hardware_type: "" + description: "" + interface: "ge-0/0/0.2036" + destination: "10.10.199.176/29" + local: "10.0.10.199.180" + link_status: "" + mtu: "" - admin_state: "Enabled" hardware_type: "GRE" + description: "" interface: "gr-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "Unlimited" - admin_state: "Enabled" hardware_type: "IP-over-IP" + description: "" interface: "ip-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "Unlimited" - admin_state: "Enabled" hardware_type: "LinkService" + description: "" interface: "lsq-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "1504" - admin_state: "Enabled" hardware_type: "Logical-tunnel" + description: "" interface: "lt-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "Unlimited" - admin_state: "Enabled" hardware_type: "GRE" + description: "" interface: "mt-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "Unlimited" - admin_state: "Enabled" hardware_type: "Adaptive-Services" + description: "" interface: "sp-0/0/0" + destination: "" + local: "" link_status: "Up" mtu: "9192" From 1313f56f7dd934269886a5c6d368ac59e20625a1 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 3 Nov 2021 10:12:35 -0500 Subject: [PATCH 232/412] Prep for release v3.0.0 (#1010) Release 3.0.0 prep --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2764b36a2..cf28633007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) + +[Full Changlog](https://github.com/networktocode/ntc-templates/compare/v2.3.2...3.0.0) + +### Breaking Changes + +- Template `cisco_ios_show_mac-address-table` has `DESTINATION_PORT` as a list of ports now instead of a single string entry (#994) + +### What's Changed +* cisco_ios_show_access-session: Adding Identity to MAC column by @ahlara-devcore in https://github.com/networktocode/ntc-templates/pull/990 +* [New Template] Ciena - traffic-profile standard-profile by @georgesnow in https://github.com/networktocode/ntc-templates/pull/981 +* New template: cisco_nxos_show_ip_interface_vrf_all.textfsm by @AJatCDW in https://github.com/networktocode/ntc-templates/pull/978 +* New template: juniper_junos_show_system_uptime.textfsm by @antonalekseev in https://github.com/networktocode/ntc-templates/pull/975 +* Template Change: cisco_ios, show archive by @QuasarKid in https://github.com/networktocode/ntc-templates/pull/905 +* Bugfix: change date format in hp_comware_display_clock.textfsm by @antonalekseev in https://github.com/networktocode/ntc-templates/pull/977 +* update arista interface template + raw by @scetron in https://github.com/networktocode/ntc-templates/pull/963 +* New Template: cisco_ios_show_dhcp_lease by @lamiskin in https://github.com/networktocode/ntc-templates/pull/991 +* Fix ios_mac-addr type2 by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/994 +* fix parsing with int addresses = 0 by @dainok in https://github.com/networktocode/ntc-templates/pull/982 +* New template for huawei VRP + fix. by @ak-empiak in https://github.com/networktocode/ntc-templates/pull/998 +* added VLAN value and search pattern by @dm-bell-networking in https://github.com/networktocode/ntc-templates/pull/1002 +* Ciso IOS show mac and show module fix by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/1006 +* Junos show chassis by @georgesnow in https://github.com/networktocode/ntc-templates/pull/997 + +### New Contributors +* @ahlara-devcore made their first contribution in https://github.com/networktocode/ntc-templates/pull/990 +* @AJatCDW made their first contribution in https://github.com/networktocode/ntc-templates/pull/978 +* @antonalekseev made their first contribution in https://github.com/networktocode/ntc-templates/pull/975 +* @lamiskin made their first contribution in https://github.com/networktocode/ntc-templates/pull/991 +* @armartirosyan made their first contribution in https://github.com/networktocode/ntc-templates/pull/994 +* @ak-empiak made their first contribution in https://github.com/networktocode/ntc-templates/pull/998 +* @dm-bell-networking made their first contribution in https://github.com/networktocode/ntc-templates/pull/1002 + +**Full Changelog**: https://github.com/networktocode/ntc-templates/compare/v2.3.2...v3.0.0 ## [2.3.2](https://github.com/networktocode/ntc-templates/tree/2.3.2) (2021-09-13) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.1...2.3.2) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 80e9b74e77..fb6467db96 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.3.2" +__version__ = "3.0.0" diff --git a/pyproject.toml b/pyproject.toml index 35a1e3055e..b63a0c6bfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.3.2" +version = "3.0.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From deade6daf3398e2f778e0b945a41677f771dc007 Mon Sep 17 00:00:00 2001 From: yone2ks Date: Mon, 8 Nov 2021 23:04:31 +0900 Subject: [PATCH 233/412] New Template: Cisco ASA: 'show cpu usage detailed' (#1014) Adds new template - Cisco ASA: `show cpu usage detailed` --- .../cisco_asa_show_cpu_usage_detailed.textfsm | 22 ++ ntc_templates/templates/index | 1 + .../cisco_asa_show_cpu_usage_detailed.raw | 35 +++ .../cisco_asa_show_cpu_usage_detailed.yml | 222 ++++++++++++++++++ 4 files changed, 280 insertions(+) create mode 100644 ntc_templates/templates/cisco_asa_show_cpu_usage_detailed.textfsm create mode 100644 tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.raw create mode 100644 tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.yml diff --git a/ntc_templates/templates/cisco_asa_show_cpu_usage_detailed.textfsm b/ntc_templates/templates/cisco_asa_show_cpu_usage_detailed.textfsm new file mode 100644 index 0000000000..78436318f7 --- /dev/null +++ b/ntc_templates/templates/cisco_asa_show_cpu_usage_detailed.textfsm @@ -0,0 +1,22 @@ +Value CORE (Core\s\d+) +Value CPU_5_SEC (\d+\.\d+) +Value CPU_5_SEC_DP (\d+\.\d+) +Value CPU_5_SEC_CP (\d+\.\d+) +Value CPU_1_MIN (\d+\.\d+) +Value CPU_1_MIN_DP (\d+\.\d+) +Value CPU_1_MIN_CP (\d+\.\d+) +Value CPU_5_MIN (\d+\.\d+) +Value CPU_5_MIN_DP (\d+\.\d+) +Value CPU_5_MIN_CP (\d+\.\d+) + + +Start + ^Break\s+down\s+of\s+per-core\s+data\s+path\s+versus\s+control\s+point\s+cpu\s+usage: + ^Core\s+5\s+sec\s+1\s+min\s+5\s+min + ^${CORE}\s+${CPU_5_SEC}\s+\(${CPU_5_SEC_DP}\s+\+\s+${CPU_5_SEC_CP}\)\s+${CPU_1_MIN}\s+\(${CPU_1_MIN_DP}\s+\+\s+${CPU_1_MIN_CP}\)\s+${CPU_5_MIN}\s+\(${CPU_5_MIN_DP}\s+\+\s+${CPU_5_MIN_CP}.+ -> Record + ^\s* + ^Current\s+control\s+point\s+elapsed\s+versus\s+the\s+maximum\s+control\s+point\s+elapsed\s+for: + ^CPU\s+utilization\s+of\s+external\s+processes\s+for: + ^Total\s+CPU\s+utilization\s+for: + ^5\s+seconds\s+=\s+\d+.\d+%;\s+1\s+minute:\s+\d+.\d+%;\s+5\s+minutes:\s+\d+.\d+% + ^.*$$ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d417a5b646..d99f7f0a3f 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -160,6 +160,7 @@ cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[s cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] +cisco_asa_show_cpu_usage_detailed.textfsm, .*, cisco_asa, sh[[ow]] cpu u[[sage]] d[[etailed]] cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] diff --git a/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.raw b/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.raw new file mode 100644 index 0000000000..42dad12397 --- /dev/null +++ b/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.raw @@ -0,0 +1,35 @@ +Break down of per-core data path versus control point cpu usage: +Core 5 sec 1 min 5 min +Core 0 35.0 (22.4 + 12.6) 35.8 (23.6 + 12.2) 35.2 (23.8 + 11.4) +Core 1 34.6 (34.6 + 0.0) 36.1 (36.1 + 0.0) 36.3 (36.3 + 0.0) +Core 2 34.8 (34.8 + 0.0) 36.4 (36.4 + 0.0) 36.6 (36.6 + 0.0) +Core 3 34.6 (34.6 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 4 34.4 (34.4 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 5 34.4 (34.4 + 0.0) 36.0 (36.0 + 0.0) 36.1 (36.1 + 0.0) +Core 6 34.4 (34.4 + 0.0) 36.0 (36.0 + 0.0) 36.1 (36.1 + 0.0) +Core 7 34.6 (34.6 + 0.0) 36.3 (36.3 + 0.0) 36.5 (36.5 + 0.0) +Core 8 34.8 (34.8 + 0.0) 36.4 (36.4 + 0.0) 36.5 (36.5 + 0.0) +Core 9 35.0 (35.0 + 0.0) 36.5 (36.5 + 0.0) 36.6 (36.6 + 0.0) +Core 10 35.2 (35.2 + 0.0) 36.6 (36.6 + 0.0) 36.7 (36.7 + 0.0) +Core 11 35.6 (22.2 + 13.4) 36.1 (23.6 + 12.5) 35.3 (23.8 + 11.6) +Core 12 34.6 (34.6 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 13 34.8 (34.8 + 0.0) 36.2 (36.2 + 0.0) 36.3 (36.3 + 0.0) +Core 14 34.8 (34.8 + 0.0) 36.2 (36.2 + 0.0) 36.3 (36.3 + 0.0) +Core 15 34.4 (34.4 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 16 34.6 (34.6 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 17 34.6 (34.6 + 0.0) 36.1 (36.1 + 0.0) 36.2 (36.2 + 0.0) +Core 18 35.2 (35.2 + 0.0) 36.6 (36.6 + 0.0) 36.8 (36.8 + 0.0) +Core 19 35.0 (35.0 + 0.0) 36.5 (36.5 + 0.0) 36.7 (36.7 + 0.0) +Core 20 35.0 (35.0 + 0.0) 36.6 (36.6 + 0.0) 36.7 (36.7 + 0.0) +Core 21 35.2 (35.2 + 0.0) 36.8 (36.8 + 0.0) 37.0 (37.0 + 0.0) + +Current control point elapsed versus the maximum control point elapsed for: + 5 seconds = 50.0%; 1 minute: 46.5%; 5 minutes: 42.2% + + +CPU utilization of external processes for: + 5 seconds = 0.0%; 1 minute: 0.0%; 5 minutes: 0.0% + + +Total CPU utilization for: + 5 seconds = 34.2%; 1 minute: 36.2%; 5 minutes: 36.4% \ No newline at end of file diff --git a/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.yml b/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.yml new file mode 100644 index 0000000000..8e544dcb07 --- /dev/null +++ b/tests/cisco_asa/show_cpu_usage_detailed/cisco_asa_show_cpu_usage_detailed.yml @@ -0,0 +1,222 @@ +--- +parsed_sample: + - core: "Core 0" + cpu_5_sec: "35.0" + cpu_5_sec_dp: "22.4" + cpu_5_sec_cp: "12.6" + cpu_1_min: "35.8" + cpu_1_min_dp: "23.6" + cpu_1_min_cp: "12.2" + cpu_5_min: "35.2" + cpu_5_min_dp: "23.8" + cpu_5_min_cp: "11.4" + - core: "Core 1" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.3" + cpu_5_min_dp: "36.3" + cpu_5_min_cp: "0.0" + - core: "Core 2" + cpu_5_sec: "34.8" + cpu_5_sec_dp: "34.8" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.4" + cpu_1_min_dp: "36.4" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.6" + cpu_5_min_dp: "36.6" + cpu_5_min_cp: "0.0" + - core: "Core 3" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 4" + cpu_5_sec: "34.4" + cpu_5_sec_dp: "34.4" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 5" + cpu_5_sec: "34.4" + cpu_5_sec_dp: "34.4" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.0" + cpu_1_min_dp: "36.0" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.1" + cpu_5_min_dp: "36.1" + cpu_5_min_cp: "0.0" + - core: "Core 6" + cpu_5_sec: "34.4" + cpu_5_sec_dp: "34.4" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.0" + cpu_1_min_dp: "36.0" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.1" + cpu_5_min_dp: "36.1" + cpu_5_min_cp: "0.0" + - core: "Core 7" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.3" + cpu_1_min_dp: "36.3" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.5" + cpu_5_min_dp: "36.5" + cpu_5_min_cp: "0.0" + - core: "Core 8" + cpu_5_sec: "34.8" + cpu_5_sec_dp: "34.8" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.4" + cpu_1_min_dp: "36.4" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.5" + cpu_5_min_dp: "36.5" + cpu_5_min_cp: "0.0" + - core: "Core 9" + cpu_5_sec: "35.0" + cpu_5_sec_dp: "35.0" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.5" + cpu_1_min_dp: "36.5" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.6" + cpu_5_min_dp: "36.6" + cpu_5_min_cp: "0.0" + - core: "Core 10" + cpu_5_sec: "35.2" + cpu_5_sec_dp: "35.2" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.6" + cpu_1_min_dp: "36.6" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.7" + cpu_5_min_dp: "36.7" + cpu_5_min_cp: "0.0" + - core: "Core 11" + cpu_5_sec: "35.6" + cpu_5_sec_dp: "22.2" + cpu_5_sec_cp: "13.4" + cpu_1_min: "36.1" + cpu_1_min_dp: "23.6" + cpu_1_min_cp: "12.5" + cpu_5_min: "35.3" + cpu_5_min_dp: "23.8" + cpu_5_min_cp: "11.6" + - core: "Core 12" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 13" + cpu_5_sec: "34.8" + cpu_5_sec_dp: "34.8" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.2" + cpu_1_min_dp: "36.2" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.3" + cpu_5_min_dp: "36.3" + cpu_5_min_cp: "0.0" + - core: "Core 14" + cpu_5_sec: "34.8" + cpu_5_sec_dp: "34.8" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.2" + cpu_1_min_dp: "36.2" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.3" + cpu_5_min_dp: "36.3" + cpu_5_min_cp: "0.0" + - core: "Core 15" + cpu_5_sec: "34.4" + cpu_5_sec_dp: "34.4" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 16" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 17" + cpu_5_sec: "34.6" + cpu_5_sec_dp: "34.6" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.1" + cpu_1_min_dp: "36.1" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.2" + cpu_5_min_dp: "36.2" + cpu_5_min_cp: "0.0" + - core: "Core 18" + cpu_5_sec: "35.2" + cpu_5_sec_dp: "35.2" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.6" + cpu_1_min_dp: "36.6" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.8" + cpu_5_min_dp: "36.8" + cpu_5_min_cp: "0.0" + - core: "Core 19" + cpu_5_sec: "35.0" + cpu_5_sec_dp: "35.0" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.5" + cpu_1_min_dp: "36.5" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.7" + cpu_5_min_dp: "36.7" + cpu_5_min_cp: "0.0" + - core: "Core 20" + cpu_5_sec: "35.0" + cpu_5_sec_dp: "35.0" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.6" + cpu_1_min_dp: "36.6" + cpu_1_min_cp: "0.0" + cpu_5_min: "36.7" + cpu_5_min_dp: "36.7" + cpu_5_min_cp: "0.0" + - core: "Core 21" + cpu_5_sec: "35.2" + cpu_5_sec_dp: "35.2" + cpu_5_sec_cp: "0.0" + cpu_1_min: "36.8" + cpu_1_min_dp: "36.8" + cpu_1_min_cp: "0.0" + cpu_5_min: "37.0" + cpu_5_min_dp: "37.0" + cpu_5_min_cp: "0.0" From 8314a4ce8e34f0148e2d5074f150874a7507b4a0 Mon Sep 17 00:00:00 2001 From: Armen Martirosyan Date: Wed, 10 Nov 2021 09:10:54 -0800 Subject: [PATCH 234/412] Fix IOS show mac address Type3 and Type4. Additional test files (#1019) Updates show mac address type3 and Type4 --- .../cisco_ios_show_mac-address-table.textfsm | 4 +- .../cisco_ios_show_mac-address-table12.raw | 32 +++++++++ .../cisco_ios_show_mac-address-table12.yml | 67 +++++++++++++++++++ .../cisco_ios_show_mac-address-table13.raw | 13 ++++ .../cisco_ios_show_mac-address-table13.yml | 32 +++++++++ 5 files changed, 146 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.yml create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.yml diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index acade9c42c..750893e22d 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -58,7 +58,7 @@ TYPE2 ^. -> Error TYPE3 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT}$$ -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT}(?:\s|$$) -> Record ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+protocols\s+port @@ -67,7 +67,7 @@ TYPE3 ^. -> Error TYPE4 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}$$ -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}(?:\s|$$) -> Record ^-+\s+-+ ^Displaying\s+entries ^Vlan\s+Mac Address\s+Type\s+Ports diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.raw new file mode 100644 index 0000000000..619da952d3 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.raw @@ -0,0 +1,32 @@ +Unicast Entries + vlan mac address type protocols port +---------+---------------+--------+---------------------+------------------------- + 10 0002.d180.67fb dynamic ip,ipx,assigned,other Port-channel15 + 10 0012.e160.12ad dynamic ip,ipx,assigned,other Port-channel15 + 10 0012.b67e.1212 dynamic ip,ipx,assigned,other GigabitEthernet0/48 + 10 0012.12da.1212 dynamic ip,ipx,assigned,other GigabitEthernet0/44 + 10 1212.1263.1212 dynamic ip,ipx,assigned,other GigabitEthernet0/42 + 10 1313.1212.1234 dynamic ip,ipx,assigned,other GigabitEthernet0/37 + 10 1212.1281.1313 dynamic ip,ipx,assigned,other Port-channel82 + 10 1234.5678.abcd dynamic ip,ipx,assigned,other Port-channel100 + 10 abcd.efab.8641 dynamic ip,ipx,assigned,other GigabitEthernet0/37 + 10 dcba.beef.1236 dynamic ip,ipx,assigned,other GigabitEthernet0/39 + 10 6789.feed.abc1 dynamic ip,ipx,assigned,other GigabitEthernet0/44 +2099 5421.1222.9988 dynamic ip,ipx,assigned,other GigabitEthernet0/48 +2099 deed.feed.fabd static ip,ipx,assigned,other Switch + +Multicast Entries + vlan mac address type ports +---------+---------------+-------+-------------------------------------------- + 1 0100.0ccc.ccce system Po100,Po15,Po82 + 1 ffff.ffff.ffff system Po100,Po15,Po82 + 10 ffff.ffff.ffff system Gi0/2,Gi0/3,Gi0/5,Gi0/7,Gi0/8,Gi0/9,Gi0/12 + Gi0/13,Gi0/14,Gi0/15,Gi0/16,Gi0/18,Gi9/23 + Switch,Po100,Po15,Po82 + 15 ffff.ffff.ffff system Gi1/2,Gi1/3,Gi1/5,Gi1/7,Gi1/8,Gi1/9,Gi1/12 + Gi8/43,Switch,Po100,Po2,Po15,Po82 + 790 ffff.ffff.ffff system Switch,Po100,Po15,Po82 +Gi1/48 ffff.ffff.ffff system Gi1/48,Switch +2060 ffff.ffff.ffff system Gi8/48,Switch,Po100,Po15,Po82 +2061 ffff.ffff.ffff system Gi7/48,Switch,Po100,Po15,Po82 +2099 ffff.ffff.ffff system Gi7/48,Switch,Po100,Po15,Po82 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.yml new file mode 100644 index 0000000000..4d172e1396 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.yml @@ -0,0 +1,67 @@ +--- +parsed_sample: + - destination_address: "0002.d180.67fb" + type: "dynamic" + vlan: "10" + destination_port: + - "Port-channel15" + - destination_address: "0012.e160.12ad" + type: "dynamic" + vlan: "10" + destination_port: + - "Port-channel15" + - destination_address: "0012.b67e.1212" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/48" + - destination_address: "0012.12da.1212" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/44" + - destination_address: "1212.1263.1212" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/42" + - destination_address: "1313.1212.1234" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/37" + - destination_address: "1212.1281.1313" + type: "dynamic" + vlan: "10" + destination_port: + - "Port-channel82" + - destination_address: "1234.5678.abcd" + type: "dynamic" + vlan: "10" + destination_port: + - "Port-channel100" + - destination_address: "abcd.efab.8641" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/37" + - destination_address: "dcba.beef.1236" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/39" + - destination_address: "6789.feed.abc1" + type: "dynamic" + vlan: "10" + destination_port: + - "GigabitEthernet0/44" + - destination_address: "5421.1222.9988" + type: "dynamic" + vlan: "2099" + destination_port: + - "GigabitEthernet0/48" + - destination_address: "deed.feed.fabd" + type: "static" + vlan: "2099" + destination_port: + - "Switch" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.raw new file mode 100644 index 0000000000..0cfaf238f0 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.raw @@ -0,0 +1,13 @@ + Mac Address Table +------------------------------------------- + +Vlan Mac Address Type Ports +---- ----------- -------- ----- + All 0100.0ccc.cccc STATIC CPU + All ffff.ffff.ffff STATIC CPU + 1 28af.fd99.82c7 STATIC Vl1 + 87 0019.ab11.1111 DYNAMIC Gi1/1/1 + 87 12db.dbdb.1919 STATIC Vl87 + 87 1818.1818.1818 DYNAMIC Gi1/1/1 + +Total Mac Addresses for this criterion: 87 \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.yml new file mode 100644 index 0000000000..f00581a869 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - destination_address: "0100.0ccc.cccc" + type: "STATIC" + vlan: "All" + destination_port: + - "CPU" + - destination_address: "ffff.ffff.ffff" + type: "STATIC" + vlan: "All" + destination_port: + - "CPU" + - destination_address: "28af.fd99.82c7" + type: "STATIC" + vlan: "1" + destination_port: + - "Vl1" + - destination_address: "0019.ab11.1111" + type: "DYNAMIC" + vlan: "87" + destination_port: + - "Gi1/1/1" + - destination_address: "12db.dbdb.1919" + type: "STATIC" + vlan: "87" + destination_port: + - "Vl87" + - destination_address: "1818.1818.1818" + type: "DYNAMIC" + vlan: "87" + destination_port: + - "Gi1/1/1" From 5b96af5da0b4fc1c81818b18f09c3dc454d91eea Mon Sep 17 00:00:00 2001 From: Pavel Date: Wed, 17 Nov 2021 22:12:01 +0100 Subject: [PATCH 235/412] Fix template IOS show int status - added new interface status (#1023) Add suspended as choice on Cisco IOS show interfaces status. --- .../templates/cisco_ios_show_interfaces_status.textfsm | 2 +- .../show_interfaces_status/cisco_ios_show_interfaces_status.raw | 2 +- .../show_interfaces_status/cisco_ios_show_interfaces_status.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm index 88cd95a5cf..d131667e07 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,6 +1,6 @@ Value PORT (\S+) Value NAME (.+?) -Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring) +Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring|suspended) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index 8f460276cc..41c5d4cd3d 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -5,7 +5,7 @@ Gi1/0/3 John's Office notconnect 1 auto auto 10/100/1000Ba Gi1/0/4 SingleName connected 1 a-full a-100 10/100/1000BaseTX Gi1/0/5 Dashed-Name connected 1000 a-full a-1000 10/100/1000BaseTX Gi1/0/6 Spaced Example connected 8 a-full a-100 10/100/1000BaseTX -Gi1/0/7 Trunk Example connected trunk a-full a-1000 1000BaseSX SFP +Gi1/0/7 Trunk Example suspended trunk a-full a-1000 1000BaseSX SFP Gi1/0/8 SFP Not Present notconnect 1 auto auto Not Present Gi1/0/9 SFP Not Present notconnect 1 auto auto Not Present Gi1/0/10 Management notconnect routed auto auto 10/100BaseTX diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index ab567b4694..f568b6addb 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -50,7 +50,7 @@ parsed_sample: fc_mode: "" - port: "Gi1/0/7" name: "Trunk Example" - status: "connected" + status: "suspended" vlan: "trunk" duplex: "a-full" speed: "a-1000" From de81a655a39638ab7505a45288c47f619546cc2b Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Mon, 29 Nov 2021 15:57:17 -0600 Subject: [PATCH 236/412] Adds FTD output example from Cisco support site (#1032) --- tests/cisco_ftd/show_arp/cisco_ftd_show_arp.raw | 3 +++ tests/cisco_ftd/show_arp/cisco_ftd_show_arp.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/cisco_ftd/show_arp/cisco_ftd_show_arp.raw create mode 100644 tests/cisco_ftd/show_arp/cisco_ftd_show_arp.yml diff --git a/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.raw b/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.raw new file mode 100644 index 0000000000..b6d2235595 --- /dev/null +++ b/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.raw @@ -0,0 +1,3 @@ + outside 10.86.194.61 0011.2094.1d2b 2 + outside 10.86.194.1 001a.300c.8000 - + outside 10.86.195.2 00d0.02a8.440a alias diff --git a/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.yml b/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.yml new file mode 100644 index 0000000000..2264c7fd6f --- /dev/null +++ b/tests/cisco_ftd/show_arp/cisco_ftd_show_arp.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - interface: "outside" + address: "10.86.194.61" + age: "2" + mac: "0011.2094.1d2b" + - interface: "outside" + address: "10.86.194.1" + age: "-" + mac: "001a.300c.8000" + - interface: "outside" + address: "10.86.195.2" + age: "alias" + mac: "00d0.02a8.440a" From d8c74b36fb61a97643f59d34cfe23815498e537a Mon Sep 17 00:00:00 2001 From: ksaegusa <33768444+ksaegusa@users.noreply.github.com> Date: Thu, 2 Dec 2021 07:26:58 +0900 Subject: [PATCH 237/412] Add show ip nat translations template (#1028) Add cisco ios show ip nat translations template --- ...cisco_ios_show_ip_nat_translations.textfsm | 14 ++++++ ntc_templates/templates/index | 1 + .../show_ip_nat_translations.raw | 6 +++ .../show_ip_nat_translations.yml | 47 +++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm create mode 100644 tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw create mode 100644 tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm b/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm new file mode 100644 index 0000000000..a8f50e8707 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm @@ -0,0 +1,14 @@ +Value PROTOCOL (tcp|udp|icmp|---) +Value INSIDE_GLOBAL_IP (\d+\.\d+\.\d+\.\d+|---) +Value INSIDE_GLOBAL_PORT (\S+) +Value INSIDE_LOCAL_IP (\d+\.\d+\.\d+\.\d+|---) +Value INSIDE_LOCAL_PORT (\S+) +Value OUTSIDE_LOCAL_IP (\d+\.\d+\.\d+\.\d+|---) +Value OUTSIDE_LOCAL_PORT (\S+) +Value OUTSIDE_GLOBAL_IP (\d+\.\d+\.\d+\.\d+|---) +Value OUTSIDE_GLOBAL_PORT (\S+) + +Start + ^Pro\s+Inside\sglobal\s+Inside\slocal\s+Outside\slocal\s+Outside\sglobal + ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}:${INSIDE_GLOBAL_PORT}\s+${INSIDE_LOCAL_IP}:${INSIDE_LOCAL_PORT}\s+${OUTSIDE_LOCAL_IP}:${OUTSIDE_GLOBAL_PORT}\s+${OUTSIDE_GLOBAL_IP}:${OUTSIDE_LOCAL_PORT} -> Record + ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}\s+${INSIDE_LOCAL_IP}\s+${OUTSIDE_LOCAL_IP}\s+${OUTSIDE_GLOBAL_IP} -> Record diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d99f7f0a3f..d8d2aec206 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -207,6 +207,7 @@ cisco_ios_show_lldp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] n cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_etherchannel_summary.textfsm, .*, cisco_ios, sh[[ow]] etherchann[[el]] summ[[ary]] cisco_ios_show_ipv6_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] +cisco_ios_show_ip_nat_translations.textfsm, .*, cisco_ios, sh[[ow]] ip nat translation[[s]] cisco_ios_show_ip_eigrp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] cisco_ios_show_ip_flow_toptalkers.textfsm, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] diff --git a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw new file mode 100644 index 0000000000..758678953d --- /dev/null +++ b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw @@ -0,0 +1,6 @@ +Pro Inside global Inside local Outside local Outside global +tcp 10.9.0.0:51776 10.1.0.2:51776 10.2.0.2:21 10.2.0.2:21 +tcp 10.9.0.0:51778 10.1.0.2:51778 10.2.0.2:21 10.2.0.2:21 +tcp 10.9.0.0:56384 10.1.0.2:56384 10.2.0.2:22 10.2.0.2:22 +icmp 10.9.0.0:513 10.1.0.2:512 10.2.0.2:512 10.2.0.2:513 +--- 10.9.0.0 10.1.0.2 --- --- \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml new file mode 100644 index 0000000000..91d13fccfb --- /dev/null +++ b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - protocol: "tcp" + inside_global_ip: "10.9.0.0" + inside_global_port: "51776" + inside_local_ip: "10.1.0.2" + inside_local_port: "51776" + outside_local_ip: "10.2.0.2" + outside_local_port: "21" + outside_global_ip: "10.2.0.2" + outside_global_port: "21" + - protocol: "tcp" + inside_global_ip: "10.9.0.0" + inside_global_port: "51778" + inside_local_ip: "10.1.0.2" + inside_local_port: "51778" + outside_local_ip: "10.2.0.2" + outside_local_port: "21" + outside_global_ip: "10.2.0.2" + outside_global_port: "21" + - protocol: "tcp" + inside_global_ip: "10.9.0.0" + inside_global_port: "56384" + inside_local_ip: "10.1.0.2" + inside_local_port: "56384" + outside_local_ip: "10.2.0.2" + outside_local_port: "22" + outside_global_ip: "10.2.0.2" + outside_global_port: "22" + - protocol: "icmp" + inside_global_ip: "10.9.0.0" + inside_global_port: "513" + inside_local_ip: "10.1.0.2" + inside_local_port: "512" + outside_local_ip: "10.2.0.2" + outside_local_port: "513" + outside_global_ip: "10.2.0.2" + outside_global_port: "512" + - protocol: "---" + inside_global_ip: "10.9.0.0" + inside_global_port: "" + inside_local_ip: "10.1.0.2" + inside_local_port: "" + outside_local_ip: "---" + outside_local_port: "" + outside_global_ip: "---" + outside_global_port: "" From b44850d66f0a34926abbbd6d48b10b280a6e8409 Mon Sep 17 00:00:00 2001 From: Stephen Corry Date: Wed, 15 Dec 2021 17:23:40 -0500 Subject: [PATCH 238/412] Fixes #1043 Update arista_eos_show_interfaces_description.textfsm (#1044) * Update arista_eos_show_interfaces_description.textfsm - Update choices for Protocol to include 'notpresent' option. --- .../arista_eos_show_interfaces_description.textfsm | 2 +- .../arista_eos_show_interfaces_description.raw | 2 ++ .../arista_eos_show_interfaces_description.yml | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm index f087d53121..4bb0b2f4b0 100644 --- a/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm +++ b/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm @@ -1,6 +1,6 @@ Value PORT (\S+) Value STATUS (up|down|admin\s+down) -Value PROTOCOL (up|down|lowerlayerdown) +Value PROTOCOL (up|down|lowerlayerdown|notpresent) Value DESCRIP (\S.*?) Start diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw index 39800b71c5..bc0cb918a4 100644 --- a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw @@ -12,6 +12,8 @@ Et9.999 down lowerlayerdown Et10 up up ThiS iS a TeSt DeScriPtiON Et11 up up ThiS iS a TeSt DeScriPtiON Et12 up up ThiS iS a TeSt DeScriPtiON +Et13 down notpresent This IS a TesT DeScrIption +Et14 down notpresent Ma1 down down Management Po1 up up MLAG peer link Po101 up up ServerRAD diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml index e54c1ca32d..48570252f8 100644 --- a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml @@ -52,6 +52,14 @@ parsed_sample: status: "up" protocol: "up" descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et13" + status: "down" + protocol: "notpresent" + descrip: "This IS a TesT DeScrIption" + - port: "Et14" + status: "down" + protocol: "notpresent" + descrip: "" - port: "Ma1" status: "down" protocol: "down" From 14e31fde3013308f65bbe0e99c07f2e07a2e3952 Mon Sep 17 00:00:00 2001 From: hagleyj Date: Wed, 15 Dec 2021 19:52:31 -0500 Subject: [PATCH 239/412] aruba_os_show_ap_database (#1042) Adds aruba_os_show_ap_database --- .../aruba_os_show_ap_database.textfsm | 20 ++++++++++++++ ntc_templates/templates/index | 1 + .../aruba_os_show_ap_database.raw | 23 ++++++++++++++++ .../aruba_os_show_ap_database.yml | 26 +++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 ntc_templates/templates/aruba_os_show_ap_database.textfsm create mode 100644 tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw create mode 100644 tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml diff --git a/ntc_templates/templates/aruba_os_show_ap_database.textfsm b/ntc_templates/templates/aruba_os_show_ap_database.textfsm new file mode 100644 index 0000000000..58a9b2ba2a --- /dev/null +++ b/ntc_templates/templates/aruba_os_show_ap_database.textfsm @@ -0,0 +1,20 @@ +Value AP_NAME (\S+) +Value GROUP (\S+) +Value AP_MODEL (\d+) +Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STATUS (.+?) +Value FLAGS (\S+) +Value PRIMARY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STANDBY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) + +Start + ^${AP_NAME}\s+${GROUP}\s+${AP_MODEL}\s+${IP_ADDRESS}\s+${STATUS}\s+${FLAGS}\s+${PRIMARY}\s+${STANDBY}\s*$$ -> Record + ^AP Database + ^.+\.+ + ^Name\s+Group\s+AP\s+Type\s+IP\s+Address\s+Status\s+Flags\s+Switch\s+IP\s+Standby IP\s*$$ + ^Flags: + ^\s*$$ + ^\s+ + ^Total + ^-+ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d8d2aec206..90254a9aeb 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -85,6 +85,7 @@ aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] +aruba_os_show_ap_database.textfsm, .*, aruba_os, show ap database aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp avaya_ers_show_mac-address-table.textfsm, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] diff --git a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw new file mode 100644 index 0000000000..b4a5cb8fe3 --- /dev/null +++ b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw @@ -0,0 +1,23 @@ + +AP Database +----------- +Name Group AP Type IP Address Status Flags Switch IP Standby IP +---- ----- ------- ---------- ------ ----- --------- ---------- +ap-building-1 building 635 192.168.1.1 Up 2d:17h:8m:4s 2Sf 192.168.2.2 192.168.2.3 +ap-building-2 building 515 192.168.1.2 Up 2d:17h:8m:23s 2Sf 192.168.2.2 192.168.2.3 +ap-building-3 building 635 192.168.1.3 Up 2d:16h:57m:55s 2Sf 192.168.2.2 192.168.2.3 + + +Flags: 1 = 802.1x authenticated AP use EAP-PEAP; 1+ = 802.1x use EST; 1- = 802.1x use factory cert + 2 = Using IKE version 2; 4 = WiFi Uplink + B = Built-in AP; C = Cellular RAP; D = Dirty or no config + E = Regulatory Domain Mismatch; F = AP failed 802.1x authentication + G = No such group; I = Inactive; J = USB cert at AP; L = Unlicensed + M = Mesh node + N = Duplicate name; P = PPPoe AP; R = Remote AP; R- = Remote AP requires Auth + S = Standby-mode AP; T = Thermal ShutDown; U = Unprovisioned; X = Maintenance Mode + Y = Mesh Recovery + b = bypass of AP1x timeout; c = CERT-based RAP; e = Custom EST cert; f = No Spectrum FFT support + i = Indoor; o = Outdoor; l = LAG 802.3ad; m = Protocol Mismatch + p = In deep-sleep status; r = Power Restricted; s = LACP striping; t = Temperature Restricted + u = Custom-Cert RAP; z = Datazone AP diff --git a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml new file mode 100644 index 0000000000..ecb3da0edd --- /dev/null +++ b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - ap_name: "ap-building-1" + group: "building" + ap_model: "635" + ip_address: "192.168.1.1" + status: "Up 2d:17h:8m:4s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + - ap_name: "ap-building-2" + group: "building" + ap_model: "515" + ip_address: "192.168.1.2" + status: "Up 2d:17h:8m:23s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + - ap_name: "ap-building-3" + group: "building" + ap_model: "635" + ip_address: "192.168.1.3" + status: "Up 2d:16h:57m:55s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" From 68658d3529acda02b872229b0ecf438cfd42e025 Mon Sep 17 00:00:00 2001 From: shanecbauman <41882311+shanecbauman@users.noreply.github.com> Date: Wed, 15 Dec 2021 17:55:11 -0700 Subject: [PATCH 240/412] Modified cisco_ios_show_boot (#1038) Updates cisco_ios_show_boot --- .../templates/cisco_ios_show_boot.textfsm | 19 ++++++++++++++++--- .../cisco_ios_show_boot_gibraltar.raw | 12 ++++++++++++ .../cisco_ios_show_boot_gibraltar.yml | 18 ++++++++++++++++++ 3 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.raw create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml diff --git a/ntc_templates/templates/cisco_ios_show_boot.textfsm b/ntc_templates/templates/cisco_ios_show_boot.textfsm index 7ae19c9541..1ba3715190 100644 --- a/ntc_templates/templates/cisco_ios_show_boot.textfsm +++ b/ntc_templates/templates/cisco_ios_show_boot.textfsm @@ -1,3 +1,4 @@ +Value SWITCH_NUMBER (\d+) Value BOOT_PATH (\S+) Value CONFIG_FILE (\S+) Value PRIV_CONFIG_FILE (\S+) @@ -11,19 +12,24 @@ Value BUFFER_SIZE (\d+) Value TIMEOUT_CONFIG_DOWNLOAD (\d+) Value CONFIG_DOWNLOAD_DHCP (enabled|disabled) Value CONFIG_DOWNLOAD_DHCP_NEXT_BOOT (enabled|disabled) +Value BOOT_MODE (\S+) +Value CURRENT_BOOT_VARIABLES (BOOT\s*variable\s*does\s*not\s*exist|BOOT\s*variable\s*=\s*\S+) Start - ^BOOT\s+path-list\s+:\s+${BOOT_PATH} + ^Current\s*Boot\s*Variables: -> CurrentBootVariables + ^Switch\s+${SWITCH_NUMBER} + ^BOOT\s+(path-list|variable)\s+(:|=)\s+${BOOT_PATH} ^Config\s+file\s+:\s+${CONFIG_FILE} ^Private\s+Config\s+file\s+:\s+${PRIV_CONFIG_FILE} - ^Enable\s+Break\s+:\s+${ENABLE_BREAK} - ^Manual\s+Boot\s+:\s+${MANUAL_BOOT} + ^Enable\s+Break\s+(:|=)\s+${ENABLE_BREAK} + ^Manual\s+Boot\s+(:|=)\s+${MANUAL_BOOT} ^Allow\s+Dev\s+Key\s+:\s+${ALLOW_DEV_KEY} ^HELPER\s+path-list\s+:.* ^Auto\s+upgrade\s+:\s+${AUTO_UPGRADE} ^Auto\s+upgrade\s+path\s+:.* ^NVRAM/Config\s+file ^\s+buffer\s+size:\s+${BUFFER_SIZE} + ^iPXE\s*Timeout\s*=\s*${TIMEOUT_CONFIG_DOWNLOAD} ^Timeout\s+for\s+Config ^\s+Download:\s+${TIMEOUT_CONFIG_DOWNLOAD} ^Config\s+Download @@ -31,5 +37,12 @@ Start # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is + ^Boot\s*Mode\s*=\s*${BOOT_MODE} ^\s*$$ + ^-+ ^. -> Error + +CurrentBootVariables + ^${CURRENT_BOOT_VARIABLES} + ^Boot\s*Variables\s*on\s*next\s*reload: -> Start + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.raw b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.raw new file mode 100644 index 0000000000..6a10aa7706 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.raw @@ -0,0 +1,12 @@ +--------------------------- +Switch 1 +--------------------------- +Current Boot Variables: +BOOT variable does not exist + +Boot Variables on next reload: +BOOT variable = flash:packages.conf +Manual Boot = no +Enable Break = yes +Boot Mode = DEVICE +iPXE Timeout = 0 diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml new file mode 100644 index 0000000000..6608ff64f0 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - switch_number: "1" + boot_path: "flash:packages.conf" + config_file: "" + priv_config_file: "" + enable_break: "yes" + manual_boot: "no" + allow_dev_key: "" + helper_path_list: "" + auto_upgrade: "" + auto_upgrade_path: "" + buffer_size: "" + timeout_config_download: "0" + config_download_dhcp: "" + config_download_dhcp_next_boot: "" + boot_mode: "DEVICE" + current_boot_variables: "BOOT variable does not exist" From 5851c45979b983ff966f2bc0012919f5d9406421 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 22 Dec 2021 01:56:47 +1300 Subject: [PATCH 241/412] Fixes_992-cisco_nxos_show_ip_bgp.textfsm (#1033) Fixes nxos show ip bgp. --- .gitignore | 5 +- .../templates/cisco_nxos_show_ip_bgp.textfsm | 54 ++- .../show_ip_bgp/cisco_nxos_show_ip_bgp1.raw | 48 +++ .../show_ip_bgp/cisco_nxos_show_ip_bgp1.yml | 402 ++++++++++++++++++ 4 files changed, 485 insertions(+), 24 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.raw create mode 100644 tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.yml diff --git a/.gitignore b/.gitignore index 497b3b114a..90a00c6c84 100644 --- a/.gitignore +++ b/.gitignore @@ -186,4 +186,7 @@ create_ntc-templates_parsed.py # Ignore pipenv files **Pipfile -**Pipfile.lock \ No newline at end of file +**Pipfile.lock + +# Ignore vscode config +.vscode/ diff --git a/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm index 10d3ca1cdb..54dff61970 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm @@ -1,33 +1,41 @@ -Value STATUS ([acdehiIlrsSx*>]) -Value PATH_SELECTION ([acdehiIlrsSx*> ]) -Value ROUTE_SOURCE ([acdehiIlrsSx*> ]) -#Value STATUS (.) -#Value PATH_SELECTION (.) -#Value ROUTE_SOURCE (.) -Value Filldown NETWORK (\S{0,18}) -#Value Required NEXT_HOP (\S{0,20}) -Value NEXT_HOP (\S{0,19}) -Value METRIC (\S{0,6}) -Value LOCAL_PREF (\S{0,11}) -Value WEIGHT (\S{0,10}) -Value AS_PATH (.*?) -Value ORIGIN ([ie\?]) +# Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best +Value STATUS ([sxSdh*]) +# ? \| multipath +Value PATH_SELECTION ([> |]) +# Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected +Value ROUTE_SOURCE ([ieclarI]) +Value Filldown NETWORK ([A-Fa-f0-9:\.]+\/\d+) +Value NEXT_HOP ([A-Fa-f0-9:\.]+) +Value METRIC (\d+) +Value LOCAL_PREF (\d+) +Value WEIGHT (\d+) +Value AS_PATH (\d+(\s\d+)*) +# Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup +Value ORIGIN ([ie\?\|&]) Start - # Since using mostly position, play it safe and ensure we see header first - ^\s+Network\s+Next Hop\s+Metric\s+LocPrf\s+Weight\s+Path -> Bgp_table + ^BGP\s+(routing|table)\s + ^Status: + ^Path type: + ^Origin codes: + ^\s*Network\s+Next Hop\s+Metric\s+LocPrf\s+Weight\s+Path -> Bgp_table + ^. -> Error Bgp_table - # # # Match first when there is no network, since previous line had it already (compliment and filldown below) - # Example: * e 10.10.1.1 0 64101 64201 i - ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,1}\s{18}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,11}${LOCAL_PREF}).{11}\s(?=\s{0,10}${WEIGHT}).{10}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record - # - # - # Full normal example. metric, and as_path might not exist, regex defaults to blank line. + # Older table format, with blank values parsing not reliable. (cisco_nxos_show_ip_bgp.raw) + # Network Next Hop Metric LocPrf Weight Path # Example: *>e10.10.101.4/30 10.10.2.1 0 64102 i - ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,1}(?=${NETWORK}).{18}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,11}${LOCAL_PREF}).{11}\s(?=\s{0,10}${WEIGHT}).{10}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + # Example: *>e 10.10.1.1 0 64101 64002 i + ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}${NETWORK}(\s{0,12}${NEXT_HOP}\s{4}|\s{20})(\s{2,14}${METRIC}|\s{8})(\s{1,18}${LOCAL_PREF}|\s{8})(\s{1,22}${WEIGHT})(\s${AS_PATH})?\s${ORIGIN}$$ -> Record + ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s\s\s{16}(\s{0,12}${NEXT_HOP}\s{4}|\s{20})(\s{2,14}${METRIC}|\s{8})(\s{1,18}${LOCAL_PREF}|\s{8})(\s{1,22}${WEIGHT})(\s${AS_PATH})?\s${ORIGIN}$$ -> Record + # + # Match newer format (cisco_nxos_show_ip_bgp1.raw) + # Example: * e0.0.0.0/0 1.2.3.4 4294967295 0 12345.102 + ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}${NETWORK}\s${NEXT_HOP}\s${METRIC}\s${LOCAL_PREF}\s${WEIGHT}(\s${AS_PATH})?\s${ORIGIN}$$ -> Record + ^${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s${NEXT_HOP}\s${METRIC}\s${LOCAL_PREF}\s${WEIGHT}(\s${AS_PATH})?\s${ORIGIN}$$ -> Record + ^. -> Error EOF diff --git a/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.raw b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.raw new file mode 100644 index 0000000000..717ca135da --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.raw @@ -0,0 +1,48 @@ +BGP routing table information for VRF default, address family IPv4 Unicast +BGP table version is 61496349, local router ID is 10.68.255.210 +Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best +Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected +Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup + +Network Next Hop Metric LocPrf Weight Path + +* e0.0.0.0/0 1.2.3.4 4294967295 0 12345 102 i +* i 2.3.4.5 4294967295 100 0 i +*>i 1.1.1.1 4294967295 100 0 i +*>i3.126.20.182/32 2.2.2.2 0 100 0 ? +*|e10.1.0.0/19 3.3.3.3 4294967295 0 12345 i +* i 4.4.4.4 4294967295 100 0 12345 i +*>e 5.5.5.5 4294967295 0 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 i +*|e10.1.32.0/21 3.3.3.3 4294967295 0 12345 i +* i 4.4.4.4 4294967295 100 0 12345 i +*>e 5.5.5.5 4294967295 0 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 i +*|e10.1.40.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.41.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.42.0/25 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.44.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.45.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.46.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i +*|e10.1.47.0/24 3.3.3.3 4294967295 0 12345 12345 12345 12345 i +*>e 5.5.5.5 4294967295 0 12345 12345 12345 12345 i +* i 4.4.4.4 4294967295 100 0 12345 12345 12345 12345 i +* e 1.2.3.4 4294967295 0 12345 102 12345 12345 12345 12345 i diff --git a/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.yml b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.yml new file mode 100644 index 0000000000..d053b1e064 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp1.yml @@ -0,0 +1,402 @@ +--- +parsed_sample: + - status: "*" + path_selection: " " + route_source: "e" + network: "0.0.0.0/0" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "0.0.0.0/0" + next_hop: "2.3.4.5" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "i" + network: "0.0.0.0/0" + next_hop: "1.1.1.1" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "i" + network: "3.126.20.182/32" + next_hop: "2.2.2.2" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "" + origin: "?" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.0.0/19" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.0.0/19" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.0.0/19" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.0.0/19" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.32.0/21" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.32.0/21" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.32.0/21" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.32.0/21" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.40.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.40.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.40.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.40.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.41.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.41.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.41.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.41.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.42.0/25" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.42.0/25" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.42.0/25" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.42.0/25" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.44.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.44.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.44.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.44.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.45.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.45.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.45.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.45.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.46.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.46.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.46.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.46.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: "|" + route_source: "e" + network: "10.1.47.0/24" + next_hop: "3.3.3.3" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: ">" + route_source: "e" + network: "10.1.47.0/24" + next_hop: "5.5.5.5" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "i" + network: "10.1.47.0/24" + next_hop: "4.4.4.4" + metric: "4294967295" + local_pref: "100" + weight: "0" + as_path: "12345 12345 12345 12345" + origin: "i" + - status: "*" + path_selection: " " + route_source: "e" + network: "10.1.47.0/24" + next_hop: "1.2.3.4" + metric: "4294967295" + local_pref: "0" + weight: "12345" + as_path: "102 12345 12345 12345 12345" + origin: "i" From 5ef904ea5449d9366a4fede2efc7d6509246e4c5 Mon Sep 17 00:00:00 2001 From: Pieter Date: Sun, 23 Jan 2022 04:47:23 +1300 Subject: [PATCH 242/412] fixs-1027-cisco_nxos-show_ip_interface (#1046) Updates to cisco_nxos-show_ip_interface and cisco_ios_show_boot --- .../cisco_nxos_show_ip_interface.textfsm | 60 ++++++++-------- .../show_boot/cisco_ios_show_boot.yml | 19 ++--- .../cisco_nxos_show_ip_interface1.raw | 31 ++++++++ .../cisco_nxos_show_ip_interface1.yml | 70 +++++++++++++++++++ 4 files changed, 142 insertions(+), 38 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm index 3c681015a5..bbd5b55045 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm @@ -70,37 +70,37 @@ Value WCCP_REDIRECT_EXCLUDE (\S+) Start ^IP\s+Interface\s+Status\s+for\s+VRF\s+\"${VRF_NAME}\"\s*$$ ^${INTERFACE},.*protocol-${PROTOCOL_STATUS}\/link-${LINK_STATUS}\/admin-${ADMIN_STATUS},.*$$ - ^\s+IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}\s*$$ + ^\s*IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}(\s+route-preference.+)?$$ # Secondary IP addresses are stored as a list - ^\s+IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*$$ - ^\s+IP\s+broadcast\s+address:\s+${PRIMARY_BROADCAST_ADDRESS}\s*$$ - ^\s+IP\s+multicast\s+groups\s+locally\s+joined:.*$$ + ^\s*IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*$$ + ^\s*IP\s+broadcast\s+address:\s+${PRIMARY_BROADCAST_ADDRESS}\s*$$ + ^\s*IP\s+multicast\s+groups\s+locally\s+joined:.*$$ # Multiple multicast groups are on the same line so we can't make a list out of those - ^\s+${MULTICAST_GROUPS}\s*$$ - ^\s+IP\s+MTU:\s+${MTU}.*$$ - ^\s+IP\s+primary\s+address\s+route-preference:\s+${ROUTE_PREFERENCE}, tag:\s+${ROUTE_PREFERENCE_TAG}\s*$$ - ^\s+IP\s+proxy\s+ARP\s*:\s+${PROXY_ARP}\s*$$ - ^\s+IP\s+Local\s+Proxy\s+ARP\s*:\s+${LOCAL_PROXY_ARP}\s*$$ - ^\s+IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING}\s*$$ - ^\s+IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS}\s*$$ - ^\s+IP\s+directed-broadcast:\s+${DIRECTED_BROADCAST}(,.*|\s*)$$ - ^\s+IP\s+Forwarding:\s+${IP_FORWARDING}(,.*|\s*)$$ - ^\s+IP\s+icmp\s+unreachables \(except port\):\s+${ICMP_UNREACHABLES}\s*$$ - ^\s+IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLE}\s*$$ - ^\s+IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${URPF}\s*$$ - ^\s+IP\s+load\s+sharing:\s+${LOAD_SHARING}\s*$$ - ^\s+IP\s+interface\s+statistics\s+last\s+reset:\s+${LAST_RESET}\s*$$ - ^\s+IP\s+interface\s+software\s+stats:.*$$ - ^\s+Unicast\s+packets\s+:\s+${UNICAST_PACKETS_SENT}\/${UNICAST_PACKETS_RECEIVED}\/${UNICAST_PACKETS_FORWARDED}\/${UNICAST_PACKETS_ORIGINATED}\/${UNICAST_PACKETS_CONSUMED}\s*$$ - ^\s+Unicast\s+bytes\s+:\s+${UNICAST_BYTES_SENT}\/${UNICAST_BYTES_RECEIVED}\/${UNICAST_BYTES_FORWARDED}\/${UNICAST_BYTES_ORIGINATED}\/${UNICAST_BYTES_CONSUMED}\s*$$ - ^\s+Multicast\s+packets\s+:\s+${MULTICAST_PACKETS_SENT}\/${MULTICAST_PACKETS_RECEIVED}\/${MULTICAST_PACKETS_FORWARDED}\/${MULTICAST_PACKETS_ORIGINATED}\/${MULTICAST_PACKETS_CONSUMED}\s*$$ - ^\s+Multicast\s+bytes\s+:\s+${MULTICAST_BYTES_SENT}\/${MULTICAST_BYTES_RECEIVED}\/${MULTICAST_BYTES_FORWARDED}\/${MULTICAST_BYTES_ORIGINATED}\/${MULTICAST_BYTES_CONSUMED}\s*$$ - ^\s+Broadcast\s+packets\s+:\s+${BROADCAST_PACKETS_SENT}\/${BROADCAST_PACKETS_RECEIVED}\/${BROADCAST_PACKETS_FORWARDED}\/${BROADCAST_PACKETS_ORIGINATED}\/${BROADCAST_PACKETS_CONSUMED}\s*$$ - ^\s+Broadcast\s+bytes\s+:\s+${BROADCAST_BYTES_SENT}\/${BROADCAST_BYTES_RECEIVED}\/${BROADCAST_BYTES_FORWARDED}\/${BROADCAST_BYTES_ORIGINATED}\/${BROADCAST_BYTES_CONSUMED}\s*$$ - ^\s+Labeled\s+packets\s+:\s+${LABELED_PACKETS_SENT}\/${LABELED_PACKETS_RECEIVED}\/${LABELED_PACKETS_FORWARDED}\/${LABELED_PACKETS_ORIGINATED}\/${LABELED_PACKETS_CONSUMED}\s*$$ - ^\s+Labeled\s+bytes\s+:\s+${LABELED_BYTES_SENT}\/${LABELED_BYTES_RECEIVED}\/${LABELED_BYTES_FORWARDED}\/${LABELED_BYTES_ORIGINATED}\/${LABELED_BYTES_CONSUMED}\s*$$ - ^\s+WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND}\s*$$ - ^\s+WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND}\s*$$ - ^\s+WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ -> Record + ^\s*${MULTICAST_GROUPS}\s*$$ + ^\s*IP\s+MTU:\s+${MTU}.*$$ + ^\s*IP\s+primary\s+address\s+route-preference:\s+${ROUTE_PREFERENCE}, tag:\s+${ROUTE_PREFERENCE_TAG}\s*$$ + ^\s*IP\s+proxy\s+ARP\s*:\s+${PROXY_ARP}\s*$$ + ^\s*IP\s+Local\s+Proxy\s+ARP\s*:\s+${LOCAL_PROXY_ARP}\s*$$ + ^\s*IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING}\s*$$ + ^\s*IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS}\s*$$ + ^\s*IP\s+directed-broadcast:\s+${DIRECTED_BROADCAST}(,.*|\s*)$$ + ^\s*IP\s+Forwarding:\s+${IP_FORWARDING}(,.*|\s*)$$ + ^\s*IP\s+icmp\s+unreachables \(except port\):\s+${ICMP_UNREACHABLES}\s*$$ + ^\s*IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLE}\s*$$ + ^\s*IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${URPF}\s*$$ + ^\s*IP\s+load\s+sharing:\s+${LOAD_SHARING}\s*$$ + ^\s*IP\s+interface\s+statistics\s+last\s+reset:\s+${LAST_RESET}\s*$$ + ^\s*IP\s+interface\s+software\s+stats:.*$$ + ^\s*Unicast\s+packets\s+:\s+${UNICAST_PACKETS_SENT}\/${UNICAST_PACKETS_RECEIVED}\/${UNICAST_PACKETS_FORWARDED}\/${UNICAST_PACKETS_ORIGINATED}\/${UNICAST_PACKETS_CONSUMED}\s*$$ + ^\s*Unicast\s+bytes\s+:\s+${UNICAST_BYTES_SENT}\/${UNICAST_BYTES_RECEIVED}\/${UNICAST_BYTES_FORWARDED}\/${UNICAST_BYTES_ORIGINATED}\/${UNICAST_BYTES_CONSUMED}\s*$$ + ^\s*Multicast\s+packets\s+:\s+${MULTICAST_PACKETS_SENT}\/${MULTICAST_PACKETS_RECEIVED}\/${MULTICAST_PACKETS_FORWARDED}\/${MULTICAST_PACKETS_ORIGINATED}\/${MULTICAST_PACKETS_CONSUMED}\s*$$ + ^\s*Multicast\s+bytes\s+:\s+${MULTICAST_BYTES_SENT}\/${MULTICAST_BYTES_RECEIVED}\/${MULTICAST_BYTES_FORWARDED}\/${MULTICAST_BYTES_ORIGINATED}\/${MULTICAST_BYTES_CONSUMED}\s*$$ + ^\s*Broadcast\s+packets\s+:\s+${BROADCAST_PACKETS_SENT}\/${BROADCAST_PACKETS_RECEIVED}\/${BROADCAST_PACKETS_FORWARDED}\/${BROADCAST_PACKETS_ORIGINATED}\/${BROADCAST_PACKETS_CONSUMED}\s*$$ + ^\s*Broadcast\s+bytes\s+:\s+${BROADCAST_BYTES_SENT}\/${BROADCAST_BYTES_RECEIVED}\/${BROADCAST_BYTES_FORWARDED}\/${BROADCAST_BYTES_ORIGINATED}\/${BROADCAST_BYTES_CONSUMED}\s*$$ + ^\s*Labeled\s+packets\s+:\s+${LABELED_PACKETS_SENT}\/${LABELED_PACKETS_RECEIVED}\/${LABELED_PACKETS_FORWARDED}\/${LABELED_PACKETS_ORIGINATED}\/${LABELED_PACKETS_CONSUMED}\s*$$ + ^\s*Labeled\s+bytes\s+:\s+${LABELED_BYTES_SENT}\/${LABELED_BYTES_RECEIVED}\/${LABELED_BYTES_FORWARDED}\/${LABELED_BYTES_ORIGINATED}\/${LABELED_BYTES_CONSUMED}\s*$$ + ^\s*WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND}\s*$$ + ^\s*WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND}\s*$$ + ^\s*WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml index 0cc756f190..26ec4a64b7 100644 --- a/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml @@ -1,15 +1,18 @@ --- parsed_sample: - - allow_dev_key: "yes" - auto_upgrade: "yes" - auto_upgrade_path: "" + - switch_number: "" boot_path: "flash:c3750e-ipbasek9-mz.150-2.SE11.bin" - buffer_size: "524288" - config_download_dhcp: "disabled" - config_download_dhcp_next_boot: "" config_file: "flash:/config.text" + priv_config_file: "flash:/private-config.text" enable_break: "yes" - helper_path_list: "" manual_boot: "no" - priv_config_file: "flash:/private-config.text" + allow_dev_key: "yes" + helper_path_list: "" + auto_upgrade: "yes" + auto_upgrade_path: "" + buffer_size: "524288" timeout_config_download: "0" + config_download_dhcp: "disabled" + config_download_dhcp_next_boot: "" + boot_mode: "" + current_boot_variables: "" diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.raw new file mode 100644 index 0000000000..a8fb165b0c --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.raw @@ -0,0 +1,31 @@ +IP Interface Status for VRF "default" +Vlan123, Interface status: protocol-up/link-up/admin-up, iod: 126, +IP address: 10.200.1.1, IP subnet: 10.200.1.0/24 route-preference: 0, tag: 0 +IP broadcast address: 255.255.255.255 +IP multicast groups locally joined: +224.0.0.2 +IP MTU: 1500 bytes (using link MTU) +IP primary address route-preference: 0, tag: 0 +IP proxy ARP : disabled +IP Local Proxy ARP : disabled +IP multicast routing: disabled +IP icmp redirects: disabled +IP directed-broadcast: disabled +IP Forwarding: disabled +IP icmp unreachables (except port): disabled +IP icmp port-unreachable: enabled +IP unicast reverse path forwarding: none +IP load sharing: none +IP interface statistics last reset: never +IP interface software stats: (sent/received/forwarded/originated/consumed) +Unicast packets : 3709/14997382/0/3739/29995645 +Unicast bytes : 430030/1260055911/0/432550/2520162214 +Multicast packets : 0/63088860/0/0/126177720 +Multicast bytes : 0/3028265280/0/0/3028265280 +Broadcast packets : 0/0/0/0/0 +Broadcast bytes : 0/0/0/0/0 +Labeled packets : 0/0/0/0/0 +Labeled bytes : 0/0/0/0/0 +WCCP Redirect outbound: disabled +WCCP Redirect inbound: disabled +WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml new file mode 100644 index 0000000000..cefb66fc65 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - vrf_name: "default" + interface: "Vlan123" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "10.200.1.1" + primary_ip_subnet: "10.200.1.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.2" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "3709" + unicast_packets_received: "14997382" + unicast_packets_forwarded: "0" + unicast_packets_originated: "3739" + unicast_packets_consumed: "29995645" + unicast_bytes_sent: "430030" + unicast_bytes_received: "1260055911" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "432550" + unicast_bytes_consumed: "2520162214" + multicast_packets_sent: "0" + multicast_packets_received: "63088860" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "126177720" + multicast_bytes_sent: "0" + multicast_bytes_received: "3028265280" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "3028265280" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From f0dfaff5d54aa95ffb9f5b740361adbdbb83bc69 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:35:11 +1000 Subject: [PATCH 243/412] Improve cisco_nxos show_ip_route (#1093) --- .../cisco_nxos_show_ip_route.textfsm | 6 +- .../cisco_nxos_show_ip_route_vrf2.yml | 8 +- .../cisco_nxos_show_ip_route_vrf3.raw | 21 +++ .../cisco_nxos_show_ip_route_vrf3.yml | 77 +++++++++++ .../cisco_nxos_show_ip_route_vrf4.raw | 27 ++++ .../cisco_nxos_show_ip_route_vrf4.yml | 122 ++++++++++++++++++ 6 files changed, 254 insertions(+), 7 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.raw create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.raw create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm index 2e5e39b31f..4d768c25c1 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm @@ -23,13 +23,13 @@ Start ^\s*Route not found -> Record # # Match VXLAN Route Entry - ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}, tag ${TAG}\s+segid: ${SEGID}\s+tunnelid: ${TUNNELID}\s+encap: ${ENCAP} -> Record + ^\s+(\*+)?via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}, tag ${TAG}(\s+segid: ${SEGID}\s+tunnelid: ${TUNNELID}\s+encap: ${ENCAP})? -> Record # # Match routes with no type, but with a tag (e.g. statics out SVIs with a tag) ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL}, tag ${TAG} -> Record # # Match standard dynamic route line (with or without tag) - ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, ${NEXTHOP_IF}, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}(, tag ${TAG})? -> Record + ^\s+(\*+)?via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, ${NEXTHOP_IF}, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}(, tag ${TAG})? -> Record # # Match route without a type (e.g. direct, local) ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record @@ -41,7 +41,7 @@ Start ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record # # Match route without a nexthop IP, only nexthop interface (e.g. null routes) - ^\s+\*+via ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record + ^\s+(\*+)?via ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record ^'\S+'\s+denotes\s ^'%' ^\s*$$ diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml index 998ef80724..c8fe564f09 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml @@ -17,7 +17,7 @@ parsed_sample: encap: "" - vrf: "DMZ" protocol: "bgp-64512" - type: "" + type: "external" network: "0.0.0.0" mask: "0" distance: "20" @@ -26,13 +26,13 @@ parsed_sample: nexthop_if: "" uptime: "41w6d" nexthop_vrf: "" - tag: "" + tag: "64512" segid: "" tunnelid: "" encap: "" - vrf: "Users" protocol: "bgp-64512" - type: "" + type: "external" network: "0.0.0.0" mask: "0" distance: "20" @@ -41,7 +41,7 @@ parsed_sample: nexthop_if: "" uptime: "41w6d" nexthop_vrf: "DMZ" - tag: "" + tag: "64512" segid: "" tunnelid: "" encap: "" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.raw new file mode 100644 index 0000000000..571520063d --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.raw @@ -0,0 +1,21 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +10.138.224.32/28, ubest/mbest: 1/0 time + *via 222.111.19.38, [1/0], 1w0d, static + via 172.16.2.37, Vlan22, [110/21], 3w1d, ospf-UNDERLAY, type-1 +152.98.240.64/27, ubest/mbest: 1/0 time + *via 111.222.236.188, [1/0], 8w4d, static + via 172.16.2.37, Vlan22, [110/21], 3w1d, ospf-UNDERLAY, type-1 + +IP Route Table for VRF "management" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 time + *via 172.16.170.193, [1/0], 1y16w, static diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml new file mode 100644 index 0000000000..50414058c5 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "static" + type: "" + network: "10.138.224.32" + mask: "28" + distance: "1" + metric: "0" + nexthop_ip: "222.111.19.38" + nexthop_if: "" + uptime: "1w0d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-UNDERLAY" + type: "type-1" + network: "10.138.224.32" + mask: "28" + distance: "110" + metric: "21" + nexthop_ip: "172.16.2.37" + nexthop_if: "Vlan22" + uptime: "3w1d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "152.98.240.64" + mask: "27" + distance: "1" + metric: "0" + nexthop_ip: "111.222.236.188" + nexthop_if: "" + uptime: "8w4d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-UNDERLAY" + type: "type-1" + network: "152.98.240.64" + mask: "27" + distance: "110" + metric: "21" + nexthop_ip: "172.16.2.37" + nexthop_if: "Vlan22" + uptime: "3w1d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "management" + protocol: "static" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "1" + metric: "0" + nexthop_ip: "172.16.170.193" + nexthop_if: "" + uptime: "1y16w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.raw new file mode 100644 index 0000000000..64bf6494c9 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.raw @@ -0,0 +1,27 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +10.0.0.0/8, ubest/mbest: 1/0 time + *via Null0, [1/0], 1y17w, static +111.222.0.0/10, ubest/mbest: 1/0 time + *via Null0, [1/0], 1y17w, static +22.33.0.0/16, ubest/mbest: 1/0 time + *via Null0, [1/0], 1y17w, static +44.55.0.11/32, ubest/mbest: 1/0 time + *via 11.22.159.42, [1/0], 1y16w, static + via 22.33.0.11, [200/0], 1y16w, bgp-2244, internal, tag 24436 (hidden) +55.66.0.204/30, ubest/mbest: 1/0 time + *via 33.44.0.201, [1/0], 1y17w, static + +IP Route Table for VRF "BYPASS" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 time + *via 172.16.0.67, [20/0], 15w5d, bgp-64512, external, tag 24436 + via Null0, [254/0], 1y16w, static \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml new file mode 100644 index 0000000000..2b77281f78 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "static" + type: "" + network: "10.0.0.0" + mask: "8" + distance: "1" + metric: "0" + nexthop_ip: "" + nexthop_if: "Null0" + uptime: "1y17w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "111.222.0.0" + mask: "10" + distance: "1" + metric: "0" + nexthop_ip: "" + nexthop_if: "Null0" + uptime: "1y17w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "22.33.0.0" + mask: "16" + distance: "1" + metric: "0" + nexthop_ip: "" + nexthop_if: "Null0" + uptime: "1y17w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "44.55.0.11" + mask: "32" + distance: "1" + metric: "0" + nexthop_ip: "11.22.159.42" + nexthop_if: "" + uptime: "1y16w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "bgp-2244" + type: "internal" + network: "44.55.0.11" + mask: "32" + distance: "200" + metric: "0" + nexthop_ip: "22.33.0.11" + nexthop_if: "" + uptime: "1y16w" + nexthop_vrf: "" + tag: "24436 (hidden)" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "55.66.0.204" + mask: "30" + distance: "1" + metric: "0" + nexthop_ip: "33.44.0.201" + nexthop_if: "" + uptime: "1y17w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "BYPASS" + protocol: "bgp-64512" + type: "external" + network: "0.0.0.0" + mask: "0" + distance: "20" + metric: "0" + nexthop_ip: "172.16.0.67" + nexthop_if: "" + uptime: "15w5d" + nexthop_vrf: "" + tag: "24436" + segid: "" + tunnelid: "" + encap: "" + - vrf: "BYPASS" + protocol: "static" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "254" + metric: "0" + nexthop_ip: "" + nexthop_if: "Null0" + uptime: "1y16w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" From 231b0f72fce955be7f1ed67729431ad3a8c995b9 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:51:58 +1000 Subject: [PATCH 244/412] Improve cisco_nxos show_ip_interface (#1092) --- .../cisco_nxos_show_ip_interface.textfsm | 11 +- .../cisco_nxos_show_ip_interface.yml | 26 +++ .../cisco_nxos_show_ip_interface1.yml | 3 + .../cisco_nxos_show_ip_interface2.raw | 33 ++++ .../cisco_nxos_show_ip_interface2.yml | 73 ++++++++ .../cisco_nxos_show_ip_interface3.raw | 64 +++++++ .../cisco_nxos_show_ip_interface3.yml | 156 ++++++++++++++++++ 7 files changed, 364 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.yml create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm index bbd5b55045..090a333b55 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm @@ -8,6 +8,8 @@ Value PRIMARY_IP_SUBNET (\S+) Value PRIMARY_BROADCAST_ADDRESS (\S+) Value List SECONDARY_IP_ADDRESS (\S+) Value List SECONDARY_IP_SUBNET (\S+) +Value List SECONDARY_ROUTE_PREFERENCE (\d+) +Value List SECONDARY_ROUTE_PREFERENCE_TAG (\d+) Value MULTICAST_GROUPS (224\..*?) Value MTU (\d+) Value ROUTE_PREFERENCE (\d+) @@ -20,9 +22,10 @@ Value DIRECTED_BROADCAST (\S+) Value IP_FORWARDING (\S+) Value ICMP_UNREACHABLES (\S+) Value ICMP_PORT_UNREACHABLE (\S+) -Value URPF (\S+) +Value URPF (.*) Value LOAD_SHARING (\S+) Value LAST_RESET (\S+) +Value ACL_OUT (\S+) Value UNICAST_PACKETS_SENT (\d+) Value UNICAST_PACKETS_RECEIVED (\d+) Value UNICAST_PACKETS_FORWARDED (\d+) @@ -72,7 +75,8 @@ Start ^${INTERFACE},.*protocol-${PROTOCOL_STATUS}\/link-${LINK_STATUS}\/admin-${ADMIN_STATUS},.*$$ ^\s*IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}(\s+route-preference.+)?$$ # Secondary IP addresses are stored as a list - ^\s*IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*$$ + ^\s*IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*(route-preference:\s+${SECONDARY_ROUTE_PREFERENCE},\s+tag:\s+${SECONDARY_ROUTE_PREFERENCE_TAG}\s*)?$$ +# (,\s+route-preference:\s+${SECONDARY_ROUTE_PREFERENCE},\s+tag:\d+)? ^\s*IP\s+broadcast\s+address:\s+${PRIMARY_BROADCAST_ADDRESS}\s*$$ ^\s*IP\s+multicast\s+groups\s+locally\s+joined:.*$$ # Multiple multicast groups are on the same line so we can't make a list out of those @@ -91,6 +95,9 @@ Start ^\s*IP\s+load\s+sharing:\s+${LOAD_SHARING}\s*$$ ^\s*IP\s+interface\s+statistics\s+last\s+reset:\s+${LAST_RESET}\s*$$ ^\s*IP\s+interface\s+software\s+stats:.*$$ + ^\s*Unnumbered\s+interfaces\s+of + ^\s*mti\d+: + ^\s*IP\s+outbound\s+access\s+list:\s+${ACL_OUT} ^\s*Unicast\s+packets\s+:\s+${UNICAST_PACKETS_SENT}\/${UNICAST_PACKETS_RECEIVED}\/${UNICAST_PACKETS_FORWARDED}\/${UNICAST_PACKETS_ORIGINATED}\/${UNICAST_PACKETS_CONSUMED}\s*$$ ^\s*Unicast\s+bytes\s+:\s+${UNICAST_BYTES_SENT}\/${UNICAST_BYTES_RECEIVED}\/${UNICAST_BYTES_FORWARDED}\/${UNICAST_BYTES_ORIGINATED}\/${UNICAST_BYTES_CONSUMED}\s*$$ ^\s*Multicast\s+packets\s+:\s+${MULTICAST_PACKETS_SENT}\/${MULTICAST_PACKETS_RECEIVED}\/${MULTICAST_PACKETS_FORWARDED}\/${MULTICAST_PACKETS_ORIGINATED}\/${MULTICAST_PACKETS_CONSUMED}\s*$$ diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml index 1b2acdd7a6..402e64b328 100644 --- a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml @@ -10,6 +10,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "224.0.0.100" mtu: "1500" route_preference: "0" @@ -25,6 +27,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "5356711" unicast_packets_received: "10702083" unicast_packets_forwarded: "0" @@ -80,6 +83,10 @@ parsed_sample: - "172.16.69.209" secondary_ip_subnet: - "172.16.69.192/26" + secondary_route_preference: + - "None" + secondary_route_preference_tag: + - "None" multicast_groups: "224.0.0.100" mtu: "1500" route_preference: "0" @@ -95,6 +102,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "363766868" unicast_packets_received: "434448766" unicast_packets_forwarded: "1840111" @@ -148,6 +156,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" mtu: "1500" route_preference: "0" @@ -163,6 +173,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "0" unicast_packets_received: "0" unicast_packets_forwarded: "0" @@ -216,6 +227,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "224.0.0.22 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" mtu: "9216" route_preference: "0" @@ -231,6 +244,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "1756" unicast_packets_received: "605867934" unicast_packets_forwarded: "0" @@ -284,6 +298,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" mtu: "9216" route_preference: "0" @@ -299,6 +315,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "401266" unicast_packets_received: "4198994" unicast_packets_forwarded: "3316" @@ -352,6 +369,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "224.0.0.20 224.0.0.10 224.0.0.2 224.0.0.1" mtu: "9216" route_preference: "0" @@ -367,6 +386,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "113285373" unicast_packets_received: "23742404" unicast_packets_forwarded: "556" @@ -420,6 +440,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "" mtu: "1500" route_preference: "0" @@ -435,6 +457,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "578811674" unicast_packets_received: "517277696" unicast_packets_forwarded: "0" @@ -488,6 +511,8 @@ parsed_sample: primary_broadcast_address: "255.255.255.255" secondary_ip_address: [] secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] multicast_groups: "" mtu: "1500" route_preference: "0" @@ -503,6 +528,7 @@ parsed_sample: urpf: "none" load_sharing: "none" last_reset: "never" + acl_out: "" unicast_packets_sent: "169393306" unicast_packets_received: "169195583" unicast_packets_forwarded: "0" diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml index cefb66fc65..0c00c83cbb 100644 --- a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface1.yml @@ -68,3 +68,6 @@ parsed_sample: wccp_redirect_outbound: "disabled" wccp_redirect_inbound: "disabled" wccp_redirect_exclude: "disabled" + acl_out: "" + secondary_route_preference: [] + secondary_route_preference_tag: [] diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.raw new file mode 100644 index 0000000000..dc573d03b9 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.raw @@ -0,0 +1,33 @@ +IP Interface Status for VRF "default" +loopback0, Interface status: protocol-up/link-up/admin-up, iod: 41, +Unnumbered interfaces of loopback0: first iod 55 +mti15: mti4: mti7: mti11: mti10: mti3: mti16: mti14: mti12: mti13: mti5: mti9: mti8: mti6: + IP address: 172.21.128.18, IP subnet: 172.21.128.18/32 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.13 224.0.0.22 224.0.0.2 224.0.0.1 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/0/0/0/145403414 + Unicast bytes : 0/0/0/0/29147964524 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.yml new file mode 100644 index 0000000000..3fd61dc159 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface2.yml @@ -0,0 +1,73 @@ +--- +parsed_sample: + - vrf_name: "default" + interface: "loopback0" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.21.128.18" + primary_ip_subnet: "172.21.128.18/32" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.13 224.0.0.22 224.0.0.2 224.0.0.1" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "0" + unicast_packets_received: "0" + unicast_packets_forwarded: "0" + unicast_packets_originated: "0" + unicast_packets_consumed: "145403414" + unicast_bytes_sent: "0" + unicast_bytes_received: "0" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "0" + unicast_bytes_consumed: "29147964524" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + acl_out: "" + secondary_route_preference: [] + secondary_route_preference_tag: [] diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.raw new file mode 100644 index 0000000000..12f7c8413b --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.raw @@ -0,0 +1,64 @@ +Vlan249, Interface status: protocol-up/link-up/admin-up, iod: 94, + IP address: 172.16.170.194, IP subnet: 172.16.170.192/26 route-preference: 0, tag: 0 + IP address: 172.16.168.66, IP subnet: 172.16.168.64/27 secondary route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.2 224.0.0.13 224.0.0.1 224.0.0.102 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP outbound access list: MAN_out + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 2244/1789802/530/1714/5919406 + Unicast bytes : 265221/150279513/178557/127056/495850266 + Multicast packets : 1470831/16436403/0/1470831/32872800 + Multicast bytes : 73541550/1570424758/0/100016508/1570424550 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Vlan783, Interface status: protocol-up/link-up/admin-up, iod: 62, + IP address: 152.98.241.32, IP subnet: 152.98.241.0/24 route-preference: 0, tag: 0 + IP address: 152.98.246.32, IP subnet: 152.98.246.0/24 secondary route-preference: 0, tag: 0 + IP address: 192.168.29.32, IP subnet: 192.168.29.0/24 secondary route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.2 224.0.0.13 224.0.0.1 224.0.0.102 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: loose allow default + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 6981/6679953/3319/3663/27712276 + Unicast bytes : 1262676/506182750/756646/266576/2028632576 + Multicast packets : 1471045/57482658/0/1471045/74522267 + Multicast bytes : 73553346/8727589702/0/100032156/8455329787 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.yml new file mode 100644 index 0000000000..4fc28d80bd --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface3.yml @@ -0,0 +1,156 @@ +--- +parsed_sample: + - vrf_name: "" + interface: "Vlan249" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.16.170.194" + primary_ip_subnet: "172.16.170.192/26" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: + - "172.16.168.66" + secondary_ip_subnet: + - "172.16.168.64/27" + secondary_route_preference: + - "0" + secondary_route_preference_tag: + - "0" + multicast_groups: "224.0.0.2 224.0.0.13 224.0.0.1 224.0.0.102" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + acl_out: "MAN_out" + unicast_packets_sent: "2244" + unicast_packets_received: "1789802" + unicast_packets_forwarded: "530" + unicast_packets_originated: "1714" + unicast_packets_consumed: "5919406" + unicast_bytes_sent: "265221" + unicast_bytes_received: "150279513" + unicast_bytes_forwarded: "178557" + unicast_bytes_originated: "127056" + unicast_bytes_consumed: "495850266" + multicast_packets_sent: "1470831" + multicast_packets_received: "16436403" + multicast_packets_forwarded: "0" + multicast_packets_originated: "1470831" + multicast_packets_consumed: "32872800" + multicast_bytes_sent: "73541550" + multicast_bytes_received: "1570424758" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "100016508" + multicast_bytes_consumed: "1570424550" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "" + interface: "Vlan783" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "152.98.241.32" + primary_ip_subnet: "152.98.241.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: + - "152.98.246.32" + - "192.168.29.32" + secondary_ip_subnet: + - "152.98.246.0/24" + - "192.168.29.0/24" + secondary_route_preference: + - "0" + - "0" + secondary_route_preference_tag: + - "0" + - "0" + multicast_groups: "224.0.0.2 224.0.0.13 224.0.0.1 224.0.0.102" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "loose allow default" + load_sharing: "none" + last_reset: "never" + acl_out: "" + unicast_packets_sent: "6981" + unicast_packets_received: "6679953" + unicast_packets_forwarded: "3319" + unicast_packets_originated: "3663" + unicast_packets_consumed: "27712276" + unicast_bytes_sent: "1262676" + unicast_bytes_received: "506182750" + unicast_bytes_forwarded: "756646" + unicast_bytes_originated: "266576" + unicast_bytes_consumed: "2028632576" + multicast_packets_sent: "1471045" + multicast_packets_received: "57482658" + multicast_packets_forwarded: "0" + multicast_packets_originated: "1471045" + multicast_packets_consumed: "74522267" + multicast_bytes_sent: "73553346" + multicast_bytes_received: "8727589702" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "100032156" + multicast_bytes_consumed: "8455329787" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From d1f202d4cb8f1a53e79a0da71df7399c284526f4 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:52:47 +1000 Subject: [PATCH 245/412] Improve cisco_ios show_standby (#1091) --- .../templates/cisco_ios_show_standby.textfsm | 25 ++++- .../show_standby/cisco_ios_show_standby.yml | 9 ++ .../show_standby/cisco_ios_show_standby1.raw | 18 +++ .../show_standby/cisco_ios_show_standby1.yml | 32 ++++++ .../show_standby/cisco_ios_show_standby2.raw | 28 +++++ .../show_standby/cisco_ios_show_standby2.yml | 54 +++++++++ .../show_standby/cisco_ios_show_standby3.raw | 57 ++++++++++ .../show_standby/cisco_ios_show_standby3.yml | 106 ++++++++++++++++++ 8 files changed, 325 insertions(+), 4 deletions(-) create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby1.raw create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby1.yml create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby2.raw create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby2.yml create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby3.raw create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby3.yml diff --git a/ntc_templates/templates/cisco_ios_show_standby.textfsm b/ntc_templates/templates/cisco_ios_show_standby.textfsm index cb6e45d3ce..08d0e4d4d1 100644 --- a/ntc_templates/templates/cisco_ios_show_standby.textfsm +++ b/ntc_templates/templates/cisco_ios_show_standby.textfsm @@ -1,35 +1,52 @@ +Value INTERFACE (\S+) Value GROUP (\d+) Value VERSION (\d+) Value STATE (\w+) +Value STATE_CHANGES (\d+) +Value STATE_LAST_CHANGE (\S+) Value VIRTUAL_IP (\S+) +Value List SECONDARY_IPS (\S+) Value ACTIVE_VIRTUAL_MAC (\S+) Value LOCAL_VIRTUAL_MAC (\S+) Value HELLO_TIME (\d+) Value HOLD_TIME (\d+) Value AUTHENTICATION (\w+) Value PREEMPTION (\w+) -Value ACTIVE_ROUTER (\d+\.\d+\.\d+\.\d+|local) +Value ACTIVE_ROUTER (\d+\.\d+\.\d+\.\d+|local|unknown) Value ACTIVE_ROUTER_PRIORITY (\d+) Value ACTIVE_ROUTER_MAC (\S+) -Value STANDBY_ROUTER (\d+\.\d+\.\d+\.\d+|local) +Value STANDBY_ROUTER (\d+\.\d+\.\d+\.\d+|local|unknown) Value STANDBY_ROUTER_PRIORITY (\d+) Value PRIORITY (\d+) Value GROUP_NAME (\S+) +Value FLAGS (\S+) +Value TRACK_ITEM (\S+) +Value TRACK_TYPE (object|interface) +Value TRACK_STATE (\S+) +Value TRACK_DECREMENT_TIME (\d+) Start - ^.*Group\s+${GROUP}\s+\(version\s+${VERSION}\) + ^\S+ -> Continue.Record + ^\s*${INTERFACE}\s+-\s+Group\s+${GROUP}\s*(\(version\s+${VERSION}\))?$$ ^.*State\s+is\s+${STATE} ^.*Virtual\s+IP\s+address\s+is\s+${VIRTUAL_IP} + ^.*Secondary\s+virtual\s+IP\s+address\s+${SECONDARY_IPS} ^.*Active\s+virtual\s+MAC\s+address\s+is\s+${ACTIVE_VIRTUAL_MAC} ^.*Local\s+virtual\s+MAC\s+address\s+is\s+${LOCAL_VIRTUAL_MAC} ^.*Hello\s+time\s+${HELLO_TIME}.*hold\s+time\s+${HOLD_TIME} + ^.*Next\s+hello\s+sent\s+in.*secs ^.*Authentication\s+${AUTHENTICATION} ^.*Preemption\s+${PREEMPTION} ^.*Active\s+router\s+is\s+${ACTIVE_ROUTER}(,\s+priority\s+${ACTIVE_ROUTER_PRIORITY})? ^\s+MAC\s+address\s+is\s+${ACTIVE_ROUTER_MAC} ^.*Standby\s+router\s+is\s+${STANDBY_ROUTER}(,\s+priority\s+${STANDBY_ROUTER_PRIORITY})? ^.*Priority\s+${PRIORITY} - ^.*Group\s+name\s+is\s+"${GROUP_NAME}" -> Record + ^\s*Track\s+${TRACK_TYPE}(\s+${TRACK_ITEM})?(\(unknown\))?(\s+state\s+${TRACK_STATE}(\s+decrement\s+${TRACK_DECREMENT_TIME})?)? + ^.*${STATE_CHANGES}\s+state\s+(change|changes),\s+last\s+state\s+change\s+${STATE_LAST_CHANGE} + ^.*Group\s+name\s+is\s+"${GROUP_NAME}" + ^.*FLAGS:\s+${FLAGS} + ^.*IP\s+redundancy\s+name\s+is\s+\"${GROUP_NAME}\"(\s+\(default\))? # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is + ^. -> Error diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml b/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml index 23f2ea7d71..fea56ab65d 100644 --- a/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml @@ -17,3 +17,12 @@ parsed_sample: standby_router_priority: "" priority: "90" group_name: "hsrp-Vl50-50" + secondary_ips: [] + interface: "Vlan50" + state_changes: "1" + state_last_change: "10w3d" + flags: "" + track_item: "" + track_type: "" + track_state: "" + track_decrement_time: "" diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby1.raw b/tests/cisco_ios/show_standby/cisco_ios_show_standby1.raw new file mode 100644 index 0000000000..d376da00d1 --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby1.raw @@ -0,0 +1,18 @@ +Vlan76 - Group 76 + State is Standby + 4 state changes, last state change 27w0d + Virtual IP address is 128.88.163.190 + Secondary virtual IP address 128.88.8.129 + Secondary virtual IP address 128.88.8.190 + Secondary virtual IP address 128.88.163.158 + Secondary virtual IP address 192.168.73.94 + Active virtual MAC address is 0000.0c07.ac4c + Local virtual MAC address is 0000.0c07.ac4c (v1 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 1.840 secs + Authentication text, string "fweq12as" + Preemption enabled, delay min 180 secs, reload 300 secs + Active router is 128.88.163.163, priority 255 (expires in 9.648 sec) + Standby router is local + Priority 250 (configured 250) + Group name is "hsrp-Vl76-76" (default) diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby1.yml b/tests/cisco_ios/show_standby/cisco_ios_show_standby1.yml new file mode 100644 index 0000000000..3201caa99a --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby1.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - interface: "Vlan76" + group: "76" + version: "" + state: "Standby" + state_changes: "4" + state_last_change: "27w0d" + virtual_ip: "128.88.163.190" + secondary_ips: + - "128.88.8.129" + - "128.88.8.190" + - "128.88.163.158" + - "192.168.73.94" + active_virtual_mac: "0000.0c07.ac4c" + local_virtual_mac: "0000.0c07.ac4c" + hello_time: "3" + hold_time: "10" + authentication: "text" + preemption: "enabled" + active_router: "128.88.163.163" + active_router_priority: "255" + active_router_mac: "" + standby_router: "local" + standby_router_priority: "" + priority: "250" + group_name: "hsrp-Vl76-76" + flags: "" + track_item: "" + track_type: "" + track_state: "" + track_decrement_time: "" diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby2.raw b/tests/cisco_ios/show_standby/cisco_ios_show_standby2.raw new file mode 100644 index 0000000000..624a48d58e --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby2.raw @@ -0,0 +1,28 @@ +Vlan53 - Group 53 (version 2) + State is Active + 2 state changes, last state change 5d11h + Virtual IP address is 10.65.19.1 + Active virtual MAC address is 0000.0c9f.f035 (MAC In Use) + Local virtual MAC address is 0000.0c9f.f035 (v2 default) + Hello time 1 sec, hold time 3 sec + Next hello sent in 0.656 secs + Authentication MD5, key-chain "HSRP-KEYS" + Preemption enabled + Active router is local + Standby router is unknown + Priority 110 (configured 110) + Group name is "hsrp-Vl53-53" (default) + FLAGS: 0/1 +Vlan700 - Group 1 + State is Active + 11 state changes, last state change 5d14h + Virtual IP address is 192.168.46.145 + Active virtual MAC address is 0000.0c07.ac01 + Local virtual MAC address is 0000.0c07.ac01 (v1 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 0.344 secs + Preemption disabled + Active router is local + Standby router is unknown + Priority 175 (configured 175) + IP redundancy name is "hsrp-Vl700-1" (default) \ No newline at end of file diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby2.yml b/tests/cisco_ios/show_standby/cisco_ios_show_standby2.yml new file mode 100644 index 0000000000..85c9644151 --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby2.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - interface: "Vlan53" + group: "53" + version: "2" + state: "Active" + state_changes: "2" + state_last_change: "5d11h" + virtual_ip: "10.65.19.1" + secondary_ips: [] + active_virtual_mac: "0000.0c9f.f035" + local_virtual_mac: "0000.0c9f.f035" + hello_time: "1" + hold_time: "3" + authentication: "MD5" + preemption: "enabled" + active_router: "local" + active_router_priority: "" + active_router_mac: "" + standby_router: "unknown" + standby_router_priority: "" + priority: "110" + group_name: "hsrp-Vl53-53" + flags: "0/1" + track_item: "" + track_type: "" + track_state: "" + track_decrement_time: "" + - interface: "Vlan700" + group: "1" + version: "" + state: "Active" + state_changes: "1" + state_last_change: "5d14h" + virtual_ip: "192.168.46.145" + secondary_ips: [] + active_virtual_mac: "0000.0c07.ac01" + local_virtual_mac: "0000.0c07.ac01" + hello_time: "3" + hold_time: "10" + authentication: "" + preemption: "disabled" + active_router: "local" + active_router_priority: "" + active_router_mac: "" + standby_router: "unknown" + standby_router_priority: "" + priority: "175" + group_name: "hsrp-Vl700-1" + flags: "" + track_item: "" + track_type: "" + track_state: "" + track_decrement_time: "" diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby3.raw b/tests/cisco_ios/show_standby/cisco_ios_show_standby3.raw new file mode 100644 index 0000000000..d2d6b3d66e --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby3.raw @@ -0,0 +1,57 @@ +Vlan111 - Group 1 + State is Standby + 1 state change, last state change 26w2d + Virtual IP address is 192.168.77.62 + Active virtual MAC address is 0000.0c07.ac01 + Local virtual MAC address is 0000.0c07.ac01 (v1 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 0.704 secs + Preemption enabled, delay min 180 secs + Active router is 192.168.77.60, priority 255 (expires in 10.416 sec) + Standby router is local + Priority 255 (configured 255) + Track object 1 state Up decrement 60 + Group name is "hsrp-Vl111-1" (default) +BDI10 - Group 1 + State is Active + 14 state changes, last state change 17w6d + Track object 1 state Up + Virtual IP address is 203.57.147.1 + Active virtual MAC address is 0000.0c07.ac01 (MAC In Use) + Local virtual MAC address is 0000.0c07.ac01 (v1 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 1.040 secs + Preemption enabled, delay min 180 secs + Active router is local + Standby router is 203.57.147.3, priority 230 (expires in 10.240 sec) + Priority 240 (configured 240) + Group name is "hsrp-BD10-1" (default) + FLAGS: 1/1 +Vlan703 - Group 4 + State is Active + 11 state changes, last state change 5d14h + Virtual IP address is 172.23.40.9 + Active virtual MAC address is 0000.0c07.ac04 + Local virtual MAC address is 0000.0c07.ac04 (v1 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 0.340 secs + Preemption enabled, delay min 180 secs + Active router is local + Standby router is unknown + Priority 200 (configured 200) + Track interface Dialer0 state Up decrement 10 + IP redundancy name is "hsrp-Vl703-4" (default) +GigabitEthernet0/1.2951 - Group 1 (version 2) + State is Active + 2 state changes, last state change 3y37w + Virtual IP address is 111.222.230.17 + Active virtual MAC address is 0000.0c9f.f001 + Local virtual MAC address is 0000.0c9f.f001 (v2 default) + Hello time 3 sec, hold time 10 sec + Next hello sent in 2.720 secs + Preemption enabled, delay min 180 secs, reload 300 secs + Active router is local + Standby router is unknown + Priority 255 (configured 255) + Track object 1 (unknown) + Group name is "hsrp-Gi0/1.2951-1" (default) \ No newline at end of file diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby3.yml b/tests/cisco_ios/show_standby/cisco_ios_show_standby3.yml new file mode 100644 index 0000000000..93a0428302 --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby3.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - interface: "Vlan111" + group: "1" + version: "" + state: "Standby" + state_changes: "1" + state_last_change: "26w2d" + virtual_ip: "192.168.77.62" + secondary_ips: [] + active_virtual_mac: "0000.0c07.ac01" + local_virtual_mac: "0000.0c07.ac01" + hello_time: "3" + hold_time: "10" + authentication: "" + preemption: "enabled" + active_router: "192.168.77.60" + active_router_priority: "255" + active_router_mac: "" + standby_router: "local" + standby_router_priority: "" + priority: "255" + group_name: "hsrp-Vl111-1" + flags: "" + track_item: "1" + track_type: "object" + track_state: "Up" + track_decrement_time: "60" + - interface: "BDI10" + group: "1" + version: "" + state: "Active" + state_changes: "4" + state_last_change: "17w6d" + virtual_ip: "203.57.147.1" + secondary_ips: [] + active_virtual_mac: "0000.0c07.ac01" + local_virtual_mac: "0000.0c07.ac01" + hello_time: "3" + hold_time: "10" + authentication: "" + preemption: "enabled" + active_router: "local" + active_router_priority: "" + active_router_mac: "" + standby_router: "203.57.147.3" + standby_router_priority: "230" + priority: "240" + group_name: "hsrp-BD10-1" + flags: "1/1" + track_item: "1" + track_type: "object" + track_state: "Up" + track_decrement_time: "" + - interface: "Vlan703" + group: "4" + version: "" + state: "Active" + state_changes: "1" + state_last_change: "5d14h" + virtual_ip: "172.23.40.9" + secondary_ips: [] + active_virtual_mac: "0000.0c07.ac04" + local_virtual_mac: "0000.0c07.ac04" + hello_time: "3" + hold_time: "10" + authentication: "" + preemption: "enabled" + active_router: "local" + active_router_priority: "" + active_router_mac: "" + standby_router: "unknown" + standby_router_priority: "" + priority: "200" + group_name: "hsrp-Vl703-4" + flags: "" + track_item: "Dialer0" + track_type: "interface" + track_state: "Up" + track_decrement_time: "10" + - interface: "GigabitEthernet0/1.2951" + group: "1" + version: "2" + state: "Active" + state_changes: "2" + state_last_change: "3y37w" + virtual_ip: "111.222.230.17" + secondary_ips: [] + active_virtual_mac: "0000.0c9f.f001" + local_virtual_mac: "0000.0c9f.f001" + hello_time: "3" + hold_time: "10" + authentication: "" + preemption: "enabled" + active_router: "local" + active_router_priority: "" + active_router_mac: "" + standby_router: "unknown" + standby_router_priority: "" + priority: "255" + group_name: "hsrp-Gi0/1.2951-1" + flags: "" + track_item: "1" + track_type: "object" + track_state: "" + track_decrement_time: "" From 61df862b0be8323635e82fb12cdee7a201529b01 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:53:08 +1000 Subject: [PATCH 246/412] Improve cisco_ios show_module (#1090) --- .../cisco_ios_show_module_status.textfsm | 2 +- .../show_module/cisco_ios_show_module4.raw | 16 ++++++++++++++++ .../show_module/cisco_ios_show_module4.yml | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module4.raw create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module4.yml diff --git a/ntc_templates/templates/cisco_ios_show_module_status.textfsm b/ntc_templates/templates/cisco_ios_show_module_status.textfsm index ee9f2efe65..ed30c6c0ae 100644 --- a/ntc_templates/templates/cisco_ios_show_module_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module_status.textfsm @@ -1,7 +1,7 @@ Value Key MODULE (\d+) Value MAC_ADDR (\S+\s+to\s+\S+) Value MOD_HW (\S+) -Value MOD_FW (\S+) +Value MOD_FW (\S+(\s+\[\w+\])?) Value MOD_SW (\S+) Value STATUS (\w+) diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module4.raw b/tests/cisco_ios/show_module/cisco_ios_show_module4.raw new file mode 100644 index 0000000000..8d7543cca7 --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module4.raw @@ -0,0 +1,16 @@ +Chassis Type: C9500-24Y4C + +Mod Ports Card Type Model Serial No. +---+-----+--------------------------------------+--------------+-------------- +1 28 Cisco Catalyst 9500 Series Router C9500-24Y4C CAT2239L323 + +Mod MAC addresses Hw Fw Sw Status +---+--------------------------------+----+------------+------------------+-------- +1 F4DB.E65C.F500 to F4DB.E65C.F51B 1.0 16.8.1r [FC4] 16.08.01a ok + +Mod Redundancy Role Operating Redundancy Mode Configured Redundancy Mode +---+-------------------+-------------------------+--------------------------- +1 Active active Non-redundant + +Chassis MAC address range: 160 addresses from f4db.e65c.f500 to f4db.e65c.f59f + diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module4.yml b/tests/cisco_ios/show_module/cisco_ios_show_module4.yml new file mode 100644 index 0000000000..9f144c6106 --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module4.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - module: "1" + port: "28" + cardtype: "Cisco Catalyst 9500 Series Router" + model: "C9500-24Y4C" + serial: "CAT2239L323" + mac_addr: "F4DB.E65C.F500 to F4DB.E65C.F51B" + mod_hw: "1.0" + mod_fw: "16.8.1r [FC4]" + mod_sw: "16.08.01a" + status: "ok" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" From 49b6bda23e1662b1872e989cf334640947eb1286 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:54:27 +1000 Subject: [PATCH 247/412] Improve cisco_ios show_ip_interface (#1089) --- .../cisco_ios_show_ip_interface.textfsm | 3 + .../cisco_ios_show_ip_interface6.raw | 88 +++++++++++++++++++ .../cisco_ios_show_ip_interface6.yml | 28 ++++++ 3 files changed, 119 insertions(+) create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.raw create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm index b3bc1803e4..20021a4b60 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm @@ -57,6 +57,9 @@ Start ^\s+IP\s+(Routed|Bridged)\s+Flow ^\s+(Input|Output|Post)\s+.*features ^\s+(IPv4\s+)?WCCP + ^\s+IP\s+verify\s+source\s+reachable + ^\s+\d+\s+(suppressed\s+)?verification\s+drop(s)? + ^\s*IP\s+Distributed\s+switching\s+is ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.raw new file mode 100644 index 0000000000..4a3c6145dd --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.raw @@ -0,0 +1,88 @@ +Vlan20 is up, line protocol is up + Internet address is 10.81.0.1/24 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 9100 bytes + Helper addresses are 111.222.188.253 + 111.222.189.253 + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "WALKUP" + Associated unicast routing topologies: + Topology "base", operation state is UP + Associated multicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: uRPF, MCI Check + Output features: MFIB Adjacency + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled + IP verify source reachable-via RX + 0 verification drops + 0 suppressed verification drops + 0 verification drop-rate +FastEthernet0 is up, line protocol is up + Internet address is 172.16.3.226/29 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13 + 224.0.0.9 224.0.0.5 + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are never sent + ICMP mask replies are never sent + IP fast switching is enabled + IP fast switching on the same interface is disabled + IP Flow switching is enabled + IP CEF switching is enabled + IP CEF Flow Fast switching turbo vector + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, Flow cache, CEF, Full Flow + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + WCCP Redirect outbound is disabled + WCCP Redirect inbound is disabled + WCCP Redirect exclude is disabled diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml new file mode 100644 index 0000000000..460562b24c --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - intf: "Vlan20" + link_status: "up" + protocol_status: "up" + ipaddr: + - "10.81.0.1" + mask: + - "24" + vrf: "WALKUP" + mtu: "9100" + ip_helper: + - "111.222.188.253" + - "111.222.189.253" + outgoing_acl: "" + inbound_acl: "" + - intf: "FastEthernet0" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.16.3.226" + mask: + - "29" + vrf: "" + mtu: "1500" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" From ecc661b7ea0dd90c70c32f23c3d1cf93438281c7 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:54:57 +1000 Subject: [PATCH 248/412] Improve cisco_ios show_interfaces_switchport (#1088) --- .../cisco_ios_show_interfaces_switchport.textfsm | 3 +++ .../cisco_ios_show_interfaces_switchport3.raw | 15 +++++++++++++++ .../cisco_ios_show_interfaces_switchport3.yml | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.yml diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm index ca91a2ced7..5c437909e7 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -21,6 +21,7 @@ Start ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ + ^\s*Trunking\s+VLANs\s+Active ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: @@ -33,6 +34,8 @@ Start ^\s*App\s+Interface ^\s*Appliance\s+trust ^\s*Operational\s+Dot1q\s+Ethertype + ^\s*Priority\s+for\s+untagged\s+frames + ^\s*Override\s+vlan\s+tag\s+priority ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.raw new file mode 100644 index 0000000000..ddc74a2937 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.raw @@ -0,0 +1,15 @@ +Name: SM1/1 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Trunking VLANs Enabled: ALL +Trunking VLANs Active: none +Protected: false +Priority for untagged frames: 0 +Override vlan tag priority: FALSE +Voice VLAN: none +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.yml new file mode 100644 index 0000000000..f44348af80 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport3.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - interface: "SM1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "dynamic auto" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" From 7e8643e3f3e679e1e186d89149c0c3ec60fc0c93 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:55:22 +1000 Subject: [PATCH 249/412] Improve cisco_ios show_etherchannel_summary (#1087) --- ...isco_ios_show_etherchannel_summary.textfsm | 2 ++ .../show_etherchannel_summary2.raw | 23 +++++++++++++++++++ .../show_etherchannel_summary2.yml | 12 ++++++++++ 3 files changed, 37 insertions(+) create mode 100644 tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.raw create mode 100644 tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.yml diff --git a/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm b/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm index dad429577c..f4821b12aa 100644 --- a/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm +++ b/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm @@ -26,4 +26,6 @@ PortChannel ^\s+ ^-+\++ ^\s*$$ + ^(RU|SU)\s+-\s+L(2|3)\s+port-channel\s+UP\s+(s|S)tate + ^(P|S)/(bndl|susp)\s+-\s+(Bundled|Suspended) ^. -> Error diff --git a/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.raw b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.raw new file mode 100644 index 0000000000..0159293039 --- /dev/null +++ b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.raw @@ -0,0 +1,23 @@ +Flags: D - down P/bndl - bundled in port-channel + I - stand-alone s/susp - suspended + H - Hot-standby (LACP only) + R - Layer3 S - Layer2 + U - in use f - failed to allocate aggregator + + M - not in use, minimum links not met + u - unsuitable for bundling + w - waiting to be aggregated + d - default port + + +Number of channel-groups in use: 1 +Number of aggregators: 1 + +Group Port-channel Protocol Ports +------+-------------+-----------+----------------------------------------------- +10 Po10(RU) LACP Te0/0/2(bndl) Te0/0/3(bndl) + +RU - L3 port-channel UP State +SU - L2 port-channel UP state +P/bndl - Bundled +S/susp - Suspended diff --git a/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.yml b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.yml new file mode 100644 index 0000000000..d78ad9c1c7 --- /dev/null +++ b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary2.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - group: "10" + po_name: "Po10" + po_status: "RU" + protocol: "LACP" + interfaces: + - "Te0/0/2" + - "Te0/0/3" + interfaces_status: + - "bndl" + - "bndl" From deddddc2f475e9d185b5c890d8ce9b8cfb1fb2a6 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:56:04 +1000 Subject: [PATCH 250/412] Improve cisco_ios show_lldp_neighbors_detail (#1086) * Improve cisco_ios show_lldp_neighbours_detail * Ensure yml file has new line at EOF * Include @diepes suggestions. --- ...sco_ios_show_lldp_neighbors_detail.textfsm | 22 ++- .../cisco_ios_show_lldp_neighbors_detail1.yml | 18 +++ .../cisco_ios_show_lldp_neighbors_detail2.yml | 24 +++ .../cisco_ios_show_lldp_neighbors_detail3.yml | 6 + .../cisco_ios_show_lldp_neighbors_detail4.yml | 12 ++ .../cisco_ios_show_lldp_neighbors_detail5.raw | 148 ++++++++++++++++++ .../cisco_ios_show_lldp_neighbors_detail5.yml | 68 ++++++++ 7 files changed, 295 insertions(+), 3 deletions(-) create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.raw create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.yml diff --git a/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm index 0b56a5a907..58789ed9fc 100644 --- a/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm +++ b/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm @@ -1,5 +1,5 @@ Value LOCAL_INTERFACE (\S+) -Value CHASSIS_ID (\S+) +Value CHASSIS_ID ([^:]+) Value NEIGHBOR_PORT_ID (.*) Value NEIGHBOR_INTERFACE (.*) Value NEIGHBOR (.+?) @@ -8,6 +8,12 @@ Value CAPABILITIES (.*) Value MANAGEMENT_IP (\S+) Value VLAN (\d+) Value SERIAL (\S+) +Value POWER_PAIR (\S+) +Value POWER_CLASS (\d+) +Value POWER_DEVICE_TYPE (\S+) +Value POWER_PRIORITY (\S+) +Value POWER_SOURCE (\S+) +Value POWER_REQUESTED (\d+) Start ^.*not advertised @@ -27,7 +33,7 @@ Start ^Management\s+Addresses ^\s+OID ^\s+[\d+\.]{8,} - ^.*IP:\s+${MANAGEMENT_IP} + ^.*IP:\s+${MANAGEMENT_IP}\s*$$ ^Auto\s+Negotiation ^Physical\s+media # Removed \(\s+\) from the template - The line 'Other/unknown' would not be captured @@ -45,6 +51,7 @@ Start ^\s+\(\S+\) ^(?:PoE|\s+Power) ^\s*-+\s*$$ -> Record + ^Power\s+via\s+MDI -> PowerMDI ^MED -> Med ^\s*\^\s* ^\s*Total\s+entries\s+displayed -> Record @@ -63,8 +70,17 @@ IgnoreDescription ^\s*$$ ^.* -> Error +PowerMDI + ^\s+Power\s+Pair:\s+${POWER_PAIR}\s*$$ + ^\s+Power\s+Class:\s+${POWER_CLASS}\s*$$ + ^\s+Power\s+Device\s+Type:\s+${POWER_DEVICE_TYPE}\s*$$ + ^\s+Power\s+Source:\s+${POWER_SOURCE}\s*$$ + ^\s+Power\s+Priority:\s+${POWER_PRIORITY}\s*$$ + ^\s+Power\s+Requested:\s+${POWER_REQUESTED}\s+mW\s*$$ + ^\s*$$ -> Start + Med - ^\s+Serial\s+number:\s+${SERIAL} + ^\s+Serial\s+number:\s+${SERIAL}\s*$$ ^\s+\S+ ^\s*$$ ^\s*Total\s+entries\s+displayed -> Record diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml index 7e3ad5fe35..46e4fd059c 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml @@ -11,6 +11,12 @@ parsed_sample: management_ip: "" vlan: "1" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "Gi1/0/1" chassis_id: "94f1.2879.5555" neighbor_port_id: "94f1.2879.5555" @@ -22,6 +28,12 @@ parsed_sample: management_ip: "192.168.1.81" vlan: "" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "Gi1/0/9" chassis_id: "4448.c1c4.dddd" neighbor_port_id: "4448.c1c4.dddd" @@ -32,3 +44,9 @@ parsed_sample: management_ip: "192.168.1.40" vlan: "" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml index 99f86a1771..a836eb4da6 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml @@ -12,6 +12,12 @@ parsed_sample: management_ip: "11.11.11.11" vlan: "1" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "" chassis_id: "2222.0642.7333" neighbor_port_id: "Eth1/6" @@ -24,6 +30,12 @@ parsed_sample: management_ip: "33.33.33.3" vlan: "1" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "" chassis_id: "0015.2222.c330" neighbor_port_id: "Gi2/0/24" @@ -35,6 +47,12 @@ parsed_sample: management_ip: "55.55.55.55" vlan: "" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "" chassis_id: "0022.1111.2222" neighbor_port_id: "g2" @@ -45,3 +63,9 @@ parsed_sample: management_ip: "" vlan: "" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml index 1c617e515b..d44ac95c65 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml @@ -10,3 +10,9 @@ parsed_sample: management_ip: "10.10.0.1" vlan: "" serial: "FCH1610A5S5" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml index d329e47c50..07fa6e941f 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml @@ -10,6 +10,12 @@ parsed_sample: management_ip: "" vlan: "" serial: "000bea0016e0" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" - local_interface: "Te1/1/1" chassis_id: "2c33.1100.a6c0" neighbor_port_id: "Te1/2/13" @@ -21,3 +27,9 @@ parsed_sample: management_ip: "172.16.0.10" vlan: "1" serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.raw new file mode 100644 index 0000000000..d1daeaf86c --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.raw @@ -0,0 +1,148 @@ +------------------------------------------------ +Chassis id: 707d.a99b.aaaa +Port id: 0 +Port Description: eth0 +System Name: system1 + +System Description: +Cisco AP Software, ap3g3-k9w8 Version: 8.10.162.0 +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2021 by Cisco Systems, Inc. +Compiled Sat Jul 24 01:31:59 GMT 2021 by aut + +Time remaining: 117 seconds +System Capabilities: B +Enabled Capabilities: B +Management Addresses: + IP: 172.31.176.154 +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 1000baseT(HD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 30 +Vlan ID: - not advertised + +------------------------------------------------ +Chassis id: 0004.7a2a.bbbb +Port id: 0004.7a2a.bbbb +Port Description: eth0 +System Name: system2 + +System Description: +Dragonfly + +Time remaining: 94 seconds +System Capabilities: S +Enabled Capabilities: S +Management Addresses: + IP: 10.132.14.52 + IPV6: 7DFF:7DFF:7DFF:7DFF:7DFF:7DFD +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 1000baseT(HD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 16 +Vlan ID: - not advertised +Power via MDI: + Power Pair: Spare + Power Class: 4 + Power Device Type: 2 + Power Source: PSE + Power Priority: High + Power Requested: 25000 mW + +MED Information: + + MED Codes: + (NP) Network Policy, (LI) Location Identification + (PS) Power Source Entity, (PD) Power Device + (IN) Inventory + + Inventory information - not advertised + Capabilities: PD + Device type: Endpoint Class I + Network Policies - not advertised + PD device, Power source: PSE, Power Priority: High, Wattage: 25.0 + Location - not advertised + +------------------------------------------------ +Chassis id: 0004.7a2a.cccc +Port id: 0004.7a2a.cccc +Port Description: eth0 +System Name: system3 + +System Description: +Dragonfly + +Time remaining: 97 seconds +System Capabilities: S +Enabled Capabilities: S +Management Addresses: + IP: 10.132.14.53 + IPV6: 7DFF:7DFF:7DFF:7DFF:7DFF:7DFE +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 1000baseT(HD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 30 +Vlan ID: - not advertised +Power via MDI: + Power Pair: Spare + Power Class: 4 + Power Device Type: 2 + Power Source: PSE + Power Priority: High + Power Requested: 25000 mW + +MED Information: + + MED Codes: + (NP) Network Policy, (LI) Location Identification + (PS) Power Source Entity, (PD) Power Device + (IN) Inventory + + Inventory information - not advertised + Capabilities: PD + Device type: Endpoint Class I + Network Policies - not advertised + PD device, Power source: PSE, Power Priority: High, Wattage: 25.0 + Location - not advertised + +------------------------------------------------ +Chassis id: S7-1200 6DS7 212-1BH40-0XB0 S V-LCCC5820 10 V 4 3 1 +Port id: port-001.ploobdfad +Port Description: Siemens, SIMATIC S7, Ethernet Port, X1 P1 +System Name - not advertised + +System Description: +Siemens, SIMATIC S7, CPU-1200, 6ES7 211-1CC40-0XB0, HW: 10, FW: V.4.3.1, S V-LDCE8620 + +Time remaining: 18 seconds +System Capabilities: B,S +Enabled Capabilities: B,S +Management Addresses: + IP: 10.176.0.245 + OID: + 1.3.6.1.4.1.24686. +Auto Negotiation - supported, enabled +Physical media capabilities: + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 16 +Vlan ID: - not advertised + +Total entries displayed: 4 diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.yml new file mode 100644 index 0000000000..bff69545c9 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail5.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - local_interface: "" + chassis_id: "707d.a99b.aaaa" + neighbor_port_id: "0" + neighbor_interface: "eth0" + neighbor: "system1" + system_description: "Cisco AP Software, ap3g3-k9w8 Version: 8.10.162.0" + capabilities: "B" + management_ip: "172.31.176.154" + vlan: "" + serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" + - local_interface: "" + chassis_id: "0004.7a2a.bbbb" + neighbor_port_id: "0004.7a2a.bbbb" + neighbor_interface: "eth0" + neighbor: "system2" + system_description: "Dragonfly" + capabilities: "S" + management_ip: "10.132.14.52" + vlan: "" + serial: "" + power_pair: "Spare" + power_class: "4" + power_device_type: "2" + power_priority: "High" + power_source: "PSE" + power_requested: "25000" + - local_interface: "" + chassis_id: "0004.7a2a.cccc" + neighbor_port_id: "0004.7a2a.cccc" + neighbor_interface: "eth0" + neighbor: "system3" + system_description: "Dragonfly" + capabilities: "S" + management_ip: "10.132.14.53" + vlan: "" + serial: "" + power_pair: "Spare" + power_class: "4" + power_device_type: "2" + power_priority: "High" + power_source: "PSE" + power_requested: "25000" + - local_interface: "" + chassis_id: "S7-1200 6DS7 212-1BH40-0XB0 S V-LCCC5820 \ + \ 10 V 4 3 1" + neighbor_port_id: "port-001.ploobdfad" + neighbor_interface: "Siemens, SIMATIC S7, Ethernet Port, X1 P1" + neighbor: "" + system_description: "Siemens, SIMATIC S7, CPU-1200, 6ES7 211-1CC40-0XB0, HW: 10,\ + \ FW: V.4.3.1, S V-LDCE8620" + capabilities: "B,S" + management_ip: "10.176.0.245" + vlan: "" + serial: "" + power_pair: "" + power_class: "" + power_device_type: "" + power_priority: "" + power_source: "" + power_requested: "" From 2fb3c308ac1b424bc5ec2852fc38f8e7601a4353 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Sun, 27 Feb 2022 00:58:28 +1000 Subject: [PATCH 251/412] Improvements to cisco_asa show_interface (#1084) --- .../cisco_asa_show_interface.textfsm | 5 +++- .../cisco_asa_show_interface3.raw | 20 ++++++++++++++ .../cisco_asa_show_interface3.yml | 27 +++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface3.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml diff --git a/ntc_templates/templates/cisco_asa_show_interface.textfsm b/ntc_templates/templates/cisco_asa_show_interface.textfsm index 6b889d73c5..f26fad54cd 100644 --- a/ntc_templates/templates/cisco_asa_show_interface.textfsm +++ b/ntc_templates/templates/cisco_asa_show_interface.textfsm @@ -49,7 +49,7 @@ Start ^.*Received\s+\d+\s+broadcasts,\s+\d+\s+runts,\s+\d+\s+giants ^.*\d+\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+\d+\s+abort ^.*\d+\s+pause\s+input,\s+\d+\s+resume\s+input - ^.*\d+\s+L2\s+decode\s+drops + ^.*\d+\s+(L2|output)\s+decode\s+drops ^.*\d+\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns ^.*\d+\s+pause\s+output,\s+\d+\s+resume\s+output ^.*\d+\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets @@ -65,5 +65,8 @@ Start ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+unsupported ^.*Available\s+but\s+not\s+configured\s+via\s+nameif ^.*IP\s+address\s+unassigned + ^\s*\d+\s+lost\s+carrier,\s+\d+\s+no\s+carrier + ^\s*(input|output)\s+queue\s+\(curr\/max\s+packets\):\s+hardware\s+\(\d+\/\d+\)\s+software\s+\(\d+\/\d+\) + ^.*input\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface3.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.raw new file mode 100644 index 0000000000..9cf261a3a1 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.raw @@ -0,0 +1,20 @@ +Interface Management0/0 "management", is up, line protocol is up + Hardware is i82557, BW 100 Mbps, DLY 100 usec + Auto-Duplex(Full-duplex), Auto-Speed(100 Mbps) + Input flow control is unsupported, output flow control is unsupported + Description: Management interface only, no other traffic + MAC address 11df.0fa6.364c, MTU 1500 + IP address 172.16.178.58, subnet mask 255.255.255.0 + 149462085 packets input, 61560614277 bytes, 0 no buffer + Received 31710072 broadcasts, 0 runts, 0 giants + 3 input errors, 0 CRC, 0 frame, 3 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 output decode drops + 960868155 packets output, 1400487802579 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 babbles, 0 late collisions, 0 deferred + 4247 lost carrier, 0 no carrier + 0 input reset drops, 0 output reset drops + input queue (curr/max packets): hardware (0/1) software (0/78) + output queue (curr/max packets): hardware (5/128) software (0/61) diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml new file mode 100644 index 0000000000..1497c10c98 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - interface: "Management0/0" + interface_zone: "management" + link_status: "up" + protocol_status: "up" + hardware_type: "i82557" + bandwidth: "100 Mbps" + delay: "100 usec" + duplex: "Full-duplex" + speed: "100 Mbps" + description: "Management interface only, no other traffic" + address: "11df.0fa6.364c" + mtu: "1500" + vlan: "" + ip_address: "172.16.178.58" + net_mask: "255.255.255.0" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" From df7138a26994ef7ad979d8bd1f2513d99be103e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sharky=5F=5F=C2=AF=5C=5F=28=E3=83=84=29=5F/=C2=AF?= Date: Sat, 26 Feb 2022 18:20:28 +0100 Subject: [PATCH 252/412] show platform diag now returns all linecards and their rommon versions (#1081) * Fixing show_platform_diag current template does not recognize slot numbers correctly * make tox happy Co-authored-by: Sebastian Schaack --- .../cisco_ios_show_platform_diag.textfsm | 8 +- .../cisco_ios_show_platform_diag.yml | 51 +++++++ .../cisco_ios_show_platform_diag_2.yml | 4 + .../cisco_ios_show_platform_diag_3.raw | 71 ++++++++++ .../cisco_ios_show_platform_diag_3.yml | 132 ++++++++++++++++++ 5 files changed, 264 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.raw create mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml diff --git a/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm b/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm index 497a0b52c5..482f3819ea 100644 --- a/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm +++ b/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm @@ -1,5 +1,5 @@ Value Filldown CHASSIS_TYPE (.*?) -Value Required SLOT_NUMBER ((?:.*)[A-Z]\d+(?:.*)) +Value Required SLOT_NUMBER (.*?) Value MODULE_SKU (.+?) Value STATE (.+) Value RUNNING_STATE (.+) @@ -9,6 +9,8 @@ Value INSERT_TIME (.*) Value UPTIME (.*) Value HARDWARE_SIGNAL (.*) Value PACKET_SIGNAL (.*) +Value CPLD_VERSION (.*) +Value FIRMWARE_VERSION (.*) Start ^Chassis type: ${CHASSIS_TYPE}(?:\s|$$) @@ -21,7 +23,9 @@ Start ^.*Software declared up time\s*\:\s${UPTIME} ^.*Hardware ready signal time\s*\:\s${HARDWARE_SIGNAL} ^.*Packet ready signal time\s*\:\s${PACKET_SIGNAL} + ^.*CPLD version\s*\:\s${CPLD_VERSION} + ^.*Firmware version\s*\:\s${FIRMWARE_VERSION} # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is - ^$$ -> Record + ^$$ -> Record \ No newline at end of file diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml index d33b273dfb..355ee40d2c 100644 --- a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml @@ -1,5 +1,44 @@ --- parsed_sample: + - chassis_type: "ASR1004" + slot_number: "0" + module_sku: "ASR1000-SIP10" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:48 (4d22h ago)" + uptime: "00:01:40 (4d22h ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "07091401" + firmware_version: "12.2(33r)XNB" + - chassis_type: "ASR1004" + slot_number: "0/0" + module_sku: "SPA-5X1GE-V2" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:00:36 (4d22h ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ASR1004" + slot_number: "0/1" + module_sku: "SPA-2XT3/E3" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:00:36 (4d22h ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" - chassis_type: "ASR1004" slot_number: "R0" module_sku: "ASR1000-RP1" @@ -11,6 +50,8 @@ parsed_sample: uptime: "00:00:48 (4d22h ago)" hardware_signal: "" packet_signal: "" + cpld_version: "07062111" + firmware_version: "12.2(33r)XNB" - chassis_type: "ASR1004" slot_number: "R0/0" module_sku: "" @@ -22,6 +63,8 @@ parsed_sample: uptime: "" hardware_signal: "" packet_signal: "" + cpld_version: "" + firmware_version: "" - chassis_type: "ASR1004" slot_number: "R0/1" module_sku: "" @@ -33,6 +76,8 @@ parsed_sample: uptime: "" hardware_signal: "" packet_signal: "" + cpld_version: "" + firmware_version: "" - chassis_type: "ASR1004" slot_number: "F0" module_sku: "ASR1000-ESP10" @@ -44,6 +89,8 @@ parsed_sample: uptime: "00:01:40 (4d22h ago)" hardware_signal: "00:00:49 (4d22h ago)" packet_signal: "00:01:49 (4d22h ago)" + cpld_version: "07051680" + firmware_version: "12.2(33r)XNB" - chassis_type: "ASR1004" slot_number: "P0" module_sku: "ASR1004-PWR-AC" @@ -55,6 +102,8 @@ parsed_sample: uptime: "" hardware_signal: "" packet_signal: "" + cpld_version: "" + firmware_version: "" - chassis_type: "ASR1004" slot_number: "P1" module_sku: "ASR1004-PWR-AC" @@ -66,3 +115,5 @@ parsed_sample: uptime: "" hardware_signal: "" packet_signal: "" + cpld_version: "" + firmware_version: "" diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml index 10b279755f..8330170390 100644 --- a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml @@ -11,6 +11,8 @@ parsed_sample: uptime: "00:00:35 (4d16h ago)" hardware_signal: "" packet_signal: "" + cpld_version: "" + firmware_version: "" - chassis_type: "CSR1000V" slot_number: "F0" module_sku: "CSR1000V" @@ -22,3 +24,5 @@ parsed_sample: uptime: "00:00:59 (4d16h ago)" hardware_signal: "00:00:51 (4d16h ago)" packet_signal: "00:01:06 (4d16h ago)" + cpld_version: "" + firmware_version: "" diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.raw b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.raw new file mode 100644 index 0000000000..90614b015c --- /dev/null +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.raw @@ -0,0 +1,71 @@ +Chassis type: ISR4331/K9 + +Slot: 0, ISR4331/K9 + Running state : ok + Internal state : online + Internal operational state : ok + Physical insert detect time : 00:00:42 (1y35w ago) + Software declared up time : 00:01:22 (1y35w ago) + CPLD version : 19040541 + Firmware version : 16.7(5r) + +Sub-slot: 0/0, ISR4331-3x1GE + Operational status : ok + Internal state : inserted + Physical insert detect time : 00:02:50 (1y35w ago) + Logical insert detect time : 00:02:50 (1y35w ago) + +Sub-slot: 0/1, NIM-4BRI-NT/TE + Operational status : ok + Internal state : inserted + Physical insert detect time : 00:03:26 (1y35w ago) + Logical insert detect time : 00:03:26 (1y35w ago) + +Sub-slot: 0/2, NIM-LTEA-EA + Operational status : ok + Internal state : inserted + Physical insert detect time : 00:02:50 (1y35w ago) + Logical insert detect time : 00:02:50 (1y35w ago) + +Sub-slot: 0/4, PVDM4-64 + Operational status : ok + Internal state : inserted + Physical insert detect time : 21w3d (1y14w ago) + Logical insert detect time : 21w3d (1y14w ago) + +Slot: 1, ISR4331/K9 + Running state : ok + Internal state : online + Internal operational state : ok + Physical insert detect time : 00:00:42 (1y35w ago) + Software declared up time : 00:01:23 (1y35w ago) + CPLD version : 19040541 + Firmware version : 16.7(5r) + +Slot: R0, ISR4331/K9 + Running state : ok, active + Internal state : online + Internal operational state : ok + Physical insert detect time : 00:00:42 (1y35w ago) + Software declared up time : 00:00:42 (1y35w ago) + CPLD version : 19040541 + Firmware version : 16.7(5r) + +Slot: F0, ISR4331/K9 + Running state : ok, active + Internal state : online + Internal operational state : ok + Physical insert detect time : 00:00:42 (1y35w ago) + Software declared up time : 00:02:22 (1y35w ago) + Hardware ready signal time : 00:01:14 (1y35w ago) + Packet ready signal time : 00:02:26 (1y35w ago) + CPLD version : 19040541 + Firmware version : 16.7(5r) + +Slot: P0, PWR-4330-AC + State : ok + Physical insert detect time : 00:01:07 (1y35w ago) + +Slot: P2, ACS-4330-FANASSY + State : ok + Physical insert detect time : 00:01:07 (1y35w ago) diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml new file mode 100644 index 0000000000..04b9be3373 --- /dev/null +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml @@ -0,0 +1,132 @@ +--- +parsed_sample: + - chassis_type: "ISR4331/K9" + slot_number: "0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:01:22 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "0/0" + module_sku: "ISR4331-3x1GE" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:02:50 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/1" + module_sku: "NIM-4BRI-NT/TE" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:03:26 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/2" + module_sku: "NIM-LTEA-EA" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:02:50 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/4" + module_sku: "PVDM4-64" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "21w3d (1y14w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "1" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:01:23 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "R0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:00:42 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "F0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:02:22 (1y35w ago)" + hardware_signal: "00:01:14 (1y35w ago)" + packet_signal: "00:02:26 (1y35w ago)" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "P0" + module_sku: "PWR-4330-AC" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:07 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "P2" + module_sku: "ACS-4330-FANASSY" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:07 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" From b9af0b320779c5686e074232b8fa239ef7e96df5 Mon Sep 17 00:00:00 2001 From: hagleyj Date: Sat, 26 Feb 2022 13:04:16 -0500 Subject: [PATCH 253/412] fix for 1051 (#1055) Co-authored-by: Jeff Hagley --- ntc_templates/templates/aruba_os_show_ap_database.textfsm | 2 +- tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw | 2 +- tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/aruba_os_show_ap_database.textfsm b/ntc_templates/templates/aruba_os_show_ap_database.textfsm index 58a9b2ba2a..0908d26dfc 100644 --- a/ntc_templates/templates/aruba_os_show_ap_database.textfsm +++ b/ntc_templates/templates/aruba_os_show_ap_database.textfsm @@ -1,6 +1,6 @@ Value AP_NAME (\S+) Value GROUP (\S+) -Value AP_MODEL (\d+) +Value AP_MODEL (\S+) Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) Value STATUS (.+?) Value FLAGS (\S+) diff --git a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw index b4a5cb8fe3..d8a01fe51d 100644 --- a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw +++ b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.raw @@ -5,7 +5,7 @@ Name Group AP Type IP Address Status Flags ---- ----- ------- ---------- ------ ----- --------- ---------- ap-building-1 building 635 192.168.1.1 Up 2d:17h:8m:4s 2Sf 192.168.2.2 192.168.2.3 ap-building-2 building 515 192.168.1.2 Up 2d:17h:8m:23s 2Sf 192.168.2.2 192.168.2.3 -ap-building-3 building 635 192.168.1.3 Up 2d:16h:57m:55s 2Sf 192.168.2.2 192.168.2.3 +ap-building-3 building 505H 192.168.1.3 Up 2d:16h:57m:55s 2Sf 192.168.2.2 192.168.2.3 Flags: 1 = 802.1x authenticated AP use EAP-PEAP; 1+ = 802.1x use EST; 1- = 802.1x use factory cert diff --git a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml index ecb3da0edd..e09b0602d1 100644 --- a/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml +++ b/tests/aruba_os/show_ap_database/aruba_os_show_ap_database.yml @@ -18,7 +18,7 @@ parsed_sample: standby: "192.168.2.3" - ap_name: "ap-building-3" group: "building" - ap_model: "635" + ap_model: "505H" ip_address: "192.168.1.3" status: "Up 2d:16h:57m:55s" flags: "2Sf" From 0a5b303cb9ba04e50d328080a637201b241c3219 Mon Sep 17 00:00:00 2001 From: elavaud Date: Sat, 26 Feb 2022 23:40:06 +0100 Subject: [PATCH 254/412] Add ubiquiti edgerouter show version (#1065) --- ntc_templates/templates/index | 2 ++ .../ubiquiti_edgerouter_show_version.textfsm | 18 ++++++++++++++++++ tests/test_index_order.py | 1 + .../ubiquiti_edgerouter_show_version.raw | 7 +++++++ .../ubiquiti_edgerouter_show_version.yml | 9 +++++++++ 5 files changed, 37 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_version.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.raw create mode 100644 tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 90254a9aeb..d50bf53d18 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -491,6 +491,8 @@ ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-ad ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] + ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_version.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_version.textfsm new file mode 100644 index 0000000000..f5aedb42f9 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_version.textfsm @@ -0,0 +1,18 @@ +Value VERSION (\S+) +Value BUILD_ID (\S+) +Value BUILD_ON (.+) +Value COPYRIGHT (.+) +Value HARDWARE_MODEL (.+) +Value SERIAL_NUMBER (\S+) +Value UPTIME (.+) + +Start + ^Version:\s+${VERSION} + ^Build\sID:\s+${BUILD_ID} + ^Build\son:\s+${BUILD_ON} + ^Copyright:\s+${COPYRIGHT} + ^HW\smodel:\s+${HARDWARE_MODEL} + ^HW\sS/N:\s+${SERIAL_NUMBER} + ^Uptime:\s+${UPTIME} + ^\s*$$ + ^. -> Error diff --git a/tests/test_index_order.py b/tests/test_index_order.py index b012db5b34..0a9fcf794f 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -46,6 +46,7 @@ "paloalto_panos", "quanta_mesh", "ruckus_fastiron", + "ubiquiti_edgerouter", "ubiquiti_edgeswitch", "vmware_nsxv", "vyatta_vyos", diff --git a/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.raw b/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.raw new file mode 100644 index 0000000000..1da45d3083 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.raw @@ -0,0 +1,7 @@ +Version: v2.0.6 +Build ID: 5208554 +Build on: 07/08/19 06:11 +Copyright: 2012-2018 Ubiquiti Networks, Inc. +HW model: EdgeRouter 6P +HW S/N: FCECDA47BF8A +Uptime: 16:17:57 up 11 days, 6:15, 1 user, load average: 0.09, 0.06, 0.01 diff --git a/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.yml b/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.yml new file mode 100644 index 0000000000..0c31c6e7bf --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_version/ubiquiti_edgerouter_show_version.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - version: "v2.0.6" + build_id: "5208554" + build_on: "07/08/19 06:11" + copyright: "2012-2018 Ubiquiti Networks, Inc." + hardware_model: "EdgeRouter 6P" + serial_number: "FCECDA47BF8A" + uptime: "16:17:57 up 11 days, 6:15, 1 user, load average: 0.09, 0.06, 0.01" From 6e5096d72d620475e765e655ef27221458a86abb Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 27 Feb 2022 11:09:49 -0600 Subject: [PATCH 255/412] Update line feed to LF from CRLF (#1096) --- .../cisco_ios_show_platform_diag_3.yml | 264 +++++++++--------- 1 file changed, 132 insertions(+), 132 deletions(-) diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml index 04b9be3373..bf91864c4e 100644 --- a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_3.yml @@ -1,132 +1,132 @@ ---- -parsed_sample: - - chassis_type: "ISR4331/K9" - slot_number: "0" - module_sku: "ISR4331/K9" - state: "" - running_state: "ok" - internal_state: "online" - internal_operational_state: "ok" - insert_time: "00:00:42 (1y35w ago)" - uptime: "00:01:22 (1y35w ago)" - hardware_signal: "" - packet_signal: "" - cpld_version: "19040541" - firmware_version: "16.7(5r)" - - chassis_type: "ISR4331/K9" - slot_number: "0/0" - module_sku: "ISR4331-3x1GE" - state: "" - running_state: "" - internal_state: "inserted" - internal_operational_state: "" - insert_time: "00:02:50 (1y35w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" - - chassis_type: "ISR4331/K9" - slot_number: "0/1" - module_sku: "NIM-4BRI-NT/TE" - state: "" - running_state: "" - internal_state: "inserted" - internal_operational_state: "" - insert_time: "00:03:26 (1y35w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" - - chassis_type: "ISR4331/K9" - slot_number: "0/2" - module_sku: "NIM-LTEA-EA" - state: "" - running_state: "" - internal_state: "inserted" - internal_operational_state: "" - insert_time: "00:02:50 (1y35w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" - - chassis_type: "ISR4331/K9" - slot_number: "0/4" - module_sku: "PVDM4-64" - state: "" - running_state: "" - internal_state: "inserted" - internal_operational_state: "" - insert_time: "21w3d (1y14w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" - - chassis_type: "ISR4331/K9" - slot_number: "1" - module_sku: "ISR4331/K9" - state: "" - running_state: "ok" - internal_state: "online" - internal_operational_state: "ok" - insert_time: "00:00:42 (1y35w ago)" - uptime: "00:01:23 (1y35w ago)" - hardware_signal: "" - packet_signal: "" - cpld_version: "19040541" - firmware_version: "16.7(5r)" - - chassis_type: "ISR4331/K9" - slot_number: "R0" - module_sku: "ISR4331/K9" - state: "" - running_state: "ok, active" - internal_state: "online" - internal_operational_state: "ok" - insert_time: "00:00:42 (1y35w ago)" - uptime: "00:00:42 (1y35w ago)" - hardware_signal: "" - packet_signal: "" - cpld_version: "19040541" - firmware_version: "16.7(5r)" - - chassis_type: "ISR4331/K9" - slot_number: "F0" - module_sku: "ISR4331/K9" - state: "" - running_state: "ok, active" - internal_state: "online" - internal_operational_state: "ok" - insert_time: "00:00:42 (1y35w ago)" - uptime: "00:02:22 (1y35w ago)" - hardware_signal: "00:01:14 (1y35w ago)" - packet_signal: "00:02:26 (1y35w ago)" - cpld_version: "19040541" - firmware_version: "16.7(5r)" - - chassis_type: "ISR4331/K9" - slot_number: "P0" - module_sku: "PWR-4330-AC" - state: "ok" - running_state: "" - internal_state: "" - internal_operational_state: "" - insert_time: "00:01:07 (1y35w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" - - chassis_type: "ISR4331/K9" - slot_number: "P2" - module_sku: "ACS-4330-FANASSY" - state: "ok" - running_state: "" - internal_state: "" - internal_operational_state: "" - insert_time: "00:01:07 (1y35w ago)" - uptime: "" - hardware_signal: "" - packet_signal: "" - cpld_version: "" - firmware_version: "" +--- +parsed_sample: + - chassis_type: "ISR4331/K9" + slot_number: "0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:01:22 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "0/0" + module_sku: "ISR4331-3x1GE" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:02:50 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/1" + module_sku: "NIM-4BRI-NT/TE" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:03:26 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/2" + module_sku: "NIM-LTEA-EA" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "00:02:50 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "0/4" + module_sku: "PVDM4-64" + state: "" + running_state: "" + internal_state: "inserted" + internal_operational_state: "" + insert_time: "21w3d (1y14w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "1" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:01:23 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "R0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:00:42 (1y35w ago)" + hardware_signal: "" + packet_signal: "" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "F0" + module_sku: "ISR4331/K9" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:42 (1y35w ago)" + uptime: "00:02:22 (1y35w ago)" + hardware_signal: "00:01:14 (1y35w ago)" + packet_signal: "00:02:26 (1y35w ago)" + cpld_version: "19040541" + firmware_version: "16.7(5r)" + - chassis_type: "ISR4331/K9" + slot_number: "P0" + module_sku: "PWR-4330-AC" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:07 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" + - chassis_type: "ISR4331/K9" + slot_number: "P2" + module_sku: "ACS-4330-FANASSY" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:07 (1y35w ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + cpld_version: "" + firmware_version: "" From 442f2caca5fd41faf9dc0ce8341e6e6bab20c2c5 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 8 Mar 2022 08:34:59 -0600 Subject: [PATCH 256/412] Clarifies docs about length order. (#1099) --- README.md | 2 +- ntc_templates/templates/index | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b60be62ba..ff8f6f70be 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ Taking a look at the example template above, you notice that we're using **\s*** The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used a combination of ordering, as defined: - OS in alphabetical order - - Template name in length order + - Template name in length order (longest to shortest) - When length is the same, use alphabetical order of command name - Keep space between OS's diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d50bf53d18..fe60fbacc0 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -5,7 +5,7 @@ # # Rules of Ordering: # - OS in alphabetical order -# - Template name in length order +# - Template name in length order (longest to shortest) # - When Length is the same, use alphabetical order # - Keep space between OS's # From 73821b260aabe3dba4faf554c7890c7b611a0628 Mon Sep 17 00:00:00 2001 From: Niltak Date: Tue, 29 Mar 2022 14:25:10 -0400 Subject: [PATCH 257/412] fixed #1024 - Moved Record to Device ID (#1039) Moving the record from the dashes to a continued 'Device ID'. This will fix the issue while maintaining the current output expectation. --- ...sco_nxos_show_cdp_neighbors_detail.textfsm | 2 +- ..._show_cdp_neighbors_detail_move_record.raw | 42 +++++++++++++++++++ ..._show_cdp_neighbors_detail_move_record.yml | 22 ++++++++++ 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.raw create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.yml diff --git a/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm index cbcccbda12..645e08985f 100644 --- a/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm @@ -9,6 +9,7 @@ Value INTERFACE_IP (.*) Value CAPABILITIES (.*[^\s]) Start + ^Device ID -> Continue.Record ^Device ID:${DEST_HOST} ^System Name: ${SYSNAME} ^Interface address\(es\):\s*(^[1-9]\d*|$$) -> GetInterfaceIP @@ -16,7 +17,6 @@ Start ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES}\s*$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version: -> GetVersion - ^----- -> Record GetIP ^.*IP.+Address: ${MGMT_IP} -> Start diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.raw b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.raw new file mode 100644 index 0000000000..9d2f620c52 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.raw @@ -0,0 +1,42 @@ +Device ID:redacted.test.com +VTP Management Domain Name: brwn + +Interface address(es): + IPv4 Address: 10.0.0.1 +Platform: C9300-48UXM, Capabilities: Switch IGMP Filtering +Interface: Ethernet7/14, Port ID (outgoing port): TenGigabitEthernet1/1/7 +Holdtime: 133 sec + +Version: +Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.6, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Thu 11-Apr-19 03:51 by mcpre + +Advertisement Version: 2 + +Native VLAN: 1000 +Duplex: full +Mgmt address(es): + IPv4 Address: 10.0.0.1 +Device ID:redacted.test.com +VTP Management Domain Name: brwn + +Interface address(es): + IPv4 Address: 10.0.0.3 +Platform: C9300-48UXM, Capabilities: Switch IGMP Filtering +Interface: Ethernet7/15, Port ID (outgoing port): TenGigabitEthernet1/1/8 +Holdtime: 136 sec + +Version: +Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.6, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Thu 11-Apr-19 03:51 by mcpre + +Advertisement Version: 2 + +Native VLAN: 1000 +Duplex: full +Mgmt address(es): + IPv4 Address: 10.0.0.4 \ No newline at end of file diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.yml b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.yml new file mode 100644 index 0000000000..1cb4b50399 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail_move_record.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - dest_host: "redacted.test.com" + sysname: "" + mgmt_ip: "10.0.0.1" + platform: "C9300-48UXM" + remote_port: "TenGigabitEthernet1/1/7" + local_port: "Ethernet7/14" + version: "Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE),\ + \ Version 16.6.6, RELEASE SOFTWARE (fc1)" + interface_ip: "10.0.0.1" + capabilities: "Switch IGMP Filtering" + - dest_host: "redacted.test.com" + sysname: "" + mgmt_ip: "10.0.0.4" + platform: "C9300-48UXM" + remote_port: "TenGigabitEthernet1/1/8" + local_port: "Ethernet7/15" + version: "Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE),\ + \ Version 16.6.6, RELEASE SOFTWARE (fc1)" + interface_ip: "10.0.0.3" + capabilities: "Switch IGMP Filtering" From 570e6cb04598916b1208691ad61e7d6bdc457a71 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Thu, 31 Mar 2022 04:32:04 +0200 Subject: [PATCH 258/412] update hp procurve show_mac-address (#1108) --- .../hp_procurve_show_mac-address.textfsm | 1 + .../hp_procurve_show_mac-address2.raw | 9 +++++++ .../hp_procurve_show_mac-address2.yml | 14 ++++++++++ .../show_vlans/hp_procurve_show_vlans4.raw | 14 ++++++++++ .../show_vlans/hp_procurve_show_vlans4.yml | 27 +++++++++++++++++++ 5 files changed, 65 insertions(+) create mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.raw create mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.yml create mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.raw create mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.yml diff --git a/ntc_templates/templates/hp_procurve_show_mac-address.textfsm b/ntc_templates/templates/hp_procurve_show_mac-address.textfsm index d9b8f2e0d8..dc11c38121 100644 --- a/ntc_templates/templates/hp_procurve_show_mac-address.textfsm +++ b/ntc_templates/templates/hp_procurve_show_mac-address.textfsm @@ -7,5 +7,6 @@ Start Start_record ^\s+${MAC}\s+${PORT}\s+${VLAN} -> Record + ^\s+${MAC}\s+${PORT} -> Record ^\s*$$ ^. -> Error diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.raw b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.raw new file mode 100644 index 0000000000..2a99a4f34f --- /dev/null +++ b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.raw @@ -0,0 +1,9 @@ + + Status and Counters - Port Address Table + + MAC Address Port + ------------- ----- + 00000d-600000 10 + 000424-731040 10 + 0010f3-841dea 10 + 5c0e8b-97d9db 3 \ No newline at end of file diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.yml b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.yml new file mode 100644 index 0000000000..000ea1d4f0 --- /dev/null +++ b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - mac: "00000d-600000" + port: "10" + vlan: "" + - mac: "000424-731040" + port: "10" + vlan: "" + - mac: "0010f3-841dea" + port: "10" + vlan: "" + - mac: "5c0e8b-97d9db" + port: "3" + vlan: "" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.raw b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.raw new file mode 100644 index 0000000000..52a9c720ee --- /dev/null +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.raw @@ -0,0 +1,14 @@ + Status and Counters - VLAN Information + + Maximum VLANs to support : 256 + Primary VLAN : DEFAULT_VLAN + Management VLAN : + + VLAN ID Name Status Voice + ------- -------------------------------- ------------ ----- + 1 DEFAULT_VLAN Port-based No + 10 server Port-based No + 21 client Port-based No + 24 guest Port-based No + 2000 dmz Port-based No + \ No newline at end of file diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.yml b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.yml new file mode 100644 index 0000000000..99d6a43301 --- /dev/null +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans4.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - name: "DEFAULT_VLAN" + jumbo: "" + vlan_id: "1" + status: "Port-based" + voice: "No" + - name: "server" + jumbo: "" + vlan_id: "10" + status: "Port-based" + voice: "No" + - name: "client" + jumbo: "" + vlan_id: "21" + status: "Port-based" + voice: "No" + - name: "guest" + jumbo: "" + vlan_id: "24" + status: "Port-based" + voice: "No" + - name: "dmz" + jumbo: "" + vlan_id: "2000" + status: "Port-based" + voice: "No" From bc8e11c95066a6480bbce28904582bc818f4452c Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 5 Apr 2022 01:52:41 +1200 Subject: [PATCH 259/412] fixes#1094-new-cisco-apic (#1112) Co-authored-by: Pieter E Smit --- ...sco_apic_fabric_show_vlan_extended.textfsm | 27 +++++++++ ntc_templates/templates/index | 2 + .../cisco_apic_fabric_show_vlan_extended1.raw | 31 ++++++++++ .../cisco_apic_fabric_show_vlan_extended1.yml | 60 +++++++++++++++++++ tests/test_index_order.py | 1 + 5 files changed, 121 insertions(+) create mode 100644 ntc_templates/templates/cisco_apic_fabric_show_vlan_extended.textfsm create mode 100644 tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.raw create mode 100644 tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.yml diff --git a/ntc_templates/templates/cisco_apic_fabric_show_vlan_extended.textfsm b/ntc_templates/templates/cisco_apic_fabric_show_vlan_extended.textfsm new file mode 100644 index 0000000000..49f69a3660 --- /dev/null +++ b/ntc_templates/templates/cisco_apic_fabric_show_vlan_extended.textfsm @@ -0,0 +1,27 @@ +Value Required VLAN_ID (\d+) +Value List VLAN_NAME ([\w:-]+) +Value List VLAN_ENCAP ([\w:-]+,?) +Value List VLAN_PORTS ((\S+,?\s?)+) +Value Filldown NODE_NUMBER (\d+) +Value Filldown NODE_NAME (\S+) + +Start + ^\s*$$ + ^.+\sfabric\s + ^---+$$ + ^\s*Node\s${NODE_NUMBER}\s\(${NODE_NAME}\) + ^\s*VLAN\s+Name\s.+Ports.*$$ -> VLANS + # Capture time-stamp if vty line has command time-stamping turned on + ^. -> Error + +VLANS + ^ \d+ -> Continue.Record + ^\s*--+\s+--- + ^\s{0,3}${VLAN_ID}\s+${VLAN_NAME}\s+${VLAN_ENCAP}\s+${VLAN_PORTS}\s*$$ + ^\s{4,6}${VLAN_NAME}\s+${VLAN_ENCAP}\s+${VLAN_PORTS} + ^\s{4,6}${VLAN_NAME}\s*$$ + ^\s{38,40}${VLAN_ENCAP}\s*$$ + ^\s{54}\s+${VLAN_PORTS}\s*$$ + ^. -> Error + + \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index fe60fbacc0..2b2368b7c0 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -150,6 +150,8 @@ ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] ciena_saos_vlan_show.textfsm, .*, ciena_saos, vl[[an]] sh[[ow]] +cisco_apic_fabric_show_vlan_extended.textfsm, .*, cisco_apic, fabric sh[[ow]] vlan ex[[tended]] + cisco_asa_show_running-config_all_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] all cr[[ypto]] m[[ap]] cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] diff --git a/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.raw b/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.raw new file mode 100644 index 0000000000..1ef4cf9d26 --- /dev/null +++ b/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.raw @@ -0,0 +1,31 @@ +apic1# fabric 203 show vlan extended +---------------------------------------------------------------- + Node 203 (lab1r00002-ne-RDC-LF3) +---------------------------------------------------------------- + + VLAN Name Encap Ports + ---- -------------------------------- ---------------- ------------------------ +9 5GC-N6:N3-INT:l3out-UPF-N3-INT- vxlan-15171532, Eth1/1, Eth1/2, Eth1/3, + VRF-FLT:vlan-541 vlan-541 Eth1/4, Eth1/5, Eth1/6, + Eth1/7, Eth1/8, Eth1/9, + Eth1/10, Eth1/11, + Eth1/12, Eth1/13, + Eth1/14, Eth1/15, + Eth1/16, Eth1/17, + Eth1/18, Eth1/19, + Eth1/20, Eth1/21, + Eth1/22, Eth1/23, + Eth1/24, Eth1/28, + Eth1/29, Eth1/30, + Eth1/31, Eth1/32, + Eth1/33, Eth1/34, + Eth1/35, Eth1/36, + Eth1/37, Eth1/38, + Eth1/39, Eth1/40, + Eth1/41, Eth1/42, + Eth1/43, Po1, Po2 + 11 NSO-XDOMAIN:Source-TG-BD vxlan-16318378 Eth1/16 + 12 NSO-XDOMAIN:Traffic- vlan-621 Eth1/16 + Generators:source-tg-epg + 14 infra:default vxlan-16777209, Eth1/1, Eth1/48 + vlan-3914 diff --git a/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.yml b/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.yml new file mode 100644 index 0000000000..4e07828ea2 --- /dev/null +++ b/tests/cisco_apic/fabric_show_vlan_extended/cisco_apic_fabric_show_vlan_extended1.yml @@ -0,0 +1,60 @@ +--- +parsed_sample: + - vlan_id: "9" + vlan_name: + - "5GC-N6:N3-INT:l3out-UPF-N3-INT-" + - "VRF-FLT:vlan-541" + vlan_encap: + - "vxlan-15171532," + - "vlan-541" + vlan_ports: + - "Eth1/1, Eth1/2, Eth1/3, " + - "Eth1/4, Eth1/5, Eth1/6, " + - "Eth1/7, Eth1/8, Eth1/9, " + - "Eth1/10, Eth1/11, " + - "Eth1/12, Eth1/13, " + - "Eth1/14, Eth1/15, " + - "Eth1/16, Eth1/17, " + - "Eth1/18, Eth1/19, " + - "Eth1/20, Eth1/21, " + - "Eth1/22, Eth1/23, " + - "Eth1/24, Eth1/28, " + - "Eth1/29, Eth1/30, " + - "Eth1/31, Eth1/32, " + - "Eth1/33, Eth1/34, " + - "Eth1/35, Eth1/36, " + - "Eth1/37, Eth1/38, " + - "Eth1/39, Eth1/40, " + - "Eth1/41, Eth1/42, " + - "Eth1/43, Po1, Po2 " + node_number: "203" + node_name: "lab1r00002-ne-RDC-LF3" + - vlan_id: "11" + vlan_name: + - "NSO-XDOMAIN:Source-TG-BD" + vlan_encap: + - "vxlan-16318378" + vlan_ports: + - "Eth1/16 " + node_number: "203" + node_name: "lab1r00002-ne-RDC-LF3" + - vlan_id: "12" + vlan_name: + - "NSO-XDOMAIN:Traffic-" + - "Generators:source-tg-epg" + vlan_encap: + - "vlan-621" + vlan_ports: + - "Eth1/16 " + node_number: "203" + node_name: "lab1r00002-ne-RDC-LF3" + - vlan_id: "14" + vlan_name: + - "infra:default" + vlan_encap: + - "vxlan-16777209," + - "vlan-3914" + vlan_ports: + - "Eth1/1, Eth1/48 " + node_number: "203" + node_name: "lab1r00002-ne-RDC-LF3" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 0a9fcf794f..97e9a82c48 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -21,6 +21,7 @@ "brocade_vyos", "checkpoint_gaia", "ciena_saos", + "cisco_apic", "cisco_asa", "cisco_ftd", "cisco_ios", From f915b3fb6dcf2d1a7f3cc5c4149afe424d00422e Mon Sep 17 00:00:00 2001 From: Pieter Date: Sun, 10 Apr 2022 03:12:59 +1200 Subject: [PATCH 260/412] fixes#1083-cisco_ios_show_module (#1117) add cisco_ios_show_module5.raw stack of switches --- .../templates/cisco_ios_show_module.textfsm | 16 +++++++-- .../cisco_ios_show_module_status.textfsm | 16 +++++++-- .../show_module/cisco_ios_show_module5.raw | 4 +++ .../show_module/cisco_ios_show_module5.yml | 34 +++++++++++++++++++ 4 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module5.raw create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module5.yml diff --git a/ntc_templates/templates/cisco_ios_show_module.textfsm b/ntc_templates/templates/cisco_ios_show_module.textfsm index 952420209f..e8d888286b 100644 --- a/ntc_templates/templates/cisco_ios_show_module.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module.textfsm @@ -7,9 +7,14 @@ Value SERIAL (\w+) Start ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> Status + ^Chassis\sType\s?:\s + ^Power\sconsumed\sby\sbackplane\s:\s + # #1083 C9200L-24T + ^Switch\s+Ports\s+Model\s+Serial\sNo\.\s+MAC\saddress\s+Hw\sVer\.\s+Sw\sVer\. -> SwitchStack + ^. -> Error NoMatchInStart Status - ^-+ + ^---+ ^\s*${MODULE}\s+(${PORT}\s+)?${CARDTYPE}(\s+${MODEL})?(\s+${SERIAL})?\s*$$ -> Record ^(?:Mod|\s+M)\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End ^Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status -> End @@ -17,6 +22,13 @@ Status ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End ^Mod\s+Online\s+Diag\s+Status -> End ^\s*$$ - ^. -> Error + ^. -> Error NoMatchInStatus + +SwitchStack + ^---+ + # #1083 C9200L-24T + ^\s*${MODULE}\s+${PORT}\s+${MODEL}\s+${SERIAL}\s+ -> Record + ^\s*$$ + ^. -> Error NoMatchInSwitch End diff --git a/ntc_templates/templates/cisco_ios_show_module_status.textfsm b/ntc_templates/templates/cisco_ios_show_module_status.textfsm index ed30c6c0ae..f67a44b801 100644 --- a/ntc_templates/templates/cisco_ios_show_module_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_module_status.textfsm @@ -1,5 +1,5 @@ Value Key MODULE (\d+) -Value MAC_ADDR (\S+\s+to\s+\S+) +Value MAC_ADDR (\S{4}\.\S{4}\.\S{4}(\sto\s\S{4}\.\S{4}\.\S{4})?) Value MOD_HW (\S+) Value MOD_FW (\S+(\s+\[\w+\])?) Value MOD_SW (\S+) @@ -8,9 +8,11 @@ Value STATUS (\w+) Start ^\s*Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status\s*$$ -> ModStatus + # #1083 C9200L-24T + ^Switch\s+Ports\s+Model\s+Serial\sNo\.\s+MAC\saddress\s+Hw\sVer\.\s+Sw\sVer\. -> SwitchStack ModStatus - ^-+ + ^---+ ^\s*${MODULE}\s+${MAC_ADDR}\s+${MOD_HW}\s+${MOD_FW}\s+${MOD_SW}\s+${STATUS}\s*$$ -> Record ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> End @@ -18,6 +20,14 @@ ModStatus ^Mod\s+Redundancy\s+Role\s+Operating\s+Redundancy\s+Mode\s+Configured\s+Redundancy\s+Mode -> End ^Mod\s+Redundancy\s+Role\s+Operating\s+Mode\s+Configured\s+Mode\s+Redundancy\s+Status -> End ^\s*$$ - ^. -> Error + ^. -> Error NotInModStatus + +SwitchStack + # #1083 C9200L-24T + ^---+ + ^\s*${MODULE}\s+\d+\s+\S+\s+\S+\s+${MAC_ADDR}\s+${MOD_HW}\s+${MOD_SW}\s*$$ -> Record + #\s -> Record + ^\s*$$ + ^. -> Error NotInSwtichStack End \ No newline at end of file diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module5.raw b/tests/cisco_ios/show_module/cisco_ios_show_module5.raw new file mode 100644 index 0000000000..205253babe --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module5.raw @@ -0,0 +1,4 @@ +Switch Ports Model Serial No. MAC address Hw Ver. Sw Ver. +------ ----- --------- ----------- -------------- ------- -------- + 1 28 C9200L-24T-4G-E 3YEEQEY2MND dc8c.5322.19c6 V01 16.12.6 + 2 28 C9200L-24T-4G-E CBC7DQFNB7F dc8c.aaa0.1b77 V01 16.12.6 diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module5.yml b/tests/cisco_ios/show_module/cisco_ios_show_module5.yml new file mode 100644 index 0000000000..d480c513ed --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module5.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - module: "1" + port: "28" + cardtype: "" + model: "C9200L-24T-4G-E" + serial: "3YEEQEY2MND" + mac_addr: "dc8c.5322.19c6" + mod_hw: "V01" + mod_fw: "" + mod_sw: "16.12.6" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" + - module: "2" + port: "28" + cardtype: "" + model: "C9200L-24T-4G-E" + serial: "CBC7DQFNB7F" + mac_addr: "dc8c.aaa0.1b77" + mod_hw: "V01" + mod_fw: "" + mod_sw: "16.12.6" + status: "" + submodule: "" + submodule_model: "" + submodule_serial: "" + submodule_hw: "" + submodule_status: "" + online_diag: "" From d1c33b3b914d4401daf7202cd22c3677a9622bd0 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sat, 9 Apr 2022 17:14:09 +0200 Subject: [PATCH 261/412] fix not advertised vlan (#1114) fix not advertised vlan --- ...co_nxos_show_lldp_neighbors_detail.textfsm | 2 +- ...cisco_nxos_show_lldp_neighbors_detail2.raw | 34 +++++++++++++++++++ ...cisco_nxos_show_lldp_neighbors_detail2.yml | 18 ++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.raw create mode 100644 tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.yml diff --git a/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm index aa5e8bb1ce..9d7e09f3ac 100644 --- a/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm @@ -9,7 +9,6 @@ Value VLAN ([0-9]+) Start - ^.*not advertised ^[Cc]hassis\s[idID]{2}\:\s${CHASSIS_ID}$$ ^[Pp]ort\s[idID]{2}\:\s${NEIGHBOR_INTERFACE}$$ ^[Ll]ocal\s[Pp]ort\s[idID]{2}\:\s${LOCAL_INTERFACE}$$ @@ -18,3 +17,4 @@ Start ^[Ee]nabled\s[Cc]apabilities\:\s${CAPABILITIES}$$ ^[Mm]anagement\s[Aa]ddress\:\s${MGMT_ADDRESS}$$ ^[Vv]lan\s[idID]{2}\:\s${VLAN}$$ -> Record + ^[Vv]lan\s[idID]{2}\:\snot advertised -> Record diff --git a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.raw b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.raw new file mode 100644 index 0000000000..8a75e4fcb9 --- /dev/null +++ b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.raw @@ -0,0 +1,34 @@ +Capability codes: + (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device + (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other +Device ID Local Intf Hold-time Capability Port ID + +Chassis id: 3473.2d00.0001 +Port id: Ethernet1/52 +Local Port id: Eth1/52 +Port Description: SW-NEXUS-UPLINK +System Name: SW-NEXUS +System Description: Cisco Nexus Operating System (NX-OS) Software 9.3(8) +TAC support: http://www.cisco.com/tac +Copyright (c) 2002-2021, Cisco Systems, Inc. All rights reserved. +Time remaining: 97 seconds +System Capabilities: B, R +Enabled Capabilities: B, R +Management Address: 192.168.1.2 +Management Address IPV6: not advertised +Vlan ID: not advertised + + +Chassis id: 24a9.3700.0001 +Port id: 1a51.4800.0001 +Local Port id: Eth101/1/10 +Port Description: eth0 +System Name: pure-storage +System Description: FlashArray FA-X20R3 pure-storage +Time remaining: 3 seconds +System Capabilities: B, W, R, S +Enabled Capabilities: B +Management Address: not advertised +Management Address IPV6: not advertised +Vlan ID: 0 + diff --git a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.yml b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.yml new file mode 100644 index 0000000000..044375b72b --- /dev/null +++ b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail2.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - neighbor: "SW-NEXUS" + local_interface: "Eth1/52" + neighbor_interface: "Ethernet1/52" + chassis_id: "3473.2d00.0001" + mgmt_address: "192.168.1.2" + system_description: "Cisco Nexus Operating System (NX-OS) Software 9.3(8)" + capabilities: "B, R" + vlan: "" + - neighbor: "pure-storage" + local_interface: "Eth101/1/10" + neighbor_interface: "1a51.4800.0001" + chassis_id: "24a9.3700.0001" + mgmt_address: "" + system_description: "FlashArray FA-X20R3 pure-storage" + capabilities: "B" + vlan: "0" From 74c2bfb17c6ba8e2d874dd8dcd8d33e4db489563 Mon Sep 17 00:00:00 2001 From: Markus Juenemann Date: Sun, 10 Apr 2022 01:15:01 +1000 Subject: [PATCH 262/412] Template for Cisco IOS show ip access-lists now parse network and service object groups. All tests have been updated accordingly. (#1113) --- .../cisco_ios_show_ip_access-lists.textfsm | 5 +- .../cisco_ios_show_ip_access-lists.yml | 261 +++++++ .../cisco_ios_show_ip_access-lists_1104.raw | 21 + .../cisco_ios_show_ip_access-lists_1104.yml | 674 ++++++++++++++++++ .../cisco_ios_show_ip_access-lists_954.yml | 300 ++++++++ .../cisco_ios_show_ip_access-lists_964.yml | 306 ++++++++ .../cisco_ios_show_ip_access-lists_969.yml | 461 ++++++++++-- .../cisco_ios_show_ip_access-lists_fixed.yml | 294 ++++++++ 8 files changed, 2251 insertions(+), 71 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index b36c1738e5..d66b4ab741 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -7,6 +7,7 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value SRC_NETWORK_OBJECT_GROUP_NAME (\S+) Value SRC_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt) Value SRC_PORT ((? Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${PROTOCOL}|${SERVICE_OBJECT_GROUP_NAME})\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD}|object-group\s+${SRC_NETWORK_OBJECT_GROUP_NAME})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD}|object-group\s+${DST_NETWORK_OBJECT_GROUP_NAME})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml index b195814b25..1742fe18d9 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -9,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -17,10 +18,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -38,6 +41,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -46,10 +50,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -67,6 +73,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -75,10 +82,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -96,6 +105,7 @@ parsed_sample: src_any: "" src_network: "10.0.10.0" src_wildcard: "0.255.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -104,10 +114,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -125,6 +137,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -133,10 +146,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -154,6 +169,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -162,10 +178,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -183,6 +201,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -191,10 +210,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -212,6 +233,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -220,10 +242,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -241,6 +265,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -249,10 +274,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -270,6 +297,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -278,10 +306,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -299,6 +329,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -307,10 +338,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -328,6 +361,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -336,10 +370,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -357,6 +393,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -365,10 +402,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -386,6 +425,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "range" src_port: "" src_port_range_start: "16384" @@ -394,10 +434,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -415,6 +457,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "snmp bootpc" src_port_range_start: "" @@ -423,10 +466,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.0.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -444,6 +489,7 @@ parsed_sample: src_any: "" src_network: "10.0.0.0" src_wildcard: "0.255.255.255" + src_network_object_group_name: "" src_port_match: "eq" src_port: "telnet ssh http 8080" src_port_range_start: "" @@ -452,10 +498,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "neq" dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -473,6 +521,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -481,10 +530,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" @@ -502,6 +553,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -510,10 +562,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established" log: "" @@ -531,6 +585,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -539,10 +594,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established psh" log: "" @@ -560,6 +617,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -568,10 +626,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -589,6 +649,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -597,10 +658,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -618,6 +681,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "bgp" src_port_range_start: "" @@ -626,10 +690,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -647,6 +713,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -655,10 +722,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -676,6 +745,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -684,10 +754,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -705,6 +777,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -713,10 +786,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -734,6 +809,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -742,10 +818,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -763,6 +841,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -771,10 +850,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -792,6 +873,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -800,10 +882,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -821,6 +905,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -829,10 +914,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -850,6 +937,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -858,10 +946,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -879,6 +969,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -887,10 +978,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -908,6 +1001,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -916,10 +1010,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -937,6 +1033,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -945,10 +1042,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -966,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -974,10 +1074,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -995,6 +1097,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1003,10 +1106,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1024,6 +1129,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1032,10 +1138,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1053,6 +1161,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1061,10 +1170,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1082,6 +1193,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1090,10 +1202,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1111,6 +1225,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1119,10 +1234,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1140,6 +1257,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1148,10 +1266,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1169,6 +1289,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1177,10 +1298,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1198,6 +1321,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1206,10 +1330,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1227,6 +1353,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1235,10 +1362,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1256,6 +1385,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1264,10 +1394,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1285,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1293,10 +1426,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1314,6 +1449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1322,10 +1458,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1343,6 +1481,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1351,10 +1490,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1372,6 +1513,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1380,10 +1522,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1401,6 +1545,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1409,10 +1554,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1430,6 +1577,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1438,10 +1586,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1459,6 +1609,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1467,10 +1618,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1488,6 +1641,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1496,10 +1650,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1517,6 +1673,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1525,10 +1682,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1546,6 +1705,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1554,10 +1714,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1575,6 +1737,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1583,10 +1746,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1604,6 +1769,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1612,10 +1778,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1633,6 +1801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1641,10 +1810,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1662,6 +1833,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1670,10 +1842,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1691,6 +1865,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1699,10 +1874,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1720,6 +1897,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1728,10 +1906,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1749,6 +1929,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1757,10 +1938,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1778,6 +1961,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1786,10 +1970,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1807,6 +1993,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1815,10 +2002,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1836,6 +2025,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1844,10 +2034,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1865,6 +2057,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1873,10 +2066,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1894,6 +2089,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1902,10 +2098,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1923,6 +2121,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1931,10 +2130,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1952,6 +2153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1960,10 +2162,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1981,6 +2185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1989,10 +2194,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2010,6 +2217,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2018,10 +2226,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2039,6 +2249,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2047,10 +2258,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2068,6 +2281,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2076,10 +2290,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2097,6 +2313,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2105,10 +2322,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2126,6 +2345,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2134,10 +2354,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2155,6 +2377,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2163,10 +2386,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2184,6 +2409,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2192,10 +2418,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2213,6 +2441,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2221,10 +2450,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2242,6 +2473,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2250,10 +2482,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2271,6 +2505,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2279,10 +2514,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2300,6 +2537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2308,10 +2546,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2329,6 +2569,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2337,10 +2578,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2358,6 +2601,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2366,10 +2610,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2387,6 +2633,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2395,10 +2642,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2416,6 +2665,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2424,10 +2674,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2445,6 +2697,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2453,10 +2706,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2474,6 +2729,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2482,10 +2738,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2503,6 +2761,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2511,10 +2770,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.raw new file mode 100644 index 0000000000..4f39018037 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.raw @@ -0,0 +1,21 @@ +Extended IP access list access-acl + 10 permit udp object-group SRC_NETWORK_OBJECT_GROUP object-group DST_NETWORK_OBJECT_GROUP eq domain + 20 permit tcp object-group SRC_NETWORK_OBJECT_GROUP eq snmp object-group DST_NETWORK_OBJECT_GROUP + 30 permit tcp object-group SRC_NETWORK_OBJECT_GROUP object-group DST_NETWORK_OBJECT_GROUP + 40 permit udp object-group SRC_NETWORK_OBJECT_GROUP host 10.1.2.3 eq domain + 50 permit udp object-group SRC_NETWORK_OBJECT_GROUP 10.1.2.0 0.0.0.255 eq www + 60 permit udp host 10.1.2.3 object-group DST_NETWORK_OBJECT_GROUP eq domain + 70 permit udp 10.1.2.0 0.0.0.255 object-group DST_NETWORK_OBJECT_GROUP eq www + 80 permit tcp object-group SRC_NETWORK_OBJECT_GROUP eq snmp host 10.1.2.3 + 90 permit tcp object-group SRC_NETWORK_OBJECT_GROUP eq snmp 10.1.2.0 0.0.0.255 + 100 permit tcp host 10.1.2.3 eq snmp object-group DST_NETWORK_OBJECT_GROUP + 110 permit tcp 10.1.2.0 0.0.0.255 eq snmp object-group DST_NETWORK_OBJECT_GROUP + 120 permit tcp object-group SRC_NETWORK_OBJECT_GROUP host 10.1.2.3 + 130 permit tcp object-group SRC_NETWORK_OBJECT_GROUP 10.1.2.0 0.0.0.255 + 140 permit tcp host 10.1.2.3 object-group DST_NETWORK_OBJECT_GROUP + 150 permit tcp 10.1.2.0 0.0.0.255 object-group DST_NETWORK_OBJECT_GROUP + 160 permit SERVICE_OBJECT_GROUP object-group SRC_NETWORK_OBJECT_GROUP object-group DST_NETWORK_OBJECT_GROUP + 170 permit SERVICE_OBJECT_GROUP object-group SRC_NETWORK_OBJECT_GROUP host 10.1.2.3 + 180 permit SERVICE_OBJECT_GROUP object-group SRC_NETWORK_OBJECT_GROUP 10.1.2.0 0.0.0.255 + 190 permit SERVICE_OBJECT_GROUP host 10.1.2.3 object-group DST_NETWORK_OBJECT_GROUP + 200 permit SERVICE_OBJECT_GROUP 10.1.2.0 0.0.0.255 object-group DST_NETWORK_OBJECT_GROUP diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.yml new file mode 100644 index 0000000000..b54ceea24f --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_1104.yml @@ -0,0 +1,674 @@ +--- +parsed_sample: + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "10" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "eq" + dst_port: "domain" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "eq" + src_port: "snmp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "30" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "40" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.2.3" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "" + dst_port_match: "eq" + dst_port: "domain" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "50" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.2.0" + dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "10.1.2.3" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "eq" + dst_port: "domain" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.1.2.0" + src_wildcard: "0.0.0.255" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "eq" + src_port: "snmp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.2.3" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "eq" + src_port: "snmp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.2.0" + dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.2.3" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "eq" + src_port: "snmp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.2.0" + src_wildcard: "0.0.0.255" + src_network_object_group_name: "" + src_port_match: "eq" + src_port: "snmp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "120" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.2.3" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "130" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.2.0" + dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "140" + action: "permit" + protocol: "tcp" + src_host: "10.1.2.3" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "150" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.2.0" + src_wildcard: "0.0.0.255" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "160" + action: "permit" + protocol: "SERVICE_OBJECT_GROUP" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "170" + action: "permit" + protocol: "SERVICE_OBJECT_GROUP" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.2.3" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "180" + action: "permit" + protocol: "SERVICE_OBJECT_GROUP" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "SRC_NETWORK_OBJECT_GROUP" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.2.0" + dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "190" + action: "permit" + protocol: "SERVICE_OBJECT_GROUP" + src_host: "10.1.2.3" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "access-acl" + line_num: "200" + action: "permit" + protocol: "SERVICE_OBJECT_GROUP" + src_host: "" + src_any: "" + src_network: "10.1.2.0" + src_wildcard: "0.0.0.255" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_network_object_group_name: "DST_NETWORK_OBJECT_GROUP" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + service_object_group_name: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml index 2c47d9aad8..5b4ab92d07 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml @@ -9,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -17,10 +18,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -38,6 +41,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -46,10 +50,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -67,6 +73,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -75,10 +82,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -96,6 +105,7 @@ parsed_sample: src_any: "" src_network: "10.0.10.0" src_wildcard: "0.255.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -104,10 +114,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -125,6 +137,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -133,10 +146,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -154,6 +169,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -162,10 +178,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -183,6 +201,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -191,10 +210,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -212,6 +233,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -220,10 +242,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -241,6 +265,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -249,10 +274,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -270,6 +297,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -278,10 +306,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -299,6 +329,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -307,10 +338,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -328,6 +361,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -336,10 +370,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -357,6 +393,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -365,10 +402,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -386,6 +425,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "range" src_port: "" src_port_range_start: "16384" @@ -394,10 +434,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -415,6 +457,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "snmp bootpc" src_port_range_start: "" @@ -423,10 +466,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.0.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -444,6 +489,7 @@ parsed_sample: src_any: "" src_network: "10.0.0.0" src_wildcard: "0.255.255.255" + src_network_object_group_name: "" src_port_match: "eq" src_port: "telnet ssh http 8080" src_port_range_start: "" @@ -452,10 +498,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "neq" dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -473,6 +521,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -481,10 +530,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" @@ -502,6 +553,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -510,10 +562,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established" log: "" @@ -531,6 +585,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -539,10 +594,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established psh" log: "" @@ -560,6 +617,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -568,10 +626,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "precedence" dst_port: "internet" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -589,6 +649,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -597,10 +658,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "tos" dst_port: "normal" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -618,6 +681,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -626,10 +690,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -647,6 +713,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -655,10 +722,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -676,6 +745,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "bgp" src_port_range_start: "" @@ -684,10 +754,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -705,6 +777,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -713,10 +786,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -734,6 +809,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -742,10 +818,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -763,6 +841,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -771,10 +850,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -792,6 +873,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -800,10 +882,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -821,6 +905,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -829,10 +914,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -850,6 +937,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -858,10 +946,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -879,6 +969,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -887,10 +978,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -908,6 +1001,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -916,10 +1010,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -937,6 +1033,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -945,10 +1042,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -966,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -974,10 +1074,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -995,6 +1097,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1003,10 +1106,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1024,6 +1129,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1032,10 +1138,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1053,6 +1161,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1061,10 +1170,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1082,6 +1193,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1090,10 +1202,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1111,6 +1225,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1119,10 +1234,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1140,6 +1257,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1148,10 +1266,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1169,6 +1289,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1177,10 +1298,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1198,6 +1321,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1206,10 +1330,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1227,6 +1353,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1235,10 +1362,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1256,6 +1385,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1264,10 +1394,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1285,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1293,10 +1426,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1314,6 +1449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1322,10 +1458,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1343,6 +1481,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1351,10 +1490,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1372,6 +1513,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1380,10 +1522,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1401,6 +1545,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1409,10 +1554,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1430,6 +1577,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1438,10 +1586,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1459,6 +1609,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1467,10 +1618,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1488,6 +1641,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1496,10 +1650,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1517,6 +1673,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1525,10 +1682,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1546,6 +1705,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1554,10 +1714,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1575,6 +1737,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1583,10 +1746,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1604,6 +1769,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1612,10 +1778,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1633,6 +1801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1641,10 +1810,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1662,6 +1833,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1670,10 +1842,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1691,6 +1865,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1699,10 +1874,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1720,6 +1897,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1728,10 +1906,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1749,6 +1929,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1757,10 +1938,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1778,6 +1961,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1786,10 +1970,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1807,6 +1993,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1815,10 +2002,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1836,6 +2025,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1844,10 +2034,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1865,6 +2057,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1873,10 +2066,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1894,6 +2089,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1902,10 +2098,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1923,6 +2121,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1931,10 +2130,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1952,6 +2153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1960,10 +2162,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1981,6 +2185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1989,10 +2194,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2010,6 +2217,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2018,10 +2226,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2039,6 +2249,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2047,10 +2258,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2068,6 +2281,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2076,10 +2290,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2097,6 +2313,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2105,10 +2322,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2126,6 +2345,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2134,10 +2354,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2155,6 +2377,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2163,10 +2386,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2184,6 +2409,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2192,10 +2418,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2213,6 +2441,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2221,10 +2450,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2242,6 +2473,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2250,10 +2482,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2271,6 +2505,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2279,10 +2514,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2300,6 +2537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2308,10 +2546,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2329,6 +2569,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2337,10 +2578,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2358,6 +2601,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2366,10 +2610,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2387,6 +2633,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2395,10 +2642,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2416,6 +2665,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2424,10 +2674,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2445,6 +2697,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2453,10 +2706,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2474,6 +2729,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2482,10 +2738,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2503,6 +2761,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2511,10 +2770,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2532,6 +2793,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2540,10 +2802,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2561,6 +2825,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2569,10 +2834,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2590,6 +2857,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2598,10 +2866,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2619,6 +2889,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2627,10 +2898,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2648,6 +2921,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2656,10 +2930,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2677,6 +2953,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2685,10 +2962,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2706,6 +2985,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2714,10 +2994,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2735,6 +3017,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2743,10 +3026,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2764,6 +3049,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2772,10 +3058,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2793,6 +3081,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2801,10 +3090,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2822,6 +3113,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2830,10 +3122,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2851,6 +3145,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2859,10 +3154,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2880,6 +3177,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2888,10 +3186,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml index 2ea258e3ad..91e6b2c12b 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml @@ -9,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -17,10 +18,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -38,6 +41,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -46,10 +50,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -67,6 +73,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -75,10 +82,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -96,6 +105,7 @@ parsed_sample: src_any: "" src_network: "10.0.10.0" src_wildcard: "0.255.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -104,10 +114,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -125,6 +137,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -133,10 +146,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -154,6 +169,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -162,10 +178,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -183,6 +201,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -191,10 +210,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -212,6 +233,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -220,10 +242,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -241,6 +265,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -249,10 +274,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -270,6 +297,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -278,10 +306,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -299,6 +329,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -307,10 +338,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -328,6 +361,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -336,10 +370,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -357,6 +393,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -365,10 +402,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -386,6 +425,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "range" src_port: "" src_port_range_start: "16384" @@ -394,10 +434,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -415,6 +457,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "snmp bootpc" src_port_range_start: "" @@ -423,10 +466,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.0.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -444,6 +489,7 @@ parsed_sample: src_any: "" src_network: "10.0.0.0" src_wildcard: "0.255.255.255" + src_network_object_group_name: "" src_port_match: "eq" src_port: "telnet ssh http 8080" src_port_range_start: "" @@ -452,10 +498,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "neq" dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -473,6 +521,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -481,10 +530,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" @@ -502,6 +553,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -510,10 +562,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established" log: "" @@ -531,6 +585,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -539,10 +594,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established psh" log: "" @@ -560,6 +617,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -568,10 +626,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "precedence" dst_port: "internet" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -589,6 +649,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -597,10 +658,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "tos" dst_port: "normal" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -618,6 +681,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -626,10 +690,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -647,6 +713,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -655,10 +722,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -676,6 +745,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "bgp" src_port_range_start: "" @@ -684,10 +754,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -705,6 +777,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -713,10 +786,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -734,6 +809,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -742,10 +818,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -763,6 +841,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -771,10 +850,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -792,6 +873,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -800,10 +882,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -821,6 +905,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -829,10 +914,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -850,6 +937,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -858,10 +946,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -879,6 +969,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -887,10 +978,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -908,6 +1001,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -916,10 +1010,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -937,6 +1033,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -945,10 +1042,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -966,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -974,10 +1074,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -995,6 +1097,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1003,10 +1106,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1024,6 +1129,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1032,10 +1138,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1053,6 +1161,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1061,10 +1170,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1082,6 +1193,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1090,10 +1202,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1111,6 +1225,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1119,10 +1234,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1140,6 +1257,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1148,10 +1266,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1169,6 +1289,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1177,10 +1298,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1198,6 +1321,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1206,10 +1330,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1227,6 +1353,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1235,10 +1362,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1256,6 +1385,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1264,10 +1394,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1285,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1293,10 +1426,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1314,6 +1449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1322,10 +1458,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1343,6 +1481,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1351,10 +1490,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1372,6 +1513,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1380,10 +1522,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1401,6 +1545,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1409,10 +1554,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1430,6 +1577,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1438,10 +1586,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1459,6 +1609,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1467,10 +1618,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1488,6 +1641,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1496,10 +1650,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1517,6 +1673,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1525,10 +1682,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1546,6 +1705,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1554,10 +1714,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1575,6 +1737,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1583,10 +1746,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1604,6 +1769,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1612,10 +1778,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1633,6 +1801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1641,10 +1810,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1662,6 +1833,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1670,10 +1842,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1691,6 +1865,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1699,10 +1874,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1720,6 +1897,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1728,10 +1906,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1749,6 +1929,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1757,10 +1938,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1778,6 +1961,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1786,10 +1970,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1807,6 +1993,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1815,10 +2002,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1836,6 +2025,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1844,10 +2034,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1865,6 +2057,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1873,10 +2066,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1894,6 +2089,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1902,10 +2098,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1923,6 +2121,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1931,10 +2130,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1952,6 +2153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1960,10 +2162,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1981,6 +2185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1989,10 +2194,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2010,6 +2217,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2018,10 +2226,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2039,6 +2249,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2047,10 +2258,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2068,6 +2281,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2076,10 +2290,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2097,6 +2313,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2105,10 +2322,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2126,6 +2345,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2134,10 +2354,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2155,6 +2377,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2163,10 +2386,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2184,6 +2409,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2192,10 +2418,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2213,6 +2441,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2221,10 +2450,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2242,6 +2473,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2250,10 +2482,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2271,6 +2505,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2279,10 +2514,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2300,6 +2537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2308,10 +2546,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2329,6 +2569,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2337,10 +2578,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2358,6 +2601,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2366,10 +2610,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2387,6 +2633,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2395,10 +2642,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2416,6 +2665,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2424,10 +2674,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2445,6 +2697,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2453,10 +2706,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2474,6 +2729,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2482,10 +2738,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2503,6 +2761,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2511,10 +2770,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2532,6 +2793,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2540,10 +2802,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2561,6 +2825,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2569,10 +2834,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2590,6 +2857,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2598,10 +2866,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2619,6 +2889,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2627,10 +2898,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2648,6 +2921,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2656,10 +2930,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2677,6 +2953,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2685,10 +2962,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2706,6 +2985,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2714,10 +2994,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2735,6 +3017,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2743,10 +3026,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2764,6 +3049,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2772,10 +3058,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2793,6 +3081,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2801,10 +3090,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2822,6 +3113,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2830,10 +3122,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2851,6 +3145,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2859,10 +3154,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2880,6 +3177,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2888,10 +3186,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2909,6 +3209,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2917,10 +3218,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2938,6 +3241,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2946,10 +3250,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml index 06b84da3e1..dba7c7ec0b 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml @@ -9,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -17,10 +18,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -38,6 +41,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -46,10 +50,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -67,6 +73,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -75,10 +82,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -96,6 +105,7 @@ parsed_sample: src_any: "" src_network: "10.0.10.0" src_wildcard: "0.255.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -104,10 +114,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -125,6 +137,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -133,10 +146,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -154,6 +169,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -162,10 +178,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -183,6 +201,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -191,10 +210,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -212,6 +233,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -220,10 +242,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -241,6 +265,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -249,10 +274,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -270,6 +297,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -278,10 +306,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -299,6 +329,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -307,10 +338,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -328,6 +361,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -336,10 +370,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -357,6 +393,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -365,10 +402,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -386,6 +425,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -394,10 +434,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -415,6 +457,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "range" src_port: "" src_port_range_start: "16384" @@ -423,10 +466,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -444,6 +489,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "snmp bootpc" src_port_range_start: "" @@ -452,10 +498,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.0.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -473,6 +521,7 @@ parsed_sample: src_any: "" src_network: "10.0.0.0" src_wildcard: "0.255.255.255" + src_network_object_group_name: "" src_port_match: "eq" src_port: "telnet ssh http 8080" src_port_range_start: "" @@ -481,10 +530,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "neq" dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -502,6 +553,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -510,10 +562,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" @@ -531,6 +585,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -539,10 +594,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established" log: "" @@ -560,6 +617,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -568,10 +626,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established psh" log: "" @@ -589,6 +649,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -597,10 +658,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "precedence" dst_port: "internet" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -618,6 +681,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -626,10 +690,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "tos" dst_port: "normal" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -647,6 +713,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -655,10 +722,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -676,6 +745,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -684,10 +754,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -705,6 +777,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "bgp" src_port_range_start: "" @@ -713,10 +786,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -734,6 +809,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -742,10 +818,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -763,6 +841,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -771,10 +850,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -792,6 +873,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -800,10 +882,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -821,6 +905,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -829,10 +914,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -850,6 +937,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -858,10 +946,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -879,6 +969,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -887,10 +978,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -908,6 +1001,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -916,10 +1010,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -937,6 +1033,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -945,10 +1042,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -966,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -974,10 +1074,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -995,6 +1097,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1003,10 +1106,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1024,6 +1129,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1032,10 +1138,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1053,6 +1161,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1061,10 +1170,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1082,6 +1193,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1090,10 +1202,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1111,6 +1225,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1119,10 +1234,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1140,6 +1257,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1148,10 +1266,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1169,6 +1289,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1177,10 +1298,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1198,6 +1321,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1206,10 +1330,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1227,6 +1353,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1235,10 +1362,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1256,6 +1385,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1264,10 +1394,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1285,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1293,10 +1426,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1314,6 +1449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1322,10 +1458,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1343,6 +1481,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1351,10 +1490,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1372,6 +1513,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1380,10 +1522,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1401,6 +1545,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1409,10 +1554,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1430,6 +1577,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1438,10 +1586,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1459,6 +1609,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1467,10 +1618,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1488,6 +1641,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1496,10 +1650,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1517,6 +1673,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1525,10 +1682,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1546,6 +1705,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1554,10 +1714,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1575,6 +1737,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1583,10 +1746,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1604,6 +1769,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1612,10 +1778,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1633,6 +1801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1641,10 +1810,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1662,6 +1833,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1670,10 +1842,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1691,6 +1865,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1699,10 +1874,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1720,6 +1897,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1728,10 +1906,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1749,6 +1929,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1757,10 +1938,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1778,6 +1961,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1786,10 +1970,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1807,6 +1993,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1815,10 +2002,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1836,6 +2025,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1844,10 +2034,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1865,6 +2057,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1873,10 +2066,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1894,6 +2089,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1902,10 +2098,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1923,6 +2121,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1931,10 +2130,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1952,6 +2153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1960,10 +2162,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1981,6 +2185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1989,10 +2194,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2010,6 +2217,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2018,10 +2226,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2039,6 +2249,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2047,10 +2258,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2068,6 +2281,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2076,10 +2290,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2097,6 +2313,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2105,10 +2322,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2126,6 +2345,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2134,10 +2354,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2155,6 +2377,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2163,10 +2386,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2184,6 +2409,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2192,10 +2418,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2213,6 +2441,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2221,10 +2450,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2242,6 +2473,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2250,10 +2482,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2271,6 +2505,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2279,10 +2514,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2300,6 +2537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2308,10 +2546,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2329,6 +2569,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2337,10 +2578,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2358,6 +2601,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2366,10 +2610,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2387,6 +2633,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2395,10 +2642,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2416,6 +2665,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2424,10 +2674,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2445,6 +2697,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2453,10 +2706,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2474,6 +2729,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2482,10 +2738,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2503,6 +2761,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2511,10 +2770,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2532,6 +2793,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2540,10 +2802,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2561,6 +2825,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2569,10 +2834,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2590,6 +2857,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2598,10 +2866,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2619,6 +2889,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2627,10 +2898,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2648,6 +2921,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2656,10 +2930,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2677,6 +2953,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2685,10 +2962,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2706,6 +2985,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2714,10 +2994,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2735,6 +3017,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2743,10 +3026,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2764,6 +3049,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2772,10 +3058,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2793,6 +3081,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2801,10 +3090,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2822,6 +3113,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2830,10 +3122,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2851,6 +3145,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2859,10 +3154,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2880,6 +3177,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2888,10 +3186,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2909,6 +3209,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2917,10 +3218,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2938,6 +3241,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2946,10 +3250,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2967,6 +3273,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2975,10 +3282,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2987,119 +3296,131 @@ parsed_sample: time: "" state: "" matches: "" - - acl_name: "Log_Tags_Test" - acl_type: "Extended" + - acl_type: "Extended" + acl_name: "Log_Tags_Test" + line_num: "" action: "" - dst_any: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_network_object_group_name: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" dst_host: "" + dst_any: "" dst_network: "" - dst_port: "" + dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" - dst_port_range_end: "" + dst_port: "" dst_port_range_start: "" - dst_wildcard: "" + dst_port_range_end: "" + service_object_group_name: "" flags_match: "" - icmp_type: "" - line_num: "" + tcp_flag: "" log: "" log_tag: "" + icmp_type: "" + time: "" + state: "" matches: "" - protocol: "" + - acl_type: "Extended" + acl_name: "Log_Tags_Test" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "169.254.3.3" src_any: "" - src_host: "" src_network: "" - src_port: "" - src_port_match: "" - src_port_range_end: "" - src_port_range_start: "" src_wildcard: "" - state: "" - tcp_flag: "" - time: "" - - acl_name: "Log_Tags_Test" - acl_type: "Extended" - action: "permit" - dst_any: "" + src_network_object_group_name: "" + src_port_match: "gt" + src_port: "1023" + src_port_range_start: "" + src_port_range_end: "" dst_host: "" + dst_any: "" dst_network: "169.254.3.4" - dst_port: "" + dst_wildcard: "0.0.0.1" + dst_network_object_group_name: "" dst_port_match: "" - dst_port_range_end: "" + dst_port: "" dst_port_range_start: "" - dst_wildcard: "0.0.0.1" + dst_port_range_end: "" + service_object_group_name: "" flags_match: "" - icmp_type: "" - line_num: "10" + tcp_flag: "" log: "log" log_tag: "established" + icmp_type: "" + time: "" + state: "" matches: "" + - acl_type: "Extended" + acl_name: "Log_Tags_Test" + line_num: "20" + action: "permit" protocol: "tcp" - src_any: "" src_host: "169.254.3.3" + src_any: "" src_network: "" - src_port: "1023" + src_wildcard: "" + src_network_object_group_name: "" src_port_match: "gt" - src_port_range_end: "" + src_port: "1023" src_port_range_start: "" - src_wildcard: "" - state: "" - tcp_flag: "" - time: "" - - acl_name: "Log_Tags_Test" - acl_type: "Extended" - action: "permit" - dst_any: "" + src_port_range_end: "" dst_host: "" + dst_any: "" dst_network: "169.254.3.4" - dst_port: "" + dst_wildcard: "0.0.0.1" + dst_network_object_group_name: "" dst_port_match: "" - dst_port_range_end: "" + dst_port: "" dst_port_range_start: "" - dst_wildcard: "0.0.0.1" + dst_port_range_end: "" + service_object_group_name: "" flags_match: "" - icmp_type: "" - line_num: "20" + tcp_flag: "established" log: "log" log_tag: "" + icmp_type: "" + time: "" + state: "" matches: "" + - acl_type: "Extended" + acl_name: "Log_Tags_Test" + line_num: "30" + action: "permit" protocol: "tcp" - src_any: "" src_host: "169.254.3.3" + src_any: "" src_network: "" - src_port: "1023" + src_wildcard: "" + src_network_object_group_name: "" src_port_match: "gt" - src_port_range_end: "" + src_port: "1023" src_port_range_start: "" - src_wildcard: "" - state: "" - tcp_flag: "established" - time: "" - - acl_name: "Log_Tags_Test" - acl_type: "Extended" - action: "permit" - dst_any: "" + src_port_range_end: "" dst_host: "" + dst_any: "" dst_network: "169.254.3.4" - dst_port: "" + dst_wildcard: "0.0.0.1" + dst_network_object_group_name: "" dst_port_match: "" - dst_port_range_end: "" + dst_port: "" dst_port_range_start: "" - dst_wildcard: "0.0.0.1" + dst_port_range_end: "" + service_object_group_name: "" flags_match: "" - icmp_type: "" - line_num: "30" + tcp_flag: "established" log: "log" log_tag: "tag_name" - matches: "" - protocol: "tcp" - src_any: "" - src_host: "169.254.3.3" - src_network: "" - src_port: "1023" - src_port_match: "gt" - src_port_range_end: "" - src_port_range_start: "" - src_wildcard: "" - state: "" - tcp_flag: "established" + icmp_type: "" time: "" + state: "" + matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml index d2d52c1414..9c410e372f 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -9,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -17,10 +18,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -38,6 +41,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -46,10 +50,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -67,6 +73,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -75,10 +82,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -96,6 +105,7 @@ parsed_sample: src_any: "" src_network: "10.0.10.0" src_wildcard: "0.255.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -104,10 +114,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -125,6 +137,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -133,10 +146,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -154,6 +169,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -162,10 +178,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -183,6 +201,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -191,10 +210,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -212,6 +233,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -220,10 +242,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -241,6 +265,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -249,10 +274,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -270,6 +297,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -278,10 +306,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -299,6 +329,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -307,10 +338,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -328,6 +361,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -336,10 +370,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log-input" @@ -357,6 +393,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -365,10 +402,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -386,6 +425,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "range" src_port: "" src_port_range_start: "16384" @@ -394,10 +434,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -415,6 +457,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "snmp bootpc" src_port_range_start: "" @@ -423,10 +466,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.0.0" dst_wildcard: "0.0.0.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -444,6 +489,7 @@ parsed_sample: src_any: "" src_network: "10.0.0.0" src_wildcard: "0.255.255.255" + src_network_object_group_name: "" src_port_match: "eq" src_port: "telnet ssh http 8080" src_port_range_start: "" @@ -452,10 +498,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "neq" dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -473,6 +521,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -481,10 +530,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" @@ -502,6 +553,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -510,10 +562,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established" log: "" @@ -531,6 +585,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -539,10 +594,12 @@ parsed_sample: dst_any: "" dst_network: "10.1.1.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "established psh" log: "" @@ -560,6 +617,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -568,10 +626,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -589,6 +649,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -597,10 +658,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -618,6 +681,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "eq" src_port: "bgp" src_port_range_start: "" @@ -626,10 +690,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -647,6 +713,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -655,10 +722,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -676,6 +745,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -684,10 +754,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -705,6 +777,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -713,10 +786,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -734,6 +809,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -742,10 +818,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -763,6 +841,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -771,10 +850,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -792,6 +873,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -800,10 +882,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -821,6 +905,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -829,10 +914,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -850,6 +937,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -858,10 +946,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -879,6 +969,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -887,10 +978,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -908,6 +1001,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -916,10 +1010,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -937,6 +1033,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -945,10 +1042,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -966,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -974,10 +1074,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -995,6 +1097,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1003,10 +1106,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1024,6 +1129,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1032,10 +1138,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1053,6 +1161,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1061,10 +1170,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1082,6 +1193,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1090,10 +1202,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1111,6 +1225,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1119,10 +1234,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1140,6 +1257,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1148,10 +1266,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1169,6 +1289,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1177,10 +1298,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1198,6 +1321,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1206,10 +1330,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1227,6 +1353,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1235,10 +1362,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1256,6 +1385,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1264,10 +1394,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1285,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1293,10 +1426,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1314,6 +1449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1322,10 +1458,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1343,6 +1481,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1351,10 +1490,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1372,6 +1513,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1380,10 +1522,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1401,6 +1545,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1409,10 +1554,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1430,6 +1577,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1438,10 +1586,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1459,6 +1609,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1467,10 +1618,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1488,6 +1641,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1496,10 +1650,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1517,6 +1673,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1525,10 +1682,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1546,6 +1705,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1554,10 +1714,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1575,6 +1737,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1583,10 +1746,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1604,6 +1769,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1612,10 +1778,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1633,6 +1801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1641,10 +1810,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1662,6 +1833,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1670,10 +1842,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1691,6 +1865,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1699,10 +1874,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1720,6 +1897,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1728,10 +1906,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1749,6 +1929,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1757,10 +1938,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1778,6 +1961,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1786,10 +1970,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1807,6 +1993,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1815,10 +2002,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1836,6 +2025,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1844,10 +2034,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1865,6 +2057,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1873,10 +2066,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1894,6 +2089,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1902,10 +2098,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1923,6 +2121,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1931,10 +2130,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1952,6 +2153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1960,10 +2162,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -1981,6 +2185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1989,10 +2194,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2010,6 +2217,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2018,10 +2226,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2039,6 +2249,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2047,10 +2258,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2068,6 +2281,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2076,10 +2290,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2097,6 +2313,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2105,10 +2322,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2126,6 +2345,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2134,10 +2354,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2155,6 +2377,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2163,10 +2386,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2184,6 +2409,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2192,10 +2418,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2213,6 +2441,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2221,10 +2450,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2242,6 +2473,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2250,10 +2482,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2271,6 +2505,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2279,10 +2514,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2300,6 +2537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2308,10 +2546,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2329,6 +2569,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2337,10 +2578,12 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2358,6 +2601,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2366,10 +2610,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2387,6 +2633,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2395,10 +2642,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2416,6 +2665,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2424,10 +2674,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2445,6 +2697,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2453,10 +2706,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2474,6 +2729,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2482,10 +2738,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2503,6 +2761,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2511,10 +2770,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2532,6 +2793,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2540,10 +2802,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2561,6 +2825,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2569,10 +2834,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2590,6 +2857,7 @@ parsed_sample: src_any: "any" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2598,10 +2866,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2619,6 +2889,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2627,10 +2898,12 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2648,6 +2921,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2656,10 +2930,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2677,6 +2953,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2685,10 +2962,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2706,6 +2985,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2714,10 +2994,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" @@ -2735,6 +3017,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2743,10 +3026,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2764,6 +3049,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2772,10 +3058,12 @@ parsed_sample: dst_any: "any" dst_network: "" dst_wildcard: "" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2793,6 +3081,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2801,10 +3090,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "" @@ -2822,6 +3113,7 @@ parsed_sample: src_any: "" src_network: "10.10.10.0" src_wildcard: "0.0.0.255" + src_network_object_group_name: "" src_port_match: "" src_port: "" src_port_range_start: "" @@ -2830,10 +3122,12 @@ parsed_sample: dst_any: "" dst_network: "20.20.0.0" dst_wildcard: "0.0.255.255" + dst_network_object_group_name: "" dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + service_object_group_name: "" flags_match: "" tcp_flag: "" log: "log" From c5a9481cc7ee26dde00e4c2c7025ceb8d4329428 Mon Sep 17 00:00:00 2001 From: Jochen Bartl Date: Sat, 9 Apr 2022 17:20:38 +0200 Subject: [PATCH 263/412] Add Cisco IOS XR show install active (#1105) --- .../cisco_xr_show_install_active.textfsm | 27 +++++ ntc_templates/templates/index | 1 + .../cisco_xr_show_install_active.raw | 90 +++++++++++++++++ .../cisco_xr_show_install_active.yml | 98 +++++++++++++++++++ .../cisco_xr_show_install_active_32bit.raw | 69 +++++++++++++ .../cisco_xr_show_install_active_32bit.yml | 72 ++++++++++++++ 6 files changed, 357 insertions(+) create mode 100644 ntc_templates/templates/cisco_xr_show_install_active.textfsm create mode 100644 tests/cisco_xr/show_install_active/cisco_xr_show_install_active.raw create mode 100644 tests/cisco_xr/show_install_active/cisco_xr_show_install_active.yml create mode 100644 tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.raw create mode 100644 tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.yml diff --git a/ntc_templates/templates/cisco_xr_show_install_active.textfsm b/ntc_templates/templates/cisco_xr_show_install_active.textfsm new file mode 100644 index 0000000000..1092ae9c61 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_install_active.textfsm @@ -0,0 +1,27 @@ +Value Required NODE (\S+) +Value NODE_TYPE (\w+) +Value BOOT_PARTITION (\S+) +Value BOOT_DEVICE (\S+) +Value BOOT_IMAGE (\S+) +Value List PACKAGES (\S+) + +Start + # Match the timestamp at beginning of command output + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ + ^Label\s+: + ^Secure\s+Domain\s+Router: + ^\s*Node\s+${NODE}\s+\[${NODE_TYPE}\] -> Node + ^\s*$$ + ^. -> Error "LINE NOT FOUND" + +Node + ^\s+Boot\s+Partition:\s+${BOOT_PARTITION} + ^\s+Boot\s+Device:\s+${BOOT_DEVICE} + ^\s+Boot\s+Image:\s+${BOOT_IMAGE} + ^\s+Active\s+Packages: -> Packages + ^. -> Error "LINE NOT FOUND" + +Packages + ^\s+${PACKAGES} + ^\s*$$ -> Record Start + ^. -> Error "LINE NOT FOUND" diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 2b2368b7c0..2e08976c1e 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -391,6 +391,7 @@ cisco_xr_show_redundancy_summary.textfsm, .*, cisco_xr, sh[[ow]] redun[[dancy]] cisco_xr_admin_show_inventory.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] cisco_xr_show_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] +cisco_xr_show_install_active.textfsm, .*, cisco_xr, sh[[ow]] install active cisco_xr_show_ip_bgp_summary.textfsm, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] cisco_xr_show_ipv6_neighbors.textfsm, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] cisco_xr_show_isis_neighbors.textfsm, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] diff --git a/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.raw b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.raw new file mode 100644 index 0000000000..ecc078613a --- /dev/null +++ b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.raw @@ -0,0 +1,90 @@ +Mon Feb 28 23:36:31.563 CET +Label : 7.3.2 + +Node 0/RP0/CPU0 [RP] + Boot Partition: xr_lv38 + Active Packages: 18 + ncs5500-xr-7.3.2 version=7.3.2 [Boot image] + ncs5500-mcast-3.0.0.0-r732 + ncs5500-dpa-3.0.0.1-r732.CSCwa07903 + ncs5500-mpls-2.1.0.0-r732 + ncs5500-os-6.0.0.1-r732.CSCvq20498 + ncs5500-k9sec-3.2.0.0-r732 + ncs5500-os-support-4.0.0.2-r732.CSCvz72160 + ncs5500-eigrp-1.0.0.0-r732 + ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439 + ncs5500-li-1.0.0.0-r732 + ncs5500-parser-3.0.0.1-r732.CSCwa44780 + ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375 + ncs5500-mgbl-3.0.0.0-r732 + ncs5500-isis-2.1.0.0-r732 + ncs5500-bgp-2.0.0.1-r732.CSCvz94897 + ncs5500-mpls-te-rsvp-3.1.0.0-r732 + ncs5500-infra-5.0.0.5-r732.CSCvu13993 + ncs5500-ospf-3.0.0.0-r732 + +Node 0/RP1/CPU0 [RP] + Boot Partition: xr_lv38 + Active Packages: 18 + ncs5500-xr-7.3.2 version=7.3.2 [Boot image] + ncs5500-mcast-3.0.0.0-r732 + ncs5500-dpa-3.0.0.3-r732.CSCvz54050 + ncs5500-mpls-2.1.0.0-r732 + ncs5500-os-6.0.0.1-r732.CSCvq20498 + ncs5500-k9sec-3.2.0.0-r732 + ncs5500-eigrp-1.0.0.0-r732 + ncs5500-os-support-4.0.0.5-r732.CSCwa01498 + ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439 + ncs5500-li-1.0.0.0-r732 + ncs5500-parser-3.0.0.1-r732.CSCwa44780 + ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375 + ncs5500-mgbl-3.0.0.0-r732 + ncs5500-isis-2.1.0.0-r732 + ncs5500-bgp-2.0.0.1-r732.CSCvz94897 + ncs5500-mpls-te-rsvp-3.1.0.0-r732 + ncs5500-infra-5.0.0.5-r732.CSCvu13993 + ncs5500-ospf-3.0.0.0-r732 + +Node 0/0/CPU0 [LC] + Boot Partition: xr_lv0 + Active Packages: 18 + ncs5500-xr-7.3.2 version=7.3.2 [Boot image] + ncs5500-eigrp-1.0.0.0-r732 + ncs5500-k9sec-3.2.0.0-r732 + ncs5500-mpls-2.1.0.0-r732 + ncs5500-li-1.0.0.0-r732 + ncs5500-mgbl-3.0.0.0-r732 + ncs5500-mpls-te-rsvp-3.1.0.0-r732 + ncs5500-isis-2.1.0.0-r732 + ncs5500-ospf-3.0.0.0-r732 + ncs5500-mcast-3.0.0.0-r732 + ncs5500-bgp-2.0.0.1-r732.CSCvz94897 + ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439 + ncs5500-os-6.0.0.1-r732.CSCvq20498 + ncs5500-os-support-4.0.0.5-r732.CSCwa01498 + ncs5500-dpa-3.0.0.5-r732.CSCwa05129 + ncs5500-parser-3.0.0.1-r732.CSCwa44780 + ncs5500-infra-5.0.0.5-r732.CSCvu13993 + ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375 + +Node 0/1/CPU0 [LC] + Boot Partition: xr_lv38 + Active Packages: 18 + ncs5500-xr-7.3.2 version=7.3.2 [Boot image] + ncs5500-dpa-3.0.0.5-r732.CSCwa05129 + ncs5500-mcast-3.0.0.0-r732 + ncs5500-mpls-2.1.0.0-r732 + ncs5500-os-6.0.0.1-r732.CSCvq20498 + ncs5500-k9sec-3.2.0.0-r732 + ncs5500-eigrp-1.0.0.0-r732 + ncs5500-os-support-4.0.0.5-r732.CSCwa01498 + ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439 + ncs5500-dpa-fwding-4.1.0.1-r732.CSCwa03269 + ncs5500-li-1.0.0.0-r732 + ncs5500-parser-3.0.0.1-r732.CSCwa44780 + ncs5500-mgbl-3.0.0.0-r732 + ncs5500-isis-2.1.0.0-r732 + ncs5500-bgp-2.0.0.1-r732.CSCvz94897 + ncs5500-mpls-te-rsvp-3.1.0.0-r732 + ncs5500-infra-5.0.0.5-r732.CSCvu13993 + ncs5500-ospf-3.0.0.0-r732 diff --git a/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.yml b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.yml new file mode 100644 index 0000000000..391b2b631a --- /dev/null +++ b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - node: "0/RP0/CPU0" + node_type: "RP" + boot_partition: "xr_lv38" + boot_device: "" + boot_image: "" + packages: + - "ncs5500-xr-7.3.2" + - "ncs5500-mcast-3.0.0.0-r732" + - "ncs5500-dpa-3.0.0.1-r732.CSCwa07903" + - "ncs5500-mpls-2.1.0.0-r732" + - "ncs5500-os-6.0.0.1-r732.CSCvq20498" + - "ncs5500-k9sec-3.2.0.0-r732" + - "ncs5500-os-support-4.0.0.2-r732.CSCvz72160" + - "ncs5500-eigrp-1.0.0.0-r732" + - "ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439" + - "ncs5500-li-1.0.0.0-r732" + - "ncs5500-parser-3.0.0.1-r732.CSCwa44780" + - "ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375" + - "ncs5500-mgbl-3.0.0.0-r732" + - "ncs5500-isis-2.1.0.0-r732" + - "ncs5500-bgp-2.0.0.1-r732.CSCvz94897" + - "ncs5500-mpls-te-rsvp-3.1.0.0-r732" + - "ncs5500-infra-5.0.0.5-r732.CSCvu13993" + - "ncs5500-ospf-3.0.0.0-r732" + - node: "0/RP1/CPU0" + node_type: "RP" + boot_partition: "xr_lv38" + boot_device: "" + boot_image: "" + packages: + - "ncs5500-xr-7.3.2" + - "ncs5500-mcast-3.0.0.0-r732" + - "ncs5500-dpa-3.0.0.3-r732.CSCvz54050" + - "ncs5500-mpls-2.1.0.0-r732" + - "ncs5500-os-6.0.0.1-r732.CSCvq20498" + - "ncs5500-k9sec-3.2.0.0-r732" + - "ncs5500-eigrp-1.0.0.0-r732" + - "ncs5500-os-support-4.0.0.5-r732.CSCwa01498" + - "ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439" + - "ncs5500-li-1.0.0.0-r732" + - "ncs5500-parser-3.0.0.1-r732.CSCwa44780" + - "ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375" + - "ncs5500-mgbl-3.0.0.0-r732" + - "ncs5500-isis-2.1.0.0-r732" + - "ncs5500-bgp-2.0.0.1-r732.CSCvz94897" + - "ncs5500-mpls-te-rsvp-3.1.0.0-r732" + - "ncs5500-infra-5.0.0.5-r732.CSCvu13993" + - "ncs5500-ospf-3.0.0.0-r732" + - node: "0/0/CPU0" + node_type: "LC" + boot_partition: "xr_lv0" + boot_device: "" + boot_image: "" + packages: + - "ncs5500-xr-7.3.2" + - "ncs5500-eigrp-1.0.0.0-r732" + - "ncs5500-k9sec-3.2.0.0-r732" + - "ncs5500-mpls-2.1.0.0-r732" + - "ncs5500-li-1.0.0.0-r732" + - "ncs5500-mgbl-3.0.0.0-r732" + - "ncs5500-mpls-te-rsvp-3.1.0.0-r732" + - "ncs5500-isis-2.1.0.0-r732" + - "ncs5500-ospf-3.0.0.0-r732" + - "ncs5500-mcast-3.0.0.0-r732" + - "ncs5500-bgp-2.0.0.1-r732.CSCvz94897" + - "ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439" + - "ncs5500-os-6.0.0.1-r732.CSCvq20498" + - "ncs5500-os-support-4.0.0.5-r732.CSCwa01498" + - "ncs5500-dpa-3.0.0.5-r732.CSCwa05129" + - "ncs5500-parser-3.0.0.1-r732.CSCwa44780" + - "ncs5500-infra-5.0.0.5-r732.CSCvu13993" + - "ncs5500-dpa-fwding-4.1.0.3-r732.CSCwa01375" + - node: "0/1/CPU0" + node_type: "LC" + boot_partition: "xr_lv38" + boot_device: "" + boot_image: "" + packages: + - "ncs5500-xr-7.3.2" + - "ncs5500-dpa-3.0.0.5-r732.CSCwa05129" + - "ncs5500-mcast-3.0.0.0-r732" + - "ncs5500-mpls-2.1.0.0-r732" + - "ncs5500-os-6.0.0.1-r732.CSCvq20498" + - "ncs5500-k9sec-3.2.0.0-r732" + - "ncs5500-eigrp-1.0.0.0-r732" + - "ncs5500-os-support-4.0.0.5-r732.CSCwa01498" + - "ncs5500-iosxr-fwding-4.1.0.1-r732.CSCwa34439" + - "ncs5500-dpa-fwding-4.1.0.1-r732.CSCwa03269" + - "ncs5500-li-1.0.0.0-r732" + - "ncs5500-parser-3.0.0.1-r732.CSCwa44780" + - "ncs5500-mgbl-3.0.0.0-r732" + - "ncs5500-isis-2.1.0.0-r732" + - "ncs5500-bgp-2.0.0.1-r732.CSCvz94897" + - "ncs5500-mpls-te-rsvp-3.1.0.0-r732" + - "ncs5500-infra-5.0.0.5-r732.CSCvu13993" + - "ncs5500-ospf-3.0.0.0-r732" diff --git a/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.raw b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.raw new file mode 100644 index 0000000000..cfadec0305 --- /dev/null +++ b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.raw @@ -0,0 +1,69 @@ +Thu Mar 3 19:39:38.196 CET +Secure Domain Router: Owner + + Node 0/RSP0/CPU0 [RP] [SDR: Owner] + Boot Device: disk0: + Boot Image: /disk0/asr9k-os-mbi-5.1.3/0x100305/mbiasr9k-rsp3.vm + Active Packages: + disk0:asr9k-services-infra-5.1.3 + disk0:asr9k-optic-px-5.1.3 + disk0:asr9k-doc-px-5.1.3 + disk0:asr9k-9000v-nV-px-5.1.3 + disk0:asr9k-fpd-px-5.1.3 + disk0:asr9k-mpls-px-5.1.3 + disk0:asr9k-mcast-px-5.1.3 + disk0:asr9k-mgbl-px-5.1.3 + disk0:asr9k-asr903-nV-px-5.1.3 + disk0:asr9k-services-px-5.1.3 + disk0:asr9k-mini-px-5.1.3 + disk0:asr9k-li-px-5.1.3 + disk0:asr9k-asr901-nV-px-5.1.3 + disk0:asr9k-k9sec-px-5.1.3 + disk0:asr9k-px-5.1.3.CSCut30136-1.0.0 + + Node 0/RSP1/CPU0 [RP] [SDR: Owner] + Boot Device: disk0: + Boot Image: /disk0/asr9k-os-mbi-5.1.3/0x100305/mbiasr9k-rsp3.vm + Active Packages: + disk0:asr9k-services-infra-5.1.3 + disk0:asr9k-optic-px-5.1.3 + disk0:asr9k-doc-px-5.1.3 + disk0:asr9k-9000v-nV-px-5.1.3 + disk0:asr9k-fpd-px-5.1.3 + disk0:asr9k-mpls-px-5.1.3 + disk0:asr9k-mcast-px-5.1.3 + disk0:asr9k-mgbl-px-5.1.3 + disk0:asr9k-asr903-nV-px-5.1.3 + disk0:asr9k-services-px-5.1.3 + disk0:asr9k-mini-px-5.1.3 + disk0:asr9k-li-px-5.1.3 + disk0:asr9k-asr901-nV-px-5.1.3 + disk0:asr9k-k9sec-px-5.1.3 + disk0:asr9k-px-5.1.3.CSCut30136-1.0.0 + + Node 0/0/CPU0 [LC] [SDR: Owner] + Boot Device: mem: + Boot Image: /disk0/asr9k-os-mbi-5.1.3/lc/mbiasr9k-lc.vm + Active Packages: + disk0:asr9k-services-infra-5.1.3 + disk0:asr9k-optic-px-5.1.3 + disk0:asr9k-mpls-px-5.1.3 + disk0:asr9k-mcast-px-5.1.3 + disk0:asr9k-services-px-5.1.3 + disk0:asr9k-mini-px-5.1.3 + disk0:asr9k-li-px-5.1.3 + disk0:asr9k-px-5.1.3.CSCut30136-1.0.0 + + Node 0/1/CPU0 [LC] [SDR: Owner] + Boot Device: mem: + Boot Image: /disk0/asr9k-os-mbi-5.1.3/lc/mbiasr9k-lc.vm + Active Packages: + disk0:asr9k-services-infra-5.1.3 + disk0:asr9k-optic-px-5.1.3 + disk0:asr9k-mpls-px-5.1.3 + disk0:asr9k-mcast-px-5.1.3 + disk0:asr9k-services-px-5.1.3 + disk0:asr9k-mini-px-5.1.3 + disk0:asr9k-li-px-5.1.3 + disk0:asr9k-px-5.1.3.CSCut30136-1.0.0 + diff --git a/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.yml b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.yml new file mode 100644 index 0000000000..262dbf3168 --- /dev/null +++ b/tests/cisco_xr/show_install_active/cisco_xr_show_install_active_32bit.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - node: "0/RSP0/CPU0" + node_type: "RP" + boot_partition: "" + boot_device: "disk0:" + boot_image: "/disk0/asr9k-os-mbi-5.1.3/0x100305/mbiasr9k-rsp3.vm" + packages: + - "disk0:asr9k-services-infra-5.1.3" + - "disk0:asr9k-optic-px-5.1.3" + - "disk0:asr9k-doc-px-5.1.3" + - "disk0:asr9k-9000v-nV-px-5.1.3" + - "disk0:asr9k-fpd-px-5.1.3" + - "disk0:asr9k-mpls-px-5.1.3" + - "disk0:asr9k-mcast-px-5.1.3" + - "disk0:asr9k-mgbl-px-5.1.3" + - "disk0:asr9k-asr903-nV-px-5.1.3" + - "disk0:asr9k-services-px-5.1.3" + - "disk0:asr9k-mini-px-5.1.3" + - "disk0:asr9k-li-px-5.1.3" + - "disk0:asr9k-asr901-nV-px-5.1.3" + - "disk0:asr9k-k9sec-px-5.1.3" + - "disk0:asr9k-px-5.1.3.CSCut30136-1.0.0" + - node: "0/RSP1/CPU0" + node_type: "RP" + boot_partition: "" + boot_device: "disk0:" + boot_image: "/disk0/asr9k-os-mbi-5.1.3/0x100305/mbiasr9k-rsp3.vm" + packages: + - "disk0:asr9k-services-infra-5.1.3" + - "disk0:asr9k-optic-px-5.1.3" + - "disk0:asr9k-doc-px-5.1.3" + - "disk0:asr9k-9000v-nV-px-5.1.3" + - "disk0:asr9k-fpd-px-5.1.3" + - "disk0:asr9k-mpls-px-5.1.3" + - "disk0:asr9k-mcast-px-5.1.3" + - "disk0:asr9k-mgbl-px-5.1.3" + - "disk0:asr9k-asr903-nV-px-5.1.3" + - "disk0:asr9k-services-px-5.1.3" + - "disk0:asr9k-mini-px-5.1.3" + - "disk0:asr9k-li-px-5.1.3" + - "disk0:asr9k-asr901-nV-px-5.1.3" + - "disk0:asr9k-k9sec-px-5.1.3" + - "disk0:asr9k-px-5.1.3.CSCut30136-1.0.0" + - node: "0/0/CPU0" + node_type: "LC" + boot_partition: "" + boot_device: "mem:" + boot_image: "/disk0/asr9k-os-mbi-5.1.3/lc/mbiasr9k-lc.vm" + packages: + - "disk0:asr9k-services-infra-5.1.3" + - "disk0:asr9k-optic-px-5.1.3" + - "disk0:asr9k-mpls-px-5.1.3" + - "disk0:asr9k-mcast-px-5.1.3" + - "disk0:asr9k-services-px-5.1.3" + - "disk0:asr9k-mini-px-5.1.3" + - "disk0:asr9k-li-px-5.1.3" + - "disk0:asr9k-px-5.1.3.CSCut30136-1.0.0" + - node: "0/1/CPU0" + node_type: "LC" + boot_partition: "" + boot_device: "mem:" + boot_image: "/disk0/asr9k-os-mbi-5.1.3/lc/mbiasr9k-lc.vm" + packages: + - "disk0:asr9k-services-infra-5.1.3" + - "disk0:asr9k-optic-px-5.1.3" + - "disk0:asr9k-mpls-px-5.1.3" + - "disk0:asr9k-mcast-px-5.1.3" + - "disk0:asr9k-services-px-5.1.3" + - "disk0:asr9k-mini-px-5.1.3" + - "disk0:asr9k-li-px-5.1.3" + - "disk0:asr9k-px-5.1.3.CSCut30136-1.0.0" From 48fbefc57e44632f1b13f960832dd23cdb119974 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Mon, 11 Apr 2022 20:55:44 +0200 Subject: [PATCH 264/412] add vlan_id to show interfaces (#1115) * add vlan_id to show interfaces * track also QinQ vlans * rename vlan inner/outer fields --- .../cisco_ios_show_interfaces.textfsm | 5 + .../cisco_ios_show_interfaces.yml | 24 +++ .../cisco_ios_show_interfaces2.yml | 168 ++++++++++++++++++ .../cisco_ios_show_interfaces3.yml | 42 +++++ .../cisco_ios_show_interfaces4.yml | 48 +++++ .../cisco_ios_show_interfaces5.raw | 42 +++++ .../cisco_ios_show_interfaces5.yml | 62 +++++++ 7 files changed, 391 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.raw create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml diff --git a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm index 6928f60802..d6d568dc6e 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm @@ -25,6 +25,9 @@ Value INPUT_ERRORS (\d+) Value CRC (\d+) Value ABORT (\d+) Value OUTPUT_ERRORS (\d+) +Value VLAN_ID (\d+) +Value VLAN_ID_INNER (\d+) +Value VLAN_ID_OUTER (\d+) Start ^\S+\s+is\s+.+?,\s+line\s+protocol.*$$ -> Continue.Record @@ -34,6 +37,8 @@ Start ^\s+Description:\s+${DESCRIPTION}\s*$$ ^\s+Internet\s+address\s+is\s+${IP_ADDRESS}\s*$$ ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY},\s*$$ + ^\s+Encapsulation\s+${ENCAPSULATION}, Vlan ID\s+${VLAN_ID}.+$$ + ^\s+Encapsulation\s+${ENCAPSULATION}, outer ID\s+${VLAN_ID_OUTER}, inner ID\s+${VLAN_ID_INNER}.+$$ ^\s+Encapsulation\s+${ENCAPSULATION},.+$$ ^\s+Last\s+input\s+${LAST_INPUT},\s+output\s+${LAST_OUTPUT},\s+output\s+hang\s+${LAST_OUTPUT_HANG}\s*$$ ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 6170a556e6..e903673769 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -27,6 +27,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/1" link_status: "up" protocol_status: "up (connected)" @@ -54,6 +57,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/2" link_status: "up" protocol_status: "up (connected)" @@ -81,6 +87,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/3" link_status: "up" protocol_status: "up (connected)" @@ -108,6 +117,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet1/0" link_status: "up" protocol_status: "up (connected)" @@ -135,6 +147,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Port-channel1" link_status: "down" protocol_status: "down (notconnect)" @@ -162,6 +177,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Loopback0" link_status: "up" protocol_status: "up" @@ -189,6 +207,9 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Vlan1" link_status: "up" protocol_status: "up" @@ -216,3 +237,6 @@ parsed_sample: crc: "0" abort: "" output_errors: "" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 84a163cb98..0451a02434 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -27,6 +27,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Vlan50" link_status: "up" protocol_status: "up" @@ -54,6 +57,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Vlan100" link_status: "up" protocol_status: "up" @@ -81,6 +87,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Vlan254" link_status: "up" protocol_status: "up" @@ -108,6 +117,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/1" link_status: "up" protocol_status: "up (connected)" @@ -135,6 +147,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/2" link_status: "up" protocol_status: "up (connected)" @@ -162,6 +177,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/3" link_status: "up" protocol_status: "up (connected)" @@ -189,6 +207,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/4" link_status: "down" protocol_status: "down (notconnect)" @@ -216,6 +237,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/5" link_status: "down" protocol_status: "down (notconnect)" @@ -243,6 +267,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/6" link_status: "down" protocol_status: "down (notconnect)" @@ -270,6 +297,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/7" link_status: "down" protocol_status: "down (notconnect)" @@ -297,6 +327,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/8" link_status: "down" protocol_status: "down (notconnect)" @@ -324,6 +357,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/9" link_status: "up" protocol_status: "up (connected)" @@ -351,6 +387,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/10" link_status: "up" protocol_status: "up (connected)" @@ -378,6 +417,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/11" link_status: "down" protocol_status: "down (notconnect)" @@ -405,6 +447,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/12" link_status: "up" protocol_status: "up (connected)" @@ -432,6 +477,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/13" link_status: "up" protocol_status: "up (connected)" @@ -459,6 +507,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/14" link_status: "up" protocol_status: "up (connected)" @@ -486,6 +537,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/15" link_status: "down" protocol_status: "down (notconnect)" @@ -513,6 +567,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/16" link_status: "down" protocol_status: "down (notconnect)" @@ -540,6 +597,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/17" link_status: "down" protocol_status: "down (notconnect)" @@ -567,6 +627,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/18" link_status: "down" protocol_status: "down (notconnect)" @@ -594,6 +657,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/19" link_status: "up" protocol_status: "up (connected)" @@ -621,6 +687,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/20" link_status: "up" protocol_status: "up (connected)" @@ -648,6 +717,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/21" link_status: "up" protocol_status: "up (connected)" @@ -675,6 +747,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/22" link_status: "up" protocol_status: "up (connected)" @@ -702,6 +777,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/23" link_status: "down" protocol_status: "down (notconnect)" @@ -729,6 +807,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/24" link_status: "up" protocol_status: "up (connected)" @@ -756,6 +837,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/25" link_status: "down" protocol_status: "down (notconnect)" @@ -783,6 +867,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/26" link_status: "down" protocol_status: "down (notconnect)" @@ -810,6 +897,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/27" link_status: "up" protocol_status: "up (connected)" @@ -837,6 +927,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/28" link_status: "up" protocol_status: "up (connected)" @@ -864,6 +957,9 @@ parsed_sample: crc: "1" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/29" link_status: "up" protocol_status: "up (connected)" @@ -891,6 +987,9 @@ parsed_sample: crc: "14167" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/30" link_status: "up" protocol_status: "up (connected)" @@ -918,6 +1017,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/31" link_status: "up" protocol_status: "up (connected)" @@ -945,6 +1047,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/32" link_status: "up" protocol_status: "up (connected)" @@ -972,6 +1077,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/33" link_status: "up" protocol_status: "up (connected)" @@ -999,6 +1107,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/34" link_status: "up" protocol_status: "up (connected)" @@ -1026,6 +1137,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/35" link_status: "up" protocol_status: "up (connected)" @@ -1053,6 +1167,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/36" link_status: "up" protocol_status: "up (connected)" @@ -1080,6 +1197,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/37" link_status: "down" protocol_status: "down (notconnect)" @@ -1107,6 +1227,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/38" link_status: "down" protocol_status: "down (notconnect)" @@ -1134,6 +1257,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/39" link_status: "down" protocol_status: "down (notconnect)" @@ -1161,6 +1287,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/40" link_status: "down" protocol_status: "down (notconnect)" @@ -1188,6 +1317,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/41" link_status: "down" protocol_status: "down (notconnect)" @@ -1215,6 +1347,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/42" link_status: "down" protocol_status: "down (notconnect)" @@ -1242,6 +1377,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/43" link_status: "down" protocol_status: "down (notconnect)" @@ -1269,6 +1407,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/44" link_status: "down" protocol_status: "down (notconnect)" @@ -1296,6 +1437,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/45" link_status: "up" protocol_status: "up (connected)" @@ -1323,6 +1467,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/46" link_status: "down" protocol_status: "down (notconnect)" @@ -1350,6 +1497,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/47" link_status: "down" protocol_status: "down (notconnect)" @@ -1377,6 +1527,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet1/0/48" link_status: "up" protocol_status: "up (connected)" @@ -1404,6 +1557,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet1/0/1" link_status: "down" protocol_status: "down (notconnect)" @@ -1431,6 +1587,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet1/0/2" link_status: "down" protocol_status: "down (notconnect)" @@ -1458,6 +1617,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet1/0/3" link_status: "down" protocol_status: "down (notconnect)" @@ -1485,6 +1647,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet1/0/4" link_status: "down" protocol_status: "down (notconnect)" @@ -1512,3 +1677,6 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index c17781df21..2e6878074b 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -27,6 +27,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "1" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/0.6" link_status: "up" protocol_status: "up" @@ -54,6 +57,9 @@ parsed_sample: crc: "" abort: "" output_errors: "" + vlan_id: "6" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/0.44" link_status: "up" protocol_status: "up" @@ -81,6 +87,9 @@ parsed_sample: crc: "" abort: "" output_errors: "" + vlan_id: "44" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/0.188" link_status: "up" protocol_status: "up" @@ -108,6 +117,9 @@ parsed_sample: crc: "" abort: "" output_errors: "" + vlan_id: "188" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/0.666" link_status: "up" protocol_status: "up" @@ -135,6 +147,9 @@ parsed_sample: crc: "" abort: "" output_errors: "" + vlan_id: "888" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "GigabitEthernet0/1" link_status: "administratively down" protocol_status: "down" @@ -162,6 +177,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet0/1/0" link_status: "up" protocol_status: "up" @@ -189,6 +207,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "1" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet0/1/0.50" link_status: "up" protocol_status: "up" @@ -216,6 +237,9 @@ parsed_sample: crc: "" abort: "" output_errors: "" + vlan_id: "50" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "FastEthernet0/1/1" link_status: "administratively down" protocol_status: "down" @@ -243,6 +267,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Loopback0" link_status: "up" protocol_status: "up" @@ -270,6 +297,9 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Tunnel0" link_status: "up" protocol_status: "up" @@ -297,6 +327,9 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Tunnel1" link_status: "up" protocol_status: "up" @@ -324,6 +357,9 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Tunnel2" link_status: "up" protocol_status: "up" @@ -351,6 +387,9 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "Tunnel3" link_status: "up" protocol_status: "up" @@ -378,3 +417,6 @@ parsed_sample: crc: "0" abort: "0" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml index 6ed9e6970e..f033467881 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml @@ -27,6 +27,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/1" link_status: "up" protocol_status: "up (connected)" @@ -54,6 +57,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/2" link_status: "up" protocol_status: "up (connected)" @@ -81,6 +87,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/3" link_status: "up" protocol_status: "up (connected)" @@ -108,6 +117,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/4" link_status: "up" protocol_status: "up (connected)" @@ -135,6 +147,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/5" link_status: "administratively down" protocol_status: "down (disabled)" @@ -162,6 +177,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/6" link_status: "up" protocol_status: "up (connected)" @@ -189,6 +207,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/7" link_status: "up" protocol_status: "up (connected)" @@ -216,6 +237,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/8" link_status: "up" protocol_status: "up (connected)" @@ -243,6 +267,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/9" link_status: "administratively down" protocol_status: "down (disabled)" @@ -270,6 +297,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/10" link_status: "administratively down" protocol_status: "down (disabled)" @@ -297,6 +327,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/11" link_status: "up" protocol_status: "up (connected)" @@ -324,6 +357,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/12" link_status: "down" protocol_status: "down (notconnect)" @@ -351,6 +387,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/13" link_status: "up" protocol_status: "up (connected)" @@ -378,6 +417,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/14" link_status: "administratively down" protocol_status: "down (disabled)" @@ -405,6 +447,9 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" - interface: "TenGigabitEthernet1/1/15" link_status: "administratively down" protocol_status: "down (disabled)" @@ -432,3 +477,6 @@ parsed_sample: crc: "0" abort: "" output_errors: "0" + vlan_id: "" + vlan_id_inner: "" + vlan_id_outer: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.raw b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.raw new file mode 100644 index 0000000000..a1b8f83839 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.raw @@ -0,0 +1,42 @@ +Port-channel1 is up, line protocol is up + Hardware is 10GEChannel, address is dc8c.3700.0000 (bia dc8c.3700.0000) + Description: Interface + MTU 9216 bytes, BW 20000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 22/255, rxload 22/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set + Keepalive set (10 sec) + ARP type: ARPA, ARP Timeout 04:00:00 + No. of active members in this channel: 2 + Member 0 : TenGigabitEthernet0/0/0 , Full-duplex, 10000Mb/s + Member 1 : TenGigabitEthernet0/0/1 , Full-duplex, 10000Mb/s + No. of PF_JUMBO supported members in this channel : 2 + Last input 00:00:00, output 00:00:00, output hang never + Last clearing of "show interface" counters never + Input queue: 0/750/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/80 (size/max) + 5 minute input rate 1792809000 bits/sec, 172855 packets/sec + 5 minute output rate 1798430000 bits/sec, 172826 packets/sec + 301005604249 packets input, 389700154021690 bytes, 0 no buffer + Received 24269275 broadcasts (0 IP multicasts) + 0 runts, 158509 giants, 0 throttles + 179928 input errors, 21419 CRC, 87 frame, 0 overrun, 0 ignored + 0 watchdog, 158541575 multicast, 0 pause input + 300823114354 packets output, 389618573453967 bytes, 0 underruns + Output 0 broadcasts (0 IP multicasts) + 0 output errors, 0 collisions, 0 interface resets + 428714 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier, 0 pause output + 0 output buffer failures, 0 output buffers swapped out + 0 carrier transitions +Port-channel1.13 is up, line protocol is up + Hardware is 10GEChannel, address is dc8c.3700.0000 (bia dc8c.3700.0000) + Description: SubInt + Internet address is 192.168.1.1/24 + MTU 9216 bytes, BW 20000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 22/255, rxload 22/255 + Encapsulation QinQ Virtual LAN, outer ID 813, inner ID 13 + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml new file mode 100644 index 0000000000..b280688990 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - interface: "Port-channel1" + link_status: "up" + protocol_status: "up" + hardware_type: "10GEChannel" + address: "dc8c.3700.0000" + bia: "dc8c.3700.0000" + description: "Interface" + ip_address: "" + mtu: "9216" + duplex: "" + speed: "" + media_type: "" + bandwidth: "20000000 Kbit" + delay: "10 usec" + encapsulation: "802.1Q Virtual LAN" + last_input: "00:00:00" + last_output: "00:00:00" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "1792809000" + output_rate: "1798430000" + input_packets: "301005604249" + output_packets: "300823114354" + input_errors: "179928" + crc: "21419" + abort: "" + output_errors: "0" + vlan_id: "1" + vlan_id_inner: "" + vlan_id_outer: "" + - interface: "Port-channel1.13" + link_status: "up" + protocol_status: "up" + hardware_type: "10GEChannel" + address: "dc8c.3700.0000" + bia: "dc8c.3700.0000" + description: "SubInt" + ip_address: "192.168.1.1/24" + mtu: "9216" + duplex: "" + speed: "" + media_type: "" + bandwidth: "20000000 Kbit" + delay: "10 usec" + encapsulation: "QinQ Virtual LAN" + last_input: "" + last_output: "" + last_output_hang: "" + queue_strategy: "" + input_rate: "" + output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + vlan_id: "" + vlan_id_inner: "1" + vlan_id_outer: "813" From 928cad4f75912fd5b1e48896a1a51a2422821535 Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 12 Apr 2022 07:19:43 +1200 Subject: [PATCH 265/412] fixes#999-cisco_nxos_show_int_brief-mgmt (#1119) --- .../cisco_nxos_show_interface_brief.textfsm | 29 +- .../cisco_nxos_show_interface_brief.yml | 68 ++ .../cisco_nxos_show_interface_brief2.raw | 72 ++ .../cisco_nxos_show_interface_brief2.yml | 717 ++++++++++++++++++ 4 files changed, 882 insertions(+), 4 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.raw create mode 100644 tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.yml diff --git a/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm index a6397ca639..7050843513 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm @@ -10,26 +10,47 @@ Value MODE (routed|access|trunk|pvlan|fabric) Value REASON (\S+((\s\w+)+)?) Value PORTCH (\S+) Value DESCRIPTION (\S+((\s\w+)+)?) +Value PROTOCOL (\S+) Start ^Port\s+VRF\s+Status\s+IP\s+Address\s+Speed\s+MTU -> Management + ^Ethernet\s+VLAN\s+Type\sMode\s+Status\s+Reason\s+Speed\s+Port\s*$$ -> Ethernet ^Interface\s+Ch\s+ -> Ethernet - ^Interface\s+Status\s+Description -> Loopback + ^Interface\s+Status\s+Description\s*$$ -> Loopback ^Interface\s+Secondary\s+VLAN\(Type\)\s+Status\s+Reason -> VLAN + ^Port-channel\s+VLAN\s+Type\sMode\s+Status\s+Reason\s+Speed\s+Protocol -> PORTCHANNEL + ^---+$$ + ^. -> Error Start Management ^${INTERFACE}\s+${VRF}\s+${STATUS}\s+${IP}\s+${SPEED}\s+${MTU} -> Record ^Ethernet\s+VLAN\s+Type\s+Mode\s+Status\s+Reason\s+Speed\s+Port -> Start + ^---+$$ + ^\s*$$ -> Start + ^. -> Error Management Ethernet + ^Interface\s+Ch\s+#\s*$$ ^${INTERFACE}\s+${VLAN}\s+${TYPE}\s+${MODE}\s+${STATUS}\s+${REASON}\s+${SPEED}\s+${PORTCH} -> Record - ^Interface\s+Status\s+Description -> Start + ^---+$$ + ^\s*$$ -> Start + ^. -> Error Etherenet Loopback ^${INTERFACE}\s+${STATUS}\s+${DESCRIPTION} -> Record - ^Interface\s+Secondary\s+VLAN\(Type\)\s+Status\s+Reason -> Start + ^---+$$ + ^\s*$$ -> Start + ^. -> Error Loopback VLAN ^${INTERFACE}\s+${TYPE}\s+${STATUS}\s+${REASON} -> Record + ^---+$$ + ^\s*$$ -> Start + ^. -> Error VLAN - +PORTCHANNEL + ^Interface\s*$$ + ^${INTERFACE}\s+${VLAN}\s+${TYPE}\s+${MODE}\s+${STATUS}\s+${REASON}\s+${SPEED}\s+${PROTOCOL} -> Record + ^---+$$ + ^\s*$$ -> Start + ^. -> Error PORTCHANNEL diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml index cd3e2b0275..4f8e7c4e57 100644 --- a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml @@ -12,6 +12,7 @@ parsed_sample: reason: "" portch: "" description: "" + protocol: "" - interface: "Eth1/1" vrf: "" status: "up" @@ -24,6 +25,7 @@ parsed_sample: reason: "none" portch: "--" description: "" + protocol: "" - interface: "Eth1/2" vrf: "" status: "up" @@ -36,6 +38,7 @@ parsed_sample: reason: "none" portch: "--" description: "" + protocol: "" - interface: "Eth1/3" vrf: "" status: "up" @@ -48,6 +51,7 @@ parsed_sample: reason: "none" portch: "--" description: "" + protocol: "" - interface: "Eth1/4" vrf: "" status: "down" @@ -60,6 +64,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/5" vrf: "" status: "down" @@ -72,6 +77,7 @@ parsed_sample: reason: "Administratively down" portch: "--" description: "" + protocol: "" - interface: "Eth1/6" vrf: "" status: "down" @@ -84,6 +90,7 @@ parsed_sample: reason: "Administratively down" portch: "--" description: "" + protocol: "" - interface: "Eth1/7" vrf: "" status: "down" @@ -96,6 +103,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/8" vrf: "" status: "down" @@ -108,6 +116,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/9" vrf: "" status: "down" @@ -120,6 +129,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/10" vrf: "" status: "down" @@ -132,6 +142,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/11" vrf: "" status: "down" @@ -144,6 +155,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/12" vrf: "" status: "down" @@ -156,6 +168,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/13" vrf: "" status: "down" @@ -168,6 +181,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/14" vrf: "" status: "down" @@ -180,6 +194,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/15" vrf: "" status: "down" @@ -192,6 +207,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/16" vrf: "" status: "down" @@ -204,6 +220,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/17" vrf: "" status: "down" @@ -216,6 +233,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/18" vrf: "" status: "down" @@ -228,6 +246,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/19" vrf: "" status: "down" @@ -240,6 +259,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/20" vrf: "" status: "down" @@ -252,6 +272,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/21" vrf: "" status: "down" @@ -264,6 +285,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/22" vrf: "" status: "down" @@ -276,6 +298,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/23" vrf: "" status: "down" @@ -288,6 +311,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/24" vrf: "" status: "down" @@ -300,6 +324,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/25" vrf: "" status: "down" @@ -312,6 +337,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/26" vrf: "" status: "down" @@ -324,6 +350,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/27" vrf: "" status: "down" @@ -336,6 +363,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/28" vrf: "" status: "down" @@ -348,6 +376,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/29" vrf: "" status: "down" @@ -360,6 +389,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/30" vrf: "" status: "down" @@ -372,6 +402,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/31" vrf: "" status: "down" @@ -384,6 +415,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/32" vrf: "" status: "down" @@ -396,6 +428,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/33" vrf: "" status: "down" @@ -408,6 +441,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/34" vrf: "" status: "down" @@ -420,6 +454,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/35" vrf: "" status: "down" @@ -432,6 +467,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/36" vrf: "" status: "down" @@ -444,6 +480,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/37" vrf: "" status: "down" @@ -456,6 +493,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/38" vrf: "" status: "down" @@ -468,6 +506,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/39" vrf: "" status: "down" @@ -480,6 +519,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/40" vrf: "" status: "down" @@ -492,6 +532,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/41" vrf: "" status: "down" @@ -504,6 +545,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/42" vrf: "" status: "down" @@ -516,6 +558,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/43" vrf: "" status: "down" @@ -528,6 +571,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/44" vrf: "" status: "down" @@ -540,6 +584,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/45" vrf: "" status: "down" @@ -552,6 +597,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/46" vrf: "" status: "down" @@ -564,6 +610,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/47" vrf: "" status: "down" @@ -576,6 +623,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/48" vrf: "" status: "down" @@ -588,6 +636,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/49" vrf: "" status: "up" @@ -600,6 +649,7 @@ parsed_sample: reason: "none" portch: "--" description: "" + protocol: "" - interface: "Eth1/50" vrf: "" status: "down" @@ -612,6 +662,7 @@ parsed_sample: reason: "Link not connected" portch: "--" description: "" + protocol: "" - interface: "Eth1/51" vrf: "" status: "down" @@ -624,6 +675,7 @@ parsed_sample: reason: "XCVR not inserted" portch: "--" description: "" + protocol: "" - interface: "Eth1/52" vrf: "" status: "down" @@ -636,6 +688,7 @@ parsed_sample: reason: "XCVR not inserted" portch: "--" description: "" + protocol: "" - interface: "Eth1/53" vrf: "" status: "down" @@ -648,6 +701,7 @@ parsed_sample: reason: "XCVR not inserted" portch: "--" description: "" + protocol: "" - interface: "Eth1/54" vrf: "" status: "down" @@ -660,3 +714,17 @@ parsed_sample: reason: "XCVR not inserted" portch: "--" description: "" + protocol: "" + - interface: "Lo0" + vrf: "" + status: "up" + ip: "" + speed: "" + mtu: "" + vlan: "" + type: "" + mode: "" + reason: "" + portch: "" + description: "--" + protocol: "" diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.raw b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.raw new file mode 100644 index 0000000000..bd49e6fe5d --- /dev/null +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.raw @@ -0,0 +1,72 @@ +-------------------------------------------------------------------------------- +Ethernet VLAN Type Mode Status Reason Speed Port +Interface Ch # +-------------------------------------------------------------------------------- +Eth1/1 401 eth access down Link not connected auto(D) -- +Eth1/2 401 eth access up none 1000(D) -- +Eth1/3 401 eth access up none 1000(D) -- +Eth1/4 401 eth access down Link not connected auto(D) -- +Eth1/5 401 eth access down Link not connected auto(D) -- +Eth1/6 401 eth access up none 1000(D) -- +Eth1/7 401 eth access down Link not connected auto(D) -- +Eth1/8 401 eth access up none 1000(D) -- +Eth1/9 401 eth access up none 1000(D) -- +Eth1/10 401 eth access down Link not connected auto(D) -- +Eth1/11 401 eth access up none 1000(D) -- +Eth1/12 401 eth access up none 1000(D) -- +Eth1/13 401 eth access down Link not connected auto(D) -- +Eth1/14 401 eth access down Link not connected auto(D) -- +Eth1/15 401 eth access up none 1000(D) -- +Eth1/16 401 eth access down Link not connected auto(D) -- +Eth1/17 401 eth access down Link not connected auto(D) -- +Eth1/18 401 eth access up none 1000(D) -- +Eth1/19 401 eth access up none 1000(D) -- +Eth1/20 401 eth access down Link not connected auto(D) -- +Eth1/21 401 eth access down Link not connected auto(D) -- +Eth1/22 401 eth access down Link not connected auto(D) -- +Eth1/23 401 eth access down Link not connected auto(D) -- +Eth1/24 401 eth access down Link not connected auto(D) -- +Eth1/25 401 eth access up none 1000(D) -- +Eth1/26 401 eth access down Link not connected auto(D) -- +Eth1/27 401 eth access down Link not connected auto(D) -- +Eth1/28 401 eth access down Link not connected auto(D) -- +Eth1/29 401 eth access down Link not connected auto(D) -- +Eth1/30 401 eth access down Link not connected auto(D) -- +Eth1/31 401 eth access down Link not connected auto(D) -- +Eth1/32 401 eth access down Link not connected auto(D) -- +Eth1/33 401 eth access down Link not connected auto(D) -- +Eth1/34 401 eth access down Link not connected auto(D) -- +Eth1/35 401 eth access up none 1000(D) -- +Eth1/36 401 eth access down Link not connected auto(D) -- +Eth1/37 401 eth access down Link not connected auto(D) -- +Eth1/38 401 eth access down Administratively down auto(D) -- +Eth1/39 401 eth access up none 1000(D) -- +Eth1/40 401 eth access up none 100(D) -- +Eth1/41 401 eth access down Link not connected auto(D) -- +Eth1/42 401 eth access down Link not connected auto(D) -- +Eth1/43 401 eth access up none 1000(D) -- +Eth1/44 401 eth access up none 1000(D) -- +Eth1/45 401 eth access up none 1000(D) -- +Eth1/46 401 eth access up none 1000(D) -- +Eth1/47 -- eth routed up none 1000(D) -- +Eth1/48 -- eth routed up none 1000(D) -- +Eth1/49 1 eth access down SFP not inserted 10G(D) -- +Eth1/50 1 eth access down SFP not inserted 10G(D) -- +Eth1/51 1 eth access down SFP not inserted 10G(D) -- +Eth1/52 -- eth routed down SFP not inserted 10G(D) -- + +-------------------------------------------------------------------------------- +Port-channel VLAN Type Mode Status Reason Speed Protocol +Interface +-------------------------------------------------------------------------------- +Po100 -- eth routed down No operational members auto(I) lacp + +-------------------------------------------------------------------------------- +Port VRF Status IP Address Speed MTU +-------------------------------------------------------------------------------- +mgmt0 -- down 1.2.3.4 -- 1500 + +------------------------------------------------------------------------------- +Interface Secondary VLAN(Type) Status Reason +------------------------------------------------------------------------------- +Vlan1 -- down Admin diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.yml b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.yml new file mode 100644 index 0000000000..c5837d2e65 --- /dev/null +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief2.yml @@ -0,0 +1,717 @@ +--- +parsed_sample: + - interface: "Eth1/1" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/2" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/3" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/4" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/5" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/6" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/7" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/8" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/9" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/10" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/11" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/12" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/13" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/14" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/15" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/16" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/17" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/18" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/19" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/20" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/21" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/22" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/23" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/24" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/25" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/26" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/27" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/28" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/29" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/30" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/31" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/32" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/33" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/34" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/35" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/36" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/37" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/38" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Administratively down" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/39" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/40" + vrf: "" + status: "up" + ip: "" + speed: "100(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/41" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/42" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/43" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/44" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/45" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/46" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "401" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/47" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/48" + vrf: "" + status: "up" + ip: "" + speed: "1000(D)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "none" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/49" + vrf: "" + status: "down" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "SFP not inserted" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/50" + vrf: "" + status: "down" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "SFP not inserted" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/51" + vrf: "" + status: "down" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "SFP not inserted" + portch: "--" + description: "" + protocol: "" + - interface: "Eth1/52" + vrf: "" + status: "down" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "SFP not inserted" + portch: "--" + description: "" + protocol: "" + - interface: "Po100" + vrf: "" + status: "down" + ip: "" + speed: "auto(I)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "No operational members" + portch: "" + description: "" + protocol: "lacp" + - interface: "mgmt0" + vrf: "--" + status: "down" + ip: "1.2.3.4" + speed: "--" + mtu: "1500" + vlan: "" + type: "" + mode: "" + reason: "" + portch: "" + description: "" + protocol: "" + - interface: "Vlan1" + vrf: "" + status: "down" + ip: "" + speed: "" + mtu: "" + vlan: "" + type: "--" + mode: "" + reason: "Admin" + portch: "" + description: "" + protocol: "" From 1b9d1a85d8f7df56193896777db960d86862f997 Mon Sep 17 00:00:00 2001 From: Paul Jorgenson Date: Thu, 14 Apr 2022 13:55:51 -0500 Subject: [PATCH 266/412] Add arista show processes top once (#1110) Arista show processes top once --- ...arista_eos_show_processes_top_once.textfsm | 89 ++++ ntc_templates/templates/index | 1 + .../arista_eos_show_processes_top_once.raw | 17 + .../arista_eos_show_processes_top_once.yml | 402 ++++++++++++++++++ .../arista_eos_show_processes_top_once2.raw | 15 + .../arista_eos_show_processes_top_once2.yml | 322 ++++++++++++++ .../arista_eos_show_processes_top_once3.raw | 17 + .../arista_eos_show_processes_top_once3.yml | 402 ++++++++++++++++++ .../arista_eos_show_processes_top_once4.raw | 14 + .../arista_eos_show_processes_top_once4.yml | 282 ++++++++++++ ...processes_top_once_trailing_whitespace.raw | 17 + ...processes_top_once_trailing_whitespace.yml | 402 ++++++++++++++++++ 12 files changed, 1980 insertions(+) create mode 100644 ntc_templates/templates/arista_eos_show_processes_top_once.textfsm create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.raw create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.yml create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.raw create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.yml create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.raw create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.yml create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.raw create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.yml create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.raw create mode 100644 tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.yml diff --git a/ntc_templates/templates/arista_eos_show_processes_top_once.textfsm b/ntc_templates/templates/arista_eos_show_processes_top_once.textfsm new file mode 100644 index 0000000000..266d502fe8 --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_processes_top_once.textfsm @@ -0,0 +1,89 @@ +# Reference for 'top' output can be found here: +# https://man7.org/linux/man-pages/man1/top.1.html +# +# These are top level summary values we "Filldown" to each record. +# This is because TextFSM does not support storing these as a separate +# dicitonary within the output +# +# Global values from line 1 +Value Filldown GLOBAL_TIMESTAMP (\d+:\d+:\d+) +Value Filldown GLOBAL_USERS (\d+) +Value Filldown GLOBAL_LOAD_AVERAGE_1_MINUTES (\d+[.]?\d*) +Value Filldown GLOBAL_LOAD_AVERAGE_5_MINUTES (\d+[.]?\d*) +Value Filldown GLOBAL_LOAD_AVERAGE_15_MINUTES (\d+[.]?\d*) +# Global values from line 2 +Value Filldown GLOBAL_TASKS_TOTAL (\d+) +Value Filldown GLOBAL_TASKS_RUNNING (\d+) +Value Filldown GLOBAL_TASKS_SLEEPING (\d+) +Value Filldown GLOBAL_TASKS_STOPPED (\d+) +Value Filldown GLOBAL_TASKS_ZOMBIE (\d+) +# Global values from line 3 +Value Filldown GLOBAL_CPU_PERCENT_USER (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_SYSTEM (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_NICE (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_IDLE (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_IOWAIT (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_HI (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_SI (\d+[.]\d+) +Value Filldown GLOBAL_CPU_PERCENT_STOLEN (\d+[.]\d+) +# Global values from line 4 +Value Filldown GLOBAL_MEM_UNIT (KiB|MiB|GiB|TiB|k|m|g|t) +Value Filldown GLOBAL_MEM_TOTAL (\d+[.]?\d*) +Value Filldown GLOBAL_MEM_USED (\d+[.]?\d*) +Value Filldown GLOBAL_MEM_FREE (\d+[.]?\d*) +Value Filldown GLOBAL_MEM_BUFFERS (\d+[.]?\d*) +# Global values from line 5 +Value Filldown GLOBAL_SWAP_MEM_UNIT (KiB|MiB|GiB|TiB|k|m|g|t) +Value Filldown GLOBAL_SWAP_MEM_TOTAL (\d+[.]?\d*) +Value Filldown GLOBAL_SWAP_MEM_USED (\d+[.]?\d*) +Value Filldown GLOBAL_SWAP_MEM_FREE (\d+[.]?\d*) +Value Filldown GLOBAL_SWAP_MEM_CACHED (\d+[.]?\d*) +# Per process records start here +Value Required PID (\d+) +Value USER (\S+) +Value PRIORITY (\d+|rt|RT) +Value NICE (-?\d+) +Value VIRTUAL_MEMORY_SIZE (\d+[.]?\d*m?) +Value RESIDENT_MEMORY_SIZE (\d+[.]?\d*m?) +Value SHARED_MEMORY_SIZE (\d+[.]?\d*m?) +Value PROCESS_STATUS (D|I|R|S|T|t|Z) +Value PERCENT_CPU (\d+[.]\d+) +Value PERCENT_MEMORY (\d+[.]\d+) +Value CPU_TIME (\d+:\d+\S+) +Value COMMAND (\S+) + + +Start + # The top two lines are the same for all tested versions + ^top - ${GLOBAL_TIMESTAMP} up .*,\s+${GLOBAL_USERS} use.*,\s+load average:\s+${GLOBAL_LOAD_AVERAGE_1_MINUTES},\s+${GLOBAL_LOAD_AVERAGE_5_MINUTES},\s+${GLOBAL_LOAD_AVERAGE_15_MINUTES}$$ + ^Tasks:\s+${GLOBAL_TASKS_TOTAL} total,\s+${GLOBAL_TASKS_RUNNING} running,\s+${GLOBAL_TASKS_SLEEPING} sleeping,\s+${GLOBAL_TASKS_STOPPED} stopped,\s+${GLOBAL_TASKS_ZOMBIE} zombie$$ + # CPU - 1st format + # %Cpu(s): 2.8 us, 0.7 sy, 0.0 ni, 96.3 id, 0.0 wa, 0.2 hi, 0.0 si, 0.0 st + ^%Cpu[(]s[)]:\s+${GLOBAL_CPU_PERCENT_USER}\sus,\s+${GLOBAL_CPU_PERCENT_SYSTEM}\ssy,\s+${GLOBAL_CPU_PERCENT_NICE}\sni,\s+${GLOBAL_CPU_PERCENT_IDLE}\sid,\s+${GLOBAL_CPU_PERCENT_IOWAIT}\swa,\s+${GLOBAL_CPU_PERCENT_HI}\shi,\s+${GLOBAL_CPU_PERCENT_SI}\ssi,\s+${GLOBAL_CPU_PERCENT_STOLEN}\sst$$ + # CPU - 2nd format + # Cpu(s): 12.5%us, 2.3%sy, 0.0%ni, 84.5%id, 0.0%wa, 0.7%hi, 0.1%si, 0.0%st + ^Cpu[(]s[)]:\s+${GLOBAL_CPU_PERCENT_USER}%us,\s+${GLOBAL_CPU_PERCENT_SYSTEM}%sy,\s+${GLOBAL_CPU_PERCENT_NICE}%ni,\s+${GLOBAL_CPU_PERCENT_IDLE}%id,\s+${GLOBAL_CPU_PERCENT_IOWAIT}%wa,\s+${GLOBAL_CPU_PERCENT_HI}%hi,\s+${GLOBAL_CPU_PERCENT_SI}%si,\s+${GLOBAL_CPU_PERCENT_STOLEN}%st$$ + # Memory - 1st format + # KiB Mem: 2014520 total, 1970928 used, 43592 free, 171340 buffers + ^${GLOBAL_MEM_UNIT}\s+Mem.*:\s+${GLOBAL_MEM_TOTAL}\stotal,\s+${GLOBAL_MEM_USED}\sused,\s+${GLOBAL_MEM_FREE}\sfree,\s+${GLOBAL_MEM_BUFFERS}\sbuffers$$ + # Memory - 2nd format + # MiB Mem : 7956.2 total, 1755.3 free, 2052.9 used, 4148.0 buff/cache + ^${GLOBAL_MEM_UNIT}\s+Mem.*:\s+${GLOBAL_MEM_TOTAL}\stotal,\s+${GLOBAL_MEM_FREE}\sfree,\s+${GLOBAL_MEM_USED}\sused,\s+${GLOBAL_MEM_BUFFERS}\sbuff[/]cache$$ + # Memory - 3rd format + # Mem: 3981336k total, 2726640k used, 1254696k free, 156856k buffers + ^Mem.*:\s+${GLOBAL_MEM_TOTAL}${GLOBAL_MEM_UNIT}\stotal,\s+${GLOBAL_MEM_USED}[kmgt]\sused,\s+${GLOBAL_MEM_FREE}[kmgt]\sfree,\s+${GLOBAL_MEM_BUFFERS}[kmgt]\sbuffers$$ + # Swap - 1st format + # KiB Swap: 0 total, 0 used, 0 free, 1156836 cached + ^${GLOBAL_SWAP_MEM_UNIT}\s+Swap.*:\s+${GLOBAL_SWAP_MEM_TOTAL}\stotal,\s+${GLOBAL_SWAP_MEM_USED}\sused,\s+${GLOBAL_SWAP_MEM_FREE}\sfree,\s+${GLOBAL_SWAP_MEM_CACHED}\scached$$ + # Swap - 2nd format + # MiB Swap: 0.0 total, 0.0 free, 0.0 used. 5325.2 avail Mem + ^${GLOBAL_SWAP_MEM_UNIT}\s+Swap.*:\s+${GLOBAL_SWAP_MEM_TOTAL}\stotal,\s+${GLOBAL_SWAP_MEM_FREE}\sfree,\s+${GLOBAL_SWAP_MEM_USED}\sused.\s+${GLOBAL_SWAP_MEM_CACHED}\savail Mem$$ + # Swap - 3rd format + # Swap: 0k total, 0k used, 0k free, 1521744k cached + ^Swap.*:\s+${GLOBAL_SWAP_MEM_TOTAL}${GLOBAL_SWAP_MEM_UNIT}\stotal,\s+${GLOBAL_SWAP_MEM_USED}[kmgt]\sused,\s+${GLOBAL_SWAP_MEM_FREE}[kmgt]\sfree,\s+${GLOBAL_SWAP_MEM_CACHED}[kmgt]\scached$$ + ^$$ + # Process table header + ^\s*PID\s+USER\s+PR\s+NI\s+VIRT\s+RES\s+SHR\s+S\s+.CPU\s+.MEM\s+TIME.\s+COMMAND\s*$$ + # Process line items in table + ^\s*${PID}\s+${USER}\s*${PRIORITY}\s*${NICE}\s+${VIRTUAL_MEMORY_SIZE}\s+${RESIDENT_MEMORY_SIZE}\s+${SHARED_MEMORY_SIZE}\s+${PROCESS_STATUS}\s+${PERCENT_CPU}\s+${PERCENT_MEMORY}\s+${CPU_TIME}\s+${COMMAND}\s*$$ -> Record + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 2e08976c1e..6d9c62d3d9 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -44,6 +44,7 @@ arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] arista_eos_show_port-channel_summary.textfsm, .*, arista_eos, sh[[ow]] port-c[[hannel]] s[[ummary]] arista_eos_show_environment_cooling.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_ip_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] +arista_eos_show_processes_top_once.textfsm, .*, arista_eos, sh[[ow]] pro[[cesses]] t[[op]] o[[nce]] arista_eos_show_interfaces_status.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] arista_eos_show_ip_helper-address.textfsm, .*, arista_eos, sh[[ow]] ip he[[lper-address]] arista_eos_show_mac_address-table.textfsm, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.raw b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.raw new file mode 100644 index 0000000000..eef5917518 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.raw @@ -0,0 +1,17 @@ +top - 18:53:50 up 3 days, 1:06, 2 users, load average: 0.15, 0.08, 0.09 +Tasks: 202 total, 1 running, 201 sleeping, 0 stopped, 0 zombie +%Cpu(s): 2.8 us, 0.7 sy, 0.0 ni, 96.3 id, 0.0 wa, 0.2 hi, 0.0 si, 0.0 st +KiB Mem: 2014520 total, 1970928 used, 43592 free, 171340 buffers +KiB Swap: 0 total, 0 used, 0 free, 1156836 cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 1 root 20 0 8608 5920 4376 S 0.0 0.3 0:12.51 systemd + 2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd + 3 root 20 0 0 0 0 S 0.0 0.0 0:04.69 ksoftirqd/0 + 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H + 6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/u2:0 + 7 root 20 0 0 0 0 S 0.0 0.0 0:02.74 rcu_preempt + 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched + 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh + 2634 root 20 0 451m 136m 108m S 0.0 6.9 13:28.08 Etba + 2635 root 20 0 430m 15m 4 S 0.0 0.8 0:00.00 netnsd-session \ No newline at end of file diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.yml b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.yml new file mode 100644 index 0000000000..2eb1b286fd --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once.yml @@ -0,0 +1,402 @@ +--- +parsed_sample: +- command: "systemd" + cpu_time: "0:12.51" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.3" + pid: "1" + priority: "20" + process_status: "S" + resident_memory_size: "5920" + shared_memory_size: "4376" + user: "root" + virtual_memory_size: "8608" +- command: "kthreadd" + cpu_time: "0:00.01" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "2" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "ksoftirqd/0" + cpu_time: "0:04.69" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "3" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "kworker/0:0H" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "5" + priority: "0" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "kworker/u2:0" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "6" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_preempt" + cpu_time: "0:02.74" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "7" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_sched" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "8" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_bh" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "9" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "Etba" + cpu_time: "13:28.08" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "6.9" + pid: "2634" + priority: "20" + process_status: "S" + resident_memory_size: "136m" + shared_memory_size: "108m" + user: "root" + virtual_memory_size: "451m" +- command: "netnsd-session" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.2" + global_cpu_percent_idle: "96.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "0.7" + global_cpu_percent_user: "2.8" + global_load_average_15_minutes: "0.09" + global_load_average_1_minutes: "0.15" + global_load_average_5_minutes: "0.08" + global_mem_buffers: "171340" + global_mem_free: "43592" + global_mem_total: "2014520" + global_mem_unit: "KiB" + global_mem_used: "1970928" + global_swap_mem_cached: "1156836" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "201" + global_tasks_stopped: "0" + global_tasks_total: "202" + global_tasks_zombie: "0" + global_timestamp: "18:53:50" + global_users: "2" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.8" + pid: "2635" + priority: "20" + process_status: "S" + resident_memory_size: "15m" + shared_memory_size: "4" + user: "root" + virtual_memory_size: "430m" diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.raw b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.raw new file mode 100644 index 0000000000..970399a41d --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.raw @@ -0,0 +1,15 @@ +top - 14:30:44 up 68 days, 15 min, 1 user, load average: 0.94, 0.84, 0.82 +Tasks: 223 total, 1 running, 222 sleeping, 0 stopped, 0 zombie +%Cpu(s): 4.6 us, 3.1 sy, 0.0 ni, 90.8 id, 0.0 wa, 1.5 hi, 0.0 si, 0.0 st +MiB Mem : 7956.2 total, 1755.3 free, 2052.9 used, 4148.0 buff/cache +MiB Swap: 0.0 total, 0.0 free, 0.0 used. 5325.2 avail Mem + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 3067 root 20 0 968336 542116 236404 S 6.2 6.7 8315:39 SandFapNi + 4047 root 20 0 164248 71400 63964 S 6.2 0.9 2603:16 Babbage +29080 root 20 0 829692 222016 22368 S 6.2 2.7 1079:30 TerminAttr + 1 root 20 0 6512 5176 4012 S 0.0 0.1 1:01.29 systemd + 2 root 20 0 0 0 0 S 0.0 0.0 0:01.20 kthreadd + 3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp + 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp + 8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq \ No newline at end of file diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.yml b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.yml new file mode 100644 index 0000000000..761b389bf1 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once2.yml @@ -0,0 +1,322 @@ +--- +parsed_sample: +- command: "SandFapNi" + cpu_time: "8315:39" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "0" + percent_cpu: "6.2" + percent_memory: "6.7" + pid: "3067" + priority: "20" + process_status: "S" + resident_memory_size: "542116" + shared_memory_size: "236404" + user: "root" + virtual_memory_size: "968336" +- command: "Babbage" + cpu_time: "2603:16" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "0" + percent_cpu: "6.2" + percent_memory: "0.9" + pid: "4047" + priority: "20" + process_status: "S" + resident_memory_size: "71400" + shared_memory_size: "63964" + user: "root" + virtual_memory_size: "164248" +- command: "TerminAttr" + cpu_time: "1079:30" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "0" + percent_cpu: "6.2" + percent_memory: "2.7" + pid: "29080" + priority: "20" + process_status: "S" + resident_memory_size: "222016" + shared_memory_size: "22368" + user: "root" + virtual_memory_size: "829692" +- command: "systemd" + cpu_time: "1:01.29" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.1" + pid: "1" + priority: "20" + process_status: "S" + resident_memory_size: "5176" + shared_memory_size: "4012" + user: "root" + virtual_memory_size: "6512" +- command: "kthreadd" + cpu_time: "0:01.20" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "2" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_gp" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "3" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_par_gp" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "4" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "mm_percpu_wq" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.5" + global_cpu_percent_idle: "90.8" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.0" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "3.1" + global_cpu_percent_user: "4.6" + global_load_average_15_minutes: "0.82" + global_load_average_1_minutes: "0.94" + global_load_average_5_minutes: "0.84" + global_mem_buffers: "4148.0" + global_mem_free: "1755.3" + global_mem_total: "7956.2" + global_mem_unit: "MiB" + global_mem_used: "2052.9" + global_swap_mem_cached: "5325.2" + global_swap_mem_free: "0.0" + global_swap_mem_total: "0.0" + global_swap_mem_unit: "MiB" + global_swap_mem_used: "0.0" + global_tasks_running: "1" + global_tasks_sleeping: "222" + global_tasks_stopped: "0" + global_tasks_total: "223" + global_tasks_zombie: "0" + global_timestamp: "14:30:44" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "8" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.raw b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.raw new file mode 100644 index 0000000000..7d513652a0 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.raw @@ -0,0 +1,17 @@ +top - 23:02:13 up 314 days, 8:27, 1 user, load average: 0.49, 0.54, 0.45 +Tasks: 249 total, 1 running, 248 sleeping, 0 stopped, 0 zombie +Cpu(s): 12.5%us, 2.3%sy, 0.0%ni, 84.5%id, 0.0%wa, 0.7%hi, 0.1%si, 0.0%st +Mem: 3981336k total, 2726640k used, 1254696k free, 156856k buffers +Swap: 0k total, 0k used, 0k free, 1521744k cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 2858 root 20 0 576m 136m 59m S 20.0 3.5 29937:31 SandSlice + 2386 root 20 0 520m 89m 28m S 6.7 2.3 32548:01 PhyBcm54980 + 1651 root 20 0 571m 205m 100m S 1.7 5.3 5281:38 Sysdb + 1919 root 20 0 177m 110m 88m S 1.7 2.8 581:14.16 ribd + 2333 root 20 0 508m 73m 20m S 1.7 1.9 320:07.84 FanDetector +12654 ntc 20 0 26148 12m 9668 R 1.7 0.3 0:00.11 top + 1 root 20 0 26076 12m 9824 S 0.0 0.3 0:03.77 init + 6 root RT 0 0 0 0 S 0.0 0.0 1:27.06 migration/0 + 10 root 20 0 0 0 0 S 0.0 0.0 0:10.83 ksoftirqd/1 + 13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper \ No newline at end of file diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.yml b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.yml new file mode 100644 index 0000000000..3bde7abd51 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once3.yml @@ -0,0 +1,402 @@ +--- +parsed_sample: +- command: "SandSlice" + cpu_time: "29937:31" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "20.0" + percent_memory: "3.5" + pid: "2858" + priority: "20" + process_status: "S" + resident_memory_size: "136m" + shared_memory_size: "59m" + user: "root" + virtual_memory_size: "576m" +- command: "PhyBcm54980" + cpu_time: "32548:01" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "6.7" + percent_memory: "2.3" + pid: "2386" + priority: "20" + process_status: "S" + resident_memory_size: "89m" + shared_memory_size: "28m" + user: "root" + virtual_memory_size: "520m" +- command: "Sysdb" + cpu_time: "5281:38" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "5.3" + pid: "1651" + priority: "20" + process_status: "S" + resident_memory_size: "205m" + shared_memory_size: "100m" + user: "root" + virtual_memory_size: "571m" +- command: "ribd" + cpu_time: "581:14.16" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "2.8" + pid: "1919" + priority: "20" + process_status: "S" + resident_memory_size: "110m" + shared_memory_size: "88m" + user: "root" + virtual_memory_size: "177m" +- command: "FanDetector" + cpu_time: "320:07.84" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "1.9" + pid: "2333" + priority: "20" + process_status: "S" + resident_memory_size: "73m" + shared_memory_size: "20m" + user: "root" + virtual_memory_size: "508m" +- command: "top" + cpu_time: "0:00.11" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "0.3" + pid: "12654" + priority: "20" + process_status: "R" + resident_memory_size: "12m" + shared_memory_size: "9668" + user: "ntc" + virtual_memory_size: "26148" +- command: "init" + cpu_time: "0:03.77" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.3" + pid: "1" + priority: "20" + process_status: "S" + resident_memory_size: "12m" + shared_memory_size: "9824" + user: "root" + virtual_memory_size: "26076" +- command: "migration/0" + cpu_time: "1:27.06" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "6" + priority: "RT" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "ksoftirqd/1" + cpu_time: "0:10.83" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "10" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "khelper" + cpu_time: "0:00.00" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.45" + global_load_average_1_minutes: "0.49" + global_load_average_5_minutes: "0.54" + global_mem_buffers: "156856" + global_mem_free: "1254696" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2726640" + global_swap_mem_cached: "1521744" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "248" + global_tasks_stopped: "0" + global_tasks_total: "249" + global_tasks_zombie: "0" + global_timestamp: "23:02:13" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "13" + priority: "0" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.raw b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.raw new file mode 100644 index 0000000000..f684c65708 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.raw @@ -0,0 +1,14 @@ +top - 15:31:24 up 15:51, 1 user, load average: 0.68, 0.28, 0.25 +Tasks: 226 total, 3 running, 187 sleeping, 0 stopped, 0 zombie +%Cpu(s): 8.0 us, 1.7 sy, 0.0 ni, 88.3 id, 0.0 wa, 1.8 hi, 0.2 si, 0.0 st +KiB Mem: 2006880 total, 1960840 used, 46040 free, 177756 buffers +KiB Swap: 0 total, 0 used, 0 free, 878628 cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 1272 admin 20 0 22.m 5.3m 4.8m R 35.9 0.0 0:36.99 yes + 1312 root 20 0 7744 2688 2348 R 13.2 0.1 0:00.07 openssl + 1 root 20 0 6576 5088 3840 S 0.0 0.3 0:18.81 systemd + 2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd + 3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp + 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp + 6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-kb \ No newline at end of file diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.yml b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.yml new file mode 100644 index 0000000000..050281bf17 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once4.yml @@ -0,0 +1,282 @@ +--- +parsed_sample: +- command: "yes" + cpu_time: "0:36.99" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "0" + percent_cpu: "35.9" + percent_memory: "0.0" + pid: "1272" + priority: "20" + process_status: "R" + resident_memory_size: "5.3m" + shared_memory_size: "4.8m" + user: "admin" + virtual_memory_size: "22.m" +- command: "openssl" + cpu_time: "0:00.07" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "0" + percent_cpu: "13.2" + percent_memory: "0.1" + pid: "1312" + priority: "20" + process_status: "R" + resident_memory_size: "2688" + shared_memory_size: "2348" + user: "root" + virtual_memory_size: "7744" +- command: "systemd" + cpu_time: "0:18.81" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.3" + pid: "1" + priority: "20" + process_status: "S" + resident_memory_size: "5088" + shared_memory_size: "3840" + user: "root" + virtual_memory_size: "6576" +- command: "kthreadd" + cpu_time: "0:00.01" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "0" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "2" + priority: "20" + process_status: "S" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_gp" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "3" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "rcu_par_gp" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "4" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" +- command: "kworker/0:0H-kb" + cpu_time: "0:00.00" + global_cpu_percent_hi: "1.8" + global_cpu_percent_idle: "88.3" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.2" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "1.7" + global_cpu_percent_user: "8.0" + global_load_average_15_minutes: "0.25" + global_load_average_1_minutes: "0.68" + global_load_average_5_minutes: "0.28" + global_mem_buffers: "177756" + global_mem_free: "46040" + global_mem_total: "2006880" + global_mem_unit: "KiB" + global_mem_used: "1960840" + global_swap_mem_cached: "878628" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "KiB" + global_swap_mem_used: "0" + global_tasks_running: "3" + global_tasks_sleeping: "187" + global_tasks_stopped: "0" + global_tasks_total: "226" + global_tasks_zombie: "0" + global_timestamp: "15:31:24" + global_users: "1" + nice: "-20" + percent_cpu: "0.0" + percent_memory: "0.0" + pid: "6" + priority: "0" + process_status: "I" + resident_memory_size: "0" + shared_memory_size: "0" + user: "root" + virtual_memory_size: "0" diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.raw b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.raw new file mode 100644 index 0000000000..417a8b5f66 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.raw @@ -0,0 +1,17 @@ +top - 17:14:22 up 319 days, 2:40, 1 user, load average: 0.38, 0.31, 0.29 +Tasks: 248 total, 1 running, 247 sleeping, 0 stopped, 0 zombie +Cpu(s): 12.5%us, 2.3%sy, 0.0%ni, 84.5%id, 0.0%wa, 0.7%hi, 0.1%si, 0.0%st +Mem: 3981336k total, 2720432k used, 1260904k free, 156856k buffers +Swap: 0k total, 0k used, 0k free, 1521888k cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 2858 root 20 0 576m 136m 59m S 20.0 3.5 30390:46 SandSlice + 2100 root 20 0 511m 78m 20m S 10.0 2.0 37424:56 Mdio + 2386 root 20 0 520m 89m 28m S 6.7 2.3 33040:36 PhyBcm54980 + 1651 root 20 0 571m 205m 100m S 1.7 5.3 5362:10 Sysdb + 1843 root 20 0 521m 89m 30m S 1.7 2.3 164:04.32 Lag+LacpAgent + 1869 root 20 0 507m 77m 23m S 1.7 2.0 1534:21 LedPolicyAgent + 2099 root 20 0 513m 80m 22m S 1.7 2.1 3348:14 Smbus + 2164 root 20 0 513m 69m 10m S 1.7 1.8 617:21.13 PhyEthtool + 2592 root 20 0 507m 74m 21m S 1.7 1.9 1450:29 Pmbus +11615 ntc 20 0 26148 12m 9668 R 1.7 0.3 0:00.11 top \ No newline at end of file diff --git a/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.yml b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.yml new file mode 100644 index 0000000000..70b4ba98c4 --- /dev/null +++ b/tests/arista_eos/show_processes_top_once/arista_eos_show_processes_top_once_trailing_whitespace.yml @@ -0,0 +1,402 @@ +--- +parsed_sample: +- command: "SandSlice" + cpu_time: "30390:46" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "20.0" + percent_memory: "3.5" + pid: "2858" + priority: "20" + process_status: "S" + resident_memory_size: "136m" + shared_memory_size: "59m" + user: "root" + virtual_memory_size: "576m" +- command: "Mdio" + cpu_time: "37424:56" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "10.0" + percent_memory: "2.0" + pid: "2100" + priority: "20" + process_status: "S" + resident_memory_size: "78m" + shared_memory_size: "20m" + user: "root" + virtual_memory_size: "511m" +- command: "PhyBcm54980" + cpu_time: "33040:36" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "6.7" + percent_memory: "2.3" + pid: "2386" + priority: "20" + process_status: "S" + resident_memory_size: "89m" + shared_memory_size: "28m" + user: "root" + virtual_memory_size: "520m" +- command: "Sysdb" + cpu_time: "5362:10" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "5.3" + pid: "1651" + priority: "20" + process_status: "S" + resident_memory_size: "205m" + shared_memory_size: "100m" + user: "root" + virtual_memory_size: "571m" +- command: "Lag+LacpAgent" + cpu_time: "164:04.32" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "2.3" + pid: "1843" + priority: "20" + process_status: "S" + resident_memory_size: "89m" + shared_memory_size: "30m" + user: "root" + virtual_memory_size: "521m" +- command: "LedPolicyAgent" + cpu_time: "1534:21" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "2.0" + pid: "1869" + priority: "20" + process_status: "S" + resident_memory_size: "77m" + shared_memory_size: "23m" + user: "root" + virtual_memory_size: "507m" +- command: "Smbus" + cpu_time: "3348:14" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "2.1" + pid: "2099" + priority: "20" + process_status: "S" + resident_memory_size: "80m" + shared_memory_size: "22m" + user: "root" + virtual_memory_size: "513m" +- command: "PhyEthtool" + cpu_time: "617:21.13" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "1.8" + pid: "2164" + priority: "20" + process_status: "S" + resident_memory_size: "69m" + shared_memory_size: "10m" + user: "root" + virtual_memory_size: "513m" +- command: "Pmbus" + cpu_time: "1450:29" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "1.9" + pid: "2592" + priority: "20" + process_status: "S" + resident_memory_size: "74m" + shared_memory_size: "21m" + user: "root" + virtual_memory_size: "507m" +- command: "top" + cpu_time: "0:00.11" + global_cpu_percent_hi: "0.7" + global_cpu_percent_idle: "84.5" + global_cpu_percent_iowait: "0.0" + global_cpu_percent_nice: "0.0" + global_cpu_percent_si: "0.1" + global_cpu_percent_stolen: "0.0" + global_cpu_percent_system: "2.3" + global_cpu_percent_user: "12.5" + global_load_average_15_minutes: "0.29" + global_load_average_1_minutes: "0.38" + global_load_average_5_minutes: "0.31" + global_mem_buffers: "156856" + global_mem_free: "1260904" + global_mem_total: "3981336" + global_mem_unit: "k" + global_mem_used: "2720432" + global_swap_mem_cached: "1521888" + global_swap_mem_free: "0" + global_swap_mem_total: "0" + global_swap_mem_unit: "k" + global_swap_mem_used: "0" + global_tasks_running: "1" + global_tasks_sleeping: "247" + global_tasks_stopped: "0" + global_tasks_total: "248" + global_tasks_zombie: "0" + global_timestamp: "17:14:22" + global_users: "1" + nice: "0" + percent_cpu: "1.7" + percent_memory: "0.3" + pid: "11615" + priority: "20" + process_status: "R" + resident_memory_size: "12m" + shared_memory_size: "9668" + user: "ntc" + virtual_memory_size: "26148" From b96d5e2d24679be13c914bc9ad674b23f60aac08 Mon Sep 17 00:00:00 2001 From: showipintbri <40892800+showipintbri@users.noreply.github.com> Date: Tue, 26 Apr 2022 10:01:18 -0400 Subject: [PATCH 267/412] Added Juniper Junos `show vlans` (#1125) * Added index and textfsm files for Juniper 'show vlans' --- ntc_templates/templates/index | 1 + .../juniper_junos_show_vlans.textfsm | 15 ++++++++ .../show_vlans/juniper_junos_show_vlans.raw | 28 +++++++++++++++ .../show_vlans/juniper_junos_show_vlans.yml | 36 +++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 ntc_templates/templates/juniper_junos_show_vlans.textfsm create mode 100644 tests/juniper_junos/show_vlans/juniper_junos_show_vlans.raw create mode 100644 tests/juniper_junos/show_vlans/juniper_junos_show_vlans.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6d9c62d3d9..a947134e35 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -471,6 +471,7 @@ juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[ei juniper_junos_show_system_uptime.textfsm, .*, juniper_junos, sh[[ow]] sys[[tem]] up[[time]] juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] +juniper_junos_show_vlans.textfsm, .*, juniper_junos, sh[[ow]] vl[[ans]] juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route diff --git a/ntc_templates/templates/juniper_junos_show_vlans.textfsm b/ntc_templates/templates/juniper_junos_show_vlans.textfsm new file mode 100644 index 0000000000..751a6f2c4a --- /dev/null +++ b/ntc_templates/templates/juniper_junos_show_vlans.textfsm @@ -0,0 +1,15 @@ +Value ROUTING_INSTANCE (\S+) +Value VLAN_NAME (\S+) +Value TAG (\d+) +Value List INTERFACES (\S+) + +Start + ^Routing\sinstance\s+VLAN\sname\s+Tag\s+Interfaces$$ -> VLAN + +VLAN + ^\S -> Continue.Record + ^${ROUTING_INSTANCE}\s+${VLAN_NAME}\s+${TAG}\s*$$ + ^\s+${INTERFACES}$$ + ^\s*$$ + ^{master:\d+} + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.raw b/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.raw new file mode 100644 index 0000000000..0cea94a9da --- /dev/null +++ b/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.raw @@ -0,0 +1,28 @@ +Routing instance VLAN name Tag Interfaces +default-switch v100-Control 100 + ae0.0* + et-0/0/24.0* + ge-0/0/3.0 + xe-0/0/13.0* + xe-0/0/15.0* + xe-0/0/17.0* + xe-0/0/9.0* +default-switch v1005-HelpDesk 1005 + ae0.0* + et-0/0/24.0* + ge-0/0/7.0 + xe-0/0/13.0* + xe-0/0/15.0* + xe-0/0/17.0* + xe-0/0/9.0* +default-switch v109-TEMP-Project-Data 109 + ae0.0* + et-0/0/24.0* + ge-0/0/7.0 + xe-0/0/13.0* + xe-0/0/15.0* + xe-0/0/17.0* + xe-0/0/22.0 + xe-0/0/9.0* + +{master:0} \ No newline at end of file diff --git a/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.yml b/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.yml new file mode 100644 index 0000000000..d26b5672b3 --- /dev/null +++ b/tests/juniper_junos/show_vlans/juniper_junos_show_vlans.yml @@ -0,0 +1,36 @@ +--- +parsed_sample: + - routing_instance: "default-switch" + vlan_name: "v100-Control" + tag: "100" + interfaces: + - "ae0.0*" + - "et-0/0/24.0*" + - "ge-0/0/3.0" + - "xe-0/0/13.0*" + - "xe-0/0/15.0*" + - "xe-0/0/17.0*" + - "xe-0/0/9.0*" + - routing_instance: "default-switch" + vlan_name: "v1005-HelpDesk" + tag: "1005" + interfaces: + - "ae0.0*" + - "et-0/0/24.0*" + - "ge-0/0/7.0" + - "xe-0/0/13.0*" + - "xe-0/0/15.0*" + - "xe-0/0/17.0*" + - "xe-0/0/9.0*" + - routing_instance: "default-switch" + vlan_name: "v109-TEMP-Project-Data" + tag: "109" + interfaces: + - "ae0.0*" + - "et-0/0/24.0*" + - "ge-0/0/7.0" + - "xe-0/0/13.0*" + - "xe-0/0/15.0*" + - "xe-0/0/17.0*" + - "xe-0/0/22.0" + - "xe-0/0/9.0*" From 3216fcb53785795ba2a74f192bcaf8700da1492f Mon Sep 17 00:00:00 2001 From: networkop Date: Tue, 3 May 2022 20:52:03 +0100 Subject: [PATCH 268/412] fix EOS bug --- .../arista_eos_show_ip_route.textfsm | 2 +- .../arista_eos_show_ip_route5.raw | 20 +++++ .../arista_eos_show_ip_route5.yml | 80 +++++++++++++++++++ 3 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml diff --git a/ntc_templates/templates/arista_eos_show_ip_route.textfsm b/ntc_templates/templates/arista_eos_show_ip_route.textfsm index adbcb1d050..f9c3290bc9 100644 --- a/ntc_templates/templates/arista_eos_show_ip_route.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_route.textfsm @@ -15,7 +15,7 @@ Start ^kernel ^Codes: # Match for codes - ^\s+\S+\s+-\s+\S+ + ^\s+.+-.+ ^\s*$$ -> Routes ^. -> Error diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.raw new file mode 100644 index 0000000000..702fed763d --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.raw @@ -0,0 +1,20 @@ +VRF: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B - Other BGP Routes, + B I - iBGP, B E - eBGP, R - RIP, I L1 - IS-IS level 1, + I L2 - IS-IS level 2, O3 - OSPFv3, A B - BGP Aggregate, + A O - OSPF Summary, NG - Nexthop Group Static Route, + V - VXLAN Control Service, M - Martian, + DH - DHCP client installed default route, + DP - Dynamic Policy Route, L - VRF Leaked, + G - gRIBI, RC - Route Cache Route + + C 162.220.49.0/26 is directly connected, Vlan105 + C 162.220.49.64/26 is directly connected, Vlan104 + C 162.220.49.128/31 is directly connected, Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212 + B I 162.220.49.130/31 [200/0] via 199.229.255.1, Vlan50 + B I 162.220.49.132/31 [200/0] via 199.229.255.1, Vlan50 + C 162.220.49.134/31 is directly connected, Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src 216.201.90.212 + S 162.220.49.0/24 is directly connected, Null0 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml new file mode 100644 index 0000000000..7fc1c93a0a --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "C" + network: "162.220.49.0" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan105" + - vrf: "default" + protocol: "C" + network: "162.220.49.64" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan104" + - vrf: "default" + protocol: "C" + network: "162.220.49.128" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" + - vrf: "default" + protocol: "B I" + network: "162.220.49.130" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "B I" + network: "162.220.49.132" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "C" + network: "162.220.49.134" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src\ + \ 216.201.90.212" + - vrf: "default" + protocol: "S" + network: "162.220.49.0" + mask: "24" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Null0" From e72650d6c3508937e3e31ca79805cc336433e9a5 Mon Sep 17 00:00:00 2001 From: hagleyj Date: Thu, 12 May 2022 08:18:42 -0400 Subject: [PATCH 269/412] Add aruba_os_show_ap_radio-database (#1133) * aruba_os_show_ap_radio-database --- .../aruba_os_show_ap_radio-database.textfsm | 25 +++++++++++++ ntc_templates/templates/index | 1 + .../aruba_os_show_ap_radio-database.raw | 24 +++++++++++++ .../aruba_os_show_ap_radio-database.yml | 35 +++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 ntc_templates/templates/aruba_os_show_ap_radio-database.textfsm create mode 100644 tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.raw create mode 100644 tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.yml diff --git a/ntc_templates/templates/aruba_os_show_ap_radio-database.textfsm b/ntc_templates/templates/aruba_os_show_ap_radio-database.textfsm new file mode 100644 index 0000000000..1b42bde941 --- /dev/null +++ b/ntc_templates/templates/aruba_os_show_ap_radio-database.textfsm @@ -0,0 +1,25 @@ +Value AP_NAME (\S+) +Value GROUP (\S+) +Value AP_MODEL (\S+) +Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STATUS (.+?) +Value FLAGS (\S+) +Value PRIMARY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STANDBY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value RADIO0 (\S+) +Value RADIO1 (\S+) +Value RADIO2 (\S+) + +Start + ^${AP_NAME}\s+${GROUP}\s+${AP_MODEL}\s+${IP_ADDRESS}\s+${STATUS}\s+${FLAGS}\s+${PRIMARY}\s+${STANDBY}\s+${RADIO0}\s+${RADIO1}\s+${RADIO2}\s*$$ -> Record + ^AP Radio Database + ^.+\.+ + ^Name\s+Group\s+AP\s+Type\s+IP Address\s+Status\s+Flags\s+Switch IP\s+Standby IP\s+Radio 0 Band/Chan/HT-Type/EIRP\s+Radio 1 Band/Chan/HT-Type/EIRP\s+Radio 2 Band/Chan/HT-Type/EIRP\s*$$ + ^Flags: + ^\s*$$ + ^\s+ + ^"Spectrum" + ^Total + ^-+ + ^. -> Error + diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a947134e35..88619c7cb2 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -86,6 +86,7 @@ aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] +aruba_os_show_ap_radio-database.textfsm, .*, aruba_os, show ap radio-database aruba_os_show_ap_database.textfsm, .*, aruba_os, show ap database aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp diff --git a/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.raw b/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.raw new file mode 100644 index 0000000000..bc013cc303 --- /dev/null +++ b/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.raw @@ -0,0 +1,24 @@ +AP Radio Database +----------------- +Name Group AP Type IP Address Status Flags Switch IP Standby IP Radio 0 Band/Chan/HT-Type/EIRP Radio 1 Band/Chan/HT-Type/EIRP Radio 2 Band/Chan/HT-Type/EIRP +---- ----- ------- ---------- ------ ----- --------- ---------- ------------------------------ ------------------------------ ------------------------------ +ap-building-1 building 635 192.168.1.1 Up 35d:23h:44m:14s 2Sf 192.168.2.2 192.168.2.3 AP:5GHz/132+/HE/20.0 AP:2.4GHz/6/HE/9.0 AP:6GHz/197S/HE/17.0 +ap-building-2 building 515 192.168.1.2 Up 35d:23h:44m:12s 2Sf 192.168.2.2 192.168.2.3 AP:5GHz/100+/HE/19.0 AP:2.4GHz/11/HE/9.0 N/A +ap-building-3 building 505H 192.168.1.3 Up 35d:23h:44m:19s 2Sf 192.168.2.2 192.168.2.3 N/A AP:2.4GHz/6/HE/9.0 N/A + +Flags: 1 = 802.1x authenticated AP use EAP-PEAP; 1+ = 802.1x use EST; 1- = 802.1x use factory cert + 2 = Using IKE version 2; 4 = WiFi Uplink + B = Built-in AP; C = Cellular RAP; D = Dirty or no config + E = Regulatory Domain Mismatch; F = AP failed 802.1x authentication + G = No such group; I = Inactive; J = USB cert at AP; L = Unlicensed + M = Mesh node + N = Duplicate name; P = PPPoe AP; R = Remote AP; R- = Remote AP requires Auth + S = Standby-mode AP; T = Thermal ShutDown; U = Unprovisioned; X = Maintenance Mode + Y = Mesh Recovery + b = bypass of AP1x timeout; c = CERT-based RAP; e = Custom EST cert; f = No Spectrum FFT support + i = Indoor; o = Outdoor; l = LAG 802.3ad; m = Protocol Mismatch + p = In deep-sleep status; r = Power Restricted; s = LACP striping; t = Temperature Restricted + u = Custom-Cert RAP; z = Datazone AP + +"Spectrum" followed by "^" indicates Local Spectrum Override in effect. + diff --git a/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.yml b/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.yml new file mode 100644 index 0000000000..dc654691a2 --- /dev/null +++ b/tests/aruba_os/show_ap_radio-database/aruba_os_show_ap_radio-database.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - ap_name: "ap-building-1" + group: "building" + ap_model: "635" + ip_address: "192.168.1.1" + status: "Up 35d:23h:44m:14s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + radio0: "AP:5GHz/132+/HE/20.0" + radio1: "AP:2.4GHz/6/HE/9.0" + radio2: "AP:6GHz/197S/HE/17.0" + - ap_name: "ap-building-2" + group: "building" + ap_model: "515" + ip_address: "192.168.1.2" + status: "Up 35d:23h:44m:12s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + radio0: "AP:5GHz/100+/HE/19.0" + radio1: "AP:2.4GHz/11/HE/9.0" + radio2: "N/A" + - ap_name: "ap-building-3" + group: "building" + ap_model: "505H" + ip_address: "192.168.1.3" + status: "Up 35d:23h:44m:19s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + radio0: "N/A" + radio1: "AP:2.4GHz/6/HE/9.0" + radio2: "N/A" From 379a40c8a8c85f862e0c40ddb7e2f09190936b5f Mon Sep 17 00:00:00 2001 From: Elin <365433079@qq.com> Date: Mon, 23 May 2022 02:45:53 +0800 Subject: [PATCH 270/412] fix: Path separator error on windows (#1139) --- tests/test_structured_data_against_parsed_reference_files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index d618cec6fd..78ea8afc4c 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -2,6 +2,7 @@ """Run tests against all the *.raw files.""" import glob +import os import pytest import yaml @@ -30,7 +31,7 @@ def load_template_test(request): def raw_template_test(raw_file): """Return structured data along with reference data.""" parsed_file = "{0}.yml".format(raw_file[:-4]) - parts = raw_file.split("/") + parts = os.path.normpath(raw_file).split(os.sep) platform = parts[1] command = " ".join(parts[2].split("_")) with open(raw_file, "r") as data: From 5eb96e215430ad8e12d2eed6b756ab235d15dc02 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 23 May 2022 01:46:57 +0700 Subject: [PATCH 271/412] Add zyxel cfg nat get (#1073) * Add zyxel cfg nat get * Update ntc_templates/templates/zyxel_os_cfg_nat_get.textfsm Co-authored-by: Ken Celenza Co-authored-by: Edouard Lavaud Co-authored-by: Ken Celenza --- ntc_templates/templates/index | 2 + .../templates/zyxel_os_cfg_nat_get.textfsm | 22 ++++++ tests/test_index_order.py | 1 + .../cfg_nat_get/zyxel_os_cfg_nat_get.raw | 9 +++ .../cfg_nat_get/zyxel_os_cfg_nat_get.yml | 79 +++++++++++++++++++ 5 files changed, 113 insertions(+) create mode 100644 ntc_templates/templates/zyxel_os_cfg_nat_get.textfsm create mode 100644 tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.raw create mode 100644 tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 88619c7cb2..d6b1e4837d 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -514,3 +514,5 @@ watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] + +zyxel_os_cfg_nat_get.textfsm, .*, zyxel_os, cfg nat get diff --git a/ntc_templates/templates/zyxel_os_cfg_nat_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_nat_get.textfsm new file mode 100644 index 0000000000..56dccb6546 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_nat_get.textfsm @@ -0,0 +1,22 @@ +Value INDEX (\d+) +Value NAME (.+?) +Value ENABLED (0|1) +Value ORIGINATING_IP (\d+\.\d+\.\d+\.\d+|N\/A) +Value SERVER_IP (.+?) +Value WAN_INTERFACE (.+?) +Value START_PORT (\d+) +Value END_PORT (\d+) +Value TRANSL_START_PORT (\d+) +Value TRANSL_END_PORT (\d+) +Value PROTOCOL (.+?) + +Start + ^Index\s+Description\s+Enable\s+Originating\sIP\s+Server\sIP\sAddress\s+WAN\sInterface\s+Start\sPort\s+End\sPort\s+Translation\sStart\sPort\s+Translation\sEnd\sPort\s+Protocol\s*$$ -> NATTable + ^\s*$$ + ^. -> Error + +NATTable + ^${INDEX}\s+${NAME}\s+${ENABLED}\s+${ORIGINATING_IP}\s+${SERVER_IP}\s+${WAN_INTERFACE}\s+${START_PORT}\s+${END_PORT}\s+${TRANSL_START_PORT}\s+${TRANSL_END_PORT}\s+${PROTOCOL}\s*$$ -> Record + ^Command Successful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 97e9a82c48..fa2044466a 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -54,6 +54,7 @@ "vyos", "watchguard_firebox", "yamaha", + "zyxel_os", ] CHOICES_STRING = "|".join(OS_CHOICES) RE_TEMPLATE_OS = re.compile(rf"^({CHOICES_STRING})") diff --git a/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.raw b/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.raw new file mode 100644 index 0000000000..852cda52f4 --- /dev/null +++ b/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.raw @@ -0,0 +1,9 @@ +Index Description Enable Originating IP Server IP Address WAN Interface Start Port End Port Translation Start Port Translation End Port Protocol +1 rabbitmq0 0 185.24.67.123 192.168.1.13 ADSL 15672 15672 15672 15672 ALL +2 website0 1 N/A 192.168.1.25 ADSL 80 80 8080 8080 ALL +3 phone-udp0 1 34.32.21.43 192.168.1.1 ADSL 4433 4433 433 433 UDP +4 phone-udp1 1 45.21.54.76 192.168.1.1 ADSL 4433 4433 433 433 UDP +5 phone-udp2 1 21.78.99.34 192.168.1.1 ADSL 4433 4433 433 433 UDP +6 phone-udp3 1 185.24.67.123 192.168.1.1 ADSL 4433 4433 433 433 UDP +7 phone-tcp0 1 N/A 192.168.1.1 ADSL 8080 8080 80 80 TCP +Command Successful. diff --git a/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.yml b/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.yml new file mode 100644 index 0000000000..bd9fb01cfb --- /dev/null +++ b/tests/zyxel_os/cfg_nat_get/zyxel_os_cfg_nat_get.yml @@ -0,0 +1,79 @@ +--- +parsed_sample: + - index: "1" + name: "rabbitmq0" + enabled: "0" + originating_ip: "185.24.67.123" + server_ip: "192.168.1.13" + wan_interface: "ADSL" + start_port: "15672" + end_port: "15672" + transl_start_port: "15672" + transl_end_port: "15672" + protocol: "ALL" + - index: "2" + name: "website0" + enabled: "1" + originating_ip: "N/A" + server_ip: "192.168.1.25" + wan_interface: "ADSL" + start_port: "80" + end_port: "80" + transl_start_port: "8080" + transl_end_port: "8080" + protocol: "ALL" + - index: "3" + name: "phone-udp0" + enabled: "1" + originating_ip: "34.32.21.43" + server_ip: "192.168.1.1" + wan_interface: "ADSL" + start_port: "4433" + end_port: "4433" + transl_start_port: "433" + transl_end_port: "433" + protocol: "UDP" + - index: "4" + name: "phone-udp1" + enabled: "1" + originating_ip: "45.21.54.76" + server_ip: "192.168.1.1" + wan_interface: "ADSL" + start_port: "4433" + end_port: "4433" + transl_start_port: "433" + transl_end_port: "433" + protocol: "UDP" + - index: "5" + name: "phone-udp2" + enabled: "1" + originating_ip: "21.78.99.34" + server_ip: "192.168.1.1" + wan_interface: "ADSL" + start_port: "4433" + end_port: "4433" + transl_start_port: "433" + transl_end_port: "433" + protocol: "UDP" + - index: "6" + name: "phone-udp3" + enabled: "1" + originating_ip: "185.24.67.123" + server_ip: "192.168.1.1" + wan_interface: "ADSL" + start_port: "4433" + end_port: "4433" + transl_start_port: "433" + transl_end_port: "433" + protocol: "UDP" + - index: "7" + name: "phone-tcp0" + enabled: "1" + originating_ip: "N/A" + server_ip: "192.168.1.1" + wan_interface: "ADSL" + start_port: "8080" + end_port: "8080" + transl_start_port: "80" + transl_end_port: "80" + protocol: "TCP" From acf3684258530fe850a88e2ef52352cb0c6905e5 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 22 May 2022 13:48:59 -0500 Subject: [PATCH 272/412] add new template ubiquiti_edgerouter_show_dhcp_leases (#1097) Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 1 + .../ubiquiti_edgerouter_show_dhcp_leases.textfsm | 12 ++++++++++++ .../ubiquiti_edgerouter_show_dhcp_leases.raw | 3 +++ .../ubiquiti_edgerouter_show_dhcp_leases.yml | 7 +++++++ 4 files changed, 23 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw create mode 100644 tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d6b1e4837d..d052a5d9d7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -497,6 +497,7 @@ ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-ad ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm new file mode 100644 index 0000000000..6f0b9f67ec --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm @@ -0,0 +1,12 @@ +Value IP ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value MAC ((?:[0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}) +Value EXPIRATION (.+\S) +Value POOL (\S+) +Value HOST (\S+) + +Start + ^IP\saddress\s+Hardware\sAddress\s+Lease\sexpiration\s+Pool\s+Client\sName\s*$$ + ^-+\s+-+\s+-+\s+-+\s+-+\s*$$ + ^${IP}\s+${MAC}\s+${EXPIRATION}\s+${POOL}\s+${HOST}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw new file mode 100644 index 0000000000..1b8fad5394 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw @@ -0,0 +1,3 @@ +IP address Hardware Address Lease expiration Pool Client Name +---------- ---------------- ---------------- ---- ----------- +125.125.15.12 00:0a:95:9d:68:16 Sep 18, 2021 5 HOSTNAME diff --git a/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.yml b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.yml new file mode 100644 index 0000000000..6ee0fdeab1 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - ip: "125.125.15.12" + mac: "00:0a:95:9d:68:16" + expiration: "Sep 18, 2021" + pool: "5" + host: "HOSTNAME" From 1917b9aa02abadf77b2cd052f75e3622f03d6074 Mon Sep 17 00:00:00 2001 From: hagleyj Date: Sun, 22 May 2022 14:53:53 -0400 Subject: [PATCH 273/412] Create aruba_os_show_ap_database_long (#1134) * fix for 1051 * aruba_os_show_ap_radio-database * aruba_os_show_ap_database_long Co-authored-by: Jeff Hagley --- .../aruba_os_show_ap_database_long.textfsm | 26 +++++++++++ ntc_templates/templates/index | 1 + .../aruba_os_show_ap_database_long.raw | 23 ++++++++++ .../aruba_os_show_ap_database_long.yml | 44 +++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 ntc_templates/templates/aruba_os_show_ap_database_long.textfsm create mode 100644 tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.raw create mode 100644 tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.yml diff --git a/ntc_templates/templates/aruba_os_show_ap_database_long.textfsm b/ntc_templates/templates/aruba_os_show_ap_database_long.textfsm new file mode 100644 index 0000000000..4d809f0c86 --- /dev/null +++ b/ntc_templates/templates/aruba_os_show_ap_database_long.textfsm @@ -0,0 +1,26 @@ +Value AP_NAME (\S+) +Value GROUP (\S+) +Value AP_MODEL (\S+) +Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STATUS (.+?) +Value FLAGS (\S+) +Value PRIMARY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value STANDBY ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value MAC ([a-fA-F0-9]{2}(:[a-fA-F0-9]{2}){5}) +Value SERIAL (\S+) +Value PORT (.+?) +Value FQLN (.+?) +Value OUTER_IP (.+?) +Value USER (.+?) + +Start + ^${AP_NAME}\s+${GROUP}\s+${AP_MODEL}\s+${IP_ADDRESS}\s+${STATUS}\s+${FLAGS}\s+${PRIMARY}\s+${STANDBY}\s+${MAC}\s+${SERIAL}\s+${PORT}\s+${FQLN}\s+${OUTER_IP}\s+${USER}\s*$$ -> Record + ^AP Database + ^.+\.+ + ^Name\s+Group\s+AP Type\s+IP Address\s+Status\s+Flags\s+Switch IP\s+Standby IP\s+Wired MAC Address\s+Serial #\s+Port\s+FQLN\s+Outer IP\s+User\s*$$ + ^Flags: + ^\s*$$ + ^\s+ + ^Total + ^-+ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index d052a5d9d7..c3574ee70a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -87,6 +87,7 @@ aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] aruba_os_show_ap_radio-database.textfsm, .*, aruba_os, show ap radio-database +aruba_os_show_ap_database_long.textfsm, .*, aruba_os, show ap database long aruba_os_show_ap_database.textfsm, .*, aruba_os, show ap database aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp diff --git a/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.raw b/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.raw new file mode 100644 index 0000000000..1009771024 --- /dev/null +++ b/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.raw @@ -0,0 +1,23 @@ + +AP Database +----------- +Name Group AP Type IP Address Status Flags Switch IP Standby IP Wired MAC Address Serial # Port FQLN Outer IP User +---- ----- ------- ---------- ------ ----- --------- ---------- ----------------- -------- ---- ---- -------- ---- +ap-building-1 building 635 192.168.1.1 Up 2d:17h:8m:4s 2Sf 192.168.2.2 192.168.2.3 cc:88:c7:11:22:33 CNM12345 N/A N/A N/A N/A +ap-building-2 building 515 192.168.1.2 Up 2d:17h:8m:23s 2Sf 192.168.2.2 192.168.2.3 cc:88:c7:11:22:34 CNM12346 N/A N/A N/A N/A +ap-building-3 building 505H 192.168.1.3 Up 2d:16h:57m:55s 2Sf 192.168.2.2 192.168.2.3 cc:88:c7:11:22:35 CNM12347 N/A N/A N/A N/A + + +Flags: 1 = 802.1x authenticated AP use EAP-PEAP; 1+ = 802.1x use EST; 1- = 802.1x use factory cert + 2 = Using IKE version 2; 4 = WiFi Uplink + B = Built-in AP; C = Cellular RAP; D = Dirty or no config + E = Regulatory Domain Mismatch; F = AP failed 802.1x authentication + G = No such group; I = Inactive; J = USB cert at AP; L = Unlicensed + M = Mesh node + N = Duplicate name; P = PPPoe AP; R = Remote AP; R- = Remote AP requires Auth + S = Standby-mode AP; T = Thermal ShutDown; U = Unprovisioned; X = Maintenance Mode + Y = Mesh Recovery + b = bypass of AP1x timeout; c = CERT-based RAP; e = Custom EST cert; f = No Spectrum FFT support + i = Indoor; o = Outdoor; l = LAG 802.3ad; m = Protocol Mismatch + p = In deep-sleep status; r = Power Restricted; s = LACP striping; t = Temperature Restricted + u = Custom-Cert RAP; z = Datazone AP diff --git a/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.yml b/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.yml new file mode 100644 index 0000000000..6cbe033a23 --- /dev/null +++ b/tests/aruba_os/show_ap_database_long/aruba_os_show_ap_database_long.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - ap_name: "ap-building-1" + group: "building" + ap_model: "635" + ip_address: "192.168.1.1" + status: "Up 2d:17h:8m:4s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + mac: "cc:88:c7:11:22:33" + serial: "CNM12345" + port: "N/A" + fqln: "N/A" + outer_ip: "N/A" + user: "N/A" + - ap_name: "ap-building-2" + group: "building" + ap_model: "515" + ip_address: "192.168.1.2" + status: "Up 2d:17h:8m:23s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + mac: "cc:88:c7:11:22:34" + serial: "CNM12346" + port: "N/A" + fqln: "N/A" + outer_ip: "N/A" + user: "N/A" + - ap_name: "ap-building-3" + group: "building" + ap_model: "505H" + ip_address: "192.168.1.3" + status: "Up 2d:16h:57m:55s" + flags: "2Sf" + primary: "192.168.2.2" + standby: "192.168.2.3" + mac: "cc:88:c7:11:22:35" + serial: "CNM12347" + port: "N/A" + fqln: "N/A" + outer_ip: "N/A" + user: "N/A" From b17843be0870fb2db1e27706bbc49f4d80e45b4a Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 23 May 2022 01:54:34 +0700 Subject: [PATCH 274/412] Add mikrotik templates: (#1136) * interface ethernet monitor (name) once * ip arp print without-paging * ip firewall filter print all without-paging * ip dhcp-server lease print without paging * ip firewall nat print all without-paging * snmp community print without-paging * ip route print without-paging * system routerboard print Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 9 + ...terface_ethernet_monitor_name_once.textfsm | 21 + ...uteros_ip_arp_print_without-paging.textfsm | 12 + ...-server_lease_print_without-paging.textfsm | 19 + ...ll_filter_print_all_without-paging.textfsm | 30 ++ ...ewall_nat_print_all_without-paging.textfsm | 30 ++ ...eros_ip_route_print_without-paging.textfsm | 15 + ...nmp_community_print_without-paging.textfsm | 14 + ..._routeros_system_routerboard_print.textfsm | 21 + ...s_interface_ethernet_monitor_name_once.raw | 9 + ...s_interface_ethernet_monitor_name_once.yml | 11 + ...k_routeros_ip_arp_print_without-paging.raw | 4 + ...k_routeros_ip_arp_print_without-paging.yml | 12 + ...dhcp-server_lease_print_without-paging.raw | 4 + ...dhcp-server_lease_print_without-paging.yml | 20 + ...rewall_filter_print_all_without-paging.raw | 65 +++ ...rewall_filter_print_all_without-paging.yml | 485 ++++++++++++++++++ ..._firewall_nat_print_all_without-paging.raw | 12 + ..._firewall_nat_print_all_without-paging.yml | 107 ++++ ...routeros_ip_route_print_without-paging.raw | 7 + ...routeros_ip_route_print_without-paging.yml | 32 ++ ...os_snmp_community_print_without-paging.raw | 3 + ...os_snmp_community_print_without-paging.yml | 9 + ...otik_routeros_system_routerboard_print.raw | 9 + ...otik_routeros_system_routerboard_print.yml | 11 + tests/test_index_order.py | 1 + 26 files changed, 972 insertions(+) create mode 100644 ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm create mode 100644 ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm create mode 100644 tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw create mode 100644 tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.yml create mode 100644 tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw create mode 100644 tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.yml create mode 100644 tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw create mode 100644 tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.yml create mode 100644 tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw create mode 100644 tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml create mode 100644 tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw create mode 100644 tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.yml create mode 100644 tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw create mode 100644 tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml create mode 100644 tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw create mode 100644 tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.yml create mode 100644 tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.raw create mode 100644 tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index c3574ee70a..c0191ced2a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -479,6 +479,15 @@ juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route linux_arp_-a.textfsm, .*, linux, arp -a +mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall filter print all without-paging +mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip dhcp-server lease print without-paging +mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall nat print all without-paging +mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm, .*, mikrotik_routeros, [[/]]interface ethernet monitor (\S+) once +mikrotik_routeros_snmp_community_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]snmp community print without-paging +mikrotik_routeros_ip_route_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? route print without-paging +mikrotik_routeros_ip_arp_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip arp print without-paging +mikrotik_routeros_system_routerboard_print.textfsm, .*, mikrotik_routeros, [[/]]system routerboard print + paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all paloalto_panos_test_security-policy-match.textfsm, .*, paloalto_panos, test security-policy-match.* diff --git a/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm new file mode 100644 index 0000000000..0931ad0347 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm @@ -0,0 +1,21 @@ +Value name (\S+) +Value status (\S+) +Value auto_negotiation (\S+) +Value rate (\S+) +Value full_duplex (\S+) +Value tx_flow_control (\S+) +Value rx_flow_control (\S+) +Value advertising (\S+) +Value link_partner_advertising (\S+) + +Start + ^\s*name:\s${name} + ^\s*status:\s${status} + ^\s*auto-negotiation:\s${auto_negotiation} + ^\s*rate:\s${rate} + ^\s*full-duplex:\s${full_duplex} + ^\s*tx-flow-control:\s${tx_flow_control} + ^\s*rx-flow-control:\s${rx_flow_control} + ^\s*advertising:\s${advertising} + ^\s*link-partner-advertising:\s${link_partner_advertising} + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm new file mode 100644 index 0000000000..ca469a7578 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm @@ -0,0 +1,12 @@ +Value Key index (\d+) +Value flags ([XIHDPC]+) +Value ip (\S+) +Value mac (([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})) +Value interface (\S+) + +Start + ^\s+#\s*ADDRESS\s*MAC-ADDRESS\s*INTERFACE\s*$$ -> EntriesTable + +EntriesTable + ^\s*${index}\s*(${flags})?\s*${ip}\s*(${mac})?\s+(${interface})?\s+$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm new file mode 100644 index 0000000000..b911be2d3c --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm @@ -0,0 +1,19 @@ +Value Key index (\d+) +Value flags ([XRDB]+) +Value ip ([\w.:]+) +Value mac (([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})) +Value hostname (\S+) +Value server (\w+?) +Value rate_limit (\d+) +Value status (waiting|testing|authorizing|busy|offered|bound) +Value last_seen (\w+) + +Start + ^\s#\s+ADDRESS\s+MAC-ADDRESS\s+HOST-NAME\s+SERVER\s+RATE-LIMIT\s+STATUS\s+LAST-SEEN\s+$$ -> EntriesTable + +EntriesTable + ^\s*${index}\s+(${rate_limit})?\s+(${status})?\s+(${last_seen})?\s+$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}${ip}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+${mac}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+(${mac}|\s{17})\s(${hostname})?\s+(${server})?\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm new file mode 100644 index 0000000000..8e073d75c0 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm @@ -0,0 +1,30 @@ +Value Key index (\d+) +Value flags ([XID]+) +Value comment (\S+[\S ]*\S) +Value chain (input|forward|output) +Value action (accept|add-dst-to-address-list|add-src-to-address-list|drop|fasttrack-connection|jump|log|passthrough|reject|return|tarpit) +Value connection_state (\S+) +Value connection_nat_state (\S+) +Value protocol (!?(dccp|egp|etherip|gre|icmp|idpr-cmtp|ipencap|ipsec-ah|ipv6-encap|ipv6-nonxt|ipv6-route|l2tp|pim|rdp|rsvp|st|udp|vmtp|xns-idp|ddp|encap|ggp|hmp|icmpv6|igmp|ipip|ipsec-esp|ipv6-frag|ipv6-opts|iso-tp4|ospf|pup|rspf|sctp|tcp|udp-lite|vrrp|xtp)) +Value src_address ([\w!.:/\d]+) +Value src_address_list (\S+) +Value src_port (\S+) +Value in_interface_list (\S+) +Value out_interface_list (\S+) +Value in_interface (\S+) +Value out_interface (\S+) +Value ipsec_policy (\S+) +Value dst_address ([\w!.:/\d]+) +Value dst_address_list (\S+) +Value dst_port (\S+) +Value log (yes|no) +Value log_prefix (\S+[\S ]+) + +Start + ^Flags:.*$$ -> FirewallTable + +FirewallTable + ^\s?${index}\s+(${flags})?\s+;;;\s${comment} + ^\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?\s*(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm new file mode 100644 index 0000000000..c413c758d9 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm @@ -0,0 +1,30 @@ +Value Key index (\d+) +Value flags ([XID]+) +Value comment (\S+[\S ]*\S) +Value chain (dstnat|srcnat) +Value action (accept|add-dst-to-address-list|add-src-to-address-list|dst-nat|jump|log|masquerade|netmap|passthrough|redirect|return|same|src-nat) +Value to_addresses ([\w!,./:\d]+) +Value to_ports ([\d,-]+) +Value protocol (!?(dccp|egp|etherip|gre|icmp|idpr-cmtp|ipencap|ipsec-ah|ipv6-encap|ipv6-nonxt|ipv6-route|l2tp|pim|rdp|rsvp|st|udp|vmtp|xns-idp|ddp|encap|ggp|hmp|icmpv6|igmp|ipip|ipsec-esp|ipv6-frag|ipv6-opts|iso-tp4|ospf|pup|rspf|sctp|tcp|udp-lite|vrrp|xtp)) +Value src_address ([\w!.:/\d]+) +Value src_address_list (\S+) +Value src_port (\S+) +Value in_interface (\S+) +Value out_interface (\S+) +Value in_interface_list (\S+) +Value out_interface_list (\S+) +Value ipsec_policy (\S+) +Value dst_address ([\w!.:/\d]+) +Value dst_address_list (\S+) +Value dst_port (\S+) +Value log (yes|no) +Value log_prefix (\S+[\S ]*\S) + +Start + ^Flags:.*$$ -> NATTable + +NATTable + ^\s?${index}\s+(${flags})?\s+;;;\s${comment} + ^\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm new file mode 100644 index 0000000000..67ae2ae77e --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm @@ -0,0 +1,15 @@ +Value Key index (\d+) +Value flags ([XADCSrbomBUP ]+) +Value dst_address ([\w.:/\d]+) +Value pref_src (\S+?) +Value gateway (\S+) +Value distance (\d+) + +Start + ^ # +DST-ADDRESS +PREF-SRC +GATEWAY +DISTANCE$$ -> RoutesTable + ^ # +DST-ADDRESS +GATEWAY +DISTANCE$$ -> RoutesTable + +RoutesTable + ^\s?${index}\s+(${flags})?\s\s${dst_address}\s+${pref_src}\s+${gateway}\s+${distance}$$ -> Record + ^\s?${index}\s+(${flags})?\s\s${dst_address}\s+${gateway}\s+${distance}$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm new file mode 100644 index 0000000000..002e0d966a --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm @@ -0,0 +1,14 @@ +Value Key index (\d+) +Value flags ([X*]+) +Value name (\S+?) +Value addresses (\S+?) +Value security (authorized|none|private) +Value read_access (yes|no) +Value write_access (yes|no) + +Start + ^\s#\s+NAME\s+ADDRESSES\s+SECURITY\s+READ-ACCESS\s+WRITE-ACCESS\s*$$ -> SNMPCommunitiesTable + +SNMPCommunitiesTable + ^\s?${index}\s+(${flags})?\s+${name}\s+${addresses}\s+${security}\s+${read_access}\s+${write_access}\s+$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm new file mode 100644 index 0000000000..70142249f1 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm @@ -0,0 +1,21 @@ +Value routerboard (\S+) +Value board_name (\S+) +Value hardware_model (\S+) +Value revision (\S+) +Value serial_number (\S+) +Value firmware_type (\S+) +Value factory_firmware ([\d.]+) +Value current_firmware ([\d.]+) +Value upgrade_firmware ([\d.]+) + +Start + ^\s*routerboard:\s${routerboard} + ^\s*board-name:\s${board_name} + ^\s*model:\s${hardware_model} + ^\s*revision:\s${revision} + ^\s*serial-number:\s${serial_number} + ^\s*firmware-type:\s${firmware_type} + ^\s*factory-firmware:\s${factory_firmware} + ^\s*current-firmware:\s${current_firmware} + ^\s*upgrade-firmware:\s${upgrade_firmware} + ^. -> Error diff --git a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw new file mode 100644 index 0000000000..a10fed3eaf --- /dev/null +++ b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw @@ -0,0 +1,9 @@ + name: ether1 + status: link-ok + auto-negotiation: done + rate: 1Gbps + full-duplex: yes + tx-flow-control: no + rx-flow-control: no + advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full + link-partner-advertising: 10M-half,10M-full,100M-half,100M-full,1000M-full diff --git a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.yml b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.yml new file mode 100644 index 0000000000..515b94c879 --- /dev/null +++ b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - name: "ether1" + status: "link-ok" + auto_negotiation: "done" + rate: "1Gbps" + full_duplex: "yes" + tx_flow_control: "no" + rx_flow_control: "no" + advertising: "10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full" + link_partner_advertising: "10M-half,10M-full,100M-half,100M-full,1000M-full" diff --git a/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw new file mode 100644 index 0000000000..20da8b9a02 --- /dev/null +++ b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw @@ -0,0 +1,4 @@ +Flags: X - disabled, I - invalid, H - DHCP, D - dynamic, P - published, C - complete + # ADDRESS MAC-ADDRESS INTERFACE + 0 D 185.163.212.158 dmz-1-vlan + 1 185.163.212.159 AF:D6:C8:F2:36:16 vlan-2 diff --git a/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.yml b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.yml new file mode 100644 index 0000000000..984051fcfd --- /dev/null +++ b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - index: "0" + flags: "D" + ip: "185.163.212.158" + mac: "" + interface: "dmz-1-vlan" + - index: "1" + flags: "" + ip: "185.163.212.159" + mac: "AF:D6:C8:F2:36:16" + interface: "vlan-2" diff --git a/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw new file mode 100644 index 0000000000..ca4706840a --- /dev/null +++ b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw @@ -0,0 +1,4 @@ +Flags: X - disabled, R - radius, D - dynamic, B - blocked + # ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS LAST-SEEN + 0 AF:D6:C8:F2:36:16 waiting never + 1 X 192.168.1.56 15 waiting never diff --git a/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.yml b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.yml new file mode 100644 index 0000000000..d2df4ee0c4 --- /dev/null +++ b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - index: "0" + flags: "" + ip: "" + mac: "AF:D6:C8:F2:36:16" + hostname: "" + server: "" + rate_limit: "" + status: "waiting" + last_seen: "never" + - index: "1" + flags: "X" + ip: "192.168.1.56" + mac: "" + hostname: "" + server: "" + rate_limit: "15" + status: "waiting" + last_seen: "never" diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw new file mode 100644 index 0000000000..c27eb503e5 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw @@ -0,0 +1,65 @@ +Flags: X - disabled, I - invalid, D - dynamic + 0 ;;; defconf: accept established,related,untracked + chain=input action=accept connection-state=established,related,untracked + + 1 ;;; defconf: drop invalid + chain=input action=drop connection-state=invalid + + 2 ;;; FIREWALL-DMZ-1 + chain=forward action=accept connection-state=established,related,new in-interface=dmz-1-vlan out-interface=pppoe-out1 + + 3 chain=forward action=accept dst-address=185.163.212.156/30 + + 4 ;;; defconf: accept ICMP + chain=input action=accept protocol=icmp + + 5 ;;; Acces VPN + chain=input action=accept protocol=udp dst-port=500,1701,4500 log-prefix="Acces VPN" + + 6 chain=input action=accept protocol=ipsec-esp + + 7 ;;; Acces WAN + chain=input action=accept protocol=tcp src-address-list=Supervision dst-port=4430,22,8291 + + 8 ;;; Acces WAN SNMP + chain=input action=accept protocol=udp src-address-list=Supervision dst-port=161 + + 9 ;;; defconf: accept to local loopback (for CAPsMAN) + chain=input action=accept dst-address=127.0.0.1 + +10 ;;; defconf: drop all not coming from LAN + chain=input action=drop in-interface-list=!LAN + +11 ;;; defconf: accept in ipsec policy + chain=forward action=accept ipsec-policy=in,ipsec + +12 ;;; defconf: accept out ipsec policy + chain=forward action=accept ipsec-policy=out,ipsec + +13 X ;;; defconf: fasttrack + chain=forward action=fasttrack-connection connection-state=established,related + +14 ;;; defconf: accept established,related, untracked + chain=forward action=accept connection-state=established,related,untracked + +15 ;;; defconf: drop invalid + chain=forward action=drop connection-state=invalid + +16 ;;; defconf: drop all from WAN not DSTNATed + chain=forward action=drop connection-state=new connection-nat-state=!dstnat in-interface-list=WAN + +17 ;;; Input + chain=input action=accept src-address-list=Eqinoxe + +18 ;;; related established + chain=input connection-state=established,related + +19 chain=forward connection-state=established,related + +20 ;;; drop invalid connections + chain=forward action=drop connection-state=invalid protocol=tcp + +21 ;;; Block all entrant + chain=input action=drop in-interface=all-ppp + +22 chain=input action=drop in-interface=all-ethernet diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml new file mode 100644 index 0000000000..a15ec02c12 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml @@ -0,0 +1,485 @@ +--- +parsed_sample: + - index: "0" + flags: "" + comment: "defconf: accept established,related,untracked" + chain: "input" + action: "accept" + connection_state: "established,related,untracked" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "1" + flags: "" + comment: "defconf: drop invalid" + chain: "input" + action: "drop" + connection_state: "invalid" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "2" + flags: "" + comment: "FIREWALL-DMZ-1" + chain: "forward" + action: "accept" + connection_state: "established,related,new" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "dmz-1-vlan" + out_interface: "pppoe-out1" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "3" + flags: "" + comment: "" + chain: "forward" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "185.163.212.156/30" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "4" + flags: "" + comment: "defconf: accept ICMP" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "icmp" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "5" + flags: "" + comment: "Acces VPN" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "udp" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "500,1701,4500" + log: "" + log_prefix: "Acces VPN" + - index: "6" + flags: "" + comment: "" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "ipsec-esp" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "7" + flags: "" + comment: "Acces WAN" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "tcp" + src_address: "" + src_address_list: "Supervision" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "4430,22,8291" + log: "" + log_prefix: "" + - index: "8" + flags: "" + comment: "Acces WAN SNMP" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "udp" + src_address: "" + src_address_list: "Supervision" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "161" + log: "" + log_prefix: "" + - index: "9" + flags: "" + comment: "defconf: accept to local loopback (for CAPsMAN)" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "127.0.0.1" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "10" + flags: "" + comment: "defconf: drop all not coming from LAN" + chain: "input" + action: "drop" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "!LAN" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "11" + flags: "" + comment: "defconf: accept in ipsec policy" + chain: "forward" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "in,ipsec" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "12" + flags: "" + comment: "defconf: accept out ipsec policy" + chain: "forward" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "out,ipsec" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "13" + flags: "X" + comment: "defconf: fasttrack" + chain: "forward" + action: "fasttrack-connection" + connection_state: "established,related" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "14" + flags: "" + comment: "defconf: accept established,related, untracked" + chain: "forward" + action: "accept" + connection_state: "established,related,untracked" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "15" + flags: "" + comment: "defconf: drop invalid" + chain: "forward" + action: "drop" + connection_state: "invalid" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "16" + flags: "" + comment: "defconf: drop all from WAN not DSTNATed" + chain: "forward" + action: "drop" + connection_state: "new" + connection_nat_state: "!dstnat" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "WAN" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "17" + flags: "" + comment: "Input" + chain: "input" + action: "accept" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "Eqinoxe" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "18" + flags: "" + comment: "related established" + chain: "input" + action: "" + connection_state: "established,related" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "19" + flags: "" + comment: "" + chain: "forward" + action: "" + connection_state: "established,related" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "20" + flags: "" + comment: "drop invalid connections" + chain: "forward" + action: "drop" + connection_state: "invalid" + connection_nat_state: "" + protocol: "tcp" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "21" + flags: "" + comment: "Block all entrant" + chain: "input" + action: "drop" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "all-ppp" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "22" + flags: "" + comment: "" + chain: "input" + action: "drop" + connection_state: "" + connection_nat_state: "" + protocol: "" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "all-ethernet" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" diff --git a/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw new file mode 100644 index 0000000000..3f371a450b --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw @@ -0,0 +1,12 @@ +Flags: X - disabled, I - invalid, D - dynamic + 0 ;;; dmz-1: masquerade + chain=srcnat action=masquerade src-address=!185.163.212.156/30 out-interface-list=WAN ipsec-policy=out,none + + 1 chain=dstnat action=redirect protocol=icmp src-address=192.168.1.16 dst-address=31.31.31.31 in-interface-list=dmz-1 log=no log-prefix="" + + 2 X ;;; qsdqsdqsd + chain=srcnat action=accept protocol=vmtp in-interface=all-ethernet out-interface=ether4 log=no log-prefix="" + + 3 X chain=srcnat action=accept protocol=tcp src-address-list=Supervision dst-address-list=Eqinoxe src-port=80 dst-port=8080 log=no log-prefix="" + + 4 chain=srcnat action=masquerade protocol=icmp src-address=0.0.0.0 out-interface-list=DMZ log=no log-prefix="" ipsec-policy=out,ipsec diff --git a/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.yml b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.yml new file mode 100644 index 0000000000..4bc472caf8 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.yml @@ -0,0 +1,107 @@ +--- +parsed_sample: + - index: "0" + flags: "" + comment: "dmz-1: masquerade" + chain: "srcnat" + action: "masquerade" + to_addresses: "" + to_ports: "" + protocol: "" + src_address: "!185.163.212.156/30" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "WAN" + in_interface: "" + out_interface: "" + ipsec_policy: "out,none" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "" + log_prefix: "" + - index: "1" + flags: "" + comment: "" + chain: "dstnat" + action: "redirect" + to_addresses: "" + to_ports: "" + protocol: "icmp" + src_address: "192.168.1.16" + src_address_list: "" + src_port: "" + in_interface_list: "dmz-1" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "31.31.31.31" + dst_address_list: "" + dst_port: "" + log: "no" + log_prefix: "" + - index: "2" + flags: "X" + comment: "qsdqsdqsd" + chain: "srcnat" + action: "accept" + to_addresses: "" + to_ports: "" + protocol: "vmtp" + src_address: "" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "" + in_interface: "all-ethernet" + out_interface: "ether4" + ipsec_policy: "" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "no" + log_prefix: "" + - index: "3" + flags: "X" + comment: "" + chain: "srcnat" + action: "accept" + to_addresses: "" + to_ports: "" + protocol: "tcp" + src_address: "" + src_address_list: "Supervision" + src_port: "80" + in_interface_list: "" + out_interface_list: "" + in_interface: "" + out_interface: "" + ipsec_policy: "" + dst_address: "" + dst_address_list: "Eqinoxe" + dst_port: "8080" + log: "no" + log_prefix: "" + - index: "4" + flags: "" + comment: "" + chain: "srcnat" + action: "masquerade" + to_addresses: "" + to_ports: "" + protocol: "icmp" + src_address: "0.0.0.0" + src_address_list: "" + src_port: "" + in_interface_list: "" + out_interface_list: "DMZ" + in_interface: "" + out_interface: "" + ipsec_policy: "out,ipsec" + dst_address: "" + dst_address_list: "" + dst_port: "" + log: "no" + log_prefix: "" diff --git a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw new file mode 100644 index 0000000000..b81548f32d --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw @@ -0,0 +1,7 @@ +Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit + # DST-ADDRESS PREF-SRC GATEWAY DISTANCE + 0 A S 0.0.0.0/0 23.90.232.243 10 + 1 Db 0.0.0.0/0 23.90.232.243 20 + 2 DS 0.0.0.0/0 pppoe-out1 100 + 3 ADC 23.90.232.243/32 100.95.1.127 pppoe-out1 0 + 4 ADC 185.163.212.156/30 185.163.212.157 dmz-1-vlan 0 diff --git a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml new file mode 100644 index 0000000000..3e6b9404ac --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - index: "0" + flags: "A S" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "23.90.232.243" + distance: "10" + - index: "1" + flags: "Db" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "23.90.232.243" + distance: "20" + - index: "2" + flags: "DS" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "pppoe-out1" + distance: "100" + - index: "3" + flags: "ADC" + dst_address: "23.90.232.243/32" + pref_src: "100.95.1.127" + gateway: "pppoe-out1" + distance: "0" + - index: "4" + flags: "ADC" + dst_address: "185.163.212.156/30" + pref_src: "185.163.212.157" + gateway: "dmz-1-vlan" + distance: "0" diff --git a/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw new file mode 100644 index 0000000000..bc36b9c339 --- /dev/null +++ b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw @@ -0,0 +1,3 @@ +Flags: * - default, X - disabled + # NAME ADDRESSES SECURITY READ-ACCESS WRITE-ACCESS + 0 * Monitoring ::/0 none yes no diff --git a/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.yml b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.yml new file mode 100644 index 0000000000..b3169bcf01 --- /dev/null +++ b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - index: "0" + flags: "*" + name: "Monitoring" + addresses: "::/0" + security: "none" + read_access: "yes" + write_access: "no" diff --git a/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.raw b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.raw new file mode 100644 index 0000000000..5bfab5a4e8 --- /dev/null +++ b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.raw @@ -0,0 +1,9 @@ + routerboard: yes + board-name: hEX + model: RB750Gr3 + revision: r4 + serial-number: CC210E592C82 + firmware-type: mt7621L + factory-firmware: 6.48 + current-firmware: 6.49 + upgrade-firmware: 6.49 diff --git a/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.yml b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.yml new file mode 100644 index 0000000000..8b8a4e0643 --- /dev/null +++ b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - routerboard: "yes" + board_name: "hEX" + hardware_model: "RB750Gr3" + revision: "r4" + serial_number: "CC210E592C82" + firmware_type: "mt7621L" + factory_firmware: "6.48" + current_firmware: "6.49" + upgrade_firmware: "6.49" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index fa2044466a..9d10678e3d 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -43,6 +43,7 @@ "juniper_junos", "juniper_screenos", "linux", + "mikrotik_routeros", "ovs_linux", "paloalto_panos", "quanta_mesh", From f47276fa1d54521f39030b6dd16c03c42f542641 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 23 May 2022 06:57:28 +1200 Subject: [PATCH 275/412] fixs#1103-cisco_show_boot (#1111) add new value BOOT_OPTIMIZATION fix capture of CONFIG_DOWNLOAD_DHCP_NEXT_BOOT Co-authored-by: Pieter E Smit --- .../templates/cisco_ios_show_boot.textfsm | 11 +++++++---- .../show_boot/cisco_ios_show_boot.yml | 3 ++- .../show_boot/cisco_ios_show_boot2.raw | 15 +++++++++++++++ .../show_boot/cisco_ios_show_boot2.yml | 19 +++++++++++++++++++ .../cisco_ios_show_boot_gibraltar.yml | 1 + 5 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot2.raw create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot2.yml diff --git a/ntc_templates/templates/cisco_ios_show_boot.textfsm b/ntc_templates/templates/cisco_ios_show_boot.textfsm index 1ba3715190..fae9b2bc08 100644 --- a/ntc_templates/templates/cisco_ios_show_boot.textfsm +++ b/ntc_templates/templates/cisco_ios_show_boot.textfsm @@ -13,9 +13,11 @@ Value TIMEOUT_CONFIG_DOWNLOAD (\d+) Value CONFIG_DOWNLOAD_DHCP (enabled|disabled) Value CONFIG_DOWNLOAD_DHCP_NEXT_BOOT (enabled|disabled) Value BOOT_MODE (\S+) +Value BOOT_OPTIMIZATION (\S+) Value CURRENT_BOOT_VARIABLES (BOOT\s*variable\s*does\s*not\s*exist|BOOT\s*variable\s*=\s*\S+) Start + ^.+show\s+boot ^Current\s*Boot\s*Variables: -> CurrentBootVariables ^Switch\s+${SWITCH_NUMBER} ^BOOT\s+(path-list|variable)\s+(:|=)\s+${BOOT_PATH} @@ -28,16 +30,17 @@ Start ^Auto\s+upgrade\s+:\s+${AUTO_UPGRADE} ^Auto\s+upgrade\s+path\s+:.* ^NVRAM/Config\s+file - ^\s+buffer\s+size:\s+${BUFFER_SIZE} + ^\s*buffer\s+size:\s+${BUFFER_SIZE} ^iPXE\s*Timeout\s*=\s*${TIMEOUT_CONFIG_DOWNLOAD} ^Timeout\s+for\s+Config - ^\s+Download:\s+${TIMEOUT_CONFIG_DOWNLOAD} - ^Config\s+Download - ^\s+via\s+DHCP:\s+${CONFIG_DOWNLOAD_DHCP} + ^\s*Download:\s+${TIMEOUT_CONFIG_DOWNLOAD} + ^\s*Config\s+Download + ^\s*via\s+DHCP:\s+${CONFIG_DOWNLOAD_DHCP}\s\(next\sboot:\s${CONFIG_DOWNLOAD_DHCP_NEXT_BOOT} # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is ^Boot\s*Mode\s*=\s*${BOOT_MODE} + ^Boot\soptimization\s:\s${BOOT_OPTIMIZATION} ^\s*$$ ^-+ ^. -> Error diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml index 26ec4a64b7..4bd489027a 100644 --- a/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml @@ -13,6 +13,7 @@ parsed_sample: buffer_size: "524288" timeout_config_download: "0" config_download_dhcp: "disabled" - config_download_dhcp_next_boot: "" + config_download_dhcp_next_boot: "disabled" boot_mode: "" + boot_optimization: "" current_boot_variables: "" diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot2.raw b/tests/cisco_ios/show_boot/cisco_ios_show_boot2.raw new file mode 100644 index 0000000000..fe28cdb2e7 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot2.raw @@ -0,0 +1,15 @@ +2960l#show boot +BOOT path-list : flash:c2960l-universalk9-mz.152-7.E2/c2960l-universalk9-mz.152-7.E2.bin +Config file : flash:/config.text +Private Config file : flash:/private-config.text +Enable Break : yes +Manual Boot : no +Allow Dev Key : yes +HELPER path-list : +Boot optimization : disabled +NVRAM/Config file +buffer size: 524288 +Timeout for Config +Download: 0 seconds +Config Download +via DHCP: disabled (next boot: disabled) diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot2.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot2.yml new file mode 100644 index 0000000000..6dbd283cd4 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot2.yml @@ -0,0 +1,19 @@ +--- +parsed_sample: + - switch_number: "" + boot_path: "flash:c2960l-universalk9-mz.152-7.E2/c2960l-universalk9-mz.152-7.E2.bin" + config_file: "flash:/config.text" + priv_config_file: "flash:/private-config.text" + enable_break: "yes" + manual_boot: "no" + allow_dev_key: "yes" + helper_path_list: "" + auto_upgrade: "" + auto_upgrade_path: "" + buffer_size: "524288" + timeout_config_download: "0" + config_download_dhcp: "disabled" + config_download_dhcp_next_boot: "disabled" + boot_mode: "" + boot_optimization: "disabled" + current_boot_variables: "" diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml index 6608ff64f0..77fd3fdf7b 100644 --- a/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot_gibraltar.yml @@ -15,4 +15,5 @@ parsed_sample: config_download_dhcp: "" config_download_dhcp_next_boot: "" boot_mode: "DEVICE" + boot_optimization: "" current_boot_variables: "BOOT variable does not exist" From d61f94e4214db2f60a993c55263e3a3b919cd512 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 23 May 2022 07:08:48 +1200 Subject: [PATCH 276/412] fix#826-2 cisco_ios_show_ip_eigrp_topology.textfsm add ADV_FD and ADV_RD (#1013) --- .../cisco_ios_show_ip_eigrp_topology.textfsm | 10 +- .../cisco_ios_show_ip_eigrp_topology.yml | 14 ++ .../cisco_ios_show_ip_eigrp_topology1.yml | 188 ++++++++++-------- .../cisco_ios_show_ip_eigrp_topology2.raw | 19 ++ .../cisco_ios_show_ip_eigrp_topology2.yml | 115 +++++++++++ 5 files changed, 260 insertions(+), 86 deletions(-) create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm index 37ae7e736b..5be18c7b0a 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm @@ -7,6 +7,8 @@ Value SUCCESSORS (\d+) Value FD (\d+|Inaccessible) Value TAG (\d+) Value List ADV_ROUTER (\d+\.\d+\.\d+\.\d+|\w+) +Value List ADV_FD (\d+) +Value List ADV_RD (\d+) Value List OUT_INTERFACE (\S+) Value SOURCE (R\S+) @@ -16,7 +18,7 @@ Start # Skips over the code line that explains what each code means ^Codes: # Skips over the definitions for the codes - ^\s+\S+\s+-\s+ + ^\s*\S\s-\s\S+ # Matches a route and captures if ${TAG} is use for the route and then moves to Gateway section ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} -> Gateway # Matches a route and captures it and then moves to Gateway section @@ -27,10 +29,12 @@ Start ^. -> Error Gateway + # This captures adv router, FD to router, and Reported Distance(RD) + ^\s*via\s+${ADV_ROUTER}\s+\(${ADV_FD}/${ADV_RD}\),\s+${OUT_INTERFACE} # This captures the advertising router and outgoing interface - ^\s+via\s+${ADV_ROUTER},\s+${OUT_INTERFACE} + ^\s*via\s+${ADV_ROUTER},\s+${OUT_INTERFACE} # This captures the scenarion where the route is injected via Redistribution. - ^\s+via\s+${SOURCE} + ^\s*via\s+${SOURCE} # This will not capture anything but if it encounters another route, it will continue and record what it already captured ^\S+\s+(?:\d+(?:\.|)){4}/\d+,\s+\d+\s+successors -> Continue.Record # These are the same as above and capture the next set of routes diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml index 577df7624c..20fe5241a1 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml @@ -11,6 +11,8 @@ parsed_sample: adv_router: - "10.254.11.9" - "10.254.11.33" + adv_fd: [] + adv_rd: [] out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" @@ -25,6 +27,8 @@ parsed_sample: tag: "" adv_router: - "10.254.6.14" + adv_fd: [] + adv_rd: [] out_interface: - "Port-channel10" source: "" @@ -39,6 +43,8 @@ parsed_sample: adv_router: - "10.254.11.9" - "10.254.11.33" + adv_fd: [] + adv_rd: [] out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" @@ -53,6 +59,8 @@ parsed_sample: tag: "" adv_router: - "10.254.10.34" + adv_fd: [] + adv_rd: [] out_interface: - "GigabitEthernet9/29" source: "" @@ -66,6 +74,8 @@ parsed_sample: tag: "" adv_router: - "10.254.1.34" + adv_fd: [] + adv_rd: [] out_interface: - "Port-channel3" source: "" @@ -79,6 +89,8 @@ parsed_sample: tag: "" adv_router: - "10.254.2.22" + adv_fd: [] + adv_rd: [] out_interface: - "TenGigabitEthernet3/3" source: "" @@ -99,6 +111,8 @@ parsed_sample: - "10.254.4.10" - "10.254.4.14" - "10.254.54.6" + adv_fd: [] + adv_rd: [] out_interface: - "TenGigabitEthernet1/4" - "TenGigabitEthernet1/6" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml index e252f0e947..7f4b77d888 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml @@ -1,100 +1,107 @@ --- parsed_sample: - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "TenGigabitEthernet1/1" - - "TenGigabitEthernet2/1" route: "66.128.208.232" mask: "32" + successors: "2" + fd: "264448" + tag: "" adv_router: - "10.254.11.9" - "10.254.11.33" - process_id: "100" - fd: "264448" - tag: "" - successors: "2" + adv_fd: [] + adv_rd: [] + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "Port-channel10" route: "10.254.6.8" mask: "30" - adv_router: - - "10.254.6.14" - process_id: "100" + successors: "1" fd: "1024" tag: "" - successors: "1" + adv_router: + - "10.254.6.14" + adv_fd: [] + adv_rd: [] + out_interface: + - "Port-channel10" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "TenGigabitEthernet1/1" - - "TenGigabitEthernet2/1" route: "67.230.223.128" mask: "28" + successors: "2" + fd: "5632" + tag: "53471" adv_router: - "10.254.11.9" - "10.254.11.33" - process_id: "100" - fd: "5632" - tag: "53471" - successors: "2" + adv_fd: [] + adv_rd: [] + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "GigabitEthernet9/29" route: "10.255.10.5" mask: "32" - adv_router: - - "10.254.10.34" - process_id: "100" + successors: "1" fd: "130816" tag: "" - successors: "1" + adv_router: + - "10.254.10.34" + adv_fd: [] + adv_rd: [] + out_interface: + - "GigabitEthernet9/29" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "Port-channel3" route: "10.255.1.14" mask: "32" - adv_router: - - "10.254.1.34" - process_id: "100" + successors: "1" fd: "128768" tag: "" - successors: "1" + adv_router: + - "10.254.1.34" + adv_fd: [] + adv_rd: [] + out_interface: + - "Port-channel3" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "TenGigabitEthernet3/3" route: "10.254.2.12" mask: "30" - adv_router: - - "10.254.2.22" - process_id: "100" + successors: "1" fd: "768" tag: "" - successors: "1" + adv_router: + - "10.254.2.22" + adv_fd: [] + adv_rd: [] + out_interface: + - "TenGigabitEthernet3/3" source: "" - - router_id: "10.255.11.6" + - process_id: "100" + router_id: "10.255.11.6" code: "P" - out_interface: - - "TenGigabitEthernet1/4" - - "TenGigabitEthernet1/6" - - "TenGigabitEthernet2/1" - - "TenGigabitEthernet1/1" - - "TenGigabitEthernet1/5" - - "TenGigabitEthernet4/4" - - "TenGigabitEthernet4/5" - - "TenGigabitEthernet1/3" route: "10.255.11.4" mask: "32" + successors: "4" + fd: "128768" + tag: "" adv_router: - "10.254.56.6" - "10.254.55.6" @@ -104,60 +111,75 @@ parsed_sample: - "10.254.4.10" - "10.254.4.14" - "10.254.54.6" - process_id: "100" - fd: "128768" - tag: "" - successors: "4" + adv_fd: [] + adv_rd: [] + out_interface: + - "TenGigabitEthernet1/4" + - "TenGigabitEthernet1/6" + - "TenGigabitEthernet2/1" + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet1/5" + - "TenGigabitEthernet4/4" + - "TenGigabitEthernet4/5" + - "TenGigabitEthernet1/3" source: "" - - router_id: "10.2.0.1" + - process_id: "65000" + router_id: "10.2.0.1" code: "P" - out_interface: - - "GigabitEthernet1/1" - - "GigabitEthernet1/2" route: "10.50.20.4" mask: "32" + successors: "2" + fd: "128039168" + tag: "" adv_router: - "10.4.0.1" - "10.4.0.2" - process_id: "65000" - fd: "128039168" - tag: "" - successors: "2" - source: "" - - router_id: "10.2.0.1" - code: "P" + adv_fd: [] + adv_rd: [] out_interface: - "GigabitEthernet1/1" - "GigabitEthernet1/2" + source: "" + - process_id: "65000" + router_id: "10.2.0.1" + code: "P" route: "10.50.21.0" mask: "27" + successors: "0" + fd: "Inaccessible" + tag: "6508497" adv_router: - "10.4.0.1" - "10.4.0.2" - process_id: "65000" - fd: "Inaccessible" - tag: "6508497" - successors: "0" + adv_fd: [] + adv_rd: [] + out_interface: + - "GigabitEthernet1/1" + - "GigabitEthernet1/2" source: "" - - router_id: "10.2.0.1" + - process_id: "65000" + router_id: "10.2.0.1" code: "P" - out_interface: [] route: "10.50.75.0" mask: "24" - adv_router: [] - process_id: "65000" + successors: "1" fd: "2816" tag: "" - successors: "1" + adv_router: [] + adv_fd: [] + adv_rd: [] + out_interface: [] source: "Rstatic" - - router_id: "10.2.0.1" + - process_id: "65000" + router_id: "10.2.0.1" code: "P" - out_interface: [] route: "10.50.23.92" mask: "30" - adv_router: [] - process_id: "65000" + successors: "1" fd: "3840256" tag: "5507497" - successors: "1" + adv_router: [] + adv_fd: [] + adv_rd: [] + out_interface: [] source: "Redistributed" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.raw b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.raw new file mode 100644 index 0000000000..3c822d5f15 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.raw @@ -0,0 +1,19 @@ +EIGRP-IPv4 Topology Table for AS(1)/ID(172.16.0.1) +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, +r - reply Status, s - sia Status + +P 172.16.0.1/32, 1 successors, FD is 128256 +via Connected, Loopback0 +P 172.16.0.2/32, 1 successors, FD is 130816 +via 192.168.100.1 (130816/128256), GigabitEthernet0/0 +P 10.2.2.0/24, 1 successors, FD is 3072 +via 192.168.100.1 (3072/2816), GigabitEthernet0/0 +P 192.168.100.4/31, 1 successors, FD is 3072 +via 192.168.100.1 (3072/2816), GigabitEthernet0/0 +P 192.168.100.0/31, 1 successors, FD is 2816 +via Connected, GigabitEthernet0/0 +P 192.168.100.2/31, 1 successors, FD is 2816 +via Connected, GigabitEthernet0/1 +P 192.168.100.6/31, 1 successors, FD is 3072 +via 192.168.100.1 (3072/2816), GigabitEthernet0/0 + diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml new file mode 100644 index 0000000000..cb79bb5693 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml @@ -0,0 +1,115 @@ +--- +parsed_sample: + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "172.16.0.1" + mask: "32" + successors: "1" + fd: "128256" + tag: "" + adv_router: + - "Connected" + adv_fd: [] + adv_rd: [] + out_interface: + - "Loopback0" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "172.16.0.2" + mask: "32" + successors: "1" + fd: "130816" + tag: "" + adv_router: + - "192.168.100.1" + adv_fd: + - "130816" + adv_rd: + - "128256" + out_interface: + - "GigabitEthernet0/0" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "10.2.2.0" + mask: "24" + successors: "1" + fd: "3072" + tag: "" + adv_router: + - "192.168.100.1" + adv_fd: + - "3072" + adv_rd: + - "2816" + out_interface: + - "GigabitEthernet0/0" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "192.168.100.4" + mask: "31" + successors: "1" + fd: "3072" + tag: "" + adv_router: + - "192.168.100.1" + adv_fd: + - "3072" + adv_rd: + - "2816" + out_interface: + - "GigabitEthernet0/0" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "192.168.100.0" + mask: "31" + successors: "1" + fd: "2816" + tag: "" + adv_router: + - "Connected" + adv_fd: [] + adv_rd: [] + out_interface: + - "GigabitEthernet0/0" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "192.168.100.2" + mask: "31" + successors: "1" + fd: "2816" + tag: "" + adv_router: + - "Connected" + adv_fd: [] + adv_rd: [] + out_interface: + - "GigabitEthernet0/1" + source: "" + - process_id: "1" + router_id: "172.16.0.1" + code: "P" + route: "192.168.100.6" + mask: "31" + successors: "1" + fd: "3072" + tag: "" + adv_router: + - "192.168.100.1" + adv_fd: + - "3072" + adv_rd: + - "2816" + out_interface: + - "GigabitEthernet0/0" + source: "" From 1bcd15b83c12f59f7bb9ce5e4df6d26a7a7b7a7a Mon Sep 17 00:00:00 2001 From: Viktor Kertesz <74217042+viktorkertesz@users.noreply.github.com> Date: Mon, 23 May 2022 16:38:18 +0200 Subject: [PATCH 277/412] fix cisco_ios show ip bgp output where metric is wider than 6 chars (#1123) * fixed metric width when it is wider than 6 chars * fix linting * new line added Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Co-authored-by: Viktor Kertesz Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> --- .../templates/cisco_ios_show_ip_bgp.textfsm | 16 +++---- .../show_ip_bgp/cisco_ios_show_ip_bgp6.raw | 15 +++++++ .../show_ip_bgp/cisco_ios_show_ip_bgp6.yml | 42 +++++++++++++++++++ 3 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.raw create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm index 2c90dda23a..34f31b1bdb 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm @@ -2,8 +2,8 @@ Value Filldown STATUS ([bdhimrsSx*>]) Value Filldown PATH_SELECTION ([bdhimrsSx*> ]) Value Filldown ROUTE_SOURCE ([bdhimrsSx*> ]) Value Filldown NETWORK (\S{0,18}) -Value Required NEXT_HOP (\S{0,19}) -Value Filldown METRIC (\S{0,6}) +Value Required NEXT_HOP (\S{0,15}) +Value Filldown METRIC (\S{0,10}) Value LOCAL_PREF (\S{0,6}) Value WEIGHT (\S{0,6}) Value AS_PATH (.*?) @@ -25,20 +25,20 @@ Bgp_table # Example: *>i 10.104.192.208/29 ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{17,18}$$ -> Next # - # - # Compliment to previous, status, path_selection, route_source, network is filldown. + # + # Compliment to previous, status, path_selection, route_source, network is filldown. # Example: 200.200.186.194 0 100 50000 64801 64808 64608 64601 64787 i - ^\s{20,25}(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{20,25}(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # # Match first when there is no network, since previous line had it already (compliment and filldown below) # Example: *> 0.0.0.0 0 32768 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # - # Full normal example. metric, and as_path might not exist, regex defaults to blank line. + # Full normal example. metric, and as_path might not exist, regex defaults to blank line. # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record EOF diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.raw b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.raw new file mode 100644 index 0000000000..9c9da34b55 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.raw @@ -0,0 +1,15 @@ +BGP table version is 175123, local router ID is 1.2.3.4 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path + *> 11.222.33.123/29 111.222.123.202 1762560 350 0 65000 ? + *> 11.222.33.123/29 111.222.123.202 4000000000 350 0 65000 ? + *> 11.222.12.0/23 11.222.1.202 3072 350 0 65000 ? + *> 123.233.111.222/24 + 11.222.1.202 28416 350 0 65000 ? + +Total number of prefixes 4 diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.yml new file mode 100644 index 0000000000..9e14714fe0 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp6.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.33.123/29" + next_hop: "111.222.123.202" + metric: "1762560" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.33.123/29" + next_hop: "111.222.123.202" + metric: "4000000000" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.12.0/23" + next_hop: "11.222.1.202" + metric: "3072" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "123.233.111.222/24" + next_hop: "11.222.1.202" + metric: "28416" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" From 5f2326b4b30429519457984fb3e8037953bcb483 Mon Sep 17 00:00:00 2001 From: Viktor Kertesz <74217042+viktorkertesz@users.noreply.github.com> Date: Mon, 23 May 2022 16:40:03 +0200 Subject: [PATCH 278/412] fix cisco_ios show ip bgp neighbors advertised-routes output where metric is wider than 6 chars (#1124) * fixed metric width when it is wider than 6 chars * fix linting * new line added Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Co-authored-by: Viktor Kertesz Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> --- ...ip_bgp_neighbors_advertised-routes.textfsm | 12 +++--- ...ow_ip_bgp_neighbors_advertised_routes2.raw | 15 +++++++ ...ow_ip_bgp_neighbors_advertised_routes2.yml | 42 +++++++++++++++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.raw create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm index ba982be044..2289a8d923 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm @@ -2,8 +2,8 @@ Value Filldown STATUS ([bdhimrsSx*>]) Value Filldown PATH_SELECTION ([bdhimrsSx*> ]) Value Filldown ROUTE_SOURCE ([bdhimrsSx*> ]) Value Filldown NETWORK (\S{0,18}) -Value Required NEXT_HOP (\S{0,19}) -Value Filldown METRIC (\S{0,6}) +Value Required NEXT_HOP (\S{0,15}) +Value Filldown METRIC (\S{0,10}) Value LOCAL_PREF (\S{0,6}) Value WEIGHT (\S{0,6}) Value AS_PATH (.*?) @@ -26,17 +26,17 @@ Bgp_table # # Compliment to previous, status, path_selection, route_source, network is filldown. # Example: 200.200.186.194 0 100 50000 64801 64808 64608 64601 64787 i - ^\s{20,25}(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{20,25}(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # # Match first when there is no network, since previous line had it already (compliment and filldown below) # Example: *> 0.0.0.0 0 32768 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # # Full normal example. metric, and as_path might not exist, regex defaults to blank line. # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{15}\s(?=\s{0,10}${METRIC}).{10}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record ^Total\s+number\s+of\s+prefixes ^\s*$$ - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.raw b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.raw new file mode 100644 index 0000000000..9c9da34b55 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.raw @@ -0,0 +1,15 @@ +BGP table version is 175123, local router ID is 1.2.3.4 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path + *> 11.222.33.123/29 111.222.123.202 1762560 350 0 65000 ? + *> 11.222.33.123/29 111.222.123.202 4000000000 350 0 65000 ? + *> 11.222.12.0/23 11.222.1.202 3072 350 0 65000 ? + *> 123.233.111.222/24 + 11.222.1.202 28416 350 0 65000 ? + +Total number of prefixes 4 diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.yml b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.yml new file mode 100644 index 0000000000..9e14714fe0 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.33.123/29" + next_hop: "111.222.123.202" + metric: "1762560" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.33.123/29" + next_hop: "111.222.123.202" + metric: "4000000000" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.222.12.0/23" + next_hop: "11.222.1.202" + metric: "3072" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" + - status: "*" + path_selection: ">" + route_source: " " + network: "123.233.111.222/24" + next_hop: "11.222.1.202" + metric: "28416" + local_pref: "350" + weight: "0" + as_path: "65000" + origin: "?" From e9c15969ca59fb9f0df1024a1352ffe114c4166b Mon Sep 17 00:00:00 2001 From: Elin <365433079@qq.com> Date: Mon, 23 May 2022 22:40:40 +0800 Subject: [PATCH 279/412] fix: change huawei_vrf shortest command (#1141) --- ntc_templates/templates/index | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index c0191ced2a..6a59cc158e 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -453,12 +453,12 @@ hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] -huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] des[[cription]] -huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] -huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, disp[[lay]] lldp nei[[ghbor]] -huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[perature]] -huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, disp[[lay]] port vl[[an]] -huawei_vrp_display_version.textfsm, .*, huawei_vrp, disp[[lay]] ver[[sion]] +huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] +huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] +huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] +huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] +huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] +huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] From eb236d5e0a70f27cc3b8be2646fc4e77f98f0e85 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 23 May 2022 21:41:09 +0700 Subject: [PATCH 280/412] Add zyxel cfg ipalias get (#1068) Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 1 + .../zyxel_os_cfg_ipalias_get.textfsm | 16 +++++++++++++ .../zyxel_os_cfg_ipalias_get.raw | 7 ++++++ .../zyxel_os_cfg_ipalias_get.yml | 23 +++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 ntc_templates/templates/zyxel_os_cfg_ipalias_get.textfsm create mode 100644 tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.raw create mode 100644 tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6a59cc158e..3366e1739a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -526,4 +526,5 @@ watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] +zyxel_os_cfg_ipalias_get.textfsm, .*, zyxel_os, cfg ipalias get zyxel_os_cfg_nat_get.textfsm, .*, zyxel_os, cfg nat get diff --git a/ntc_templates/templates/zyxel_os_cfg_ipalias_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_ipalias_get.textfsm new file mode 100644 index 0000000000..ab55852f50 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_ipalias_get.textfsm @@ -0,0 +1,16 @@ +Value NAME (.+?) +Value IPALIAS_ACTIVE (0|1) +Value IPALIAS_IP (\S+) +Value IPALIAS_NETMASK (\S+) +Value PUBLAN_ACTIVE (0|1) +Value PUBLAN_IP (\S+) +Value PUBLAN_NETMASK (\S+) + +Start + ^Group\sName\s+Active\s+IPv4\sArrdess\s+Subnet\smask\s+Active\s+IPv4\sArrdess\s+Subnet\smask\s+Offer\sPublic\sIP\sby\sDHCP\s+Enable\sARP\sProxy\s*$$ -> IPALIASTable + +IPALIASTable + ^${NAME}\s+${IPALIAS_ACTIVE}\s+${IPALIAS_IP}\s+${IPALIAS_NETMASK}\s+${PUBLAN_ACTIVE}\s+${PUBLAN_IP}\s+${PUBLAN_NETMASK}\s+(0|1)\s+(0|1)\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.raw b/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.raw new file mode 100644 index 0000000000..6d74c15386 --- /dev/null +++ b/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.raw @@ -0,0 +1,7 @@ +handlerName=ethwanlan method=GET i=2 +This device do not support Ethernet LAN4 port change to WAN port. IP Alias Setup Public LAN +Group Name Active IPv4 Arrdess Subnet mask Active IPv4 Arrdess Subnet mask Offer Public IP by DHCP Enable ARP Proxy +Default 0 N/A N/A 1 100.200.77.111 255.255.255.252 0 0 +LAN VOIX 0 N/A N/A 0 N/A N/A 0 0 +2e65ed5d-d 1 192.168.180.1 255.255.255.0 0 N/A N/A 0 0 +Command Successful. diff --git a/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.yml b/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.yml new file mode 100644 index 0000000000..83ab6241d2 --- /dev/null +++ b/tests/zyxel_os/cfg_ipalias_get/zyxel_os_cfg_ipalias_get.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - name: "Default" + ipalias_active: "0" + ipalias_ip: "N/A" + ipalias_netmask: "N/A" + publan_active: "1" + publan_ip: "100.200.77.111" + publan_netmask: "255.255.255.252" + - name: "LAN VOIX" + ipalias_active: "0" + ipalias_ip: "N/A" + ipalias_netmask: "N/A" + publan_active: "0" + publan_ip: "N/A" + publan_netmask: "N/A" + - name: "2e65ed5d-d" + ipalias_active: "1" + ipalias_ip: "192.168.180.1" + ipalias_netmask: "255.255.255.0" + publan_active: "0" + publan_ip: "N/A" + publan_netmask: "N/A" From ea9b42698e238615894d836597665e544c78116d Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 23 May 2022 21:41:54 +0700 Subject: [PATCH 281/412] Add new template for ubiquiti edgerouter show interfaces ethernet physical (#1064) Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 1 + ...outer_show_interfaces_ethernet_physical.textfsm | 14 ++++++++++++++ ...dgerouter_show_interfaces_ethernet_physical.raw | 5 +++++ ...dgerouter_show_interfaces_ethernet_physical.yml | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.raw create mode 100644 tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 3366e1739a..4e9a7ae11a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -507,6 +507,7 @@ ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-ad ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] interfaces ethernet (\S+\s)?physical ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm new file mode 100644 index 0000000000..76a8650054 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm @@ -0,0 +1,14 @@ +Value INTERFACE (\S+) +Value AUTO_NEGOTIATION (\S+) +Value SPEED (\S+) +Value DUPLEX (\S+) +Value LINK_DETECTED (\S+) + +Start + ^Settings for ${INTERFACE}: + ^\s+Auto-negotiation:\s${AUTO_NEGOTIATION} + ^\s+Speed:\s${SPEED} + ^\s+Duplex:\s${DUPLEX} + ^\s+Link\sdetected:\s${LINK_DETECTED} + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.raw b/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.raw new file mode 100644 index 0000000000..489b16b9fd --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.raw @@ -0,0 +1,5 @@ +Settings for eth0: + Auto-negotiation: off + Speed: 1000Mb/s + Duplex: Full + Link detected: no diff --git a/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.yml b/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.yml new file mode 100644 index 0000000000..d66d0d617f --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_interfaces_ethernet_physical/ubiquiti_edgerouter_show_interfaces_ethernet_physical.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - interface: "eth0" + auto_negotiation: "off" + speed: "1000Mb/s" + duplex: "Full" + link_detected: "no" From 4e354661ccee9f52b102075b6e3b3fa206ded926 Mon Sep 17 00:00:00 2001 From: elavaud Date: Tue, 24 May 2022 21:59:55 +0700 Subject: [PATCH 282/412] Add multiple zyxel templates (#1142) * add zyxel_os_sys_atsh * Add Zyxel OS cfg_firewall_acl_get * Add Zyxel cfg intf group get * Add Zyxel cfg lan get --Name name * Add Zyxel cfg lan get * Add Zyxel cfg lanhosts get * Add Zyxel cfg nat addr map get * Add Zyxel cfg snmp get * Add Zyxel cfg static dhcp get * Add Zyxel cfg static_route get * Add Zyxel cfg wlan get * Add zyxel zycli Ethctl media-type Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 12 +++ .../zyxel_os_cfg_firewall_acl_get.textfsm | 20 +++++ .../zyxel_os_cfg_intf_group_get.textfsm | 16 ++++ .../templates/zyxel_os_cfg_lan_get.textfsm | 16 ++++ .../zyxel_os_cfg_lan_get_--Name_name.textfsm | 24 ++++++ .../zyxel_os_cfg_lanhosts_get.textfsm | 17 ++++ .../zyxel_os_cfg_nat_addr_map_get.textfsm | 19 +++++ .../templates/zyxel_os_cfg_snmp_get.textfsm | 23 +++++ .../zyxel_os_cfg_static_dhcp_get.textfsm | 15 ++++ .../zyxel_os_cfg_static_route_get.textfsm | 19 +++++ .../templates/zyxel_os_cfg_wlan_get.textfsm | 20 +++++ .../templates/zyxel_os_sys_atsh.textfsm | 26 ++++++ .../zyxel_os_zycli_Ethctl_media-type.textfsm | 12 +++ .../zyxel_os_cfg_firewall_acl_get.raw | 11 +++ .../zyxel_os_cfg_firewall_acl_get.yml | 83 +++++++++++++++++++ .../zyxel_os_cfg_firewall_acl_get2.raw | 9 ++ .../zyxel_os_cfg_firewall_acl_get2.yml | 65 +++++++++++++++ .../zyxel_os_cfg_intf_group_get.raw | 5 ++ .../zyxel_os_cfg_intf_group_get.yml | 17 ++++ .../cfg_lan_get/zyxel_os_cfg_lan_get.raw | 4 + .../cfg_lan_get/zyxel_os_cfg_lan_get.yml | 10 +++ .../zyxel_os_cfg_lan_get_name.raw | 11 +++ .../zyxel_os_cfg_lan_get_name.yml | 11 +++ .../zyxel_os_cfg_lanhosts_get.raw | 3 + .../zyxel_os_cfg_lanhosts_get.yml | 8 ++ .../zyxel_os_cfg_nat_addr_map_get.raw | 5 ++ .../zyxel_os_cfg_nat_addr_map_get.yml | 26 ++++++ .../cfg_snmp_get/zyxel_os_cfg_snmp_get.raw | 10 +++ .../cfg_snmp_get/zyxel_os_cfg_snmp_get.yml | 11 +++ .../zyxel_os_cfg_static_dhcp_get.raw | 5 ++ .../zyxel_os_cfg_static_dhcp_get.yml | 14 ++++ .../zyxel_os_cfg_static_route_get.raw | 12 +++ .../zyxel_os_cfg_static_route_get.yml | 82 ++++++++++++++++++ .../cfg_wlan_get/zyxel_os_cfg_wlan_get.raw | 10 +++ .../cfg_wlan_get/zyxel_os_cfg_wlan_get.yml | 74 +++++++++++++++++ tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw | 17 ++++ tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml | 8 ++ .../zyxel_os_zycli_Ethctl_media-type.raw | 3 + .../zyxel_os_zycli_Ethctl_media-type.yml | 7 ++ 39 files changed, 760 insertions(+) create mode 100644 ntc_templates/templates/zyxel_os_cfg_firewall_acl_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_intf_group_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_lan_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_lan_get_--Name_name.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_lanhosts_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_nat_addr_map_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_snmp_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_static_dhcp_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_static_route_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_cfg_wlan_get.textfsm create mode 100644 ntc_templates/templates/zyxel_os_sys_atsh.textfsm create mode 100644 ntc_templates/templates/zyxel_os_zycli_Ethctl_media-type.textfsm create mode 100644 tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.raw create mode 100644 tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.yml create mode 100644 tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.raw create mode 100644 tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.yml create mode 100644 tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.raw create mode 100644 tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.yml create mode 100644 tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.raw create mode 100644 tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.yml create mode 100644 tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.raw create mode 100644 tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.yml create mode 100644 tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.raw create mode 100644 tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.yml create mode 100644 tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.raw create mode 100644 tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.yml create mode 100644 tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.raw create mode 100644 tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.yml create mode 100644 tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.raw create mode 100644 tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.yml create mode 100644 tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.raw create mode 100644 tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.yml create mode 100644 tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.raw create mode 100644 tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.yml create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml create mode 100644 tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.raw create mode 100644 tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 4e9a7ae11a..7295237566 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -527,5 +527,17 @@ watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] +zyxel_os_cfg_lan_get_--Name_name.textfsm, .*, zyxel_os, cfg lan get --Name .+ +zyxel_os_zycli_Ethctl_media-type.textfsm, .*, zyxel_os, zycli Ethctl media-type(\s\w+)* +zyxel_os_cfg_firewall_acl_get.textfsm, .*, zyxel_os, cfg firewall(\s|_)acl get +zyxel_os_cfg_nat_addr_map_get.textfsm, .*, zyxel_os, cfg nat(\s|_)addr(\s|_)map get +zyxel_os_cfg_static_route_get.textfsm, .*, zyxel_os, cfg static(\s|_)route get +zyxel_os_cfg_static_dhcp_get.textfsm, .*, zyxel_os, cfg static(\s|_)dhcp get +zyxel_os_cfg_intf_group_get.textfsm, .*, zyxel_os, cfg intf(\s|_)group get +zyxel_os_cfg_lanhosts_get.textfsm, .*, zyxel_os, cfg lanhosts get zyxel_os_cfg_ipalias_get.textfsm, .*, zyxel_os, cfg ipalias get +zyxel_os_cfg_snmp_get.textfsm, .*, zyxel_os, cfg snmp get +zyxel_os_cfg_wlan_get.textfsm, .*, zyxel_os, cfg wlan get +zyxel_os_cfg_lan_get.textfsm, .*, zyxel_os, cfg lan get zyxel_os_cfg_nat_get.textfsm, .*, zyxel_os, cfg nat get +zyxel_os_sys_atsh.textfsm, .*, zyxel_os, sys atsh diff --git a/ntc_templates/templates/zyxel_os_cfg_firewall_acl_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_firewall_acl_get.textfsm new file mode 100644 index 0000000000..52ad5510c9 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_firewall_acl_get.textfsm @@ -0,0 +1,20 @@ +Value INDEX (\d+) +Value ENABLE (true|false) +Value ORDER (\d+) +Value NAME (.+\S) +Value SOURCE_IP ((Any|\d+\.\d+\.\d+\.\d+)/\d+) +Value DESTINATION_IP ((Any|\d+\.\d+\.\d+\.\d+)/\d+) +Value PROTOCOL (ALL|ICMP|TCP|UDP|TCP/UDP) +Value PORTS ((\d+|Any)(:\d+)?) +Value ACTION (Accept|Drop) + +Start + ^Index\s+(Enable\s+)?Order\s+Name\s+Source\sIP\s+Destination\sIP\s+Service\s+Action\s*$$ -> FIREWALLTable + ^\s*$$ + ^. -> Error + +FIREWALLTable + ^${INDEX}\s+(${ENABLE}\s+)?${ORDER}\s+${NAME}\s+${SOURCE_IP}\s+${DESTINATION_IP}\s+${PROTOCOL}(:Any-->${PORTS})?\s+${ACTION}\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_intf_group_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_intf_group_get.textfsm new file mode 100644 index 0000000000..956f43ecbf --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_intf_group_get.textfsm @@ -0,0 +1,16 @@ +Value INDEX (\d+) +Value NAME (.+\w) +Value WAN_INTF (Any\sWAN|((WWAN|ADSL|VDSL),?)+) +Value INTERFACE ((N/A|.+\w)) +Value CRITERIA ((N/A|.+>)) + +Start + ^Index\s+Name\s+WAN\sInterface\s+LAN\sInterfaces\s+Criteria\s*$$ -> INTFGroupTable + ^\s*$$ + ^. -> Error + +INTFGroupTable + ^${INDEX}\s+${NAME}\s+${WAN_INTF}\s+${INTERFACE}\s+${CRITERIA}\s*$$ -> Record + ^Command Successful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_lan_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_lan_get.textfsm new file mode 100644 index 0000000000..1da3e87b09 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_lan_get.textfsm @@ -0,0 +1,16 @@ +Value NAME (.+?) +Value IP ((\d+\.){3}\d+) +Value IPV4_DHCP (Enable|Disable) +Value IPV6_ENABLE (true|false) + +Start + ^Group\sName\s+LAN\sIP\sAddress\s+IPv4\sDHCP\sServer\s+IPv6\sEnable\s*$$ -> LANTable + ^\s*$$ + ^. -> Error + +LANTable + ^${NAME}\s+${IP}\s+${IPV4_DHCP}\s+${IPV6_ENABLE}\s*$$ -> Record + ^${NAME}\s+${IPV4_DHCP}\s+${IPV6_ENABLE}\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_lan_get_--Name_name.textfsm b/ntc_templates/templates/zyxel_os_cfg_lan_get_--Name_name.textfsm new file mode 100644 index 0000000000..0e83428609 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_lan_get_--Name_name.textfsm @@ -0,0 +1,24 @@ +Value NAME (\S.*) +Value IP (\S*) +Value NETMASK (\S*) +Value DHCP (Enable|Disable) +Value DHCP_START_IP (\S*) +Value DHCP_END_IP (\S*) +Value DHCP_AUTORESERVE (true|false) +Value DHCP_LEASE (\S.*) +Value IPV6_ACTIVE (true|false) + +Start + ^Group\sName\s+${NAME}\s*$$ + ^IP\sAddress\s+${IP}\s*$$ + ^Subnet\sMask\s+${NETMASK}\s*$$ + ^DHCP\s+${DHCP}\s*$$ + ^\s+Beginning\sIP\sAddress\s+${DHCP_START_IP}\s*$$ + ^\s+Ending\sIP\sAddress\s+${DHCP_END_IP}\s*$$ + ^\s+AutoReserveLanIp\s+${DHCP_AUTORESERVE}\s*$$ + ^\s+DHCP\sServer\sLease\sTime\s+${DHCP_LEASE}\s*$$ + ^\s+DNS\sValues\s.*$$ + ^IPv6\sActive\s+${IPV6_ACTIVE}\s*$$ + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_lanhosts_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_lanhosts_get.textfsm new file mode 100644 index 0000000000..6b1856ac31 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_lanhosts_get.textfsm @@ -0,0 +1,17 @@ +Value HOSTNAME (\S+) +Value IP (\d+\.\d+\.\d+\.\d+) +Value IPV6 (\S+) +Value MAC (\S+) +Value SOURCE (\S+) +Value CONN_TYPE (\S+) + +Start + ^Name\s+IP\sAddress\s+IPv6\sAddress\s+MAC\sAddress\s+Address\sSource\s+Connection\sType\s*$$ -> HOSTSTable + ^\s*$$ + ^. -> Error + +HOSTSTable + ^${HOSTNAME}\s+${IP}\s+${IPV6}\s+${MAC}\s+${SOURCE}\s+${CONN_TYPE}\s*$$ -> Record + ^Command Successful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_nat_addr_map_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_nat_addr_map_get.textfsm new file mode 100644 index 0000000000..b7a00d2f33 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_nat_addr_map_get.textfsm @@ -0,0 +1,19 @@ +Value INDEX (\d+) +Value NAME (.+\w) +Value INTERFACE ((Default|WWAN|(A|V)?DSL)) +Value TYPE (([oO]ne|[mM]any)-to-([oO]ne|[mM]any)) +Value LOCAL_START_IP (\d+\.\d+\.\d+\.\d+) +Value LOCAL_END_IP ((\d+\.\d+\.\d+\.\d+)?) +Value GLOBAL_START_IP (\d+\.\d+\.\d+\.\d+) +Value GLOBAL_END_IP ((\d+\.\d+\.\d+\.\d+)?) + +Start + ^Index\s+MappingRuleName\s+Interface\s+Type\s+LocalStartIP\s+LocalEndIP\s+GlobalStartIP\s+GlobalEndIP\s*$$ -> NAT_ADDRTable + ^\s*$$ + ^. -> Error + +NAT_ADDRTable + ^${INDEX}\s+${NAME}\s+${INTERFACE}\s+${TYPE}\s+${LOCAL_START_IP}\s+${LOCAL_END_IP}\s+${GLOBAL_START_IP}\s+${GLOBAL_END_IP}\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_snmp_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_snmp_get.textfsm new file mode 100644 index 0000000000..cd084da7d3 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_snmp_get.textfsm @@ -0,0 +1,23 @@ +Value AGENT (\S*) +Value GET_COMMUNITY (\S*) +Value SET_COMMUNITY (\S*) +Value TRAP_COMMUNITY (\S*) +Value SYSTEM_NAME (\S*) +Value SYSTEM_LOCATION (.*) +Value SYSTEM_CONTACT (.*) +Value DOMAIN_NAME (\S*) +Value TRAP_DEST (.*) + +Start + ^SNMP\sAgent\s*:\s*${AGENT} + ^Get\sCommunity\s*:\s*${GET_COMMUNITY} + ^Set\sCommunity\s*:\s*${SET_COMMUNITY} + ^Trap\sCommunity\s*:\s*${TRAP_COMMUNITY} + ^System\sName\s*:\s*${SYSTEM_NAME} + ^System\sLocation\s*:\s*${SYSTEM_LOCATION} + ^System\sContact\s*:\s*${SYSTEM_CONTACT} + ^Domain\sName\s*:\s*${DOMAIN_NAME} + ^Trap\sDestination\s*:\s*${TRAP_DEST} + ^Command Successful. + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_static_dhcp_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_static_dhcp_get.textfsm new file mode 100644 index 0000000000..f9018080f9 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_static_dhcp_get.textfsm @@ -0,0 +1,15 @@ +Value INDEX (\d+) +Value STATUS (0|1) +Value MAC_ADDRESS (([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}) +Value IP ((\d+\.){3}\d+) + +Start + ^Index\s+Status\s+Mac\sAddress\s+IP\sAddress\s*$$ -> DHCPTable + ^\s*$$ + ^. -> Error + +DHCPTable + ^${INDEX}\s+${STATUS}\s+${MAC_ADDRESS}\s+${IP}\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_static_route_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_static_route_get.textfsm new file mode 100644 index 0000000000..4127295e04 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_static_route_get.textfsm @@ -0,0 +1,19 @@ +Value INDEX (\d+) +Value NAME (.+?) +Value ENABLED (0|1) +Value IPVER (IPv4|IPv6) +Value DESTINATION (((([0-9]{1,3}\.){3}[0-9]{1,3}(/\d{1-2})?)|[0-9a-f:]+/\d{1,3})?) +Value NETMASK ((([0-9]{1,3}\.){3}[0-9]{1,3})?) +Value INTERFACE (\S+?) +Value GATEWAY (((([0-9]{1,3}\.){3}[0-9]{1,3}|[0-9a-f:]+)?)?) + +Start + ^Index\s+Name\s+Enable\s+IPver\s+DestIPAddress/DestPrefix\s+DestMask\s+Interface\s+Gateway/NextHop\s*$$ -> ROUTETable + ^\s*$$ + ^. -> Error + +ROUTETable + ^${INDEX}\s+${NAME}\s+${ENABLED}\s+${IPVER}\s+${DESTINATION}\s+${NETMASK}\s+${INTERFACE}\s+${GATEWAY}\s*$$ -> Record + ^Command Successful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_cfg_wlan_get.textfsm b/ntc_templates/templates/zyxel_os_cfg_wlan_get.textfsm new file mode 100644 index 0000000000..666e2c1fed --- /dev/null +++ b/ntc_templates/templates/zyxel_os_cfg_wlan_get.textfsm @@ -0,0 +1,20 @@ +Value INDEX (\d+) +Value BAND (2\.4GHz|5GHz) +Value SSID (.+\S) +Value ENABLED (0|1) +Value BANDWIDTH (\d+(M|G|)Hz) +Value CHANNEL (\S+) +Value MAX_DEVICES (\d+) +Value ENCRYPTION_TYPE (\S+) +Value KEY (\S*) + +Start + ^Index\s+Band\s+SSID\s+Enable\s+Bandwidth\s+Channel\s+MaxDevices\s+SecurityMode\s+PskValue\s*$$ -> WLANTable + ^\s*$$ + ^. -> Error + +WLANTable + ^${INDEX}\s+${BAND}\s+${SSID}\s+${ENABLED}\s+${BANDWIDTH}\s+${CHANNEL}\s+${MAX_DEVICES}\s+${ENCRYPTION_TYPE}\s+${KEY}\s*$$ -> Record + ^Command\sSuccessful.\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_sys_atsh.textfsm b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm new file mode 100644 index 0000000000..4a45f19038 --- /dev/null +++ b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm @@ -0,0 +1,26 @@ +Value VERSION (\S+) +Value BOOT_VERSION (.+) +Value VENDOR (.+) +Value HARDWARE_MODEL (\S+) +Value SERIAL_NUMBER (\S+) +Value MAC_ADDRESS ([0-9A-F]{12}) + +Start + ^Firmware\sVersion\s*:\s${VERSION} + ^Bootbase\sVersion\s*:\s${BOOT_VERSION} + ^Vendor\sName\s*:\s${VENDOR} + ^Product\sModel\s*:\s${HARDWARE_MODEL} + ^Serial\sNumber\s*:\s${SERIAL_NUMBER} + ^First\sMAC\sAddress\s*:\s${MAC_ADDRESS} + ^Last\sMAC\sAddress\s*:.+ + ^MAC\sAddress\sQuantity\s*:.+ + ^Default\sCountry\sCode\s*:.+ + ^Boot\sModule\sDebug Flag\s*:.+ + ^Kernel\sChecksum\s*:.+ + ^RootFS\sChecksum\s*:.+ + ^Romfile\sChecksum\s*:.+ + ^Main\sFeature\sBits\s*:.+ + ^Other\sFeature\sBits\s*:.* + ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8} + ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{4} + ^. -> Error diff --git a/ntc_templates/templates/zyxel_os_zycli_Ethctl_media-type.textfsm b/ntc_templates/templates/zyxel_os_zycli_Ethctl_media-type.textfsm new file mode 100644 index 0000000000..16d26b483b --- /dev/null +++ b/ntc_templates/templates/zyxel_os_zycli_Ethctl_media-type.textfsm @@ -0,0 +1,12 @@ +Value SPEED (\w+) +Value ENABLED (\w+) +Value NEGOTIATED_SPEED (\w+) +Value NEGOTIATED_DUPLEX (\w+) +Value LINK_ACTIVE (up|down) + +Start + ^${SPEED}-negotiation\s${ENABLED}\.\s*$$ + ^The\sautonegotiated\smedia\stype\sis\s${NEGOTIATED_SPEED}\s${NEGOTIATED_DUPLEX}\sDuplex\s*$$ + ^Link\sis\s${LINK_ACTIVE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.raw b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.raw new file mode 100644 index 0000000000..25df44d957 --- /dev/null +++ b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.raw @@ -0,0 +1,11 @@ +Index Order Name Source IP Destination IP Service Action +1 6 Acces Bureau 85.14.167.234/32 Any/32 ALL Accept +2 5 Eqinoxe_1 185.48.253.0/27 Any/32 ALL Accept +3 4 Eqinoxe_2 185.48.254.0/28 Any/32 ALL Accept +4 3 Eqinoxe_3 185.163.212.48/28 Any/32 ALL Accept +5 2 Eqinoxe_4 185.163.212.64/28 Any/32 ALL Accept +6 1 Eqinoxe_5 185.197.109.16/28 Any/32 ALL Accept +7 7 DMZ0 Any/32 23.90.196.120/30 ALL Accept +8 8 firewall-rabbitmq0 192.168.1.13/32 185.24.67.123/32 TCP/UDP:Any-->80 Drop +9 9 block-phone0 192.168.1.1/32 192.168.1.0/24 TCP/UDP:Any-->Any Drop +Command Successful. diff --git a/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.yml b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.yml new file mode 100644 index 0000000000..9dadab9592 --- /dev/null +++ b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get.yml @@ -0,0 +1,83 @@ +--- +parsed_sample: + - index: "1" + enable: "" + order: "6" + name: "Acces Bureau" + source_ip: "85.14.167.234/32" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "2" + enable: "" + order: "5" + name: "Eqinoxe_1" + source_ip: "185.48.253.0/27" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "3" + enable: "" + order: "4" + name: "Eqinoxe_2" + source_ip: "185.48.254.0/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "4" + enable: "" + order: "3" + name: "Eqinoxe_3" + source_ip: "185.163.212.48/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "5" + enable: "" + order: "2" + name: "Eqinoxe_4" + source_ip: "185.163.212.64/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "6" + enable: "" + order: "1" + name: "Eqinoxe_5" + source_ip: "185.197.109.16/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "7" + enable: "" + order: "7" + name: "DMZ0" + source_ip: "Any/32" + destination_ip: "23.90.196.120/30" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "8" + enable: "" + order: "8" + name: "firewall-rabbitmq0" + source_ip: "192.168.1.13/32" + destination_ip: "185.24.67.123/32" + protocol: "TCP/UDP" + ports: "80" + action: "Drop" + - index: "9" + enable: "" + order: "9" + name: "block-phone0" + source_ip: "192.168.1.1/32" + destination_ip: "192.168.1.0/24" + protocol: "TCP/UDP" + ports: "Any" + action: "Drop" diff --git a/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.raw b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.raw new file mode 100644 index 0000000000..6bd96cdfee --- /dev/null +++ b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.raw @@ -0,0 +1,9 @@ +Index Enable Order Name Source IP Destination IP Service Action +1 true 6 Acces Bureau 85.14.167.234/32 Any/32 ALL Accept +2 true 5 Eqinoxe_1 185.48.253.0/27 Any/32 ALL Accept +3 true 4 Eqinoxe_2 185.48.254.0/28 Any/32 ALL Accept +4 true 3 Eqinoxe_3 185.163.212.48/28 Any/32 ALL Accept +5 true 2 Eqinoxe_4 185.163.212.64/28 Any/32 ALL Accept +6 true 1 Eqinoxe_5 185.197.109.16/28 Any/32 ALL Accept +7 true 7 DMZ0 Any/32 23.90.230.192/29 ALL Accept +Command Successful. diff --git a/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.yml b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.yml new file mode 100644 index 0000000000..0051aa150a --- /dev/null +++ b/tests/zyxel_os/cfg_firewall_acl_get/zyxel_os_cfg_firewall_acl_get2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - index: "1" + enable: "true" + order: "6" + name: "Acces Bureau" + source_ip: "85.14.167.234/32" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "2" + enable: "true" + order: "5" + name: "Eqinoxe_1" + source_ip: "185.48.253.0/27" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "3" + enable: "true" + order: "4" + name: "Eqinoxe_2" + source_ip: "185.48.254.0/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "4" + enable: "true" + order: "3" + name: "Eqinoxe_3" + source_ip: "185.163.212.48/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "5" + enable: "true" + order: "2" + name: "Eqinoxe_4" + source_ip: "185.163.212.64/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "6" + enable: "true" + order: "1" + name: "Eqinoxe_5" + source_ip: "185.197.109.16/28" + destination_ip: "Any/32" + protocol: "ALL" + ports: "" + action: "Accept" + - index: "7" + enable: "true" + order: "7" + name: "DMZ0" + source_ip: "Any/32" + destination_ip: "23.90.230.192/29" + protocol: "ALL" + ports: "" + action: "Accept" diff --git a/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.raw b/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.raw new file mode 100644 index 0000000000..a0d0f1879d --- /dev/null +++ b/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.raw @@ -0,0 +1,5 @@ +Index Name WAN Interface LAN Interfaces Criteria +1 datas Any WAN LAN2,LAN4,LAN3,LAN4,magic 2000,ZyXEL_8B91_guest1,ZyXEL_8B91_guest2,ZyXEL_8B91_guest3 N/A +2 zzefzef WWAN,VDSL N/A vlangroup +3 qsdq sdqsdqsd ADSL N/A op61;op60;mac +Command Successful. diff --git a/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.yml b/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.yml new file mode 100644 index 0000000000..65187451e7 --- /dev/null +++ b/tests/zyxel_os/cfg_intf_group_get/zyxel_os_cfg_intf_group_get.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - index: "1" + name: "datas" + wan_intf: "Any WAN" + interface: "LAN2,LAN4,LAN3,LAN4,magic 2000,ZyXEL_8B91_guest1,ZyXEL_8B91_guest2,ZyXEL_8B91_guest3" + criteria: "N/A" + - index: "2" + name: "zzefzef" + wan_intf: "WWAN,VDSL" + interface: "N/A" + criteria: "vlangroup" + - index: "3" + name: "qsdq sdqsdqsd" + wan_intf: "ADSL" + interface: "N/A" + criteria: "op61;op60;mac" diff --git a/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.raw b/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.raw new file mode 100644 index 0000000000..e3afc0ae4b --- /dev/null +++ b/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.raw @@ -0,0 +1,4 @@ +Group Name LAN IP Address IPv4 DHCP Server IPv6 Enable +Default Disable false +LAN VOIX 192.168.72.253 Disable false +Command Successful. diff --git a/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.yml b/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.yml new file mode 100644 index 0000000000..d08679151f --- /dev/null +++ b/tests/zyxel_os/cfg_lan_get/zyxel_os_cfg_lan_get.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - name: "Default" + ip: "" + ipv4_dhcp: "Disable" + ipv6_enable: "false" + - name: "LAN VOIX" + ip: "192.168.72.253" + ipv4_dhcp: "Disable" + ipv6_enable: "false" diff --git a/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.raw b/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.raw new file mode 100644 index 0000000000..00381dec74 --- /dev/null +++ b/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.raw @@ -0,0 +1,11 @@ +Group Name lan_1 +IP Address 192.168.1.1 +Subnet Mask 255.255.255.0 +DHCP Enable + Beginning IP Address 192.168.1.10 + Ending IP Address 192.168.1.150 + AutoReserveLanIp false + DHCP Server Lease Time 1 Days 0 Hours 0 Minutes + DNS Values Static +IPv6 Active false +Command Successful. diff --git a/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.yml b/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.yml new file mode 100644 index 0000000000..b7fe039399 --- /dev/null +++ b/tests/zyxel_os/cfg_lan_get_--Name_name/zyxel_os_cfg_lan_get_name.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - name: "lan_1" + ip: "192.168.1.1" + netmask: "255.255.255.0" + dhcp: "Enable" + dhcp_start_ip: "192.168.1.10" + dhcp_end_ip: "192.168.1.150" + dhcp_autoreserve: "false" + dhcp_lease: "1 Days 0 Hours 0 Minutes" + ipv6_active: "false" diff --git a/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.raw b/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.raw new file mode 100644 index 0000000000..b9db1b599e --- /dev/null +++ b/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.raw @@ -0,0 +1,3 @@ +Name IP Address IPv6 Address MAC Address Address Source Connection Type +device1 192.168.45.65 af:35::25:c7:28 01:23:45:67:89:AB 15.65.85.0.1 Wired +Command Successful. diff --git a/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.yml b/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.yml new file mode 100644 index 0000000000..c1a0bd2052 --- /dev/null +++ b/tests/zyxel_os/cfg_lanhosts_get/zyxel_os_cfg_lanhosts_get.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - hostname: "device1" + ip: "192.168.45.65" + ipv6: "af:35::25:c7:28" + mac: "01:23:45:67:89:AB" + source: "15.65.85.0.1" + conn_type: "Wired" diff --git a/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.raw b/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.raw new file mode 100644 index 0000000000..7e54e96630 --- /dev/null +++ b/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.raw @@ -0,0 +1,5 @@ +Index MappingRuleName Interface Type LocalStartIP LocalEndIP GlobalStartIP GlobalEndIP +1 DMZ0 ADSL One-to-One 100.95.11.86 100.95.11.86 +2 plop VDSL Many-to-Many 192.168.1.1 192.168.1.2 5.5.5.5 5.5.5.6 +3 plop number 2 WWAN Many-to-One 192.168.2.1 192.168.2.2 5.5.5.5 +Command Successful. diff --git a/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.yml b/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.yml new file mode 100644 index 0000000000..9ab6150a28 --- /dev/null +++ b/tests/zyxel_os/cfg_nat_addr_map_get/zyxel_os_cfg_nat_addr_map_get.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - index: "1" + name: "DMZ0" + interface: "ADSL" + type: "One-to-One" + local_start_ip: "100.95.11.86" + local_end_ip: "" + global_start_ip: "100.95.11.86" + global_end_ip: "" + - index: "2" + name: "plop" + interface: "VDSL" + type: "Many-to-Many" + local_start_ip: "192.168.1.1" + local_end_ip: "192.168.1.2" + global_start_ip: "5.5.5.5" + global_end_ip: "5.5.5.6" + - index: "3" + name: "plop number 2" + interface: "WWAN" + type: "Many-to-One" + local_start_ip: "192.168.2.1" + local_end_ip: "192.168.2.2" + global_start_ip: "5.5.5.5" + global_end_ip: "" diff --git a/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.raw b/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.raw new file mode 100644 index 0000000000..1645fa950e --- /dev/null +++ b/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.raw @@ -0,0 +1,10 @@ +SNMP Agent : Enabled +Get Community : Monitoring +Set Community : Monitoring +Trap Community : public +System Name : paris-stella-customer-child-site +System Location : Paris +System Contact : +Domain Name : home +Trap Destination : +Command Successful. diff --git a/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.yml b/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.yml new file mode 100644 index 0000000000..445603259d --- /dev/null +++ b/tests/zyxel_os/cfg_snmp_get/zyxel_os_cfg_snmp_get.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - agent: "Enabled" + get_community: "Monitoring" + set_community: "Monitoring" + trap_community: "public" + system_name: "paris-stella-customer-child-site" + system_location: "Paris" + system_contact: "" + domain_name: "home" + trap_dest: "" diff --git a/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.raw b/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.raw new file mode 100644 index 0000000000..ffe3b1d003 --- /dev/null +++ b/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.raw @@ -0,0 +1,5 @@ +Index Status Mac Address IP Address +1 1 eb:fa:ae:cf:34:15 192.168.1.25 +2 1 bb:aa:ee:ff:32:12 192.168.1.13 +3 1 aa:cc:bb:ee:43:21 192.168.1.1 +Command Successful. diff --git a/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.yml b/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.yml new file mode 100644 index 0000000000..abc3804b07 --- /dev/null +++ b/tests/zyxel_os/cfg_static_dhcp_get/zyxel_os_cfg_static_dhcp_get.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - index: "1" + status: "1" + mac_address: "eb:fa:ae:cf:34:15" + ip: "192.168.1.25" + - index: "2" + status: "1" + mac_address: "bb:aa:ee:ff:32:12" + ip: "192.168.1.13" + - index: "3" + status: "1" + mac_address: "aa:cc:bb:ee:43:21" + ip: "192.168.1.1" diff --git a/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.raw b/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.raw new file mode 100644 index 0000000000..7f1528c175 --- /dev/null +++ b/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.raw @@ -0,0 +1,12 @@ +Index Name Enable IPver DestIPAddress/DestPrefix DestMask Interface Gateway/NextHop +1 5473a28e-8 0 IPv4 177.41.30.228 255.255.255.0 ADSL +2 d6e181ce-a 0 IPv4 121.160.211.188 255.255.0.0 ADSL 66.135.158.175 +3 b1a49337-a 0 IPv4 43.188.51.10 255.255.0.0 WWAN 221.29.200.232 +4 f9ed53d7-5 1 IPv4 101.168.102.179 255.255.255.0 ADSL 222.173.23.26 +5 b7feec47-b 1 IPv4 72.37.37.55 255.0.0.0 VDSL +6 facf6dd5-a 0 IPv4 59.38.164.29 255.0.0.0 VDSL +7 3ab0c611-b 0 IPv6 6d78:60da:1b22::/47 ADSL 6185:f0a7:164e:7fe3:8549:dfb3:dda5:f330 +8 f5f679b4-c 0 IPv6 aff9:c5d3:877d:8276:c5d9:dbc1:8000:0/97 WWAN +9 723130e9-a 1 IPv6 51f2:794e:7305:2a0f:1a80::/73 WWAN e583:cfd7:c872:94b4:e9af:a5f8:b095:a058 +10 bd7e5ad3-9 0 IPv6 7ec0::/10 ADSL 1aa8:fc25:8d13:67ac:4740:fdd1:61fd:1f81 +Command Successful. diff --git a/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.yml b/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.yml new file mode 100644 index 0000000000..175ede4332 --- /dev/null +++ b/tests/zyxel_os/cfg_static_route_get/zyxel_os_cfg_static_route_get.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - index: "1" + name: "5473a28e-8" + enabled: "0" + ipver: "IPv4" + destination: "177.41.30.228" + netmask: "255.255.255.0" + interface: "ADSL" + gateway: "" + - index: "2" + name: "d6e181ce-a" + enabled: "0" + ipver: "IPv4" + destination: "121.160.211.188" + netmask: "255.255.0.0" + interface: "ADSL" + gateway: "66.135.158.175" + - index: "3" + name: "b1a49337-a" + enabled: "0" + ipver: "IPv4" + destination: "43.188.51.10" + netmask: "255.255.0.0" + interface: "WWAN" + gateway: "221.29.200.232" + - index: "4" + name: "f9ed53d7-5" + enabled: "1" + ipver: "IPv4" + destination: "101.168.102.179" + netmask: "255.255.255.0" + interface: "ADSL" + gateway: "222.173.23.26" + - index: "5" + name: "b7feec47-b" + enabled: "1" + ipver: "IPv4" + destination: "72.37.37.55" + netmask: "255.0.0.0" + interface: "VDSL" + gateway: "" + - index: "6" + name: "facf6dd5-a" + enabled: "0" + ipver: "IPv4" + destination: "59.38.164.29" + netmask: "255.0.0.0" + interface: "VDSL" + gateway: "" + - index: "7" + name: "3ab0c611-b" + enabled: "0" + ipver: "IPv6" + destination: "6d78:60da:1b22::/47" + netmask: "" + interface: "ADSL" + gateway: "6185:f0a7:164e:7fe3:8549:dfb3:dda5:f330" + - index: "8" + name: "f5f679b4-c" + enabled: "0" + ipver: "IPv6" + destination: "aff9:c5d3:877d:8276:c5d9:dbc1:8000:0/97" + netmask: "" + interface: "WWAN" + gateway: "" + - index: "9" + name: "723130e9-a" + enabled: "1" + ipver: "IPv6" + destination: "51f2:794e:7305:2a0f:1a80::/73" + netmask: "" + interface: "WWAN" + gateway: "e583:cfd7:c872:94b4:e9af:a5f8:b095:a058" + - index: "10" + name: "bd7e5ad3-9" + enabled: "0" + ipver: "IPv6" + destination: "7ec0::/10" + netmask: "" + interface: "ADSL" + gateway: "1aa8:fc25:8d13:67ac:4740:fdd1:61fd:1f81" diff --git a/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.raw b/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.raw new file mode 100644 index 0000000000..bc87fe2bfe --- /dev/null +++ b/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.raw @@ -0,0 +1,10 @@ +Index Band SSID Enable Bandwidth Channel MaxDevices SecurityMode PskValue +1 2.4GHz magic 2000$& 1 40MHz Auto 32 WPA2-Personal TestTest +2 2.4GHz ZyXEL_8B91_guest1 0 40MHz Auto 16 WPA2-Personal TestTest +3 2.4GHz ZyXEL_8B91_guest2 0 40MHz Auto 16 WPA2-Personal TestTest +4 2.4GHz ZyXEL_8B91_guest3 0 40MHz Auto 16 WPA2-Personal TestTest +5 5GHz magic 2000$& 0 80MHz Auto 32 WPA2-Personal TestTest +6 5GHz ZyXEL_8B91_guest1 0 80MHz Auto 16 WPA2-Personal TestTest +7 5GHz ZyXEL_8B91_guest2_5G 0 80MHz Auto 16 WPA2-Personal TestTest +8 5GHz ZyXEL_8B91_guest3_5G 0 80MHz Auto 16 WPA2-Personal TestTest +Command Successful. diff --git a/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.yml b/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.yml new file mode 100644 index 0000000000..3d5712f091 --- /dev/null +++ b/tests/zyxel_os/cfg_wlan_get/zyxel_os_cfg_wlan_get.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - index: "1" + band: "2.4GHz" + ssid: "magic 2000$&" + enabled: "1" + bandwidth: "40MHz" + channel: "Auto" + max_devices: "32" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "2" + band: "2.4GHz" + ssid: "ZyXEL_8B91_guest1" + enabled: "0" + bandwidth: "40MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "3" + band: "2.4GHz" + ssid: "ZyXEL_8B91_guest2" + enabled: "0" + bandwidth: "40MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "4" + band: "2.4GHz" + ssid: "ZyXEL_8B91_guest3" + enabled: "0" + bandwidth: "40MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "5" + band: "5GHz" + ssid: "magic 2000$&" + enabled: "0" + bandwidth: "80MHz" + channel: "Auto" + max_devices: "32" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "6" + band: "5GHz" + ssid: "ZyXEL_8B91_guest1" + enabled: "0" + bandwidth: "80MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "7" + band: "5GHz" + ssid: "ZyXEL_8B91_guest2_5G" + enabled: "0" + bandwidth: "80MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" + - index: "8" + band: "5GHz" + ssid: "ZyXEL_8B91_guest3_5G" + enabled: "0" + bandwidth: "80MHz" + channel: "Auto" + max_devices: "16" + encryption_type: "WPA2-Personal" + key: "TestTest" diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw new file mode 100644 index 0000000000..f06097f613 --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw @@ -0,0 +1,17 @@ +Firmware Version : V5.13(AAXA.8)C0 +Bootbase Version : V1.61 | 05/25/2018 17:08:36 +Vendor Name : Zyxel Communications Corp. +Product Model : VMG1312-B10D +Serial Number : S182E47002040 +First MAC Address : 8C5973AE89B0 +Last MAC Address : 8C5973AE89BB +MAC Address Quantity : 12 +Default Country Code : FF +Boot Module Debug Flag : 00 +Kernel Checksum : 00008FE8 +RootFS Checksum : 00009ACC +Romfile Checksum : 00000E1D +Main Feature Bits : 00 +Other Feature Bits : +7f9f2a9c: 04050202 ffffffff ffffffff ffffffff +7f9f2aac: ffffffff ffffffff ffffffff ffff diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml new file mode 100644 index 0000000000..4b49d3c58d --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - version: "V5.13(AAXA.8)C0" + boot_version: "V1.61 | 05/25/2018 17:08:36" + vendor: "Zyxel Communications Corp." + hardware_model: "VMG1312-B10D" + serial_number: "S182E47002040" + mac_address: "8C5973AE89B0" diff --git a/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.raw b/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.raw new file mode 100644 index 0000000000..d1864f1704 --- /dev/null +++ b/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.raw @@ -0,0 +1,3 @@ +Auto-negotiation enabled. +The autonegotiated media type is Auto Full Duplex +Link is down diff --git a/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.yml b/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.yml new file mode 100644 index 0000000000..2177d7a90f --- /dev/null +++ b/tests/zyxel_os/zycli_Ethctl_media-type/zyxel_os_zycli_Ethctl_media-type.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - speed: "Auto" + enabled: "enabled" + negotiated_speed: "Auto" + negotiated_duplex: "Full" + link_active: "down" From eba2622c8000b05805c20121abaad330dc8891eb Mon Sep 17 00:00:00 2001 From: elavaud Date: Wed, 25 May 2022 23:16:38 +0700 Subject: [PATCH 283/412] add new template ubiquiti_edgerouter_show_arp (#1062) Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 1 + .../ubiquiti_edgerouter_show_arp.textfsm | 15 +++++++++++++++ .../show_arp/ubiquiti_edgerouter_show_arp.raw | 2 ++ .../show_arp/ubiquiti_edgerouter_show_arp.yml | 7 +++++++ 4 files changed, 25 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_arp.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.raw create mode 100644 tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 7295237566..e81940d413 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -510,6 +510,7 @@ ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] interfaces ethernet (\S+\s)?physical ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] +ubiquiti_edgerouter_show_arp.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] arp ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_arp.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_arp.textfsm new file mode 100644 index 0000000000..d035344cf9 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_arp.textfsm @@ -0,0 +1,15 @@ +Value Required IP ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value HARDWARE_TYPE (\S+) +Value MAC ((?:[0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}) +Value FLAGS (\S+) +Value INTERFACE (\S+) + +Start + ^Address\s+HWtype\s+HWaddress\s+Flags\sMask\s+Iface\s*$$ -> ARPTable + ^\s*$$ + ^. -> Error + +ARPTable + ^${IP}\s+${HARDWARE_TYPE}\s+${MAC}\s+${FLAGS}\s+${INTERFACE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.raw b/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.raw new file mode 100644 index 0000000000..b914eaac27 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.raw @@ -0,0 +1,2 @@ +Address HWtype HWaddress Flags Mask Iface +192.168.2.10 ether 34:29:8f:76:0f:e8 C eth1 diff --git a/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.yml b/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.yml new file mode 100644 index 0000000000..c4a6e30725 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_arp/ubiquiti_edgerouter_show_arp.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - ip: "192.168.2.10" + hardware_type: "ether" + mac: "34:29:8f:76:0f:e8" + flags: "C" + interface: "eth1" From b4c33422aea10beaa2513ac0318522ac67913c7a Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 7 Aug 2022 15:42:35 +0200 Subject: [PATCH 284/412] add Cisco XR show ipv4 int (#1162) Add Cisco XR show ipv4 int --- .../cisco_xr_show_ipv4_interface.textfsm | 29 +++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_xr_show_ipv4_interface.raw | 31 +++++++++++++++++++ .../cisco_xr_show_ipv4_interface.yml | 16 ++++++++++ 4 files changed, 77 insertions(+) create mode 100644 ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm create mode 100644 tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.raw create mode 100644 tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.yml diff --git a/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm b/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm new file mode 100644 index 0000000000..90688c4a3f --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm @@ -0,0 +1,29 @@ +Value Required INTERFACE (\S+) +Value LINK_STATUS (\S+) +Value PROTOCOL (\S+) +Value PROTOCOL_STATUS (\S+) +Value VRF (\S+) +Value IP_ADDRESS (\S+) +Value MTU (\d+) + + +Start + ^(Mon?)|(Tue?)|(Wed?)|(Thu?)|(Fri?)|(Sat?)|(Sun?)\s.*$$ + ^\S+\s+is -> Continue.Record + ^${INTERFACE}\sis\s${LINK_STATUS},\s+${PROTOCOL}\sprotocol\sis\s${PROTOCOL_STATUS}.*$$ + ^\s+Vrf\sis\s${VRF}\s.*$$ + ^\s+Internet\saddress\sis\s${IP_ADDRESS}.*$$ + ^\s+MTU\sis\s${MTU}\s.*$$ + ^\s+Helper.*$$ + ^\s+Multicast.*$$ + ^\s+2(?:2[4-9]|3\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d?|0)){3}$$ + ^\s+Directed.*$$ + ^\s+Outgoing.*$$ + ^\s+Inbound.*$$ + ^\s+Proxy.*$$ + ^\s+ICMP redirects.*$$ + ^\s+ICMP unreachables.*$$ + ^\s+ICMP mask.*$$ + ^\s+Table.*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index e81940d413..963e00d5f2 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -396,6 +396,7 @@ cisco_xr_show_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ cisco_xr_admin_show_platform.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] cisco_xr_show_install_active.textfsm, .*, cisco_xr, sh[[ow]] install active cisco_xr_show_ip_bgp_summary.textfsm, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] +cisco_xr_show_ipv4_interface.textfsm, .*, cisco_xr, sh[[ow]] ipv4 int[[erface]] cisco_xr_show_ipv6_neighbors.textfsm, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] cisco_xr_show_isis_neighbors.textfsm, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] cisco_xr_show_lldp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] diff --git a/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.raw b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.raw new file mode 100644 index 0000000000..7a8f3979a3 --- /dev/null +++ b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.raw @@ -0,0 +1,31 @@ +Sun Jun 19 08:45:14.652 UTC +GigabitEthernet0/0/0/0 is Up, ipv4 protocol is Up + Vrf is default (vrfid 0x60000000) + Internet address is 10.2.0.2/30 + MTU is 1514 (1500 is available to IP) + Helper address is not set + Multicast reserved groups joined: 224.0.0.2 224.0.0.1 224.0.0.9 + 224.0.0.10 + Directed broadcast forwarding is disabled + Outgoing access list is not set + Inbound common access list is not set, access list is not set + Proxy ARP is disabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + Table Id is 0xe0000000 +GigabitEthernet0/0/0/1 is Up, ipv4 protocol is Up + Vrf is default (vrfid 0x60000000) + Internet address is 10.0.7.1/30 + MTU is 1514 (1500 is available to IP) + Helper address is not set + Multicast reserved groups joined: 224.0.0.2 224.0.0.1 224.0.0.5 + 224.0.0.6 + Directed broadcast forwarding is disabled + Outgoing access list is not set + Inbound common access list is not set, access list is not set + Proxy ARP is disabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + Table Id is 0xe0000000 diff --git a/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.yml b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.yml new file mode 100644 index 0000000000..1f513e179d --- /dev/null +++ b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/0/0" + ip_address: "10.2.0.2/30" + link_status: "Up" + mtu: "1514" + protocol: "ipv4" + protocol_status: "Up" + vrf: "default" + - interface: "GigabitEthernet0/0/0/1" + ip_address: "10.0.7.1/30" + link_status: "Up" + mtu: "1514" + protocol: "ipv4" + protocol_status: "Up" + vrf: "default" From 6c28fa39eee8aa570c05325f139dc4a427a8d931 Mon Sep 17 00:00:00 2001 From: ChristopherJHart Date: Sun, 7 Aug 2022 13:57:51 -0400 Subject: [PATCH 285/412] Add Cisco NX-OS "show ip dhcp snooping statistics" template (#1177) Add Cisco NX-OS "show ip dhcp snooping statistics" template --- ...s_show_ip_dhcp_snooping_statistics.textfsm | 96 +++++++++++++++++++ ntc_templates/templates/index | 1 + ..._nxos_show_ip_dhcp_snooping_statistics.raw | 34 +++++++ ..._nxos_show_ip_dhcp_snooping_statistics.yml | 46 +++++++++ 4 files changed, 177 insertions(+) create mode 100644 ntc_templates/templates/cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm create mode 100644 tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.raw create mode 100644 tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm new file mode 100644 index 0000000000..d28c174156 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm @@ -0,0 +1,96 @@ +Value DHCP_DISCOVER_RX (\d+) +Value DHCP_DISCOVER_TX (\d+) +Value DHCP_DISCOVER_DROPS (\d+) +Value DHCP_OFFER_RX (\d+) +Value DHCP_OFFER_TX (\d+) +Value DHCP_OFFER_DROPS (\d+) +Value DHCP_REQUEST_RX (\d+) +Value DHCP_REQUEST_TX (\d+) +Value DHCP_REQUEST_DROPS (\d+) +Value DHCP_ACK_RX (\d+) +Value DHCP_ACK_TX (\d+) +Value DHCP_ACK_DROPS (\d+) +Value DHCP_RELEASE_RX (\d+) +Value DHCP_RELEASE_TX (\d+) +Value DHCP_RELEASE_DROPS (\d+) +Value DHCP_DECLINE_RX (\d+) +Value DHCP_DECLINE_TX (\d+) +Value DHCP_DECLINE_DROPS (\d+) +Value DHCP_INFORM_RX (\d+) +Value DHCP_INFORM_TX (\d+) +Value DHCP_INFORM_DROPS (\d+) +Value DHCP_NACK_RX (\d+) +Value DHCP_NACK_TX (\d+) +Value DHCP_NACK_DROPS (\d+) +Value DHCP_TOTAL_MESSAGES_RX (\d+) +Value DHCP_TOTAL_MESSAGES_TX (\d+) +Value DHCP_TOTAL_MESSAGES_DROPS (\d+) +Value DHCP_L2_FORWARDING_TOTAL_PACKETS_TX (\d+) +Value DHCP_L2_FORWARDING_TOTAL_PACKETS_RX (\d+) +Value DHCP_L2_FORWARDING_TOTAL_PACKETS_DROPPED (\d+) +Value NON_DHCP_TOTAL_PACKETS_RX (\d+) +Value NON_DHCP_TOTAL_PACKETS_TX (\d+) +Value NON_DHCP_TOTAL_PACKETS_DROPPED (\d+) +Value DHCP_DROP_RECEIVED_ON_UNTRUSTED_PORT (\d+) +Value DHCP_DROP_UNKNOWN_FAILURE (\d+) +Value DHCP_DROP_SOURCE_MAC_VALIDATION_FAILED (\d+) +Value DHCP_DROP_BINDING_ENTRY_VALIDATION_FAILED (\d+) +Value DHCP_DROP_INVALID_DHCP_MESSAGE_TYPE (\d+) +Value DHCP_DROP_INTERFACE_ERROR (\d+) +Value DHCP_DROP_TX_OVER_TRUSTED_PORT_FAILED (\d+) +Value DHCP_DROP_TRUST_PORT_NOT_CONFIGURED (\d+) +Value DHCP_DROP_VLAN_VALIDATION_FAILURE (\d+) +Value DHCP_DROP_INSERTION_OF_OPTION_82_FAILED (\d+) +Value DHCP_DROP_PACKET_MALFORMED (\d+) + +Start + ^Message\s+Type\s+Rx\s+Tx\s+Drops\s*$$ -> DHCP_MESSAGE_TYPES + ^DHCP\s+L2\s+Forwarding:$$ -> DHCP_L2_FORWARDING + ^Non\s+DHCP:$$ -> NON_DHCP + ^DROP:$$ -> DROP + ^-+\s*$$ + ^\s*$$ + ^. -> Error + +DHCP_MESSAGE_TYPES + ^Discover\s+${DHCP_DISCOVER_RX}\s+${DHCP_DISCOVER_TX}\s+${DHCP_DISCOVER_DROPS}$$ + ^Offer\s+${DHCP_OFFER_RX}\s+${DHCP_OFFER_TX}\s+${DHCP_OFFER_DROPS}$$ + ^Request\s+${DHCP_REQUEST_RX}\s+${DHCP_REQUEST_TX}\s+${DHCP_REQUEST_DROPS}$$ + ^Ack\s+${DHCP_ACK_RX}\s+${DHCP_ACK_TX}\s+${DHCP_ACK_DROPS}$$ + ^Release\s+${DHCP_RELEASE_RX}\s+${DHCP_RELEASE_TX}\s+${DHCP_RELEASE_DROPS}$$ + ^Decline\s+${DHCP_DECLINE_RX}\s+${DHCP_DECLINE_TX}\s+${DHCP_DECLINE_DROPS}$$ + ^Inform\s+${DHCP_INFORM_RX}\s+${DHCP_INFORM_TX}\s+${DHCP_INFORM_DROPS}$$ + ^Nack\s+${DHCP_NACK_RX}\s+${DHCP_NACK_TX}\s+${DHCP_NACK_DROPS}$$ + ^Total\s+${DHCP_TOTAL_MESSAGES_RX}\s+${DHCP_TOTAL_MESSAGES_TX}\s+${DHCP_TOTAL_MESSAGES_DROPS}$$ -> Start + ^-+\s*$$ + ^\s*$$ + ^. -> Error + +DHCP_L2_FORWARDING + ^Total\s+Packets\s+Forwarded\s+:\s+${DHCP_L2_FORWARDING_TOTAL_PACKETS_TX}$$ + ^Total\s+Packets\s+Received\s+:\s+${DHCP_L2_FORWARDING_TOTAL_PACKETS_RX}$$ + ^Total\s+Packets\s+Dropped\s+:\s+${DHCP_L2_FORWARDING_TOTAL_PACKETS_DROPPED}$$ -> Start + ^\s*$$ + ^. -> Error + +NON_DHCP + ^Total\s+Packets\s+Forwarded\s+:\s+${NON_DHCP_TOTAL_PACKETS_RX}$$ + ^Total\s+Packets\s+Received\s+:\s+${NON_DHCP_TOTAL_PACKETS_TX}$$ + ^Total\s+Packets\s+Dropped\s+:\s+${NON_DHCP_TOTAL_PACKETS_DROPPED}$$ -> Start + ^\s*$$ + ^. -> Error + +DROP + ^Received\s+on\s+untrusted\s+port\s+:\s+${DHCP_DROP_RECEIVED_ON_UNTRUSTED_PORT}$$ + ^Unknown\s+Failure\s+:\s+${DHCP_DROP_UNKNOWN_FAILURE}$$ + ^Source\s+mac\s+validation\s+failed\s+:\s+${DHCP_DROP_SOURCE_MAC_VALIDATION_FAILED}$$ + ^Binding\s+entry\s+validation\s+Failed\s+:\s+${DHCP_DROP_BINDING_ENTRY_VALIDATION_FAILED}$$ + ^Invalid\s+DHCP\s+message\s+type\s+:\s+${DHCP_DROP_INVALID_DHCP_MESSAGE_TYPE}$$ + ^Interface\s+error\s+:\s+${DHCP_DROP_INTERFACE_ERROR}$$ + ^Tx\s+over\s+trusted\s+port\s+failed\s+:\s+${DHCP_DROP_TX_OVER_TRUSTED_PORT_FAILED}$$ + ^Trust\s+port\s+not\s+configured\s+:\s+${DHCP_DROP_TRUST_PORT_NOT_CONFIGURED}$$ + ^Vlan\s+validation\s+failure\s+:\s+${DHCP_DROP_VLAN_VALIDATION_FAILURE}$$ + ^Insertion\s+of\s+option\s+82\s+failed\s+:\s+${DHCP_DROP_INSERTION_OF_OPTION_82_FAILED}$$ + ^Packet\s+Malformed\s+:\s+${DHCP_DROP_PACKET_MALFORMED}$$ -> Start + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 963e00d5f2..eb34c9fa53 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -285,6 +285,7 @@ cisco_ios_dir.textfsm, .*, cisco_ios, dir cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]] cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] +cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] sn[[ooping]] st[[atistics]] cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] cisco_nxos_show_interface_description.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] desc[[ription]] diff --git a/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.raw b/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.raw new file mode 100644 index 0000000000..23ced6d641 --- /dev/null +++ b/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.raw @@ -0,0 +1,34 @@ +---------------------------------------------------------------------- +Message Type Rx Tx Drops +---------------------------------------------------------------------- +Discover 10 10 10 +Offer 20 20 20 +Request 30 30 30 +Ack 40 40 40 +Release 50 50 50 +Decline 60 60 60 +Inform 70 70 70 +Nack 80 80 80 +---------------------------------------------------------------------- +Total 5000 5000 5000 +---------------------------------------------------------------------- +DHCP L2 Forwarding: +Total Packets Forwarded : 100 +Total Packets Received : 200 +Total Packets Dropped : 300 +Non DHCP: +Total Packets Received : 400 +Total Packets Forwarded : 500 +Total Packets Dropped : 600 +DROP: +Received on untrusted port : 700 +Unknown Failure : 800 +Source mac validation failed : 900 +Binding entry validation Failed : 1000 +Invalid DHCP message type : 1100 +Interface error : 1200 +Tx over trusted port failed : 1300 +Trust port not configured : 1400 +Vlan validation failure : 1500 +Insertion of option 82 failed : 1600 +Packet Malformed : 1700 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.yml b/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.yml new file mode 100644 index 0000000000..050ad04531 --- /dev/null +++ b/tests/cisco_nxos/show_ip_dhcp_snooping_statistics/cisco_nxos_show_ip_dhcp_snooping_statistics.yml @@ -0,0 +1,46 @@ +--- +parsed_sample: + - dhcp_discover_rx: "10" + dhcp_discover_tx: "10" + dhcp_discover_drops: "10" + dhcp_offer_rx: "20" + dhcp_offer_tx: "20" + dhcp_offer_drops: "20" + dhcp_request_rx: "30" + dhcp_request_tx: "30" + dhcp_request_drops: "30" + dhcp_ack_rx: "40" + dhcp_ack_tx: "40" + dhcp_ack_drops: "40" + dhcp_release_rx: "50" + dhcp_release_tx: "50" + dhcp_release_drops: "50" + dhcp_decline_rx: "60" + dhcp_decline_tx: "60" + dhcp_decline_drops: "60" + dhcp_inform_rx: "70" + dhcp_inform_tx: "70" + dhcp_inform_drops: "70" + dhcp_nack_rx: "80" + dhcp_nack_tx: "80" + dhcp_nack_drops: "80" + dhcp_total_messages_rx: "5000" + dhcp_total_messages_tx: "5000" + dhcp_total_messages_drops: "5000" + dhcp_l2_forwarding_total_packets_tx: "100" + dhcp_l2_forwarding_total_packets_rx: "200" + dhcp_l2_forwarding_total_packets_dropped: "300" + non_dhcp_total_packets_rx: "500" + non_dhcp_total_packets_tx: "400" + non_dhcp_total_packets_dropped: "600" + dhcp_drop_received_on_untrusted_port: "700" + dhcp_drop_unknown_failure: "800" + dhcp_drop_source_mac_validation_failed: "900" + dhcp_drop_binding_entry_validation_failed: "1000" + dhcp_drop_invalid_dhcp_message_type: "1100" + dhcp_drop_interface_error: "1200" + dhcp_drop_tx_over_trusted_port_failed: "1300" + dhcp_drop_trust_port_not_configured: "1400" + dhcp_drop_vlan_validation_failure: "1500" + dhcp_drop_insertion_of_option_82_failed: "1600" + dhcp_drop_packet_malformed: "1700" From a92904fb2878c8552617aa59fe175c8f3b59a289 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Wed, 17 Aug 2022 00:10:10 +0000 Subject: [PATCH 286/412] Eigrp interfaces detail (#1181) * Added new template and tests for EIGRP Interfaces Detail --- CHANGELOG.md | 5 ++ ...os_show_ip_eigrp_interfaces_detail.textfsm | 57 ++++++++++++++++ ntc_templates/templates/index | 1 + ...co_ios_show_ip_eigrp_interfaces_detail.raw | 30 ++++++++ ...co_ios_show_ip_eigrp_interfaces_detail.yml | 68 +++++++++++++++++++ 5 files changed, 161 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ip_eigrp_interfaces_detail.textfsm create mode 100644 tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index cf28633007..e0961d0f0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [unreleased] + +### What's Changed +* New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 + ## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) [Full Changlog](https://github.com/networktocode/ntc-templates/compare/v2.3.2...3.0.0) diff --git a/ntc_templates/templates/cisco_ios_show_ip_eigrp_interfaces_detail.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_interfaces_detail.textfsm new file mode 100644 index 0000000000..54603c89a0 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ip_eigrp_interfaces_detail.textfsm @@ -0,0 +1,57 @@ +Value Filldown AS (\d+) +Value Required INTERFACE (\S+) +Value PEERS (\d+) +Value XMIT_Q_UNRELIABLE (\d+) +Value XMIT_Q_RELIABLE (\d+) +Value PEER_Q_UNRELIABLE (\d+) +Value PEER_Q_RELIABLE (\d+) +Value MEAN_SRTT (\d+) +Value PACING_TIME_UNRELIABLE (\d+) +Value PACING_TIME_RELIABLE (\d+) +Value MCAST_FLOW_TIMER (\d+) +Value PENDING_ROUTES (\d+) +Value HELLO_INTERVAL (\d+) +Value HOLD_TIME (\d+) +Value SPLIT_HORIZON (\S+) +Value NEXT_XMIT_SERIAL (\S+) +Value PACKETIZED_SENT (\d+) +Value PACKETIZED_EXPEDITED (\d+) +Value HELLOS_SENT (\d+) +Value HELLOS_EXPEDITED (\d+) +Value MCASTS_UNRELIABLE (\d+) +Value MCASTS_RELIABLE (\d+) +Value UCASTS_UNRELIABLE (\d+) +Value UCASTS_RELIABLE (\d+) +Value MCAST_EXCEPTIONS (\d+) +Value CR_PACKETS (\d+) +Value ACKS_SUPPRESSED (\d+) +Value RETRANSMISSIONS_SENT (\d+) +Value OUT_OF_SEQUENCE_RCVD (\d+) +Value TOPOLOGY_IDS (\d+) +Value AUTHENTICATION_MODE (.+) +Value TOPOLOGIES_ADVERTISED (\S*) +Value TOPOLOGIES_NOT_ADVERTISED (\S*) + +Start + ^\s*EIGRP-IPv\d\s+Interfaces\s+for\sAS\(${AS}\)\s*$$ + ^\s*Xmit\sQueue\s+PeerQ\s+Mean\s+Pacing\s+Time\s+Multicast\s+Pending\s*$$ + ^\s*Interface\s+Peers\s+Un/Reliable\s+Un/Reliable\s+SRTT\s+Un/Reliable\s+Flow\s+Timer\s+Routes\s*$$ + ^\s*\S+\s+\d+\s+\d+/\d+\s+\d+/\d+\s+\d+\s+\d+/\d+\s+\d+\s+\d+\s*$$ -> Continue.Record + ^\s*${INTERFACE}\s+${PEERS}\s+${XMIT_Q_UNRELIABLE}/${XMIT_Q_RELIABLE}\s+${PEER_Q_UNRELIABLE}/${PEER_Q_RELIABLE}\s+${MEAN_SRTT}\s+${PACING_TIME_UNRELIABLE}/${PACING_TIME_RELIABLE}\s+${MCAST_FLOW_TIMER}\s+${PENDING_ROUTES}\s*$$ + ^\s*Hello-interval\s+is\s+${HELLO_INTERVAL},\s+Hold-time\s+is\s+${HOLD_TIME}\s*$$ + ^\s*Split-horizon\s+is\s+${SPLIT_HORIZON}\s*$$ + ^\s*Next\s+xmit\s+serial\s+${NEXT_XMIT_SERIAL}\s*$$ + ^\s*Packetized\s+sent/expedited:\s+${PACKETIZED_SENT}/${PACKETIZED_EXPEDITED}\s*$$ + ^\s*Hello's\s+sent/expedited:\s+${HELLOS_SENT}/${HELLOS_EXPEDITED}\s*$$ + ^\s*Un/reliable\s+mcasts:\s+${MCASTS_UNRELIABLE}/${MCASTS_RELIABLE}\s+Un/reliable\s+ucasts:\s+${UCASTS_UNRELIABLE}/${UCASTS_RELIABLE}\s*$$ + ^\s*Mcast\s+exceptions:\s+${MCAST_EXCEPTIONS}\s+CR\s+packets:\s+${CR_PACKETS}\s+ACKs\s+suppressed:\s+${ACKS_SUPPRESSED}\s*$$ + ^\s*Retransmissions\s+sent:\s+${RETRANSMISSIONS_SENT}\s+Out-of-sequence\s+rcvd:\s+${OUT_OF_SEQUENCE_RCVD}\s*$$ + ^\s*Topology-ids\s+on\s+interface\s+-\s+${TOPOLOGY_IDS}\s*$$ + ^\s*Authentication\s+mode\s+is\s+${AUTHENTICATION_MODE}\s*$$ + ^\s*Topologies\s+advertised\s+on\s+this\s+interface:\s*${TOPOLOGIES_ADVERTISED}\s*$$ + ^\s*Topologies\s+not\s+advertised\s+on\s+this\s+interface:\s*${TOPOLOGIES_NOT_ADVERTISED}\s*$$ + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index eb34c9fa53..3eca684cf6 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -196,6 +196,7 @@ cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow cisco_ios_show_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]] por[[t-security]] i[[nterface]] (\S+) cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp vpnv4 all nei[[ghbors]] +cisco_ios_show_ip_eigrp_interfaces_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] i[[nterfaces]] de[[tail]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] diff --git a/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.raw b/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.raw new file mode 100644 index 0000000000..3a01460a56 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.raw @@ -0,0 +1,30 @@ +EIGRP-IPv4 Interfaces for AS(12345) + Xmit Queue PeerQ Mean Pacing Time Multicast Pending +Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes +Tu10 1 0/0 0/0 97 1/45 433 0 + Hello-interval is 5, Hold-time is 15 + Split-horizon is enabled + Next xmit serial + Packetized sent/expedited: 13389/102 + Hello's sent/expedited: 23525118/224 + Un/reliable mcasts: 0/0 Un/reliable ucasts: 14237/1554 + Mcast exceptions: 0 CR packets: 0 ACKs suppressed: 298 + Retransmissions sent: 662 Out-of-sequence rcvd: 738 + Topology-ids on interface - 0 + Authentication mode is not set + Topologies advertised on this interface: base + Topologies not advertised on this interface: + +Tu20 1 0/0 0/0 88 1/45 397 0 + Hello-interval is 5, Hold-time is 15 + Split-horizon is enabled + Next xmit serial + Packetized sent/expedited: 13095/136 + Hello's sent/expedited: 23525540/259 + Un/reliable mcasts: 0/0 Un/reliable ucasts: 17661/1561 + Mcast exceptions: 0 CR packets: 0 ACKs suppressed: 713 + Retransmissions sent: 701 Out-of-sequence rcvd: 2865 + Topology-ids on interface - 0 + Authentication mode is not set + Topologies advertised on this interface: base + Topologies not advertised on this interface: diff --git a/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.yml b/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.yml new file mode 100644 index 0000000000..21519d6399 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_interfaces_detail/cisco_ios_show_ip_eigrp_interfaces_detail.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - interface: "Tu10" + as: "12345" + peers: "1" + xmit_q_unreliable: "0" + xmit_q_reliable: "0" + peer_q_unreliable: "0" + peer_q_reliable: "0" + mean_srtt: "97" + pacing_time_unreliable: "1" + pacing_time_reliable: "45" + mcast_flow_timer: "433" + pending_routes: "0" + hello_interval: "5" + hold_time: "15" + split_horizon: "enabled" + next_xmit_serial: "" + packetized_sent: "13389" + packetized_expedited: "102" + hellos_sent: "23525118" + hellos_expedited: "224" + mcasts_unreliable: "0" + mcasts_reliable: "0" + ucasts_unreliable: "14237" + ucasts_reliable: "1554" + mcast_exceptions: "0" + cr_packets: "0" + acks_suppressed: "298" + retransmissions_sent: "662" + out_of_sequence_rcvd: "738" + topology_ids: "0" + authentication_mode: "not set" + topologies_advertised: "base" + topologies_not_advertised: "" + - interface: "Tu20" + as: "12345" + peers: "1" + xmit_q_unreliable: "0" + xmit_q_reliable: "0" + peer_q_unreliable: "0" + peer_q_reliable: "0" + mean_srtt: "88" + pacing_time_unreliable: "1" + pacing_time_reliable: "45" + mcast_flow_timer: "397" + pending_routes: "0" + hello_interval: "5" + hold_time: "15" + split_horizon: "enabled" + next_xmit_serial: "" + packetized_sent: "13095" + packetized_expedited: "136" + hellos_sent: "23525540" + hellos_expedited: "259" + mcasts_unreliable: "0" + mcasts_reliable: "0" + ucasts_unreliable: "17661" + ucasts_reliable: "1561" + mcast_exceptions: "0" + cr_packets: "0" + acks_suppressed: "713" + retransmissions_sent: "701" + out_of_sequence_rcvd: "2865" + topology_ids: "0" + authentication_mode: "not set" + topologies_advertised: "base" + topologies_not_advertised: "" From 61a19bc2b6875e649880381f33645a6d726d1a63 Mon Sep 17 00:00:00 2001 From: ReK_ Date: Wed, 17 Aug 2022 12:13:22 -0700 Subject: [PATCH 287/412] Updated support for Arista EOS devices (#1174) Arista updates: * Update `show ip bgp summary` to support description column * Update `show ip ospf neighbor` to support instance column * Update `show vrf` to support line card interfaces, subinterfaces and an alternate header * Add support for `show ip ospf interface brief` * Add support for `show pim ipv4 interface` * Add support for `show pim ipv4 neighbor` * Add support for `show ip ospf summary` --- .../arista_eos_show_ip_bgp_summary.textfsm | 3 + ...a_eos_show_ip_ospf_interface_brief.textfsm | 12 ++++ .../arista_eos_show_ip_ospf_neighbor.textfsm | 6 +- .../arista_eos_show_ip_ospf_summary.textfsm | 21 +++++++ ...arista_eos_show_pim_ipv4_interface.textfsm | 14 +++++ .../arista_eos_show_pim_ipv4_neighbor.textfsm | 12 ++++ .../templates/arista_eos_show_vrf.textfsm | 14 ++--- ntc_templates/templates/index | 6 +- .../arista_eos_show_bgp_evpn_summary.yml | 8 +++ .../arista_eos_show_ip_bgp_summary.yml | 2 + .../arista_eos_show_ip_bgp_summary2.yml | 3 + .../arista_eos_show_ip_bgp_summary3.raw | 6 ++ .../arista_eos_show_ip_bgp_summary3.yml | 30 ++++++++++ .../arista_eos_show_ip_bgp_summary_vrf.yml | 4 ++ ...rista_eos_show_ip_ospf_interface_brief.raw | 8 +++ ...rista_eos_show_ip_ospf_interface_brief.yml | 58 +++++++++++++++++++ .../arista_eos_show_ip_ospf_neighbor.yml | 2 + .../arista_eos_show_ip_ospf_neighbor_2.raw | 5 ++ .../arista_eos_show_ip_ospf_neighbor_2.yml | 34 +++++++++++ .../arista_eos_show_ip_ospf_summary.raw | 13 +++++ .../arista_eos_show_ip_ospf_summary.yml | 41 +++++++++++++ .../arista_eos_show_pim_ipv4_interface.raw | 6 ++ .../arista_eos_show_pim_ipv4_interface.yml | 38 ++++++++++++ .../arista_eos_show_pim_ipv4_neighbor.raw | 6 ++ .../arista_eos_show_pim_ipv4_neighbor.yml | 30 ++++++++++ .../show_vrf/arista_eos_show_vrf_3.raw | 9 +++ .../show_vrf/arista_eos_show_vrf_3.yml | 16 +++++ 27 files changed, 397 insertions(+), 10 deletions(-) create mode 100644 ntc_templates/templates/arista_eos_show_ip_ospf_interface_brief.textfsm create mode 100644 ntc_templates/templates/arista_eos_show_ip_ospf_summary.textfsm create mode 100644 ntc_templates/templates/arista_eos_show_pim_ipv4_interface.textfsm create mode 100644 ntc_templates/templates/arista_eos_show_pim_ipv4_neighbor.textfsm create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.raw create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.yml create mode 100644 tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.raw create mode 100644 tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.yml create mode 100644 tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.raw create mode 100644 tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.yml create mode 100644 tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.raw create mode 100644 tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.yml create mode 100644 tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.raw create mode 100644 tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.yml create mode 100644 tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.raw create mode 100644 tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.yml create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_3.raw create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_3.yml diff --git a/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm index 3e27129841..bca31b22dc 100644 --- a/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm @@ -1,6 +1,7 @@ Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) Value Filldown LOCAL_AS (\d+) Value Filldown VRF (\S+) +Value DESCRIPTION (\S+) Value Required BGP_NEIGH (\d+\.\d+\.\d+\.\d+) Value NEIGH_AS (\d+) Value MSG_RCVD (\d+) @@ -16,8 +17,10 @@ Start ^BGP.+?VRF\s+${VRF}\s*$$ ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State\s+PfxRcd\s+PfxAcc\s*$$ + ^\s*Description\s+Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State\s+PfxRcd\s+PfxAcc\s*$$ ^.+\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+[Nn]umber\s+${LOCAL_AS} ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record + ^\s+${DESCRIPTION}\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+ -> Record ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record ^Neighbor\s+Status\s+Codes: diff --git a/ntc_templates/templates/arista_eos_show_ip_ospf_interface_brief.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_interface_brief.textfsm new file mode 100644 index 0000000000..c32027ba38 --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_ip_ospf_interface_brief.textfsm @@ -0,0 +1,12 @@ +Value INTERFACE (\S+) +Value INSTANCE (\d+) +Value VRF (\S+) +Value AREA (\d+\.\d+\.\d+\.\d+) +Value ADDRESS (\d+\.\d+\.\d+\.\d+/\d+) +Value COST (\d+) +Value STATE (\S+) +Value NEIGHBORS (\d+) + +Start + ^\s*Interface\s+Instance VRF\s+Area\s+IP Address\s+Cost\s+State\s+Nbrs\s*$$ + ^\s*${INTERFACE}\s+${INSTANCE}\s+${VRF}\s+${AREA}\s+${ADDRESS}\s+${COST}\s+${STATE}\s+${NEIGHBORS}\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm index 8fe56a1488..f078e8a0c0 100644 --- a/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm @@ -1,10 +1,12 @@ -Value NEIGHBOR_ID (\d+.\d+.\d+.\d+) +Value Required NEIGHBOR_ID (\d+.\d+.\d+.\d+) +Value INSTANCE (\d+) Value VRF (\S+) Value PRIORITY (\d+) Value STATE (\S+) Value DEAD_TIME (\d+:\d+:\d+) Value ADDRESS (\d+.\d+.\d+.\d+) -Value INTERFACE (\S+) +Value INTERFACE ([\w\./-]+) Start ^${NEIGHBOR_ID}\s+${VRF}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE} -> Record + ^\s*${NEIGHBOR_ID}\s+${INSTANCE}\s+${VRF}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE}\s*$$ -> Record diff --git a/ntc_templates/templates/arista_eos_show_ip_ospf_summary.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_summary.textfsm new file mode 100644 index 0000000000..51982a31f6 --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_ip_ospf_summary.textfsm @@ -0,0 +1,21 @@ +Value Filldown INSTANCE (\d+) +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown VRF (\S+) +Value AREA (\d+\.\d+\.\d+\.\d+) +Value TYPE (\S+) +Value INTERFACES (\d+) +Value NEIGHBORS (\d+) +Value NEIGHBORS_FULL (\d+) +Value ROUTER_LSAS (\d+) +Value NETWORK_LSAS (\d+) +Value SUMMARY_LSAS (\d+) +Value ASBR_LSAS (\d+) +Value NSSA_LSAS (\d+) + +Start + ^OSPF instance ${INSTANCE} with ID ${ROUTER_ID}, VRF ${VRF},.*$$ + ^Time since.*$$ + ^Max LSAs.*$$ + ^Type-5.*$$ + ^ID\s+Type\s+Intf\s+Nbrs\s+\(full\)\s+RTR LSA\s+NW LSA\s+SUM LSA\s+ASBR LSA\s+TYPE-7 LSA\s*$$ + ^${AREA}\s+${TYPE}\s+${INTERFACES}\s+${NEIGHBORS}\s+\(${NEIGHBORS_FULL}\s*\)\s+${ROUTER_LSAS}\s+${NETWORK_LSAS}\s+${SUMMARY_LSAS}\s+${ASBR_LSAS}\s+${NSSA_LSAS}\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/arista_eos_show_pim_ipv4_interface.textfsm b/ntc_templates/templates/arista_eos_show_pim_ipv4_interface.textfsm new file mode 100644 index 0000000000..0875b14d78 --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_pim_ipv4_interface.textfsm @@ -0,0 +1,14 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required INTERFACE ([\w\./-]+) +Value MODE (\S+) +Value NEIGHBORS (\d+) +Value HELLO_INTERVAL (\d+) +Value DR_PRIORITY (\d+) +Value DR_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value PACKETS_QUEUED (\d+) +Value PACKETS_DROPPED (\d+) + +Start + ^\s*Address\s+Interface\s+Mode\s+Neighbor\s+Hello\s+DR\s+DR Address\s+PktsQed\s+PktsDropped\s*$$ + ^\s*Count\s+Intvl\s+Pri\s*$$ + ^\s*${ADDRESS}\s+${INTERFACE}\s+${MODE}\s+${NEIGHBORS}\s+${HELLO_INTERVAL}\s+${DR_PRIORITY}\s+${DR_ADDRESS}\s+${PACKETS_QUEUED}\s+${PACKETS_DROPPED}\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/arista_eos_show_pim_ipv4_neighbor.textfsm b/ntc_templates/templates/arista_eos_show_pim_ipv4_neighbor.textfsm new file mode 100644 index 0000000000..87b194d952 --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_pim_ipv4_neighbor.textfsm @@ -0,0 +1,12 @@ +Value Filldown VRF (\S+) +Value Required NEIGHBOR (\d+\.\d+\.\d+\.\d+) +Value INTERFACE ([\w\./-]+) +Value UPTIME (\S+) +Value EXPIRES (\S+) +Value MODE (\S+) +Value TRANSPORT (\S+) + +Start + ^\s*PIM Neighbor Table for ${VRF} VRF\s*$$ + ^\s*Neighbor Address\s+Interface\s+Uptime\s+Expires\s+Mode\s+Transport\s*$$ + ^\s*${NEIGHBOR}\s+${INTERFACE}\s+${UPTIME}\s+${EXPIRES}\s+${MODE}\s+${TRANSPORT}\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/arista_eos_show_vrf.textfsm b/ntc_templates/templates/arista_eos_show_vrf.textfsm index d9f97778bd..38f1a524ea 100644 --- a/ntc_templates/templates/arista_eos_show_vrf.textfsm +++ b/ntc_templates/templates/arista_eos_show_vrf.textfsm @@ -1,13 +1,13 @@ Value VRF (\S+) Value RD (\d\S+|<.+>) -Value List INTERFACES (\w+) +Value List INTERFACES ([\w\./-]+) Start - ^\s+Vrf\s+RD\s+Protocols\s+State\s+Interfaces -> VRF + ^\s+V[rR][fF]\s+RD\s+Protocols\s+State\s+Interfaces -> VRF ^Maximum ^\s*$$ ^. -> Error - + VRF # match a vrf with interfaces # key on the first line of a VRF @@ -29,7 +29,7 @@ VRF # three interfaces displayed per line ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue # - # match first line of a vrf, second interface when there are more than two interfaces + # match first line of a vrf, second interface when there are more than two interfaces # two or three interfaces displayed per line ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){1}${INTERFACES}, -> Continue # @@ -39,7 +39,7 @@ VRF # ############## Lines that contains state ################## # - # match state only line + # match state only line ^\s+(\S+:\S+(?:\s\S+)*)\s*$$ # # match first interface of the line when it also has a state and it is the last interface @@ -51,7 +51,7 @@ VRF # match second interface of the line when it also has a state and it is the last interface # two interfaces displayed per line ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue - # + # # match third interface of the line when it also has a state and it is the last interface # three interfaces displayed per line ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue @@ -66,7 +66,7 @@ VRF # ################# Lines that have whitespace preceding the interface list #################### # - # + # # match first interface of the line when it only has whitespace and it is the last interface ^\s+${INTERFACES}\s*$$ -> Continue # diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 3eca684cf6..f3c243f9d6 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -37,6 +37,7 @@ arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] arista_eos_show_mac_security_mka_counters.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] +arista_eos_show_ip_ospf_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] int[[erface]] br[[ief]] arista_eos_show_interfaces_description.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] des[[cription]] arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] @@ -44,13 +45,16 @@ arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] arista_eos_show_port-channel_summary.textfsm, .*, arista_eos, sh[[ow]] port-c[[hannel]] s[[ummary]] arista_eos_show_environment_cooling.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_ip_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] +arista_eos_show_pim_ipv4_interface.textfsm, .*, arista_eos, sh[[ow]] pim ipv4 int[[erface]] arista_eos_show_processes_top_once.textfsm, .*, arista_eos, sh[[ow]] pro[[cesses]] t[[op]] o[[nce]] arista_eos_show_interfaces_status.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] arista_eos_show_ip_helper-address.textfsm, .*, arista_eos, sh[[ow]] ip he[[lper-address]] arista_eos_show_mac_address-table.textfsm, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] +arista_eos_show_pim_ipv4_neighbor.textfsm, .*, arista_eos, sh[[ow]] pim ipv4 nei[[ghbor]] arista_eos_show_ip_ospf_database.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] arista_eos_show_ip_ospf_neighbor.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] arista_eos_show_ip_access-lists.textfsm, .*, arista_eos, sh[[ow]] i[[p]] acce[[ss-lists]] +arista_eos_show_ip_ospf_summary.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] sum[[mary]] arista_eos_show_ip_bgp_summary.textfsm, .*, arista_eos, sh[[ow]] (?:i[[p]] bg[[p]]|bg[[p]] ev[[pn]]) su[[mmary]] arista_eos_show_isis_neighbors.textfsm, .*, arista_eos, sh[[ow]] isis ne[[ighbors]] arista_eos_show_lldp_neighbors.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] @@ -72,7 +76,7 @@ arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf -aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm , .*, aruba_aoscx, sh[[ow]] aa[[a]] authe[[ntication]] port-access interface all client-status +aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm , .*, aruba_aoscx, sh[[ow]] aa[[a]] authe[[ntication]] port-access interface all client-status aruba_aoscx_show_lldp_neighbors-info_detail.textfsm, .*, aruba_aoscx, sh[[ow]] ll[[dp]] nei[[ghbors-info]] d[[etail]] aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm, .*, aruba_aoscx, sh[[ow]] bgp all-[[vrfs]] a[[ll]] s[[ummary]] aruba_aoscx_show_interface_dom_detail.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] dom d[[etail]] diff --git a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml index c846caa884..4ba5473e74 100644 --- a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml +++ b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml @@ -3,6 +3,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.11" neigh_as: "65001" msg_rcvd: "8" @@ -16,6 +17,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.12" neigh_as: "65001" msg_rcvd: "8" @@ -29,6 +31,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.13" neigh_as: "65002" msg_rcvd: "8" @@ -42,6 +45,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.14" neigh_as: "65002" msg_rcvd: "8" @@ -55,6 +59,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.15" neigh_as: "65003" msg_rcvd: "8" @@ -68,6 +73,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.16" neigh_as: "65003" msg_rcvd: "9" @@ -81,6 +87,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.17" neigh_as: "65004" msg_rcvd: "8" @@ -94,6 +101,7 @@ parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" + description: "" bgp_neigh: "10.0.250.18" neigh_as: "65004" msg_rcvd: "8" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml index f85caba65c..f2b85dfaab 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml @@ -3,6 +3,7 @@ parsed_sample: - router_id: "10.26.0.22" local_as: "65533" vrf: "" + description: "" bgp_neigh: "10.17.254.78" neigh_as: "65534" msg_rcvd: "187" @@ -16,6 +17,7 @@ parsed_sample: - router_id: "10.26.0.22" local_as: "65533" vrf: "" + description: "" bgp_neigh: "10.17.254.2" neigh_as: "65533" msg_rcvd: "184" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml index 0d1a316b02..806e3ac854 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml @@ -3,6 +3,7 @@ parsed_sample: - router_id: "10.0.65.72" local_as: "64911" vrf: "default" + description: "" bgp_neigh: "10.10.128.0" neigh_as: "65292" msg_rcvd: "0" @@ -16,6 +17,7 @@ parsed_sample: - router_id: "10.0.65.72" local_as: "64911" vrf: "default" + description: "" bgp_neigh: "10.106.0.153" neigh_as: "64832" msg_rcvd: "0" @@ -29,6 +31,7 @@ parsed_sample: - router_id: "10.0.65.72" local_as: "64911" vrf: "default" + description: "" bgp_neigh: "10.106.0.157" neigh_as: "64833" msg_rcvd: "114056" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.raw b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.raw new file mode 100644 index 0000000000..6f1a052e2e --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.raw @@ -0,0 +1,6 @@ +BGP summary information for VRF default +Router identifier 192.0.2.1, local AS number 64496 +Neighbor Status Codes: m - Under maintenance + Description Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + RTR2 192.0.2.2 4 64496 149 152 0 0 02:25:23 Estab 1 1 + RTR3 192.0.2.3 4 64496 153 156 0 0 02:03:59 Estab 10 10 \ No newline at end of file diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.yml new file mode 100644 index 0000000000..2413e3cbb5 --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary3.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - router_id: "192.0.2.1" + local_as: "64496" + vrf: "default" + description: "RTR2" + bgp_neigh: "192.0.2.2" + neigh_as: "64496" + msg_rcvd: "149" + msg_sent: "152" + in_queue: "0" + out_queue: "0" + up_down: "02:25:23" + state: "Estab" + state_pfxrcd: "1" + state_pfxacc: "1" + - router_id: "192.0.2.1" + local_as: "64496" + vrf: "default" + description: "RTR3" + bgp_neigh: "192.0.2.3" + neigh_as: "64496" + msg_rcvd: "153" + msg_sent: "156" + in_queue: "0" + out_queue: "0" + up_down: "02:03:59" + state: "Estab" + state_pfxrcd: "10" + state_pfxacc: "10" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml index a7b3cc08a9..1cc28ac097 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml @@ -3,6 +3,7 @@ parsed_sample: - router_id: "192.168.1.1" local_as: "645001" vrf: "RED" + description: "" bgp_neigh: "192.168.1.2" neigh_as: "65002" msg_rcvd: "1753556" @@ -16,6 +17,7 @@ parsed_sample: - router_id: "192.168.2.1" local_as: "65011" vrf: "WHITE" + description: "" bgp_neigh: "192.168.2.2" neigh_as: "65012" msg_rcvd: "7405942" @@ -29,6 +31,7 @@ parsed_sample: - router_id: "192.168.3.1" local_as: "65021" vrf: "BLUE" + description: "" bgp_neigh: "192.168.3.2" neigh_as: "65022" msg_rcvd: "1171721" @@ -42,6 +45,7 @@ parsed_sample: - router_id: "192.168.3.1" local_as: "65021" vrf: "BLUE" + description: "" bgp_neigh: "192.168.3.3" neigh_as: "65023" msg_rcvd: "97651" diff --git a/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.raw b/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.raw new file mode 100644 index 0000000000..d5aef8b74e --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.raw @@ -0,0 +1,8 @@ + Interface Instance VRF Area IP Address Cost State Nbrs + Lo0 1 default 0.0.0.10 192.0.2.1/32 10 DR 0 + Vl100 1 default 0.0.0.10 192.0.2.1/32 10 DR 0 + Vl200 1 default 0.0.0.10 192.0.2.1/32 10 DR 0 + Et10 1 default 0.0.0.10 192.0.2.1/32 10 DR 0 + Et20/1 1 default 0.0.0.10 192.0.2.1/32 50 P2P 1 + Et20/1.10 2 mgmtVrf 0.0.0.0 192.0.2.1/32 10 P2P 1 + Po1.10 2 mgmtVrf 0.0.0.0 192.0.2.1/32 10 P2P 1 \ No newline at end of file diff --git a/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.yml b/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.yml new file mode 100644 index 0000000000..3d99ee9c78 --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_interface_brief/arista_eos_show_ip_ospf_interface_brief.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - interface: "Lo0" + instance: "1" + vrf: "default" + area: "0.0.0.10" + address: "192.0.2.1/32" + cost: "10" + state: "DR" + neighbors: "0" + - interface: "Vl100" + instance: "1" + vrf: "default" + area: "0.0.0.10" + address: "192.0.2.1/32" + cost: "10" + state: "DR" + neighbors: "0" + - interface: "Vl200" + instance: "1" + vrf: "default" + area: "0.0.0.10" + address: "192.0.2.1/32" + cost: "10" + state: "DR" + neighbors: "0" + - interface: "Et10" + instance: "1" + vrf: "default" + area: "0.0.0.10" + address: "192.0.2.1/32" + cost: "10" + state: "DR" + neighbors: "0" + - interface: "Et20/1" + instance: "1" + vrf: "default" + area: "0.0.0.10" + address: "192.0.2.1/32" + cost: "50" + state: "P2P" + neighbors: "1" + - interface: "Et20/1.10" + instance: "2" + vrf: "mgmtVrf" + area: "0.0.0.0" + address: "192.0.2.1/32" + cost: "10" + state: "P2P" + neighbors: "1" + - interface: "Po1.10" + instance: "2" + vrf: "mgmtVrf" + area: "0.0.0.0" + address: "192.0.2.1/32" + cost: "10" + state: "P2P" + neighbors: "1" diff --git a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml index 12f23f347f..bc57940c24 100644 --- a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml +++ b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml @@ -4,6 +4,7 @@ parsed_sample: interface: "Ethernet2" state: "FULL/BDR" neighbor_id: "3.3.3.3" + instance: "" vrf: "default" priority: "1" dead_time: "00:00:34" @@ -11,6 +12,7 @@ parsed_sample: interface: "Ethernet3" state: "FULL" neighbor_id: "2.2.2.2" + instance: "" vrf: "default" priority: "1" dead_time: "00:00:38" diff --git a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.raw b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.raw new file mode 100644 index 0000000000..afafe6b9af --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.raw @@ -0,0 +1,5 @@ +Neighbor ID Instance VRF Pri State Dead Time Address Interface +192.0.2.2 1 red 1 FULL 00:00:31 192.0.2.1 Ethernet20/1 +192.0.2.6 1 red 0 FULL 00:00:32 192.0.2.5 Vlan100 +192.0.2.10 2 blue 1 FULL 00:00:35 192.0.2.9 Ethernet20/1.10 +192.0.2.14 2 blue 1 FULL 00:00:32 192.0.2.13 Port-Channel100.10 \ No newline at end of file diff --git a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.yml b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.yml new file mode 100644 index 0000000000..4fd5d05f8f --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor_2.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - neighbor_id: "192.0.2.2" + instance: "1" + vrf: "red" + priority: "1" + state: "FULL" + dead_time: "00:00:31" + address: "192.0.2.1" + interface: "Ethernet20/1" + - neighbor_id: "192.0.2.6" + instance: "1" + vrf: "red" + priority: "0" + state: "FULL" + dead_time: "00:00:32" + address: "192.0.2.5" + interface: "Vlan100" + - neighbor_id: "192.0.2.10" + instance: "2" + vrf: "blue" + priority: "1" + state: "FULL" + dead_time: "00:00:35" + address: "192.0.2.9" + interface: "Ethernet20/1.10" + - neighbor_id: "192.0.2.14" + instance: "2" + vrf: "blue" + priority: "1" + state: "FULL" + dead_time: "00:00:32" + address: "192.0.2.13" + interface: "Port-Channel100.10" diff --git a/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.raw b/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.raw new file mode 100644 index 0000000000..05c616681c --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.raw @@ -0,0 +1,13 @@ +OSPF instance 1 with ID 65.87.229.70, VRF default, ASBR +Time since last SPF: 14 s +Max LSAs: 12000, Total LSAs: 6 +Type-5 Ext LSAs: 3 +ID Type Intf Nbrs (full) RTR LSA NW LSA SUM LSA ASBR LSA TYPE-7 LSA +0.0.0.10 normal 6 2 (2 ) 3 0 0 0 0 + +OSPF instance 2 with ID 192.168.28.193, VRF mgmtVrf, ASBR +Time since last SPF: 1673 s +Max LSAs: 12000, Total LSAs: 357 +Type-5 Ext LSAs: 152 +ID Type Intf Nbrs (full) RTR LSA NW LSA SUM LSA ASBR LSA TYPE-7 LSA +0.0.0.0 normal 2 2 (2 ) 113 92 0 0 0 \ No newline at end of file diff --git a/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.yml b/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.yml new file mode 100644 index 0000000000..159b35b6bd --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_summary/arista_eos_show_ip_ospf_summary.yml @@ -0,0 +1,41 @@ +--- +parsed_sample: + - area: "0.0.0.10" + asbr_lsas: "0" + instance: "1" + interfaces: "6" + neighbors: "2" + neighbors_full: "2" + network_lsas: "0" + nssa_lsas: "0" + router_id: "65.87.229.70" + router_lsas: "3" + summary_lsas: "0" + type: "normal" + vrf: "default" + - area: "0.0.0.0" + asbr_lsas: "0" + instance: "2" + interfaces: "2" + neighbors: "2" + neighbors_full: "2" + network_lsas: "92" + nssa_lsas: "0" + router_id: "192.168.28.193" + router_lsas: "113" + summary_lsas: "0" + type: "normal" + vrf: "mgmtVrf" + - area: "" + asbr_lsas: "" + instance: "2" + interfaces: "" + neighbors: "" + neighbors_full: "" + network_lsas: "" + nssa_lsas: "" + router_id: "192.168.28.193" + router_lsas: "" + summary_lsas: "" + type: "" + vrf: "mgmtVrf" diff --git a/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.raw b/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.raw new file mode 100644 index 0000000000..96a0b906b0 --- /dev/null +++ b/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.raw @@ -0,0 +1,6 @@ +Address Interface Mode Neighbor Hello DR DR Address PktsQed PktsDropped + Count Intvl Pri +192.0.2.1 Ethernet20/1 sparse 1 5 1 192.0.2.2 0 0 +192.0.2.3 Port-Channel1.10 sparse 1 30 1 192.0.2.4 28 0 +192.0.2.5 Vlan100 sparse 1 30 1 192.0.2.6 0 0 +192.0.2.7 Vlan200 sparse 1 30 1 192.0.2.8 0 0 \ No newline at end of file diff --git a/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.yml b/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.yml new file mode 100644 index 0000000000..01a527120f --- /dev/null +++ b/tests/arista_eos/show_pim_ipv4_interface/arista_eos_show_pim_ipv4_interface.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - address: "192.0.2.1" + interface: "Ethernet20/1" + mode: "sparse" + neighbors: "1" + hello_interval: "5" + dr_priority: "1" + dr_address: "192.0.2.2" + packets_queued: "0" + packets_dropped: "0" + - address: "192.0.2.3" + interface: "Port-Channel1.10" + mode: "sparse" + neighbors: "1" + hello_interval: "30" + dr_priority: "1" + dr_address: "192.0.2.4" + packets_queued: "28" + packets_dropped: "0" + - address: "192.0.2.5" + interface: "Vlan100" + mode: "sparse" + neighbors: "1" + hello_interval: "30" + dr_priority: "1" + dr_address: "192.0.2.6" + packets_queued: "0" + packets_dropped: "0" + - address: "192.0.2.7" + interface: "Vlan200" + mode: "sparse" + neighbors: "1" + hello_interval: "30" + dr_priority: "1" + dr_address: "192.0.2.8" + packets_queued: "0" + packets_dropped: "0" diff --git a/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.raw b/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.raw new file mode 100644 index 0000000000..a47eb3b820 --- /dev/null +++ b/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.raw @@ -0,0 +1,6 @@ +PIM Neighbor Table for default VRF +Neighbor Address Interface Uptime Expires Mode Transport +192.0.2.2 Ethernet20/1 02:26:03 00:00:16 sparse datagram +192.0.2.4 Port-Channel1.10 02:25:25 00:01:25 sparse datagram +192.0.2.6 Vlan100 02:04:47 00:01:32 sparse datagram +192.0.2.8 Vlan200 02:04:47 00:01:35 sparse datagram \ No newline at end of file diff --git a/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.yml b/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.yml new file mode 100644 index 0000000000..87ba956fdc --- /dev/null +++ b/tests/arista_eos/show_pim_ipv4_neighbor/arista_eos_show_pim_ipv4_neighbor.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - vrf: "default" + neighbor: "192.0.2.2" + interface: "Ethernet20/1" + uptime: "02:26:03" + expires: "00:00:16" + mode: "sparse" + transport: "datagram" + - vrf: "default" + neighbor: "192.0.2.4" + interface: "Port-Channel1.10" + uptime: "02:25:25" + expires: "00:01:25" + mode: "sparse" + transport: "datagram" + - vrf: "default" + neighbor: "192.0.2.6" + interface: "Vlan100" + uptime: "02:04:47" + expires: "00:01:32" + mode: "sparse" + transport: "datagram" + - vrf: "default" + neighbor: "192.0.2.8" + interface: "Vlan200" + uptime: "02:04:47" + expires: "00:01:35" + mode: "sparse" + transport: "datagram" diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.raw new file mode 100644 index 0000000000..689d563b29 --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.raw @@ -0,0 +1,9 @@ +Maximum number of vrfs allowed: 1023 + VRF RD Protocols State Interfaces +------------- --------------- --------------- ---------------------------- --------------------------- + red ipv4,ipv6 v4:routing; multicast, Ethernet10, Ethernet20/1, + v6:no routing Loopback0, Vlan100, + Vlan200 + blue 1:1 ipv4,ipv6 v4:routing, Ethernet20/1.10, Loopback1, + v6:no routing Port-Channel1.20 + diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.yml b/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.yml new file mode 100644 index 0000000000..507e6ff766 --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_3.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - vrf: "red" + rd: "" + interfaces: + - "Ethernet10" + - "Ethernet20/1" + - "Loopback0" + - "Vlan100" + - "Vlan200" + - vrf: "blue" + rd: "1:1" + interfaces: + - "Ethernet20/1.10" + - "Loopback1" + - "Port-Channel1.20" From 4347b9aa8cc9d72242db4e0e4cc1e67baaef4159 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Mon, 22 Aug 2022 18:34:45 +0000 Subject: [PATCH 288/412] Cisco ios show snmp group (#1183) * Added new template and tests. * Created cisco_ios_show_snmp_group.textfsm template. Co-authored-by: Nicholas Nelson - 10105570 --- CHANGELOG.md | 1 + .../cisco_ios_show_snmp_group.textfsm | 22 +++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_snmp_group.raw | 41 ++++++++++++ .../cisco_ios_show_snmp_group.yml | 65 +++++++++++++++++++ 5 files changed, 130 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_snmp_group.textfsm create mode 100644 tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.raw create mode 100644 tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index e0961d0f0d..8af4d215e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### What's Changed * New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 +* New template: cisco_ios_show_snmp_group.textfsm by @nsnelson402 ## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) diff --git a/ntc_templates/templates/cisco_ios_show_snmp_group.textfsm b/ntc_templates/templates/cisco_ios_show_snmp_group.textfsm new file mode 100644 index 0000000000..984fb3e27d --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_snmp_group.textfsm @@ -0,0 +1,22 @@ +Value Required GROUPNAME (\S+) +Value SECURITY_MODEL ([\s\S]+?) +Value CONTEXTNAME ([\s\S]+?) +Value STORAGE_TYPE (\S+) +Value READVIEW ([\s\S]+?) +Value WRITEVIEW ([\s\S]+?) +Value NOTIFYVIEW ([\s\S]+?) +Value ROW_STATUS ([\s\S]+?) +Value ACCESS_LIST (\S+) + +Start + ^\s*groupname:\s*\S+\s+security\s+model:\s*[\s\S]+\s*$$ -> Continue.Record + ^\s*groupname:\s*${GROUPNAME}\s+security\s+model:\s*${SECURITY_MODEL}\s*$$ + ^\s*contextname:\s+${CONTEXTNAME}\s+storage-type:\s+${STORAGE_TYPE}\s*$$ + ^\s*readview\s*:\s+${READVIEW}\s+writeview:\s+${WRITEVIEW}\s*$$ + ^\s*notifyview:\s+${NOTIFYVIEW}\s*$$ + ^\s*row\s+status:\s+${ROW_STATUS}(?:\s+access-list:\s+${ACCESS_LIST})*\s*$$ + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index f3c243f9d6..eb13becccf 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -259,6 +259,7 @@ cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] +cisco_ios_show_snmp_group.textfsm, .*, cisco_ios, sh[[ow]] snm[[p]] g[[roup]] cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] diff --git a/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.raw b/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.raw new file mode 100644 index 0000000000..28eaf92fd6 --- /dev/null +++ b/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.raw @@ -0,0 +1,41 @@ +groupname: GROUP1 security model:v3 priv +contextname: storage-type: nonvolatile +readview : g1readview writeview: +notifyview: g1notifyview +row status: active access-list: snmp-acl-name + +groupname: ILMI security model:v1 +contextname: storage-type: permanent +readview : *ilmi writeview: *ilmi +notifyview: +row status: active + +groupname: ILMI security model:v2c +contextname: storage-type: permanent +readview : *ilmi writeview: *ilmi +notifyview: +row status: active + +groupname: GROUP2 security model:v1 +contextname: storage-type: nonvolatile +readview : v1default writeview: +notifyview: +row status: active access-list: snmp-acl-name + +groupname: GROUP2 security model:v2c +contextname: storage-type: nonvolatile +readview : v1default writeview: +notifyview: +row status: active access-list: snmp-acl-name + +groupname: GROUP3 security model:v1 +contextname: storage-type: nonvolatile +readview : v1default writeview: +notifyview: +row status: active access-list: snmp-acl-name + +groupname: GROUP3 security model:v2c +contextname: storage-type: nonvolatile +readview : v1default writeview: +notifyview: +row status: active access-list: snmp-acl-name \ No newline at end of file diff --git a/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.yml b/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.yml new file mode 100644 index 0000000000..fc237dd4b4 --- /dev/null +++ b/tests/cisco_ios/show_snmp_group/cisco_ios_show_snmp_group.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - groupname: "GROUP1" + security_model: "v3 priv" + contextname: "" + storage_type: "nonvolatile" + readview: "g1readview" + writeview: "" + notifyview: "g1notifyview" + row_status: "active" + access_list: "snmp-acl-name" + - groupname: "ILMI" + security_model: "v1" + contextname: "" + storage_type: "permanent" + readview: "*ilmi" + writeview: "*ilmi" + notifyview: "" + row_status: "active" + access_list: "" + - groupname: "ILMI" + security_model: "v2c" + contextname: "" + storage_type: "permanent" + readview: "*ilmi" + writeview: "*ilmi" + notifyview: "" + row_status: "active" + access_list: "" + - groupname: "GROUP2" + security_model: "v1" + contextname: "" + storage_type: "nonvolatile" + readview: "v1default" + writeview: "" + notifyview: "" + row_status: "active" + access_list: "snmp-acl-name" + - groupname: "GROUP2" + security_model: "v2c" + contextname: "" + storage_type: "nonvolatile" + readview: "v1default" + writeview: "" + notifyview: "" + row_status: "active" + access_list: "snmp-acl-name" + - groupname: "GROUP3" + security_model: "v1" + contextname: "" + storage_type: "nonvolatile" + readview: "v1default" + writeview: "" + notifyview: "" + row_status: "active" + access_list: "snmp-acl-name" + - groupname: "GROUP3" + security_model: "v2c" + contextname: "" + storage_type: "nonvolatile" + readview: "v1default" + writeview: "" + notifyview: "" + row_status: "active" + access_list: "snmp-acl-name" From d735956a084467d3cf48411cf8d680d14437decc Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Mon, 22 Aug 2022 15:38:56 -0500 Subject: [PATCH 289/412] v3.1.0 release prep (#1185) --- CHANGELOG.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++--- pyproject.toml | 2 +- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8af4d215e4..b9b7a4c447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,63 @@ # Changelog -## [unreleased] +## [3.1.0] ### What's Changed -* New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 -* New template: cisco_ios_show_snmp_group.textfsm by @nsnelson402 +* New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 in https://github.com/networktocode/ntc-templates/pull/1181 +* New template: cisco_ios_show_snmp_group.textfsm by @nsnelson402 in https://github.com/networktocode/ntc-templates/pull/1183 +* New templates & updates: Updated support for Arista EOS devices by @ReK42 in https://github.com/networktocode/ntc-templates/pull/1174 +* New template: cisco_xr_show_ipv4_interface.textfsm by @dainok in https://github.com/networktocode/ntc-templates/pull/1162 +* New templates: Add multiple zyxel templates by @elavaud in https://github.com/networktocode/ntc-templates/pull/1142 +* Bug fix: Change huawei_vrf shortest command by @Elinpf in https://github.com/networktocode/ntc-templates/pull/1141 +* Bug fix: Path separator error on windows by @Elinpf in https://github.com/networktocode/ntc-templates/pull/1139 +* New templates: Adding multiple mikrotik routeros templates by @elavaud in https://github.com/networktocode/ntc-templates/pull/1136 +* New template: aruba_os_show_ap_database_long.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1134 +* New template: aruba_os_show_ap_radio-database.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1133 +* Bug fix: EOS 4.28.XF updated output of codes in `show ip route` by @networkop in https://github.com/networktocode/ntc-templates/pull/1127 +* New template: juniper_junos_show_vlans.textfsm by @showipintbri in https://github.com/networktocode/ntc-templates/pull/1125 +* Bug fix: cisco_ios show ip bgp neighbors advertised-routes output where metric is wider than 6 chars by @viktorkertesz in https://github.com/networktocode/ntc-templates/pull/1124 +* Bug fix: cisco_ios show ip bgp output where metric is wider than 6 chars by @viktorkertesz in https://github.com/networktocode/ntc-templates/pull/1123 +* Bug fix: cisco_nxos_show_int_breief do not match mgmt and vlan by @diepes in https://github.com/networktocode/ntc-templates/pull/1119 +* Bug fix: cisco_ios_show_module updated output for c9200 @diepes in https://github.com/networktocode/ntc-templates/pull/1117 +* Changed: add vlan_id to cisco_ios_show_interfaces by @dainok in https://github.com/networktocode/ntc-templates/pull/1115 +* Bug fix: fix not advertised vlan in cisco_nxos_show_lldp_neighbors_detail by @dainok in https://github.com/networktocode/ntc-templates/pull/1114 +* Added: Additional fields for cisco_ios_show_ip_access-lists.textfsm by @mjuenema in https://github.com/networktocode/ntc-templates/pull/1113 +* Bug fix: Multiple line parsing using lists with textfsm extracting wrong details by @diepes in https://github.com/networktocode/ntc-templates/pull/1112 +* Bug fix: Cisco IOS show boot missing parameter by @diepes in https://github.com/networktocode/ntc-templates/pull/1111 +* New template: arista_eos_show_processes_top_once.textfsm by @pauljorgenson in https://github.com/networktocode/ntc-templates/pull/1110 +* Bug fix: Adding a record without the vlan field for very old HP Procurve switches by @dainok in https://github.com/networktocode/ntc-templates/pull/1108 +* New template: cisco_xr_show_install_active.textfsm by @verbosemode in https://github.com/networktocode/ntc-templates/pull/1105 +* Changed: Clarifies docs about length order by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1099 +* New template: ubiquiti_edgerouter_show_dhcp_leases.textfsm by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1097 +* Bug fix: hanges the CRLF to LF to pass tests by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1096 +* Changed: Additional fields for cisco_nxos_show_ip_route.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1093 +* Changed: Additional fields for cisco_nxos_show_ip_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1092 +* Changed: Additional fields for cisco_ios_show_standby.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1091 +* Changed: Additional fields for cisco_ios_show_module_status.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1090 +* Changed: Additional fields for cisco_ios_show_ip_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1089 +* Changed: Additional fields for cisco_ios_show_interfaces_switchport.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1088 +* Changed: Additional fields for cisco_ios_show_etherchannel_summary.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1087 +* Changed: Additional fields for cisco_ios_show_lldp_neighbors_detail.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1086 +* Changed: Additional fields for cisco_asa_show_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1084 +* Bug fix: show platform diag does not return the rommon version of the line cards by @network-shark in https://github.com/networktocode/ntc-templates/pull/1081 +* New template: zyxel_os_cfg_nat_get.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1073 +* New template: zyxel_os_cfg_ipalias_get.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1068 +* New template: ubiquiti_edgerouter_show_version.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1065 +* New template: ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1064 +* New template: ubiquiti_edgerouter_show_arp.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1062 +* Bug fix: aruba_os_show_ap_database model parsing error by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1055 +* Bug fix: cisco_nxos_show_ip_interface parsing error by @diepes in https://github.com/networktocode/ntc-templates/pull/1046 +* Bug fix: Update choices for Protocol to include 'notpresent' option on arista_eos_show_interfaces_description by @scetron in https://github.com/networktocode/ntc-templates/pull/1044 +* New template: aruba_os_show_ap_database.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1042 +* Bug fix: cisco_nxos_show_cdp_neighbors_detail update for supporting multiple versions by @Niltak in https://github.com/networktocode/ntc-templates/pull/1039 +* Changed: Updated show boot template to include new formatting for Cisco IOS Gibraltar output by @shanecbauman in https://github.com/networktocode/ntc-templates/pull/1038 +* Bug fix: cisco_nxos_show_ip_bgp.textfsm not parsing correctly by @diepes in https://github.com/networktocode/ntc-templates/pull/1033 +* Added: FTD output example from Cisco support site by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1032 +* New template: cisco_ios_show_ip_nat_translations.textfsm by @ksaegusa in https://github.com/networktocode/ntc-templates/pull/1028 +* Bug fix: cisco_ios_show_interfaces_status.textfsm State Error by @ZamElek in https://github.com/networktocode/ntc-templates/pull/1023 +* Bug fix: IOS show mac address Type3 and Type4. Additional test files by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/1019 +* New template: cisco_asa_show_cpu_usage_detailed.textfsm by @yone2ks in https://github.com/networktocode/ntc-templates/pull/1014 +* Bug fix: cisco_ios_show_ip_eigrp_topology not parsing correctly by @diepes in https://github.com/networktocode/ntc-templates/pull/1013 ## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) diff --git a/pyproject.toml b/pyproject.toml index b63a0c6bfc..ce63652e55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "3.0.0" +version = "3.1.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 8e95b75c3029258c0d171feaec699956a3b19840 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:00:00 -0500 Subject: [PATCH 290/412] Bump pyyaml from 5.3.1 to 5.4 (#1186) Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) --- updated-dependencies: - dependency-name: pyyaml dependency-type: indirect ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- poetry.lock | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2814529484..340b23e73d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -257,11 +257,11 @@ testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xm [[package]] name = "pyyaml" -version = "5.3.1" +version = "5.4" description = "YAML parser and emitter for Python" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" [[package]] name = "regex" @@ -509,17 +509,27 @@ pytest = [ {file = "pytest-6.2.1.tar.gz", hash = "sha256:66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306"}, ] pyyaml = [ - {file = "PyYAML-5.3.1-cp27-cp27m-win32.whl", hash = "sha256:74809a57b329d6cc0fdccee6318f44b9b8649961fa73144a98735b0aaf029f1f"}, - {file = "PyYAML-5.3.1-cp27-cp27m-win_amd64.whl", hash = "sha256:240097ff019d7c70a4922b6869d8a86407758333f02203e0fc6ff79c5dcede76"}, - {file = "PyYAML-5.3.1-cp35-cp35m-win32.whl", hash = "sha256:4f4b913ca1a7319b33cfb1369e91e50354d6f07a135f3b901aca02aa95940bd2"}, - {file = "PyYAML-5.3.1-cp35-cp35m-win_amd64.whl", hash = "sha256:cc8955cfbfc7a115fa81d85284ee61147059a753344bc51098f3ccd69b0d7e0c"}, - {file = "PyYAML-5.3.1-cp36-cp36m-win32.whl", hash = "sha256:7739fc0fa8205b3ee8808aea45e968bc90082c10aef6ea95e855e10abf4a37b2"}, - {file = "PyYAML-5.3.1-cp36-cp36m-win_amd64.whl", hash = "sha256:69f00dca373f240f842b2931fb2c7e14ddbacd1397d57157a9b005a6a9942648"}, - {file = "PyYAML-5.3.1-cp37-cp37m-win32.whl", hash = "sha256:d13155f591e6fcc1ec3b30685d50bf0711574e2c0dfffd7644babf8b5102ca1a"}, - {file = "PyYAML-5.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:73f099454b799e05e5ab51423c7bcf361c58d3206fa7b0d555426b1f4d9a3eaf"}, - {file = "PyYAML-5.3.1-cp38-cp38-win32.whl", hash = "sha256:06a0d7ba600ce0b2d2fe2e78453a470b5a6e000a985dd4a4e54e436cc36b0e97"}, - {file = "PyYAML-5.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:95f71d2af0ff4227885f7a6605c37fd53d3a106fcab511b8860ecca9fcf400ee"}, - {file = "PyYAML-5.3.1.tar.gz", hash = "sha256:b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"}, + {file = "PyYAML-5.4-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:f7a21e3d99aa3095ef0553e7ceba36fb693998fbb1226f1392ce33681047465f"}, + {file = "PyYAML-5.4-cp27-cp27m-win32.whl", hash = "sha256:52bf0930903818e600ae6c2901f748bc4869c0c406056f679ab9614e5d21a166"}, + {file = "PyYAML-5.4-cp27-cp27m-win_amd64.whl", hash = "sha256:a36a48a51e5471513a5aea920cdad84cbd56d70a5057cca3499a637496ea379c"}, + {file = "PyYAML-5.4-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:5e7ac4e0e79a53451dc2814f6876c2fa6f71452de1498bbe29c0b54b69a986f4"}, + {file = "PyYAML-5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:cc552b6434b90d9dbed6a4f13339625dc466fd82597119897e9489c953acbc22"}, + {file = "PyYAML-5.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0dc9f2eb2e3c97640928dec63fd8dc1dd91e6b6ed236bd5ac00332b99b5c2ff9"}, + {file = "PyYAML-5.4-cp36-cp36m-win32.whl", hash = "sha256:5a3f345acff76cad4aa9cb171ee76c590f37394186325d53d1aa25318b0d4a09"}, + {file = "PyYAML-5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:f3790156c606299ff499ec44db422f66f05a7363b39eb9d5b064f17bd7d7c47b"}, + {file = "PyYAML-5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:124fd7c7bc1e95b1eafc60825f2daf67c73ce7b33f1194731240d24b0d1bf628"}, + {file = "PyYAML-5.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8b818b6c5a920cbe4203b5a6b14256f0e5244338244560da89b7b0f1313ea4b6"}, + {file = "PyYAML-5.4-cp37-cp37m-win32.whl", hash = "sha256:737bd70e454a284d456aa1fa71a0b429dd527bcbf52c5c33f7c8eee81ac16b89"}, + {file = "PyYAML-5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:7242790ab6c20316b8e7bb545be48d7ed36e26bbe279fd56f2c4a12510e60b4b"}, + {file = "PyYAML-5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cc547d3ead3754712223abb7b403f0a184e4c3eae18c9bb7fd15adef1597cc4b"}, + {file = "PyYAML-5.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:8635d53223b1f561b081ff4adecb828fd484b8efffe542edcfdff471997f7c39"}, + {file = "PyYAML-5.4-cp38-cp38-win32.whl", hash = "sha256:26fcb33776857f4072601502d93e1a619f166c9c00befb52826e7b774efaa9db"}, + {file = "PyYAML-5.4-cp38-cp38-win_amd64.whl", hash = "sha256:b2243dd033fd02c01212ad5c601dafb44fbb293065f430b0d3dbf03f3254d615"}, + {file = "PyYAML-5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:31ba07c54ef4a897758563e3a0fcc60077698df10180abe4b8165d9895c00ebf"}, + {file = "PyYAML-5.4-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:02c78d77281d8f8d07a255e57abdbf43b02257f59f50cc6b636937d68efa5dd0"}, + {file = "PyYAML-5.4-cp39-cp39-win32.whl", hash = "sha256:fdc6b2cb4b19e431994f25a9160695cc59a4e861710cc6fc97161c5e845fc579"}, + {file = "PyYAML-5.4-cp39-cp39-win_amd64.whl", hash = "sha256:8bf38641b4713d77da19e91f8b5296b832e4db87338d6aeffe422d42f1ca896d"}, + {file = "PyYAML-5.4.tar.gz", hash = "sha256:3c49e39ac034fd64fd576d63bb4db53cda89b362768a67f07749d55f128ac18a"}, ] regex = [ {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"}, From 9dd54ef23caea3cd5f8087489f32cf9f10947929 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Tue, 6 Sep 2022 08:34:06 -0500 Subject: [PATCH 291/412] Cisco ios show crypto pki certificates (#1187) * Added new template and tests. * Fixed changelog Co-authored-by: Nicholas Nelson - 10105570 --- .gitignore | 2 + CHANGELOG.md | 5 ++ ...o_ios_show_crypto_pki_certificates.textfsm | 77 +++++++++++++++++ ntc_templates/templates/index | 1 + ...cisco_ios_show_crypto_pki_certificates.raw | 79 ++++++++++++++++++ ...cisco_ios_show_crypto_pki_certificates.yml | 83 +++++++++++++++++++ 6 files changed, 247 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_crypto_pki_certificates.textfsm create mode 100644 tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.raw create mode 100644 tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.yml diff --git a/.gitignore b/.gitignore index 90a00c6c84..483bee49d6 100644 --- a/.gitignore +++ b/.gitignore @@ -190,3 +190,5 @@ create_ntc-templates_parsed.py # Ignore vscode config .vscode/ + +.nfs* diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b7a4c447..333eef507e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [Unreleased] + +### What's Changed +* New template: cisco_ios_show_crypto_pki_certificates.textfsm by @nsnelson402 + ## [3.1.0] ### What's Changed diff --git a/ntc_templates/templates/cisco_ios_show_crypto_pki_certificates.textfsm b/ntc_templates/templates/cisco_ios_show_crypto_pki_certificates.textfsm new file mode 100644 index 0000000000..8d395049da --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_crypto_pki_certificates.textfsm @@ -0,0 +1,77 @@ +Value Required CERTIFICATE_TYPE ([CA]*\s*Certificate) +Value STATUS ([\s\S]+?) +Value SERIAL_NUMBER (\S+) +Value CERTIFICATE_USAGE ([\s\S]+?) +Value ISSUER_E (\S+) +Value ISSUER_CN (\S+) +Value ISSUER_OU (\S+) +Value ISSUER_O (\S+) +Value ISSUER_L (\S+) +Value ISSUER_ST (\S+) +Value ISSUER_C (\S+) +Value SUBJECT_E (\S+) +Value SUBJECT_CN (\S+) +Value SUBJECT_OU (\S+) +Value SUBJECT_O (\S+) +Value SUBJECT_L (\S+) +Value SUBJECT_ST (\S+) +Value SUBJECT_C (\S+) +Value SUBJECT_NAME (\S+) +Value SUBJECT_SERIAL_NUMBER (\S+) +Value SUBJECT_HOSTNAME (\S+) +Value CRL_DISTRIBUTION_POINT (\S+) +Value START_DATE ([\s\S]+?) +Value END_DATE ([\s\S]+?) +Value RENEW_DATE ([\s\S]+?) +Value ASSOCIATED_TRUSTPOINTS (\S+) +Value STORAGE (\S+) + +Start + ^\s*[CA]*\s*Certificate\s*$$ -> Continue.Record + ^\s*${CERTIFICATE_TYPE}\s*$$ + ^\s*Status:\s*${STATUS}\s*$$ + ^\s*Certificate\s*Serial\s*Number\s*\(hex\):\s*${SERIAL_NUMBER}\s*$$ + ^\s*Certificate\s*Usage:\s*${CERTIFICATE_USAGE}\s*$$ + ^\s*Issuer:\s*$$ -> Issuer + ^\s*start\s*date:\s*${START_DATE}\s*$$ + ^\s*end\s*date:\s*${END_DATE}\s*$$ + ^\s*renew\s*date:\s*${RENEW_DATE}\s*$$ + ^\s*Associated\s*Trustpoints:\s*${ASSOCIATED_TRUSTPOINTS}\s*$$ + ^\s*Storage:\s*${STORAGE}\s*$$ + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error + +Issuer + ^\s*e=${ISSUER_E}\s*$$ + ^\s*cn=${ISSUER_CN}\s*$$ + ^\s*ou=${ISSUER_OU}\s*$$ + ^\s*o=${ISSUER_O}\s*$$ + ^\s*l=${ISSUER_L}\s*$$ + ^\s*st=${ISSUER_ST}\s*$$ + ^\s*c=${ISSUER_C}\s*$$ + ^\s*Subject:\s*$$ -> Subject + ^. -> Error + +Subject + ^\s*e=${SUBJECT_E}\s*$$ + ^\s*cn=${SUBJECT_CN}\s*$$ + ^\s*ou=${SUBJECT_OU}\s*$$ + ^\s*o=${SUBJECT_O}\s*$$ + ^\s*l=${SUBJECT_L}\s*$$ + ^\s*st=${SUBJECT_ST}\s*$$ + ^\s*c=${SUBJECT_C}\s*$$ + ^\s*Name:\s*${SUBJECT_NAME}\s*$$ + ^\s*Serial\s*Number:\s*${SUBJECT_SERIAL_NUMBER}\s*$$ + ^\s*serialNumber=\S+\s*$$ + ^\s*hostname=${SUBJECT_HOSTNAME}\s*$$ + ^\s*CRL Distribution Points:\s*$$ -> CRLDistPoints + ^\s*Validity\s*Date:\s*$$ -> Start + ^. -> Error + +CRLDistPoints + ^\s*${CRL_DISTRIBUTION_POINT}\s*$$ + ^\s*Validity\s*Date:\s*$$ -> Start + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index eb13becccf..b71699f095 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -203,6 +203,7 @@ cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bg cisco_ios_show_ip_eigrp_interfaces_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] i[[nterfaces]] de[[tail]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] +cisco_ios_show_crypto_pki_certificates.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] p[[ki]] ce[[rtificates]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] cisco_ios_show_ip_ospf_database_router.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] r[[outer]] cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] diff --git a/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.raw b/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.raw new file mode 100644 index 0000000000..5801983e6c --- /dev/null +++ b/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.raw @@ -0,0 +1,79 @@ +Certificate + Status: Available + Certificate Serial Number (hex): 1234567890ABCDEFGHIJK + Certificate Usage: General Purpose + Issuer: + e=email.address@domain.com + cn=CommonName + ou=OrganizationalUnit + o=Organization + l=Locality + st=StateOrProvinceName + c=CountryName + Subject: + Name: ROUTERNAME.domain.com + Serial Number: 1234ABCD + hostname=ROUTERNAME.domain.com + serialNumber=1234ABCD + CRL Distribution Points: + http://cdp.domain.com/crl/issuing-ca.crl + Validity Date: + start date: 09:17:52 UTC Jun 22 2022 + end date: 09:17:52 UTC Jun 22 2023 + renew date: 09:19:52 UTC Apr 10 2023 + Associated Trustpoints: caserver.domain.com + Storage: nvram:certfile.cer + +CA Certificate + Status: Available + Certificate Serial Number (hex): ABCDEFGHIJK1234567890 + Certificate Usage: Signature + Issuer: + e=email.address@domain.com + cn=CommonName + ou=OrganizationalUnit + o=Organization + l=Locality + st=StateOrProvinceName + c=CountryName + Subject: + e=email.address@domain.com + cn=CommonName + ou=OrganizationalUnit + o=Organization + l=Locality + st=StateOrProvinceName + c=CountryName + CRL Distribution Points: + http://cdp.domain.com/crl/issuing-ca.crl + Validity Date: + start date: 00:00:00 UTC Nov 9 2018 + end date: 00:00:00 UTC Nov 9 2028 + Associated Trustpoints: caserver.domain.com + Storage: nvram:certfile.cer + +CA Certificate + Status: Available + Certificate Serial Number (hex): 12345ABCDEFGHIJK67890 + Certificate Usage: Signature + Issuer: + e=email.address@domain.com + cn=CommonName + ou=OrganizationalUnit + o=Organization + l=Locality + st=StateOrProvinceName + c=CountryName + Subject: + e=email.address@domain.com + cn=CommonName + ou=OrganizationalUnit + o=Organization + l=Locality + st=StateOrProvinceName + c=CountryName + Validity Date: + start date: 00:00:00 UTC Nov 5 2018 + end date: 00:00:00 UTC Nov 5 2038 + Associated Trustpoints: ROOT-CA + Storage: nvram:certfile.cer diff --git a/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.yml b/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.yml new file mode 100644 index 0000000000..39fe251a23 --- /dev/null +++ b/tests/cisco_ios/show_crypto_pki_certificates/cisco_ios_show_crypto_pki_certificates.yml @@ -0,0 +1,83 @@ +--- +parsed_sample: + - certificate_type: "Certificate" + status: "Available" + serial_number: "1234567890ABCDEFGHIJK" + certificate_usage: "General Purpose" + issuer_e: "email.address@domain.com" + issuer_cn: "CommonName" + issuer_ou: "OrganizationalUnit" + issuer_o: "Organization" + issuer_l: "Locality" + issuer_st: "StateOrProvinceName" + issuer_c: "CountryName" + subject_e: "" + subject_cn: "" + subject_ou: "" + subject_o: "" + subject_l: "" + subject_st: "" + subject_c: "" + subject_name: "ROUTERNAME.domain.com" + subject_serial_number: "1234ABCD" + subject_hostname: "ROUTERNAME.domain.com" + crl_distribution_point: "http://cdp.domain.com/crl/issuing-ca.crl" + start_date: "09:17:52 UTC Jun 22 2022" + end_date: "09:17:52 UTC Jun 22 2023" + renew_date: "09:19:52 UTC Apr 10 2023" + associated_trustpoints: "caserver.domain.com" + storage: "nvram:certfile.cer" + - certificate_type: "CA Certificate" + status: "Available" + serial_number: "ABCDEFGHIJK1234567890" + certificate_usage: "Signature" + issuer_e: "email.address@domain.com" + issuer_cn: "CommonName" + issuer_ou: "OrganizationalUnit" + issuer_o: "Organization" + issuer_l: "Locality" + issuer_st: "StateOrProvinceName" + issuer_c: "CountryName" + subject_e: "email.address@domain.com" + subject_cn: "CommonName" + subject_ou: "OrganizationalUnit" + subject_o: "Organization" + subject_l: "Locality" + subject_st: "StateOrProvinceName" + subject_c: "CountryName" + subject_name: "" + subject_serial_number: "" + subject_hostname: "" + crl_distribution_point: "http://cdp.domain.com/crl/issuing-ca.crl" + start_date: "00:00:00 UTC Nov 9 2018" + end_date: "00:00:00 UTC Nov 9 2028" + renew_date: "" + associated_trustpoints: "caserver.domain.com" + storage: "nvram:certfile.cer" + - certificate_type: "CA Certificate" + status: "Available" + serial_number: "12345ABCDEFGHIJK67890" + certificate_usage: "Signature" + issuer_e: "email.address@domain.com" + issuer_cn: "CommonName" + issuer_ou: "OrganizationalUnit" + issuer_o: "Organization" + issuer_l: "Locality" + issuer_st: "StateOrProvinceName" + issuer_c: "CountryName" + subject_e: "email.address@domain.com" + subject_cn: "CommonName" + subject_ou: "OrganizationalUnit" + subject_o: "Organization" + subject_l: "Locality" + subject_st: "StateOrProvinceName" + subject_c: "CountryName" + subject_name: "" + subject_serial_number: "" + subject_hostname: "" + crl_distribution_point: "" + start_date: "00:00:00 UTC Nov 5 2018" + end_date: "00:00:00 UTC Nov 5 2038" + renew_date: "" + associated_trustpoints: "ROOT-CA" + storage: "nvram:certfile.cer" From 5523fb9ddd3c0baee04858a6fc7ad2bd90988bda Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Wed, 14 Sep 2022 08:58:55 -0500 Subject: [PATCH 292/412] Migrates CI from Travis to GitHub Actions (#1192) * Migrates CI from Travis to GitHub Actions * Removes python 3.6 from testing matrix --- .github/workflows/ci.yml | 122 ++++++++++ .travis.yml | 68 ------ poetry.lock | 511 ++++++++++++--------------------------- pyproject.toml | 12 +- 4 files changed, 280 insertions(+), 433 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..a251fb92d3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,122 @@ +--- +name: "CI" +concurrency: # Cancel any existing runs of this workflow for this same PR + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true +on: # yamllint disable-line rule:truthy rule:comments + push: + branches: + - "master" + tags: + - "v*" + pull_request: ~ + +jobs: + black: + runs-on: "ubuntu-20.04" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Linting: black" + run: "poetry run black ./ --diff --check" + flake8: + runs-on: "ubuntu-20.04" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Linting: flake8" + run: "poetry run flake8 ./" + needs: + - "black" + yamllint: + runs-on: "ubuntu-20.04" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Linting: yamllint" + run: "poetry run yamllint ./" + needs: + - "black" + tests: + strategy: + fail-fast: true + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + runs-on: "ubuntu-20.04" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Set up Python" + uses: "actions/setup-python@v2" + with: + python-version: "${{ matrix.python-version }}" + - name: "Install Poetry" + run: "pip install poetry==1.1.15" + - name: "Install Python Packages" + run: "poetry install" + - name: "Running tests" + run: "poetry run pytest -v" + needs: + - "flake8" + - "yamllint" + publish_gh: + name: "Publish to GitHub" + runs-on: "ubuntu-20.04" + if: "startsWith(github.ref, 'refs/tags/v')" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Set up Python" + uses: "actions/setup-python@v2" + with: + python-version: "3.9" + - name: "Install Python Packages" + run: "pip install poetry" + - name: "Set env" + run: "echo RELEASE_VERSION=${GITHUB_REF:10} >> $GITHUB_ENV" + - name: "Run Poetry Version" + run: "poetry version $RELEASE_VERSION" + - name: "Run Poetry Build" + run: "poetry build" + - name: "Upload binaries to release" + uses: "svenstaro/upload-release-action@v2" + with: + repo_token: "${{ '{{ secrets.NTC_GITHUB_TOKEN }}' }}" + file: "dist/*" + tag: "${{ '{{ github.ref }}' }}" + overwrite: true + file_glob: true + needs: + - "tests" + publish_pypi: + name: "Push Package to PyPI" + runs-on: "ubuntu-20.04" + if: "startsWith(github.ref, 'refs/tags/v')" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Set up Python" + uses: "actions/setup-python@v2" + with: + python-version: "3.9" + - name: "Install Python Packages" + run: "pip install poetry" + - name: "Set env" + run: "echo RELEASE_VERSION=${GITHUB_REF:10} >> $GITHUB_ENV" + - name: "Run Poetry Version" + run: "poetry version $RELEASE_VERSION" + - name: "Run Poetry Build" + run: "poetry build" + - name: "Push to PyPI" + uses: "pypa/gh-action-pypi-publish@release/v1" + with: + user: "__token__" + password: "${{ '{{ secrets.PYPI_API_TOKEN }}' }}" + needs: + - "tests" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index aa186e4a2f..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ ---- -stages: - - name: "lint" - - name: "test" - - name: "deploy-github" - if: "tag IS present" - - name: "deploy-pypi" - if: "tag IS present" - -language: "python" -dist: "xenial" -os: "linux" - -python: - - "3.6" - - "3.7" - - "3.8" - -# -------------------------------------------------------------------------- -# Tests -# -------------------------------------------------------------------------- -before_script: - - "pip install --upgrade pip" - - "pip install poetry" - - "poetry install" -script: - - "poetry run tox -e py36,py37,py38" - - -jobs: - include: - - stage: "lint" - before_script: - - "pip install --upgrade pip" - - "pip install poetry" - - "poetry install" - script: - - "poetry run tox -e black" - - "poetry run tox -e flake8" - - "poetry run tox -e yamllint" - - stage: "deploy-github" - before_script: - - "pip install --upgrade pip" - - "pip install poetry" - script: - - "poetry version $TRAVIS_TAG" - - "poetry build" - deploy: - provider: "releases" - api_key: "$GITHUB_AUTH_TOKEN" - file_glob: true - file: "dist/*" - skip_cleanup: true - "on": - all_branches: true - - stage: "deploy-pypi" - before_script: - - "pip install --upgrade pip" - - "pip install poetry" - script: - - "echo Deploying the release to PyPI" - - "poetry version $TRAVIS_TAG" - deploy: - provider: "script" - skip_cleanup: true - script: "poetry publish --build -u __token__ -p $PYPI_TOKEN" - "on": - all_branches: true diff --git a/poetry.lock b/poetry.lock index 340b23e73d..5661e245c1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,14 +1,6 @@ -[[package]] -name = "appdirs" -version = "1.4.4" -description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "dev" -optional = false -python-versions = "*" - [[package]] name = "atomicwrites" -version = "1.4.0" +version = "1.4.1" description = "Atomic file writes." category = "dev" optional = false @@ -16,52 +8,57 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] name = "attrs" -version = "20.3.0" +version = "22.1.0" description = "Classes Without Boilerplate" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=3.5" [package.extras] -dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "furo", "sphinx", "pre-commit"] -docs = ["furo", "sphinx", "zope.interface"] -tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"] -tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six"] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] +docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "cloudpickle"] [[package]] name = "black" -version = "20.8b1" +version = "22.8.0" description = "The uncompromising code formatter." category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.6.2" [package.dependencies] -appdirs = "*" -click = ">=7.1.2" +click = ">=8.0.0" dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} mypy-extensions = ">=0.4.3" -pathspec = ">=0.6,<1" -regex = ">=2020.1.8" -toml = ">=0.10.1" -typed-ast = ">=1.4.0" -typing-extensions = ">=3.7.4" +pathspec = ">=0.9.0" +platformdirs = ">=2" +tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} +typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""} +typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] +d = ["aiohttp (>=3.7.4)"] +jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] +uvloop = ["uvloop (>=0.15.2)"] [[package]] name = "click" -version = "7.1.2" +version = "8.0.4" description = "Composable command line interface toolkit" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.6" + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [[package]] name = "colorama" -version = "0.4.4" +version = "0.4.5" description = "Cross-platform colored terminal text." category = "dev" optional = false @@ -77,7 +74,7 @@ python-versions = ">=3.6, <3.7" [[package]] name = "distlib" -version = "0.3.1" +version = "0.3.6" description = "Distribution utilities" category = "dev" optional = false @@ -85,25 +82,29 @@ python-versions = "*" [[package]] name = "filelock" -version = "3.0.12" +version = "3.4.1" description = "A platform independent file lock." category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" + +[package.extras] +docs = ["furo (>=2021.8.17b43)", "sphinx (>=4.1)", "sphinx-autodoc-typehints (>=1.12)"] +testing = ["covdefaults (>=1.2.0)", "coverage (>=4)", "pytest (>=4)", "pytest-cov", "pytest-timeout (>=1.4.2)"] [[package]] name = "flake8" -version = "3.8.4" +version = "4.0.1" description = "the modular source code checker: pep8 pyflakes and co" category = "dev" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +python-versions = ">=3.6" [package.dependencies] -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} +importlib-metadata = {version = "<4.3", markers = "python_version < \"3.8\""} mccabe = ">=0.6.0,<0.7.0" -pycodestyle = ">=2.6.0a1,<2.7.0" -pyflakes = ">=2.2.0,<2.3.0" +pycodestyle = ">=2.8.0,<2.9.0" +pyflakes = ">=2.4.0,<2.5.0" [[package]] name = "future" @@ -115,7 +116,7 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" [[package]] name = "importlib-metadata" -version = "3.4.0" +version = "4.2.0" description = "Read metadata from Python packages" category = "dev" optional = false @@ -127,22 +128,22 @@ zipp = ">=0.5" [package.extras] docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] +testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] [[package]] name = "importlib-resources" -version = "5.0.0" +version = "5.4.0" description = "Read resources from Python packages" category = "dev" optional = false python-versions = ">=3.6" [package.dependencies] -zipp = {version = ">=0.4", markers = "python_version < \"3.8\""} +zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} [package.extras] docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-black (>=0.3.7)", "pytest-mypy"] [[package]] name = "iniconfig" @@ -170,56 +171,69 @@ python-versions = "*" [[package]] name = "packaging" -version = "20.8" +version = "21.3" description = "Core utilities for Python packages" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=3.6" [package.dependencies] -pyparsing = ">=2.0.2" +pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" [[package]] name = "pathspec" -version = "0.8.1" +version = "0.9.0" description = "Utility library for gitignore style pattern matching of file paths." category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" + +[[package]] +name = "platformdirs" +version = "2.4.0" +description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +test = ["pytest-mock (>=3.6)", "pytest-cov (>=2.7)", "pytest (>=6)", "appdirs (==1.4.4)"] +docs = ["sphinx-autodoc-typehints (>=1.12)", "proselint (>=0.10.2)", "furo (>=2021.7.5b38)", "Sphinx (>=4)"] [[package]] name = "pluggy" -version = "0.13.1" +version = "1.0.0" description = "plugin and hook calling mechanisms for python" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=3.6" [package.dependencies] importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} [package.extras] -dev = ["pre-commit", "tox"] +testing = ["pytest-benchmark", "pytest"] +dev = ["tox", "pre-commit"] [[package]] name = "py" -version = "1.10.0" +version = "1.11.0" description = "library with cross-python path, ini-parsing, io, code, log facilities" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pycodestyle" -version = "2.6.0" +version = "2.8.0" description = "Python style guide checker" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pyflakes" -version = "2.2.0" +version = "2.4.0" description = "passive checker of Python programs" category = "dev" optional = false @@ -227,15 +241,18 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] name = "pyparsing" -version = "2.4.7" +version = "3.0.7" description = "Python parsing module" category = "dev" optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +python-versions = ">=3.6" + +[package.extras] +diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "6.2.1" +version = "7.0.1" description = "pytest: simple powerful testing with Python" category = "dev" optional = false @@ -248,39 +265,31 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" -pluggy = ">=0.12,<1.0.0a1" +pluggy = ">=0.12,<2.0" py = ">=1.8.2" -toml = "*" +tomli = ">=1.0.0" [package.extras] -testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] [[package]] name = "pyyaml" -version = "5.4" +version = "6.0" description = "YAML parser and emitter for Python" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" - -[[package]] -name = "regex" -version = "2020.11.13" -description = "Alternative regular expression module, to replace re." -category = "dev" -optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "ruamel.yaml" -version = "0.16.12" +version = "0.17.21" description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3" [package.dependencies] -"ruamel.yaml.clib" = {version = ">=0.1.2", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.9\""} +"ruamel.yaml.clib" = {version = ">=0.2.6", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.11\""} [package.extras] docs = ["ryd"] @@ -288,15 +297,15 @@ jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] [[package]] name = "ruamel.yaml.clib" -version = "0.2.2" +version = "0.2.6" description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.5" [[package]] name = "six" -version = "1.15.0" +version = "1.16.0" description = "Python 2 and 3 compatibility utilities" category = "main" optional = false @@ -304,7 +313,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" [[package]] name = "textfsm" -version = "1.1.0" +version = "1.1.3" description = "Python module for parsing semi-structured text into python tables." category = "main" optional = false @@ -322,9 +331,17 @@ category = "dev" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +category = "dev" +optional = false +python-versions = ">=3.7" + [[package]] name = "tox" -version = "3.21.0" +version = "3.26.0" description = "tox is a generic virtualenv management and test command line tool" category = "dev" optional = false @@ -338,56 +355,56 @@ packaging = ">=14" pluggy = ">=0.12.0" py = ">=1.4.17" six = ">=1.14.0" -toml = ">=0.9.4" +toml = {version = ">=0.10.2", markers = "python_version <= \"3.6\""} +tomli = {version = ">=2.0.1", markers = "python_version >= \"3.7\" and python_version < \"3.11\""} virtualenv = ">=16.0.0,<20.0.0 || >20.0.0,<20.0.1 || >20.0.1,<20.0.2 || >20.0.2,<20.0.3 || >20.0.3,<20.0.4 || >20.0.4,<20.0.5 || >20.0.5,<20.0.6 || >20.0.6,<20.0.7 || >20.0.7" [package.extras] docs = ["pygments-github-lexers (>=0.0.5)", "sphinx (>=2.0.0)", "sphinxcontrib-autoprogram (>=0.1.5)", "towncrier (>=18.5.0)"] -testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "psutil (>=5.6.1)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "pytest-xdist (>=1.22.2)", "pathlib2 (>=2.3.3)"] +testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "psutil (>=5.6.1)", "pathlib2 (>=2.3.3)"] [[package]] name = "typed-ast" -version = "1.4.2" +version = "1.5.4" description = "a fork of Python 2 and 3 ast modules with type comment support" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "typing-extensions" -version = "3.7.4.3" -description = "Backported and Experimental Type Hints for Python 3.5+" +version = "4.1.1" +description = "Backported and Experimental Type Hints for Python 3.6+" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "virtualenv" -version = "20.3.0" +version = "20.16.2" description = "Virtual Python Environment builder" category = "dev" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +python-versions = ">=3.6" [package.dependencies] -appdirs = ">=1.4.3,<2" distlib = ">=0.3.1,<1" -filelock = ">=3.0.0,<4" +filelock = ">=3.2,<4" importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} importlib-resources = {version = ">=1.0", markers = "python_version < \"3.7\""} -six = ">=1.9.0,<2" +platformdirs = ">=2,<3" [package.extras] -docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)"] -testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "packaging (>=20.0)", "xonsh (>=0.9.16)"] +docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=21.3)"] +testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "packaging (>=20.0)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)"] [[package]] name = "yamllint" -version = "1.25.0" +version = "1.27.1" description = "A linter for YAML files." category = "dev" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +python-versions = ">=3.6" [package.dependencies] pathspec = ">=0.5.3" @@ -395,15 +412,15 @@ pyyaml = "*" [[package]] name = "zipp" -version = "3.4.0" +version = "3.6.0" description = "Backport of pathlib-compatible object wrapper for zip files" category = "dev" optional = false python-versions = ">=3.6" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] [extras] test = [] @@ -411,267 +428,43 @@ test = [] [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "ba6a05698364044243a20fafd93aa22ea3069eb66c0335dd4b46f0a5f0cc0221" +content-hash = "1002a89d89b86fdd85f8c2ada5e62074c0f00b8b6196a15fbc68f91dd9a5e204" [metadata.files] -appdirs = [ - {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, - {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, -] -atomicwrites = [ - {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, - {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, -] -attrs = [ - {file = "attrs-20.3.0-py2.py3-none-any.whl", hash = "sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6"}, - {file = "attrs-20.3.0.tar.gz", hash = "sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700"}, -] -black = [ - {file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"}, -] -click = [ - {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"}, - {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"}, -] -colorama = [ - {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, -] -dataclasses = [ - {file = "dataclasses-0.8-py3-none-any.whl", hash = "sha256:0201d89fa866f68c8ebd9d08ee6ff50c0b255f8ec63a71c16fda7af82bb887bf"}, - {file = "dataclasses-0.8.tar.gz", hash = "sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97"}, -] -distlib = [ - {file = "distlib-0.3.1-py2.py3-none-any.whl", hash = "sha256:8c09de2c67b3e7deef7184574fc060ab8a793e7adbb183d942c389c8b13c52fb"}, - {file = "distlib-0.3.1.zip", hash = "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1"}, -] -filelock = [ - {file = "filelock-3.0.12-py3-none-any.whl", hash = "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836"}, - {file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"}, -] -flake8 = [ - {file = "flake8-3.8.4-py2.py3-none-any.whl", hash = "sha256:749dbbd6bfd0cf1318af27bf97a14e28e5ff548ef8e5b1566ccfb25a11e7c839"}, - {file = "flake8-3.8.4.tar.gz", hash = "sha256:aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b"}, -] -future = [ - {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, -] -importlib-metadata = [ - {file = "importlib_metadata-3.4.0-py3-none-any.whl", hash = "sha256:ace61d5fc652dc280e7b6b4ff732a9c2d40db2c0f92bc6cb74e07b73d53a1771"}, - {file = "importlib_metadata-3.4.0.tar.gz", hash = "sha256:fa5daa4477a7414ae34e95942e4dd07f62adf589143c875c133c1e53c4eff38d"}, -] -importlib-resources = [ - {file = "importlib_resources-5.0.0-py3-none-any.whl", hash = "sha256:ea17df80a0ff04b5dbd3d96dbeab1842acfd1c6c902eaeb8c8858abf2720161e"}, - {file = "importlib_resources-5.0.0.tar.gz", hash = "sha256:4743f090ed8946e713745ec0e660249ef9fb0b9843eacc5b5ff931d2fd5aa67f"}, -] -iniconfig = [ - {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, - {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, -] -mccabe = [ - {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, - {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, -] -mypy-extensions = [ - {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, - {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, -] -packaging = [ - {file = "packaging-20.8-py2.py3-none-any.whl", hash = "sha256:24e0da08660a87484d1602c30bb4902d74816b6985b93de36926f5bc95741858"}, - {file = "packaging-20.8.tar.gz", hash = "sha256:78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093"}, -] -pathspec = [ - {file = "pathspec-0.8.1-py2.py3-none-any.whl", hash = "sha256:aa0cb481c4041bf52ffa7b0d8fa6cd3e88a2ca4879c533c9153882ee2556790d"}, - {file = "pathspec-0.8.1.tar.gz", hash = "sha256:86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd"}, -] -pluggy = [ - {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, - {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, -] -py = [ - {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, - {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, -] -pycodestyle = [ - {file = "pycodestyle-2.6.0-py2.py3-none-any.whl", hash = "sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367"}, - {file = "pycodestyle-2.6.0.tar.gz", hash = "sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e"}, -] -pyflakes = [ - {file = "pyflakes-2.2.0-py2.py3-none-any.whl", hash = "sha256:0d94e0e05a19e57a99444b6ddcf9a6eb2e5c68d3ca1e98e90707af8152c90a92"}, - {file = "pyflakes-2.2.0.tar.gz", hash = "sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8"}, -] -pyparsing = [ - {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, - {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, -] -pytest = [ - {file = "pytest-6.2.1-py3-none-any.whl", hash = "sha256:1969f797a1a0dbd8ccf0fecc80262312729afea9c17f1d70ebf85c5e76c6f7c8"}, - {file = "pytest-6.2.1.tar.gz", hash = "sha256:66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306"}, -] -pyyaml = [ - {file = "PyYAML-5.4-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:f7a21e3d99aa3095ef0553e7ceba36fb693998fbb1226f1392ce33681047465f"}, - {file = "PyYAML-5.4-cp27-cp27m-win32.whl", hash = "sha256:52bf0930903818e600ae6c2901f748bc4869c0c406056f679ab9614e5d21a166"}, - {file = "PyYAML-5.4-cp27-cp27m-win_amd64.whl", hash = "sha256:a36a48a51e5471513a5aea920cdad84cbd56d70a5057cca3499a637496ea379c"}, - {file = "PyYAML-5.4-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:5e7ac4e0e79a53451dc2814f6876c2fa6f71452de1498bbe29c0b54b69a986f4"}, - {file = "PyYAML-5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:cc552b6434b90d9dbed6a4f13339625dc466fd82597119897e9489c953acbc22"}, - {file = "PyYAML-5.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0dc9f2eb2e3c97640928dec63fd8dc1dd91e6b6ed236bd5ac00332b99b5c2ff9"}, - {file = "PyYAML-5.4-cp36-cp36m-win32.whl", hash = "sha256:5a3f345acff76cad4aa9cb171ee76c590f37394186325d53d1aa25318b0d4a09"}, - {file = "PyYAML-5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:f3790156c606299ff499ec44db422f66f05a7363b39eb9d5b064f17bd7d7c47b"}, - {file = "PyYAML-5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:124fd7c7bc1e95b1eafc60825f2daf67c73ce7b33f1194731240d24b0d1bf628"}, - {file = "PyYAML-5.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8b818b6c5a920cbe4203b5a6b14256f0e5244338244560da89b7b0f1313ea4b6"}, - {file = "PyYAML-5.4-cp37-cp37m-win32.whl", hash = "sha256:737bd70e454a284d456aa1fa71a0b429dd527bcbf52c5c33f7c8eee81ac16b89"}, - {file = "PyYAML-5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:7242790ab6c20316b8e7bb545be48d7ed36e26bbe279fd56f2c4a12510e60b4b"}, - {file = "PyYAML-5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cc547d3ead3754712223abb7b403f0a184e4c3eae18c9bb7fd15adef1597cc4b"}, - {file = "PyYAML-5.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:8635d53223b1f561b081ff4adecb828fd484b8efffe542edcfdff471997f7c39"}, - {file = "PyYAML-5.4-cp38-cp38-win32.whl", hash = "sha256:26fcb33776857f4072601502d93e1a619f166c9c00befb52826e7b774efaa9db"}, - {file = "PyYAML-5.4-cp38-cp38-win_amd64.whl", hash = "sha256:b2243dd033fd02c01212ad5c601dafb44fbb293065f430b0d3dbf03f3254d615"}, - {file = "PyYAML-5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:31ba07c54ef4a897758563e3a0fcc60077698df10180abe4b8165d9895c00ebf"}, - {file = "PyYAML-5.4-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:02c78d77281d8f8d07a255e57abdbf43b02257f59f50cc6b636937d68efa5dd0"}, - {file = "PyYAML-5.4-cp39-cp39-win32.whl", hash = "sha256:fdc6b2cb4b19e431994f25a9160695cc59a4e861710cc6fc97161c5e845fc579"}, - {file = "PyYAML-5.4-cp39-cp39-win_amd64.whl", hash = "sha256:8bf38641b4713d77da19e91f8b5296b832e4db87338d6aeffe422d42f1ca896d"}, - {file = "PyYAML-5.4.tar.gz", hash = "sha256:3c49e39ac034fd64fd576d63bb4db53cda89b362768a67f07749d55f128ac18a"}, -] -regex = [ - {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a63f1a07932c9686d2d416fb295ec2c01ab246e89b4d58e5fa468089cab44b70"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:6e4b08c6f8daca7d8f07c8d24e4331ae7953333dbd09c648ed6ebd24db5a10ee"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:bba349276b126947b014e50ab3316c027cac1495992f10e5682dc677b3dfa0c5"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:56e01daca75eae420bce184edd8bb341c8eebb19dd3bce7266332258f9fb9dd7"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:6a8ce43923c518c24a2579fda49f093f1397dad5d18346211e46f134fc624e31"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab79fcb02b930de09c76d024d279686ec5d532eb814fd0ed1e0051eb8bd2daa"}, - {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:9801c4c1d9ae6a70aeb2128e5b4b68c45d4f0af0d1535500884d644fa9b768c6"}, - {file = "regex-2020.11.13-cp36-cp36m-win32.whl", hash = "sha256:49cae022fa13f09be91b2c880e58e14b6da5d10639ed45ca69b85faf039f7a4e"}, - {file = "regex-2020.11.13-cp36-cp36m-win_amd64.whl", hash = "sha256:749078d1eb89484db5f34b4012092ad14b327944ee7f1c4f74d6279a6e4d1884"}, - {file = "regex-2020.11.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b2f4007bff007c96a173e24dcda236e5e83bde4358a557f9ccf5e014439eae4b"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:38c8fd190db64f513fe4e1baa59fed086ae71fa45083b6936b52d34df8f86a88"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5862975b45d451b6db51c2e654990c1820523a5b07100fc6903e9c86575202a0"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:262c6825b309e6485ec2493ffc7e62a13cf13fb2a8b6d212f72bd53ad34118f1"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:bafb01b4688833e099d79e7efd23f99172f501a15c44f21ea2118681473fdba0"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:e32f5f3d1b1c663af7f9c4c1e72e6ffe9a78c03a31e149259f531e0fed826512"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3bddc701bdd1efa0d5264d2649588cbfda549b2899dc8d50417e47a82e1387ba"}, - {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538"}, - {file = "regex-2020.11.13-cp37-cp37m-win32.whl", hash = "sha256:0d08e71e70c0237883d0bef12cad5145b84c3705e9c6a588b2a9c7080e5af2a4"}, - {file = "regex-2020.11.13-cp37-cp37m-win_amd64.whl", hash = "sha256:1fa7ee9c2a0e30405e21031d07d7ba8617bc590d391adfc2b7f1e8b99f46f444"}, - {file = "regex-2020.11.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:baf378ba6151f6e272824b86a774326f692bc2ef4cc5ce8d5bc76e38c813a55f"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e3faaf10a0d1e8e23a9b51d1900b72e1635c2d5b0e1bea1c18022486a8e2e52d"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2a11a3e90bd9901d70a5b31d7dd85114755a581a5da3fc996abfefa48aee78af"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d1ebb090a426db66dd80df8ca85adc4abfcbad8a7c2e9a5ec7513ede522e0a8f"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:b2b1a5ddae3677d89b686e5c625fc5547c6e492bd755b520de5332773a8af06b"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2c99e97d388cd0a8d30f7c514d67887d8021541b875baf09791a3baad48bb4f8"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:c084582d4215593f2f1d28b65d2a2f3aceff8342aa85afd7be23a9cad74a0de5"}, - {file = "regex-2020.11.13-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:a3d748383762e56337c39ab35c6ed4deb88df5326f97a38946ddd19028ecce6b"}, - {file = "regex-2020.11.13-cp38-cp38-win32.whl", hash = "sha256:7913bd25f4ab274ba37bc97ad0e21c31004224ccb02765ad984eef43e04acc6c"}, - {file = "regex-2020.11.13-cp38-cp38-win_amd64.whl", hash = "sha256:6c54ce4b5d61a7129bad5c5dc279e222afd00e721bf92f9ef09e4fae28755683"}, - {file = "regex-2020.11.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1862a9d9194fae76a7aaf0150d5f2a8ec1da89e8b55890b1786b8f88a0f619dc"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux1_i686.whl", hash = "sha256:4902e6aa086cbb224241adbc2f06235927d5cdacffb2425c73e6570e8d862364"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7a25fcbeae08f96a754b45bdc050e1fb94b95cab046bf56b016c25e9ab127b3e"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:d2d8ce12b7c12c87e41123997ebaf1a5767a5be3ec545f64675388970f415e2e"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:f7d29a6fc4760300f86ae329e3b6ca28ea9c20823df123a2ea8693e967b29917"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:717881211f46de3ab130b58ec0908267961fadc06e44f974466d1887f865bd5b"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:3128e30d83f2e70b0bed9b2a34e92707d0877e460b402faca908c6667092ada9"}, - {file = "regex-2020.11.13-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:8f6a2229e8ad946e36815f2a03386bb8353d4bde368fdf8ca5f0cb97264d3b5c"}, - {file = "regex-2020.11.13-cp39-cp39-win32.whl", hash = "sha256:f8f295db00ef5f8bae530fc39af0b40486ca6068733fb860b42115052206466f"}, - {file = "regex-2020.11.13-cp39-cp39-win_amd64.whl", hash = "sha256:a15f64ae3a027b64496a71ab1f722355e570c3fac5ba2801cafce846bf5af01d"}, - {file = "regex-2020.11.13.tar.gz", hash = "sha256:83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562"}, -] -"ruamel.yaml" = [ - {file = "ruamel.yaml-0.16.12-py2.py3-none-any.whl", hash = "sha256:012b9470a0ea06e4e44e99e7920277edf6b46eee0232a04487ea73a7386340a5"}, - {file = "ruamel.yaml-0.16.12.tar.gz", hash = "sha256:076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e"}, -] -"ruamel.yaml.clib" = [ - {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:28116f204103cb3a108dfd37668f20abe6e3cafd0d3fd40dba126c732457b3cc"}, - {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:daf21aa33ee9b351f66deed30a3d450ab55c14242cfdfcd377798e2c0d25c9f1"}, - {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win32.whl", hash = "sha256:30dca9bbcbb1cc858717438218d11eafb78666759e5094dd767468c0d577a7e7"}, - {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win_amd64.whl", hash = "sha256:f6061a31880c1ed6b6ce341215336e2f3d0c1deccd84957b6fa8ca474b41e89f"}, - {file = "ruamel.yaml.clib-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:73b3d43e04cc4b228fa6fa5d796409ece6fcb53a6c270eb2048109cbcbc3b9c2"}, - {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:53b9dd1abd70e257a6e32f934ebc482dac5edb8c93e23deb663eac724c30b026"}, - {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:839dd72545ef7ba78fd2aa1a5dd07b33696adf3e68fae7f31327161c1093001b"}, - {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:1236df55e0f73cd138c0eca074ee086136c3f16a97c2ac719032c050f7e0622f"}, - {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win32.whl", hash = "sha256:b1e981fe1aff1fd11627f531524826a4dcc1f26c726235a52fcb62ded27d150f"}, - {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win_amd64.whl", hash = "sha256:4e52c96ca66de04be42ea2278012a2342d89f5e82b4512fb6fb7134e377e2e62"}, - {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a873e4d4954f865dcb60bdc4914af7eaae48fb56b60ed6daa1d6251c72f5337c"}, - {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ab845f1f51f7eb750a78937be9f79baea4a42c7960f5a94dde34e69f3cce1988"}, - {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:2fd336a5c6415c82e2deb40d08c222087febe0aebe520f4d21910629018ab0f3"}, - {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win32.whl", hash = "sha256:e9f7d1d8c26a6a12c23421061f9022bb62704e38211fe375c645485f38df34a2"}, - {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win_amd64.whl", hash = "sha256:2602e91bd5c1b874d6f93d3086f9830f3e907c543c7672cf293a97c3fabdcd91"}, - {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:44c7b0498c39f27795224438f1a6be6c5352f82cb887bc33d962c3a3acc00df6"}, - {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8e8fd0a22c9d92af3a34f91e8a2594eeb35cba90ab643c5e0e643567dc8be43e"}, - {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:75f0ee6839532e52a3a53f80ce64925ed4aed697dd3fa890c4c918f3304bd4f4"}, - {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win32.whl", hash = "sha256:464e66a04e740d754170be5e740657a3b3b6d2bcc567f0c3437879a6e6087ff6"}, - {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win_amd64.whl", hash = "sha256:52ae5739e4b5d6317b52f5b040b1b6639e8af68a5b8fd606a8b08658fbd0cab5"}, - {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4df5019e7783d14b79217ad9c56edf1ba7485d614ad5a385d1b3c768635c81c0"}, - {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5254af7d8bdf4d5484c089f929cb7f5bafa59b4f01d4f48adda4be41e6d29f99"}, - {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:8be05be57dc5c7b4a0b24edcaa2f7275866d9c907725226cdde46da09367d923"}, - {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win32.whl", hash = "sha256:74161d827407f4db9072011adcfb825b5258a5ccb3d2cd518dd6c9edea9e30f1"}, - {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win_amd64.whl", hash = "sha256:058a1cc3df2a8aecc12f983a48bda99315cebf55a3b3a5463e37bb599b05727b"}, - {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c6ac7e45367b1317e56f1461719c853fd6825226f45b835df7436bb04031fd8a"}, - {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:b4b0d31f2052b3f9f9b5327024dc629a253a83d8649d4734ca7f35b60ec3e9e5"}, - {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:1f8c0a4577c0e6c99d208de5c4d3fd8aceed9574bb154d7a2b21c16bb924154c"}, - {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win32.whl", hash = "sha256:46d6d20815064e8bb023ea8628cfb7402c0f0e83de2c2227a88097e239a7dffd"}, - {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win_amd64.whl", hash = "sha256:6c0a5dc52fc74eb87c67374a4e554d4761fd42a4d01390b7e868b30d21f4b8bb"}, - {file = "ruamel.yaml.clib-0.2.2.tar.gz", hash = "sha256:2d24bd98af676f4990c4d715bcdc2a60b19c56a3fb3a763164d2d8ca0e806ba7"}, -] -six = [ - {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, - {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, -] -textfsm = [ - {file = "textfsm-1.1.0-py2.py3-none-any.whl", hash = "sha256:0aef3f9cad3d03905915fd62bff358c42b7dc35c863ff2cb0b5324c2b746cc24"}, -] -toml = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] -tox = [ - {file = "tox-3.21.0-py2.py3-none-any.whl", hash = "sha256:5efda30ad73e662c3844ac51ce1381bf28f61063773e06996aa8b6277133a7c0"}, - {file = "tox-3.21.0.tar.gz", hash = "sha256:8cccede64802e78aa6c69f81051b25f0706639d1cbbb34d9366ce00c70ee054f"}, -] -typed-ast = [ - {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:7703620125e4fb79b64aa52427ec192822e9f45d37d4b6625ab37ef403e1df70"}, - {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:c9aadc4924d4b5799112837b226160428524a9a45f830e0d0f184b19e4090487"}, - {file = "typed_ast-1.4.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:9ec45db0c766f196ae629e509f059ff05fc3148f9ffd28f3cfe75d4afb485412"}, - {file = "typed_ast-1.4.2-cp35-cp35m-win32.whl", hash = "sha256:85f95aa97a35bdb2f2f7d10ec5bbdac0aeb9dafdaf88e17492da0504de2e6400"}, - {file = "typed_ast-1.4.2-cp35-cp35m-win_amd64.whl", hash = "sha256:9044ef2df88d7f33692ae3f18d3be63dec69c4fb1b5a4a9ac950f9b4ba571606"}, - {file = "typed_ast-1.4.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c1c876fd795b36126f773db9cbb393f19808edd2637e00fd6caba0e25f2c7b64"}, - {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5dcfc2e264bd8a1db8b11a892bd1647154ce03eeba94b461effe68790d8b8e07"}, - {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:8db0e856712f79c45956da0c9a40ca4246abc3485ae0d7ecc86a20f5e4c09abc"}, - {file = "typed_ast-1.4.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:d003156bb6a59cda9050e983441b7fa2487f7800d76bdc065566b7d728b4581a"}, - {file = "typed_ast-1.4.2-cp36-cp36m-win32.whl", hash = "sha256:4c790331247081ea7c632a76d5b2a265e6d325ecd3179d06e9cf8d46d90dd151"}, - {file = "typed_ast-1.4.2-cp36-cp36m-win_amd64.whl", hash = "sha256:d175297e9533d8d37437abc14e8a83cbc68af93cc9c1c59c2c292ec59a0697a3"}, - {file = "typed_ast-1.4.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf54cfa843f297991b7388c281cb3855d911137223c6b6d2dd82a47ae5125a41"}, - {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:b4fcdcfa302538f70929eb7b392f536a237cbe2ed9cba88e3bf5027b39f5f77f"}, - {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:987f15737aba2ab5f3928c617ccf1ce412e2e321c77ab16ca5a293e7bbffd581"}, - {file = "typed_ast-1.4.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:37f48d46d733d57cc70fd5f30572d11ab8ed92da6e6b28e024e4a3edfb456e37"}, - {file = "typed_ast-1.4.2-cp37-cp37m-win32.whl", hash = "sha256:36d829b31ab67d6fcb30e185ec996e1f72b892255a745d3a82138c97d21ed1cd"}, - {file = "typed_ast-1.4.2-cp37-cp37m-win_amd64.whl", hash = "sha256:8368f83e93c7156ccd40e49a783a6a6850ca25b556c0fa0240ed0f659d2fe496"}, - {file = "typed_ast-1.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:963c80b583b0661918718b095e02303d8078950b26cc00b5e5ea9ababe0de1fc"}, - {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e683e409e5c45d5c9082dc1daf13f6374300806240719f95dc783d1fc942af10"}, - {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:84aa6223d71012c68d577c83f4e7db50d11d6b1399a9c779046d75e24bed74ea"}, - {file = "typed_ast-1.4.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:a38878a223bdd37c9709d07cd357bb79f4c760b29210e14ad0fb395294583787"}, - {file = "typed_ast-1.4.2-cp38-cp38-win32.whl", hash = "sha256:a2c927c49f2029291fbabd673d51a2180038f8cd5a5b2f290f78c4516be48be2"}, - {file = "typed_ast-1.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:c0c74e5579af4b977c8b932f40a5464764b2f86681327410aa028a22d2f54937"}, - {file = "typed_ast-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:07d49388d5bf7e863f7fa2f124b1b1d89d8aa0e2f7812faff0a5658c01c59aa1"}, - {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:240296b27397e4e37874abb1df2a608a92df85cf3e2a04d0d4d61055c8305ba6"}, - {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:d746a437cdbca200622385305aedd9aef68e8a645e385cc483bdc5e488f07166"}, - {file = "typed_ast-1.4.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:14bf1522cdee369e8f5581238edac09150c765ec1cb33615855889cf33dcb92d"}, - {file = "typed_ast-1.4.2-cp39-cp39-win32.whl", hash = "sha256:cc7b98bf58167b7f2db91a4327da24fb93368838eb84a44c472283778fc2446b"}, - {file = "typed_ast-1.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:7147e2a76c75f0f64c4319886e7639e490fee87c9d25cb1d4faef1d8cf83a440"}, - {file = "typed_ast-1.4.2.tar.gz", hash = "sha256:9fc0b3cb5d1720e7141d103cf4819aea239f7d136acf9ee4a69b047b7986175a"}, -] -typing-extensions = [ - {file = "typing_extensions-3.7.4.3-py2-none-any.whl", hash = "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"}, - {file = "typing_extensions-3.7.4.3-py3-none-any.whl", hash = "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918"}, - {file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"}, -] -virtualenv = [ - {file = "virtualenv-20.3.0-py2.py3-none-any.whl", hash = "sha256:205a7577275dd0d9223c730dd498e21a8910600085c3dee97412b041fc4b853b"}, - {file = "virtualenv-20.3.0.tar.gz", hash = "sha256:7992b8de87e544a4ab55afc2240bf8388c4e3b5765d03784dad384bfdf9097ee"}, -] -yamllint = [ - {file = "yamllint-1.25.0-py2.py3-none-any.whl", hash = "sha256:c7be4d0d2584a1b561498fa9acb77ad22eb434a109725c7781373ae496d823b3"}, - {file = "yamllint-1.25.0.tar.gz", hash = "sha256:b1549cbe5b47b6ba67bdeea31720f5c51431a4d0c076c1557952d841f7223519"}, -] -zipp = [ - {file = "zipp-3.4.0-py3-none-any.whl", hash = "sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108"}, - {file = "zipp-3.4.0.tar.gz", hash = "sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"}, -] +atomicwrites = [] +attrs = [] +black = [] +click = [] +colorama = [] +dataclasses = [] +distlib = [] +filelock = [] +flake8 = [] +future = [] +importlib-metadata = [] +importlib-resources = [] +iniconfig = [] +mccabe = [] +mypy-extensions = [] +packaging = [] +pathspec = [] +platformdirs = [] +pluggy = [] +py = [] +pycodestyle = [] +pyflakes = [] +pyparsing = [] +pytest = [] +pyyaml = [] +"ruamel.yaml" = [] +"ruamel.yaml.clib" = [] +six = [] +textfsm = [] +toml = [] +tomli = [] +tox = [] +typed-ast = [] +typing-extensions = [] +virtualenv = [] +yamllint = [] +zipp = [] diff --git a/pyproject.toml b/pyproject.toml index ce63652e55..3a03e85392 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,12 +16,12 @@ python = "^3.6" textfsm = "^1.1.0" [tool.poetry.dev-dependencies] -tox = "^3.21.0" -yamllint = "^1.25.0" -black = "^20.8b1" -pytest = "^6.2.1" -"ruamel.yaml" = "^0.16.12" -flake8 = "^3.8.4" +tox = "*" +yamllint = "*" +black = {version="*", python=">3.6.2"} +pytest = "*" +"ruamel.yaml" = "*" +flake8 = "*" [tool.poetry.extras] test = ["pytest"] From 18224f0c8ddf499a50cc8b3bbb2ea8c47308ad55 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Mon, 26 Sep 2022 14:34:08 -0500 Subject: [PATCH 293/412] Cisco ios show crypto ipsec sa detail (#1191) * Added new template and tests for show crypto ipsec sa detail --- CHANGELOG.md | 4 +- ...co_ios_show_crypto_ipsec_sa_detail.textfsm | 119 +++++ ntc_templates/templates/index | 3 +- .../cisco_ios_show_crypto_ipsec_sa_detail.raw | 111 +++++ .../cisco_ios_show_crypto_ipsec_sa_detail.yml | 286 ++++++++++++ ...isco_ios_show_crypto_ipsec_sa_detail_2.raw | 127 ++++++ ...isco_ios_show_crypto_ipsec_sa_detail_2.yml | 428 ++++++++++++++++++ 7 files changed, 1076 insertions(+), 2 deletions(-) create mode 100644 ntc_templates/templates/cisco_ios_show_crypto_ipsec_sa_detail.textfsm create mode 100644 tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.raw create mode 100644 tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.yml create mode 100644 tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.raw create mode 100644 tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 333eef507e..1516d64511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ # Changelog -## [Unreleased] + +## [unreleased] ### What's Changed +* New template: cisco_ios_show_crypto_ipsec_sa_detail.textfsm by @nsnelson402 * New template: cisco_ios_show_crypto_pki_certificates.textfsm by @nsnelson402 ## [3.1.0] diff --git a/ntc_templates/templates/cisco_ios_show_crypto_ipsec_sa_detail.textfsm b/ntc_templates/templates/cisco_ios_show_crypto_ipsec_sa_detail.textfsm new file mode 100644 index 0000000000..d8d5e53fa3 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_crypto_ipsec_sa_detail.textfsm @@ -0,0 +1,119 @@ +Value Filldown INTERFACE (\S+) +Value Filldown CRYPTO_MAP_TAG ([\S-]+) +Value Filldown LOCAL_ADDR (\S+) +Value Filldown PROTECTED_VRF (\S+) +Value Filldown LOCAL_IDENT_ADDR (\S+) +Value Filldown LOCAL_IDENT_MASK (\S+) +Value Filldown LOCAL_IDENT_PROT (\d+) +Value Filldown LOCAL_IDENT_PORT (\d+) +Value Filldown REMOTE_IDENT_ADDR (\S+) +Value Filldown REMOTE_IDENT_MASK (\S+) +Value Filldown REMOTE_IDENT_PROT (\d+) +Value Filldown REMOTE_IDENT_PORT (\d+) +Value Filldown CURRENT_PEER (\S+) +Value Filldown PORT (\d+) +Value Filldown ACTION (\S+) +Value Filldown FLAGS ([\S\s]*) +Value Filldown PKTS_ENCAPS (\d+) +Value Filldown PKTS_ENCRYPT (\d+) +Value Filldown PKTS_DIGEST (\d+) +Value Filldown PKTS_DECAPS (\d+) +Value Filldown PKTS_DECRYPT (\d+) +Value Filldown PKTS_VERIFY (\d+) +Value Filldown PKTS_COMPRESSED (\d+) +Value Filldown PKTS_DECOMPRESSED (\d+) +Value Filldown PKTS_NOT_COMPRESSED (\d+) +Value Filldown PKTS_NOT_DECOMPRESSED (\d+) +Value Filldown PKTS_COMPRESS_FAILED (\d+) +Value Filldown PKTS_DECOMPRESS_FAILED (\d+) +Value Filldown PKTS_NO_SA (\d+) +Value Filldown PKTS_INVALID_SA (\d+) +Value Filldown PKTS_ENCAPS_FAILED (\d+) +Value Filldown PKTS_DECAPS_FAILED (\d+) +Value Filldown PKTS_INVALID_PROT (\d+) +Value Filldown PKTS_VERIFY_FAILED (\d+) +Value Filldown PKTS_INVALID_IDENTITY (\d+) +Value Filldown PKTS_INVALID_LEN (\d+) +Value Filldown PKTS_REPLAY_ROLLOVER_SEND (\d+) +Value Filldown PKTS_REPLAY_ROLLOVER_RECV (\d+) +Value Filldown PKTS_REPLAY_FAILED (\d+) +Value Filldown PKTS_TAGGED (\d+) +Value Filldown PKTS_UNTAGGED (\d+) +Value Filldown PKTS_NOT_TAGGED (\d+) +Value Filldown PKTS_NOT_UNTAGGED (\d+) +Value Filldown PKTS_INTERNAL_ERR_SEND (\d+) +Value Filldown PKTS_INTERNAL_ERR_RECV (\d+) +Value Filldown LOCAL_CRYPTO_ENDPT (\S+) +Value Filldown REMOTE_CRYPTO_ENDPT (\S+) +Value Filldown PLAINTEXT_MTU (\d+) +Value Filldown PATH_MTU (\d+) +Value Filldown IP_MTU (\d+) +Value Filldown IP_MTU_IDB (\S+) +Value Filldown CURRENT_OUTBOUND_SPI_HEX (\S+) +Value Filldown CURRENT_OUTBOUND_SPI_DEC (\d+) +Value Filldown PFS (\S+) +Value Filldown DH_GROUP (\S+) +Value Filldown SA_ORIENTATION (\S+) +Value Filldown SA_TYPE (\S+) +Value Required SA_SPI_HEX (\S+) +Value Required SA_SPI_DEC (\d+) +Value SA_TRANSFORM ([\S\s]+) +Value SA_IN_USE_SETTINGS ([\S\s]+?) +Value SA_CONN_ID (\d+) +Value SA_FLOW_ID ([\S\s]+) +Value SA_SIBLING_FLAGS (\d+) +Value SA_CRYPTO_MAP (\S+) +Value SA_LIFETIME_KBYTES (\d+) +Value SA_LIFETIME_SEC (\d+) +Value SA_IV_SIZE (\d+) +Value SA_REPLAY_DETECTION_SUPPORT (\S+) +Value SA_REPLAY_WINDOW_SIZE (\d+) +Value SA_STATUS (\S+) + +Start + #^\s*interface:\s+\S+\s*$$ -> Continue.Record + ^\s*interface:\s+${INTERFACE}\s*$$ + ^\s*Crypto\s+map\s+tag:\s+${CRYPTO_MAP_TAG},\s+local\s+addr\s+${LOCAL_ADDR}\s*$$ + ^\s*protected\s+vrf:\s+${PROTECTED_VRF}\s*$$ + ^\s*local\s+ident\s+\(addr/mask/prot/port\):\s+\(${LOCAL_IDENT_ADDR}/${LOCAL_IDENT_MASK}/${LOCAL_IDENT_PROT}/${LOCAL_IDENT_PORT}\)\s*$$ + ^\s*remote\s+ident\s+\(addr/mask/prot/port\):\s+\(${REMOTE_IDENT_ADDR}/${REMOTE_IDENT_MASK}/${REMOTE_IDENT_PROT}/${REMOTE_IDENT_PORT}\)\s*$$ + ^\s*current_peer\s+${CURRENT_PEER}\s+port\s+${PORT}\s*$$ + ^\s*${ACTION},\s+flags={${FLAGS}}\s*$$ + ^\s*#pkts\s+encaps:\s+${PKTS_ENCAPS},\s+#pkts\s+encrypt:\s+${PKTS_ENCRYPT},\s+#pkts\s+digest:\s+${PKTS_DIGEST}\s*$$ + ^\s*#pkts\s+decaps:\s+${PKTS_DECAPS},\s+#pkts\s+decrypt:\s+${PKTS_DECRYPT},\s+#pkts\s+verify:\s+${PKTS_VERIFY}\s*$$ + ^\s*#pkts\s+compressed:\s+${PKTS_COMPRESSED},\s+#pkts\s+decompressed:\s+${PKTS_DECOMPRESSED}\s*$$ + ^\s*#pkts\s+not\s+compressed:\s+${PKTS_NOT_COMPRESSED},\s+#pkts\s+compr.\s+failed:\s+${PKTS_COMPRESS_FAILED}\s*$$ + ^\s*#pkts\s+not\s+decompressed:\s+${PKTS_NOT_DECOMPRESSED},\s+#pkts\s+decompress\s+failed:\s+${PKTS_DECOMPRESS_FAILED}\s*$$ + ^\s*#pkts\s+no\s+sa\s+\(send\)\s+${PKTS_NO_SA},\s+#pkts\s+invalid\s+sa\s\(rcv\)\s+${PKTS_INVALID_SA}\s*$$ + ^\s*#pkts\sencaps\s+failed\s\(send\)\s+${PKTS_ENCAPS_FAILED},\s+#pkts\s+decaps\s+failed\s+\(rcv\)\s+${PKTS_DECAPS_FAILED}\s*$$ + ^\s*#pkts\s+invalid\s+prot\s+\(recv\)\s+${PKTS_INVALID_PROT},\s+#pkts\s+verify\s+failed:\s+${PKTS_VERIFY_FAILED}\s*$$ + ^\s*#pkts\s+invalid\s+identity\s+\(recv\)\s+${PKTS_INVALID_IDENTITY},\s+#pkts\s+invalid\s+len\s+\(rcv\)\s+${PKTS_INVALID_LEN}\s*$$ + ^\s*#pkts\s+replay\s+rollover\s\(send\):\s+${PKTS_REPLAY_ROLLOVER_SEND},\s+#pkts\s+replay\s+rollover\s+\(rcv\)\s+${PKTS_REPLAY_ROLLOVER_RECV}\s*$$ + ^\s*##pkts\s+replay\s+failed\s+\(rcv\):\s+${PKTS_REPLAY_FAILED}\s*$$ + ^\s*#pkts\s+tagged\s+\(send\):\s+${PKTS_TAGGED},\s+#pkts\s+untagged\s\(rcv\):\s+${PKTS_UNTAGGED}\s*$$ + ^\s*#pkts\s+not\s+tagged\s\(send\):\s+${PKTS_NOT_TAGGED},\s+#pkts\s+not\s+untagged\s+\(rcv\):\s+${PKTS_NOT_UNTAGGED}\s*$$ + ^\s*#pkts\s+internal\s+err\s+\(send\):\s+${PKTS_INTERNAL_ERR_SEND},\s+#pkts\s+internal\s+err\s+\(recv\)\s+${PKTS_INTERNAL_ERR_RECV}\s*$$ + ^\s*local\s+crypto\s+endpt.:\s+${LOCAL_CRYPTO_ENDPT},\s+remote\s+crypto\s+endpt.:\s+${REMOTE_CRYPTO_ENDPT}\s*$$ + ^\s*plaintext\s+mtu\s+${PLAINTEXT_MTU},\s+path\s+mtu\s+${PATH_MTU},\s+ip\s+mtu\s+${IP_MTU},\s+ip\s+mtu\s+idb\s+${IP_MTU_IDB}\s*$$ + ^\s*current\s+outbound\s+spi:\s+${CURRENT_OUTBOUND_SPI_HEX}\(${CURRENT_OUTBOUND_SPI_DEC}\)\s*$$ + ^\s*PFS\s+\(Y/N\):\s+${PFS},\s+DH\s+group:\s+${DH_GROUP}\s*$$ + ^\s*${SA_ORIENTATION}\s+${SA_TYPE}\s+sas:\s*$$ -> SAs + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error + +SAs + ^\s*${SA_ORIENTATION}\s+${SA_TYPE}\s+sas:\s*$$ + ^\s*spi:\s+${SA_SPI_HEX}\(${SA_SPI_DEC}\)\s*$$ + ^\s*transform:\s+${SA_TRANSFORM}\s+,\s*$$ + ^\s*in\s+use\s+settings\s+={${SA_IN_USE_SETTINGS},*\s+}\s*$$ + ^\s*conn\s+id:\s+${SA_CONN_ID},\s+flow_id:\s+${SA_FLOW_ID},\s+sibling_flags\s+${SA_SIBLING_FLAGS},\s+crypto\s+map:\s+${SA_CRYPTO_MAP}\s*$$ + ^\s*sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(k/sec\):\s+\(${SA_LIFETIME_KBYTES}/${SA_LIFETIME_SEC}\)\s*$$ + ^\s*IV\s+size:\s+${SA_IV_SIZE}\s+bytes\s*$$ + ^\s*replay\s+detection\s+support:\s+${SA_REPLAY_DETECTION_SUPPORT}\s+replay\s+window\s+size:\s+${SA_REPLAY_WINDOW_SIZE}\s*$$ + ^\s*Status:\s+${SA_STATUS}\s*$$ -> Record + ^\s*interface:\s+${INTERFACE}\s*$$ -> Start + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b71699f095..9c1e3666b9 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -208,10 +208,11 @@ cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ro cisco_ios_show_ip_ospf_database_router.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] r[[outer]] cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] +cisco_ios_show_crypto_ipsec_sa_detail.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] ip[[sec]] sa d[[etail]] cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] -cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cr[[ypto]] se[[ssion]] d[[etail]] +cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] se[[ssion]] d[[etail]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] diff --git a/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.raw b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.raw new file mode 100644 index 0000000000..c0e1b46a17 --- /dev/null +++ b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.raw @@ -0,0 +1,111 @@ +interface: Tunnel1 + Crypto map tag: Tunnel1-head-0, local addr 1.2.3.4 + + protected vrf: (none) + local ident (addr/mask/prot/port): (1.2.3.4/255.255.255.255/47/0) + remote ident (addr/mask/prot/port): (2.2.2.2/255.255.255.255/47/0) + current_peer 2.2.2.2 port 4500 + PERMIT, flags={origin_is_acl,} + #pkts encaps: 4981028, #pkts encrypt: 4981028, #pkts digest: 4981028 + #pkts decaps: 4112421, #pkts decrypt: 4112421, #pkts verify: 4112421 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 0, #pkts compr. failed: 0 + #pkts not decompressed: 0, #pkts decompress failed: 0 + #pkts no sa (send) 0, #pkts invalid sa (rcv) 0 + #pkts encaps failed (send) 0, #pkts decaps failed (rcv) 0 + #pkts invalid prot (recv) 0, #pkts verify failed: 0 + #pkts invalid identity (recv) 0, #pkts invalid len (rcv) 0 + #pkts replay rollover (send): 0, #pkts replay rollover (rcv) 0 + ##pkts replay failed (rcv): 0 + #pkts tagged (send): 0, #pkts untagged (rcv): 0 + #pkts not tagged (send): 0, #pkts not untagged (rcv): 0 + #pkts internal err (send): 0, #pkts internal err (recv) 0 + + local crypto endpt.: 1.2.3.4, remote crypto endpt.: 2.2.2.2 + plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet8 + current outbound spi: 0x1234ABCD(305441741) + PFS (Y/N): N, DH group: none + + inbound esp sas: + spi: 0xABCD1234(2882343476) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 124, flow_id: Onboard VPN:124, sibling_flags 80000000, crypto map: Tunnel1-head-0 + sa timing: remaining key lifetime (k/sec): (4332650/3205) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + inbound ah sas: + + inbound pcp sas: + + outbound esp sas: + spi: 0x1234ABCD(305441741) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 123, flow_id: Onboard VPN:123, sibling_flags 80000000, crypto map: Tunnel1-head-0 + sa timing: remaining key lifetime (k/sec): (4332649/3205) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + outbound ah sas: + + outbound pcp sas: + +interface: Tunnel2 + Crypto map tag: Tunnel2-head-0, local addr 1.2.3.4 + + protected vrf: (none) + local ident (addr/mask/prot/port): (1.2.3.4/255.255.255.255/47/0) + remote ident (addr/mask/prot/port): (3.3.3.3/255.255.255.255/47/0) + current_peer 3.3.3.3 port 4500 + PERMIT, flags={origin_is_acl,} + #pkts encaps: 13133657, #pkts encrypt: 13133657, #pkts digest: 13133657 + #pkts decaps: 12013064, #pkts decrypt: 12013064, #pkts verify: 12013064 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 0, #pkts compr. failed: 0 + #pkts not decompressed: 0, #pkts decompress failed: 0 + #pkts no sa (send) 0, #pkts invalid sa (rcv) 0 + #pkts encaps failed (send) 0, #pkts decaps failed (rcv) 0 + #pkts invalid prot (recv) 0, #pkts verify failed: 0 + #pkts invalid identity (recv) 0, #pkts invalid len (rcv) 0 + #pkts replay rollover (send): 0, #pkts replay rollover (rcv) 0 + ##pkts replay failed (rcv): 1 + #pkts tagged (send): 0, #pkts untagged (rcv): 0 + #pkts not tagged (send): 0, #pkts not untagged (rcv): 0 + #pkts internal err (send): 0, #pkts internal err (recv) 0 + + local crypto endpt.: 1.2.3.4, remote crypto endpt.: 3.3.3.3 + plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet8 + current outbound spi: 0x4321DCBA(0987612345) + PFS (Y/N): N, DH group: none + + inbound esp sas: + spi: 0x1234DCBA(4321567890) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 457, flow_id: Onboard VPN:457, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272028/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + inbound ah sas: + + inbound pcp sas: + + outbound esp sas: + spi: 0x4321DCBA(0987612345) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 456, flow_id: Onboard VPN:456, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272026/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + outbound ah sas: + + outbound pcp sas: \ No newline at end of file diff --git a/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.yml b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.yml new file mode 100644 index 0000000000..b8ffae80bb --- /dev/null +++ b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail.yml @@ -0,0 +1,286 @@ +--- +parsed_sample: + - interface: "Tunnel1" + crypto_map_tag: "Tunnel1-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "2.2.2.2" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "2.2.2.2" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "4981028" + pkts_encrypt: "4981028" + pkts_digest: "4981028" + pkts_decaps: "4112421" + pkts_decrypt: "4112421" + pkts_verify: "4112421" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "0" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "2.2.2.2" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x1234ABCD" + current_outbound_spi_dec: "305441741" + pfs: "N" + dh_group: "none" + sa_orientation: "inbound" + sa_type: "esp" + sa_spi_hex: "0xABCD1234" + sa_spi_dec: "2882343476" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "124" + sa_flow_id: "Onboard VPN:124" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel1-head-0" + sa_lifetime_kbytes: "4332650" + sa_lifetime_sec: "3205" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel1" + crypto_map_tag: "Tunnel1-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "2.2.2.2" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "2.2.2.2" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "4981028" + pkts_encrypt: "4981028" + pkts_digest: "4981028" + pkts_decaps: "4112421" + pkts_decrypt: "4112421" + pkts_verify: "4112421" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "0" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "2.2.2.2" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x1234ABCD" + current_outbound_spi_dec: "305441741" + pfs: "N" + dh_group: "none" + sa_orientation: "outbound" + sa_type: "esp" + sa_spi_hex: "0x1234ABCD" + sa_spi_dec: "305441741" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "123" + sa_flow_id: "Onboard VPN:123" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel1-head-0" + sa_lifetime_kbytes: "4332649" + sa_lifetime_sec: "3205" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "inbound" + sa_type: "esp" + sa_spi_hex: "0x1234DCBA" + sa_spi_dec: "4321567890" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "457" + sa_flow_id: "Onboard VPN:457" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272028" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "outbound" + sa_type: "esp" + sa_spi_hex: "0x4321DCBA" + sa_spi_dec: "0987612345" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "456" + sa_flow_id: "Onboard VPN:456" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272026" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" diff --git a/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.raw b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.raw new file mode 100644 index 0000000000..01f59f7c19 --- /dev/null +++ b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.raw @@ -0,0 +1,127 @@ +interface: Tunnel1 + Crypto map tag: Tunnel1-head-0, local addr 1.2.3.4 + + protected vrf: (none) + local ident (addr/mask/prot/port): (1.2.3.4/255.255.255.255/47/0) + remote ident (addr/mask/prot/port): (2.2.2.2/255.255.255.255/47/0) + current_peer 2.2.2.2 port 4500 + PERMIT, flags={origin_is_acl,} + #pkts encaps: 4981028, #pkts encrypt: 4981028, #pkts digest: 4981028 + #pkts decaps: 4112421, #pkts decrypt: 4112421, #pkts verify: 4112421 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 0, #pkts compr. failed: 0 + #pkts not decompressed: 0, #pkts decompress failed: 0 + #pkts no sa (send) 0, #pkts invalid sa (rcv) 0 + #pkts encaps failed (send) 0, #pkts decaps failed (rcv) 0 + #pkts invalid prot (recv) 0, #pkts verify failed: 0 + #pkts invalid identity (recv) 0, #pkts invalid len (rcv) 0 + #pkts replay rollover (send): 0, #pkts replay rollover (rcv) 0 + ##pkts replay failed (rcv): 0 + #pkts tagged (send): 0, #pkts untagged (rcv): 0 + #pkts not tagged (send): 0, #pkts not untagged (rcv): 0 + #pkts internal err (send): 0, #pkts internal err (recv) 0 + + local crypto endpt.: 1.2.3.4, remote crypto endpt.: 2.2.2.2 + plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet8 + current outbound spi: 0x1234ABCD(305441741) + PFS (Y/N): N, DH group: none + + inbound esp sas: + spi: 0xABCD1234(2882343476) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 124, flow_id: Onboard VPN:124, sibling_flags 80000000, crypto map: Tunnel1-head-0 + sa timing: remaining key lifetime (k/sec): (4332650/3205) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + inbound ah sas: + + inbound pcp sas: + + outbound esp sas: + spi: 0x1234ABCD(305441741) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 123, flow_id: Onboard VPN:123, sibling_flags 80000000, crypto map: Tunnel1-head-0 + sa timing: remaining key lifetime (k/sec): (4332649/3205) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + outbound ah sas: + + outbound pcp sas: + +interface: Tunnel2 + Crypto map tag: Tunnel2-head-0, local addr 1.2.3.4 + + protected vrf: (none) + local ident (addr/mask/prot/port): (1.2.3.4/255.255.255.255/47/0) + remote ident (addr/mask/prot/port): (3.3.3.3/255.255.255.255/47/0) + current_peer 3.3.3.3 port 4500 + PERMIT, flags={origin_is_acl,} + #pkts encaps: 13133657, #pkts encrypt: 13133657, #pkts digest: 13133657 + #pkts decaps: 12013064, #pkts decrypt: 12013064, #pkts verify: 12013064 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 0, #pkts compr. failed: 0 + #pkts not decompressed: 0, #pkts decompress failed: 0 + #pkts no sa (send) 0, #pkts invalid sa (rcv) 0 + #pkts encaps failed (send) 0, #pkts decaps failed (rcv) 0 + #pkts invalid prot (recv) 0, #pkts verify failed: 0 + #pkts invalid identity (recv) 0, #pkts invalid len (rcv) 0 + #pkts replay rollover (send): 0, #pkts replay rollover (rcv) 0 + ##pkts replay failed (rcv): 1 + #pkts tagged (send): 0, #pkts untagged (rcv): 0 + #pkts not tagged (send): 0, #pkts not untagged (rcv): 0 + #pkts internal err (send): 0, #pkts internal err (recv) 0 + + local crypto endpt.: 1.2.3.4, remote crypto endpt.: 3.3.3.3 + plaintext mtu 1442, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet8 + current outbound spi: 0x4321DCBA(0987612345) + PFS (Y/N): N, DH group: none + + inbound esp sas: + spi: 0x1234DCBA(4321567890) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 457, flow_id: Onboard VPN:457, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272028/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + spi: 0x4321FFFF(1126301695) + transform: esp-256-aes esp-md5-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 458, flow_id: Onboard VPN:458, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272026/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + inbound ah sas: + + inbound pcp sas: + + outbound esp sas: + spi: 0x4321DCBA(0987612345) + transform: esp-256-aes esp-sha-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 456, flow_id: Onboard VPN:456, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272026/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + spi: 0x4321AAAA(1126279850) + transform: esp-256-aes esp-md5-hmac , + in use settings ={Transport UDP-Encaps, } + conn id: 459, flow_id: Onboard VPN:459, sibling_flags 80000000, crypto map: Tunnel2-head-0 + sa timing: remaining key lifetime (k/sec): (4272026/2813) + IV size: 16 bytes + replay detection support: Y replay window size: 1024 + Status: ACTIVE(ACTIVE) + + outbound ah sas: + + outbound pcp sas: \ No newline at end of file diff --git a/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.yml b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.yml new file mode 100644 index 0000000000..b69d1115c5 --- /dev/null +++ b/tests/cisco_ios/show_crypto_ipsec_sa_detail/cisco_ios_show_crypto_ipsec_sa_detail_2.yml @@ -0,0 +1,428 @@ +--- +parsed_sample: + - interface: "Tunnel1" + crypto_map_tag: "Tunnel1-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "2.2.2.2" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "2.2.2.2" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "4981028" + pkts_encrypt: "4981028" + pkts_digest: "4981028" + pkts_decaps: "4112421" + pkts_decrypt: "4112421" + pkts_verify: "4112421" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "0" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "2.2.2.2" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x1234ABCD" + current_outbound_spi_dec: "305441741" + pfs: "N" + dh_group: "none" + sa_orientation: "inbound" + sa_type: "esp" + sa_spi_hex: "0xABCD1234" + sa_spi_dec: "2882343476" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "124" + sa_flow_id: "Onboard VPN:124" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel1-head-0" + sa_lifetime_kbytes: "4332650" + sa_lifetime_sec: "3205" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel1" + crypto_map_tag: "Tunnel1-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "2.2.2.2" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "2.2.2.2" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "4981028" + pkts_encrypt: "4981028" + pkts_digest: "4981028" + pkts_decaps: "4112421" + pkts_decrypt: "4112421" + pkts_verify: "4112421" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "0" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "2.2.2.2" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x1234ABCD" + current_outbound_spi_dec: "305441741" + pfs: "N" + dh_group: "none" + sa_orientation: "outbound" + sa_type: "esp" + sa_spi_hex: "0x1234ABCD" + sa_spi_dec: "305441741" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "123" + sa_flow_id: "Onboard VPN:123" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel1-head-0" + sa_lifetime_kbytes: "4332649" + sa_lifetime_sec: "3205" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "inbound" + sa_type: "esp" + sa_spi_hex: "0x1234DCBA" + sa_spi_dec: "4321567890" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "457" + sa_flow_id: "Onboard VPN:457" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272028" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "inbound" + sa_type: "esp" + sa_spi_hex: "0x4321FFFF" + sa_spi_dec: "1126301695" + sa_transform: "esp-256-aes esp-md5-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "458" + sa_flow_id: "Onboard VPN:458" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272026" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "outbound" + sa_type: "esp" + sa_spi_hex: "0x4321DCBA" + sa_spi_dec: "0987612345" + sa_transform: "esp-256-aes esp-sha-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "456" + sa_flow_id: "Onboard VPN:456" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272026" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" + - interface: "Tunnel2" + crypto_map_tag: "Tunnel2-head-0" + local_addr: "1.2.3.4" + protected_vrf: "(none)" + local_ident_addr: "1.2.3.4" + local_ident_mask: "255.255.255.255" + local_ident_prot: "47" + local_ident_port: "0" + remote_ident_addr: "3.3.3.3" + remote_ident_mask: "255.255.255.255" + remote_ident_prot: "47" + remote_ident_port: "0" + current_peer: "3.3.3.3" + port: "4500" + action: "PERMIT" + flags: "origin_is_acl," + pkts_encaps: "13133657" + pkts_encrypt: "13133657" + pkts_digest: "13133657" + pkts_decaps: "12013064" + pkts_decrypt: "12013064" + pkts_verify: "12013064" + pkts_compressed: "0" + pkts_decompressed: "0" + pkts_not_compressed: "0" + pkts_compress_failed: "0" + pkts_not_decompressed: "0" + pkts_decompress_failed: "0" + pkts_no_sa: "0" + pkts_invalid_sa: "0" + pkts_encaps_failed: "0" + pkts_decaps_failed: "0" + pkts_invalid_prot: "0" + pkts_verify_failed: "0" + pkts_invalid_identity: "0" + pkts_invalid_len: "0" + pkts_replay_rollover_send: "0" + pkts_replay_rollover_recv: "0" + pkts_replay_failed: "1" + pkts_tagged: "0" + pkts_untagged: "0" + pkts_not_tagged: "0" + pkts_not_untagged: "0" + pkts_internal_err_send: "0" + pkts_internal_err_recv: "0" + local_crypto_endpt: "1.2.3.4" + remote_crypto_endpt: "3.3.3.3" + plaintext_mtu: "1442" + path_mtu: "1500" + ip_mtu: "1500" + ip_mtu_idb: "GigabitEthernet8" + current_outbound_spi_hex: "0x4321DCBA" + current_outbound_spi_dec: "0987612345" + pfs: "N" + dh_group: "none" + sa_orientation: "outbound" + sa_type: "esp" + sa_spi_hex: "0x4321AAAA" + sa_spi_dec: "1126279850" + sa_transform: "esp-256-aes esp-md5-hmac" + sa_in_use_settings: "Transport UDP-Encaps" + sa_conn_id: "459" + sa_flow_id: "Onboard VPN:459" + sa_sibling_flags: "80000000" + sa_crypto_map: "Tunnel2-head-0" + sa_lifetime_kbytes: "4272026" + sa_lifetime_sec: "2813" + sa_iv_size: "16" + sa_replay_detection_support: "Y" + sa_replay_window_size: "1024" + sa_status: "ACTIVE(ACTIVE)" From 5224699838c4a384dd143b3d6c64c2868f33788a Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Mon, 3 Oct 2022 16:23:38 +0200 Subject: [PATCH 294/412] add linux templates (#1193) Add linux templates --- ntc_templates/templates/index | 4 + .../templates/linux_ip_address_show.textfsm | 30 +++++ .../templates/linux_ip_link_show.textfsm | 28 +++++ .../templates/linux_ip_route_show.textfsm | 23 ++++ .../templates/linux_ip_vrf_show.textfsm | 9 ++ .../ip_address_show/linux_ip_address_show.raw | 24 ++++ .../ip_address_show/linux_ip_address_show.yml | 98 ++++++++++++++++ .../linux/ip_link_show/linux_ip_link_show.raw | 16 +++ .../linux/ip_link_show/linux_ip_link_show.yml | 106 ++++++++++++++++++ .../ip_route_show/linux_ip_route_show.raw | 8 ++ .../ip_route_show/linux_ip_route_show.yml | 23 ++++ tests/linux/ip_vrf_show/linux_ip_vrf_show.raw | 4 + tests/linux/ip_vrf_show/linux_ip_vrf_show.yml | 6 + 13 files changed, 379 insertions(+) create mode 100644 ntc_templates/templates/linux_ip_address_show.textfsm create mode 100644 ntc_templates/templates/linux_ip_link_show.textfsm create mode 100644 ntc_templates/templates/linux_ip_route_show.textfsm create mode 100644 ntc_templates/templates/linux_ip_vrf_show.textfsm create mode 100644 tests/linux/ip_address_show/linux_ip_address_show.raw create mode 100644 tests/linux/ip_address_show/linux_ip_address_show.yml create mode 100644 tests/linux/ip_link_show/linux_ip_link_show.raw create mode 100644 tests/linux/ip_link_show/linux_ip_link_show.yml create mode 100644 tests/linux/ip_route_show/linux_ip_route_show.raw create mode 100644 tests/linux/ip_route_show/linux_ip_route_show.yml create mode 100644 tests/linux/ip_vrf_show/linux_ip_vrf_show.raw create mode 100644 tests/linux/ip_vrf_show/linux_ip_vrf_show.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 9c1e3666b9..626a30dfd2 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -487,6 +487,10 @@ juniper_junos_show_vlans.textfsm, .*, juniper_junos, sh[[ow]] vl[[ans]] juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route +linux_ip_address_show.textfsm, .*, linux, ip a[[ddress]] [[show]] +linux_ip_route_show.textfsm, .*, linux, ip r[[oute]] [[show]] +linux_ip_link_show.textfsm, .*, linux, ip l[[ink]] [[show]] +linux_ip_vrf_show.textfsm, .*, linux, ip v[[rf]] [[show]] linux_arp_-a.textfsm, .*, linux, arp -a mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall filter print all without-paging diff --git a/ntc_templates/templates/linux_ip_address_show.textfsm b/ntc_templates/templates/linux_ip_address_show.textfsm new file mode 100644 index 0000000000..8c0ac2ed6a --- /dev/null +++ b/ntc_templates/templates/linux_ip_address_show.textfsm @@ -0,0 +1,30 @@ +Value Required ID (\d+) +Value Required INTERFACE ([^:]+) +Value Required FLAGS (\S+) +Value Required MTU (\d+) +Value Required QDISC (\S+) +Value Required STATE (\S+) +Value Required GROUP (\S+) +Value QLEN (\d+) +Value MASTER (\S+) +Value Required TYPE (\S+) +Value ADDRESS ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) +Value BROADCAST ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) +Value List IP_ADDRESSES (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value List IP_MASKS (\d{1,2}) + +Start + ^\d+ -> Continue.Record + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} master ${MASTER} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} -> Continue + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue + # Link type, MAC address, IP -> Continue + ^\s+link/${TYPE}$$ -> Continue + ^\s+link/${TYPE} ${ADDRESS} brd ${BROADCAST}$$ -> Continue + ^\s+inet ${IP_ADDRESSES}/${IP_MASKS} brd.*$$ -> Continue + ^\s+inet ${IP_ADDRESSES}/${IP_MASKS} scope.*$$ -> Continue + ^\s+valid_lft.*$$ -> Continue + ^\d+ + ^\s+ + ^. -> Error diff --git a/ntc_templates/templates/linux_ip_link_show.textfsm b/ntc_templates/templates/linux_ip_link_show.textfsm new file mode 100644 index 0000000000..9555d24bd3 --- /dev/null +++ b/ntc_templates/templates/linux_ip_link_show.textfsm @@ -0,0 +1,28 @@ +Value Required ID (\d+) +Value Required INTERFACE ([^:]+) +Value Required FLAGS (\S+) +Value Required MTU (\d+) +Value Required QDISC (\S+) +Value Required STATE (\S+) +Value Required MODE (\S+) +Value Required GROUP (\S+) +Value QLEN (\d+) +Value MASTER (\S+) +Value Required TYPE (\S+) +Value ADDRESS ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) +Value BROADCAST ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) + +Start + ^\d+ -> Continue.Record + # loopback + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} mode ${MODE} group ${GROUP}$$ -> Continue + # physical, bridge + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} mode ${MODE} group ${GROUP} qlen ${QLEN}$$ -> Continue + # vrf + ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} master ${MASTER} state ${STATE} mode ${MODE} group ${GROUP} qlen ${QLEN}$$ -> Continue + # Link type and MAC address + ^\s+link/${TYPE}$$ + ^\s+link/${TYPE} ${ADDRESS} brd ${BROADCAST}$$ + ^\d+ + ^\s+ + ^. -> Error diff --git a/ntc_templates/templates/linux_ip_route_show.textfsm b/ntc_templates/templates/linux_ip_route_show.textfsm new file mode 100644 index 0000000000..72b82df42c --- /dev/null +++ b/ntc_templates/templates/linux_ip_route_show.textfsm @@ -0,0 +1,23 @@ +Value PROTOCOL (\S+) +Value METRIC (\d+) +Value NETWORK (\S+) +Value NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value NEXTHOP_IF (\S+) +Value SCOPE (\S+) +Value SRC (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) + +Start + # dhcp (discarded) + ^.*proto dhcp.* + ^\S+ dev \S+ proto dhcp .* + # unreachable, broadcast, local (discarded) + ^unreachable + ^broadcast* + ^local + # default + ^${NETWORK} via ${NEXTHOP_IP} dev ${NEXTHOP_IF} -> Record + # local (network) + ^${NETWORK} dev ${NEXTHOP_IF} proto ${PROTOCOL} scope ${SCOPE} src ${SRC} -> Record + # static + ^${NETWORK} via ${NEXTHOP_IP} dev ${NEXTHOP_IF} -> Record + ^. -> Error diff --git a/ntc_templates/templates/linux_ip_vrf_show.textfsm b/ntc_templates/templates/linux_ip_vrf_show.textfsm new file mode 100644 index 0000000000..e82259bbf2 --- /dev/null +++ b/ntc_templates/templates/linux_ip_vrf_show.textfsm @@ -0,0 +1,9 @@ +Value Required NAME (\S+) +Value TABLE (\d+) + +Start + ^--- -> Start_record + +Start_record + ^${NAME}\s+${TABLE} -> Record + ^. -> Error diff --git a/tests/linux/ip_address_show/linux_ip_address_show.raw b/tests/linux/ip_address_show/linux_ip_address_show.raw new file mode 100644 index 0000000000..10abf1be93 --- /dev/null +++ b/tests/linux/ip_address_show/linux_ip_address_show.raw @@ -0,0 +1,24 @@ +1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 + link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 + inet 127.0.0.1/8 scope host lo + valid_lft forever preferred_lft forever +2: ens32: mtu 1500 qdisc fq_codel state UP group default qlen 1000 + link/ether 00:0c:29:56:07:1b brd ff:ff:ff:ff:ff:ff + inet 192.168.131.128/24 brd 192.168.131.255 scope global dynamic ens32 + valid_lft 1307sec preferred_lft 1307sec +3: gpd0: mtu 1400 qdisc fq_codel state UNKNOWN group default qlen 500 + link/none + inet 10.20.20.12/32 scope global gpd0 + valid_lft forever preferred_lft forever +4: br-218f5e637867: mtu 1500 qdisc noqueue state DOWN group default + link/ether 02:42:5d:d7:c2:c1 brd ff:ff:ff:ff:ff:ff + inet 172.21.0.1/16 brd 172.21.255.255 scope global br-218f5e637867 + valid_lft forever preferred_lft forever +5: vrf-blue: mtu 65575 qdisc noqueue state UP group default qlen 1000 + link/ether ee:be:e9:28:70:69 brd ff:ff:ff:ff:ff:ff +6: brblue: mtu 1500 qdisc noqueue master vrf-blue state UNKNOWN group default qlen 1000 + link/ether 66:37:23:9b:9e:e4 brd ff:ff:ff:ff:ff:ff + inet 10.0.0.1/24 scope global brblue + valid_lft forever preferred_lft forever + inet 192.168.0.1/25 scope global brred + valid_lft forever preferred_lft forever diff --git a/tests/linux/ip_address_show/linux_ip_address_show.yml b/tests/linux/ip_address_show/linux_ip_address_show.yml new file mode 100644 index 0000000000..e9b7f9354a --- /dev/null +++ b/tests/linux/ip_address_show/linux_ip_address_show.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - id: "1" + interface: "lo" + flags: "LOOPBACK,UP,LOWER_UP" + mtu: "65536" + qdisc: "noqueue" + state: "UNKNOWN" + group: "default" + qlen: "1000" + master: "" + type: "loopback" + address: "00:00:00:00:00:00" + broadcast: "00:00:00:00:00:00" + ip_addresses: + - "127.0.0.1" + ip_masks: + - "8" + - id: "2" + interface: "ens32" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "00:0c:29:56:07:1b" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "192.168.131.128" + ip_masks: + - "24" + - id: "3" + interface: "gpd0" + flags: "POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP" + mtu: "1400" + qdisc: "fq_codel" + state: "UNKNOWN" + group: "default" + qlen: "500" + master: "" + type: "none" + address: "" + broadcast: "" + ip_addresses: + - "10.20.20.12" + ip_masks: + - "32" + - id: "4" + interface: "br-218f5e637867" + flags: "NO-CARRIER,BROADCAST,MULTICAST,UP" + mtu: "1500" + qdisc: "noqueue" + state: "DOWN" + group: "default" + qlen: "" + master: "" + type: "ether" + address: "02:42:5d:d7:c2:c1" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "172.21.0.1" + ip_masks: + - "16" + - id: "5" + interface: "vrf-blue" + flags: "NOARP,MASTER,UP,LOWER_UP" + mtu: "65575" + qdisc: "noqueue" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "ee:be:e9:28:70:69" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: [] + ip_masks: [] + - id: "6" + interface: "brblue" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "noqueue" + state: "UNKNOWN" + group: "default" + qlen: "1000" + master: "vrf-blue" + type: "ether" + address: "66:37:23:9b:9e:e4" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "10.0.0.1" + - "192.168.0.1" + ip_masks: + - "24" + - "25" diff --git a/tests/linux/ip_link_show/linux_ip_link_show.raw b/tests/linux/ip_link_show/linux_ip_link_show.raw new file mode 100644 index 0000000000..ea3f3e6c30 --- /dev/null +++ b/tests/linux/ip_link_show/linux_ip_link_show.raw @@ -0,0 +1,16 @@ +1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 + link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 +2: ens32: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 + link/ether 00:0c:29:56:07:1b brd ff:ff:ff:ff:ff:ff +3: gpd0: mtu 1400 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500 + link/none +4: br-218f5e637867: mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default + link/ether 02:42:5d:d7:c2:c1 brd ff:ff:ff:ff:ff:ff +5: vrf-blue: mtu 65575 qdisc noqueue state UP mode DEFAULT group default qlen 1000 + link/ether ee:be:e9:28:70:69 brd ff:ff:ff:ff:ff:ff +6: vrf-red: mtu 65575 qdisc noqueue state UP mode DEFAULT group default qlen 1000 + link/ether d6:a6:dd:0d:d5:f9 brd ff:ff:ff:ff:ff:ff +7: brblue: mtu 1500 qdisc noqueue master vrf-blue state UNKNOWN mode DEFAULT group default qlen 1000 + link/ether 66:37:23:9b:9e:e4 brd ff:ff:ff:ff:ff:ff +8: brred: mtu 1500 qdisc noqueue master vrf-red state UNKNOWN mode DEFAULT group default qlen 1000 + link/ether da:ca:17:97:f5:34 brd ff:ff:ff:ff:ff:ff diff --git a/tests/linux/ip_link_show/linux_ip_link_show.yml b/tests/linux/ip_link_show/linux_ip_link_show.yml new file mode 100644 index 0000000000..174908083f --- /dev/null +++ b/tests/linux/ip_link_show/linux_ip_link_show.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - id: "1" + interface: "lo" + flags: "LOOPBACK,UP,LOWER_UP" + mtu: "65536" + qdisc: "noqueue" + state: "UNKNOWN" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "" + type: "loopback" + address: "00:00:00:00:00:00" + broadcast: "00:00:00:00:00:00" + - id: "2" + interface: "ens32" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "00:0c:29:56:07:1b" + broadcast: "ff:ff:ff:ff:ff:ff" + - id: "3" + interface: "gpd0" + flags: "POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP" + mtu: "1400" + qdisc: "fq_codel" + state: "UNKNOWN" + mode: "DEFAULT" + group: "default" + qlen: "500" + master: "" + type: "none" + address: "" + broadcast: "" + - id: "4" + interface: "br-218f5e637867" + flags: "NO-CARRIER,BROADCAST,MULTICAST,UP" + mtu: "1500" + qdisc: "noqueue" + state: "DOWN" + mode: "DEFAULT" + group: "default" + qlen: "" + master: "" + type: "ether" + address: "02:42:5d:d7:c2:c1" + broadcast: "ff:ff:ff:ff:ff:ff" + - id: "5" + interface: "vrf-blue" + flags: "NOARP,MASTER,UP,LOWER_UP" + mtu: "65575" + qdisc: "noqueue" + state: "UP" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "ee:be:e9:28:70:69" + broadcast: "ff:ff:ff:ff:ff:ff" + - id: "6" + interface: "vrf-red" + flags: "NOARP,MASTER,UP,LOWER_UP" + mtu: "65575" + qdisc: "noqueue" + state: "UP" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "d6:a6:dd:0d:d5:f9" + broadcast: "ff:ff:ff:ff:ff:ff" + - id: "7" + interface: "brblue" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "noqueue" + state: "UNKNOWN" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "vrf-blue" + type: "ether" + address: "66:37:23:9b:9e:e4" + broadcast: "ff:ff:ff:ff:ff:ff" + - id: "8" + interface: "brred" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "noqueue" + state: "UNKNOWN" + mode: "DEFAULT" + group: "default" + qlen: "1000" + master: "vrf-red" + type: "ether" + address: "da:ca:17:97:f5:34" + broadcast: "ff:ff:ff:ff:ff:ff" diff --git a/tests/linux/ip_route_show/linux_ip_route_show.raw b/tests/linux/ip_route_show/linux_ip_route_show.raw new file mode 100644 index 0000000000..f234ad5687 --- /dev/null +++ b/tests/linux/ip_route_show/linux_ip_route_show.raw @@ -0,0 +1,8 @@ +default via 10.0.0.4 dev brblue +unreachable default metric 4278198272 +broadcast 10.0.0.0 dev brblue proto kernel scope link src 10.0.0.1 +10.0.0.0/24 dev brblue proto kernel scope link src 10.0.0.1 +local 10.0.0.1 dev brblue proto kernel scope host src 10.0.0.1 +broadcast 10.0.0.255 dev brblue proto kernel scope link src 10.0.0.1 +192.168.0.0/24 via 10.0.0.2 dev brblue +192.168.131.2 dev ens32 proto dhcp scope link src 192.168.131.128 metric 100 diff --git a/tests/linux/ip_route_show/linux_ip_route_show.yml b/tests/linux/ip_route_show/linux_ip_route_show.yml new file mode 100644 index 0000000000..58275b00ec --- /dev/null +++ b/tests/linux/ip_route_show/linux_ip_route_show.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - protocol: "" + metric: "" + network: "default" + nexthop_ip: "10.0.0.4" + nexthop_if: "brblue" + scope: "" + src: "" + - protocol: "kernel" + metric: "" + network: "10.0.0.0/24" + nexthop_ip: "" + nexthop_if: "brblue" + scope: "link" + src: "10.0.0.1" + - protocol: "" + metric: "" + network: "192.168.0.0/24" + nexthop_ip: "10.0.0.2" + nexthop_if: "brblue" + scope: "" + src: "" diff --git a/tests/linux/ip_vrf_show/linux_ip_vrf_show.raw b/tests/linux/ip_vrf_show/linux_ip_vrf_show.raw new file mode 100644 index 0000000000..9ebbcebd05 --- /dev/null +++ b/tests/linux/ip_vrf_show/linux_ip_vrf_show.raw @@ -0,0 +1,4 @@ +Name Table +----------------------- +vrf-blue 10 +vrf-red 20 diff --git a/tests/linux/ip_vrf_show/linux_ip_vrf_show.yml b/tests/linux/ip_vrf_show/linux_ip_vrf_show.yml new file mode 100644 index 0000000000..6a6ac47f9a --- /dev/null +++ b/tests/linux/ip_vrf_show/linux_ip_vrf_show.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - name: "vrf-blue" + table: "10" + - name: "vrf-red" + table: "20" From 1dc28c95ba1a12fdf71f00f366a827e251be4b40 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 3 Oct 2022 21:24:48 +0700 Subject: [PATCH 295/412] fix(mikrotik): system routerboard print - fix corner case where warning messages are added (#1196) Fix `system routerboard print` corner case. --- ...mikrotik_routeros_system_routerboard_print.textfsm | 3 ++- .../mikrotik_routeros_system_routerboard_print2.raw | 9 +++++++++ .../mikrotik_routeros_system_routerboard_print2.yml | 11 +++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.raw create mode 100644 tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.yml diff --git a/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm index 70142249f1..fd55cba099 100644 --- a/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm @@ -1,5 +1,5 @@ Value routerboard (\S+) -Value board_name (\S+) +Value board_name (.+) Value hardware_model (\S+) Value revision (\S+) Value serial_number (\S+) @@ -9,6 +9,7 @@ Value current_firmware ([\d.]+) Value upgrade_firmware ([\d.]+) Start + ^\s*;;;.* -> Next ^\s*routerboard:\s${routerboard} ^\s*board-name:\s${board_name} ^\s*model:\s${hardware_model} diff --git a/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.raw b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.raw new file mode 100644 index 0000000000..7760a3f9f9 --- /dev/null +++ b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.raw @@ -0,0 +1,9 @@ +;;; Firmware upgraded successfully, please reboot for changes to take effect! + routerboard: yes + board-name: hAP ac^3 + model: RBD53iG-5HacD2HnD + serial-number: HCQ08FX50J7 + firmware-type: ipq4000 + factory-firmware: 7.2.3 + current-firmware: 7.2.3 + upgrade-firmware: 7.5 diff --git a/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.yml b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.yml new file mode 100644 index 0000000000..574cd4ac5e --- /dev/null +++ b/tests/mikrotik_routeros/system_routerboard_print/mikrotik_routeros_system_routerboard_print2.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - routerboard: "yes" + board_name: "hAP ac^3" + hardware_model: "RBD53iG-5HacD2HnD" + revision: "" + serial_number: "HCQ08FX50J7" + firmware_type: "ipq4000" + factory_firmware: "7.2.3" + current_firmware: "7.2.3" + upgrade_firmware: "7.5" From e3454fc5eb7bb17b23e13a522d59776b418a0aa6 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 3 Oct 2022 21:47:36 +0700 Subject: [PATCH 296/412] Mirkotik: Fix issue with flags on IP route print and truncated long IPv6 (#1152) Fix flags on ip route print mikrotik --- ntc_templates/templates/index | 2 +- ...otik_routeros_ip_route_print_terse.textfsm | 13 ++++ ...eros_ip_route_print_without-paging.textfsm | 15 ----- ...otik_routeros_ip_route_print_terseIPv4.raw | 7 ++ ...otik_routeros_ip_route_print_terseIPv4.yml | 65 +++++++++++++++++++ ...otik_routeros_ip_route_print_terseIPv6.raw | 5 ++ ...otik_routeros_ip_route_print_terseIPv6.yml | 47 ++++++++++++++ ...routeros_ip_route_print_without-paging.raw | 7 -- ...routeros_ip_route_print_without-paging.yml | 32 --------- 9 files changed, 138 insertions(+), 55 deletions(-) create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm delete mode 100644 ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm create mode 100644 tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw create mode 100644 tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml create mode 100644 tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw create mode 100644 tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml delete mode 100644 tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw delete mode 100644 tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 626a30dfd2..ad7efc0d21 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -498,9 +498,9 @@ mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm, .*, mikroti mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall nat print all without-paging mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm, .*, mikrotik_routeros, [[/]]interface ethernet monitor (\S+) once mikrotik_routeros_snmp_community_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]snmp community print without-paging -mikrotik_routeros_ip_route_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? route print without-paging mikrotik_routeros_ip_arp_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip arp print without-paging mikrotik_routeros_system_routerboard_print.textfsm, .*, mikrotik_routeros, [[/]]system routerboard print +mikrotik_routeros_ip_route_print_terse.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? route print terse paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all diff --git a/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm new file mode 100644 index 0000000000..2b84ececdf --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm @@ -0,0 +1,13 @@ +Value Key index (\d+) +Value flags ([XADCSrbomBUP ]+) +Value dst_address ([\w.:/\d]+) +Value pref_src (\S+?) +Value gateway (\S+) +Value gateway_status (.+) +Value distance (\d+) +Value scope (\d+) +Value target_scope (\d+) + +Start + ^\s?${index}\s${flags}\s\sdst-address=${dst_address}(\spref-src=${pref_src})?\sgateway=${gateway}\sgateway-status=${gateway_status}\sdistance=${distance}\sscope=${scope}(\starget-scope=${target_scope})?.*$$ -> Record + ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm deleted file mode 100644 index 67ae2ae77e..0000000000 --- a/ntc_templates/templates/mikrotik_routeros_ip_route_print_without-paging.textfsm +++ /dev/null @@ -1,15 +0,0 @@ -Value Key index (\d+) -Value flags ([XADCSrbomBUP ]+) -Value dst_address ([\w.:/\d]+) -Value pref_src (\S+?) -Value gateway (\S+) -Value distance (\d+) - -Start - ^ # +DST-ADDRESS +PREF-SRC +GATEWAY +DISTANCE$$ -> RoutesTable - ^ # +DST-ADDRESS +GATEWAY +DISTANCE$$ -> RoutesTable - -RoutesTable - ^\s?${index}\s+(${flags})?\s\s${dst_address}\s+${pref_src}\s+${gateway}\s+${distance}$$ -> Record - ^\s?${index}\s+(${flags})?\s\s${dst_address}\s+${gateway}\s+${distance}$$ -> Record - ^. -> Error diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw new file mode 100644 index 0000000000..45d07e1fc9 --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw @@ -0,0 +1,7 @@ + 0 A S dst-address=0.0.0.0/0 gateway=23.90.232.243 gateway-status=23.90.232.243 reachable via pppoe-out1 distance=10 scope=30 target-scope=10 + 1 Db dst-address=0.0.0.0/0 gateway=23.90.232.243 gateway-status=23.90.232.243 reachable via pppoe-out1 distance=20 scope=40 target-scope=10 bgp-as-path=57809 bgp-local-pref=300 bgp-origin=incomplete received-from=23.90.232.243-peer + 2 DS dst-address=0.0.0.0/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=100 scope=30 target-scope=10 + 3 ADC dst-address=23.90.232.243/32 pref-src=100.95.1.127 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=10 + 4 ADC dst-address=185.163.212.156/30 pref-src=185.163.212.157 gateway=dmz-1-vlan gateway-status=dmz-1-vlan reachable distance=0 scope=10 + 5 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.1 gateway=bridge-lan gateway-status=bridge-lan reachable distance=0 scope=10 + 6 A S dst-address=0.0.0.0/0 gateway=185.138.116.222,185.138.116.223 gateway-status=185.138.116.222 unreachable,185.138.116.223 reachable via pppoe-out1 distance=10 scope=30 target-scope=10 diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml new file mode 100644 index 0000000000..e5e863f991 --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - index: "0" + flags: "A S" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "23.90.232.243" + gateway_status: "23.90.232.243 reachable via pppoe-out1" + distance: "10" + scope: "30" + target_scope: "10" + - index: "1" + flags: " Db" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "23.90.232.243" + gateway_status: "23.90.232.243 reachable via pppoe-out1" + distance: "20" + scope: "40" + target_scope: "10" + - index: "2" + flags: " DS" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "pppoe-out1" + gateway_status: "pppoe-out1 reachable" + distance: "100" + scope: "30" + target_scope: "10" + - index: "3" + flags: "ADC" + dst_address: "23.90.232.243/32" + pref_src: "100.95.1.127" + gateway: "pppoe-out1" + gateway_status: "pppoe-out1 reachable" + distance: "0" + scope: "10" + target_scope: "" + - index: "4" + flags: "ADC" + dst_address: "185.163.212.156/30" + pref_src: "185.163.212.157" + gateway: "dmz-1-vlan" + gateway_status: "dmz-1-vlan reachable" + distance: "0" + scope: "10" + target_scope: "" + - index: "5" + flags: "ADC" + dst_address: "192.168.1.0/24" + pref_src: "192.168.1.1" + gateway: "bridge-lan" + gateway_status: "bridge-lan reachable" + distance: "0" + scope: "10" + target_scope: "" + - index: "6" + flags: "A S" + dst_address: "0.0.0.0/0" + pref_src: "" + gateway: "185.138.116.222,185.138.116.223" + gateway_status: "185.138.116.222 unreachable,185.138.116.223 reachable via pppoe-out1" + distance: "10" + scope: "30" + target_scope: "10" diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw new file mode 100644 index 0000000000..53a054ec3a --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw @@ -0,0 +1,5 @@ + 0 ADS dst-address=::/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=100 scope=30 target-scope=10 + 1 ADC dst-address=2a05:c100:7::/64 gateway=bridge-lan gateway-status=bridge-lan reachable distance=0 scope=10 + 2 S dst-address=9bb8:baac:d400::/38 gateway=ether4 gateway-status=ether4 unreachable distance=44 scope=30 target-scope=10 + 3 X S dst-address=ec64:a7fd:bc1c:14c:7960:5000::/84 gateway=ether2 gateway-status=ether2 inactive distance=7 scope=30 target-scope=10 + 4 S dst-address=fd79:f1d4:a400::/39 gateway=ether5 gateway-status=ether5 unreachable distance=24 scope=30 target-scope=10 diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml new file mode 100644 index 0000000000..2c11b0c516 --- /dev/null +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - index: "0" + flags: "ADS" + dst_address: "::/0" + pref_src: "" + gateway: "pppoe-out1" + gateway_status: "pppoe-out1 reachable" + distance: "100" + scope: "30" + target_scope: "10" + - index: "1" + flags: "ADC" + dst_address: "2a05:c100:7::/64" + pref_src: "" + gateway: "bridge-lan" + gateway_status: "bridge-lan reachable" + distance: "0" + scope: "10" + target_scope: "" + - index: "2" + flags: " S" + dst_address: "9bb8:baac:d400::/38" + pref_src: "" + gateway: "ether4" + gateway_status: "ether4 unreachable" + distance: "44" + scope: "30" + target_scope: "10" + - index: "3" + flags: "X S" + dst_address: "ec64:a7fd:bc1c:14c:7960:5000::/84" + pref_src: "" + gateway: "ether2" + gateway_status: "ether2 inactive" + distance: "7" + scope: "30" + target_scope: "10" + - index: "4" + flags: " S" + dst_address: "fd79:f1d4:a400::/39" + pref_src: "" + gateway: "ether5" + gateway_status: "ether5 unreachable" + distance: "24" + scope: "30" + target_scope: "10" diff --git a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw deleted file mode 100644 index b81548f32d..0000000000 --- a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.raw +++ /dev/null @@ -1,7 +0,0 @@ -Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit - # DST-ADDRESS PREF-SRC GATEWAY DISTANCE - 0 A S 0.0.0.0/0 23.90.232.243 10 - 1 Db 0.0.0.0/0 23.90.232.243 20 - 2 DS 0.0.0.0/0 pppoe-out1 100 - 3 ADC 23.90.232.243/32 100.95.1.127 pppoe-out1 0 - 4 ADC 185.163.212.156/30 185.163.212.157 dmz-1-vlan 0 diff --git a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml b/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml deleted file mode 100644 index 3e6b9404ac..0000000000 --- a/tests/mikrotik_routeros/ip_route_print_without-paging/mikrotik_routeros_ip_route_print_without-paging.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -parsed_sample: - - index: "0" - flags: "A S" - dst_address: "0.0.0.0/0" - pref_src: "" - gateway: "23.90.232.243" - distance: "10" - - index: "1" - flags: "Db" - dst_address: "0.0.0.0/0" - pref_src: "" - gateway: "23.90.232.243" - distance: "20" - - index: "2" - flags: "DS" - dst_address: "0.0.0.0/0" - pref_src: "" - gateway: "pppoe-out1" - distance: "100" - - index: "3" - flags: "ADC" - dst_address: "23.90.232.243/32" - pref_src: "100.95.1.127" - gateway: "pppoe-out1" - distance: "0" - - index: "4" - flags: "ADC" - dst_address: "185.163.212.156/30" - pref_src: "185.163.212.157" - gateway: "dmz-1-vlan" - distance: "0" From 593294e5231955b8ccafdc5ecaf7afdedda5d9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 12 Oct 2022 16:10:04 +0200 Subject: [PATCH 297/412] Fix Zyxel sys atsh template when there message before data (#1197) --- ntc_templates/templates/zyxel_os_sys_atsh.textfsm | 1 + .../{zyxel_os_sys_atsh.raw => zyxel_os_sys_atsh_1.raw} | 0 .../{zyxel_os_sys_atsh.yml => zyxel_os_sys_atsh_1.yml} | 0 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.raw | 10 ++++++++++ tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.yml | 8 ++++++++ 5 files changed, 19 insertions(+) rename tests/zyxel_os/sys_atsh/{zyxel_os_sys_atsh.raw => zyxel_os_sys_atsh_1.raw} (100%) rename tests/zyxel_os/sys_atsh/{zyxel_os_sys_atsh.yml => zyxel_os_sys_atsh_1.yml} (100%) create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.raw create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.yml diff --git a/ntc_templates/templates/zyxel_os_sys_atsh.textfsm b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm index 4a45f19038..08231399bf 100644 --- a/ntc_templates/templates/zyxel_os_sys_atsh.textfsm +++ b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm @@ -6,6 +6,7 @@ Value SERIAL_NUMBER (\S+) Value MAC_ADDRESS ([0-9A-F]{12}) Start + ^\d{4}-\d{2}-\d{2}.* -> Next ^Firmware\sVersion\s*:\s${VERSION} ^Bootbase\sVersion\s*:\s${BOOT_VERSION} ^Vendor\sName\s*:\s${VENDOR} diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_1.raw similarity index 100% rename from tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.raw rename to tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_1.raw diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_1.yml similarity index 100% rename from tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh.yml rename to tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_1.yml diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.raw b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.raw new file mode 100644 index 0000000000..7523ee7a21 --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.raw @@ -0,0 +1,10 @@ +2022-10-03 17:47:51 sys<25123>, zcfg_msg.c:235, _msg_recv(), WARNING: EID = 51, select() wait forever, EID = 1, type = 16 with reply, oid = 127956 +Firmware Version : V5.30(ABSB.5)C0 +Bootbase Version : V1.45 | 08/02/2021 17:45:45 +Vendor Name : Zyxel Communications Corp. +Product Model : VMG1312-T20B +Serial Number : S220Y04043424 +First MAC Address : 5C648E88D4E0 +Last MAC Address : 5C648E88D4E7 +MAC Address Quantity : 08 +Default Country Code : E1 diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.yml b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.yml new file mode 100644 index 0000000000..1fd339f437 --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh_2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - version: "V5.30(ABSB.5)C0" + boot_version: "V1.45 | 08/02/2021 17:45:45" + vendor: "Zyxel Communications Corp." + hardware_model: "VMG1312-T20B" + serial_number: "S220Y04043424" + mac_address: "5C648E88D4E0" From f2df286d95cfd45aa2a0b44031ce7d5d0f2c2f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 03:34:24 +0200 Subject: [PATCH 298/412] MikroTik routeros add comment field to route print template (#1210) --- ...krotik_routeros_ip_route_print_terse.textfsm | 3 ++- ...krotik_routeros_ip_route_print_terseIPv4.raw | 1 + ...krotik_routeros_ip_route_print_terseIPv4.yml | 17 +++++++++++++++++ ...krotik_routeros_ip_route_print_terseIPv6.yml | 5 +++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm index 2b84ececdf..14322970f0 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm @@ -1,5 +1,6 @@ Value Key index (\d+) Value flags ([XADCSrbomBUP ]+) +Value comment (.*) Value dst_address ([\w.:/\d]+) Value pref_src (\S+?) Value gateway (\S+) @@ -9,5 +10,5 @@ Value scope (\d+) Value target_scope (\d+) Start - ^\s?${index}\s${flags}\s\sdst-address=${dst_address}(\spref-src=${pref_src})?\sgateway=${gateway}\sgateway-status=${gateway_status}\sdistance=${distance}\sscope=${scope}(\starget-scope=${target_scope})?.*$$ -> Record + ^\s?${index}\s${flags}\s\s(comment=${comment}\s)?dst-address=${dst_address}(\spref-src=${pref_src})?\sgateway=${gateway}\sgateway-status=${gateway_status}\sdistance=${distance}\sscope=${scope}(\starget-scope=${target_scope})?.*$$ -> Record ^. -> Error diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw index 45d07e1fc9..6998594a9c 100644 --- a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw @@ -5,3 +5,4 @@ 4 ADC dst-address=185.163.212.156/30 pref-src=185.163.212.157 gateway=dmz-1-vlan gateway-status=dmz-1-vlan reachable distance=0 scope=10 5 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.1 gateway=bridge-lan gateway-status=bridge-lan reachable distance=0 scope=10 6 A S dst-address=0.0.0.0/0 gateway=185.138.116.222,185.138.116.223 gateway-status=185.138.116.222 unreachable,185.138.116.223 reachable via pppoe-out1 distance=10 scope=30 target-scope=10 + 7 S comment=Test IP-220929-95531 dst-address=10.199.199.75/32 gateway=pppoe-out1 gateway-status=pppoe-out1 unreachable distance=10 scope=30 target-scope=10 diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml index e5e863f991..df39d6a551 100644 --- a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.yml @@ -2,6 +2,7 @@ parsed_sample: - index: "0" flags: "A S" + comment: "" dst_address: "0.0.0.0/0" pref_src: "" gateway: "23.90.232.243" @@ -11,6 +12,7 @@ parsed_sample: target_scope: "10" - index: "1" flags: " Db" + comment: "" dst_address: "0.0.0.0/0" pref_src: "" gateway: "23.90.232.243" @@ -20,6 +22,7 @@ parsed_sample: target_scope: "10" - index: "2" flags: " DS" + comment: "" dst_address: "0.0.0.0/0" pref_src: "" gateway: "pppoe-out1" @@ -29,6 +32,7 @@ parsed_sample: target_scope: "10" - index: "3" flags: "ADC" + comment: "" dst_address: "23.90.232.243/32" pref_src: "100.95.1.127" gateway: "pppoe-out1" @@ -38,6 +42,7 @@ parsed_sample: target_scope: "" - index: "4" flags: "ADC" + comment: "" dst_address: "185.163.212.156/30" pref_src: "185.163.212.157" gateway: "dmz-1-vlan" @@ -47,6 +52,7 @@ parsed_sample: target_scope: "" - index: "5" flags: "ADC" + comment: "" dst_address: "192.168.1.0/24" pref_src: "192.168.1.1" gateway: "bridge-lan" @@ -56,6 +62,7 @@ parsed_sample: target_scope: "" - index: "6" flags: "A S" + comment: "" dst_address: "0.0.0.0/0" pref_src: "" gateway: "185.138.116.222,185.138.116.223" @@ -63,3 +70,13 @@ parsed_sample: distance: "10" scope: "30" target_scope: "10" + - index: "7" + flags: " S" + comment: "Test IP-220929-95531" + dst_address: "10.199.199.75/32" + pref_src: "" + gateway: "pppoe-out1" + gateway_status: "pppoe-out1 unreachable" + distance: "10" + scope: "30" + target_scope: "10" diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml index 2c11b0c516..fe788d7ebe 100644 --- a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.yml @@ -2,6 +2,7 @@ parsed_sample: - index: "0" flags: "ADS" + comment: "" dst_address: "::/0" pref_src: "" gateway: "pppoe-out1" @@ -11,6 +12,7 @@ parsed_sample: target_scope: "10" - index: "1" flags: "ADC" + comment: "" dst_address: "2a05:c100:7::/64" pref_src: "" gateway: "bridge-lan" @@ -20,6 +22,7 @@ parsed_sample: target_scope: "" - index: "2" flags: " S" + comment: "" dst_address: "9bb8:baac:d400::/38" pref_src: "" gateway: "ether4" @@ -29,6 +32,7 @@ parsed_sample: target_scope: "10" - index: "3" flags: "X S" + comment: "" dst_address: "ec64:a7fd:bc1c:14c:7960:5000::/84" pref_src: "" gateway: "ether2" @@ -38,6 +42,7 @@ parsed_sample: target_scope: "10" - index: "4" flags: " S" + comment: "" dst_address: "fd79:f1d4:a400::/39" pref_src: "" gateway: "ether5" From 8edf576c72214c6f3a4979cc01731bcc0a9bb75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 03:35:10 +0200 Subject: [PATCH 299/412] Update Ubiquiti Edgerouter show dhcp leases template (#1209) --- .../ubiquiti_edgerouter_show_dhcp_leases.textfsm | 5 +++-- .../ubiquiti_edgerouter_show_dhcp_leases.raw | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm index 6f0b9f67ec..f444a1df1b 100644 --- a/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcp_leases.textfsm @@ -6,7 +6,8 @@ Value HOST (\S+) Start ^IP\saddress\s+Hardware\sAddress\s+Lease\sexpiration\s+Pool\s+Client\sName\s*$$ - ^-+\s+-+\s+-+\s+-+\s+-+\s*$$ + ^-+\s+-+\s+-+\s+-+\s+-+\s*$$ -> Entries + +Entries ^${IP}\s+${MAC}\s+${EXPIRATION}\s+${POOL}\s+${HOST}\s*$$ -> Record - ^\s*$$ ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw index 1b8fad5394..6debe9eaa2 100644 --- a/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw +++ b/tests/ubiquiti_edgerouter/show_dhcp_leases/ubiquiti_edgerouter_show_dhcp_leases.raw @@ -1,3 +1,11 @@ +Warning: leased IP address [2886804269] not in any of the pools +Warning: leased IP address [2886804283] not in any of the pools +Warning: leased IP address [2886804287] not in any of the pools +Warning: leased IP address [2886804295] not in any of the pools +Warning: leased IP address [2886804284] not in any of the pools +Warning: leased IP address [2886804252] not in any of the pools +Warning: leased IP address [2886804248] not in any of the pools +Warning: leased IP address [2886804305] not in any of the pools IP address Hardware Address Lease expiration Pool Client Name ---------- ---------------- ---------------- ---- ----------- 125.125.15.12 00:0a:95:9d:68:16 Sep 18, 2021 5 HOSTNAME From e7e335e25fe6448fb5958933080e2963bbdcea77 Mon Sep 17 00:00:00 2001 From: elavaud Date: Wed, 26 Oct 2022 08:35:48 +0700 Subject: [PATCH 300/412] New template: Huawei - display arp brief (#1208) Co-authored-by: Edouard Lavaud --- .../huawei_vrp_display_arp_brief.textfsm | 17 +++++++++++ ntc_templates/templates/index | 1 + .../huawei_vrp_display_arp_brief.raw | 7 +++++ .../huawei_vrp_display_arp_brief.yml | 23 ++++++++++++++ .../huawei_vrp_display_arp_brief2.raw | 10 +++++++ .../huawei_vrp_display_arp_brief2.yml | 30 +++++++++++++++++++ 6 files changed, 88 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_arp_brief.textfsm create mode 100644 tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.raw create mode 100644 tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.yml create mode 100644 tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.raw create mode 100644 tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.yml diff --git a/ntc_templates/templates/huawei_vrp_display_arp_brief.textfsm b/ntc_templates/templates/huawei_vrp_display_arp_brief.textfsm new file mode 100644 index 0000000000..cd4c6ad644 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_arp_brief.textfsm @@ -0,0 +1,17 @@ +Value IP_ADDRESS (\d+.\d+.\d+.\d+) +Value MAC_ADDRESS ((\w+-?)+) +Value EXPIRE (\d+) +Value TYPE (I\s-|[DS][F-][\d\s]) +Value INTERFACE (\S+) +Value VLAN (\d+/(\d+|-)) +Value PVC (\S+) + +Start + ^\s*IP\sADDRESS.+$$ -> Next + ^\s+VLAN.+$$ -> Next + ^-+ -> Next + ^\s*\d+.\d+.\d+.\d+ -> Continue.Record + ^\s*${IP_ADDRESS}\s+(${MAC_ADDRESS}\s+)?(${EXPIRE}\s+)?${TYPE}\s+${INTERFACE}(\s+${VLAN})?(\s+${PVC})?\s*$$ + ^\s*${VLAN}(\s+${PVC})?\s*$$ + ^Total:.+$$ -> Next + ^.*$$ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ad7efc0d21..240d49c723 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -467,6 +467,7 @@ huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] in huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] +huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] diff --git a/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.raw b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.raw new file mode 100644 index 0000000000..18db0c8ac8 --- /dev/null +++ b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.raw @@ -0,0 +1,7 @@ +IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VLAN/CEVLAN +------------------------------------------------------------------------------ +192.168.120.251 60de-4474-9640 I - Vlanif1 +192.168.120.1 7054-f5df-9b40 3 D-0 GE0/0/0 1/- +192.168.120.252 04f9-3895-8300 19 D-0 GE0/0/0 1/- +------------------------------------------------------------------------------ +Total:3 Dynamic:2 Static:0 Interface:1 diff --git a/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.yml b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.yml new file mode 100644 index 0000000000..5cad6946a2 --- /dev/null +++ b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - ip_address: "192.168.120.251" + mac_address: "60de-4474-9640" + expire: "" + type: "I -" + interface: "Vlanif1" + vlan: "" + pvc: "" + - ip_address: "192.168.120.1" + mac_address: "7054-f5df-9b40" + expire: "3" + type: "D-0" + interface: "GE0/0/0" + vlan: "1/-" + pvc: "" + - ip_address: "192.168.120.252" + mac_address: "04f9-3895-8300" + expire: "19" + type: "D-0" + interface: "GE0/0/0" + vlan: "1/-" + pvc: "" diff --git a/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.raw b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.raw new file mode 100644 index 0000000000..586657173f --- /dev/null +++ b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.raw @@ -0,0 +1,10 @@ +IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE + VLAN/CEVLAN(SIP/DIP) PVC +------------------------------------------------------------------------------ +192.168.1.1 fc73-fb9e-601c I - Vlanif1 +192.168.1.118 a078-17b2-7bc0 20 D-0 Wlan-Bss7 1/- +192.168.120.1 fc73-fb9e-601c I - Vlanif2 + 10/- +100.95.15.241 fc73-fb9e-601c I - Vlanif100 +------------------------------------------------------------------------------ +Total:4 Dynamic:1 Static:0 Interface:3 diff --git a/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.yml b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.yml new file mode 100644 index 0000000000..94fc13822e --- /dev/null +++ b/tests/huawei_vrp/display_arp_brief/huawei_vrp_display_arp_brief2.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - ip_address: "192.168.1.1" + mac_address: "fc73-fb9e-601c" + expire: "" + type: "I -" + interface: "Vlanif1" + vlan: "" + pvc: "" + - ip_address: "192.168.1.118" + mac_address: "a078-17b2-7bc0" + expire: "20" + type: "D-0" + interface: "Wlan-Bss7" + vlan: "1/-" + pvc: "" + - ip_address: "192.168.120.1" + mac_address: "fc73-fb9e-601c" + expire: "" + type: "I -" + interface: "Vlanif2" + vlan: "10/-" + pvc: "" + - ip_address: "100.95.15.241" + mac_address: "fc73-fb9e-601c" + expire: "" + type: "I -" + interface: "Vlanif100" + vlan: "" + pvc: "" From 7b690d5e8d3a78c23e2ad26c2acd96b864aa3b09 Mon Sep 17 00:00:00 2001 From: charlesmonson <32397383+charlesmonson@users.noreply.github.com> Date: Tue, 25 Oct 2022 20:36:31 -0500 Subject: [PATCH 301/412] Fix cisco_xr_show_arp with Management/RP interface present (#1207) * Fix show arp template to allow presense of 'RP' in CPU when Mgmt interface is in use * Fix show arp template to allow presense of 'RP' in CPU when Mgmt interface is in use --- .../templates/cisco_xr_show_arp.textfsm | 2 +- .../cisco_xr/show_arp/cisco_xr_show_arp2.raw | 21 ++++++ .../cisco_xr/show_arp/cisco_xr_show_arp2.yml | 65 +++++++++++++++++++ 3 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_xr/show_arp/cisco_xr_show_arp2.raw create mode 100644 tests/cisco_xr/show_arp/cisco_xr_show_arp2.yml diff --git a/ntc_templates/templates/cisco_xr_show_arp.textfsm b/ntc_templates/templates/cisco_xr_show_arp.textfsm index 374031fa77..03cf192160 100644 --- a/ntc_templates/templates/cisco_xr_show_arp.textfsm +++ b/ntc_templates/templates/cisco_xr_show_arp.textfsm @@ -4,7 +4,7 @@ Value Required MAC (\S+) Value Required STATE (\S+) Value Required TYPE (\S+) Value Required INTERFACE (\S+) -Value Filldown CPU (\d+/\d+/CPU\d+$) +Value Filldown CPU (\d+/\S*\d+/CPU\d+$) Start # Match the timestamp at beginning of command output diff --git a/tests/cisco_xr/show_arp/cisco_xr_show_arp2.raw b/tests/cisco_xr/show_arp/cisco_xr_show_arp2.raw new file mode 100644 index 0000000000..7947f1def9 --- /dev/null +++ b/tests/cisco_xr/show_arp/cisco_xr_show_arp2.raw @@ -0,0 +1,21 @@ + +Mon Oct 17 02:44:29.814 UTC + +------------------------------------------------------------------------------- +0/0/CPU0 +------------------------------------------------------------------------------- +Address Age Hardware Addr State Type Interface +192.0.2.1 01:31:14 ca01.1d8b.0008 Dynamic ARPA GigabitEthernet0/0/0/0 +192.0.2.2 01:46:18 ca02.1d99.0008 Dynamic ARPA GigabitEthernet0/0/0/0 +192.0.2.3 01:46:16 ca03.1da7.0008 Dynamic ARPA GigabitEthernet0/0/0/0 +192.0.2.4 01:46:15 ca04.1db5.0008 Dynamic ARPA GigabitEthernet0/0/0/0 +192.0.2.5 01:46:13 ca05.1dc3.0008 Dynamic ARPA GigabitEthernet0/0/0/0 +192.0.2.10 - 0c99.6869.0003 Interface ARPA GigabitEthernet0/0/0/0 +192.0.2.11 01:43:41 0ca1.f3ee.0ba0 Dynamic ARPA GigabitEthernet0/0/0/0 + +------------------------------------------------------------------------------- +0/RP0/CPU0 +------------------------------------------------------------------------------- +Address Age Hardware Addr State Type Interface +192.168.57.1 00:00:02 5254.004e.1156 Dynamic ARPA MgmtEth0/RP0/CPU0/0 +192.168.57.10 - 0c99.6869.0000 Interface ARPA MgmtEth0/RP0/CPU0/0 \ No newline at end of file diff --git a/tests/cisco_xr/show_arp/cisco_xr_show_arp2.yml b/tests/cisco_xr/show_arp/cisco_xr_show_arp2.yml new file mode 100644 index 0000000000..cfe27cf699 --- /dev/null +++ b/tests/cisco_xr/show_arp/cisco_xr_show_arp2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - address: "192.0.2.1" + age: "01:31:14" + mac: "ca01.1d8b.0008" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.2" + age: "01:46:18" + mac: "ca02.1d99.0008" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.3" + age: "01:46:16" + mac: "ca03.1da7.0008" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.4" + age: "01:46:15" + mac: "ca04.1db5.0008" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.5" + age: "01:46:13" + mac: "ca05.1dc3.0008" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.10" + age: "-" + mac: "0c99.6869.0003" + state: "Interface" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.0.2.11" + age: "01:43:41" + mac: "0ca1.f3ee.0ba0" + state: "Dynamic" + type: "ARPA" + interface: "GigabitEthernet0/0/0/0" + cpu: "0/0/CPU0" + - address: "192.168.57.1" + age: "00:00:02" + mac: "5254.004e.1156" + state: "Dynamic" + type: "ARPA" + interface: "MgmtEth0/RP0/CPU0/0" + cpu: "0/RP0/CPU0" + - address: "192.168.57.10" + age: "-" + mac: "0c99.6869.0000" + state: "Interface" + type: "ARPA" + interface: "MgmtEth0/RP0/CPU0/0" + cpu: "0/RP0/CPU0" From 6a585f21084cb36c70443352255d3182a7d1c5bc Mon Sep 17 00:00:00 2001 From: cuong-nguyenduy Date: Wed, 26 Oct 2022 09:41:18 +0800 Subject: [PATCH 302/412] Fix Huawei VRP `display version`template (#1205) * Fix Huawei VRP `display version` --- .../huawei_vrp_display_version.textfsm | 4 ++- .../huawei_vrp_display_version.yml | 1 + .../huawei_vrp_display_version1.yml | 1 + .../huawei_vrp_display_version2.yml | 1 + .../huawei_vrp_display_version3.raw | 26 +++++++++++++++++++ .../huawei_vrp_display_version3.yml | 7 +++++ 6 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version3.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml diff --git a/ntc_templates/templates/huawei_vrp_display_version.textfsm b/ntc_templates/templates/huawei_vrp_display_version.textfsm index f704fa9a3f..6d6128ec62 100644 --- a/ntc_templates/templates/huawei_vrp_display_version.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_version.textfsm @@ -2,8 +2,10 @@ Value VRP_VERSION (\S+) Value PRODUCT_VERSION (.+) Value MODEL (.+) Value UPTIME (.+) +Value PATCH_VERSION (\S+) Start ^.*software,\s+Version\s+${VRP_VERSION}\s+\(${PRODUCT_VERSION}\) - ^HUAWEI\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$ \ No newline at end of file + ^(HUAWEI|Huawei)\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$ + ^Patch\s+[Vv]ersion\s*:\s+${PATCH_VERSION} diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml index ec3eaa1c2a..d1d3c91d7f 100644 --- a/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml @@ -4,3 +4,4 @@ parsed_sample: product_version: "NE40E V800R011C00SPC200" model: "NE40E-X2-M8A" uptime: "161 days, 0 hour, 20 minutes" + patch_version: "" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml index 7eaa65efa6..c435af9d0d 100644 --- a/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml @@ -4,3 +4,4 @@ parsed_sample: product_version: "CX600 V800R007C10SPC100" model: "CX600-M2E" uptime: "266 days, 8 hours, 59 minutes" + patch_version: "V800R007SPH019" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml index ebbc4d2603..dbf1f9aea9 100644 --- a/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml @@ -4,3 +4,4 @@ parsed_sample: product_version: "ATN 910C-B V300R003C10SPC500" model: "ATN 910C-B" uptime: "358 days, 16 hours, 59 minutes" + patch_version: "" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version3.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.raw new file mode 100644 index 0000000000..77522cb1d7 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.raw @@ -0,0 +1,26 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 5.170 (AR6280 V300R019C10SPC300) +Copyright (C) 2011-2020 HUAWEI TECH CO., LTD +Huawei AR6280 Router uptime is 60 weeks, 4 days, 11 hours, 20 minutes +BKP 0 version information: +1. PCB Version : AR01BAK2B VER.A +2. If Supporting PoE : Yes +3. Board Type : AR6280 +4. MPU Slot Quantity : 1 +5. LPU Slot Quantity : 8 + +MPU 11(Master) : uptime is 60 weeks, 4 days, 11 hours, 19 minutes +SDRAM Memory Size : 8192 M bytes +Flash 0 Memory Size : 2048 M bytes +Flash 1 Memory Size : 32 M bytes +MPU version information : +1. PCB Version : SRU-400H VER.A +2. MAB Version : 1 +3. Board Type : SRU-400H +4. CPLD0 Version : 124 +5. BootROM Version : 1 + +FAN version information : +1. PCB Version : AR01DF05A VER.A +2. Board Type : FAN +3. Software Version : 108 diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml new file mode 100644 index 0000000000..2d686ce0b8 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - vrp_version: "5.170" + product_version: "AR6280 V300R019C10SPC300" + model: "AR6280 Router" + uptime: "60 weeks, 4 days, 11 hours, 20 minutes" + patch_version: "" From d4897a4d6a13952b45593ef6a9e597ea2b2bf197 Mon Sep 17 00:00:00 2001 From: cuong-nguyenduy Date: Wed, 26 Oct 2022 09:41:44 +0800 Subject: [PATCH 303/412] Fix Cisco NXOS `display inventory` (#1206) Reordering the order of Regex such that the more specific will be used before the more generic ones --- .../cisco_nxos_show_inventory.textfsm | 3 +- .../cisco_nxos_show_inventory2.raw | 179 +++++++++++ .../cisco_nxos_show_inventory2.yml | 302 ++++++++++++++++++ 3 files changed, 482 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.raw create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.yml diff --git a/ntc_templates/templates/cisco_nxos_show_inventory.textfsm b/ntc_templates/templates/cisco_nxos_show_inventory.textfsm index e36f449f44..75198fe2f0 100644 --- a/ntc_templates/templates/cisco_nxos_show_inventory.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_inventory.textfsm @@ -8,11 +8,10 @@ Start ^NAME:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" ^NAME:\s+${NAME},\s+DESCR:\s+${DESCR} ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN:\s+${SN} -> Record - ^PID:\s+,.*VID:\s+${VID}.*SN: -> Record ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN: -> Record ^PID:\s+,.*VID:\s+${VID}.*SN:\s+${SN} -> Record + ^PID:\s+,.*VID:\s+${VID}.*SN: -> Record ^PID:\s+${PID}.*,.*VID:\s+${VID}.* ^PID:\s+,.*VID:\s+${VID}.* ^.*SN:\s+${SN} -> Record ^.*SN: -> Record - diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.raw b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.raw new file mode 100644 index 0000000000..1b0e2e1b03 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.raw @@ -0,0 +1,179 @@ +NAME: "Chassis", DESCR: "Nexus9000 93180YC-EX chassis" +PID: N9K-C93180YC-EX , VID: V03 , SN: FDO223607FK + +NAME: "Slot 1", DESCR: "48x10/25G + 6x40/100G Ethernet Module" +PID: N9K-C93180YC-EX , VID: V03 , SN: FDO223607FK + +NAME: "Power Supply 1", DESCR: "Nexus9000 93180YC-EX chassis Power Supply" +PID: NXA-PAC-650W-PE , VID: V02 , SN: ART2227FNDG + +NAME: "Power Supply 2", DESCR: "Nexus9000 93180YC-EX chassis Power Supply" +PID: NXA-PAC-650W-PE , VID: V02 , SN: ART2227FNDR + +NAME: "Fan 1", DESCR: "Nexus9000 93180YC-EX chassis Fan Module" +PID: NXA-FAN-30CFM-F , VID: V01 , SN: N/A + +NAME: "Fan 2", DESCR: "Nexus9000 93180YC-EX chassis Fan Module" +PID: NXA-FAN-30CFM-F , VID: V01 , SN: N/A + +NAME: "Fan 3", DESCR: "Nexus9000 93180YC-EX chassis Fan Module" +PID: NXA-FAN-30CFM-F , VID: V01 , SN: N/A + +NAME: "Fan 4", DESCR: "Nexus9000 93180YC-EX chassis Fan Module" +PID: NXA-FAN-30CFM-F , VID: V01 , SN: N/A + +NAME: Ethernet1/1, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088868 + +NAME: Ethernet1/2, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088875 + +NAME: Ethernet1/3, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088869 + +NAME: Ethernet1/4, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088877 + +NAME: Ethernet1/5, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088866 + +NAME: Ethernet1/6, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088876 + +NAME: Ethernet1/7, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088867 + +NAME: Ethernet1/8, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088870 + +NAME: Ethernet1/9, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088865 + +NAME: Ethernet1/10, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088872 + +NAME: Ethernet1/11, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088863 + +NAME: Ethernet1/12, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088871 + +NAME: Ethernet1/13, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088864 + +NAME: Ethernet1/14, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088874 + +NAME: Ethernet1/15, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088861 + +NAME: Ethernet1/16, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088873 + +NAME: Ethernet1/17, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088862 + +NAME: Ethernet1/18, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088879 + +NAME: Ethernet1/19, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088860 + +NAME: Ethernet1/20, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804088878 + +NAME: Ethernet1/21, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811032996 + +NAME: Ethernet1/22, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811033037 + +NAME: Ethernet1/23, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811028643 + +NAME: Ethernet1/24, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811026706 + +NAME: Ethernet1/25, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109689 + +NAME: Ethernet1/26, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098192 + +NAME: Ethernet1/27, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109688 + +NAME: Ethernet1/28, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098190 + +NAME: Ethernet1/29, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109685 + +NAME: Ethernet1/30, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098218 + +NAME: Ethernet1/31, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109687 + +NAME: Ethernet1/32, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098193 + +NAME: Ethernet1/33, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109684 + +NAME: Ethernet1/34, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098194 + +NAME: Ethernet1/35, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109686 + +NAME: Ethernet1/36, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098195 + +NAME: Ethernet1/37, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: C2004051466 + +NAME: Ethernet1/38, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098196 + +NAME: Ethernet1/39, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109683 + +NAME: Ethernet1/40, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804103664 + +NAME: Ethernet1/41, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804109681 + +NAME: Ethernet1/42, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098198 + +NAME: Ethernet1/43, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098197 + +NAME: Ethernet1/44, DESCR: FiberStore +PID: , VID: SFP-10GSR-85, SN: G1804098199 + +NAME: Ethernet1/45, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811032804 + +NAME: Ethernet1/46, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811032154 + +NAME: Ethernet1/47, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1809025918 + +NAME: Ethernet1/48, DESCR: FS +PID: , VID: SFP-10GSR-85, SN: F1811026574 + +NAME: Ethernet1/49, DESCR: CISCO-FOIT +PID: QSFP-40/100-SRBD , VID: SFBR-89BDDZ-CS2, SN: FOF2229N3NH + +NAME: Ethernet1/50, DESCR: CISCO-FOIT +PID: QSFP-40/100-SRBD , VID: SFBR-89BDDZ-CS2, SN: FOF2229N3NJ + +NAME: Ethernet1/53, DESCR: CISCO-AVAGO +PID: QSFP-40G-SR-BD , VID: AFBR-79EBPZ-CS2, SN: AVM2210U0RA + +NAME: Ethernet1/54, DESCR: CISCO-AVAGO +PID: QSFP-40G-SR-BD , VID: AFBR-79EBPZ-CS2, SN: AVM2211U2VW diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.yml b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.yml new file mode 100644 index 0000000000..191a82fc1e --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory2.yml @@ -0,0 +1,302 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "Nexus9000 93180YC-EX chassis" + pid: "N9K-C93180YC-EX" + vid: "V03" + sn: "FDO223607FK" + - name: "Slot 1" + descr: "48x10/25G + 6x40/100G Ethernet Module" + pid: "N9K-C93180YC-EX" + vid: "V03" + sn: "FDO223607FK" + - name: "Power Supply 1" + descr: "Nexus9000 93180YC-EX chassis Power Supply" + pid: "NXA-PAC-650W-PE" + vid: "V02" + sn: "ART2227FNDG" + - name: "Power Supply 2" + descr: "Nexus9000 93180YC-EX chassis Power Supply" + pid: "NXA-PAC-650W-PE" + vid: "V02" + sn: "ART2227FNDR" + - name: "Fan 1" + descr: "Nexus9000 93180YC-EX chassis Fan Module" + pid: "NXA-FAN-30CFM-F" + vid: "V01" + sn: "N/A" + - name: "Fan 2" + descr: "Nexus9000 93180YC-EX chassis Fan Module" + pid: "NXA-FAN-30CFM-F" + vid: "V01" + sn: "N/A" + - name: "Fan 3" + descr: "Nexus9000 93180YC-EX chassis Fan Module" + pid: "NXA-FAN-30CFM-F" + vid: "V01" + sn: "N/A" + - name: "Fan 4" + descr: "Nexus9000 93180YC-EX chassis Fan Module" + pid: "NXA-FAN-30CFM-F" + vid: "V01" + sn: "N/A" + - name: "Ethernet1/1" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088868" + - name: "Ethernet1/2" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088875" + - name: "Ethernet1/3" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088869" + - name: "Ethernet1/4" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088877" + - name: "Ethernet1/5" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088866" + - name: "Ethernet1/6" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088876" + - name: "Ethernet1/7" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088867" + - name: "Ethernet1/8" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088870" + - name: "Ethernet1/9" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088865" + - name: "Ethernet1/10" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088872" + - name: "Ethernet1/11" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088863" + - name: "Ethernet1/12" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088871" + - name: "Ethernet1/13" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088864" + - name: "Ethernet1/14" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088874" + - name: "Ethernet1/15" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088861" + - name: "Ethernet1/16" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088873" + - name: "Ethernet1/17" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088862" + - name: "Ethernet1/18" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088879" + - name: "Ethernet1/19" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088860" + - name: "Ethernet1/20" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804088878" + - name: "Ethernet1/21" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811032996" + - name: "Ethernet1/22" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811033037" + - name: "Ethernet1/23" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811028643" + - name: "Ethernet1/24" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811026706" + - name: "Ethernet1/25" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109689" + - name: "Ethernet1/26" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098192" + - name: "Ethernet1/27" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109688" + - name: "Ethernet1/28" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098190" + - name: "Ethernet1/29" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109685" + - name: "Ethernet1/30" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098218" + - name: "Ethernet1/31" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109687" + - name: "Ethernet1/32" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098193" + - name: "Ethernet1/33" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109684" + - name: "Ethernet1/34" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098194" + - name: "Ethernet1/35" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109686" + - name: "Ethernet1/36" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098195" + - name: "Ethernet1/37" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "C2004051466" + - name: "Ethernet1/38" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098196" + - name: "Ethernet1/39" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109683" + - name: "Ethernet1/40" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804103664" + - name: "Ethernet1/41" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804109681" + - name: "Ethernet1/42" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098198" + - name: "Ethernet1/43" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098197" + - name: "Ethernet1/44" + descr: "FiberStore" + pid: "" + vid: "SFP-10GSR-85" + sn: "G1804098199" + - name: "Ethernet1/45" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811032804" + - name: "Ethernet1/46" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811032154" + - name: "Ethernet1/47" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1809025918" + - name: "Ethernet1/48" + descr: "FS" + pid: "" + vid: "SFP-10GSR-85" + sn: "F1811026574" + - name: "Ethernet1/49" + descr: "CISCO-FOIT" + pid: "QSFP-40/100-SRBD" + vid: "SFBR-89BDDZ-CS2" + sn: "FOF2229N3NH" + - name: "Ethernet1/50" + descr: "CISCO-FOIT" + pid: "QSFP-40/100-SRBD" + vid: "SFBR-89BDDZ-CS2" + sn: "FOF2229N3NJ" + - name: "Ethernet1/53" + descr: "CISCO-AVAGO" + pid: "QSFP-40G-SR-BD" + vid: "AFBR-79EBPZ-CS2" + sn: "AVM2210U0RA" + - name: "Ethernet1/54" + descr: "CISCO-AVAGO" + pid: "QSFP-40G-SR-BD" + vid: "AFBR-79EBPZ-CS2" + sn: "AVM2211U2VW" From 2965b893010faae7912b74254fccf3cb4bccac99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 03:47:22 +0200 Subject: [PATCH 304/412] Update Huawei VRP display interface brief template (#1201) --- ...huawei_vrp_display_interface_brief.textfsm | 4 +- .../huawei_vrp_display_interface_brief2.raw | 27 ++++ .../huawei_vrp_display_interface_brief2.yml | 121 ++++++++++++++++++ 3 files changed, 150 insertions(+), 2 deletions(-) create mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.raw create mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.yml diff --git a/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm index 5ca1282261..663d8f27ea 100644 --- a/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm @@ -1,6 +1,6 @@ Value INTERFACE (\S+) -Value PHY (down|\*down|up|up\(s\)) -Value PROTOCOL (down|\*down|up|up\(s\)) +Value PHY (down|[\*\^]down|up|up\(\w+\)) +Value PROTOCOL (down|[\*\^]down|up|up\(\w+\)) Value INUTI (\d*\.?\d*%|\-\-) Value OUTUTI (\d*\.?\d*%|\-\-) Value INERRORS (\d+) diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.raw b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.raw new file mode 100644 index 0000000000..1235ae7a80 --- /dev/null +++ b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.raw @@ -0,0 +1,27 @@ +PHY: Physical +*down: administratively down +(l): loopback +(s): spoofing +(b): BFD down +^down: standby +(e): ETHOAM down +(v): VirtualPort +InUti/OutUti: input utility/output utility +Interface PHY Protocol InUti OutUti inErrors outErrors +Cellular0/0/0 down down 0% 0% 0 0 +Dialer1 up up(s) -- -- 0 0 +Ethernet0/0/0 down down 0% 0% 0 0 +GigabitEthernet0/0/0 down down 0% 0% 0 0 +GigabitEthernet0/0/1 ^down down 0% 0% 0 0 +GigabitEthernet0/0/2 up(l) up 0.01% 0.01% 0 0 +GigabitEthernet0/0/3 down down 0% 0% 0 0 +GigabitEthernet0/0/4 up down 0.01% 0.01% 0 0 +GigabitEthernet0/0/5(v) up down 0.01% 0% 0 0 +NULL0 up up(s) -- -- 0 0 +Vlanif1 up up -- -- 0 0 +Vlanif2 down down -- -- 0 0 +Vlanif100 up up -- -- 0 0 +Wlan-Bss1 up up -- -- 0 0 +Wlan-Bss7 up up -- -- 0 0 +Wlan-Radio0/0/0 up up -- -- 0 0 +Wlan-Radio0/0/1 up up -- -- 0 0 diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.yml b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.yml new file mode 100644 index 0000000000..e423c96e8e --- /dev/null +++ b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief2.yml @@ -0,0 +1,121 @@ +--- +parsed_sample: + - interface: "Cellular0/0/0" + phy: "down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "Dialer1" + phy: "up" + protocol: "up(s)" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Ethernet0/0/0" + phy: "down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/0" + phy: "down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/1" + phy: "^down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/2" + phy: "up(l)" + protocol: "up" + inuti: "0.01%" + oututi: "0.01%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/3" + phy: "down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/4" + phy: "up" + protocol: "down" + inuti: "0.01%" + oututi: "0.01%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet0/0/5(v)" + phy: "up" + protocol: "down" + inuti: "0.01%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "NULL0" + phy: "up" + protocol: "up(s)" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Vlanif1" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Vlanif2" + phy: "down" + protocol: "down" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Vlanif100" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Wlan-Bss1" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Wlan-Bss7" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Wlan-Radio0/0/0" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" + - interface: "Wlan-Radio0/0/1" + phy: "up" + protocol: "up" + inuti: "--" + oututi: "--" + inerrors: "0" + outerrors: "0" From f7cc2b387e35d0f5cdfeb6c56e167f8e7f5ff284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 20:07:26 +0200 Subject: [PATCH 305/412] Add Huawei VRP display ipv6 neighbors template (#1212) --- .../huawei_vrp_display_ipv6_neighbors.textfsm | 24 +++++++++++++ ntc_templates/templates/index | 1 + ...rp_display_ipv6_neighbors_description1.raw | 17 +++++++++ ...rp_display_ipv6_neighbors_description1.yml | 24 +++++++++++++ ...rp_display_ipv6_neighbors_description2.raw | 24 +++++++++++++ ...rp_display_ipv6_neighbors_description2.yml | 35 +++++++++++++++++++ 6 files changed, 125 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_ipv6_neighbors.textfsm create mode 100644 tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.raw create mode 100644 tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.yml create mode 100644 tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.raw create mode 100644 tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.yml diff --git a/ntc_templates/templates/huawei_vrp_display_ipv6_neighbors.textfsm b/ntc_templates/templates/huawei_vrp_display_ipv6_neighbors.textfsm new file mode 100644 index 0000000000..991b7bfbef --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_ipv6_neighbors.textfsm @@ -0,0 +1,24 @@ +Value IP_ADDRESS (\S+) +Value LINK_lAYER (([\d\w]{4}-){2}[\d\w]{4}) +Value STATE (INCMP|REACH|STALE|DELAY|PROBE) +Value INTERFACE (\S+) +Value AGE (\S+) +Value VLAN ([-\d]+) +Value CEVLAN ([-\d]+) +Value VPN_NAME (\S+|\s{0}) +Value IS_ROUTER (TRUE|FALSE) +Value SECURE_FLAG (SECURE|UNSECURE|UN-SECURE) +Value NICKNAME (\S+) + +Start + ^\s*$$ + ^\s*-+\s*$$ + ^\s*IPv6\sAddress\s*:\s*\S+\s*$$ -> Continue.Record + ^\s*IPv6\sAddress\s*:\s*${IP_ADDRESS}\s*$$ + ^\s*Link-layer\s*:\s*${LINK_lAYER}\s+State\s*:\s*${STATE}\s*$$ + ^\s*Interface\s*:\s*${INTERFACE}\s+Age\s*:\s*${AGE}\s*$$ + ^\s*VLAN\s*:\s*${VLAN}\s+CEVLAN\s*:\s*${CEVLAN}\s*$$ + ^\s*(VPN\sname\s*:\s*${VPN_NAME}\s+)?Is\sRouter\s*:\s*${IS_ROUTER}\s*$$ + ^\s*Secure FLAG\s*:\s*${SECURE_FLAG}\s*(Nickname\s*:\s*${NICKNAME}\s*)?$$ + ^\s*Total:\s+\d+\s+Dynamic:\s+\d+\s+Static:\s+\d+\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 240d49c723..16b406d461 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -465,6 +465,7 @@ hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] +huawei_vrp_display_ipv6_neighbors.textfsm, .*, huawei_vrp, dis[[play]] ipv6 n[[eighbors]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] diff --git a/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.raw b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.raw new file mode 100644 index 0000000000..677c8f1978 --- /dev/null +++ b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.raw @@ -0,0 +1,17 @@ +----------------------------------------------------------------------------- +IPv6 Address : 2::1 +Link-layer : 707b-e8e9-d329 State : STALE +Interface : GE0/0/0 Age : 00h05m12s +VLAN : 200 CEVLAN: - +VPN name : Is Router: TRUE +Secure FLAG : UN-SECURE + +IPv6 Address : FE80::727B:E8FF:FEE9:D329 +Link-layer : 707b-e8e9-d329 State : STALE +Interface : GE0/0/1 Age : 00h03m02s +VLAN : 100 CEVLAN: - +Is Router: TRUE +Secure FLAG : UN-SECURE + +----------------------------------------------------------------------------- +Total: 2 Dynamic: 2 Static: 0 diff --git a/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.yml b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.yml new file mode 100644 index 0000000000..0fc62da138 --- /dev/null +++ b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description1.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - ip_address: "2::1" + link_layer: "707b-e8e9-d329" + state: "STALE" + interface: "GE0/0/0" + age: "00h05m12s" + vlan: "200" + cevlan: "-" + vpn_name: "" + is_router: "TRUE" + secure_flag: "UN-SECURE" + nickname: "" + - ip_address: "FE80::727B:E8FF:FEE9:D329" + link_layer: "707b-e8e9-d329" + state: "STALE" + interface: "GE0/0/1" + age: "00h03m02s" + vlan: "100" + cevlan: "-" + vpn_name: "" + is_router: "TRUE" + secure_flag: "UN-SECURE" + nickname: "" diff --git a/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.raw b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.raw new file mode 100644 index 0000000000..a3565992aa --- /dev/null +++ b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.raw @@ -0,0 +1,24 @@ +----------------------------------------------------------------------------- +IPv6 Address : FC00:1::2 +Link-layer : 0025-9e01-020a State : STALE +Interface : 10GE4/17/6 Age : 75 +VLAN : 35 CEVLAN : - +VPN name : - Is Router: TRUE +Secure FLAG : UNSECURE Nickname : - + +IPv6 Address : FE80::225:9EFF:FE01:20A +Link-layer : 0025-9e01-020a State : STALE +Interface : 10GE4/17/6 Age : 38 +VLAN : 35 CEVLAN : - +VPN name : - Is Router: TRUE +Secure FLAG : UNSECURE Nickname : - + +IPv6 Address : FC00:2::1 +Link-layer : 0023-0045-0067 State : INCMP +Interface : 10GE4/17/3 Age : - +VLAN : - CEVLAN : - +VPN name : - Is Router: TRUE +Secure FLAG : SECURE Nickname : - + +----------------------------------------------------------------------------- +Total: 3 Dynamic: 2 Static: 1 diff --git a/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.yml b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.yml new file mode 100644 index 0000000000..2066a71988 --- /dev/null +++ b/tests/huawei_vrp/display_ipv6_neighbors/huawei_vrp_display_ipv6_neighbors_description2.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - ip_address: "FC00:1::2" + link_layer: "0025-9e01-020a" + state: "STALE" + interface: "10GE4/17/6" + age: "75" + vlan: "35" + cevlan: "-" + vpn_name: "-" + is_router: "TRUE" + secure_flag: "UNSECURE" + nickname: "-" + - ip_address: "FE80::225:9EFF:FE01:20A" + link_layer: "0025-9e01-020a" + state: "STALE" + interface: "10GE4/17/6" + age: "38" + vlan: "35" + cevlan: "-" + vpn_name: "-" + is_router: "TRUE" + secure_flag: "UNSECURE" + nickname: "-" + - ip_address: "FC00:2::1" + link_layer: "0023-0045-0067" + state: "INCMP" + interface: "10GE4/17/3" + age: "-" + vlan: "-" + cevlan: "-" + vpn_name: "-" + is_router: "TRUE" + secure_flag: "SECURE" + nickname: "-" From cbe88aaf343efc43b3903d86ca2eeab300e11885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:56:30 +0200 Subject: [PATCH 306/412] Add Huawei VRP display startup template (#1211) --- .../huawei_vrp_display_startup.textfsm | 27 +++++++++++++++++++ ntc_templates/templates/index | 1 + .../huawei_vrp_display_startup.raw | 12 +++++++++ .../huawei_vrp_display_startup.yml | 13 +++++++++ 4 files changed, 53 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_startup.textfsm create mode 100644 tests/huawei_vrp/display_startup/huawei_vrp_display_startup.raw create mode 100644 tests/huawei_vrp/display_startup/huawei_vrp_display_startup.yml diff --git a/ntc_templates/templates/huawei_vrp_display_startup.textfsm b/ntc_templates/templates/huawei_vrp_display_startup.textfsm new file mode 100644 index 0000000000..51347be0f0 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_startup.textfsm @@ -0,0 +1,27 @@ +Value STARTUP_SYSTEM_SOFTWARE (.+) +Value NEXT_STARTUP_SYSTEM_SOFTWARE (.+) +Value BACKUP_SYSTEM_SOFTWARE_FOR_NEXT_STARTUP (.+) +Value STARTUP_SAVED_CONFIGURATION_FILE (.+) +Value NEXT_STARTUP_SAVED_CONFIGURATION_FILE (.+) +Value STARTUP_LICENSE_FILE (.+) +Value NEXT_STARTUP_LICENSE_FILE (.+) +Value STARTUP_PATCH_PACKAGE (.+) +Value NEXT_STARTUP_PATCH_PACKAGE (.+) +Value STARTUP_VOICE_FILES (.+) +Value NEXT_STARTUP_VOICE_FILES (.+) + +Start + ^\S+.*:\s*$$ -> Continue.Record + ^\S+.*:\s*$$ + ^\s+Startup\ssystem\ssoftware:\s+${STARTUP_SYSTEM_SOFTWARE}\s*$$\s*$$ + ^\s+Next\sstartup\s+system\s+software:\s+${NEXT_STARTUP_SYSTEM_SOFTWARE}\s*$$ + ^\s+Backup\s+system\s+software\s+for\s+next\sstartup:\s+${BACKUP_SYSTEM_SOFTWARE_FOR_NEXT_STARTUP}\s*$$ + ^\s+Startup\s+saved-configuration\s+file:\s+${STARTUP_SAVED_CONFIGURATION_FILE}\s*$$ + ^\s+Next\sstartup\s+saved-configuration\s+file:\s+${NEXT_STARTUP_SAVED_CONFIGURATION_FILE}\s*$$ + ^\s+Startup\s+license\s+file:\s+${STARTUP_LICENSE_FILE}\s*$$ + ^\s+Next\sstartup\s+license\s+file:\s+${NEXT_STARTUP_LICENSE_FILE}\s*$$ + ^\s+Startup\s+patch\s+package:\s+${STARTUP_PATCH_PACKAGE}\s*$$ + ^\s+Next\sstartup\s+patch\s+package:\s+${NEXT_STARTUP_PATCH_PACKAGE}\s*$$ + ^\s+Startup\s+voice-files:\s+${STARTUP_VOICE_FILES}\s*$$ + ^\s+Next\sstartup\s+voice-files:\s+${NEXT_STARTUP_VOICE_FILES}\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 16b406d461..20b2a90744 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -470,6 +470,7 @@ huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] +huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] diff --git a/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.raw b/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.raw new file mode 100644 index 0000000000..c733a1ae7c --- /dev/null +++ b/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.raw @@ -0,0 +1,12 @@ +MainBoard: + Startup system software: flash:/AR610-V300R021C00SPC200.cc + Next startup system software: flash:/AR610-V300R021C00SPC200.cc + Backup system software for next startup: null + Startup saved-configuration file: flash:/vrpcfg.zip + Next startup saved-configuration file: flash:/vrpcfg2.zip + Startup license file: null + Next startup license file: null + Startup patch package: flash:/AR610_V300R021SPH180.pat + Next startup patch package: flash:/AR610_V300R021SPH180.pat + Startup voice-files: null + Next startup voice-files: null diff --git a/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.yml b/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.yml new file mode 100644 index 0000000000..49d77eb13f --- /dev/null +++ b/tests/huawei_vrp/display_startup/huawei_vrp_display_startup.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - startup_system_software: "flash:/AR610-V300R021C00SPC200.cc" + next_startup_system_software: "flash:/AR610-V300R021C00SPC200.cc" + backup_system_software_for_next_startup: "null" + startup_saved_configuration_file: "flash:/vrpcfg.zip" + next_startup_saved_configuration_file: "flash:/vrpcfg2.zip" + startup_license_file: "null" + next_startup_license_file: "null" + startup_patch_package: "flash:/AR610_V300R021SPH180.pat" + next_startup_patch_package: "flash:/AR610_V300R021SPH180.pat" + startup_voice_files: "null" + next_startup_voice_files: "null" From c65d6e032df6e68364b4a1a9aeaa8ce44c55603a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:57:13 +0200 Subject: [PATCH 307/412] Update Huawei VRP display version template (#1200) --- .../templates/huawei_vrp_display_version.textfsm | 4 ++-- .../display_version/huawei_vrp_display_version3.yml | 2 +- .../display_version/huawei_vrp_display_version4.raw | 13 +++++++++++++ .../display_version/huawei_vrp_display_version4.yml | 7 +++++++ 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version4.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version4.yml diff --git a/ntc_templates/templates/huawei_vrp_display_version.textfsm b/ntc_templates/templates/huawei_vrp_display_version.textfsm index 6d6128ec62..ff69f73b39 100644 --- a/ntc_templates/templates/huawei_vrp_display_version.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_version.textfsm @@ -1,11 +1,11 @@ Value VRP_VERSION (\S+) Value PRODUCT_VERSION (.+) -Value MODEL (.+) +Value MODEL (((?!\sRouter).)+) Value UPTIME (.+) Value PATCH_VERSION (\S+) Start ^.*software,\s+Version\s+${VRP_VERSION}\s+\(${PRODUCT_VERSION}\) - ^(HUAWEI|Huawei)\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$ + ^H(UAWEI|uawei)\s+${MODEL}\s+(Router\s+)?uptime\s+is\s+${UPTIME}$$ ^Patch\s+[Vv]ersion\s*:\s+${PATCH_VERSION} diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml index 2d686ce0b8..744e2dff19 100644 --- a/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version3.yml @@ -2,6 +2,6 @@ parsed_sample: - vrp_version: "5.170" product_version: "AR6280 V300R019C10SPC300" - model: "AR6280 Router" + model: "AR6280" uptime: "60 weeks, 4 days, 11 hours, 20 minutes" patch_version: "" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version4.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version4.raw new file mode 100644 index 0000000000..94b6af7423 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version4.raw @@ -0,0 +1,13 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 5.170 (AR610 V300R019C13SPC200) +Copyright (C) 2011-2021 HUAWEI TECH CO., LTD +Huawei AR617VW-LTE4EA Router uptime is 0 week, 0 day, 15 hours, 16 minutes + +MPU 0(Master) : uptime is 0 week, 0 day, 15 hours, 15 minutes +SDRAM Memory Size : 1024 M bytes +Flash 0 Memory Size : 1024 M bytes +MPU version information : +1. PCB Version : AR-SRU617 VER.C +2. MAB Version : 0 +3. Board Type : AR617VW-LTE4EA +4. BootROM Version : 1 diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version4.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version4.yml new file mode 100644 index 0000000000..bed65a6de7 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version4.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - vrp_version: "5.170" + product_version: "AR610 V300R019C13SPC200" + model: "AR617VW-LTE4EA" + uptime: "0 week, 0 day, 15 hours, 16 minutes" + patch_version: "" From 6b8a049bd84db9cad4ec6150005507e99bf5a5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:57:39 +0200 Subject: [PATCH 308/412] Add Huawei VRP display sn license template (#1199) --- .../templates/huawei_vrp_display_sn_license.textfsm | 7 +++++++ ntc_templates/templates/index | 1 + .../display_sn_license/huawei_vrp_display_version.raw | 1 + .../display_sn_license/huawei_vrp_display_version.yml | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_sn_license.textfsm create mode 100644 tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.raw create mode 100644 tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.yml diff --git a/ntc_templates/templates/huawei_vrp_display_sn_license.textfsm b/ntc_templates/templates/huawei_vrp_display_sn_license.textfsm new file mode 100644 index 0000000000..c217b6d162 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_sn_license.textfsm @@ -0,0 +1,7 @@ +Value SERIAL_NUMBER (\S+) + + +Start + ^.*ESN of device:\s${SERIAL_NUMBER}$$ + ^. -> Error + diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 20b2a90744..dcaaa57e94 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -468,6 +468,7 @@ huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[f huawei_vrp_display_ipv6_neighbors.textfsm, .*, huawei_vrp, dis[[play]] ipv6 n[[eighbors]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] +huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] diff --git a/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.raw b/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.raw new file mode 100644 index 0000000000..52f20ac43c --- /dev/null +++ b/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.raw @@ -0,0 +1 @@ + ESN of device: 21500104792SM8504636 diff --git a/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.yml b/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.yml new file mode 100644 index 0000000000..316941f6db --- /dev/null +++ b/tests/huawei_vrp/display_sn_license/huawei_vrp_display_version.yml @@ -0,0 +1,3 @@ +--- +parsed_sample: + - serial_number: "21500104792SM8504636" From 1301f4f251c192ac9deabc8e69066580da99f763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20RIBOT?= Date: Fri, 27 May 2022 10:28:41 +0200 Subject: [PATCH 309/412] Add ubiquiti edgerouter show ipv6 neighbors --- ntc_templates/templates/index | 1 + ...iti_edgerouter_show_ipv6_neighbors.textfsm | 9 ++++++++ ...biquiti_edgerouter_show_ipv6_neighbors.raw | 5 +++++ ...biquiti_edgerouter_show_ipv6_neighbors.yml | 22 +++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw create mode 100644 tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index dcaaa57e94..cd2cb1252d 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -526,6 +526,7 @@ ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] interfaces ethernet (\S+\s)?physical +ubiquiti_edgerouter_show_ipv6_neighbors.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ipv6 neighbors ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] ubiquiti_edgerouter_show_arp.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] arp diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm new file mode 100644 index 0000000000..66b3be51e3 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm @@ -0,0 +1,9 @@ +Value Required IP (\S+) +Value INTERFACE (\S+) +Value MAC ((?:[0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}) +Value STATE (\S+) + +Start + ^${IP}\sdev\s${INTERFACE}\slladdr\s${MAC}\s(router\s)?${STATE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw new file mode 100644 index 0000000000..441f77f8ac --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw @@ -0,0 +1,5 @@ +2a01::68e5:a41e:722c:2f7b dev eth0 lladdr 6c:40:08:4f:35:bc STALE +fe80::7e91:22ff:fe87:d336 dev eth0 lladdr 7c:91:22:87:d3:36 STALE +fe80::feec:daff:fe47:bf49 dev eth0 lladdr fc:ec:da:47:bf:49 router STALE +fe80::250:56ff:fe90:50ee dev eth4.51 lladdr 00:50:56:90:50:ee router REACHABLE +fe80::11:32ff:fe2a:c970 dev eth1 lladdr 02:11:32:2a:c9:70 STALE diff --git a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml new file mode 100644 index 0000000000..0aa40c69b5 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - ip: "2a01::68e5:a41e:722c:2f7b" + interface: "eth0" + mac: "6c:40:08:4f:35:bc" + state: "STALE" + - ip: "fe80::7e91:22ff:fe87:d336" + interface: "eth0" + mac: "7c:91:22:87:d3:36" + state: "STALE" + - ip: "fe80::feec:daff:fe47:bf49" + interface: "eth0" + mac: "fc:ec:da:47:bf:49" + state: "STALE" + - ip: "fe80::250:56ff:fe90:50ee" + interface: "eth4.51" + mac: "00:50:56:90:50:ee" + state: "REACHABLE" + - ip: "fe80::11:32ff:fe2a:c970" + interface: "eth1" + mac: "02:11:32:2a:c9:70" + state: "STALE" From 2eae03f6164f94e14639e94a4e5100ebb8c42538 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 31 Oct 2022 22:39:51 +0700 Subject: [PATCH 310/412] Huawei VRP: Add 2 new templates for display service-set (#1213) Adds templates for display service-set --- ...huawei_vrp_display_service-set_all.textfsm | 10 +++++++ ...awei_vrp_display_service-set_id_id.textfsm | 30 +++++++++++++++++++ ntc_templates/templates/index | 2 ++ .../huawei_vrp_display_service-set_all.raw | 7 +++++ .../huawei_vrp_display_service-set_all.yml | 11 +++++++ .../display_service-set_id_id.raw | 15 ++++++++++ .../display_service-set_id_id.yml | 15 ++++++++++ 7 files changed, 90 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_service-set_all.textfsm create mode 100644 ntc_templates/templates/huawei_vrp_display_service-set_id_id.textfsm create mode 100644 tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.raw create mode 100644 tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.yml create mode 100644 tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.raw create mode 100644 tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.yml diff --git a/ntc_templates/templates/huawei_vrp_display_service-set_all.textfsm b/ntc_templates/templates/huawei_vrp_display_service-set_all.textfsm new file mode 100644 index 0000000000..fcba36d906 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_service-set_all.textfsm @@ -0,0 +1,10 @@ +Value ID (\d+) +Value NAME (\w+) +Value SSID (\w+) + +Start + ^\s*-+ -> Next + ^\s*ID.+$$ -> Next + ^\s*${ID}\s+${NAME}\s+${SSID}\s*$$ -> Record + ^\s*Total:.+$$ -> Next + ^.*$$ -> Error diff --git a/ntc_templates/templates/huawei_vrp_display_service-set_id_id.textfsm b/ntc_templates/templates/huawei_vrp_display_service-set_id_id.textfsm new file mode 100644 index 0000000000..e6c9e28659 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_service-set_id_id.textfsm @@ -0,0 +1,30 @@ +Value ID (\d+) +Value NAME (\S+) +Value SSID (\S+) +Value HIDE_SSID (disable|enable) +Value USER_ISOLATE (disable|enable) +Value TYPE (service|ap-management) +Value MAX_NB_USER (\d+) +Value ASSOC_TIMEOUT (\d+) +Value TRAFFIC_PROFILE_NAME (\S+) +Value SECURITY_PROFILE_NAME (\S+) +Value WLAN_BSS_INTERFACE (\S+) +Value IGMP_MODE (snooping|off) +Value FORWARD_MODE (direct-forward|gre-tunnel) + +Start + ^\s*-+ -> Next + ^\s*(Service-(S|s)et\s+)?ID\s+:\s${ID}\s*$$ + ^\s*(Service-(S|s)et\s+)?(N|n)ame\s+:\s${NAME}\s*$$ + ^\s*SSID\s+:\s${SSID}\s*$$ + ^\s*Hide\sSSID\s+:\s${HIDE_SSID}\s*$$ + ^\s*User\sisolate\s+:\s${USER_ISOLATE}\s*$$ + ^\s*Type\s+:\s${TYPE}\s*$$ + ^\s*Maximum\snumber\sof\suser\s+:\s${MAX_NB_USER}\s*$$ + ^\s*Association\stimeout\(min\)\s+:\s${ASSOC_TIMEOUT}\s*$$ + ^\s*Traffic\sprofile\sname\s+:\s${TRAFFIC_PROFILE_NAME}\s*$$ + ^\s*Security\sprofile\sname\s+:\s${SECURITY_PROFILE_NAME}\s*$$ + ^\s*Wlan-bss\sinterface\s+:\s${WLAN_BSS_INTERFACE}\s*$$ + ^\s*Igmp\smode\s+:\s${IGMP_MODE}\s*$$ + ^\s*Forward\smode\s+:\s${FORWARD_MODE}\s*$$ + ^.*$$ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index cd2cb1252d..151d3af881 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -464,7 +464,9 @@ hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] +huawei_vrp_display_service-set_id_id.textfsm, .*, huawei_vrp, dis[[play]] service-set (id|name) \S+ huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] +huawei_vrp_display_service-set_all.textfsm, .*, huawei_vrp, dis[[play]] service-set all huawei_vrp_display_ipv6_neighbors.textfsm, .*, huawei_vrp, dis[[play]] ipv6 n[[eighbors]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] diff --git a/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.raw b/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.raw new file mode 100644 index 0000000000..2f765a57b1 --- /dev/null +++ b/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.raw @@ -0,0 +1,7 @@ + ---------------------------------------------------------------------------- + ID Name SSID + 0 Livebox_5ad8 Livebox_5ad8 + 1 Livebox_5ad8__5G Livebox_5ad8 + 2 Profile_my_guest_wifi my_guest_wifi + ---------------------------------------------------------------------------- + Total: 3 diff --git a/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.yml b/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.yml new file mode 100644 index 0000000000..ecaf4d149c --- /dev/null +++ b/tests/huawei_vrp/display_service-set_all/huawei_vrp_display_service-set_all.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - id: "0" + name: "Livebox_5ad8" + ssid: "Livebox_5ad8" + - id: "1" + name: "Livebox_5ad8__5G" + ssid: "Livebox_5ad8" + - id: "2" + name: "Profile_my_guest_wifi" + ssid: "my_guest_wifi" diff --git a/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.raw b/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.raw new file mode 100644 index 0000000000..5f24639ed3 --- /dev/null +++ b/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.raw @@ -0,0 +1,15 @@ + ---------------------------------------------------------------------------- + Service-set ID : 1 + Service-Set name : Livebox_5ad8__5G + SSID : Livebox_5ad8 + Hide SSID : disable + User isolate : disable + Type : service + Maximum number of user : 32 + Association timeout(min) : 5 + Traffic profile name : traf + Security profile name : Security_Livebox_5ad8 + Wlan-bss interface : Wlan-bss7 + Igmp mode : off + Forward mode : direct-forward + ---------------------------------------------------------------------------- diff --git a/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.yml b/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.yml new file mode 100644 index 0000000000..31b4f17c95 --- /dev/null +++ b/tests/huawei_vrp/display_service-set_id_id/display_service-set_id_id.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - id: "1" + name: "Livebox_5ad8__5G" + ssid: "Livebox_5ad8" + hide_ssid: "disable" + user_isolate: "disable" + type: "service" + max_nb_user: "32" + assoc_timeout: "5" + traffic_profile_name: "traf" + security_profile_name: "Security_Livebox_5ad8" + wlan_bss_interface: "Wlan-bss7" + igmp_mode: "off" + forward_mode: "direct-forward" From 6cf141c0b7de0388f5ae07f239cf4ca3d47a81ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:57:12 +0100 Subject: [PATCH 311/412] Add Huawei VRP display snmp-agent community template (#1216) --- ...vrp_display_snmp-agent_community_read.textfsm | 16 ++++++++++++++++ ntc_templates/templates/index | 1 + ...wei_vrp_display_snmp-agent_community_read.raw | 10 ++++++++++ ...wei_vrp_display_snmp-agent_community_read.yml | 12 ++++++++++++ ...ei_vrp_display_snmp-agent_community_write.raw | 6 ++++++ ...ei_vrp_display_snmp-agent_community_write.yml | 7 +++++++ 6 files changed, 52 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_snmp-agent_community_read.textfsm create mode 100644 tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.raw create mode 100644 tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.yml create mode 100644 tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.raw create mode 100644 tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.yml diff --git a/ntc_templates/templates/huawei_vrp_display_snmp-agent_community_read.textfsm b/ntc_templates/templates/huawei_vrp_display_snmp-agent_community_read.textfsm new file mode 100644 index 0000000000..ccb147704b --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_snmp-agent_community_read.textfsm @@ -0,0 +1,16 @@ +Value NAME (\S+) +Value GROUP (\S+) +Value STORAGE_TYPE (volatile|nonVolatile|permanent|readOnly|other) +Value VIEW (\S+) +Value ACL (\d+) + +Start + ^\s*Community\sname:.*$$ -> Continue.Record + ^\s*Community\sname:\s+${NAME}\s*$$ + ^\s*Group\sname:\s+${GROUP}\s*$$ + ^\s*Storage(\s|-)type:\s+${STORAGE_TYPE}\s*$$ + ^\s*View\sname:\s+${VIEW}\s*$$ + ^\s*Acl:\s+${ACL}\s*$$ + ^\s*Total\snumber\sis\s\d+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 151d3af881..9cb30c7925 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -463,6 +463,7 @@ hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] +huawei_vrp_display_snmp-agent_community_read.textfsm, .*, huawei_vrp, dis[[play]] snm[[p-agent]] c[[ommunity]] (r[[ead]]|w[[rite]]) huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] huawei_vrp_display_service-set_id_id.textfsm, .*, huawei_vrp, dis[[play]] service-set (id|name) \S+ huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] diff --git a/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.raw b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.raw new file mode 100644 index 0000000000..c3c0145547 --- /dev/null +++ b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.raw @@ -0,0 +1,10 @@ + Community name: %^%#9FN.Q|,$9%{xZHI(!/F-7GAxPSHn}H'Z7CP1~@pJ-;"k)`q><)~;%aTv*'m#<>Y#(^h1S=_t:W&Wy8"B%^%# + Storage type: nonVolatile + View name: ViewDefault + Acl: 2000 + + Community name: %^%#aPR*-=3rz1|Bp|Q83\4T!'b`$p2%{SFB6"lAQ&E&|Bt+IFCF'_0B6KT8MLsAoL]*->2Zce&!doP6-%^%# + Storage type: nonVolatile + View name: ViewDefault + + Total number is 2 diff --git a/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.yml b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.yml new file mode 100644 index 0000000000..6adabfcb7d --- /dev/null +++ b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_read.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "%^%#9FN.Q|,$9%{xZHI(!/F-7GAxPSHn}H'Z7CP1~@pJ-;\"k)`q><)~;%aTv*'m#<>Y#(^h1S=_t:W&Wy8\"B%^%#" + group: "" + storage_type: "nonVolatile" + view: "ViewDefault" + acl: "2000" + - name: "%^%#aPR*-=3rz1|Bp|Q83\\4T!'b`$p2%{SFB6\"lAQ&E&|Bt+IFCF'_0B6KT8MLsAoL]*->2Zce&!doP6-%^%#" + group: "" + storage_type: "nonVolatile" + view: "ViewDefault" + acl: "" diff --git a/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.raw b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.raw new file mode 100644 index 0000000000..328450043a --- /dev/null +++ b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.raw @@ -0,0 +1,6 @@ + Community name: %^%#K[&`Jc~_4H-~.>0:m%dK:*7s,{(3i02`R$>&n}+56Pb'@]rd}NT@o4.7RG'8ScPW0=d%O<1oU+7KHS[I%^%# + Group name: %^%#K[&`Jc~_4H-~.>0:m%dK:*7s,{(3i02`R$>&n}+56Pb'@]rd}NT@o4.7RG'8ScPW0=d%O<1oU+7KHS[I%^%# + Acl: 2001 + Storage-type: nonVolatile + + Total number is 1 diff --git a/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.yml b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.yml new file mode 100644 index 0000000000..a08e595ae1 --- /dev/null +++ b/tests/huawei_vrp/display_snmp-agent_community_read/huawei_vrp_display_snmp-agent_community_write.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - name: "%^%#K[&`Jc~_4H-~.>0:m%dK:*7s,{(3i02`R$>&n}+56Pb'@]rd}NT@o4.7RG'8ScPW0=d%O<1oU+7KHS[I%^%#" + group: "%^%#K[&`Jc~_4H-~.>0:m%dK:*7s,{(3i02`R$>&n}+56Pb'@]rd}NT@o4.7RG'8ScPW0=d%O<1oU+7KHS[I%^%#" + storage_type: "nonVolatile" + view: "" + acl: "2001" From 9dfe5c31ec190cbada4820b8042a1ff288478966 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Mon, 31 Oct 2022 23:33:02 -0400 Subject: [PATCH 312/412] Change docs to mkdocs, update dev environment, move to click for scripts --- .bandit.yml | 6 + .dockerignore | 27 + .flake8 | 6 + .github/CODEOWNERS | 2 +- .../bug_report.md} | 4 + .github/ISSUE_TEMPLATE/feature_request.md | 25 + .../pull_request_template.md} | 0 .github/workflows/ci.yml | 148 +- .gitignore | 314 ++-- .pydocstyle.ini | 11 + .readthedocs.yml | 22 + .vale.ini | 20 + .yamllint | 2 +- .yamllint.yml | 12 + CHANGELOG.md | 963 ----------- Dockerfile | 32 + README.md | 477 +----- cli.py | 75 + development_scripts.py | 492 ------ docs/admin/install.md | 35 + docs/admin/release_notes/index.md | 7 + docs/admin/release_notes/version_0.9.md | 88 + docs/admin/release_notes/version_1.1.md | 160 ++ docs/admin/release_notes/version_1.2.md | 21 + docs/admin/release_notes/version_1.3.md | 100 ++ docs/admin/release_notes/version_1.4.md | 184 ++ docs/admin/release_notes/version_1.5.md | 49 + docs/admin/release_notes/version_1.6.md | 45 + docs/admin/release_notes/version_1.7.md | 81 + docs/admin/release_notes/version_2.0.md | 11 + docs/admin/release_notes/version_2.1.md | 42 + docs/admin/release_notes/version_2.2.md | 34 + docs/admin/release_notes/version_2.3.md | 49 + docs/admin/release_notes/version_3.0.md | 34 + docs/admin/release_notes/version_3.1.md | 59 + docs/admin/release_notes/version_3.2.md | 6 + docs/admin/uninstall.md | 7 + docs/admin/upgrade.md | 7 + docs/assets/extra.css | 152 ++ docs/assets/favicon.ico | Bin 0 -> 568 bytes docs/assets/networktocode_bw.png | Bin 0 -> 7562 bytes docs/assets/networktocode_logo.png | Bin 0 -> 5464 bytes docs/assets/networktocode_logo.svg | 150 ++ docs/assets/overrides/partials/copyright.html | 20 + docs/dev/code_reference/parse.md | 5 + docs/dev/contributing.md | 55 + docs/dev/dev_environment.md | 105 ++ docs/dev/dev_parser.md | 256 +++ docs/dev/extending.md | 5 + docs/images/.keep | 0 docs/images/icon-ntc-templates.png | Bin 0 -> 4703 bytes docs/index.md | 6 + docs/requirements.txt | 8 + docs/user/faq.md | 89 + docs/user/lib_getting_started.md | 47 + docs/user/lib_overview.md | 15 + mkdocs.yml | 129 ++ ntc_templates/__init__.py | 8 +- ntc_templates/parse.py | 9 +- poetry.lock | 1474 +++++++++++++++-- pyproject.toml | 125 +- tasks.py | 211 +++ tests/__init__.py | 2 +- tests/test_development_scripts.py | 507 +++++- tests/test_index_order.py | 55 +- ...red_data_against_parsed_reference_files.py | 26 +- tox.ini | 30 - 67 files changed, 4829 insertions(+), 2317 deletions(-) create mode 100644 .bandit.yml create mode 100644 .dockerignore create mode 100644 .flake8 rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug_report.md} (92%) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md rename .github/{PULL_REQUEST_TEMPLATE.md => PULL_REQUEST_TEMPLATE/pull_request_template.md} (100%) create mode 100644 .pydocstyle.ini create mode 100644 .readthedocs.yml create mode 100644 .vale.ini create mode 100644 .yamllint.yml delete mode 100644 CHANGELOG.md create mode 100644 Dockerfile create mode 100644 cli.py delete mode 100755 development_scripts.py create mode 100644 docs/admin/install.md create mode 100644 docs/admin/release_notes/index.md create mode 100644 docs/admin/release_notes/version_0.9.md create mode 100644 docs/admin/release_notes/version_1.1.md create mode 100644 docs/admin/release_notes/version_1.2.md create mode 100644 docs/admin/release_notes/version_1.3.md create mode 100644 docs/admin/release_notes/version_1.4.md create mode 100644 docs/admin/release_notes/version_1.5.md create mode 100644 docs/admin/release_notes/version_1.6.md create mode 100644 docs/admin/release_notes/version_1.7.md create mode 100644 docs/admin/release_notes/version_2.0.md create mode 100644 docs/admin/release_notes/version_2.1.md create mode 100644 docs/admin/release_notes/version_2.2.md create mode 100644 docs/admin/release_notes/version_2.3.md create mode 100644 docs/admin/release_notes/version_3.0.md create mode 100644 docs/admin/release_notes/version_3.1.md create mode 100644 docs/admin/release_notes/version_3.2.md create mode 100644 docs/admin/uninstall.md create mode 100644 docs/admin/upgrade.md create mode 100644 docs/assets/extra.css create mode 100644 docs/assets/favicon.ico create mode 100644 docs/assets/networktocode_bw.png create mode 100644 docs/assets/networktocode_logo.png create mode 100644 docs/assets/networktocode_logo.svg create mode 100644 docs/assets/overrides/partials/copyright.html create mode 100644 docs/dev/code_reference/parse.md create mode 100644 docs/dev/contributing.md create mode 100644 docs/dev/dev_environment.md create mode 100644 docs/dev/dev_parser.md create mode 100644 docs/dev/extending.md create mode 100644 docs/images/.keep create mode 100644 docs/images/icon-ntc-templates.png create mode 100644 docs/index.md create mode 100644 docs/requirements.txt create mode 100644 docs/user/faq.md create mode 100644 docs/user/lib_getting_started.md create mode 100644 docs/user/lib_overview.md create mode 100644 mkdocs.yml create mode 100644 tasks.py delete mode 100644 tox.ini diff --git a/.bandit.yml b/.bandit.yml new file mode 100644 index 0000000000..56f7a83b17 --- /dev/null +++ b/.bandit.yml @@ -0,0 +1,6 @@ +--- +skips: [] +# No need to check for security issues in the test scripts! +exclude_dirs: + - "./tests/" + - "./.venv/" diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..2270f4962f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,27 @@ +# Docker related +development/Dockerfile +development/docker-compose*.yml +development/*.env +*.env +environments/ + +# Python +**/*.pyc +**/*.pyo +**/__pycache__/ +**/.pytest_cache/ +**/.venv/ + + +# Other +docs/_build +FAQ.md +.git/ +.gitignore +.github +tasks.py +LICENSE +**/*.log +**/.vscode/ +invoke*.yml +tasks.py diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000000..1587fc6ced --- /dev/null +++ b/.flake8 @@ -0,0 +1,6 @@ +[flake8] +# E501: Line length is enforced by Black, so flake8 doesn't need to check it +# W503: Black disagrees with this rule, as does PEP 8; Black wins +ignore = E501, W503 +exclude = + .venv diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8ead4f8d95..4463a20a85 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ # Default owner(s) of all files in this repository -* @itdependsnetworks @jmcgill298 @FragmentedPacket @jvanderaa +* @itdependsnetworks @jmcgill298 @jvanderaa diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 92% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug_report.md index a27afeedb0..b432ffac7e 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,3 +1,7 @@ +--- +name: 🐛 Bug Report +about: Report a reproducible bug in the current release of ntc-templates +--- + + +### Proposed Functionality + + +### Use Case + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE/pull_request_template.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a251fb92d3..ddadf7bf56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,60 +11,182 @@ on: # yamllint disable-line rule:truthy rule:comments - "v*" pull_request: ~ +env: + IMAGE_NAME: "ntc-templates" + jobs: black: runs-on: "ubuntu-20.04" + env: + INVOKE_LOCAL: "True" steps: - name: "Check out repository code" uses: "actions/checkout@v2" - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Linting: black" - run: "poetry run black ./ --diff --check" + run: "poetry run invoke black" + bandit: + runs-on: "ubuntu-20.04" + env: + INVOKE_LOCAL: "True" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Linting: bandit" + run: "poetry run invoke bandit" + needs: + - "black" + pydocstyle: + runs-on: "ubuntu-20.04" + env: + INVOKE_LOCAL: "True" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Linting: pydocstyle" + run: "poetry run invoke pydocstyle" + needs: + - "black" flake8: runs-on: "ubuntu-20.04" + env: + INVOKE_LOCAL: "True" steps: - name: "Check out repository code" uses: "actions/checkout@v2" - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Linting: flake8" - run: "poetry run flake8 ./" + run: "poetry run invoke flake8" needs: - "black" yamllint: runs-on: "ubuntu-20.04" + env: + INVOKE_LOCAL: "True" steps: - name: "Check out repository code" uses: "actions/checkout@v2" - name: "Setup environment" uses: "networktocode/gh-action-setup-poetry-environment@v2" - name: "Linting: yamllint" - run: "poetry run yamllint ./" + run: "poetry run invoke yamllint" needs: - "black" - tests: + build: strategy: fail-fast: true matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] runs-on: "ubuntu-20.04" + env: + PYTHON_VER: "${{ matrix.python-version }}" steps: - name: "Check out repository code" uses: "actions/checkout@v2" - - name: "Set up Python" - uses: "actions/setup-python@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Get image version" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + - name: "Set up Docker Buildx" + id: "buildx" + uses: "docker/setup-buildx-action@v1" + - name: "Build" + uses: "docker/build-push-action@v2" with: - python-version: "${{ matrix.python-version }}" - - name: "Install Poetry" - run: "pip install poetry==1.1.15" - - name: "Install Python Packages" - run: "poetry install" - - name: "Running tests" - run: "poetry run pytest -v" + builder: "${{ steps.buildx.outputs.name }}" + context: "./" + push: false + tags: "${{ env.IMAGE_NAME }}:${{ env.IMAGE_VER }}" + file: "./Dockerfile" + cache-from: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + cache-to: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + build-args: | + PYTHON_VER=${{ env.PYTHON_VER }} needs: + - "bandit" + - "pydocstyle" - "flake8" - "yamllint" + pylint: + runs-on: "ubuntu-20.04" + strategy: + fail-fast: true + matrix: + python-version: ["3.7"] + env: + PYTHON_VER: "${{ matrix.python-version }}" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Get image version" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + - name: "Set up Docker Buildx" + id: "buildx" + uses: "docker/setup-buildx-action@v1" + - name: "Load the image from cache" + uses: "docker/build-push-action@v2" + with: + builder: "${{ steps.buildx.outputs.name }}" + context: "./" + push: false + load: true + tags: "${{ env.IMAGE_NAME }}:${{ env.IMAGE_VER }}" + file: "./Dockerfile" + cache-from: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + cache-to: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + build-args: | + PYTHON_VER=${{ env.PYTHON_VER }} + - name: "Debug: Show docker images" + run: "docker image ls" + - name: "Linting: Pylint" + run: "poetry run invoke pylint" + needs: + - "build" + pytest: + strategy: + fail-fast: true + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + runs-on: "ubuntu-20.04" + env: + PYTHON_VER: "${{ matrix.python-version }}" + steps: + - name: "Check out repository code" + uses: "actions/checkout@v2" + - name: "Setup environment" + uses: "networktocode/gh-action-setup-poetry-environment@v2" + - name: "Get image version" + run: "echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV" + - name: "Set up Docker Buildx" + id: "buildx" + uses: "docker/setup-buildx-action@v1" + - name: "Load the image from cache" + uses: "docker/build-push-action@v2" + with: + builder: "${{ steps.buildx.outputs.name }}" + context: "./" + push: false + load: true + tags: "${{ env.IMAGE_NAME }}:${{ env.IMAGE_VER }}" + file: "./Dockerfile" + cache-from: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + cache-to: "type=gha,scope=${{ env.IMAGE_NAME }}-${{ env.IMAGE_VER }}-py${{ matrix.python-version }}" + build-args: | + PYTHON_VER=${{ env.PYTHON_VER }} + - name: "Debug: Show docker images" + run: "docker image ls" + - name: "Run Tests" + run: "poetry run invoke pytest" + needs: + - "pylint" publish_gh: name: "Publish to GitHub" runs-on: "ubuntu-20.04" diff --git a/.gitignore b/.gitignore index 483bee49d6..cbb9133b68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,106 +1,37 @@ -# Created by .ignore support plugin (hsz.mobi) -### Windows template -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msm -*.msp - -# Windows shortcuts -*.lnk -### IPythonNotebook template -# Temporary data -.ipynb_checkpoints/ -### OSX template -*.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk -### JetBrains template -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff: -.idea/ - -## File-based project format: -*.iws +# Ansible Retry Files +*.retry -## Plugin-specific files: - -# IntelliJ -/out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml +# Swap files +*.swp -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties -### Python template # Byte-compiled / optimized / DLL files __pycache__/ -.pytest_cache/ *.py[cod] *$py.class - # C extensions *.so # Distribution / packaging .Python -env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ -#lib/ +lib/ lib64/ parts/ sdist/ var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ *.egg-info/ .installed.cfg *.egg +MANIFEST # PyInstaller # Usually these files are written by a python script from a template @@ -115,14 +46,16 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ +.nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml -*,cover +*.cover +*.py,cover .hypothesis/ -.tmp/ +.pytest_cache/ # Translations *.mo @@ -131,6 +64,8 @@ coverage.xml # Django stuff: *.log local_settings.py +db.sqlite3 +db.sqlite3-journal # Flask stuff: instance/ @@ -145,50 +80,229 @@ docs/_build/ # PyBuilder target/ -# IPython Notebook +# Jupyter Notebook .ipynb_checkpoints +# IPython +profile_default/ +ipython_config.py + # pyenv .python-version -# celery beat schedule file +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff celerybeat-schedule +celerybeat.pid -# dotenv -.env +# SageMath parsed files +*.sage.py -# virtualenv +# Environments +.env +.venv +env/ venv/ ENV/ +env.bak/ +venv.bak/ # Spyder project settings .spyderproject +.spyproject # Rope project settings .ropeproject -# Cloned modules used while testing -.ntc-modules/ +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json -*.cfg~ +# Pyre type checker +.pyre/ -templates/index~ +# Editor +.vscode/ -ansible.cfg +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride -helpers/create-parsed.retry +# Thumbnails +._* -hosts +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent -*.py~ +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db -create_ntc-templates_parsed.py +# Dump file +*.stackdump -# Ignore pipenv files -**Pipfile -**Pipfile.lock +# Folder config file +[Dd]esktop.ini -# Ignore vscode config -.vscode/ +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +### PyCharm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### PyCharm Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/$CACHE_FILE$ + +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +### vscode ### +.vscode/* +*.code-workspace + +# Rando +creds.env +development/*.txt + +# Invoke overrides +invoke.yml -.nfs* +# Docs +docs/README.md +docs/CHANGELOG.md +public diff --git a/.pydocstyle.ini b/.pydocstyle.ini new file mode 100644 index 0000000000..5c9fbb15de --- /dev/null +++ b/.pydocstyle.ini @@ -0,0 +1,11 @@ +[pydocstyle] +convention = google +inherit = false +match = (?!__init__|conf).*\.py +match-dir = (?!tests)[^\.].* +# D212 is enabled by default in google convention, and complains if we have a docstring like: +# """ +# My docstring is on the line after the opening quotes instead of on the same line as them. +# """ +# We've discussed and concluded that we consider this to be a valid style choice. +add_ignore = D212 \ No newline at end of file diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000000..a9d358eff2 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,22 @@ +--- +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python in the build environment. +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + +mkdocs: + configuration: "mkdocs.yml" + # fail_on_warning: true + +# Use our docs/requirements.txt during installation. +python: + install: + - requirements: "docs/requirements.txt" diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 0000000000..a5ed510495 --- /dev/null +++ b/.vale.ini @@ -0,0 +1,20 @@ +StylesPath = .github/styles +MinAlertLevel = suggestion + +[*.md] +BasedOnStyles = Microsoft, write-good, proselint, alex + +# Microsoft Style Guide disabled rules +Microsoft.Contractions = No +Microsoft.HeadingPunctuation = No +Microsoft.Headings = No +Microsoft.Foreign = No + +# write-good disabled rules +write-good.E-Prime = No + +# alex disabled rules +alex.Condescending = No + +# proseling disabled rules +proselint.Hyperbole = No diff --git a/.yamllint b/.yamllint index 0df5b5674b..7a2c69e50e 100644 --- a/.yamllint +++ b/.yamllint @@ -2,7 +2,7 @@ extends: "default" rules: comments: "enable" - empty-values: "enable" + empty-values: "disable" indentation: indent-sequences: "consistent" line-length: "disable" diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000000..b49e490c8c --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,12 @@ +--- +extends: "default" +rules: + comments: "enable" + empty-values: "disable" + indentation: + indent-sequences: "consistent" + line-length: "disable" + quoted-strings: + quote-type: "double" +ignore: | + .venv/ diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 1516d64511..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,963 +0,0 @@ -# Changelog - - -## [unreleased] - -### What's Changed -* New template: cisco_ios_show_crypto_ipsec_sa_detail.textfsm by @nsnelson402 -* New template: cisco_ios_show_crypto_pki_certificates.textfsm by @nsnelson402 - -## [3.1.0] - -### What's Changed -* New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 in https://github.com/networktocode/ntc-templates/pull/1181 -* New template: cisco_ios_show_snmp_group.textfsm by @nsnelson402 in https://github.com/networktocode/ntc-templates/pull/1183 -* New templates & updates: Updated support for Arista EOS devices by @ReK42 in https://github.com/networktocode/ntc-templates/pull/1174 -* New template: cisco_xr_show_ipv4_interface.textfsm by @dainok in https://github.com/networktocode/ntc-templates/pull/1162 -* New templates: Add multiple zyxel templates by @elavaud in https://github.com/networktocode/ntc-templates/pull/1142 -* Bug fix: Change huawei_vrf shortest command by @Elinpf in https://github.com/networktocode/ntc-templates/pull/1141 -* Bug fix: Path separator error on windows by @Elinpf in https://github.com/networktocode/ntc-templates/pull/1139 -* New templates: Adding multiple mikrotik routeros templates by @elavaud in https://github.com/networktocode/ntc-templates/pull/1136 -* New template: aruba_os_show_ap_database_long.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1134 -* New template: aruba_os_show_ap_radio-database.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1133 -* Bug fix: EOS 4.28.XF updated output of codes in `show ip route` by @networkop in https://github.com/networktocode/ntc-templates/pull/1127 -* New template: juniper_junos_show_vlans.textfsm by @showipintbri in https://github.com/networktocode/ntc-templates/pull/1125 -* Bug fix: cisco_ios show ip bgp neighbors advertised-routes output where metric is wider than 6 chars by @viktorkertesz in https://github.com/networktocode/ntc-templates/pull/1124 -* Bug fix: cisco_ios show ip bgp output where metric is wider than 6 chars by @viktorkertesz in https://github.com/networktocode/ntc-templates/pull/1123 -* Bug fix: cisco_nxos_show_int_breief do not match mgmt and vlan by @diepes in https://github.com/networktocode/ntc-templates/pull/1119 -* Bug fix: cisco_ios_show_module updated output for c9200 @diepes in https://github.com/networktocode/ntc-templates/pull/1117 -* Changed: add vlan_id to cisco_ios_show_interfaces by @dainok in https://github.com/networktocode/ntc-templates/pull/1115 -* Bug fix: fix not advertised vlan in cisco_nxos_show_lldp_neighbors_detail by @dainok in https://github.com/networktocode/ntc-templates/pull/1114 -* Added: Additional fields for cisco_ios_show_ip_access-lists.textfsm by @mjuenema in https://github.com/networktocode/ntc-templates/pull/1113 -* Bug fix: Multiple line parsing using lists with textfsm extracting wrong details by @diepes in https://github.com/networktocode/ntc-templates/pull/1112 -* Bug fix: Cisco IOS show boot missing parameter by @diepes in https://github.com/networktocode/ntc-templates/pull/1111 -* New template: arista_eos_show_processes_top_once.textfsm by @pauljorgenson in https://github.com/networktocode/ntc-templates/pull/1110 -* Bug fix: Adding a record without the vlan field for very old HP Procurve switches by @dainok in https://github.com/networktocode/ntc-templates/pull/1108 -* New template: cisco_xr_show_install_active.textfsm by @verbosemode in https://github.com/networktocode/ntc-templates/pull/1105 -* Changed: Clarifies docs about length order by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1099 -* New template: ubiquiti_edgerouter_show_dhcp_leases.textfsm by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1097 -* Bug fix: hanges the CRLF to LF to pass tests by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1096 -* Changed: Additional fields for cisco_nxos_show_ip_route.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1093 -* Changed: Additional fields for cisco_nxos_show_ip_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1092 -* Changed: Additional fields for cisco_ios_show_standby.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1091 -* Changed: Additional fields for cisco_ios_show_module_status.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1090 -* Changed: Additional fields for cisco_ios_show_ip_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1089 -* Changed: Additional fields for cisco_ios_show_interfaces_switchport.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1088 -* Changed: Additional fields for cisco_ios_show_etherchannel_summary.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1087 -* Changed: Additional fields for cisco_ios_show_lldp_neighbors_detail.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1086 -* Changed: Additional fields for cisco_asa_show_interface.textfsm by @lamiskin in https://github.com/networktocode/ntc-templates/pull/1084 -* Bug fix: show platform diag does not return the rommon version of the line cards by @network-shark in https://github.com/networktocode/ntc-templates/pull/1081 -* New template: zyxel_os_cfg_nat_get.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1073 -* New template: zyxel_os_cfg_ipalias_get.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1068 -* New template: ubiquiti_edgerouter_show_version.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1065 -* New template: ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1064 -* New template: ubiquiti_edgerouter_show_arp.textfsm by @elavaud in https://github.com/networktocode/ntc-templates/pull/1062 -* Bug fix: aruba_os_show_ap_database model parsing error by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1055 -* Bug fix: cisco_nxos_show_ip_interface parsing error by @diepes in https://github.com/networktocode/ntc-templates/pull/1046 -* Bug fix: Update choices for Protocol to include 'notpresent' option on arista_eos_show_interfaces_description by @scetron in https://github.com/networktocode/ntc-templates/pull/1044 -* New template: aruba_os_show_ap_database.textfsm by @hagleyj in https://github.com/networktocode/ntc-templates/pull/1042 -* Bug fix: cisco_nxos_show_cdp_neighbors_detail update for supporting multiple versions by @Niltak in https://github.com/networktocode/ntc-templates/pull/1039 -* Changed: Updated show boot template to include new formatting for Cisco IOS Gibraltar output by @shanecbauman in https://github.com/networktocode/ntc-templates/pull/1038 -* Bug fix: cisco_nxos_show_ip_bgp.textfsm not parsing correctly by @diepes in https://github.com/networktocode/ntc-templates/pull/1033 -* Added: FTD output example from Cisco support site by @jvanderaa in https://github.com/networktocode/ntc-templates/pull/1032 -* New template: cisco_ios_show_ip_nat_translations.textfsm by @ksaegusa in https://github.com/networktocode/ntc-templates/pull/1028 -* Bug fix: cisco_ios_show_interfaces_status.textfsm State Error by @ZamElek in https://github.com/networktocode/ntc-templates/pull/1023 -* Bug fix: IOS show mac address Type3 and Type4. Additional test files by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/1019 -* New template: cisco_asa_show_cpu_usage_detailed.textfsm by @yone2ks in https://github.com/networktocode/ntc-templates/pull/1014 -* Bug fix: cisco_ios_show_ip_eigrp_topology not parsing correctly by @diepes in https://github.com/networktocode/ntc-templates/pull/1013 - -## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) - -[Full Changlog](https://github.com/networktocode/ntc-templates/compare/v2.3.2...3.0.0) - -### Breaking Changes - -- Template `cisco_ios_show_mac-address-table` has `DESTINATION_PORT` as a list of ports now instead of a single string entry (#994) - -### What's Changed -* cisco_ios_show_access-session: Adding Identity to MAC column by @ahlara-devcore in https://github.com/networktocode/ntc-templates/pull/990 -* [New Template] Ciena - traffic-profile standard-profile by @georgesnow in https://github.com/networktocode/ntc-templates/pull/981 -* New template: cisco_nxos_show_ip_interface_vrf_all.textfsm by @AJatCDW in https://github.com/networktocode/ntc-templates/pull/978 -* New template: juniper_junos_show_system_uptime.textfsm by @antonalekseev in https://github.com/networktocode/ntc-templates/pull/975 -* Template Change: cisco_ios, show archive by @QuasarKid in https://github.com/networktocode/ntc-templates/pull/905 -* Bugfix: change date format in hp_comware_display_clock.textfsm by @antonalekseev in https://github.com/networktocode/ntc-templates/pull/977 -* update arista interface template + raw by @scetron in https://github.com/networktocode/ntc-templates/pull/963 -* New Template: cisco_ios_show_dhcp_lease by @lamiskin in https://github.com/networktocode/ntc-templates/pull/991 -* Fix ios_mac-addr type2 by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/994 -* fix parsing with int addresses = 0 by @dainok in https://github.com/networktocode/ntc-templates/pull/982 -* New template for huawei VRP + fix. by @ak-empiak in https://github.com/networktocode/ntc-templates/pull/998 -* added VLAN value and search pattern by @dm-bell-networking in https://github.com/networktocode/ntc-templates/pull/1002 -* Ciso IOS show mac and show module fix by @armartirosyan in https://github.com/networktocode/ntc-templates/pull/1006 -* Junos show chassis by @georgesnow in https://github.com/networktocode/ntc-templates/pull/997 - -### New Contributors -* @ahlara-devcore made their first contribution in https://github.com/networktocode/ntc-templates/pull/990 -* @AJatCDW made their first contribution in https://github.com/networktocode/ntc-templates/pull/978 -* @antonalekseev made their first contribution in https://github.com/networktocode/ntc-templates/pull/975 -* @lamiskin made their first contribution in https://github.com/networktocode/ntc-templates/pull/991 -* @armartirosyan made their first contribution in https://github.com/networktocode/ntc-templates/pull/994 -* @ak-empiak made their first contribution in https://github.com/networktocode/ntc-templates/pull/998 -* @dm-bell-networking made their first contribution in https://github.com/networktocode/ntc-templates/pull/1002 - -**Full Changelog**: https://github.com/networktocode/ntc-templates/compare/v2.3.2...v3.0.0 -## [2.3.2](https://github.com/networktocode/ntc-templates/tree/2.3.2) (2021-09-13) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.1...2.3.2) - -**Bugfixes** - -- cisco\_ios\_show\_ip\_bgp\_summary Account for dotted ASN notation [\#987](https://github.com/networktocode/ntc-templates/pull/987) ([thomasbridge74](https://github.com/thomasbridge74)) -- cisco\_nxos\_show\_interface\_status Account for blank type [\#980](https://github.com/networktocode/ntc-templates/pull/980) ([Kani999](https://github.com/Kani999)) -- cisco\_ios\_show\_interfaces Account for `App Interface` [\#968](https://github.com/networktocode/ntc-templates/pull/968) ([a-finocchiaro](https://github.com/a-finocchiaro)) - -## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) - -**Closed issues:** - -- cisco\_ios\_show\_ip\_access-lists Account for singluar match [\#972](https://github.com/networktocode/ntc-templates/issues/972) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) - -**Merged pull requests:** - -- ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm [\#973](https://github.com/networktocode/ntc-templates/pull/973) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) - -## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) - -**Closed issues:** - -- cisco\_ios\_show\_ip\_access-lists template needs updated to include LOG_TYPE options [\#969](https://github.com/networktocode/ntc-templates/issues/969) ([joewesch](https://github.com/joewesch)) - -**Merged pull requests:** - -- ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm [\#927](https://github.com/networktocode/ntc-templates/pull/927) ([scetron](https://github.com/scetron)) - -**New Templates:** - -- aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm -- aruba_aoscx_show_arp_all-vrfs.textfsm -- aruba_aoscx_show_bfd_all-vrfs.textfsm -- aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm -- aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm -- aruba_aoscx_show_interface.textfsm -- aruba_aoscx_show_interface_dom_detail.textfsm -- aruba_aoscx_show_ip_route_all-vrfs.textfsm -- aruba_aoscx_show_lldp_neighbors-info_detail.textfsm -- aruba_aoscx_show_mac-address-table.textfsm -- aruba_aoscx_show_ntp_associations.textfsm -- aruba_aoscx_show_vsf_detail.textfsm - -## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) - -**Closed issues:** - -- cisco\_ios\_show\_ip\_access-lists template needs updated to include additional ICMP_TYPE options [\#964](https://github.com/networktocode/ntc-templates/issues/964) -- cisco\_ios\_show\_version template needs updated to account for StackWise Virtual Domains [\#924](https://github.com/networktocode/ntc-templates/issues/924) - -**Merged pull requests:** - -- cisco\_ios\_show\_ip\_access-lists.textfsm: Updated to include mask-request in template. [\#965](https://github.com/networktocode/ntc-templates/pull/944) ([nsnelson402](https://github.com/nsnelson402)) -- cisco\_ios\_show\_version.textfsm: Updated to account for StackWise Virtual Domains template. [\#960](https://github.com/networktocode/ntc-templates/pull/960) ([itdependsnetworks](https://github.com/itdependsnetworks)) - -## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) - -**Closed issues:** - -- cisco\_ios\_show\_ip\_access-lists template needs updated to include precedence and tos in *_PORT_MATCH [\#954](https://github.com/networktocode/ntc-templates/issues/954) -- cisco\_nxos\_show\_interface\_transceiver transceiver template failure [\#952](https://github.com/networktocode/ntc-templates/issues/952) - -**Merged pull requests:** - -- cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) [\#944](https://github.com/networktocode/ntc-templates/pull/944) ([joewesch](https://github.com/joewesch)) -- New Template: cisco_ios_show_crypto_session_details [\#947](https://github.com/networktocode/ntc-templates/pull/947) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces [\#918](https://github.com/networktocode/ntc-templates/pull/918) ([dpnetca](https://github.com/dpnetca)) -- cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists [\#907](https://github.com/networktocode/ntc-templates/pull/907) ([mickyhale](https://github.com/mickyhale)) -- Fix nxos_show_interface_transceiver failure [\#953](https://github.com/networktocode/ntc-templates/pull/953) ([chipn](https://github.com/chipn)) -- Updated cisco_ios_show_ip_access-lists.textfsm to include the SRC_PORT_MATCH and DST_PORT_MATCH values for precedence and tos [\#955](https://github.com/networktocode/ntc-templates/pull/955) ([nsnelson402](https://github.com/nsnelson402)) - -## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) - -**Implemented enhancements:** - -- Move to Poetry for dependency and publishing [\#729](https://github.com/networktocode/ntc-templates/issues/729) - -**Closed issues:** - -- cisco\_nxos\_show\_cdp\_neighbors\_detail 'str' object has no attribute 'seek'. [\#936](https://github.com/networktocode/ntc-templates/issues/936) -- show int status returns error \(seems template error\) for particular switch for other switches it does work \(iOS\). [\#922](https://github.com/networktocode/ntc-templates/issues/922) -- IPinfusuion OCNOS support request [\#913](https://github.com/networktocode/ntc-templates/issues/913) -- cisco\_ios\_show\_interfaces\_status.textfsm \(no interface in monitoring state\) [\#878](https://github.com/networktocode/ntc-templates/issues/878) -- Arista\_eos: show ip bgp summary Error [\#844](https://github.com/networktocode/ntc-templates/issues/844) -- arista\_eos\_show\_ip\_route parse exception [\#811](https://github.com/networktocode/ntc-templates/issues/811) -- cisco nxos show interface status issue when FC ports are present [\#788](https://github.com/networktocode/ntc-templates/issues/788) -- cisco\_asa\_show\_running\_cryprom\_map does not parse crypto maps without "set security association lifetime" [\#784](https://github.com/networktocode/ntc-templates/issues/784) -- Cisco ASA show vpn-sessiondb invalid and not returning data after ASA SW update [\#773](https://github.com/networktocode/ntc-templates/issues/773) -- cannot import name 'clitable' from 'textfsm' [\#731](https://github.com/networktocode/ntc-templates/issues/731) - -**Merged pull requests:** - -- Adding Restarted to show version template for cisco ios [\#940](https://github.com/networktocode/ntc-templates/pull/940) ([ksrattani](https://github.com/ksrattani)) -- cisco\_nxos add f-path vlan type [\#937](https://github.com/networktocode/ntc-templates/pull/937) ([JargeZ](https://github.com/JargeZ)) -- Fix issue \#929 [\#934](https://github.com/networktocode/ntc-templates/pull/934) ([matt852](https://github.com/matt852)) -- New Template: Alcatel, sh router ospf int [\#931](https://github.com/networktocode/ntc-templates/pull/931) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- New Template: SROS "show system cpu" [\#930](https://github.com/networktocode/ntc-templates/pull/930) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- Adds monitoring port for show interfaces status [\#928](https://github.com/networktocode/ntc-templates/pull/928) ([jvanderaa](https://github.com/jvanderaa)) -- New Template: All BGP VPNv4 Neighbors [\#911](https://github.com/networktocode/ntc-templates/pull/911) ([markh0338](https://github.com/markh0338)) -- Added Known Issues section to document Micah's finding/issue [\#902](https://github.com/networktocode/ntc-templates/pull/902) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Added deploy option to auto deploy on tags [\#901](https://github.com/networktocode/ntc-templates/pull/901) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- sros, new template - sh router interface, -vrf \# optional [\#898](https://github.com/networktocode/ntc-templates/pull/898) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- Add end of line for matching empty lines [\#897](https://github.com/networktocode/ntc-templates/pull/897) ([jmcgill298](https://github.com/jmcgill298)) -- New Template: ruckus\_fastiron, show mac-address [\#896](https://github.com/networktocode/ntc-templates/pull/896) ([QuasarKid](https://github.com/QuasarKid)) -- New Template: ruckus\_fastiron, show version [\#894](https://github.com/networktocode/ntc-templates/pull/894) ([QuasarKid](https://github.com/QuasarKid)) -- New Template: alcatel\_sros, sh router mpls lsp [\#893](https://github.com/networktocode/ntc-templates/pull/893) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- New Template: alcatel\_sros, sap-using [\#892](https://github.com/networktocode/ntc-templates/pull/892) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- New Template: alcatel\_sros, sdp-using [\#891](https://github.com/networktocode/ntc-templates/pull/891) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- add new template show port-security interface [\#885](https://github.com/networktocode/ntc-templates/pull/885) ([jeffkala](https://github.com/jeffkala)) -- Bugfix: Type for cisco\_nxos\_show\_interface\_status [\#880](https://github.com/networktocode/ntc-templates/pull/880) ([FragmentedPacket](https://github.com/FragmentedPacket)) - -## [v2.0.0](https://github.com/networktocode/ntc-templates/tree/v2.0.0) (2021-03-12) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.7.0...v2.0.0) - -**Merged pull requests:** - -- Release v2.0.0 [\#890](https://github.com/networktocode/ntc-templates/pull/890) ([jmcgill298](https://github.com/jmcgill298)) -- Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) -- Add Dell Force 10 show ip interface brief [\#875](https://github.com/networktocode/ntc-templates/pull/875) ([soer7022](https://github.com/soer7022)) -- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) - -## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-12) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) - -**Implemented enhancements:** - -- Potential naming inconsistencies between ntc-templates and netmiko for fortinet devices [\#534](https://github.com/networktocode/ntc-templates/issues/534) - -**Closed issues:** - -- arista\_eos\_show\_interfaces incomplete [\#887](https://github.com/networktocode/ntc-templates/issues/887) -- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#871](https://github.com/networktocode/ntc-templates/issues/871) -- cisco\_nxos\_show\_ip\_route errors out on Route Not Found [\#869](https://github.com/networktocode/ntc-templates/issues/869) -- cisco\_ios\_show\_interfaces\_description.textfsm fails to parse [\#866](https://github.com/networktocode/ntc-templates/issues/866) -- Having trouble with textfsm [\#858](https://github.com/networktocode/ntc-templates/issues/858) -- cisco\_nxos\_show\_ip\_arp\_detail.textfsm fails to parse Age field \(Age results are of form 00:14:15 AND 0.732312\) [\#851](https://github.com/networktocode/ntc-templates/issues/851) -- arista\_eos\_show\_interfaces\_status parse failures [\#834](https://github.com/networktocode/ntc-templates/issues/834) -- cisco\_ios\_show\_mac-address-table support for pvlans [\#830](https://github.com/networktocode/ntc-templates/issues/830) -- Don’t work when parse output of “show fc zone” for Dell s5000 [\#825](https://github.com/networktocode/ntc-templates/issues/825) -- update nxos show interface to capture discards [\#819](https://github.com/networktocode/ntc-templates/issues/819) -- change key names to match ios template [\#816](https://github.com/networktocode/ntc-templates/issues/816) -- cisco\_nxos\_show\_environment return an empty list [\#790](https://github.com/networktocode/ntc-templates/issues/790) -- cisco show sip-ua register status [\#787](https://github.com/networktocode/ntc-templates/issues/787) -- Issue with cisco\_ios\_show\_vrf.textfsm template [\#786](https://github.com/networktocode/ntc-templates/issues/786) -- version of OS can differ o/p, how to handle such cases [\#782](https://github.com/networktocode/ntc-templates/issues/782) -- NXSOS SHOW\_INVENTORY ALL [\#778](https://github.com/networktocode/ntc-templates/issues/778) -- ISSUE with show bgp neighboor template IOS XR [\#746](https://github.com/networktocode/ntc-templates/issues/746) - -**Merged pull requests:** - -- New Template: ruckus\_fastiron, show interfaces brief [\#895](https://github.com/networktocode/ntc-templates/pull/895) ([QuasarKid](https://github.com/QuasarKid)) -- Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) -- new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) -- New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) -- Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) -- add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) -- New template: yamaha [\#865](https://github.com/networktocode/ntc-templates/pull/865) ([akira6592](https://github.com/akira6592)) -- Add Environment Variable Option for Custom Template Location [\#863](https://github.com/networktocode/ntc-templates/pull/863) ([jeffkala](https://github.com/jeffkala)) -- New Template: hp\_procurve\_show\_port-security [\#862](https://github.com/networktocode/ntc-templates/pull/862) ([adraf82](https://github.com/adraf82)) -- Adding in/out route-map parsing to cisco ios show ip bgp nei template [\#861](https://github.com/networktocode/ntc-templates/pull/861) ([nnaukwal](https://github.com/nnaukwal)) -- Fortinet updates [\#860](https://github.com/networktocode/ntc-templates/pull/860) ([refriedjello](https://github.com/refriedjello)) -- Fixes \#851 and add new template [\#857](https://github.com/networktocode/ntc-templates/pull/857) ([diepes](https://github.com/diepes)) -- New Templates: Cisco IOS show vrrp brief and all [\#856](https://github.com/networktocode/ntc-templates/pull/856) ([mjbear](https://github.com/mjbear)) -- Adding new templates for show \(radius|tacacs\) summary output [\#855](https://github.com/networktocode/ntc-templates/pull/855) ([mjbear](https://github.com/mjbear)) -- New Template: Cisco WLC show port summary and show stats port summary [\#854](https://github.com/networktocode/ntc-templates/pull/854) ([mjbear](https://github.com/mjbear)) -- New Template: Cisco WLC show time \(for time and NTP information\) [\#853](https://github.com/networktocode/ntc-templates/pull/853) ([mjbear](https://github.com/mjbear)) -- New Template - cisco\_ios\_show\_object-group [\#850](https://github.com/networktocode/ntc-templates/pull/850) ([pkomissarov](https://github.com/pkomissarov)) -- cisco\_nxos\_show\_ip\_bgp\_summary\_vrf update to support 32-bits ASN outputs [\#849](https://github.com/networktocode/ntc-templates/pull/849) ([burningnode](https://github.com/burningnode)) -- New Template: Cisco WLC show mobility anchor [\#847](https://github.com/networktocode/ntc-templates/pull/847) ([mjbear](https://github.com/mjbear)) -- New Template: Cisco WLC show redundancy summary and detail [\#846](https://github.com/networktocode/ntc-templates/pull/846) ([mjbear](https://github.com/mjbear)) -- Fixes \#773 CiscoASA-show\_vpn-sessiondb\_SW\_update [\#845](https://github.com/networktocode/ntc-templates/pull/845) ([diepes](https://github.com/diepes)) -- Fixes\#811 arista eos show ip route [\#843](https://github.com/networktocode/ntc-templates/pull/843) ([diepes](https://github.com/diepes)) -- updated template and added test file [\#842](https://github.com/networktocode/ntc-templates/pull/842) ([adraf82](https://github.com/adraf82)) -- Fix\#784 new: cisco asa show running all cryprom map [\#840](https://github.com/networktocode/ntc-templates/pull/840) ([diepes](https://github.com/diepes)) -- Fix\#788 ios show int fc [\#839](https://github.com/networktocode/ntc-templates/pull/839) ([diepes](https://github.com/diepes)) -- Fixes \#790 - new template cisco\_nxos\_show\_environment.textfsm [\#838](https://github.com/networktocode/ntc-templates/pull/838) ([diepes](https://github.com/diepes)) -- Add codeowners file [\#837](https://github.com/networktocode/ntc-templates/pull/837) ([jmcgill298](https://github.com/jmcgill298)) -- Enhancment: EOS show int status - account for LAG members [\#835](https://github.com/networktocode/ntc-templates/pull/835) ([jmcgill298](https://github.com/jmcgill298)) -- update Cisco IOS show tacacs template to support parsing of server name in newer configurations [\#833](https://github.com/networktocode/ntc-templates/pull/833) ([anirudhkamath](https://github.com/anirudhkamath)) -- added fortinet get system arp [\#832](https://github.com/networktocode/ntc-templates/pull/832) ([wmclendon](https://github.com/wmclendon)) -- Enhancement: Change fortinet\_fortios to fortinet per Netmiko [\#831](https://github.com/networktocode/ntc-templates/pull/831) ([jmcgill298](https://github.com/jmcgill298)) -- New Template: hp\_procurve\_show\_interfaces\_brief.textfsm [\#829](https://github.com/networktocode/ntc-templates/pull/829) ([adraf82](https://github.com/adraf82)) -- New template: Vyatta/VyOS BGP summary [\#828](https://github.com/networktocode/ntc-templates/pull/828) ([jpbede](https://github.com/jpbede)) -- New template: dell\_powerconnect [\#827](https://github.com/networktocode/ntc-templates/pull/827) ([nidebr](https://github.com/nidebr)) -- Some sros commands [\#824](https://github.com/networktocode/ntc-templates/pull/824) ([kvlangenhove](https://github.com/kvlangenhove)) -- updated hp\_procurve\_show\_interfaces template for backward compatibility [\#823](https://github.com/networktocode/ntc-templates/pull/823) ([adraf82](https://github.com/adraf82)) -- New template: arista\_eos\_show\_interfaces\_description [\#822](https://github.com/networktocode/ntc-templates/pull/822) ([rich-day](https://github.com/rich-day)) -- Bugfix: issues with cisco\_nxos\_show\_ip\_dhcp\_relay\_address [\#821](https://github.com/networktocode/ntc-templates/pull/821) ([wvandeun](https://github.com/wvandeun)) -- Bugfix: URL ACL property in cisco\_wlc\_ssh\_show\_interface\_detailed [\#820](https://github.com/networktocode/ntc-templates/pull/820) ([wvandeun](https://github.com/wvandeun)) -- Bugfix: added 'Autostate exclude' to avoid error [\#818](https://github.com/networktocode/ntc-templates/pull/818) ([abaretta](https://github.com/abaretta)) -- fix unconfigured DHCP issue in cisco\_wlc\_ssh\_show\_interface\_detailed [\#817](https://github.com/networktocode/ntc-templates/pull/817) ([wvandeun](https://github.com/wvandeun)) -- cisco\_nxos show version - extract serial from "Processor board ID" [\#813](https://github.com/networktocode/ntc-templates/pull/813) ([diepes](https://github.com/diepes)) -- Bugfix: cisco ios show ip access-list [\#809](https://github.com/networktocode/ntc-templates/pull/809) ([jpobeda](https://github.com/jpobeda)) -- Bugfix: IOS show lldp neig - fix neighbor name with spaces [\#799](https://github.com/networktocode/ntc-templates/pull/799) ([realvitya](https://github.com/realvitya)) - -## [v1.6.0](https://github.com/networktocode/ntc-templates/tree/v1.6.0) (2020-10-26) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...v1.6.0) - -**Implemented enhancements:** - -- Creation of a Faq [\#716](https://github.com/networktocode/ntc-templates/issues/716) - -**Closed issues:** - -- This is not a data modeling project. So is there any data modeling project can work with this? [\#802](https://github.com/networktocode/ntc-templates/issues/802) -- Black 20.b0 breaks tox test [\#794](https://github.com/networktocode/ntc-templates/issues/794) -- Unable to Parse show version on IOSv Device [\#780](https://github.com/networktocode/ntc-templates/issues/780) -- TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) -- cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) -- arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) - -**Merged pull requests:** - -- Bugfix: ASA show interface - missing case handled for no values for duplex & speed [\#815](https://github.com/networktocode/ntc-templates/pull/815) ([starlightdreamer](https://github.com/starlightdreamer)) -- Linux arp a [\#814](https://github.com/networktocode/ntc-templates/pull/814) ([jifox](https://github.com/jifox)) -- add template and tests for cisco\_wlc\_ssh\_show\_interface\_detailed [\#812](https://github.com/networktocode/ntc-templates/pull/812) ([wvandeun](https://github.com/wvandeun)) -- fix issue in cisco\_wlc\_ssh\_show\_interface\_summary template [\#810](https://github.com/networktocode/ntc-templates/pull/810) ([wvandeun](https://github.com/wvandeun)) -- Bugfix: cisco\_ios\_show\_running\_partition\_access\_list [\#808](https://github.com/networktocode/ntc-templates/pull/808) ([jpobeda](https://github.com/jpobeda)) -- Release 1.6.0 [\#807](https://github.com/networktocode/ntc-templates/pull/807) ([jmcgill298](https://github.com/jmcgill298)) -- changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) -- modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) -- Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) -- Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) -- New Template - hp\_procurve\_show\_interfaces [\#796](https://github.com/networktocode/ntc-templates/pull/796) ([adraf82](https://github.com/adraf82)) -- Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) -- Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) -- update arista\_eos\_show\_inventory [\#791](https://github.com/networktocode/ntc-templates/pull/791) ([yshu95](https://github.com/yshu95)) -- Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) -- Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) -- Bugfix: Account for "powered-up" value in the output of nxos show module [\#774](https://github.com/networktocode/ntc-templates/pull/774) ([mtbutler07](https://github.com/mtbutler07)) -- Dual line support for Cisco NX-OS 'ip bgp summary' command [\#772](https://github.com/networktocode/ntc-templates/pull/772) ([rtkennedy](https://github.com/rtkennedy)) -- Arista eos show mac address table [\#765](https://github.com/networktocode/ntc-templates/pull/765) ([JoeyG1973](https://github.com/JoeyG1973)) -- New Template: cisco\_nxos\_show\_ip\_interface [\#761](https://github.com/networktocode/ntc-templates/pull/761) ([network-dave](https://github.com/network-dave)) -- New Template: cisco\_nxos\_show\_hsrp\_all [\#760](https://github.com/networktocode/ntc-templates/pull/760) ([network-dave](https://github.com/network-dave)) -- New Template: cisco\_nxos\_show\_license\_usage [\#759](https://github.com/networktocode/ntc-templates/pull/759) ([network-dave](https://github.com/network-dave)) -- New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) -- Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) - -## [v1.5.0](https://github.com/networktocode/ntc-templates/tree/v1.5.0) (2020-06-15) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...v1.5.0) - -**Implemented enhancements:** - -- Broadcom ICOS/Fastpath Support? [\#726](https://github.com/networktocode/ntc-templates/issues/726) - -**Fixed bugs:** - -- Cisco IOS show cdp neighbors issue [\#727](https://github.com/networktocode/ntc-templates/issues/727) -- Cisco IOS Show Interface Switchport does not parse multi-line VLAN Trunks [\#642](https://github.com/networktocode/ntc-templates/issues/642) -- Cisco ASA Show interface does not catch unnamed interfaces [\#627](https://github.com/networktocode/ntc-templates/issues/627) -- Fixes missing interfaces on down interfaces [\#734](https://github.com/networktocode/ntc-templates/pull/734) ([jvanderaa](https://github.com/jvanderaa)) - -**Closed issues:** - -- Cisco ASA "show vpn-sessiondb anyconnect" parser doesn't support IPv6 addresses [\#751](https://github.com/networktocode/ntc-templates/issues/751) -- failing testsuite [\#743](https://github.com/networktocode/ntc-templates/issues/743) -- I would like to contribute the PR for adding new cisco\_wlc\_ssh\_show\_ap\_image\_all [\#739](https://github.com/networktocode/ntc-templates/issues/739) -- Template help for multiple states [\#737](https://github.com/networktocode/ntc-templates/issues/737) -- textfsm.parser.TextFSMError: State Error raised. Rule Line: 15. Input Line: show ip arp [\#686](https://github.com/networktocode/ntc-templates/issues/686) -- Arista eos - sh ip bgp summ vrf all and sh ip route vrf all template [\#666](https://github.com/networktocode/ntc-templates/issues/666) -- Template Creation Help: cisco\_xr\_admin\_show\_environment\_power to get power supply, voltage and current [\#648](https://github.com/networktocode/ntc-templates/issues/648) -- New template: hp\_comware\_display\_interface\_textFSM [\#634](https://github.com/networktocode/ntc-templates/issues/634) -- cisco\_asa\_show\_failover\_state [\#546](https://github.com/networktocode/ntc-templates/issues/546) - -**Merged pull requests:** - -- Bumping to version 1.5.0 [\#763](https://github.com/networktocode/ntc-templates/pull/763) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) -- Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) -- Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) -- Fixes \#751 - IPv6 support for Cisco ASA 'show vpn-sessiondb anyconnect' [\#752](https://github.com/networktocode/ntc-templates/pull/752) ([smfeldman](https://github.com/smfeldman)) -- New Template added support for broadcom\_icos\_show\_vlan\_brief [\#750](https://github.com/networktocode/ntc-templates/pull/750) ([alepodj](https://github.com/alepodj)) -- New Template added support for broadcom\_icos\_show\_lldp\_remote-device\_all [\#749](https://github.com/networktocode/ntc-templates/pull/749) ([alepodj](https://github.com/alepodj)) -- New Template added support for broadcom\_icos\_show\_isdp\_neighbors [\#748](https://github.com/networktocode/ntc-templates/pull/748) ([alepodj](https://github.com/alepodj)) -- Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) -- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwoo](https://github.com/conorwoo)) -- Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) -- Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) -- BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) -- New Template support for broadcom\_icos as a new OS and added show\_version command [\#733](https://github.com/networktocode/ntc-templates/pull/733) ([alepodj](https://github.com/alepodj)) -- New template for ubiquity edgeswitch: show version [\#732](https://github.com/networktocode/ntc-templates/pull/732) ([saaverdo](https://github.com/saaverdo)) -- New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) - -## [v1.4.2](https://github.com/networktocode/ntc-templates/tree/v1.4.2) (2020-05-26) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...v1.4.2) - -**Fixed bugs:** - -- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) -- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) -- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) - -**Closed issues:** - -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) -- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) -- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) -- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) -- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) -- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) -- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) -- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) -- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) -- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) -- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) -- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) - -**Merged pull requests:** - -- Bump version to 1.4.2 [\#728](https://github.com/networktocode/ntc-templates/pull/728) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- 718 fix [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) -- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) -- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) -- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) -- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) -- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) -- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) -- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) -- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) -- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) -- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) -- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) -- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) - -## [v1.4.1](https://github.com/networktocode/ntc-templates/tree/v1.4.1) (2020-04-23) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.0...v1.4.1) - -**Closed issues:** - -- cisco\_ios\_show\_mac-address-table.textfsm "N/A" in vlan field. [\#657](https://github.com/networktocode/ntc-templates/issues/657) -- platform="cisco\_ios", command="sh ip route summary" returning an empty array. [\#655](https://github.com/networktocode/ntc-templates/issues/655) -- Beginning of output for cisco\_ios "show ip ospf database \" may or may not be a space character [\#649](https://github.com/networktocode/ntc-templates/issues/649) -- Cisco ASA show\_route parsing for alternative multiline format [\#646](https://github.com/networktocode/ntc-templates/issues/646) -- Cisco ASA AnyConnect Errors with Tunnel Group on different line [\#630](https://github.com/networktocode/ntc-templates/issues/630) -- Create Template for Cisco ASA - show vpn-sessiondb anyconnect [\#624](https://github.com/networktocode/ntc-templates/issues/624) -- Juniper Junos add fpc:X, {master:X} for many commans stdout [\#621](https://github.com/networktocode/ntc-templates/issues/621) - -**Merged pull requests:** - -- Forgot to bump version in lib/ntc\_templates/\_\_init\_\_.py [\#661](https://github.com/networktocode/ntc-templates/pull/661) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Added information for all new changes between 1.4.0 and now [\#660](https://github.com/networktocode/ntc-templates/pull/660) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: cisco\_ios\_show\_mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace [\#659](https://github.com/networktocode/ntc-templates/pull/659) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: cisco\_ios show ip ospf database router and network: Make leading spaces optional [\#650](https://github.com/networktocode/ntc-templates/pull/650) ([ariesgeek](https://github.com/ariesgeek)) -- Cisco ASA show\_route [\#647](https://github.com/networktocode/ntc-templates/pull/647) ([fatred](https://github.com/fatred)) -- Enhancement: cisco\_asa\_show\_inventory support inventory items w/o SN [\#638](https://github.com/networktocode/ntc-templates/pull/638) ([wvandeun](https://github.com/wvandeun)) -- show band-select template [\#637](https://github.com/networktocode/ntc-templates/pull/637) ([timjsmith24](https://github.com/timjsmith24)) -- Adds Cisco ASA show vpn-sessiondb [\#636](https://github.com/networktocode/ntc-templates/pull/636) ([jvanderaa](https://github.com/jvanderaa)) -- add cisco\_ios\_show\_ip\_route\_summary [\#635](https://github.com/networktocode/ntc-templates/pull/635) ([kjoyce77](https://github.com/kjoyce77)) -- Bugfix: cisco asa show nat [\#632](https://github.com/networktocode/ntc-templates/pull/632) ([joewesch](https://github.com/joewesch)) -- Updates based on hung sessions and different command output [\#631](https://github.com/networktocode/ntc-templates/pull/631) ([jvanderaa](https://github.com/jvanderaa)) -- Bugfix: Cisco ASA ipsec sa name compatibility [\#629](https://github.com/networktocode/ntc-templates/pull/629) ([joewesch](https://github.com/joewesch)) -- cisco\_wlc show mobility summary [\#628](https://github.com/networktocode/ntc-templates/pull/628) ([timjsmith24](https://github.com/timjsmith24)) -- Updates Cisco ASA `show vpn-sessiondb anyconnect` [\#626](https://github.com/networktocode/ntc-templates/pull/626) ([jvanderaa](https://github.com/jvanderaa)) -- Adds template for Cisco ASA "show vpn-sessiondb anyconnect" [\#625](https://github.com/networktocode/ntc-templates/pull/625) ([jvanderaa](https://github.com/jvanderaa)) -- Junos virtual chassis [\#622](https://github.com/networktocode/ntc-templates/pull/622) ([ainamori](https://github.com/ainamori)) -- allow space in fex description [\#620](https://github.com/networktocode/ntc-templates/pull/620) ([daanvdsanden](https://github.com/daanvdsanden)) -- New Template: hp\_comware\_display\_lldp\_neighbor-information\_verbose [\#619](https://github.com/networktocode/ntc-templates/pull/619) ([xdai555](https://github.com/xdai555)) -- New Template: cisco\_ios\_show\_ip\_ospf\_database\_network [\#618](https://github.com/networktocode/ntc-templates/pull/618) ([ChristopherJHart](https://github.com/ChristopherJHart)) -- BugFix: Remove reliance on static spacing for cisco\_ios\_show\_ip\_ospf\_database\_router [\#617](https://github.com/networktocode/ntc-templates/pull/617) ([ChristopherJHart](https://github.com/ChristopherJHart)) -- BugFix: Removed reliance on static spacing for cisco\_ios\_show\_interfaces\_status [\#614](https://github.com/networktocode/ntc-templates/pull/614) ([FragmentedPacket](https://github.com/FragmentedPacket)) - -## [v1.4.0](https://github.com/networktocode/ntc-templates/tree/v1.4.0) (2020-03-09) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.3.0...v1.4.0) - -**Implemented enhancements:** - -- Testing that test cases exist has an exception for 4 templates that need to be rectified [\#550](https://github.com/networktocode/ntc-templates/issues/550) -- Huawei - display lldp neighbor formatting [\#396](https://github.com/networktocode/ntc-templates/issues/396) -- Adding vlan name to access vlan and native vlan on NXOS [\#612](https://github.com/networktocode/ntc-templates/pull/612) ([daanvdsanden](https://github.com/daanvdsanden)) -- Enhancement: cisco\_nxos\_show\_vlan: Added interfaces [\#604](https://github.com/networktocode/ntc-templates/pull/604) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: IOS lldp neighbors - add capabilities capture group [\#553](https://github.com/networktocode/ntc-templates/pull/553) ([ewmanthei](https://github.com/ewmanthei)) -- Enhancement: Use ".textfsm" extension for IDEs [\#543](https://github.com/networktocode/ntc-templates/pull/543) ([jmcgill298](https://github.com/jmcgill298)) -- YAMLLINT: Add yamllint to tox testing [\#406](https://github.com/networktocode/ntc-templates/pull/406) ([jmcgill298](https://github.com/jmcgill298)) - -**Fixed bugs:** - -- parse\_output returns empty after interface has been modified by first run of script [\#613](https://github.com/networktocode/ntc-templates/issues/613) -- arista\_eos\_show\_ip\_route.textfsm fails on vrrp route display [\#588](https://github.com/networktocode/ntc-templates/issues/588) -- ASA show failover bug when using IPS module [\#547](https://github.com/networktocode/ntc-templates/issues/547) -- cisco\_nxos\_show\_version does not display N5K platform [\#545](https://github.com/networktocode/ntc-templates/issues/545) -- Fix regex: Update VyOS template to match addresses without netmask de… [\#608](https://github.com/networktocode/ntc-templates/pull/608) ([sliddjur](https://github.com/sliddjur)) -- Fixed regex for fortinet bgp template and added new template standards [\#592](https://github.com/networktocode/ntc-templates/pull/592) ([corvese](https://github.com/corvese)) -- BugFix: Cisco show switch detail with mac persistency wait time [\#584](https://github.com/networktocode/ntc-templates/pull/584) ([msom](https://github.com/msom)) - -**Closed issues:** - -- cisco\_nxos\_show\_vlan does not show ports, thank god cisco\_ios\_show\_vlan works [\#601](https://github.com/networktocode/ntc-templates/issues/601) -- regex to match whitespace, words, or mix of both, and cut off trailing whitespace? [\#566](https://github.com/networktocode/ntc-templates/issues/566) -- Bug: Alcatel SROS show service id index issue [\#556](https://github.com/networktocode/ntc-templates/issues/556) -- Cisco IOS Show MAC Address-Table Errors on Last Line [\#544](https://github.com/networktocode/ntc-templates/issues/544) -- Cisco IOS Show Run Template [\#469](https://github.com/networktocode/ntc-templates/issues/469) -- show ip route IOS vs NXOS [\#382](https://github.com/networktocode/ntc-templates/issues/382) -- Add tests for index file to Travis [\#207](https://github.com/networktocode/ntc-templates/issues/207) -- Using the .textfsm extension for templates [\#171](https://github.com/networktocode/ntc-templates/issues/171) - -**Merged pull requests:** - -- Bumping version to 1.4.0 [\#616](https://github.com/networktocode/ntc-templates/pull/616) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Documentation: Update changelog for 1.4.0 release [\#615](https://github.com/networktocode/ntc-templates/pull/615) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Added line to get the port mode of an interface [\#611](https://github.com/networktocode/ntc-templates/pull/611) ([daanvdsanden](https://github.com/daanvdsanden)) -- update show arp for aruba\_os [\#610](https://github.com/networktocode/ntc-templates/pull/610) ([dmwcode](https://github.com/dmwcode)) -- New Template: hp comware show ip interface [\#609](https://github.com/networktocode/ntc-templates/pull/609) ([sliddjur](https://github.com/sliddjur)) -- New Template: cisco\_ios\_show\_ip\_ospf\_database\_router [\#606](https://github.com/networktocode/ntc-templates/pull/606) ([ChristopherJHart](https://github.com/ChristopherJHart)) -- New Template: cisco\_s300\_show\_version [\#605](https://github.com/networktocode/ntc-templates/pull/605) ([wdennis](https://github.com/wdennis)) -- Enhancements: IOS show ip access-list [\#603](https://github.com/networktocode/ntc-templates/pull/603) ([jpobeda](https://github.com/jpobeda)) -- Cisco nxos show vrf interface [\#602](https://github.com/networktocode/ntc-templates/pull/602) ([JoeyG1973](https://github.com/JoeyG1973)) -- New Template Show Mpls interface [\#600](https://github.com/networktocode/ntc-templates/pull/600) ([alekgozali](https://github.com/alekgozali)) -- New Template : Show Etherchannel Summary [\#599](https://github.com/networktocode/ntc-templates/pull/599) ([alekgozali](https://github.com/alekgozali)) -- Fixes for cisco\_ios\_show\_running-config\_partition\_access-list template [\#598](https://github.com/networktocode/ntc-templates/pull/598) ([jpobeda](https://github.com/jpobeda)) -- add huawei vrp display version [\#597](https://github.com/networktocode/ntc-templates/pull/597) ([lutfisan](https://github.com/lutfisan)) -- Cisco XR - admin show environment power - template [\#596](https://github.com/networktocode/ntc-templates/pull/596) ([hijm](https://github.com/hijm)) -- Added Checkpoint GAIA show arp dynamic all template [\#595](https://github.com/networktocode/ntc-templates/pull/595) ([dys152](https://github.com/dys152)) -- add show arp for aruba\_os [\#594](https://github.com/networktocode/ntc-templates/pull/594) ([dmwcode](https://github.com/dmwcode)) -- New Template - CISCO IOS - Show Module [\#593](https://github.com/networktocode/ntc-templates/pull/593) ([alekgozali](https://github.com/alekgozali)) -- New Template: cisco\_nxos\_show\_vdc.textfsm [\#591](https://github.com/networktocode/ntc-templates/pull/591) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: cisco\_ios\_show\_ip\_bgp\_neighbors.textfsm [\#590](https://github.com/networktocode/ntc-templates/pull/590) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: added new vrf format and secondary route catch [\#589](https://github.com/networktocode/ntc-templates/pull/589) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bug Fix: Cisco IOS show interfaces switchport [\#587](https://github.com/networktocode/ntc-templates/pull/587) ([kwrobert](https://github.com/kwrobert)) -- Bug Fix: Cisco IOS show mac address-table [\#585](https://github.com/networktocode/ntc-templates/pull/585) ([kwrobert](https://github.com/kwrobert)) -- Jschulman cisco nxos allow missing transceiver type [\#582](https://github.com/networktocode/ntc-templates/pull/582) ([jeremyschulman](https://github.com/jeremyschulman)) -- New Template: Cisco WLC show wlan summary [\#581](https://github.com/networktocode/ntc-templates/pull/581) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template Pull Request - cisco\_xr\_show\_interfaces\_summary [\#580](https://github.com/networktocode/ntc-templates/pull/580) ([hijm](https://github.com/hijm)) -- New Templates: Fortinet get system interface and status [\#578](https://github.com/networktocode/ntc-templates/pull/578) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bug Fix for cisco ios show mac address-table parser [\#577](https://github.com/networktocode/ntc-templates/pull/577) ([kwrobert](https://github.com/kwrobert)) -- New Templat: Huawei display lldp neighbor [\#576](https://github.com/networktocode/ntc-templates/pull/576) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: NXOS show version - Add n5k platform regex [\#575](https://github.com/networktocode/ntc-templates/pull/575) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bug Fix: ASA Show failover - Account for new data [\#574](https://github.com/networktocode/ntc-templates/pull/574) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: Show arp - ASA [\#573](https://github.com/networktocode/ntc-templates/pull/573) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Add SERIAL to Cisco IOS LLDP Neighbors Detail [\#572](https://github.com/networktocode/ntc-templates/pull/572) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: Cisco XR - show arp [\#567](https://github.com/networktocode/ntc-templates/pull/567) ([migueloangelo](https://github.com/migueloangelo)) -- cisco\_ios\_show\_license - avoid trailing white spaces [\#565](https://github.com/networktocode/ntc-templates/pull/565) ([migueloangelo](https://github.com/migueloangelo)) -- New Template for Cisco NXOS - show\_interface\_transceiver [\#564](https://github.com/networktocode/ntc-templates/pull/564) ([dgarros](https://github.com/dgarros)) -- Enhancement: IOS show int switchport - Add ADMIN\_MODE Group [\#563](https://github.com/networktocode/ntc-templates/pull/563) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco ASA Show Logging Template [\#562](https://github.com/networktocode/ntc-templates/pull/562) ([afoster213](https://github.com/afoster213)) -- New Template for Cisco IOS Log Messages [\#554](https://github.com/networktocode/ntc-templates/pull/554) ([afoster213](https://github.com/afoster213)) -- Cleanup some testing [\#551](https://github.com/networktocode/ntc-templates/pull/551) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Fixes \#544: Added new parsed sample based on 3750G 15.0\(2\)SE11 code, … [\#548](https://github.com/networktocode/ntc-templates/pull/548) ([jvanderaa](https://github.com/jvanderaa)) -- PYTHON FORMATTING: Add Black to tox file [\#407](https://github.com/networktocode/ntc-templates/pull/407) ([jmcgill298](https://github.com/jmcgill298)) - -## [v1.3.0](https://github.com/networktocode/ntc-templates/tree/v1.3.0) (2019-11-18) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.1...v1.3.0) - -**Implemented enhancements:** - -- cisco\_ios\_show\_standby\_brief.template support for interfaces and output in two lines [\#483](https://github.com/networktocode/ntc-templates/issues/483) -- New template cisco\_ios\_show\_snmp\_user.template [\#390](https://github.com/networktocode/ntc-templates/issues/390) -- added last\_link\_flapped to nxos\_show\_interface [\#531](https://github.com/networktocode/ntc-templates/pull/531) ([aSauerwein](https://github.com/aSauerwein)) -- Adding Values for route-map names fetch for nxos\_sh\_ip\_bgp\_nei [\#481](https://github.com/networktocode/ntc-templates/pull/481) ([nnaukwal](https://github.com/nnaukwal)) -- Added BGP up/down time to sh ip bgp summary [\#476](https://github.com/networktocode/ntc-templates/pull/476) ([corvese](https://github.com/corvese)) -- Update cisco\_ios\_show\_ip\_eigrp\_topology.template [\#445](https://github.com/networktocode/ntc-templates/pull/445) ([thomasbridge74](https://github.com/thomasbridge74)) -- Cisco wlc template [\#391](https://github.com/networktocode/ntc-templates/pull/391) ([hisaza](https://github.com/hisaza)) -- Cisco xr show route vrf all [\#378](https://github.com/networktocode/ntc-templates/pull/378) ([Warsenius](https://github.com/Warsenius)) - -**Fixed bugs:** - -- cisco\_ios\_show\_interfaces\_switchport.template broken [\#537](https://github.com/networktocode/ntc-templates/issues/537) -- "Cisco IOS show authentication session" issue when session count exceeds ~10 [\#473](https://github.com/networktocode/ntc-templates/issues/473) -- cisco\_ios\_show\_ip\_interface.template does not deal with peer address on virtual-access interface [\#461](https://github.com/networktocode/ntc-templates/issues/461) -- arista\_eos\_show\_interfaces\_status.template does not deal with disabled ports properly [\#460](https://github.com/networktocode/ntc-templates/issues/460) -- cisco\_ios\_show\_ip\_eigrp\_topology.template does not deal with redistributed routes. [\#459](https://github.com/networktocode/ntc-templates/issues/459) -- Cisco ASA - show failover error [\#424](https://github.com/networktocode/ntc-templates/issues/424) -- wrong info returned when not space between interface name and number from show cdp neighbor [\#415](https://github.com/networktocode/ntc-templates/issues/415) -- show\_mac\_address-table - Output contains single dictionary [\#385](https://github.com/networktocode/ntc-templates/issues/385) -- Fix netflow and wccp lines [\#494](https://github.com/networktocode/ntc-templates/pull/494) ([targuan](https://github.com/targuan)) -- Fix mac address table [\#485](https://github.com/networktocode/ntc-templates/pull/485) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Issue 415 cdp [\#480](https://github.com/networktocode/ntc-templates/pull/480) ([mullaneywt](https://github.com/mullaneywt)) -- Issue 472 patch [\#479](https://github.com/networktocode/ntc-templates/pull/479) ([mullaneywt](https://github.com/mullaneywt)) -- fixed ports [\#471](https://github.com/networktocode/ntc-templates/pull/471) ([dainok](https://github.com/dainok)) -- Fixes \#424: Cisco ASA - show failover error. [\#465](https://github.com/networktocode/ntc-templates/pull/465) ([deesel](https://github.com/deesel)) -- Issue \#384 cisco\_asa\_show\_route - Fix uptime issue [\#401](https://github.com/networktocode/ntc-templates/pull/401) ([brandomando](https://github.com/brandomando)) - -**Closed issues:** - -- cisco\_asa bug in 9.10.1.22 causes `show inventory` template to fail [\#498](https://github.com/networktocode/ntc-templates/issues/498) -- Cisco IOS LLDP [\#484](https://github.com/networktocode/ntc-templates/issues/484) -- cisco\_nxos\_show\_interface\_brief does not deal with pvlan and fabric interfaces [\#472](https://github.com/networktocode/ntc-templates/issues/472) -- cisco\_ios\_show\_lldp\_neighbors\_detail failing when last neighbor includes" MED information" section [\#444](https://github.com/networktocode/ntc-templates/issues/444) -- New Template: cisco\_ios\_show\_license [\#440](https://github.com/networktocode/ntc-templates/issues/440) -- nxos\_show\_interface\_status\_template error [\#420](https://github.com/networktocode/ntc-templates/issues/420) -- README Documentation missing setup information [\#411](https://github.com/networktocode/ntc-templates/issues/411) -- Arista and show int status [\#410](https://github.com/networktocode/ntc-templates/issues/410) -- Cisco ASA show route template error [\#384](https://github.com/networktocode/ntc-templates/issues/384) -- Build is failing in Travis CI [\#240](https://github.com/networktocode/ntc-templates/issues/240) - -**Merged pull requests:** - -- Update CHANGELOG and bump version [\#542](https://github.com/networktocode/ntc-templates/pull/542) ([jmcgill298](https://github.com/jmcgill298)) -- Update state transitions to provide more consistency across platforms [\#541](https://github.com/networktocode/ntc-templates/pull/541) ([jmcgill298](https://github.com/jmcgill298)) -- cisco\_ios\_show\_environment\_temperature.template, iOS, show environment temperature [\#540](https://github.com/networktocode/ntc-templates/pull/540) ([bobbytayar](https://github.com/bobbytayar)) -- show interface summary [\#539](https://github.com/networktocode/ntc-templates/pull/539) ([timjsmith24](https://github.com/timjsmith24)) -- Fixes 537 - IOS show interfaces switchport - Changed output [\#538](https://github.com/networktocode/ntc-templates/pull/538) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Issue 440 [\#533](https://github.com/networktocode/ntc-templates/pull/533) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Show snmp user [\#532](https://github.com/networktocode/ntc-templates/pull/532) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement - fortinet - get router info bgp summary [\#529](https://github.com/networktocode/ntc-templates/pull/529) ([corvese](https://github.com/corvese)) -- Enhancement: Update templates to record on new entry [\#528](https://github.com/networktocode/ntc-templates/pull/528) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco voice vlan [\#527](https://github.com/networktocode/ntc-templates/pull/527) ([ThreeFDDI](https://github.com/ThreeFDDI)) -- Adv 802dot11 channel [\#526](https://github.com/networktocode/ntc-templates/pull/526) ([timjsmith24](https://github.com/timjsmith24)) -- BugFix: IOS - Add capturing of timestamp data for vty lines that auto print one [\#525](https://github.com/networktocode/ntc-templates/pull/525) ([jmcgill298](https://github.com/jmcgill298)) -- New Template - EOS - show vrf [\#524](https://github.com/networktocode/ntc-templates/pull/524) ([jmcgill298](https://github.com/jmcgill298)) -- Enhancement - IOS - show mac-address - add data validation and tests [\#523](https://github.com/networktocode/ntc-templates/pull/523) ([jmcgill298](https://github.com/jmcgill298)) -- Enhancement - EOS - Allow show bgp summary to be used for show bgp evpn summary [\#522](https://github.com/networktocode/ntc-templates/pull/522) ([jmcgill298](https://github.com/jmcgill298)) -- Enhancement - EOS|NXOS - sh ip route add capturing of VRF [\#521](https://github.com/networktocode/ntc-templates/pull/521) ([jmcgill298](https://github.com/jmcgill298)) -- Enhancement: IOS|EOS - show bgp summ - Account for VRF syntax [\#520](https://github.com/networktocode/ntc-templates/pull/520) ([jmcgill298](https://github.com/jmcgill298)) -- BugFix: XR - show version - account for CRS output [\#519](https://github.com/networktocode/ntc-templates/pull/519) ([jmcgill298](https://github.com/jmcgill298)) -- New Template - Ciena - software show [\#518](https://github.com/networktocode/ntc-templates/pull/518) ([jmcgill298](https://github.com/jmcgill298)) -- BugFix: EOS - show bgp summ - match RID/AS more precisely [\#517](https://github.com/networktocode/ntc-templates/pull/517) ([jmcgill298](https://github.com/jmcgill298)) -- BugFix: IOS - show ip int - account for serial intfs [\#516](https://github.com/networktocode/ntc-templates/pull/516) ([jmcgill298](https://github.com/jmcgill298)) -- New Template: WLC - show inventory [\#515](https://github.com/networktocode/ntc-templates/pull/515) ([jmcgill298](https://github.com/jmcgill298)) -- New Template - IOS - show process memory sorted [\#514](https://github.com/networktocode/ntc-templates/pull/514) ([jmcgill298](https://github.com/jmcgill298)) -- New Template: WLC - show rf profile-summary [\#513](https://github.com/networktocode/ntc-templates/pull/513) ([jmcgill298](https://github.com/jmcgill298)) -- New Templates - Huawei VRP - display interface and display temp [\#512](https://github.com/networktocode/ntc-templates/pull/512) ([jmcgill298](https://github.com/jmcgill298)) -- New Template: WLC - show 802.11 cleanair config [\#510](https://github.com/networktocode/ntc-templates/pull/510) ([jmcgill298](https://github.com/jmcgill298)) -- BugFix: WLC 80211 - Add missing EoL to matching empty lines [\#508](https://github.com/networktocode/ntc-templates/pull/508) ([jmcgill298](https://github.com/jmcgill298)) -- cisco nxos bgp neighbor defect fix [\#505](https://github.com/networktocode/ntc-templates/pull/505) ([nnaukwal](https://github.com/nnaukwal)) -- BugFix: IOS show standby brief - support multiline output [\#503](https://github.com/networktocode/ntc-templates/pull/503) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco WLC Command - Show 802 11a|b [\#501](https://github.com/networktocode/ntc-templates/pull/501) ([timjsmith24](https://github.com/timjsmith24)) -- Fixes498 - Cisco ASA with Extra Output in `show inventory` [\#499](https://github.com/networktocode/ntc-templates/pull/499) ([jvanderaa](https://github.com/jvanderaa)) -- Enhancement: ASA - Convert show version serial to list [\#497](https://github.com/networktocode/ntc-templates/pull/497) ([jmcgill298](https://github.com/jmcgill298)) -- Add arista eos show ip helper [\#496](https://github.com/networktocode/ntc-templates/pull/496) ([targuan](https://github.com/targuan)) -- Fix \#461 [\#495](https://github.com/networktocode/ntc-templates/pull/495) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Add ruckus\_fastiron show arp template [\#493](https://github.com/networktocode/ntc-templates/pull/493) ([QuasarKid](https://github.com/QuasarKid)) -- New Template: cisco\_xr\_show\_ipv6\_neighbors [\#492](https://github.com/networktocode/ntc-templates/pull/492) ([charlesmonson](https://github.com/charlesmonson)) -- Switch detail [\#491](https://github.com/networktocode/ntc-templates/pull/491) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco NXoS template for "show forwarding ipv4 route" [\#489](https://github.com/networktocode/ntc-templates/pull/489) ([nnaukwal](https://github.com/nnaukwal)) -- Fix \#460 [\#488](https://github.com/networktocode/ntc-templates/pull/488) ([targuan](https://github.com/targuan)) -- Add test case for 3650/3850 output [\#487](https://github.com/networktocode/ntc-templates/pull/487) ([targuan](https://github.com/targuan)) -- nxos - Template for show route-map command [\#486](https://github.com/networktocode/ntc-templates/pull/486) ([nnaukwal](https://github.com/nnaukwal)) -- Cisco XR admin show inventory [\#482](https://github.com/networktocode/ntc-templates/pull/482) ([charlesmonson](https://github.com/charlesmonson)) -- Add template cisco\_nxos\_show\_ip\_interface\_brief [\#478](https://github.com/networktocode/ntc-templates/pull/478) ([mullaneywt](https://github.com/mullaneywt)) -- BugFix: allow various time formats for ip mroute [\#474](https://github.com/networktocode/ntc-templates/pull/474) ([jmcgill298](https://github.com/jmcgill298)) -- template for show arp in watchguard [\#468](https://github.com/networktocode/ntc-templates/pull/468) ([dainok](https://github.com/dainok)) -- Paloalto panos arp fix [\#466](https://github.com/networktocode/ntc-templates/pull/466) ([dainok](https://github.com/dainok)) -- HP Comware `display counters \(inbound|outbound\) interface` [\#464](https://github.com/networktocode/ntc-templates/pull/464) ([ad8-bdl](https://github.com/ad8-bdl)) -- ASA show asp drop changes [\#446](https://github.com/networktocode/ntc-templates/pull/446) ([vaneuk](https://github.com/vaneuk)) -- add cisco\_wlc\_ssh\_show\_exclusionlist [\#425](https://github.com/networktocode/ntc-templates/pull/425) ([ancker010](https://github.com/ancker010)) -- fix: show ip bgp examples appear to be swapped [\#421](https://github.com/networktocode/ntc-templates/pull/421) ([cmccormack](https://github.com/cmccormack)) -- Bugfix: asa\_dir template to account for change in raw output [\#419](https://github.com/networktocode/ntc-templates/pull/419) ([FragmentedPacket](https://github.com/FragmentedPacket)) - -## [v1.2.1](https://github.com/networktocode/ntc-templates/tree/v1.2.1) (2019-09-26) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.0...v1.2.1) - -## [v1.2.0](https://github.com/networktocode/ntc-templates/tree/v1.2.0) (2019-09-26) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.1.1...v1.2.0) - -**Implemented enhancements:** - -- FileNotFoundError on Windows 10 [\#455](https://github.com/networktocode/ntc-templates/issues/455) -- Cisco ASA - Missing capture of Software Compile Date [\#387](https://github.com/networktocode/ntc-templates/issues/387) - -**Merged pull requests:** - -- Updates as requested [\#470](https://github.com/networktocode/ntc-templates/pull/470) ([jvanderaa](https://github.com/jvanderaa)) -- Remove extraneous \(duplicate\) test [\#463](https://github.com/networktocode/ntc-templates/pull/463) ([ad8-bdl](https://github.com/ad8-bdl)) -- Support for locating templates when installing local directory on Windows - Fixes \#455 [\#456](https://github.com/networktocode/ntc-templates/pull/456) ([jmcgill298](https://github.com/jmcgill298)) -- Update cisco\_xr\_show\_version.template [\#442](https://github.com/networktocode/ntc-templates/pull/442) ([mspiez](https://github.com/mspiez)) -- Cisco xr show interfaces duplex and mac for bundle ethernet [\#389](https://github.com/networktocode/ntc-templates/pull/389) ([Warsenius](https://github.com/Warsenius)) - -## [v1.1.1](https://github.com/networktocode/ntc-templates/tree/v1.1.1) (2019-08-08) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/0.9.0...v1.1.1) - -**Implemented enhancements:** - -- cisco\_ios\_show\_version.template Add Licensing [\#256](https://github.com/networktocode/ntc-templates/issues/256) -- Adding cisco\_ios\_show\_ip\_interface [\#322](https://github.com/networktocode/ntc-templates/pull/322) ([vladola](https://github.com/vladola)) -- Packaging [\#288](https://github.com/networktocode/ntc-templates/pull/288) ([micahculpepper](https://github.com/micahculpepper)) - -**Fixed bugs:** - -- nxos show interface status issue [\#426](https://github.com/networktocode/ntc-templates/issues/426) -- CISCO\_XR\_SH\_INTF: Parsed file shows that not all interfaces in raw are being parsed/recorded [\#282](https://github.com/networktocode/ntc-templates/issues/282) -- Test files for aruba os need renamed. [\#224](https://github.com/networktocode/ntc-templates/issues/224) - -**Closed issues:** - -- show\_lldp\_neighbors.template failing when switch + domain name is \> 19 characters [\#375](https://github.com/networktocode/ntc-templates/issues/375) -- cisco\_ios\_show\_lldp\_neighbor\_detail failing when `Physical media capabilities` are `Other/unknown` [\#374](https://github.com/networktocode/ntc-templates/issues/374) -- Master branch fails tox tests [\#361](https://github.com/networktocode/ntc-templates/issues/361) -- cisco\_nxos\_show\_interface\_status.template [\#333](https://github.com/networktocode/ntc-templates/issues/333) -- cisco\_nxos\_show\_interface\_status.template: error on 10G and 40G interfaces [\#331](https://github.com/networktocode/ntc-templates/issues/331) -- cisco\_ios\_show\_vlan.template not recorded complete list of interfaces [\#328](https://github.com/networktocode/ntc-templates/issues/328) -- Problem with parsing ASA ACL [\#287](https://github.com/networktocode/ntc-templates/issues/287) -- New Template Request [\#286](https://github.com/networktocode/ntc-templates/issues/286) -- cisco\_xr\_show\_interfaces.template line 4 regex incorrect [\#280](https://github.com/networktocode/ntc-templates/issues/280) -- cisco\_xr\_show\_cdp\_neighbors\_detail.template shows remote and local interface incorrectly [\#277](https://github.com/networktocode/ntc-templates/issues/277) -- Multiple Failing Use Cases in Cisco IOS ACL Template [\#245](https://github.com/networktocode/ntc-templates/issues/245) -- cisco\_asa\_show\_vpn-sessiondb\_detail\_l2l.template not parsing [\#231](https://github.com/networktocode/ntc-templates/issues/231) -- show interface status for cisco\_nxos returns incorrect 'name' and 'port' objects if there are spaces in the description. [\#196](https://github.com/networktocode/ntc-templates/issues/196) -- cisco\_xr\_show\_ip\_route uptime format and protocol sub-type support [\#185](https://github.com/networktocode/ntc-templates/issues/185) - -**Merged pull requests:** - -- Update readme [\#452](https://github.com/networktocode/ntc-templates/pull/452) ([jmcgill298](https://github.com/jmcgill298)) -- Fix spacing new templates [\#443](https://github.com/networktocode/ntc-templates/pull/443) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Fixes \#224 Updating aurba test file names to match folder/file naming pattern [\#439](https://github.com/networktocode/ntc-templates/pull/439) ([myyellowshoe](https://github.com/myyellowshoe)) -- add Cisco IOS XR 'show ip interface brief' command [\#438](https://github.com/networktocode/ntc-templates/pull/438) ([dampfhamm3r](https://github.com/dampfhamm3r)) -- Cisco nxos show interfaces switchport [\#434](https://github.com/networktocode/ntc-templates/pull/434) ([dainok](https://github.com/dainok)) -- Cisco ios show interfaces switchport [\#433](https://github.com/networktocode/ntc-templates/pull/433) ([dainok](https://github.com/dainok)) -- Paloalto panos show arp all [\#432](https://github.com/networktocode/ntc-templates/pull/432) ([dainok](https://github.com/dainok)) -- Paloalto panos show mac all [\#431](https://github.com/networktocode/ntc-templates/pull/431) ([dainok](https://github.com/dainok)) -- Hp procurve show mac address [\#430](https://github.com/networktocode/ntc-templates/pull/430) ([dainok](https://github.com/dainok)) -- New template cisco\_ios\_show\_snmp\_user.template [\#429](https://github.com/networktocode/ntc-templates/pull/429) ([jifox](https://github.com/jifox)) -- nxos\_show\_interface\_status: Allows capture of Fabric Exte type [\#427](https://github.com/networktocode/ntc-templates/pull/427) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Tests [\#402](https://github.com/networktocode/ntc-templates/pull/402) ([jmcgill298](https://github.com/jmcgill298)) -- Feature/improve cisco ios show vrf [\#395](https://github.com/networktocode/ntc-templates/pull/395) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) -- Feature/cisco ios show hosts [\#394](https://github.com/networktocode/ntc-templates/pull/394) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) -- cisco\_nxos\_show\_version extension for pulling PLATFORM from N9K [\#393](https://github.com/networktocode/ntc-templates/pull/393) ([jonesbra](https://github.com/jonesbra)) -- Cisco IOS - show dmvpn - New template [\#392](https://github.com/networktocode/ntc-templates/pull/392) ([adrydale](https://github.com/adrydale)) -- updated template to catch NSR N/A state [\#381](https://github.com/networktocode/ntc-templates/pull/381) ([Warsenius](https://github.com/Warsenius)) -- show ospf neighbor NEIGHBOR\_UPTIME no match when output in 1w2d format [\#380](https://github.com/networktocode/ntc-templates/pull/380) ([Warsenius](https://github.com/Warsenius)) -- Fixes 374 - Adds example of Other/unknown media on LLDP for a device … [\#377](https://github.com/networktocode/ntc-templates/pull/377) ([jvanderaa](https://github.com/jvanderaa)) -- Updated the template to get first 20 chars on LLDP neighbor for case … [\#376](https://github.com/networktocode/ntc-templates/pull/376) ([jvanderaa](https://github.com/jvanderaa)) -- add Cisco IOS show ip flow toptalkers [\#373](https://github.com/networktocode/ntc-templates/pull/373) ([lscarmic](https://github.com/lscarmic)) -- Updated LLDP Neighbor Detail for matching on some devices that were missing. [\#372](https://github.com/networktocode/ntc-templates/pull/372) ([jvanderaa](https://github.com/jvanderaa)) -- Add show\_boot template for cisco\_ios [\#371](https://github.com/networktocode/ntc-templates/pull/371) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Update cisco\_nxos\_show\_interface\_status.template [\#370](https://github.com/networktocode/ntc-templates/pull/370) ([Pluppo](https://github.com/Pluppo)) -- IOS SHOW INTERFACES : adding regexes for skipped values & parsed results [\#368](https://github.com/networktocode/ntc-templates/pull/368) ([lachlanjholmes](https://github.com/lachlanjholmes)) -- Add Cisco IOS show ipv6 neighbors [\#363](https://github.com/networktocode/ntc-templates/pull/363) ([kimoldfield](https://github.com/kimoldfield)) -- XR SHOW LPTS PIFIB HARDWARE POLICE LOCATION: Add new template [\#360](https://github.com/networktocode/ntc-templates/pull/360) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW DROPS NP ALL: Add new template [\#359](https://github.com/networktocode/ntc-templates/pull/359) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template [\#358](https://github.com/networktocode/ntc-templates/pull/358) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW CONTROLLERS FABRIC FIA ERRORS EGRESS: Add new template [\#357](https://github.com/networktocode/ntc-templates/pull/357) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW CONTROLLERS FABRIC FIA DROPS INGRESS: Add new template [\#356](https://github.com/networktocode/ntc-templates/pull/356) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW CONTROLLERS FABRIC FIA DROPS EGRESS: Add new template [\#355](https://github.com/networktocode/ntc-templates/pull/355) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO XR SHOW CEF DROPS LOCATION: Add new template [\#354](https://github.com/networktocode/ntc-templates/pull/354) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW ASIC ERRORS: Add new template [\#353](https://github.com/networktocode/ntc-templates/pull/353) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW BGP: Add new template [\#351](https://github.com/networktocode/ntc-templates/pull/351) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW HSRP: Add new template [\#350](https://github.com/networktocode/ntc-templates/pull/350) ([jmcgill298](https://github.com/jmcgill298)) -- XR SHOW CONTROLLERS: Bug Fix [\#349](https://github.com/networktocode/ntc-templates/pull/349) ([jmcgill298](https://github.com/jmcgill298)) -- Create cisco\_ios\_show\_interfaces\_description.template [\#348](https://github.com/networktocode/ntc-templates/pull/348) ([adrydale](https://github.com/adrydale)) -- Aos vlan [\#345](https://github.com/networktocode/ntc-templates/pull/345) ([jmcgill298](https://github.com/jmcgill298)) -- Tacacs cisco [\#344](https://github.com/networktocode/ntc-templates/pull/344) ([jmcgill298](https://github.com/jmcgill298)) -- EOS SHOW MODULE: Add new template [\#343](https://github.com/networktocode/ntc-templates/pull/343) ([jmcgill298](https://github.com/jmcgill298)) -- Patch 2 [\#342](https://github.com/networktocode/ntc-templates/pull/342) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO XR SHOW BGP NEIGH: Add new template [\#341](https://github.com/networktocode/ntc-templates/pull/341) ([jmcgill298](https://github.com/jmcgill298)) -- cisco\_ios\_show\_ip\_bgp: Fix whitespace change in command output [\#340](https://github.com/networktocode/ntc-templates/pull/340) ([paneu](https://github.com/paneu)) -- CISCO\_ASA\_SHOW\_LICENSE\_ALL: Add new template [\#339](https://github.com/networktocode/ntc-templates/pull/339) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO\_ASA\_SHOW\_ASP\_DROP: Add new template [\#338](https://github.com/networktocode/ntc-templates/pull/338) ([jmcgill298](https://github.com/jmcgill298)) -- `ASA INTERFACE DETAIL`: Add new template [\#337](https://github.com/networktocode/ntc-templates/pull/337) ([jmcgill298](https://github.com/jmcgill298)) -- `NETIRON SHOW RUN INTF`: Broaden template scope [\#336](https://github.com/networktocode/ntc-templates/pull/336) ([jmcgill298](https://github.com/jmcgill298)) -- checkpoint\_gaia\_show\_ntp\_servers: Add new template [\#335](https://github.com/networktocode/ntc-templates/pull/335) ([JCapretta](https://github.com/JCapretta)) -- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#333 [\#334](https://github.com/networktocode/ntc-templates/pull/334) ([JCapretta](https://github.com/JCapretta)) -- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#331 [\#332](https://github.com/networktocode/ntc-templates/pull/332) ([JCapretta](https://github.com/JCapretta)) -- Checkpoint gaia show dns.template [\#330](https://github.com/networktocode/ntc-templates/pull/330) ([JCapretta](https://github.com/JCapretta)) -- Modified cisco\_ios\_show\_vlan.template \(\#328\) [\#329](https://github.com/networktocode/ntc-templates/pull/329) ([JCapretta](https://github.com/JCapretta)) -- cisco ios show ip interface: Incorporate \#229 into \#322 [\#326](https://github.com/networktocode/ntc-templates/pull/326) ([jmcgill298](https://github.com/jmcgill298)) -- ASA SHOW RESOURCE: Add new template [\#325](https://github.com/networktocode/ntc-templates/pull/325) ([jmcgill298](https://github.com/jmcgill298)) -- ASA VPN-SESSIONDB: Bug Fixes with new data [\#323](https://github.com/networktocode/ntc-templates/pull/323) ([jmcgill298](https://github.com/jmcgill298)) -- IOS DIR: Account for spaces in permissions [\#321](https://github.com/networktocode/ntc-templates/pull/321) ([jmcgill298](https://github.com/jmcgill298)) -- NX-OS show l2rib internal permanently-frozen-list template [\#320](https://github.com/networktocode/ntc-templates/pull/320) ([vaneuk](https://github.com/vaneuk)) -- Bugfix: cisco asa show access list [\#313](https://github.com/networktocode/ntc-templates/pull/313) ([joewesch](https://github.com/joewesch)) -- Adding cisco\_asa\_show\_nat [\#312](https://github.com/networktocode/ntc-templates/pull/312) ([joewesch](https://github.com/joewesch)) -- cisco\_ios\_show\_dot1x\_all command [\#308](https://github.com/networktocode/ntc-templates/pull/308) ([realvitya](https://github.com/realvitya)) -- Add INPUT\_PACKETS, INPUT\_ERRORS, OUTPUT\_PACKETS, OUTPUT\_ERRORS fields to cisco\_ios\_show\_interfaces & cisco\_nxos\_show\_interface templates [\#307](https://github.com/networktocode/ntc-templates/pull/307) ([wvandeun](https://github.com/wvandeun)) -- Added cisco\_asa "show running-config object network" template [\#306](https://github.com/networktocode/ntc-templates/pull/306) ([joewesch](https://github.com/joewesch)) -- PARSE: Update parse module to account for new and old TextFSM packaging [\#305](https://github.com/networktocode/ntc-templates/pull/305) ([jmcgill298](https://github.com/jmcgill298)) -- Modified cisco\_asa\_show\_crypto\_ipsec\_sa [\#304](https://github.com/networktocode/ntc-templates/pull/304) ([joewesch](https://github.com/joewesch)) -- Added cisco\_asa\_show\_asp\_table\_vpn-context\_detail [\#303](https://github.com/networktocode/ntc-templates/pull/303) ([joewesch](https://github.com/joewesch)) -- Modified cisco\_asa\_show\_object-group\_network.template [\#302](https://github.com/networktocode/ntc-templates/pull/302) ([joewesch](https://github.com/joewesch)) -- Adding support for avaya\_ers\_show\_logging\_config command [\#301](https://github.com/networktocode/ntc-templates/pull/301) ([kadecole](https://github.com/kadecole)) -- change travis and tox to use textfsm [\#300](https://github.com/networktocode/ntc-templates/pull/300) ([jmcgill298](https://github.com/jmcgill298)) -- Change requirements to use `textfsm` instead of `gtextfsm` [\#299](https://github.com/networktocode/ntc-templates/pull/299) ([jmcgill298](https://github.com/jmcgill298)) -- added juniper\_junos\_show\_version.template [\#298](https://github.com/networktocode/ntc-templates/pull/298) ([jkraszewski](https://github.com/jkraszewski)) -- added juniper\_junos\_show\_chassis\_cluster\_status.template [\#297](https://github.com/networktocode/ntc-templates/pull/297) ([jkraszewski](https://github.com/jkraszewski)) -- add juniper\_junos\_show\_chassis\_cluster\_interfaces [\#296](https://github.com/networktocode/ntc-templates/pull/296) ([jkraszewski](https://github.com/jkraszewski)) -- added juniper\_junos\_show\_arp\_no-resolve.template [\#295](https://github.com/networktocode/ntc-templates/pull/295) ([jkraszewski](https://github.com/jkraszewski)) -- modified cisco\_ios\_show\_ip\_arp.template [\#293](https://github.com/networktocode/ntc-templates/pull/293) ([jkraszewski](https://github.com/jkraszewski)) -- added brocade\_fastiron\_show\_mac-address.template [\#292](https://github.com/networktocode/ntc-templates/pull/292) ([jkraszewski](https://github.com/jkraszewski)) -- added brocade\_fastiron\_show\_lldp\_neighbors [\#291](https://github.com/networktocode/ntc-templates/pull/291) ([jkraszewski](https://github.com/jkraszewski)) -- modified brocade\_fastiron\_show\_interfaces\_brief.template [\#290](https://github.com/networktocode/ntc-templates/pull/290) ([jkraszewski](https://github.com/jkraszewski)) -- Brocade fastiron show arp [\#289](https://github.com/networktocode/ntc-templates/pull/289) ([jkraszewski](https://github.com/jkraszewski)) -- Add template for "show ip eigrp neighbors" on Cisco IOS [\#285](https://github.com/networktocode/ntc-templates/pull/285) ([Tachashi](https://github.com/Tachashi)) -- INDEX UPDATES: Fix filenames to use full command syntax [\#284](https://github.com/networktocode/ntc-templates/pull/284) ([jmcgill298](https://github.com/jmcgill298)) -- XR\_SH\_INTF: Update regex to properly capture data - Fixes \#282 [\#283](https://github.com/networktocode/ntc-templates/pull/283) ([jmcgill298](https://github.com/jmcgill298)) -- XR\_SHOW\_INTF: Correct capturing of IP Address info - Fixes \#280 [\#281](https://github.com/networktocode/ntc-templates/pull/281) ([jmcgill298](https://github.com/jmcgill298)) -- XR\_SH\_CDP: Reverse 'REMOTE\_PORT' and 'LOCAL\_PORT' Groups - Fixes \#277 [\#279](https://github.com/networktocode/ntc-templates/pull/279) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO\_ASA\_SH\_FAIL: Update 'SERVICE\_STATE' groups to conform to Cisco'… [\#278](https://github.com/networktocode/ntc-templates/pull/278) ([jmcgill298](https://github.com/jmcgill298)) -- Account for device 'Not Ready' [\#276](https://github.com/networktocode/ntc-templates/pull/276) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO ASA SHOW FAILOVER: Update parsers to account for new data [\#275](https://github.com/networktocode/ntc-templates/pull/275) ([jmcgill298](https://github.com/jmcgill298)) -- Added template for show ip eigrp topology [\#274](https://github.com/networktocode/ntc-templates/pull/274) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco wlc ssh show ap config general [\#273](https://github.com/networktocode/ntc-templates/pull/273) ([jmcgill298](https://github.com/jmcgill298)) -- added show ap summary for Cisco WLC [\#272](https://github.com/networktocode/ntc-templates/pull/272) ([jmcgill298](https://github.com/jmcgill298)) -- Add RELOAD\_REASON to Record [\#271](https://github.com/networktocode/ntc-templates/pull/271) ([jmcgill298](https://github.com/jmcgill298)) -- Add templates for Vyatta [\#270](https://github.com/networktocode/ntc-templates/pull/270) ([jmcgill298](https://github.com/jmcgill298)) -- Add new OS and commands: Ubiquiti edgeswitch: show vlan and show arp support [\#269](https://github.com/networktocode/ntc-templates/pull/269) ([jmcgill298](https://github.com/jmcgill298)) -- Adding support for avaya\_ers\_show\_mlt command [\#268](https://github.com/networktocode/ntc-templates/pull/268) ([jmcgill298](https://github.com/jmcgill298)) -- adding cisco\_xr\_show\_controllers\_hundredgigabitethernet.template [\#267](https://github.com/networktocode/ntc-templates/pull/267) ([jmcgill298](https://github.com/jmcgill298)) -- Update Cisco IOS-XR template for `show ip route` command [\#266](https://github.com/networktocode/ntc-templates/pull/266) ([jmcgill298](https://github.com/jmcgill298)) -- added template for cisco xr : "admin show environment fan" ,"admin show vm" and "show version" [\#264](https://github.com/networktocode/ntc-templates/pull/264) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO IOS SHOW REDUNDANCY: Add new template [\#263](https://github.com/networktocode/ntc-templates/pull/263) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO ASA SHOW XLATE: Add new template [\#262](https://github.com/networktocode/ntc-templates/pull/262) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO ASA SHOW FAILOVER: Add template for failover status [\#260](https://github.com/networktocode/ntc-templates/pull/260) ([jmcgill298](https://github.com/jmcgill298)) -- Add match for empty lines or lines that are only spaces [\#257](https://github.com/networktocode/ntc-templates/pull/257) ([jmcgill298](https://github.com/jmcgill298)) -- Updated show inventory to catch space on the name field [\#252](https://github.com/networktocode/ntc-templates/pull/252) ([amb1s1](https://github.com/amb1s1)) -- CISCO\_IOS\_SHOW\_IP\_PREFIX-LIST: Add new template [\#251](https://github.com/networktocode/ntc-templates/pull/251) ([jmcgill298](https://github.com/jmcgill298)) -- Ios show ip access list [\#250](https://github.com/networktocode/ntc-templates/pull/250) ([jmcgill298](https://github.com/jmcgill298)) -- Add support for standard ACL to include matching the 'match counts' [\#249](https://github.com/networktocode/ntc-templates/pull/249) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: Add support for parsing connection st… [\#248](https://github.com/networktocode/ntc-templates/pull/248) ([jmcgill298](https://github.com/jmcgill298)) -- FIXES \#245 - CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: [\#247](https://github.com/networktocode/ntc-templates/pull/247) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO\_IOS\_SHOW\_ROUTE-MAP: Add new template [\#244](https://github.com/networktocode/ntc-templates/pull/244) ([jmcgill298](https://github.com/jmcgill298)) -- Cisco asa show inventory [\#243](https://github.com/networktocode/ntc-templates/pull/243) ([amb1s1](https://github.com/amb1s1)) -- CISCO\_IOS\_SHOW\_IP\_BGP\_SUMMARY: Add collecting ROUTER\_ID and LOCAL\_AS to parser. [\#242](https://github.com/networktocode/ntc-templates/pull/242) ([jmcgill298](https://github.com/jmcgill298)) -- Brocade fastiron show version [\#241](https://github.com/networktocode/ntc-templates/pull/241) ([jmcgill298](https://github.com/jmcgill298)) -- Fixed cisco\_ios\_show\_cdp\_neighbors when devices has 4+ capabilities [\#235](https://github.com/networktocode/ntc-templates/pull/235) ([bdowling](https://github.com/bdowling)) -- CISCO\_IOS\_SHOW\_RUNNING-CONFIG\_PARTITION\_ROUTE-MAP: Update record stat… [\#233](https://github.com/networktocode/ntc-templates/pull/233) ([jmcgill298](https://github.com/jmcgill298)) -- added show running-config partition route-map [\#228](https://github.com/networktocode/ntc-templates/pull/228) ([AutoJunjie](https://github.com/AutoJunjie)) -- Update TravisCI to use pypi instead of git clone with Pip [\#226](https://github.com/networktocode/ntc-templates/pull/226) ([jmcgill298](https://github.com/jmcgill298)) -- Added/modified show cap/lldp neighbors detail for cisco\*, brocade\*. Added cisco\_ios\_show\_ip\_device\_tracking\_all, cisco\_ios\_show\_ip\_source\_binding [\#225](https://github.com/networktocode/ntc-templates/pull/225) ([hilash](https://github.com/hilash)) -- Nxos communit list [\#220](https://github.com/networktocode/ntc-templates/pull/220) ([jmcgill298](https://github.com/jmcgill298)) -- Add support for cisco show ip mroute [\#216](https://github.com/networktocode/ntc-templates/pull/216) ([rhoriguchi](https://github.com/rhoriguchi)) -- Find MAC addresses in cisco IOS show version. [\#214](https://github.com/networktocode/ntc-templates/pull/214) ([kimoldfield](https://github.com/kimoldfield)) -- NXOS\_SHOW\_INTERFACE\_STATUS: Update template to better handle name wit… Fixes \#196 [\#204](https://github.com/networktocode/ntc-templates/pull/204) ([jmcgill298](https://github.com/jmcgill298)) -- Adding support for avaya\_ers\_show\_mlt\_all-members command [\#202](https://github.com/networktocode/ntc-templates/pull/202) ([kadecole](https://github.com/kadecole)) -- add arista dir flash: [\#187](https://github.com/networktocode/ntc-templates/pull/187) ([ydave](https://github.com/ydave)) -- Update the file to support Cap F on output [\#156](https://github.com/networktocode/ntc-templates/pull/156) ([amb1s1](https://github.com/amb1s1)) -- update cisco\_nxos\_show\_version to support 5ks [\#154](https://github.com/networktocode/ntc-templates/pull/154) ([amb1s1](https://github.com/amb1s1)) - -## [0.9.0](https://github.com/networktocode/ntc-templates/tree/0.9.0) (2018-07-05) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/cc61388f3c6e4543b878e426b30420173d6b6bc4...0.9.0) - -**Closed issues:** - -- Unable to parse out subinterface information from Cisco IOS content [\#197](https://github.com/networktocode/ntc-templates/issues/197) -- how to use this template can any once give 1 example and its result for more and better understanding [\#193](https://github.com/networktocode/ntc-templates/issues/193) -- show cdp neighbors for cisco\_ios returns string instead of structured list [\#189](https://github.com/networktocode/ntc-templates/issues/189) -- Template update: cisco\_ios\_show\_vlan to get interface list [\#175](https://github.com/networktocode/ntc-templates/issues/175) -- python3 support [\#149](https://github.com/networktocode/ntc-templates/issues/149) -- Template update: cisco\_nxos\_show\_cdp\_neighbors [\#147](https://github.com/networktocode/ntc-templates/issues/147) -- NXOS-Show\_Interfaces not finding Vlan Interfaces when additional interfaces are past the config. Also potential to provide wrong information. [\#135](https://github.com/networktocode/ntc-templates/issues/135) -- hp\_procurve\_show\_vlans.template empty output [\#124](https://github.com/networktocode/ntc-templates/issues/124) -- 'show memory statistics' cisco switch/rotuer template [\#121](https://github.com/networktocode/ntc-templates/issues/121) -- Cisco ASA show version template [\#110](https://github.com/networktocode/ntc-templates/issues/110) -- License question [\#92](https://github.com/networktocode/ntc-templates/issues/92) -- cisco\_ios\_show\_ip\_bgp.template some entries are not parsed [\#87](https://github.com/networktocode/ntc-templates/issues/87) -- missing tests folder for cisco\_ios\_show\_ip\_bgp [\#74](https://github.com/networktocode/ntc-templates/issues/74) -- Issues with trying to use the test-template playbook [\#73](https://github.com/networktocode/ntc-templates/issues/73) -- ios show mac address-table [\#59](https://github.com/networktocode/ntc-templates/issues/59) -- nxos show lldp neighbors failing when there is hostname is long [\#58](https://github.com/networktocode/ntc-templates/issues/58) -- arista route template [\#57](https://github.com/networktocode/ntc-templates/issues/57) -- ios show standby brief active/standby state [\#52](https://github.com/networktocode/ntc-templates/issues/52) -- Need help on parsing the show platform diag output [\#48](https://github.com/networktocode/ntc-templates/issues/48) -- need a help on escaping the parenthesis [\#47](https://github.com/networktocode/ntc-templates/issues/47) -- Need an info [\#46](https://github.com/networktocode/ntc-templates/issues/46) -- Difference between Start and Record Start? [\#41](https://github.com/networktocode/ntc-templates/issues/41) - -**Merged pull requests:** - -- Cleanup [\#221](https://github.com/networktocode/ntc-templates/pull/221) ([GGabriele](https://github.com/GGabriele)) -- Fixed README formatting and typos [\#215](https://github.com/networktocode/ntc-templates/pull/215) ([LindsayHill](https://github.com/LindsayHill)) -- Move Record to Interface opening line to ensure each unaccounted for … [\#212](https://github.com/networktocode/ntc-templates/pull/212) ([jmcgill298](https://github.com/jmcgill298)) -- CISCO\_IOS\_SHOW\_VLAN: Add support for capturing interfaces associated … [\#210](https://github.com/networktocode/ntc-templates/pull/210) ([jmcgill298](https://github.com/jmcgill298)) -- Update with virtual interfaces [\#209](https://github.com/networktocode/ntc-templates/pull/209) ([jvanderaa](https://github.com/jvanderaa)) -- NXOS\_SHOW\_CDP\_NEIGHBORS: Add additonal capture groups [\#208](https://github.com/networktocode/ntc-templates/pull/208) ([jmcgill298](https://github.com/jmcgill298)) -- IOS\_SHOW\_INTERFACES: Add additional logic to account for sub-interfaces [\#206](https://github.com/networktocode/ntc-templates/pull/206) ([jmcgill298](https://github.com/jmcgill298)) -- INDEX: Fix index file out of order [\#205](https://github.com/networktocode/ntc-templates/pull/205) ([jmcgill298](https://github.com/jmcgill298)) -- Procurve show vlans [\#201](https://github.com/networktocode/ntc-templates/pull/201) ([jmcgill298](https://github.com/jmcgill298)) -- add pytest chache to gitignore [\#200](https://github.com/networktocode/ntc-templates/pull/200) ([jmcgill298](https://github.com/jmcgill298)) -- Fix index file out of order [\#199](https://github.com/networktocode/ntc-templates/pull/199) ([jmcgill298](https://github.com/jmcgill298)) -- Fix printing to use function for py3 compatibility [\#198](https://github.com/networktocode/ntc-templates/pull/198) ([jmcgill298](https://github.com/jmcgill298)) -- Adding 4 templates [\#192](https://github.com/networktocode/ntc-templates/pull/192) ([rishabh5j](https://github.com/rishabh5j)) -- adding bash\_df\_-h and show\_reload\_cause templates for arista\_eos [\#182](https://github.com/networktocode/ntc-templates/pull/182) ([Sandeepsr](https://github.com/Sandeepsr)) -- adding cisco\_xr show\_controller\_fabric\_plane\_all and admin\_show\_contr… [\#181](https://github.com/networktocode/ntc-templates/pull/181) ([Sandeepsr](https://github.com/Sandeepsr)) -- Adding "get route" template for IPv4 for Juniper NetScreen \(screenos\) [\#180](https://github.com/networktocode/ntc-templates/pull/180) ([burningnode](https://github.com/burningnode)) -- cisco xr lldp and route [\#176](https://github.com/networktocode/ntc-templates/pull/176) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- adding arista\_macsec\_templates [\#174](https://github.com/networktocode/ntc-templates/pull/174) ([Sandeepsr](https://github.com/Sandeepsr)) -- adding cisco\_xr\_show\_ip\_bgp\_summary.template [\#170](https://github.com/networktocode/ntc-templates/pull/170) ([Sandeepsr](https://github.com/Sandeepsr)) -- added show vrf and show ip arp for nxos [\#167](https://github.com/networktocode/ntc-templates/pull/167) ([vaneuk](https://github.com/vaneuk)) -- IOS\_SHOW\_RUN\_CONFIG\_PARTITION\_ACL: Add new template [\#166](https://github.com/networktocode/ntc-templates/pull/166) ([jmcgill298](https://github.com/jmcgill298)) -- IOS\_SHOW\_IP\_ACL: new template [\#165](https://github.com/networktocode/ntc-templates/pull/165) ([jmcgill298](https://github.com/jmcgill298)) -- ASA\_SHOW\_IP\_ACCESS\_LIST: Add catch-all error [\#164](https://github.com/networktocode/ntc-templates/pull/164) ([jmcgill298](https://github.com/jmcgill298)) -- change top dir logic [\#163](https://github.com/networktocode/ntc-templates/pull/163) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update cisco\_nxos\_show\_lldp\_neighbors.template & index file [\#162](https://github.com/networktocode/ntc-templates/pull/162) ([termlen0](https://github.com/termlen0)) -- Avaya vsp show software [\#161](https://github.com/networktocode/ntc-templates/pull/161) ([kadecole](https://github.com/kadecole)) -- added show config sess summ [\#160](https://github.com/networktocode/ntc-templates/pull/160) ([jedelman8](https://github.com/jedelman8)) -- adding arista\_eos\_show\_interfaces\_transceiver.template and edit arist… [\#159](https://github.com/networktocode/ntc-templates/pull/159) ([Sandeepsr](https://github.com/Sandeepsr)) -- Alex up [\#158](https://github.com/networktocode/ntc-templates/pull/158) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Avaya ers show interface name [\#157](https://github.com/networktocode/ntc-templates/pull/157) ([kadecole](https://github.com/kadecole)) -- Added Avaya ERS templates [\#155](https://github.com/networktocode/ntc-templates/pull/155) ([kadecole](https://github.com/kadecole)) -- Adjusted hp\_procurve\_show\_vlans.template to account for varying outputs. [\#148](https://github.com/networktocode/ntc-templates/pull/148) ([tsimson](https://github.com/tsimson)) -- Added Avaya ERS templates [\#146](https://github.com/networktocode/ntc-templates/pull/146) ([OfWolfAndMan](https://github.com/OfWolfAndMan)) -- Show power commands [\#144](https://github.com/networktocode/ntc-templates/pull/144) ([ericdost](https://github.com/ericdost)) -- Fix CDP to work with 3 capablities in cdp output [\#143](https://github.com/networktocode/ntc-templates/pull/143) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- update nxos show interface for vlan [\#140](https://github.com/networktocode/ntc-templates/pull/140) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Ios sh status [\#139](https://github.com/networktocode/ntc-templates/pull/139) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update NXOS show-ip-route for more scenarios [\#138](https://github.com/networktocode/ntc-templates/pull/138) ([jamiecaesar](https://github.com/jamiecaesar)) -- Show environment power all [\#137](https://github.com/networktocode/ntc-templates/pull/137) ([ericdost](https://github.com/ericdost)) -- Add ASA VPN Troubelshooting Commands [\#136](https://github.com/networktocode/ntc-templates/pull/136) ([jmcgill298](https://github.com/jmcgill298)) -- Added new template: Cisco ASA show interface [\#134](https://github.com/networktocode/ntc-templates/pull/134) ([jvanderaa](https://github.com/jvanderaa)) -- Updated IOS show-ip-route to handle additional cases [\#133](https://github.com/networktocode/ntc-templates/pull/133) ([jamiecaesar](https://github.com/jamiecaesar)) -- Add ASA Templates [\#131](https://github.com/networktocode/ntc-templates/pull/131) ([jmcgill298](https://github.com/jmcgill298)) -- fix pfs when no value present [\#129](https://github.com/networktocode/ntc-templates/pull/129) ([jmcgill298](https://github.com/jmcgill298)) -- add asa sh run crypto map [\#128](https://github.com/networktocode/ntc-templates/pull/128) ([jmcgill298](https://github.com/jmcgill298)) -- Dgjustice nxos show ip bgp nei [\#126](https://github.com/networktocode/ntc-templates/pull/126) ([dgjustice](https://github.com/dgjustice)) -- Fixing cisco\_ios\_show\_interfaces\_status [\#125](https://github.com/networktocode/ntc-templates/pull/125) ([GGabriele](https://github.com/GGabriele)) -- update xr controllers [\#123](https://github.com/networktocode/ntc-templates/pull/123) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Additional Templates for Cisco IOS [\#122](https://github.com/networktocode/ntc-templates/pull/122) ([rpollard00](https://github.com/rpollard00)) -- change show interface to interfaces [\#120](https://github.com/networktocode/ntc-templates/pull/120) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- add speed + duplex to ios show interfaces [\#119](https://github.com/networktocode/ntc-templates/pull/119) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- update ios show proc cpu [\#118](https://github.com/networktocode/ntc-templates/pull/118) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- update nxos show proc cpu [\#117](https://github.com/networktocode/ntc-templates/pull/117) ([itdependsnetworks](https://github.com/itdependsnetworks)) - - - -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..873bee7a4e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,32 @@ +ARG PYTHON_VER + +FROM python:${PYTHON_VER}-slim + +# Install all OS package upgrades and dependencies needed to run Nautobot in production +# hadolint ignore=DL3005,DL3008,DL3013 +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install --no-install-recommends -y git mime-support curl libxml2 libmariadb3 openssl && \ + apt-get autoremove -y && \ + apt-get clean all && \ + rm -rf /var/lib/apt/lists/* && \ + pip --no-cache-dir install --upgrade pip wheel + +RUN pip install --upgrade pip + +RUN curl -sSL https://install.python-poetry.org -o /tmp/install-poetry.py && \ + python /tmp/install-poetry.py --version 1.2.0 && \ + rm -f /tmp/install-poetry.py + +# Add poetry install location to the $PATH +ENV PATH="${PATH}:/root/.local/bin" + +WORKDIR /local +COPY pyproject.toml poetry.lock /local/ + +RUN poetry config virtualenvs.create false \ + && poetry install --no-interaction --no-ansi + +# Do not break dependency caching before installing project +COPY . . +RUN poetry install diff --git a/README.md b/README.md index ff8f6f70be..706b393a60 100644 --- a/README.md +++ b/README.md @@ -1,464 +1,37 @@ -[![Build Status](https://travis-ci.org/networktocode/ntc-templates.svg?branch=master)](https://travis-ci.org/networktocode/ntc-templates) -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) +# NTC Templates -NTC TEMPLATES -============= +

+ +
+ + + + +
+

-Repository of TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. +## Overview -[TextFSM](https://github.com/google/textfsm/wiki) is a project built by Google that takes CLI string output and passes each line through a series of regular expressions until it finds a match. The regular expressions use named capture groups to build a text table out of the significant text. The names of the capture groups are used as column headers, and the captured values are stored as rows in the table. +Repository of TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. TextFSM is a tool to help make parsing cli commands more manageable. -This project provides a large collection of TextFSM Templates (text parsers) for a variety of Networking Vendors. In addition to the templates, there is a function that will convert the CLI output into a CliTable object; the resulting text table is converted into a list of dictionaries mapping the column headers with each row in the table. +## Documentation +Full web-based HTML documentation for this library can be found over on the [NTC Templates Docs](https://ntc-templates.readthedocs.io) website: -> As of v2.0.0, this project uses [Poetry](https://python-poetry.org/) for packaging and distribution. In order to use poetry, the `templates` directory has been moved to `ntc_templates/templates` +- [User Guide](https://ntc-templates.readthedocs.io/en/latest/user/lib_overview/) - Overview, Using the library, Getting Started. +- [Administrator Guide](https://ntc-templates.readthedocs.io/en/latest/admin/install/) - How to Install, Configure, Upgrade, or Uninstall the library. +- [Developer Guide](https://ntc-templates.readthedocs.io/en/latest/dev/contributing/) - Extending the library, Code Reference, Contribution Guide. +- [Release Notes / Changelog](https://ntc-templates.readthedocs.io/en/latest/admin/release_notes/). +- [Frequently Asked Questions](https://ntc-templates.readthedocs.io/en/latest/user/faq/). -Installation and Usage ----------------------- -The project can be installed using either Git + Poetry or PyPI. +### Contributing to the Docs -#### Git +All the Markdown source for the library documentation can be found under the [docs](https://github.com/networktocode/ntc-templates/tree/develop/docs) folder in this repository. For simple edits, a Markdown capable editor is sufficient - clone the repository and edit away. -```shell -$ git clone git@github.com:networktocode/ntc-templates.git -$ -# Optional steps to install ntc-templates as a python package -$ poetry install -$ -``` +If you need to view the fully generated documentation site, you can build it with [mkdocs](https://www.mkdocs.org/). A container hosting the docs will be started using the invoke commands (details in the [Development Environment Guide](https://ntc-templates.readthedocs.io/en/latest/dev/dev_environment/#docker-development-environment)) on [http://localhost:8001](http://localhost:8001). As your changes are saved, the live docs will be automatically reloaded. -#### PyPI +Any PRs with fixes or improvements are very welcome! -```shell -$ pip install ntc_templates -$ -``` +## Questions -#### Usage - -```python ->>> from ntc_templates.parse import parse_output ->>> vlan_output = ( - "VLAN Name Status Ports\n" - "---- -------------------------------- --------- -------------------------------\n" - "1 default active Gi0/1\n" - "10 Management active \n" - "50 VLan50 active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5,\n" - " Fa0/6, Fa0/7, Fa0/8\n" - ) ->>> vlan_parsed = parse_output(platform="cisco_ios", command="show vlan", data=vlan_output) ->>> vlan_parsed -[ - { - 'vlan_id': '1', - 'name': 'default', - 'status': 'active', - 'interfaces': ['Gi0/1'] - }, - { - 'vlan_id': '10', - 'name': 'Management', - 'status': 'active', - 'interfaces': [] - }, - { - 'vlan_id': '50', - 'name': 'VLan50', 'status': 'active', - 'interfaces': ['Fa0/1', 'Fa0/2', 'Fa0/3', 'Fa0/4', 'Fa0/5', 'Fa0/6', 'Fa0/7', 'Fa0/8'] - } -] ->>> -``` - -### Define Custom Templates Directory - -To use a custom templates directory set the environmental variable `NTC_TEMPLATES_DIR`. - -**Requirements** -1. `index` file needs to be defined with standard structure. [See](#Index-File) -2. Each custom template should be defined. - -To manaully set variable: -```shell -export NTC_TEMPLATES_DIR=/path/to/new/location/templates -``` - -To set within your program: -```python -import os -os.environ["NTC_TEMPLATES_DIR"] = "/path/to/new/templates/location/templates" -``` - -Contributing ------------- - -Pull requests are welcomed and automatically built and tested through TravisCI. - -### New Templates -To contribute new templates, each new pull request must include the following: - -- TextFSM template -- Modified version of the **index** file -- Tests - * Raw version of text to be parsed - * YAML file containing the expected parsed dictionary - -#### TextFSM Template - -TextFSM templates should be placed in the `./templates` directory and should adhere to the following NTC-Templates style. -The TextFSM template name should be in the following format: - -##### Naming - -The template should be named using: `{{ vendor_os }}_{{ command_with_underscores }}.textfsm` -> Ex: cisco_ios_show_cdp_neighbors.textfsm - -Note: The vendor name must be valid from the [os_choices](https://github.com/networktocode/ntc-templates/blob/master/tests/test_index_order.py#L59) tests, which is primarily based on [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) list of supported vendors. New vendors added should adhere to **vendor_os**. -> Ex: vmware_nsx - -##### Values - -The capture group names should be in UPPERCASE. - -An example of the proper format is shown below. - -``` -Value TIME (\d+:\d+:\d+) -Value TIMEZONE (\S+) -Value DAYWEEK (\w+) -Value MONTH (\d+) -Value DAY (\d+) -Value YEAR (\d+) - -Start - ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record - ^. -> Error -``` -##### States - -If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. -Example: - -*Raw Output* -``` -... omitted -Network Next Hop Metric LocPrf Weight Path -*> 111.111.111.111/32 112.112.112.112 4294967295 4294967295 65535 1000 1000 1000 i -``` - -*Sample Template* -``` -Start -# Checking for header -^\s*Network\s+Next(?:\s+|-)[Hh]op\s+Metric\s+LocPrf\s+Weight\s+Path\s*$$ -> BGPTable - -BGPTable - ... omitted -``` - -Each **state** should end with `^. -> Error`. This helps to ensure we're accounting for every line within the raw output for the command. This doesn't mean we have to capture all the data as a **Value**, but we do have to account for it. In addition, it is also good to provide an expression to match blank lines, `^\s*$$` - -An example would be the following raw output: -``` -NAME: "3640 chassis", DESCR: "3640 chassis" -PID: , VID: 0xFF, SN: FF1045C5 -``` - -The template would be the following: -``` -Value NAME (.*) -Value DESCRIPTION (.*) - -Start - ^NAME:\s+"${NAME}",\s*DESCR:\s+"${DESCRIPTION}" - ^PID:\s*,\s*VID:\s*\S+,\s*SN:\s*\S+ - ^\s*$$ - ^. -> Error -``` - -Taking a look at the example template above, you notice that we're using **\s*** and **\s+**. These are the preferred way to match space characters, and should be used over the literal space character. For example, `This\s+is\s+preferred\s*$$` vs `This is not preferred$$` - -- **\s*** accounts for zero or more spaces (use when the output may or may not have a space between characters) -- **\s+** accounts for one or more spaces (use when output will have a space, but could have more than one space) - -#### Index File - -The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used a combination of ordering, as defined: - - - OS in alphabetical order - - Template name in length order (longest to shortest) - - When length is the same, use alphabetical order of command name - - Keep space between OS's - -Example: - -``` -Template, Hostname, Platform, Command - -# same os, same length, used alphabetical order of command name -arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] -arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] - -# os in alphabetical order and space between cisco_asa and arista_eos -cisco_asa_dir.textfsm, .*, cisco_asa, dir - -# same os, template name length different and space between cisco_asa and cisco_ios -cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] -cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] -cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -``` - -#### Tests -Tests will be located in `./tests` with the following hierarchy: -- `./tests/{{ vendor_os }}/{{ command_name }}/` - -The `{{ command_name }}` directory should include the `.raw` file that includes the raw output of the command to be parsed, and the `.yml` file of the returned structured data. -```bash -$ ls tests/cisco_ios/show_clock/ -cisco_ios_show_clock.yml -cisco_ios_show_clock.raw -$ -``` - -##### Raw version of input text - -The raw text file should contain **only** the output of the CLI command to be parsed. It should **not** contain the CLI command itself. - -An example of the proper format is shown below: - -```bash -$ cat tests/cisco_ios/show_clock/cisco_ios_show_clock.raw -*18:57:38.347 UTC Mon Oct 19 2015 -$ -``` - -##### YAML file containing expected parsed dictionary - -The parsed file should match the data that is returned from the `parse_output` function discussed in the beginning. Dictionary keys should be in lowercase. - -The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.textfsm` file extension with `.yml`. The raw text file and the parsed text file should be in the same directory. -**ex. ./tests/cisco_ios/show_clock/** - -There are available helpers to create the parsed file in the correct format (See _Development Helper Scripts_ below). - -An example of the proper format is shown below: -```bash -$ cat ./tests/cisco_ios/show_clock/cisco_ios_show_clock.yml ---- -parsed_sample: - - time: "18:57:38.347" - timezone: "UTC" - dayweek: "Mon" - month: "Oct" - day: "19" - year: "2015" -$ -``` - -Multiple `raw` and `parsed` files are supported per directory, and are encouraged, as there are differences depending on version, length, etc. Additional test files and more real life data helps ensure backwards compatibility is maintained as each template is updated and merged into the repo. - -All YAML files must adhere to the YAML standards defined in the `.yamllint` file in the root directory. Yamllint provides thorough documentation of their configuration settings [here](https://yamllint.readthedocs.io/en/stable/rules.html). - -##### Development Helper Scripts - -A cli utility is provided to assist with properly building the parsed files. This utility depends on some packages listed in the dev install requirements; see _Install and Usage_ for directions on installing the dev requirements. All arguments that can be passed to the script are mutually exclusive (i.e. you can only pass one argument). The file can be made executable with the `chmod +x development_scripts.py` command. The arguments are: - - * `-y`: Takes the path to a YAML file and ensures that the file adheres to the .yamllint settings - * `-yd`: Takes a glob path to a directory or directories that will ensure all files ending in `.yml` adhere to the .yamllint settings - * `-c`: Takes the path to a `.raw` file, and generates the parsed data and saves the results adjacent to the `.raw` file following the defined standards in .yamllint. - * `-cd`: Takes a glob path to a directory or directories containing `.raw` files, and creates the appropriate parsed files in the appropriate directory. - - The `-y` and `-yd` arguments are designed to allow developers to generate the expected parsed file how they want, and ensure that the formatting adheres to the defined standard for this project. - - The `-c` and `-cd` arguments use `ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `ntc_templates/templates/` and the `ntc_templates/templates/index` file must be updated to correctly point to the template file(s). - -```bash -$ ./development_scripts.py -yd tests/cisco_ios/show_mac-address-table -tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml -tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml -tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml -tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml -tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml -$ -$ ls tests/arista_eos/show_version/ -arista_eos_show_version.raw -$ -$ ./development_scripts.py -c tests/arista_eos/show_version/arista_eos_show_version.txt -$ ls tests/arista_eos/show_version/ -arista_eos_show_version.raw arista_eos_show_version.yml -$ -``` - -### Updating/Fixing Existing Templates -When either fixing a bug within a template or adding additional **Values** to be captured, additional test files should be added to ensure backwards compatibility and that the new data is being parsed correctly. - -To add additional raw/parsed tests for a command: -- Navigate to `./tests/{{ vendor_os }}/{{ command_name }}/` -- Create new `.raw` and `.yml` files within the directory, preferrably with a name identifying why the data is unique: - * Existing raw: `./tests/cisco_ios/show_version/cisco_ios_show_version.raw` - * New raw: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.raw` - * Existing parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version.yml` - * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.yml` - -#### Testing -You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6,python3.7, and python3.8, if none/some of those python versions are unavailable **tox** will skip them. The tox.ini file can be updated with an available Python version. -```bash -$ tox -GLOB sdist-make: /home/travis/build/networktocode/ntc-templates/setup.py -py36 create: /home/travis/build/networktocode/ntc-templates/.tox/py36 -py36 inst: /home/travis/build/networktocode/ntc-templates/.tox/.tmp/package/1/ntc_templates-1.6.0.zip -py36 installed: appdirs==1.4.4,attrs==20.3.0,black==20.8b1,click==7.1.2,dataclasses==0.8,future==0.18.2,importlib-metadata==3.7.0,iniconfig==1.1.1,mypy-extensions==0.4.3,ntc-templates==1.6.0,packaging==20.9,pathspec==0.8.1,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.2,PyYAML==5.4.1,regex==2020.11.13,ruamel.yaml==0.16.12,ruamel.yaml.clib==0.2.2,six==1.15.0,textfsm==1.1.0,toml==0.10.2,typed-ast==1.4.2,typing-extensions==3.7.4.3,yamllint==1.26.0,zipp==3.4.0 -py36 run-test-pre: PYTHONHASHSEED='4147443973' -py36 run-test: commands[0] | black ./ --diff --check -All done! ✨ 🍰 ✨ -9 files would be left unchanged. -py36 run-test: commands[1] | yamllint tests/ -py36 run-test: commands[2] | pytest -vv -============================= test session starts ============================== -platform linux -- Python 3.6.7, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /home/travis/build/networktocode/ntc-templates/.tox/py36/bin/python -cachedir: .tox/py36/.pytest_cache -rootdir: /home/travis/build/networktocode/ntc-templates -collected 1065 items - -tests/test_development_scripts.py::test_ensure_spacing_for_multiline_comment PASSED [ 0%] -tests/test_development_scripts.py::test_ensure_space_after_octothorpe PASSED [ 0%] -tests/test_development_scripts.py::test_ensure_space_comments PASSED [ 0%] -tests/test_development_scripts.py::test_update_yaml_comments PASSED [ 0%] -tests/test_development_scripts.py::test_transform_file PASSED [ 0%] -tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_environment] PASSED [ 99%] -tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_ip_route] PASSED [100%] - -============================ 1065 passed in 22.59s ============================= -py37 create: /home/travis/build/networktocode/ntc-templates/.tox/py37 -SKIPPED: InterpreterNotFound: python3.7 -py38 create: /home/travis/build/networktocode/ntc-templates/.tox/py38 -SKIPPED: InterpreterNotFound: python3.8 -___________________________________ summary ____________________________________ - py36: commands succeeded -SKIPPED: py37: InterpreterNotFound: python3.7 -SKIPPED: py38: InterpreterNotFound: python3.8 - congratulations :) -The command "tox" exited with 0. - - -Done. Your build exited with 0. -$ -``` - -Questions ---------- - -For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com). - -Sign up [here](http://slack.networktocode.com/) - -CHANGELOG ---------- - -Changelog should be generated using [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator) - -FAQ ---- - -From an outsiders view, some design choices, requirements, and testing procedures can seem arbitrary. The following list of FAQ is intended to -help provide context and better guide users and contributors of ntc-templates. - -_Why is there a requirement to use `Error` in every template?_ - -Ensuring that the textfsm template can account for every line is the only method to ensure that data was not accidentally missed. Take the following example. Initially we account for status to be: - -`Value STATUS (up|down)` - -Given the result of: -``` -Interface Status Protocol Description -Gi0/0/1 admin down down -Gi0/0/2 up up ISP Connection -Gi0/0/3 down down -``` - -The output would miss the G0/0/1 interface, since the `STATUS` of `admin down` not known. If this was a low percentage use case, it can go -undetected, and result in incorrect information being returned. Instead, by ensuring that we fail fast, an `Error` is raised and hopefully -GitHub Issue is put in. - -_Then why isn't `Error` used in all templates?_ - -Initially the controls were not as strong, so many templates were put in until issues like the previous became an issue. - -_Does the project support requests for additional templates or additional data in an existing template?_ - -We are no longer considering additional template requests at this time. The project has existed for over 5 years (initially within ntc-ansible) -and nearly 200 template at this point any additional requests are essentially edge use cases. Meaning, for five years of usage, no one else -has asked for this feature. There is a limited maintainers who primarily use their free time to maintain the project. - -_Are you open to adding maintainers to the project?_ - -Yes, we would consider giving a proven member of the project and community maintainer rights. Please inquiry emailing info@networktocode.com. - -_I simply want to add my template to the project, I do not want to add all of these tests and controls, can I just do so?_ - -Short answer no, from an outsiders point of view the contributor requirements may seem overly complex, however features added by engineers -rarely come back to support them. The burden of support is on the maintainers and a certain level of quality assurance is required for that to -happen. That includes updating the index file appropriately and adding proper raw and expected value files. - -_Why don't you grab all of the data in the template?_ - -There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from -other commands. This is actually an area where the project chose to be loose, as we do not want to over-burden the contributor. If you feel -that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by -the maintainers of the this project. - -_Why does the index order matter?_ - -The "greediness" of the template match ensures that there longest matches first. For example, if `show ip ospf` was above `show ip ospf database`, the `show ip ospf` template would be used in both cases. The additional steps are because of general programmatic hygiene. - -_Will you accept my template if I create it?_ - -In most cases, yes. However, there are a few edge cases. For example if requesting to add a `show cdp neighbors` when there is already a `show cdp neighbors details` template created. That is additional complexity added to the project with little value. - -_Why was my issue closed?_ - -The most likely reasons are: - -* Did not follow the Issue creation template. -* Did not provide the data required to act upon the request. -* A prolonged time with no response. - -_What is meant that this is a parsing project, not a data modeling project?_ - -The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that -problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is -best handled in post processing. - -_I have never submitted a Pull Request before, how do I do so?_ - -This is outside the scope of this project, but this [video](https://www.youtube.com/watch?v=rgbCcBNZcdQ) should provide the instructions on -how to do so. - -_Does this work on windows?_ - -Based on this [PR](https://github.com/networktocode/ntc-templates/pull/672) it should, however this is not a supported option. We are willing -to take in qualified Pull Requests to have the feature, but have no intention of actively supporting. - -_Can you provide general guidance?_ - -This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. - -### Known Issues - -#### Cannot import name clitable from textfsm -**ntc-templates** depends on **textfsm**, which hasn't published a source distribution to pypi in a while. See https://github.com/google/textfsm/issues/65. - -This means that for users with a build chain that depends on source distributions only (i.e. no wheels), ntc-templates appears to have a bug: - -``` -File "/usr/local/Cellar/foo/version/libexec/lib/python3.7/site-packages/ntc_templates/parse.py", line 3, in - from textfsm import clitable -ImportError: cannot import name 'clitable' from 'textfsm' -``` - -What's actually happening here is that textfsm provides a source distribution only up to version 0.4.1 (2018-04-09) but the ntc-templates code relies on the interface from version 1.1.0 (2019-07-24) which is only available as a wheel. So the way for users to fix this problem if they encounter it is to install textfsm 1.1.0. - -`pip install textfsm==1.1.0` - -> This was taken from https://github.com/networktocode/ntc-templates/issues/731 +For any questions or comments, please check the [FAQ](https://ntc-templates.readthedocs.io/en/latest/user/faq/) first. Feel free to also swing by the [Network to Code Slack](https://networktocode.slack.com/) (channel `#networktocode`), sign up [here](http://slack.networktocode.com/) if you don't have an account. diff --git a/cli.py b/cli.py new file mode 100644 index 0000000000..64ffd54cbc --- /dev/null +++ b/cli.py @@ -0,0 +1,75 @@ +"""CLI for acitool.""" +import click + +from tests.test_development_scripts import ( + build_parsed_data_from_dir, + build_parsed_data_from_output, + transform_file, + transform_glob, +) + + +@click.group() +def base(): + """Base entry for click.""" + + +@click.command() +@click.option( + "-f", + "--file", + "file", + type=str, + help="File that you are targetting.", +) +def clean_yaml_file(file): + """Transform a yaml file to expected output.""" + transform_file(file) + + +@click.command() +@click.option( + "-f", + "--folder", + "folder", + type=str, + help="Folder that you are targetting.", +) +def clean_yaml_folder(folder): + """Transform a yaml file to expected output to a folder.""" + transform_glob(folder) + + +@click.command() +@click.option( + "-f", + "--file", + "file", + type=str, + help="File that you are targetting.", +) +def gen_yaml_file(file): + """Generate a yaml file from raw a data file.""" + build_parsed_data_from_output(file, "./tests/") + + +@click.command() +@click.option( + "-f", + "--folder", + "folder", + type=str, + help="Folder that you are targetting.", +) +def gen_yaml_folder(folder): + """Generate a yaml file from folder of raw data files.""" + build_parsed_data_from_dir(folder, "./tests/") + + +base.add_command(clean_yaml_file) +base.add_command(clean_yaml_folder) +base.add_command(gen_yaml_file) +base.add_command(gen_yaml_folder) + +if __name__ == "__main__": + base() diff --git a/development_scripts.py b/development_scripts.py deleted file mode 100755 index d8ffee24f9..0000000000 --- a/development_scripts.py +++ /dev/null @@ -1,492 +0,0 @@ -#!/usr/bin/env python -import os -import re -import glob -import numbers -import argparse - -from ruamel.yaml import YAML -from ruamel.yaml.scalarstring import DoubleQuotedScalarString as DQ -from ntc_templates.parse import parse_output - - -FILE_PATH = os.path.abspath(__file__) -FILE_DIR = os.path.dirname(FILE_PATH) -TEST_DIR = "{0}/tests".format(FILE_DIR) -YAML_OBJECT = YAML() -YAML_OBJECT.explicit_start = True -YAML_OBJECT.indent(sequence=4, offset=2) -YAML_OBJECT.block_style = True -RE_MULTILINE_REMARK = re.compile(r"(.*\n\s*#)(.*)") - - -def ensure_spacing_for_multiline_comment(remark): - """ - Finds all comments and ensures a single space after "#" symbol. - - Args: - remark (str): The remark of a comment from a ``ruamel.yaml.token.CommentToken``. - - Returns: - str: The ``remark`` formatted with a single space after comment start, "#" - - Example: - >>> remark = "comment 11\n# comment 12\n#comment 13\n" - >>> remark_formatted = ensure_spacing_for_multiline_comment(remark) - >>> # Formatting has normalized each comment to have a single space after the "#" - >>> remark_formatted - 'comment 11\n# comment 12\n# comment 13' - >>> - """ - remarks = re.findall(RE_MULTILINE_REMARK, remark) - # remarks that don't have a subsequent comment are not captured by regex - if not remarks: - remarks = (("", remark),) - # Example remarks: [('comment \n#', ' comment2 '), ('\n #', 'comment3 # 9')] - remark_formatted = "".join([entry[0] + " " + entry[1].strip() for entry in remarks]) - return remark_formatted - - -def ensure_space_after_octothorpe(comment): - """ - Ensures a single space is between the "#" and first letter of a comment. - - Args: - comment (ruamel.yaml.token.CommentToken): The comment to update. - - Returns: - None: The comment is updated in place. - - Example: - >>> yml = ruamel.yaml.YAML() - >>> with open("test.yml", encoding="utf-8") as fh: - ... print(fh.read()) - ... fh.seek(0) - ... data = yml.load(fh) - ... - --- - a: 5 # comment 1 - b: 6 #comment 2 - #comment 3 - c: - - 7 #comment 4 - #comment 5 - - 8 - #comment 6 - d: - #comment 7 - e: a #comment 8 - f: - - 9 - #comment 9 - - 10 - - a: - a: 8 - #comment 10 - b: 1 - - b: 1 - - 9 - #comment 11 - # comment 12 - #comment 13 - - >>> type(data) - - >>> comment = data.ca.items["b"][2] - >>> comment - CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5) - >>> ensure_space_after_octothorpe(comment) - >>> # Both comments within the CommentToken object - >>> # now have a space between the "#" and the first symbol - >>> comment - CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5) - >>> - """ - if comment is not None: - # Comments can start with whitespace, - # so partition is used to preserve that in the final result - space, octothorpe, remark = comment.value.partition("#") - remark_formatted = ensure_spacing_for_multiline_comment(remark) - comment.value = f"{space}# {remark_formatted.lstrip()}\n" - - -def ensure_space_comments(comments): - """ - Ensures there is a space after the "#" in comments. - - Args: - comments (iter): The comments from ruamel.yaml.YAML() object. - - Returns: - None: Comments are update in place. - - Example: - >>> yml = ruamel.yaml.YAML() - >>> with open("test.yml", encoding="utf-8") as fh: - ... print(fh.read()) - ... fh.seek(0) - ... data = yml.load(fh) - ... - --- - a: 5 # comment 1 - b: 6 #comment 2 - #comment 3 - c: - - 7 #comment 4 - #comment 5 - - 8 - #comment 6 - d: - #comment 7 - e: a #comment 8 - f: - - 9 - #comment 9 - - 10 - - a: - a: 8 - #comment 10 - b: 1 - - b: 1 - - 9 - #comment 11 - # comment 12 - #comment 13 - - >>> type(data) - - >>> comments = data.ca.items.values() - >>> comments - dict_values([ - [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], - [None, None, CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5), None], - [None, None, None, [CommentToken('#comment 7\n', line: 10, col: 2)]] - ]) - >>> ensure_space_comments(comments) - >>> # Every comment now has a space between the "#" and the first symbol - >>> comments - dict_values([ - [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], - [None, None, CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5), None], - [None, None, None, [CommentToken('# comment 7\n', line: 10, col: 2)]] - ]) - >>> - """ - comment_objects = (comment for comment_list in comments for comment in comment_list) - for comment in comment_objects: - # Some comments are nested inside an additional list - if not isinstance(comment, list): - ensure_space_after_octothorpe(comment) - else: - for cmt in comment: - ensure_space_after_octothorpe(cmt) - - -def update_yaml_comments(yaml_object): - """ - Ensures comments have a space after the "#" on itself and its entries - - Args: - yaml_object (ruamel.yaml.comments.CommentedMap | ruamel.yaml.comments.CommentedSeq): The list or dict object. - - Returns: - None: Comments are updated in place. - - Example: - >>> yml = ruamel.yaml.YAML() - >>> with open("test.yml", encoding="utf-8") as fh: - ... print(fh.read()) - ... fh.seek(0) - ... data = yml.load(fh) - ... - --- - a: 5 # comment 1 - b: 6 #comment 2 - #comment 3 - c: - - 7 #comment 4 - #comment 5 - - 8 - #comment 6 - d: - #comment 7 - e: a #comment 8 - f: - - 9 - #comment 9 - - 10 - - a: - a: 8 - #comment 10 - b: 1 - - b: 1 - - 9 - #comment 11 - # comment 12 - #comment 13 - - >>> type(data) - - >>> update_yaml_comments(data) - >>> with open("test.yml", "w", encoding="utf-8") as fh - ... yml.dump(data, fh) - ... - >>> - # Notice that comments now have a space between the hash and first symbol. - >>> with open("test.yml", encoding="utf-8") as fh: - ... print(fh.read()) - ... - a: 5 # comment 1 - b: 6 # comment 2 - #comment 3 - c: - - 7 # comment 4 - #comment 5 - - 8 - # comment 6 - d: - # comment 7 - e: a # comment 8 - f: - - 9 - # comment 9 - - 10 - - a: - a: 8 - # comment 10 - b: 1 - - b: 1 - - 9 - # comment 11 - # comment 12 - # comment 13 - - >>> - """ - comments = yaml_object.ca.items.values() - ensure_space_comments(comments) - try: - yaml_object_values = yaml_object.values() - except AttributeError: - yaml_object_values = yaml_object - - for entry in yaml_object_values: - if isinstance(entry, dict) or isinstance(entry, list): - update_yaml_comments(entry) - - -def transform_file(filepath): - """ - Loads YAML file and formats to adhere to yamllint config. - - Args: - filepath (str): The full path to a YAML file. - - Returns: - None: File I/O is performed to ensure YAML file adheres to yamllint config. - - Example: - >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.yml" - >>> transform_parsed(filepath) - >>> - """ - with open(filepath, encoding="utf-8") as parsed_file: - parsed_object = YAML_OBJECT.load(parsed_file) - - ensure_yaml_standards(parsed_object, filepath) - - -def transform_glob(dirpath): - """ - Globs for YAML files and formats to adhere to yamllint config. - - Every file in ``dirpath`` ending in ``.yml`` will be formatted according to - yamllint config. Since this is using glob, the directory string passed in can - also include glob syntax (see ``Example``) - - Args: - dirpath (str): The path to search for files with ``.yml`` extension. - - Returns: - None: File I/O is performed to ensure YAML files adhere to yamllint config. - - Example: - >>> dirpath = "tests/*/*" - >>> transform_parsed(dirpath) - # Each filename is printed to the terminal - >>> - """ - # This commented out code was used for mass renaming of files; - # it is probably not needed anymore - # for file in glob.iglob("{0}/*.parsed".format(dirpath)): - # os.rename(file, file.replace(file[-6:], "yml")) - for file in glob.iglob("{0}/*.yml".format(dirpath)): - print(file) - transform_file(file) - - -def ensure_yaml_standards(parsed_object, output_path): - """ - Ensures YAML files adhere to yamllint config as defined in this project. - - Args: - parsed_object (dict): The TextFSM/CliTable data converted to a list of dicts. - The list of dicts must be the value of a dictionary key, ``parsed_sample``. - output_path (str): The filepath to write the ``parsed_object`` to. - - Returns: - None: File I/O is performed to write ``parsed_object`` to ``output_path``. - """ - for entry in parsed_object["parsed_sample"]: - # TextFSM conversion will allways be a list of dicts - for key, value in entry.items(): - # TextFSM capture groups always return strings or lists - # This also accounts for numbers incase the YAML was done by hand - if isinstance(value, (str, numbers.Number)): - entry[key] = DQ(value) - else: - entry[key] = [DQ(val) for val in value] - try: - update_yaml_comments(parsed_object) - except AttributeError: - pass - - with open(output_path, "w", encoding="utf-8") as parsed_file: - YAML_OBJECT.dump(parsed_object, parsed_file) - - -def parse_test_filepath(filepath): - """ - Parses fullpath of test file to obtain platform, command, and filename info. - - Args: - filepath (str): The path to a test file from platform directory or earlier. - - Returns: - tuple: Strings of platform, command, and the filename without the extension. - - Example: - >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" - >>> platform, command, filename = parse_test_filepath(filepath) - >>> print(platform) - cisco_ios - >>> print(command) - show version - >>> print(filename) - cisco_ios_show_version - >>> - """ - command_dir, filename = os.path.split(filepath) - platform_dir, command = os.path.split(command_dir) - test_dir, platform = os.path.split(platform_dir) - - command_without_underscores = command.replace("_", " ") - filename_without_extension, extension = filename.rsplit(".", 1) - - return platform, command_without_underscores, filename_without_extension - - -def build_parsed_data_from_output(filepath, test_dir=TEST_DIR): - """ - Generates a YAML file from the file containing the command output. - - The command output should be stored in a file in the appropriate directory; - for example, ``tests/cisco_ios/show_version/cisco_ios_show_version.raw`` - This uses ``lib.ntc_templates.parse.parse_output``, so the template must - be in the ``templates/`` directory, and ``templates/index`` must be updated - with the correct entry for the template. - - Args: - filepath (str): The path to the file containing sample command output. - test_dir (str): The root directory to story the resulting YAML file. - - Returns - None: File I/O is performed to generate a YAML file pased on command output. - - Example: - >>> root_dir = "tests/cisco_ios/show_version" - >>> os.listdir(root_dir) - ['cisco_ios_show_version.raw'] - >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" - >>> build_parsed_data_from_output(filepath) - >>> os.listdir(root_dir) - ['cisco_ios_show_version.raw', 'cisco_ios_show_version.yml'] - >>> - """ - platform, command, filename = parse_test_filepath(filepath) - with open(filepath, encoding="utf-8") as output_file: - output_data = output_file.read() - - structured_data = parse_output(platform, command, output_data) - - command_with_underscores = command.replace(" ", "_") - yaml_file = "{0}/{1}/{2}/{3}.yml".format( - test_dir, platform, command_with_underscores, filename - ) - ensure_yaml_standards({"parsed_sample": structured_data}, yaml_file) - - -def build_parsed_data_from_dir(dirpath, test_dir=TEST_DIR): - """ - Globs for files ending in ``.raw`` and generates YAML files based on TextFSM ouptut. - - Every file in ``dirpath`` ending in ``.raw`` will be parsed with TextFSM and written - to a YAML file following the yamllint config standards. Since this is using glob, the - directory string passed in can also include glob syntax. - - Args: - dirpath (str): The path to search for files with ``.raw`` extension. - - Returns: - None: File I/O is performed to ensure YAML files exist for each test output file. - - Example: - >>> dirpath = "tests/cisco_ios/show_mac-address-table" - >>> build_parsed_data_from_dir(dirpath) - # Each filename is printed to the terminal - >>> - """ - for file in glob.iglob("{0}/*.raw".format(dirpath)): - print(file) - build_parsed_data_from_output(file, test_dir) - - -if __name__ == "__main__": - parser = argparse.ArgumentParser( - description="Ensures YAML files match project standards" - ) - group = parser.add_mutually_exclusive_group() - group.add_argument("-y", "--yaml_file", type=str, help="The path to a YAML file.") - group.add_argument( - "-yd", - "--yaml_dir", - type=str, - help='The directory path to look for all files ending in ".yml"', - ) - group.add_argument( - "-c", - "--command_file", - type=str, - help="The path to the file containing command output.", - ) - group.add_argument( - "-cd", - "--command_dir", - type=str, - help='The directory path to look for all files ending in ".raw"', - ) - - args = parser.parse_args() - yaml_file = args.yaml_file - yaml_dir = args.yaml_dir - command_file = args.command_file - command_dir = args.command_dir - - if yaml_file is not None: - transform_file(yaml_file) - elif yaml_dir is not None: - transform_glob(yaml_dir) - elif command_file is not None: - build_parsed_data_from_output(command_file) - else: - build_parsed_data_from_dir(command_dir) diff --git a/docs/admin/install.md b/docs/admin/install.md new file mode 100644 index 0000000000..2299d6ed51 --- /dev/null +++ b/docs/admin/install.md @@ -0,0 +1,35 @@ +# Installation + +> As of v2.0.0, this project uses [Poetry](https://python-poetry.org/) for packaging and distribution. In order to use poetry, the `templates` directory has been moved to `ntc_templates/templates` + +Option 1: Install from PyPI. + +```bash +$ pip install ntc-templates +``` + +Option 2: Install from a GitHub branch, such as develop as shown below. + +```bash +$ pip install git+https://github.com/networktocode/ntc-templates.git@develop +``` + +# Define Custom Templates Directory + +To use a custom templates directory set the environmental variable `NTC_TEMPLATES_DIR`. + +**Requirements** + +1. `index` file needs to be defined with standard structure. +2. Each custom template should be defined. + +To manaully set variable: +```shell +export NTC_TEMPLATES_DIR=/path/to/new/location/templates +``` + +To set within your program: +```python +import os +os.environ["NTC_TEMPLATES_DIR"] = "/path/to/new/templates/location/templates" +``` diff --git a/docs/admin/release_notes/index.md b/docs/admin/release_notes/index.md new file mode 100644 index 0000000000..66701b0ca7 --- /dev/null +++ b/docs/admin/release_notes/index.md @@ -0,0 +1,7 @@ +# Release Notes + +All the published release notes can be found via the navigation menu. All patch releases are included in the same minor release (e.g. `v1.2`) document. + +## CHANGELOG + +Changelog should be generated using [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator) diff --git a/docs/admin/release_notes/version_0.9.md b/docs/admin/release_notes/version_0.9.md new file mode 100644 index 0000000000..71daf81f89 --- /dev/null +++ b/docs/admin/release_notes/version_0.9.md @@ -0,0 +1,88 @@ +## [0.9.0](https://github.com/networktocode/ntc-templates/tree/0.9.0) (2018-07-05) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/cc61388f3c6e4543b878e426b30420173d6b6bc4...0.9.0) + +**Closed issues:** + +- Unable to parse out subinterface information from Cisco IOS content [\#197](https://github.com/networktocode/ntc-templates/issues/197) +- how to use this template can any once give 1 example and its result for more and better understanding [\#193](https://github.com/networktocode/ntc-templates/issues/193) +- show cdp neighbors for cisco\_ios returns string instead of structured list [\#189](https://github.com/networktocode/ntc-templates/issues/189) +- Template update: cisco\_ios\_show\_vlan to get interface list [\#175](https://github.com/networktocode/ntc-templates/issues/175) +- python3 support [\#149](https://github.com/networktocode/ntc-templates/issues/149) +- Template update: cisco\_nxos\_show\_cdp\_neighbors [\#147](https://github.com/networktocode/ntc-templates/issues/147) +- NXOS-Show\_Interfaces not finding Vlan Interfaces when additional interfaces are past the config. Also potential to provide wrong information. [\#135](https://github.com/networktocode/ntc-templates/issues/135) +- hp\_procurve\_show\_vlans.template empty output [\#124](https://github.com/networktocode/ntc-templates/issues/124) +- 'show memory statistics' cisco switch/rotuer template [\#121](https://github.com/networktocode/ntc-templates/issues/121) +- Cisco ASA show version template [\#110](https://github.com/networktocode/ntc-templates/issues/110) +- License question [\#92](https://github.com/networktocode/ntc-templates/issues/92) +- cisco\_ios\_show\_ip\_bgp.template some entries are not parsed [\#87](https://github.com/networktocode/ntc-templates/issues/87) +- missing tests folder for cisco\_ios\_show\_ip\_bgp [\#74](https://github.com/networktocode/ntc-templates/issues/74) +- Issues with trying to use the test-template playbook [\#73](https://github.com/networktocode/ntc-templates/issues/73) +- ios show mac address-table [\#59](https://github.com/networktocode/ntc-templates/issues/59) +- nxos show lldp neighbors failing when there is hostname is long [\#58](https://github.com/networktocode/ntc-templates/issues/58) +- arista route template [\#57](https://github.com/networktocode/ntc-templates/issues/57) +- ios show standby brief active/standby state [\#52](https://github.com/networktocode/ntc-templates/issues/52) +- Need help on parsing the show platform diag output [\#48](https://github.com/networktocode/ntc-templates/issues/48) +- need a help on escaping the parenthesis [\#47](https://github.com/networktocode/ntc-templates/issues/47) +- Need an info [\#46](https://github.com/networktocode/ntc-templates/issues/46) +- Difference between Start and Record Start? [\#41](https://github.com/networktocode/ntc-templates/issues/41) + +**Merged pull requests:** + +- Cleanup [\#221](https://github.com/networktocode/ntc-templates/pull/221) ([GGabriele](https://github.com/GGabriele)) +- Fixed README formatting and typos [\#215](https://github.com/networktocode/ntc-templates/pull/215) ([LindsayHill](https://github.com/LindsayHill)) +- Move Record to Interface opening line to ensure each unaccounted for … [\#212](https://github.com/networktocode/ntc-templates/pull/212) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_VLAN: Add support for capturing interfaces associated … [\#210](https://github.com/networktocode/ntc-templates/pull/210) ([jmcgill298](https://github.com/jmcgill298)) +- Update with virtual interfaces [\#209](https://github.com/networktocode/ntc-templates/pull/209) ([jvanderaa](https://github.com/jvanderaa)) +- NXOS\_SHOW\_CDP\_NEIGHBORS: Add additonal capture groups [\#208](https://github.com/networktocode/ntc-templates/pull/208) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_INTERFACES: Add additional logic to account for sub-interfaces [\#206](https://github.com/networktocode/ntc-templates/pull/206) ([jmcgill298](https://github.com/jmcgill298)) +- INDEX: Fix index file out of order [\#205](https://github.com/networktocode/ntc-templates/pull/205) ([jmcgill298](https://github.com/jmcgill298)) +- Procurve show vlans [\#201](https://github.com/networktocode/ntc-templates/pull/201) ([jmcgill298](https://github.com/jmcgill298)) +- add pytest chache to gitignore [\#200](https://github.com/networktocode/ntc-templates/pull/200) ([jmcgill298](https://github.com/jmcgill298)) +- Fix index file out of order [\#199](https://github.com/networktocode/ntc-templates/pull/199) ([jmcgill298](https://github.com/jmcgill298)) +- Fix printing to use function for py3 compatibility [\#198](https://github.com/networktocode/ntc-templates/pull/198) ([jmcgill298](https://github.com/jmcgill298)) +- Adding 4 templates [\#192](https://github.com/networktocode/ntc-templates/pull/192) ([rishabh5j](https://github.com/rishabh5j)) +- adding bash\_df\_-h and show\_reload\_cause templates for arista\_eos [\#182](https://github.com/networktocode/ntc-templates/pull/182) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr show\_controller\_fabric\_plane\_all and admin\_show\_contr… [\#181](https://github.com/networktocode/ntc-templates/pull/181) ([Sandeepsr](https://github.com/Sandeepsr)) +- Adding "get route" template for IPv4 for Juniper NetScreen \(screenos\) [\#180](https://github.com/networktocode/ntc-templates/pull/180) ([burningnode](https://github.com/burningnode)) +- cisco xr lldp and route [\#176](https://github.com/networktocode/ntc-templates/pull/176) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- adding arista\_macsec\_templates [\#174](https://github.com/networktocode/ntc-templates/pull/174) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr\_show\_ip\_bgp\_summary.template [\#170](https://github.com/networktocode/ntc-templates/pull/170) ([Sandeepsr](https://github.com/Sandeepsr)) +- added show vrf and show ip arp for nxos [\#167](https://github.com/networktocode/ntc-templates/pull/167) ([vaneuk](https://github.com/vaneuk)) +- IOS\_SHOW\_RUN\_CONFIG\_PARTITION\_ACL: Add new template [\#166](https://github.com/networktocode/ntc-templates/pull/166) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_IP\_ACL: new template [\#165](https://github.com/networktocode/ntc-templates/pull/165) ([jmcgill298](https://github.com/jmcgill298)) +- ASA\_SHOW\_IP\_ACCESS\_LIST: Add catch-all error [\#164](https://github.com/networktocode/ntc-templates/pull/164) ([jmcgill298](https://github.com/jmcgill298)) +- change top dir logic [\#163](https://github.com/networktocode/ntc-templates/pull/163) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update cisco\_nxos\_show\_lldp\_neighbors.template & index file [\#162](https://github.com/networktocode/ntc-templates/pull/162) ([termlen0](https://github.com/termlen0)) +- Avaya vsp show software [\#161](https://github.com/networktocode/ntc-templates/pull/161) ([kadecole](https://github.com/kadecole)) +- added show config sess summ [\#160](https://github.com/networktocode/ntc-templates/pull/160) ([jedelman8](https://github.com/jedelman8)) +- adding arista\_eos\_show\_interfaces\_transceiver.template and edit arist… [\#159](https://github.com/networktocode/ntc-templates/pull/159) ([Sandeepsr](https://github.com/Sandeepsr)) +- Alex up [\#158](https://github.com/networktocode/ntc-templates/pull/158) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Avaya ers show interface name [\#157](https://github.com/networktocode/ntc-templates/pull/157) ([kadecole](https://github.com/kadecole)) +- Added Avaya ERS templates [\#155](https://github.com/networktocode/ntc-templates/pull/155) ([kadecole](https://github.com/kadecole)) +- Adjusted hp\_procurve\_show\_vlans.template to account for varying outputs. [\#148](https://github.com/networktocode/ntc-templates/pull/148) ([tsimson](https://github.com/tsimson)) +- Added Avaya ERS templates [\#146](https://github.com/networktocode/ntc-templates/pull/146) ([OfWolfAndMan](https://github.com/OfWolfAndMan)) +- Show power commands [\#144](https://github.com/networktocode/ntc-templates/pull/144) ([ericdost](https://github.com/ericdost)) +- Fix CDP to work with 3 capablities in cdp output [\#143](https://github.com/networktocode/ntc-templates/pull/143) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show interface for vlan [\#140](https://github.com/networktocode/ntc-templates/pull/140) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Ios sh status [\#139](https://github.com/networktocode/ntc-templates/pull/139) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update NXOS show-ip-route for more scenarios [\#138](https://github.com/networktocode/ntc-templates/pull/138) ([jamiecaesar](https://github.com/jamiecaesar)) +- Show environment power all [\#137](https://github.com/networktocode/ntc-templates/pull/137) ([ericdost](https://github.com/ericdost)) +- Add ASA VPN Troubelshooting Commands [\#136](https://github.com/networktocode/ntc-templates/pull/136) ([jmcgill298](https://github.com/jmcgill298)) +- Added new template: Cisco ASA show interface [\#134](https://github.com/networktocode/ntc-templates/pull/134) ([jvanderaa](https://github.com/jvanderaa)) +- Updated IOS show-ip-route to handle additional cases [\#133](https://github.com/networktocode/ntc-templates/pull/133) ([jamiecaesar](https://github.com/jamiecaesar)) +- Add ASA Templates [\#131](https://github.com/networktocode/ntc-templates/pull/131) ([jmcgill298](https://github.com/jmcgill298)) +- fix pfs when no value present [\#129](https://github.com/networktocode/ntc-templates/pull/129) ([jmcgill298](https://github.com/jmcgill298)) +- add asa sh run crypto map [\#128](https://github.com/networktocode/ntc-templates/pull/128) ([jmcgill298](https://github.com/jmcgill298)) +- Dgjustice nxos show ip bgp nei [\#126](https://github.com/networktocode/ntc-templates/pull/126) ([dgjustice](https://github.com/dgjustice)) +- Fixing cisco\_ios\_show\_interfaces\_status [\#125](https://github.com/networktocode/ntc-templates/pull/125) ([GGabriele](https://github.com/GGabriele)) +- update xr controllers [\#123](https://github.com/networktocode/ntc-templates/pull/123) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Additional Templates for Cisco IOS [\#122](https://github.com/networktocode/ntc-templates/pull/122) ([rpollard00](https://github.com/rpollard00)) +- change show interface to interfaces [\#120](https://github.com/networktocode/ntc-templates/pull/120) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- add speed + duplex to ios show interfaces [\#119](https://github.com/networktocode/ntc-templates/pull/119) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update ios show proc cpu [\#118](https://github.com/networktocode/ntc-templates/pull/118) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show proc cpu [\#117](https://github.com/networktocode/ntc-templates/pull/117) ([itdependsnetworks](https://github.com/itdependsnetworks)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/docs/admin/release_notes/version_1.1.md b/docs/admin/release_notes/version_1.1.md new file mode 100644 index 0000000000..d9406ce08b --- /dev/null +++ b/docs/admin/release_notes/version_1.1.md @@ -0,0 +1,160 @@ +## [v1.1.1](https://github.com/networktocode/ntc-templates/tree/v1.1.1) (2019-08-08) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/0.9.0...v1.1.1) + +**Implemented enhancements:** + +- cisco\_ios\_show\_version.template Add Licensing [\#256](https://github.com/networktocode/ntc-templates/issues/256) +- Adding cisco\_ios\_show\_ip\_interface [\#322](https://github.com/networktocode/ntc-templates/pull/322) ([vladola](https://github.com/vladola)) +- Packaging [\#288](https://github.com/networktocode/ntc-templates/pull/288) ([micahculpepper](https://github.com/micahculpepper)) + +**Fixed bugs:** + +- nxos show interface status issue [\#426](https://github.com/networktocode/ntc-templates/issues/426) +- CISCO\_XR\_SH\_INTF: Parsed file shows that not all interfaces in raw are being parsed/recorded [\#282](https://github.com/networktocode/ntc-templates/issues/282) +- Test files for aruba os need renamed. [\#224](https://github.com/networktocode/ntc-templates/issues/224) + +**Closed issues:** + +- show\_lldp\_neighbors.template failing when switch + domain name is \> 19 characters [\#375](https://github.com/networktocode/ntc-templates/issues/375) +- cisco\_ios\_show\_lldp\_neighbor\_detail failing when `Physical media capabilities` are `Other/unknown` [\#374](https://github.com/networktocode/ntc-templates/issues/374) +- Master branch fails tox tests [\#361](https://github.com/networktocode/ntc-templates/issues/361) +- cisco\_nxos\_show\_interface\_status.template [\#333](https://github.com/networktocode/ntc-templates/issues/333) +- cisco\_nxos\_show\_interface\_status.template: error on 10G and 40G interfaces [\#331](https://github.com/networktocode/ntc-templates/issues/331) +- cisco\_ios\_show\_vlan.template not recorded complete list of interfaces [\#328](https://github.com/networktocode/ntc-templates/issues/328) +- Problem with parsing ASA ACL [\#287](https://github.com/networktocode/ntc-templates/issues/287) +- New Template Request [\#286](https://github.com/networktocode/ntc-templates/issues/286) +- cisco\_xr\_show\_interfaces.template line 4 regex incorrect [\#280](https://github.com/networktocode/ntc-templates/issues/280) +- cisco\_xr\_show\_cdp\_neighbors\_detail.template shows remote and local interface incorrectly [\#277](https://github.com/networktocode/ntc-templates/issues/277) +- Multiple Failing Use Cases in Cisco IOS ACL Template [\#245](https://github.com/networktocode/ntc-templates/issues/245) +- cisco\_asa\_show\_vpn-sessiondb\_detail\_l2l.template not parsing [\#231](https://github.com/networktocode/ntc-templates/issues/231) +- show interface status for cisco\_nxos returns incorrect 'name' and 'port' objects if there are spaces in the description. [\#196](https://github.com/networktocode/ntc-templates/issues/196) +- cisco\_xr\_show\_ip\_route uptime format and protocol sub-type support [\#185](https://github.com/networktocode/ntc-templates/issues/185) + +**Merged pull requests:** + +- Update readme [\#452](https://github.com/networktocode/ntc-templates/pull/452) ([jmcgill298](https://github.com/jmcgill298)) +- Fix spacing new templates [\#443](https://github.com/networktocode/ntc-templates/pull/443) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#224 Updating aurba test file names to match folder/file naming pattern [\#439](https://github.com/networktocode/ntc-templates/pull/439) ([myyellowshoe](https://github.com/myyellowshoe)) +- add Cisco IOS XR 'show ip interface brief' command [\#438](https://github.com/networktocode/ntc-templates/pull/438) ([dampfhamm3r](https://github.com/dampfhamm3r)) +- Cisco nxos show interfaces switchport [\#434](https://github.com/networktocode/ntc-templates/pull/434) ([dainok](https://github.com/dainok)) +- Cisco ios show interfaces switchport [\#433](https://github.com/networktocode/ntc-templates/pull/433) ([dainok](https://github.com/dainok)) +- Paloalto panos show arp all [\#432](https://github.com/networktocode/ntc-templates/pull/432) ([dainok](https://github.com/dainok)) +- Paloalto panos show mac all [\#431](https://github.com/networktocode/ntc-templates/pull/431) ([dainok](https://github.com/dainok)) +- Hp procurve show mac address [\#430](https://github.com/networktocode/ntc-templates/pull/430) ([dainok](https://github.com/dainok)) +- New template cisco\_ios\_show\_snmp\_user.template [\#429](https://github.com/networktocode/ntc-templates/pull/429) ([jifox](https://github.com/jifox)) +- nxos\_show\_interface\_status: Allows capture of Fabric Exte type [\#427](https://github.com/networktocode/ntc-templates/pull/427) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Tests [\#402](https://github.com/networktocode/ntc-templates/pull/402) ([jmcgill298](https://github.com/jmcgill298)) +- Feature/improve cisco ios show vrf [\#395](https://github.com/networktocode/ntc-templates/pull/395) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- Feature/cisco ios show hosts [\#394](https://github.com/networktocode/ntc-templates/pull/394) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- cisco\_nxos\_show\_version extension for pulling PLATFORM from N9K [\#393](https://github.com/networktocode/ntc-templates/pull/393) ([jonesbra](https://github.com/jonesbra)) +- Cisco IOS - show dmvpn - New template [\#392](https://github.com/networktocode/ntc-templates/pull/392) ([adrydale](https://github.com/adrydale)) +- updated template to catch NSR N/A state [\#381](https://github.com/networktocode/ntc-templates/pull/381) ([Warsenius](https://github.com/Warsenius)) +- show ospf neighbor NEIGHBOR\_UPTIME no match when output in 1w2d format [\#380](https://github.com/networktocode/ntc-templates/pull/380) ([Warsenius](https://github.com/Warsenius)) +- Fixes 374 - Adds example of Other/unknown media on LLDP for a device … [\#377](https://github.com/networktocode/ntc-templates/pull/377) ([jvanderaa](https://github.com/jvanderaa)) +- Updated the template to get first 20 chars on LLDP neighbor for case … [\#376](https://github.com/networktocode/ntc-templates/pull/376) ([jvanderaa](https://github.com/jvanderaa)) +- add Cisco IOS show ip flow toptalkers [\#373](https://github.com/networktocode/ntc-templates/pull/373) ([lscarmic](https://github.com/lscarmic)) +- Updated LLDP Neighbor Detail for matching on some devices that were missing. [\#372](https://github.com/networktocode/ntc-templates/pull/372) ([jvanderaa](https://github.com/jvanderaa)) +- Add show\_boot template for cisco\_ios [\#371](https://github.com/networktocode/ntc-templates/pull/371) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Update cisco\_nxos\_show\_interface\_status.template [\#370](https://github.com/networktocode/ntc-templates/pull/370) ([Pluppo](https://github.com/Pluppo)) +- IOS SHOW INTERFACES : adding regexes for skipped values & parsed results [\#368](https://github.com/networktocode/ntc-templates/pull/368) ([lachlanjholmes](https://github.com/lachlanjholmes)) +- Add Cisco IOS show ipv6 neighbors [\#363](https://github.com/networktocode/ntc-templates/pull/363) ([kimoldfield](https://github.com/kimoldfield)) +- XR SHOW LPTS PIFIB HARDWARE POLICE LOCATION: Add new template [\#360](https://github.com/networktocode/ntc-templates/pull/360) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW DROPS NP ALL: Add new template [\#359](https://github.com/networktocode/ntc-templates/pull/359) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template [\#358](https://github.com/networktocode/ntc-templates/pull/358) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS EGRESS: Add new template [\#357](https://github.com/networktocode/ntc-templates/pull/357) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS INGRESS: Add new template [\#356](https://github.com/networktocode/ntc-templates/pull/356) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS EGRESS: Add new template [\#355](https://github.com/networktocode/ntc-templates/pull/355) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW CEF DROPS LOCATION: Add new template [\#354](https://github.com/networktocode/ntc-templates/pull/354) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW ASIC ERRORS: Add new template [\#353](https://github.com/networktocode/ntc-templates/pull/353) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW BGP: Add new template [\#351](https://github.com/networktocode/ntc-templates/pull/351) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW HSRP: Add new template [\#350](https://github.com/networktocode/ntc-templates/pull/350) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS: Bug Fix [\#349](https://github.com/networktocode/ntc-templates/pull/349) ([jmcgill298](https://github.com/jmcgill298)) +- Create cisco\_ios\_show\_interfaces\_description.template [\#348](https://github.com/networktocode/ntc-templates/pull/348) ([adrydale](https://github.com/adrydale)) +- Aos vlan [\#345](https://github.com/networktocode/ntc-templates/pull/345) ([jmcgill298](https://github.com/jmcgill298)) +- Tacacs cisco [\#344](https://github.com/networktocode/ntc-templates/pull/344) ([jmcgill298](https://github.com/jmcgill298)) +- EOS SHOW MODULE: Add new template [\#343](https://github.com/networktocode/ntc-templates/pull/343) ([jmcgill298](https://github.com/jmcgill298)) +- Patch 2 [\#342](https://github.com/networktocode/ntc-templates/pull/342) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW BGP NEIGH: Add new template [\#341](https://github.com/networktocode/ntc-templates/pull/341) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_ip\_bgp: Fix whitespace change in command output [\#340](https://github.com/networktocode/ntc-templates/pull/340) ([paneu](https://github.com/paneu)) +- CISCO\_ASA\_SHOW\_LICENSE\_ALL: Add new template [\#339](https://github.com/networktocode/ntc-templates/pull/339) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SHOW\_ASP\_DROP: Add new template [\#338](https://github.com/networktocode/ntc-templates/pull/338) ([jmcgill298](https://github.com/jmcgill298)) +- `ASA INTERFACE DETAIL`: Add new template [\#337](https://github.com/networktocode/ntc-templates/pull/337) ([jmcgill298](https://github.com/jmcgill298)) +- `NETIRON SHOW RUN INTF`: Broaden template scope [\#336](https://github.com/networktocode/ntc-templates/pull/336) ([jmcgill298](https://github.com/jmcgill298)) +- checkpoint\_gaia\_show\_ntp\_servers: Add new template [\#335](https://github.com/networktocode/ntc-templates/pull/335) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#333 [\#334](https://github.com/networktocode/ntc-templates/pull/334) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#331 [\#332](https://github.com/networktocode/ntc-templates/pull/332) ([JCapretta](https://github.com/JCapretta)) +- Checkpoint gaia show dns.template [\#330](https://github.com/networktocode/ntc-templates/pull/330) ([JCapretta](https://github.com/JCapretta)) +- Modified cisco\_ios\_show\_vlan.template \(\#328\) [\#329](https://github.com/networktocode/ntc-templates/pull/329) ([JCapretta](https://github.com/JCapretta)) +- cisco ios show ip interface: Incorporate \#229 into \#322 [\#326](https://github.com/networktocode/ntc-templates/pull/326) ([jmcgill298](https://github.com/jmcgill298)) +- ASA SHOW RESOURCE: Add new template [\#325](https://github.com/networktocode/ntc-templates/pull/325) ([jmcgill298](https://github.com/jmcgill298)) +- ASA VPN-SESSIONDB: Bug Fixes with new data [\#323](https://github.com/networktocode/ntc-templates/pull/323) ([jmcgill298](https://github.com/jmcgill298)) +- IOS DIR: Account for spaces in permissions [\#321](https://github.com/networktocode/ntc-templates/pull/321) ([jmcgill298](https://github.com/jmcgill298)) +- NX-OS show l2rib internal permanently-frozen-list template [\#320](https://github.com/networktocode/ntc-templates/pull/320) ([vaneuk](https://github.com/vaneuk)) +- Bugfix: cisco asa show access list [\#313](https://github.com/networktocode/ntc-templates/pull/313) ([joewesch](https://github.com/joewesch)) +- Adding cisco\_asa\_show\_nat [\#312](https://github.com/networktocode/ntc-templates/pull/312) ([joewesch](https://github.com/joewesch)) +- cisco\_ios\_show\_dot1x\_all command [\#308](https://github.com/networktocode/ntc-templates/pull/308) ([realvitya](https://github.com/realvitya)) +- Add INPUT\_PACKETS, INPUT\_ERRORS, OUTPUT\_PACKETS, OUTPUT\_ERRORS fields to cisco\_ios\_show\_interfaces & cisco\_nxos\_show\_interface templates [\#307](https://github.com/networktocode/ntc-templates/pull/307) ([wvandeun](https://github.com/wvandeun)) +- Added cisco\_asa "show running-config object network" template [\#306](https://github.com/networktocode/ntc-templates/pull/306) ([joewesch](https://github.com/joewesch)) +- PARSE: Update parse module to account for new and old TextFSM packaging [\#305](https://github.com/networktocode/ntc-templates/pull/305) ([jmcgill298](https://github.com/jmcgill298)) +- Modified cisco\_asa\_show\_crypto\_ipsec\_sa [\#304](https://github.com/networktocode/ntc-templates/pull/304) ([joewesch](https://github.com/joewesch)) +- Added cisco\_asa\_show\_asp\_table\_vpn-context\_detail [\#303](https://github.com/networktocode/ntc-templates/pull/303) ([joewesch](https://github.com/joewesch)) +- Modified cisco\_asa\_show\_object-group\_network.template [\#302](https://github.com/networktocode/ntc-templates/pull/302) ([joewesch](https://github.com/joewesch)) +- Adding support for avaya\_ers\_show\_logging\_config command [\#301](https://github.com/networktocode/ntc-templates/pull/301) ([kadecole](https://github.com/kadecole)) +- change travis and tox to use textfsm [\#300](https://github.com/networktocode/ntc-templates/pull/300) ([jmcgill298](https://github.com/jmcgill298)) +- Change requirements to use `textfsm` instead of `gtextfsm` [\#299](https://github.com/networktocode/ntc-templates/pull/299) ([jmcgill298](https://github.com/jmcgill298)) +- added juniper\_junos\_show\_version.template [\#298](https://github.com/networktocode/ntc-templates/pull/298) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_chassis\_cluster\_status.template [\#297](https://github.com/networktocode/ntc-templates/pull/297) ([jkraszewski](https://github.com/jkraszewski)) +- add juniper\_junos\_show\_chassis\_cluster\_interfaces [\#296](https://github.com/networktocode/ntc-templates/pull/296) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_arp\_no-resolve.template [\#295](https://github.com/networktocode/ntc-templates/pull/295) ([jkraszewski](https://github.com/jkraszewski)) +- modified cisco\_ios\_show\_ip\_arp.template [\#293](https://github.com/networktocode/ntc-templates/pull/293) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_mac-address.template [\#292](https://github.com/networktocode/ntc-templates/pull/292) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_lldp\_neighbors [\#291](https://github.com/networktocode/ntc-templates/pull/291) ([jkraszewski](https://github.com/jkraszewski)) +- modified brocade\_fastiron\_show\_interfaces\_brief.template [\#290](https://github.com/networktocode/ntc-templates/pull/290) ([jkraszewski](https://github.com/jkraszewski)) +- Brocade fastiron show arp [\#289](https://github.com/networktocode/ntc-templates/pull/289) ([jkraszewski](https://github.com/jkraszewski)) +- Add template for "show ip eigrp neighbors" on Cisco IOS [\#285](https://github.com/networktocode/ntc-templates/pull/285) ([Tachashi](https://github.com/Tachashi)) +- INDEX UPDATES: Fix filenames to use full command syntax [\#284](https://github.com/networktocode/ntc-templates/pull/284) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_INTF: Update regex to properly capture data - Fixes \#282 [\#283](https://github.com/networktocode/ntc-templates/pull/283) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SHOW\_INTF: Correct capturing of IP Address info - Fixes \#280 [\#281](https://github.com/networktocode/ntc-templates/pull/281) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_CDP: Reverse 'REMOTE\_PORT' and 'LOCAL\_PORT' Groups - Fixes \#277 [\#279](https://github.com/networktocode/ntc-templates/pull/279) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SH\_FAIL: Update 'SERVICE\_STATE' groups to conform to Cisco'… [\#278](https://github.com/networktocode/ntc-templates/pull/278) ([jmcgill298](https://github.com/jmcgill298)) +- Account for device 'Not Ready' [\#276](https://github.com/networktocode/ntc-templates/pull/276) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Update parsers to account for new data [\#275](https://github.com/networktocode/ntc-templates/pull/275) ([jmcgill298](https://github.com/jmcgill298)) +- Added template for show ip eigrp topology [\#274](https://github.com/networktocode/ntc-templates/pull/274) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco wlc ssh show ap config general [\#273](https://github.com/networktocode/ntc-templates/pull/273) ([jmcgill298](https://github.com/jmcgill298)) +- added show ap summary for Cisco WLC [\#272](https://github.com/networktocode/ntc-templates/pull/272) ([jmcgill298](https://github.com/jmcgill298)) +- Add RELOAD\_REASON to Record [\#271](https://github.com/networktocode/ntc-templates/pull/271) ([jmcgill298](https://github.com/jmcgill298)) +- Add templates for Vyatta [\#270](https://github.com/networktocode/ntc-templates/pull/270) ([jmcgill298](https://github.com/jmcgill298)) +- Add new OS and commands: Ubiquiti edgeswitch: show vlan and show arp support [\#269](https://github.com/networktocode/ntc-templates/pull/269) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt command [\#268](https://github.com/networktocode/ntc-templates/pull/268) ([jmcgill298](https://github.com/jmcgill298)) +- adding cisco\_xr\_show\_controllers\_hundredgigabitethernet.template [\#267](https://github.com/networktocode/ntc-templates/pull/267) ([jmcgill298](https://github.com/jmcgill298)) +- Update Cisco IOS-XR template for `show ip route` command [\#266](https://github.com/networktocode/ntc-templates/pull/266) ([jmcgill298](https://github.com/jmcgill298)) +- added template for cisco xr : "admin show environment fan" ,"admin show vm" and "show version" [\#264](https://github.com/networktocode/ntc-templates/pull/264) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO IOS SHOW REDUNDANCY: Add new template [\#263](https://github.com/networktocode/ntc-templates/pull/263) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW XLATE: Add new template [\#262](https://github.com/networktocode/ntc-templates/pull/262) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Add template for failover status [\#260](https://github.com/networktocode/ntc-templates/pull/260) ([jmcgill298](https://github.com/jmcgill298)) +- Add match for empty lines or lines that are only spaces [\#257](https://github.com/networktocode/ntc-templates/pull/257) ([jmcgill298](https://github.com/jmcgill298)) +- Updated show inventory to catch space on the name field [\#252](https://github.com/networktocode/ntc-templates/pull/252) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_PREFIX-LIST: Add new template [\#251](https://github.com/networktocode/ntc-templates/pull/251) ([jmcgill298](https://github.com/jmcgill298)) +- Ios show ip access list [\#250](https://github.com/networktocode/ntc-templates/pull/250) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for standard ACL to include matching the 'match counts' [\#249](https://github.com/networktocode/ntc-templates/pull/249) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: Add support for parsing connection st… [\#248](https://github.com/networktocode/ntc-templates/pull/248) ([jmcgill298](https://github.com/jmcgill298)) +- FIXES \#245 - CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: [\#247](https://github.com/networktocode/ntc-templates/pull/247) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_ROUTE-MAP: Add new template [\#244](https://github.com/networktocode/ntc-templates/pull/244) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco asa show inventory [\#243](https://github.com/networktocode/ntc-templates/pull/243) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_BGP\_SUMMARY: Add collecting ROUTER\_ID and LOCAL\_AS to parser. [\#242](https://github.com/networktocode/ntc-templates/pull/242) ([jmcgill298](https://github.com/jmcgill298)) +- Brocade fastiron show version [\#241](https://github.com/networktocode/ntc-templates/pull/241) ([jmcgill298](https://github.com/jmcgill298)) +- Fixed cisco\_ios\_show\_cdp\_neighbors when devices has 4+ capabilities [\#235](https://github.com/networktocode/ntc-templates/pull/235) ([bdowling](https://github.com/bdowling)) +- CISCO\_IOS\_SHOW\_RUNNING-CONFIG\_PARTITION\_ROUTE-MAP: Update record stat… [\#233](https://github.com/networktocode/ntc-templates/pull/233) ([jmcgill298](https://github.com/jmcgill298)) +- added show running-config partition route-map [\#228](https://github.com/networktocode/ntc-templates/pull/228) ([AutoJunjie](https://github.com/AutoJunjie)) +- Update TravisCI to use pypi instead of git clone with Pip [\#226](https://github.com/networktocode/ntc-templates/pull/226) ([jmcgill298](https://github.com/jmcgill298)) +- Added/modified show cap/lldp neighbors detail for cisco\*, brocade\*. Added cisco\_ios\_show\_ip\_device\_tracking\_all, cisco\_ios\_show\_ip\_source\_binding [\#225](https://github.com/networktocode/ntc-templates/pull/225) ([hilash](https://github.com/hilash)) +- Nxos communit list [\#220](https://github.com/networktocode/ntc-templates/pull/220) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for cisco show ip mroute [\#216](https://github.com/networktocode/ntc-templates/pull/216) ([rhoriguchi](https://github.com/rhoriguchi)) +- Find MAC addresses in cisco IOS show version. [\#214](https://github.com/networktocode/ntc-templates/pull/214) ([kimoldfield](https://github.com/kimoldfield)) +- NXOS\_SHOW\_INTERFACE\_STATUS: Update template to better handle name wit… Fixes \#196 [\#204](https://github.com/networktocode/ntc-templates/pull/204) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt\_all-members command [\#202](https://github.com/networktocode/ntc-templates/pull/202) ([kadecole](https://github.com/kadecole)) +- add arista dir flash: [\#187](https://github.com/networktocode/ntc-templates/pull/187) ([ydave](https://github.com/ydave)) +- Update the file to support Cap F on output [\#156](https://github.com/networktocode/ntc-templates/pull/156) ([amb1s1](https://github.com/amb1s1)) +- update cisco\_nxos\_show\_version to support 5ks [\#154](https://github.com/networktocode/ntc-templates/pull/154) ([amb1s1](https://github.com/amb1s1)) + diff --git a/docs/admin/release_notes/version_1.2.md b/docs/admin/release_notes/version_1.2.md new file mode 100644 index 0000000000..52c1f9100b --- /dev/null +++ b/docs/admin/release_notes/version_1.2.md @@ -0,0 +1,21 @@ +## [v1.2.1](https://github.com/networktocode/ntc-templates/tree/v1.2.1) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.0...v1.2.1) + +## [v1.2.0](https://github.com/networktocode/ntc-templates/tree/v1.2.0) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.1.1...v1.2.0) + +**Implemented enhancements:** + +- FileNotFoundError on Windows 10 [\#455](https://github.com/networktocode/ntc-templates/issues/455) +- Cisco ASA - Missing capture of Software Compile Date [\#387](https://github.com/networktocode/ntc-templates/issues/387) + +**Merged pull requests:** + +- Updates as requested [\#470](https://github.com/networktocode/ntc-templates/pull/470) ([jvanderaa](https://github.com/jvanderaa)) +- Remove extraneous \(duplicate\) test [\#463](https://github.com/networktocode/ntc-templates/pull/463) ([ad8-bdl](https://github.com/ad8-bdl)) +- Support for locating templates when installing local directory on Windows - Fixes \#455 [\#456](https://github.com/networktocode/ntc-templates/pull/456) ([jmcgill298](https://github.com/jmcgill298)) +- Update cisco\_xr\_show\_version.template [\#442](https://github.com/networktocode/ntc-templates/pull/442) ([mspiez](https://github.com/mspiez)) +- Cisco xr show interfaces duplex and mac for bundle ethernet [\#389](https://github.com/networktocode/ntc-templates/pull/389) ([Warsenius](https://github.com/Warsenius)) + diff --git a/docs/admin/release_notes/version_1.3.md b/docs/admin/release_notes/version_1.3.md new file mode 100644 index 0000000000..229852161c --- /dev/null +++ b/docs/admin/release_notes/version_1.3.md @@ -0,0 +1,100 @@ +## [v1.3.0](https://github.com/networktocode/ntc-templates/tree/v1.3.0) (2019-11-18) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.1...v1.3.0) + +**Implemented enhancements:** + +- cisco\_ios\_show\_standby\_brief.template support for interfaces and output in two lines [\#483](https://github.com/networktocode/ntc-templates/issues/483) +- New template cisco\_ios\_show\_snmp\_user.template [\#390](https://github.com/networktocode/ntc-templates/issues/390) +- added last\_link\_flapped to nxos\_show\_interface [\#531](https://github.com/networktocode/ntc-templates/pull/531) ([aSauerwein](https://github.com/aSauerwein)) +- Adding Values for route-map names fetch for nxos\_sh\_ip\_bgp\_nei [\#481](https://github.com/networktocode/ntc-templates/pull/481) ([nnaukwal](https://github.com/nnaukwal)) +- Added BGP up/down time to sh ip bgp summary [\#476](https://github.com/networktocode/ntc-templates/pull/476) ([corvese](https://github.com/corvese)) +- Update cisco\_ios\_show\_ip\_eigrp\_topology.template [\#445](https://github.com/networktocode/ntc-templates/pull/445) ([thomasbridge74](https://github.com/thomasbridge74)) +- Cisco wlc template [\#391](https://github.com/networktocode/ntc-templates/pull/391) ([hisaza](https://github.com/hisaza)) +- Cisco xr show route vrf all [\#378](https://github.com/networktocode/ntc-templates/pull/378) ([Warsenius](https://github.com/Warsenius)) + +**Fixed bugs:** + +- cisco\_ios\_show\_interfaces\_switchport.template broken [\#537](https://github.com/networktocode/ntc-templates/issues/537) +- "Cisco IOS show authentication session" issue when session count exceeds ~10 [\#473](https://github.com/networktocode/ntc-templates/issues/473) +- cisco\_ios\_show\_ip\_interface.template does not deal with peer address on virtual-access interface [\#461](https://github.com/networktocode/ntc-templates/issues/461) +- arista\_eos\_show\_interfaces\_status.template does not deal with disabled ports properly [\#460](https://github.com/networktocode/ntc-templates/issues/460) +- cisco\_ios\_show\_ip\_eigrp\_topology.template does not deal with redistributed routes. [\#459](https://github.com/networktocode/ntc-templates/issues/459) +- Cisco ASA - show failover error [\#424](https://github.com/networktocode/ntc-templates/issues/424) +- wrong info returned when not space between interface name and number from show cdp neighbor [\#415](https://github.com/networktocode/ntc-templates/issues/415) +- show\_mac\_address-table - Output contains single dictionary [\#385](https://github.com/networktocode/ntc-templates/issues/385) +- Fix netflow and wccp lines [\#494](https://github.com/networktocode/ntc-templates/pull/494) ([targuan](https://github.com/targuan)) +- Fix mac address table [\#485](https://github.com/networktocode/ntc-templates/pull/485) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 415 cdp [\#480](https://github.com/networktocode/ntc-templates/pull/480) ([mullaneywt](https://github.com/mullaneywt)) +- Issue 472 patch [\#479](https://github.com/networktocode/ntc-templates/pull/479) ([mullaneywt](https://github.com/mullaneywt)) +- fixed ports [\#471](https://github.com/networktocode/ntc-templates/pull/471) ([dainok](https://github.com/dainok)) +- Fixes \#424: Cisco ASA - show failover error. [\#465](https://github.com/networktocode/ntc-templates/pull/465) ([deesel](https://github.com/deesel)) +- Issue \#384 cisco\_asa\_show\_route - Fix uptime issue [\#401](https://github.com/networktocode/ntc-templates/pull/401) ([brandomando](https://github.com/brandomando)) + +**Closed issues:** + +- cisco\_asa bug in 9.10.1.22 causes `show inventory` template to fail [\#498](https://github.com/networktocode/ntc-templates/issues/498) +- Cisco IOS LLDP [\#484](https://github.com/networktocode/ntc-templates/issues/484) +- cisco\_nxos\_show\_interface\_brief does not deal with pvlan and fabric interfaces [\#472](https://github.com/networktocode/ntc-templates/issues/472) +- cisco\_ios\_show\_lldp\_neighbors\_detail failing when last neighbor includes" MED information" section [\#444](https://github.com/networktocode/ntc-templates/issues/444) +- New Template: cisco\_ios\_show\_license [\#440](https://github.com/networktocode/ntc-templates/issues/440) +- nxos\_show\_interface\_status\_template error [\#420](https://github.com/networktocode/ntc-templates/issues/420) +- README Documentation missing setup information [\#411](https://github.com/networktocode/ntc-templates/issues/411) +- Arista and show int status [\#410](https://github.com/networktocode/ntc-templates/issues/410) +- Cisco ASA show route template error [\#384](https://github.com/networktocode/ntc-templates/issues/384) +- Build is failing in Travis CI [\#240](https://github.com/networktocode/ntc-templates/issues/240) + +**Merged pull requests:** + +- Update CHANGELOG and bump version [\#542](https://github.com/networktocode/ntc-templates/pull/542) ([jmcgill298](https://github.com/jmcgill298)) +- Update state transitions to provide more consistency across platforms [\#541](https://github.com/networktocode/ntc-templates/pull/541) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_environment\_temperature.template, iOS, show environment temperature [\#540](https://github.com/networktocode/ntc-templates/pull/540) ([bobbytayar](https://github.com/bobbytayar)) +- show interface summary [\#539](https://github.com/networktocode/ntc-templates/pull/539) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes 537 - IOS show interfaces switchport - Changed output [\#538](https://github.com/networktocode/ntc-templates/pull/538) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 440 [\#533](https://github.com/networktocode/ntc-templates/pull/533) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Show snmp user [\#532](https://github.com/networktocode/ntc-templates/pull/532) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement - fortinet - get router info bgp summary [\#529](https://github.com/networktocode/ntc-templates/pull/529) ([corvese](https://github.com/corvese)) +- Enhancement: Update templates to record on new entry [\#528](https://github.com/networktocode/ntc-templates/pull/528) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco voice vlan [\#527](https://github.com/networktocode/ntc-templates/pull/527) ([ThreeFDDI](https://github.com/ThreeFDDI)) +- Adv 802dot11 channel [\#526](https://github.com/networktocode/ntc-templates/pull/526) ([timjsmith24](https://github.com/timjsmith24)) +- BugFix: IOS - Add capturing of timestamp data for vty lines that auto print one [\#525](https://github.com/networktocode/ntc-templates/pull/525) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - EOS - show vrf [\#524](https://github.com/networktocode/ntc-templates/pull/524) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - IOS - show mac-address - add data validation and tests [\#523](https://github.com/networktocode/ntc-templates/pull/523) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS - Allow show bgp summary to be used for show bgp evpn summary [\#522](https://github.com/networktocode/ntc-templates/pull/522) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS|NXOS - sh ip route add capturing of VRF [\#521](https://github.com/networktocode/ntc-templates/pull/521) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement: IOS|EOS - show bgp summ - Account for VRF syntax [\#520](https://github.com/networktocode/ntc-templates/pull/520) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: XR - show version - account for CRS output [\#519](https://github.com/networktocode/ntc-templates/pull/519) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - Ciena - software show [\#518](https://github.com/networktocode/ntc-templates/pull/518) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: EOS - show bgp summ - match RID/AS more precisely [\#517](https://github.com/networktocode/ntc-templates/pull/517) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: IOS - show ip int - account for serial intfs [\#516](https://github.com/networktocode/ntc-templates/pull/516) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show inventory [\#515](https://github.com/networktocode/ntc-templates/pull/515) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - IOS - show process memory sorted [\#514](https://github.com/networktocode/ntc-templates/pull/514) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show rf profile-summary [\#513](https://github.com/networktocode/ntc-templates/pull/513) ([jmcgill298](https://github.com/jmcgill298)) +- New Templates - Huawei VRP - display interface and display temp [\#512](https://github.com/networktocode/ntc-templates/pull/512) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show 802.11 cleanair config [\#510](https://github.com/networktocode/ntc-templates/pull/510) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: WLC 80211 - Add missing EoL to matching empty lines [\#508](https://github.com/networktocode/ntc-templates/pull/508) ([jmcgill298](https://github.com/jmcgill298)) +- cisco nxos bgp neighbor defect fix [\#505](https://github.com/networktocode/ntc-templates/pull/505) ([nnaukwal](https://github.com/nnaukwal)) +- BugFix: IOS show standby brief - support multiline output [\#503](https://github.com/networktocode/ntc-templates/pull/503) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco WLC Command - Show 802 11a|b [\#501](https://github.com/networktocode/ntc-templates/pull/501) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes498 - Cisco ASA with Extra Output in `show inventory` [\#499](https://github.com/networktocode/ntc-templates/pull/499) ([jvanderaa](https://github.com/jvanderaa)) +- Enhancement: ASA - Convert show version serial to list [\#497](https://github.com/networktocode/ntc-templates/pull/497) ([jmcgill298](https://github.com/jmcgill298)) +- Add arista eos show ip helper [\#496](https://github.com/networktocode/ntc-templates/pull/496) ([targuan](https://github.com/targuan)) +- Fix \#461 [\#495](https://github.com/networktocode/ntc-templates/pull/495) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add ruckus\_fastiron show arp template [\#493](https://github.com/networktocode/ntc-templates/pull/493) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: cisco\_xr\_show\_ipv6\_neighbors [\#492](https://github.com/networktocode/ntc-templates/pull/492) ([charlesmonson](https://github.com/charlesmonson)) +- Switch detail [\#491](https://github.com/networktocode/ntc-templates/pull/491) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco NXoS template for "show forwarding ipv4 route" [\#489](https://github.com/networktocode/ntc-templates/pull/489) ([nnaukwal](https://github.com/nnaukwal)) +- Fix \#460 [\#488](https://github.com/networktocode/ntc-templates/pull/488) ([targuan](https://github.com/targuan)) +- Add test case for 3650/3850 output [\#487](https://github.com/networktocode/ntc-templates/pull/487) ([targuan](https://github.com/targuan)) +- nxos - Template for show route-map command [\#486](https://github.com/networktocode/ntc-templates/pull/486) ([nnaukwal](https://github.com/nnaukwal)) +- Cisco XR admin show inventory [\#482](https://github.com/networktocode/ntc-templates/pull/482) ([charlesmonson](https://github.com/charlesmonson)) +- Add template cisco\_nxos\_show\_ip\_interface\_brief [\#478](https://github.com/networktocode/ntc-templates/pull/478) ([mullaneywt](https://github.com/mullaneywt)) +- BugFix: allow various time formats for ip mroute [\#474](https://github.com/networktocode/ntc-templates/pull/474) ([jmcgill298](https://github.com/jmcgill298)) +- template for show arp in watchguard [\#468](https://github.com/networktocode/ntc-templates/pull/468) ([dainok](https://github.com/dainok)) +- Paloalto panos arp fix [\#466](https://github.com/networktocode/ntc-templates/pull/466) ([dainok](https://github.com/dainok)) +- HP Comware `display counters \(inbound|outbound\) interface` [\#464](https://github.com/networktocode/ntc-templates/pull/464) ([ad8-bdl](https://github.com/ad8-bdl)) +- ASA show asp drop changes [\#446](https://github.com/networktocode/ntc-templates/pull/446) ([vaneuk](https://github.com/vaneuk)) +- add cisco\_wlc\_ssh\_show\_exclusionlist [\#425](https://github.com/networktocode/ntc-templates/pull/425) ([ancker010](https://github.com/ancker010)) +- fix: show ip bgp examples appear to be swapped [\#421](https://github.com/networktocode/ntc-templates/pull/421) ([cmccormack](https://github.com/cmccormack)) +- Bugfix: asa\_dir template to account for change in raw output [\#419](https://github.com/networktocode/ntc-templates/pull/419) ([FragmentedPacket](https://github.com/FragmentedPacket)) + diff --git a/docs/admin/release_notes/version_1.4.md b/docs/admin/release_notes/version_1.4.md new file mode 100644 index 0000000000..813fc907bf --- /dev/null +++ b/docs/admin/release_notes/version_1.4.md @@ -0,0 +1,184 @@ +## [v1.4.2](https://github.com/networktocode/ntc-templates/tree/v1.4.2) (2020-05-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...v1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- Bump version to 1.4.2 [\#728](https://github.com/networktocode/ntc-templates/pull/728) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- 718 fix [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + +## [v1.4.1](https://github.com/networktocode/ntc-templates/tree/v1.4.1) (2020-04-23) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.0...v1.4.1) + +**Closed issues:** + +- cisco\_ios\_show\_mac-address-table.textfsm "N/A" in vlan field. [\#657](https://github.com/networktocode/ntc-templates/issues/657) +- platform="cisco\_ios", command="sh ip route summary" returning an empty array. [\#655](https://github.com/networktocode/ntc-templates/issues/655) +- Beginning of output for cisco\_ios "show ip ospf database \" may or may not be a space character [\#649](https://github.com/networktocode/ntc-templates/issues/649) +- Cisco ASA show\_route parsing for alternative multiline format [\#646](https://github.com/networktocode/ntc-templates/issues/646) +- Cisco ASA AnyConnect Errors with Tunnel Group on different line [\#630](https://github.com/networktocode/ntc-templates/issues/630) +- Create Template for Cisco ASA - show vpn-sessiondb anyconnect [\#624](https://github.com/networktocode/ntc-templates/issues/624) +- Juniper Junos add fpc:X, {master:X} for many commans stdout [\#621](https://github.com/networktocode/ntc-templates/issues/621) + +**Merged pull requests:** + +- Forgot to bump version in lib/ntc\_templates/\_\_init\_\_.py [\#661](https://github.com/networktocode/ntc-templates/pull/661) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added information for all new changes between 1.4.0 and now [\#660](https://github.com/networktocode/ntc-templates/pull/660) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios\_show\_mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace [\#659](https://github.com/networktocode/ntc-templates/pull/659) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios show ip ospf database router and network: Make leading spaces optional [\#650](https://github.com/networktocode/ntc-templates/pull/650) ([ariesgeek](https://github.com/ariesgeek)) +- Cisco ASA show\_route [\#647](https://github.com/networktocode/ntc-templates/pull/647) ([fatred](https://github.com/fatred)) +- Enhancement: cisco\_asa\_show\_inventory support inventory items w/o SN [\#638](https://github.com/networktocode/ntc-templates/pull/638) ([wvandeun](https://github.com/wvandeun)) +- show band-select template [\#637](https://github.com/networktocode/ntc-templates/pull/637) ([timjsmith24](https://github.com/timjsmith24)) +- Adds Cisco ASA show vpn-sessiondb [\#636](https://github.com/networktocode/ntc-templates/pull/636) ([jvanderaa](https://github.com/jvanderaa)) +- add cisco\_ios\_show\_ip\_route\_summary [\#635](https://github.com/networktocode/ntc-templates/pull/635) ([kjoyce77](https://github.com/kjoyce77)) +- Bugfix: cisco asa show nat [\#632](https://github.com/networktocode/ntc-templates/pull/632) ([joewesch](https://github.com/joewesch)) +- Updates based on hung sessions and different command output [\#631](https://github.com/networktocode/ntc-templates/pull/631) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Cisco ASA ipsec sa name compatibility [\#629](https://github.com/networktocode/ntc-templates/pull/629) ([joewesch](https://github.com/joewesch)) +- cisco\_wlc show mobility summary [\#628](https://github.com/networktocode/ntc-templates/pull/628) ([timjsmith24](https://github.com/timjsmith24)) +- Updates Cisco ASA `show vpn-sessiondb anyconnect` [\#626](https://github.com/networktocode/ntc-templates/pull/626) ([jvanderaa](https://github.com/jvanderaa)) +- Adds template for Cisco ASA "show vpn-sessiondb anyconnect" [\#625](https://github.com/networktocode/ntc-templates/pull/625) ([jvanderaa](https://github.com/jvanderaa)) +- Junos virtual chassis [\#622](https://github.com/networktocode/ntc-templates/pull/622) ([ainamori](https://github.com/ainamori)) +- allow space in fex description [\#620](https://github.com/networktocode/ntc-templates/pull/620) ([daanvdsanden](https://github.com/daanvdsanden)) +- New Template: hp\_comware\_display\_lldp\_neighbor-information\_verbose [\#619](https://github.com/networktocode/ntc-templates/pull/619) ([xdai555](https://github.com/xdai555)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_network [\#618](https://github.com/networktocode/ntc-templates/pull/618) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Remove reliance on static spacing for cisco\_ios\_show\_ip\_ospf\_database\_router [\#617](https://github.com/networktocode/ntc-templates/pull/617) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Removed reliance on static spacing for cisco\_ios\_show\_interfaces\_status [\#614](https://github.com/networktocode/ntc-templates/pull/614) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v1.4.0](https://github.com/networktocode/ntc-templates/tree/v1.4.0) (2020-03-09) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.3.0...v1.4.0) + +**Implemented enhancements:** + +- Testing that test cases exist has an exception for 4 templates that need to be rectified [\#550](https://github.com/networktocode/ntc-templates/issues/550) +- Huawei - display lldp neighbor formatting [\#396](https://github.com/networktocode/ntc-templates/issues/396) +- Adding vlan name to access vlan and native vlan on NXOS [\#612](https://github.com/networktocode/ntc-templates/pull/612) ([daanvdsanden](https://github.com/daanvdsanden)) +- Enhancement: cisco\_nxos\_show\_vlan: Added interfaces [\#604](https://github.com/networktocode/ntc-templates/pull/604) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: IOS lldp neighbors - add capabilities capture group [\#553](https://github.com/networktocode/ntc-templates/pull/553) ([ewmanthei](https://github.com/ewmanthei)) +- Enhancement: Use ".textfsm" extension for IDEs [\#543](https://github.com/networktocode/ntc-templates/pull/543) ([jmcgill298](https://github.com/jmcgill298)) +- YAMLLINT: Add yamllint to tox testing [\#406](https://github.com/networktocode/ntc-templates/pull/406) ([jmcgill298](https://github.com/jmcgill298)) + +**Fixed bugs:** + +- parse\_output returns empty after interface has been modified by first run of script [\#613](https://github.com/networktocode/ntc-templates/issues/613) +- arista\_eos\_show\_ip\_route.textfsm fails on vrrp route display [\#588](https://github.com/networktocode/ntc-templates/issues/588) +- ASA show failover bug when using IPS module [\#547](https://github.com/networktocode/ntc-templates/issues/547) +- cisco\_nxos\_show\_version does not display N5K platform [\#545](https://github.com/networktocode/ntc-templates/issues/545) +- Fix regex: Update VyOS template to match addresses without netmask de… [\#608](https://github.com/networktocode/ntc-templates/pull/608) ([sliddjur](https://github.com/sliddjur)) +- Fixed regex for fortinet bgp template and added new template standards [\#592](https://github.com/networktocode/ntc-templates/pull/592) ([corvese](https://github.com/corvese)) +- BugFix: Cisco show switch detail with mac persistency wait time [\#584](https://github.com/networktocode/ntc-templates/pull/584) ([msom](https://github.com/msom)) + +**Closed issues:** + +- cisco\_nxos\_show\_vlan does not show ports, thank god cisco\_ios\_show\_vlan works [\#601](https://github.com/networktocode/ntc-templates/issues/601) +- regex to match whitespace, words, or mix of both, and cut off trailing whitespace? [\#566](https://github.com/networktocode/ntc-templates/issues/566) +- Bug: Alcatel SROS show service id index issue [\#556](https://github.com/networktocode/ntc-templates/issues/556) +- Cisco IOS Show MAC Address-Table Errors on Last Line [\#544](https://github.com/networktocode/ntc-templates/issues/544) +- Cisco IOS Show Run Template [\#469](https://github.com/networktocode/ntc-templates/issues/469) +- show ip route IOS vs NXOS [\#382](https://github.com/networktocode/ntc-templates/issues/382) +- Add tests for index file to Travis [\#207](https://github.com/networktocode/ntc-templates/issues/207) +- Using the .textfsm extension for templates [\#171](https://github.com/networktocode/ntc-templates/issues/171) + +**Merged pull requests:** + +- Bumping version to 1.4.0 [\#616](https://github.com/networktocode/ntc-templates/pull/616) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Documentation: Update changelog for 1.4.0 release [\#615](https://github.com/networktocode/ntc-templates/pull/615) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added line to get the port mode of an interface [\#611](https://github.com/networktocode/ntc-templates/pull/611) ([daanvdsanden](https://github.com/daanvdsanden)) +- update show arp for aruba\_os [\#610](https://github.com/networktocode/ntc-templates/pull/610) ([dmwcode](https://github.com/dmwcode)) +- New Template: hp comware show ip interface [\#609](https://github.com/networktocode/ntc-templates/pull/609) ([sliddjur](https://github.com/sliddjur)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_router [\#606](https://github.com/networktocode/ntc-templates/pull/606) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- New Template: cisco\_s300\_show\_version [\#605](https://github.com/networktocode/ntc-templates/pull/605) ([wdennis](https://github.com/wdennis)) +- Enhancements: IOS show ip access-list [\#603](https://github.com/networktocode/ntc-templates/pull/603) ([jpobeda](https://github.com/jpobeda)) +- Cisco nxos show vrf interface [\#602](https://github.com/networktocode/ntc-templates/pull/602) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template Show Mpls interface [\#600](https://github.com/networktocode/ntc-templates/pull/600) ([alekgozali](https://github.com/alekgozali)) +- New Template : Show Etherchannel Summary [\#599](https://github.com/networktocode/ntc-templates/pull/599) ([alekgozali](https://github.com/alekgozali)) +- Fixes for cisco\_ios\_show\_running-config\_partition\_access-list template [\#598](https://github.com/networktocode/ntc-templates/pull/598) ([jpobeda](https://github.com/jpobeda)) +- add huawei vrp display version [\#597](https://github.com/networktocode/ntc-templates/pull/597) ([lutfisan](https://github.com/lutfisan)) +- Cisco XR - admin show environment power - template [\#596](https://github.com/networktocode/ntc-templates/pull/596) ([hijm](https://github.com/hijm)) +- Added Checkpoint GAIA show arp dynamic all template [\#595](https://github.com/networktocode/ntc-templates/pull/595) ([dys152](https://github.com/dys152)) +- add show arp for aruba\_os [\#594](https://github.com/networktocode/ntc-templates/pull/594) ([dmwcode](https://github.com/dmwcode)) +- New Template - CISCO IOS - Show Module [\#593](https://github.com/networktocode/ntc-templates/pull/593) ([alekgozali](https://github.com/alekgozali)) +- New Template: cisco\_nxos\_show\_vdc.textfsm [\#591](https://github.com/networktocode/ntc-templates/pull/591) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: cisco\_ios\_show\_ip\_bgp\_neighbors.textfsm [\#590](https://github.com/networktocode/ntc-templates/pull/590) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: added new vrf format and secondary route catch [\#589](https://github.com/networktocode/ntc-templates/pull/589) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: Cisco IOS show interfaces switchport [\#587](https://github.com/networktocode/ntc-templates/pull/587) ([kwrobert](https://github.com/kwrobert)) +- Bug Fix: Cisco IOS show mac address-table [\#585](https://github.com/networktocode/ntc-templates/pull/585) ([kwrobert](https://github.com/kwrobert)) +- Jschulman cisco nxos allow missing transceiver type [\#582](https://github.com/networktocode/ntc-templates/pull/582) ([jeremyschulman](https://github.com/jeremyschulman)) +- New Template: Cisco WLC show wlan summary [\#581](https://github.com/networktocode/ntc-templates/pull/581) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template Pull Request - cisco\_xr\_show\_interfaces\_summary [\#580](https://github.com/networktocode/ntc-templates/pull/580) ([hijm](https://github.com/hijm)) +- New Templates: Fortinet get system interface and status [\#578](https://github.com/networktocode/ntc-templates/pull/578) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix for cisco ios show mac address-table parser [\#577](https://github.com/networktocode/ntc-templates/pull/577) ([kwrobert](https://github.com/kwrobert)) +- New Templat: Huawei display lldp neighbor [\#576](https://github.com/networktocode/ntc-templates/pull/576) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: NXOS show version - Add n5k platform regex [\#575](https://github.com/networktocode/ntc-templates/pull/575) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: ASA Show failover - Account for new data [\#574](https://github.com/networktocode/ntc-templates/pull/574) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Show arp - ASA [\#573](https://github.com/networktocode/ntc-templates/pull/573) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add SERIAL to Cisco IOS LLDP Neighbors Detail [\#572](https://github.com/networktocode/ntc-templates/pull/572) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Cisco XR - show arp [\#567](https://github.com/networktocode/ntc-templates/pull/567) ([migueloangelo](https://github.com/migueloangelo)) +- cisco\_ios\_show\_license - avoid trailing white spaces [\#565](https://github.com/networktocode/ntc-templates/pull/565) ([migueloangelo](https://github.com/migueloangelo)) +- New Template for Cisco NXOS - show\_interface\_transceiver [\#564](https://github.com/networktocode/ntc-templates/pull/564) ([dgarros](https://github.com/dgarros)) +- Enhancement: IOS show int switchport - Add ADMIN\_MODE Group [\#563](https://github.com/networktocode/ntc-templates/pull/563) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco ASA Show Logging Template [\#562](https://github.com/networktocode/ntc-templates/pull/562) ([afoster213](https://github.com/afoster213)) +- New Template for Cisco IOS Log Messages [\#554](https://github.com/networktocode/ntc-templates/pull/554) ([afoster213](https://github.com/afoster213)) +- Cleanup some testing [\#551](https://github.com/networktocode/ntc-templates/pull/551) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#544: Added new parsed sample based on 3750G 15.0\(2\)SE11 code, … [\#548](https://github.com/networktocode/ntc-templates/pull/548) ([jvanderaa](https://github.com/jvanderaa)) +- PYTHON FORMATTING: Add Black to tox file [\#407](https://github.com/networktocode/ntc-templates/pull/407) ([jmcgill298](https://github.com/jmcgill298)) + diff --git a/docs/admin/release_notes/version_1.5.md b/docs/admin/release_notes/version_1.5.md new file mode 100644 index 0000000000..83ea1a01c3 --- /dev/null +++ b/docs/admin/release_notes/version_1.5.md @@ -0,0 +1,49 @@ +## [v1.5.0](https://github.com/networktocode/ntc-templates/tree/v1.5.0) (2020-06-15) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...v1.5.0) + +**Implemented enhancements:** + +- Broadcom ICOS/Fastpath Support? [\#726](https://github.com/networktocode/ntc-templates/issues/726) + +**Fixed bugs:** + +- Cisco IOS show cdp neighbors issue [\#727](https://github.com/networktocode/ntc-templates/issues/727) +- Cisco IOS Show Interface Switchport does not parse multi-line VLAN Trunks [\#642](https://github.com/networktocode/ntc-templates/issues/642) +- Cisco ASA Show interface does not catch unnamed interfaces [\#627](https://github.com/networktocode/ntc-templates/issues/627) +- Fixes missing interfaces on down interfaces [\#734](https://github.com/networktocode/ntc-templates/pull/734) ([jvanderaa](https://github.com/jvanderaa)) + +**Closed issues:** + +- Cisco ASA "show vpn-sessiondb anyconnect" parser doesn't support IPv6 addresses [\#751](https://github.com/networktocode/ntc-templates/issues/751) +- failing testsuite [\#743](https://github.com/networktocode/ntc-templates/issues/743) +- I would like to contribute the PR for adding new cisco\_wlc\_ssh\_show\_ap\_image\_all [\#739](https://github.com/networktocode/ntc-templates/issues/739) +- Template help for multiple states [\#737](https://github.com/networktocode/ntc-templates/issues/737) +- textfsm.parser.TextFSMError: State Error raised. Rule Line: 15. Input Line: show ip arp [\#686](https://github.com/networktocode/ntc-templates/issues/686) +- Arista eos - sh ip bgp summ vrf all and sh ip route vrf all template [\#666](https://github.com/networktocode/ntc-templates/issues/666) +- Template Creation Help: cisco\_xr\_admin\_show\_environment\_power to get power supply, voltage and current [\#648](https://github.com/networktocode/ntc-templates/issues/648) +- New template: hp\_comware\_display\_interface\_textFSM [\#634](https://github.com/networktocode/ntc-templates/issues/634) +- cisco\_asa\_show\_failover\_state [\#546](https://github.com/networktocode/ntc-templates/issues/546) + +**Merged pull requests:** + +- Bumping to version 1.5.0 [\#763](https://github.com/networktocode/ntc-templates/pull/763) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) +- Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) +- Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) +- Fixes \#751 - IPv6 support for Cisco ASA 'show vpn-sessiondb anyconnect' [\#752](https://github.com/networktocode/ntc-templates/pull/752) ([smfeldman](https://github.com/smfeldman)) +- New Template added support for broadcom\_icos\_show\_vlan\_brief [\#750](https://github.com/networktocode/ntc-templates/pull/750) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_lldp\_remote-device\_all [\#749](https://github.com/networktocode/ntc-templates/pull/749) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_isdp\_neighbors [\#748](https://github.com/networktocode/ntc-templates/pull/748) ([alepodj](https://github.com/alepodj)) +- Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) +- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwoo](https://github.com/conorwoo)) +- Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) +- Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) +- BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) +- New Template support for broadcom\_icos as a new OS and added show\_version command [\#733](https://github.com/networktocode/ntc-templates/pull/733) ([alepodj](https://github.com/alepodj)) +- New template for ubiquity edgeswitch: show version [\#732](https://github.com/networktocode/ntc-templates/pull/732) ([saaverdo](https://github.com/saaverdo)) +- New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) + diff --git a/docs/admin/release_notes/version_1.6.md b/docs/admin/release_notes/version_1.6.md new file mode 100644 index 0000000000..445e44bd05 --- /dev/null +++ b/docs/admin/release_notes/version_1.6.md @@ -0,0 +1,45 @@ +## [v1.6.0](https://github.com/networktocode/ntc-templates/tree/v1.6.0) (2020-10-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...v1.6.0) + +**Implemented enhancements:** + +- Creation of a Faq [\#716](https://github.com/networktocode/ntc-templates/issues/716) + +**Closed issues:** + +- This is not a data modeling project. So is there any data modeling project can work with this? [\#802](https://github.com/networktocode/ntc-templates/issues/802) +- Black 20.b0 breaks tox test [\#794](https://github.com/networktocode/ntc-templates/issues/794) +- Unable to Parse show version on IOSv Device [\#780](https://github.com/networktocode/ntc-templates/issues/780) +- TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) +- cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) +- arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) + +**Merged pull requests:** + +- Bugfix: ASA show interface - missing case handled for no values for duplex & speed [\#815](https://github.com/networktocode/ntc-templates/pull/815) ([starlightdreamer](https://github.com/starlightdreamer)) +- Linux arp a [\#814](https://github.com/networktocode/ntc-templates/pull/814) ([jifox](https://github.com/jifox)) +- add template and tests for cisco\_wlc\_ssh\_show\_interface\_detailed [\#812](https://github.com/networktocode/ntc-templates/pull/812) ([wvandeun](https://github.com/wvandeun)) +- fix issue in cisco\_wlc\_ssh\_show\_interface\_summary template [\#810](https://github.com/networktocode/ntc-templates/pull/810) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: cisco\_ios\_show\_running\_partition\_access\_list [\#808](https://github.com/networktocode/ntc-templates/pull/808) ([jpobeda](https://github.com/jpobeda)) +- Release 1.6.0 [\#807](https://github.com/networktocode/ntc-templates/pull/807) ([jmcgill298](https://github.com/jmcgill298)) +- changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) +- modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) +- Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) +- Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) +- New Template - hp\_procurve\_show\_interfaces [\#796](https://github.com/networktocode/ntc-templates/pull/796) ([adraf82](https://github.com/adraf82)) +- Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) +- Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) +- update arista\_eos\_show\_inventory [\#791](https://github.com/networktocode/ntc-templates/pull/791) ([yshu95](https://github.com/yshu95)) +- Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) +- Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Account for "powered-up" value in the output of nxos show module [\#774](https://github.com/networktocode/ntc-templates/pull/774) ([mtbutler07](https://github.com/mtbutler07)) +- Dual line support for Cisco NX-OS 'ip bgp summary' command [\#772](https://github.com/networktocode/ntc-templates/pull/772) ([rtkennedy](https://github.com/rtkennedy)) +- Arista eos show mac address table [\#765](https://github.com/networktocode/ntc-templates/pull/765) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template: cisco\_nxos\_show\_ip\_interface [\#761](https://github.com/networktocode/ntc-templates/pull/761) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_hsrp\_all [\#760](https://github.com/networktocode/ntc-templates/pull/760) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_license\_usage [\#759](https://github.com/networktocode/ntc-templates/pull/759) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) +- Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) + diff --git a/docs/admin/release_notes/version_1.7.md b/docs/admin/release_notes/version_1.7.md new file mode 100644 index 0000000000..c0ec39a47a --- /dev/null +++ b/docs/admin/release_notes/version_1.7.md @@ -0,0 +1,81 @@ +## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-12) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) + +**Implemented enhancements:** + +- Potential naming inconsistencies between ntc-templates and netmiko for fortinet devices [\#534](https://github.com/networktocode/ntc-templates/issues/534) + +**Closed issues:** + +- arista\_eos\_show\_interfaces incomplete [\#887](https://github.com/networktocode/ntc-templates/issues/887) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#871](https://github.com/networktocode/ntc-templates/issues/871) +- cisco\_nxos\_show\_ip\_route errors out on Route Not Found [\#869](https://github.com/networktocode/ntc-templates/issues/869) +- cisco\_ios\_show\_interfaces\_description.textfsm fails to parse [\#866](https://github.com/networktocode/ntc-templates/issues/866) +- Having trouble with textfsm [\#858](https://github.com/networktocode/ntc-templates/issues/858) +- cisco\_nxos\_show\_ip\_arp\_detail.textfsm fails to parse Age field \(Age results are of form 00:14:15 AND 0.732312\) [\#851](https://github.com/networktocode/ntc-templates/issues/851) +- arista\_eos\_show\_interfaces\_status parse failures [\#834](https://github.com/networktocode/ntc-templates/issues/834) +- cisco\_ios\_show\_mac-address-table support for pvlans [\#830](https://github.com/networktocode/ntc-templates/issues/830) +- Don’t work when parse output of “show fc zone” for Dell s5000 [\#825](https://github.com/networktocode/ntc-templates/issues/825) +- update nxos show interface to capture discards [\#819](https://github.com/networktocode/ntc-templates/issues/819) +- change key names to match ios template [\#816](https://github.com/networktocode/ntc-templates/issues/816) +- cisco\_nxos\_show\_environment return an empty list [\#790](https://github.com/networktocode/ntc-templates/issues/790) +- cisco show sip-ua register status [\#787](https://github.com/networktocode/ntc-templates/issues/787) +- Issue with cisco\_ios\_show\_vrf.textfsm template [\#786](https://github.com/networktocode/ntc-templates/issues/786) +- version of OS can differ o/p, how to handle such cases [\#782](https://github.com/networktocode/ntc-templates/issues/782) +- NXSOS SHOW\_INVENTORY ALL [\#778](https://github.com/networktocode/ntc-templates/issues/778) +- ISSUE with show bgp neighboor template IOS XR [\#746](https://github.com/networktocode/ntc-templates/issues/746) + +**Merged pull requests:** + +- New Template: ruckus\_fastiron, show interfaces brief [\#895](https://github.com/networktocode/ntc-templates/pull/895) ([QuasarKid](https://github.com/QuasarKid)) +- Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) +- new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) +- New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) +- Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) +- add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) +- New template: yamaha [\#865](https://github.com/networktocode/ntc-templates/pull/865) ([akira6592](https://github.com/akira6592)) +- Add Environment Variable Option for Custom Template Location [\#863](https://github.com/networktocode/ntc-templates/pull/863) ([jeffkala](https://github.com/jeffkala)) +- New Template: hp\_procurve\_show\_port-security [\#862](https://github.com/networktocode/ntc-templates/pull/862) ([adraf82](https://github.com/adraf82)) +- Adding in/out route-map parsing to cisco ios show ip bgp nei template [\#861](https://github.com/networktocode/ntc-templates/pull/861) ([nnaukwal](https://github.com/nnaukwal)) +- Fortinet updates [\#860](https://github.com/networktocode/ntc-templates/pull/860) ([refriedjello](https://github.com/refriedjello)) +- Fixes \#851 and add new template [\#857](https://github.com/networktocode/ntc-templates/pull/857) ([diepes](https://github.com/diepes)) +- New Templates: Cisco IOS show vrrp brief and all [\#856](https://github.com/networktocode/ntc-templates/pull/856) ([mjbear](https://github.com/mjbear)) +- Adding new templates for show \(radius|tacacs\) summary output [\#855](https://github.com/networktocode/ntc-templates/pull/855) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show port summary and show stats port summary [\#854](https://github.com/networktocode/ntc-templates/pull/854) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show time \(for time and NTP information\) [\#853](https://github.com/networktocode/ntc-templates/pull/853) ([mjbear](https://github.com/mjbear)) +- New Template - cisco\_ios\_show\_object-group [\#850](https://github.com/networktocode/ntc-templates/pull/850) ([pkomissarov](https://github.com/pkomissarov)) +- cisco\_nxos\_show\_ip\_bgp\_summary\_vrf update to support 32-bits ASN outputs [\#849](https://github.com/networktocode/ntc-templates/pull/849) ([burningnode](https://github.com/burningnode)) +- New Template: Cisco WLC show mobility anchor [\#847](https://github.com/networktocode/ntc-templates/pull/847) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show redundancy summary and detail [\#846](https://github.com/networktocode/ntc-templates/pull/846) ([mjbear](https://github.com/mjbear)) +- Fixes \#773 CiscoASA-show\_vpn-sessiondb\_SW\_update [\#845](https://github.com/networktocode/ntc-templates/pull/845) ([diepes](https://github.com/diepes)) +- Fixes\#811 arista eos show ip route [\#843](https://github.com/networktocode/ntc-templates/pull/843) ([diepes](https://github.com/diepes)) +- updated template and added test file [\#842](https://github.com/networktocode/ntc-templates/pull/842) ([adraf82](https://github.com/adraf82)) +- Fix\#784 new: cisco asa show running all cryprom map [\#840](https://github.com/networktocode/ntc-templates/pull/840) ([diepes](https://github.com/diepes)) +- Fix\#788 ios show int fc [\#839](https://github.com/networktocode/ntc-templates/pull/839) ([diepes](https://github.com/diepes)) +- Fixes \#790 - new template cisco\_nxos\_show\_environment.textfsm [\#838](https://github.com/networktocode/ntc-templates/pull/838) ([diepes](https://github.com/diepes)) +- Add codeowners file [\#837](https://github.com/networktocode/ntc-templates/pull/837) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancment: EOS show int status - account for LAG members [\#835](https://github.com/networktocode/ntc-templates/pull/835) ([jmcgill298](https://github.com/jmcgill298)) +- update Cisco IOS show tacacs template to support parsing of server name in newer configurations [\#833](https://github.com/networktocode/ntc-templates/pull/833) ([anirudhkamath](https://github.com/anirudhkamath)) +- added fortinet get system arp [\#832](https://github.com/networktocode/ntc-templates/pull/832) ([wmclendon](https://github.com/wmclendon)) +- Enhancement: Change fortinet\_fortios to fortinet per Netmiko [\#831](https://github.com/networktocode/ntc-templates/pull/831) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: hp\_procurve\_show\_interfaces\_brief.textfsm [\#829](https://github.com/networktocode/ntc-templates/pull/829) ([adraf82](https://github.com/adraf82)) +- New template: Vyatta/VyOS BGP summary [\#828](https://github.com/networktocode/ntc-templates/pull/828) ([jpbede](https://github.com/jpbede)) +- New template: dell\_powerconnect [\#827](https://github.com/networktocode/ntc-templates/pull/827) ([nidebr](https://github.com/nidebr)) +- Some sros commands [\#824](https://github.com/networktocode/ntc-templates/pull/824) ([kvlangenhove](https://github.com/kvlangenhove)) +- updated hp\_procurve\_show\_interfaces template for backward compatibility [\#823](https://github.com/networktocode/ntc-templates/pull/823) ([adraf82](https://github.com/adraf82)) +- New template: arista\_eos\_show\_interfaces\_description [\#822](https://github.com/networktocode/ntc-templates/pull/822) ([rich-day](https://github.com/rich-day)) +- Bugfix: issues with cisco\_nxos\_show\_ip\_dhcp\_relay\_address [\#821](https://github.com/networktocode/ntc-templates/pull/821) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: URL ACL property in cisco\_wlc\_ssh\_show\_interface\_detailed [\#820](https://github.com/networktocode/ntc-templates/pull/820) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: added 'Autostate exclude' to avoid error [\#818](https://github.com/networktocode/ntc-templates/pull/818) ([abaretta](https://github.com/abaretta)) +- fix unconfigured DHCP issue in cisco\_wlc\_ssh\_show\_interface\_detailed [\#817](https://github.com/networktocode/ntc-templates/pull/817) ([wvandeun](https://github.com/wvandeun)) +- cisco\_nxos show version - extract serial from "Processor board ID" [\#813](https://github.com/networktocode/ntc-templates/pull/813) ([diepes](https://github.com/diepes)) +- Bugfix: cisco ios show ip access-list [\#809](https://github.com/networktocode/ntc-templates/pull/809) ([jpobeda](https://github.com/jpobeda)) +- Bugfix: IOS show lldp neig - fix neighbor name with spaces [\#799](https://github.com/networktocode/ntc-templates/pull/799) ([realvitya](https://github.com/realvitya)) + + diff --git a/docs/admin/release_notes/version_2.0.md b/docs/admin/release_notes/version_2.0.md new file mode 100644 index 0000000000..7ff12afbf0 --- /dev/null +++ b/docs/admin/release_notes/version_2.0.md @@ -0,0 +1,11 @@ +## [v2.0.0](https://github.com/networktocode/ntc-templates/tree/v2.0.0) (2021-03-12) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.7.0...v2.0.0) + +**Merged pull requests:** + +- Release v2.0.0 [\#890](https://github.com/networktocode/ntc-templates/pull/890) ([jmcgill298](https://github.com/jmcgill298)) +- Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) +- Add Dell Force 10 show ip interface brief [\#875](https://github.com/networktocode/ntc-templates/pull/875) ([soer7022](https://github.com/soer7022)) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) + diff --git a/docs/admin/release_notes/version_2.1.md b/docs/admin/release_notes/version_2.1.md new file mode 100644 index 0000000000..0c19f5ee72 --- /dev/null +++ b/docs/admin/release_notes/version_2.1.md @@ -0,0 +1,42 @@ +## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) + +**Implemented enhancements:** + +- Move to Poetry for dependency and publishing [\#729](https://github.com/networktocode/ntc-templates/issues/729) + +**Closed issues:** + +- cisco\_nxos\_show\_cdp\_neighbors\_detail 'str' object has no attribute 'seek'. [\#936](https://github.com/networktocode/ntc-templates/issues/936) +- show int status returns error \(seems template error\) for particular switch for other switches it does work \(iOS\). [\#922](https://github.com/networktocode/ntc-templates/issues/922) +- IPinfusuion OCNOS support request [\#913](https://github.com/networktocode/ntc-templates/issues/913) +- cisco\_ios\_show\_interfaces\_status.textfsm \(no interface in monitoring state\) [\#878](https://github.com/networktocode/ntc-templates/issues/878) +- Arista\_eos: show ip bgp summary Error [\#844](https://github.com/networktocode/ntc-templates/issues/844) +- arista\_eos\_show\_ip\_route parse exception [\#811](https://github.com/networktocode/ntc-templates/issues/811) +- cisco nxos show interface status issue when FC ports are present [\#788](https://github.com/networktocode/ntc-templates/issues/788) +- cisco\_asa\_show\_running\_cryprom\_map does not parse crypto maps without "set security association lifetime" [\#784](https://github.com/networktocode/ntc-templates/issues/784) +- Cisco ASA show vpn-sessiondb invalid and not returning data after ASA SW update [\#773](https://github.com/networktocode/ntc-templates/issues/773) +- cannot import name 'clitable' from 'textfsm' [\#731](https://github.com/networktocode/ntc-templates/issues/731) + +**Merged pull requests:** + +- Adding Restarted to show version template for cisco ios [\#940](https://github.com/networktocode/ntc-templates/pull/940) ([ksrattani](https://github.com/ksrattani)) +- cisco\_nxos add f-path vlan type [\#937](https://github.com/networktocode/ntc-templates/pull/937) ([JargeZ](https://github.com/JargeZ)) +- Fix issue \#929 [\#934](https://github.com/networktocode/ntc-templates/pull/934) ([matt852](https://github.com/matt852)) +- New Template: Alcatel, sh router ospf int [\#931](https://github.com/networktocode/ntc-templates/pull/931) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: SROS "show system cpu" [\#930](https://github.com/networktocode/ntc-templates/pull/930) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Adds monitoring port for show interfaces status [\#928](https://github.com/networktocode/ntc-templates/pull/928) ([jvanderaa](https://github.com/jvanderaa)) +- New Template: All BGP VPNv4 Neighbors [\#911](https://github.com/networktocode/ntc-templates/pull/911) ([markh0338](https://github.com/markh0338)) +- Added Known Issues section to document Micah's finding/issue [\#902](https://github.com/networktocode/ntc-templates/pull/902) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added deploy option to auto deploy on tags [\#901](https://github.com/networktocode/ntc-templates/pull/901) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- sros, new template - sh router interface, -vrf \# optional [\#898](https://github.com/networktocode/ntc-templates/pull/898) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Add end of line for matching empty lines [\#897](https://github.com/networktocode/ntc-templates/pull/897) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: ruckus\_fastiron, show mac-address [\#896](https://github.com/networktocode/ntc-templates/pull/896) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: ruckus\_fastiron, show version [\#894](https://github.com/networktocode/ntc-templates/pull/894) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: alcatel\_sros, sh router mpls lsp [\#893](https://github.com/networktocode/ntc-templates/pull/893) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sap-using [\#892](https://github.com/networktocode/ntc-templates/pull/892) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sdp-using [\#891](https://github.com/networktocode/ntc-templates/pull/891) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- add new template show port-security interface [\#885](https://github.com/networktocode/ntc-templates/pull/885) ([jeffkala](https://github.com/jeffkala)) +- Bugfix: Type for cisco\_nxos\_show\_interface\_status [\#880](https://github.com/networktocode/ntc-templates/pull/880) ([FragmentedPacket](https://github.com/FragmentedPacket)) + diff --git a/docs/admin/release_notes/version_2.2.md b/docs/admin/release_notes/version_2.2.md new file mode 100644 index 0000000000..dfcf953293 --- /dev/null +++ b/docs/admin/release_notes/version_2.2.md @@ -0,0 +1,34 @@ +## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include additional ICMP_TYPE options [\#964](https://github.com/networktocode/ntc-templates/issues/964) +- cisco\_ios\_show\_version template needs updated to account for StackWise Virtual Domains [\#924](https://github.com/networktocode/ntc-templates/issues/924) + +**Merged pull requests:** + +- cisco\_ios\_show\_ip\_access-lists.textfsm: Updated to include mask-request in template. [\#965](https://github.com/networktocode/ntc-templates/pull/944) ([nsnelson402](https://github.com/nsnelson402)) +- cisco\_ios\_show\_version.textfsm: Updated to account for StackWise Virtual Domains template. [\#960](https://github.com/networktocode/ntc-templates/pull/960) ([itdependsnetworks](https://github.com/itdependsnetworks)) + + + +## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include precedence and tos in *_PORT_MATCH [\#954](https://github.com/networktocode/ntc-templates/issues/954) +- cisco\_nxos\_show\_interface\_transceiver transceiver template failure [\#952](https://github.com/networktocode/ntc-templates/issues/952) + +**Merged pull requests:** + +- cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) [\#944](https://github.com/networktocode/ntc-templates/pull/944) ([joewesch](https://github.com/joewesch)) +- New Template: cisco_ios_show_crypto_session_details [\#947](https://github.com/networktocode/ntc-templates/pull/947) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces [\#918](https://github.com/networktocode/ntc-templates/pull/918) ([dpnetca](https://github.com/dpnetca)) +- cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists [\#907](https://github.com/networktocode/ntc-templates/pull/907) ([mickyhale](https://github.com/mickyhale)) +- Fix nxos_show_interface_transceiver failure [\#953](https://github.com/networktocode/ntc-templates/pull/953) ([chipn](https://github.com/chipn)) +- Updated cisco_ios_show_ip_access-lists.textfsm to include the SRC_PORT_MATCH and DST_PORT_MATCH values for precedence and tos [\#955](https://github.com/networktocode/ntc-templates/pull/955) ([nsnelson402](https://github.com/nsnelson402)) + diff --git a/docs/admin/release_notes/version_2.3.md b/docs/admin/release_notes/version_2.3.md new file mode 100644 index 0000000000..5463348450 --- /dev/null +++ b/docs/admin/release_notes/version_2.3.md @@ -0,0 +1,49 @@ +## [2.3.2](https://github.com/networktocode/ntc-templates/tree/2.3.2) (2021-09-13) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.1...2.3.2) + +**Bugfixes** + +- cisco\_ios\_show\_ip\_bgp\_summary Account for dotted ASN notation [\#987](https://github.com/networktocode/ntc-templates/pull/987) ([thomasbridge74](https://github.com/thomasbridge74)) +- cisco\_nxos\_show\_interface\_status Account for blank type [\#980](https://github.com/networktocode/ntc-templates/pull/980) ([Kani999](https://github.com/Kani999)) +- cisco\_ios\_show\_interfaces Account for `App Interface` [\#968](https://github.com/networktocode/ntc-templates/pull/968) ([a-finocchiaro](https://github.com/a-finocchiaro)) + +## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists Account for singluar match [\#972](https://github.com/networktocode/ntc-templates/issues/972) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + +**Merged pull requests:** + +- ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm [\#973](https://github.com/networktocode/ntc-templates/pull/973) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + +## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include LOG_TYPE options [\#969](https://github.com/networktocode/ntc-templates/issues/969) ([joewesch](https://github.com/joewesch)) + +**Merged pull requests:** + +- ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm [\#927](https://github.com/networktocode/ntc-templates/pull/927) ([scetron](https://github.com/scetron)) + +**New Templates:** + +- aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm +- aruba_aoscx_show_arp_all-vrfs.textfsm +- aruba_aoscx_show_bfd_all-vrfs.textfsm +- aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm +- aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm +- aruba_aoscx_show_interface.textfsm +- aruba_aoscx_show_interface_dom_detail.textfsm +- aruba_aoscx_show_ip_route_all-vrfs.textfsm +- aruba_aoscx_show_lldp_neighbors-info_detail.textfsm +- aruba_aoscx_show_mac-address-table.textfsm +- aruba_aoscx_show_ntp_associations.textfsm +- aruba_aoscx_show_vsf_detail.textfsm + diff --git a/docs/admin/release_notes/version_3.0.md b/docs/admin/release_notes/version_3.0.md new file mode 100644 index 0000000000..a993360511 --- /dev/null +++ b/docs/admin/release_notes/version_3.0.md @@ -0,0 +1,34 @@ +## [3.0.0](https://github.com/networktocode/ntc-templates/tree/3.0.0) (2021-10-28) + +[Full Changlog](https://github.com/networktocode/ntc-templates/compare/v2.3.2...3.0.0) + +### Breaking Changes + +- Template `cisco_ios_show_mac-address-table` has `DESTINATION_PORT` as a list of ports now instead of a single string entry (#994) + +### What's Changed +* cisco_ios_show_access-session: Adding Identity to MAC column by @ahlara-devcore in [#990](https://github.com/networktocode/ntc-templates/pull/990) +* [New Template] Ciena - traffic-profile standard-profile by @georgesnow in [#981](https://github.com/networktocode/ntc-templates/pull/981) +* New template: cisco_nxos_show_ip_interface_vrf_all.textfsm by @AJatCDW in [#978](https://github.com/networktocode/ntc-templates/pull/978) +* New template: juniper_junos_show_system_uptime.textfsm by @antonalekseev in [#975](https://github.com/networktocode/ntc-templates/pull/975) +* Template Change: cisco_ios, show archive by @QuasarKid in [#905](https://github.com/networktocode/ntc-templates/pull/905) +* Bugfix: change date format in hp_comware_display_clock.textfsm by @antonalekseev in [#977](https://github.com/networktocode/ntc-templates/pull/977) +* update arista interface template + raw by @scetron in [#963](https://github.com/networktocode/ntc-templates/pull/963) +* New Template: cisco_ios_show_dhcp_lease by @lamiskin in [#991](https://github.com/networktocode/ntc-templates/pull/991) +* Fix ios_mac-addr type2 by @armartirosyan in [#994](https://github.com/networktocode/ntc-templates/pull/994) +* fix parsing with int addresses = 0 by @dainok in [#982](https://github.com/networktocode/ntc-templates/pull/982) +* New template for huawei VRP + fix. by @ak-empiak in [#998](https://github.com/networktocode/ntc-templates/pull/998) +* added VLAN value and search pattern by @dm-bell-networking in [#1002](https://github.com/networktocode/ntc-templates/pull/1002) +* Ciso IOS show mac and show module fix by @armartirosyan in [#1006](https://github.com/networktocode/ntc-templates/pull/1006) +* Junos show chassis by @georgesnow in [#997](https://github.com/networktocode/ntc-templates/pull/997) + +### New Contributors +* @ahlara-devcore made their first contribution in [#990](https://github.com/networktocode/ntc-templates/pull/990) +* @AJatCDW made their first contribution in [#978](https://github.com/networktocode/ntc-templates/pull/978) +* @antonalekseev made their first contribution in [#975](https://github.com/networktocode/ntc-templates/pull/975) +* @lamiskin made their first contribution in [#991](https://github.com/networktocode/ntc-templates/pull/991) +* @armartirosyan made their first contribution in [#994](https://github.com/networktocode/ntc-templates/pull/994) +* @ak-empiak made their first contribution in [#998](https://github.com/networktocode/ntc-templates/pull/998) +* @dm-bell-networking made their first contribution in [#1002](https://github.com/networktocode/ntc-templates/pull/1002) + +**Full Changelog**: https://github.com/networktocode/ntc-templates/compare/v2.3.2...v3.0.0 diff --git a/docs/admin/release_notes/version_3.1.md b/docs/admin/release_notes/version_3.1.md new file mode 100644 index 0000000000..7454f3fa61 --- /dev/null +++ b/docs/admin/release_notes/version_3.1.md @@ -0,0 +1,59 @@ +## [3.1.0] + +### What's Changed +* New template: cisco_ios_show_ip_eigrp_interfaces_detail.textfsm by @nsnelson402 in [#1181](https://github.com/networktocode/ntc-templates/pull/1181) +* New template: cisco_ios_show_snmp_group.textfsm by @nsnelson402 in [#1183](https://github.com/networktocode/ntc-templates/pull/1183) +* New templates & updates: Updated support for Arista EOS devices by @ReK42 in [#1174](https://github.com/networktocode/ntc-templates/pull/1174) +* New template: cisco_xr_show_ipv4_interface.textfsm by @dainok in [#1162](https://github.com/networktocode/ntc-templates/pull/1162) +* New templates: Add multiple zyxel templates by @elavaud in [#1142](https://github.com/networktocode/ntc-templates/pull/1142) +* Bug fix: Change huawei_vrf shortest command by @Elinpf in [#1141](https://github.com/networktocode/ntc-templates/pull/1141) +* Bug fix: Path separator error on windows by @Elinpf in [#1139](https://github.com/networktocode/ntc-templates/pull/1139) +* New templates: Adding multiple mikrotik routeros templates by @elavaud in [#1136](https://github.com/networktocode/ntc-templates/pull/1136) +* New template: aruba_os_show_ap_database_long.textfsm by @hagleyj in [#1134](https://github.com/networktocode/ntc-templates/pull/1134) +* New template: aruba_os_show_ap_radio-database.textfsm by @hagleyj in [#1133](https://github.com/networktocode/ntc-templates/pull/1133) +* Bug fix: EOS 4.28.XF updated output of codes in `show ip route` by @networkop in [#1127](https://github.com/networktocode/ntc-templates/pull/1127) +* New template: juniper_junos_show_vlans.textfsm by @showipintbri in [#1125](https://github.com/networktocode/ntc-templates/pull/1125) +* Bug fix: cisco_ios show ip bgp neighbors advertised-routes output where metric is wider than 6 chars by @viktorkertesz in [#1124](https://github.com/networktocode/ntc-templates/pull/1124) +* Bug fix: cisco_ios show ip bgp output where metric is wider than 6 chars by @viktorkertesz in [#1123](https://github.com/networktocode/ntc-templates/pull/1123) +* Bug fix: cisco_nxos_show_int_breief do not match mgmt and vlan by @diepes in [#1119](https://github.com/networktocode/ntc-templates/pull/1119) +* Bug fix: cisco_ios_show_module updated output for c9200 @diepes in [#1117](https://github.com/networktocode/ntc-templates/pull/1117) +* Changed: add vlan_id to cisco_ios_show_interfaces by @dainok in [#1115](https://github.com/networktocode/ntc-templates/pull/1115) +* Bug fix: fix not advertised vlan in cisco_nxos_show_lldp_neighbors_detail by @dainok in [#1114](https://github.com/networktocode/ntc-templates/pull/1114) +* Added: Additional fields for cisco_ios_show_ip_access-lists.textfsm by @mjuenema in [#1113](https://github.com/networktocode/ntc-templates/pull/1113) +* Bug fix: Multiple line parsing using lists with textfsm extracting wrong details by @diepes in [#1112](https://github.com/networktocode/ntc-templates/pull/1112) +* Bug fix: Cisco IOS show boot missing parameter by @diepes in [#1111](https://github.com/networktocode/ntc-templates/pull/1111) +* New template: arista_eos_show_processes_top_once.textfsm by @pauljorgenson in [#1110](https://github.com/networktocode/ntc-templates/pull/1110) +* Bug fix: Adding a record without the vlan field for very old HP Procurve switches by @dainok in [#1108](https://github.com/networktocode/ntc-templates/pull/1108) +* New template: cisco_xr_show_install_active.textfsm by @verbosemode in [#1105](https://github.com/networktocode/ntc-templates/pull/1105) +* Changed: Clarifies docs about length order by @jvanderaa in [#1099](https://github.com/networktocode/ntc-templates/pull/1099) +* New template: ubiquiti_edgerouter_show_dhcp_leases.textfsm by @jvanderaa in [#1097](https://github.com/networktocode/ntc-templates/pull/1097) +* Bug fix: hanges the CRLF to LF to pass tests by @jvanderaa in [#1096](https://github.com/networktocode/ntc-templates/pull/1096) +* Changed: Additional fields for cisco_nxos_show_ip_route.textfsm by @lamiskin in [#1093](https://github.com/networktocode/ntc-templates/pull/1093) +* Changed: Additional fields for cisco_nxos_show_ip_interface.textfsm by @lamiskin in [#1092](https://github.com/networktocode/ntc-templates/pull/1092) +* Changed: Additional fields for cisco_ios_show_standby.textfsm by @lamiskin in [#1091](https://github.com/networktocode/ntc-templates/pull/1091) +* Changed: Additional fields for cisco_ios_show_module_status.textfsm by @lamiskin in [#1090](https://github.com/networktocode/ntc-templates/pull/1090) +* Changed: Additional fields for cisco_ios_show_ip_interface.textfsm by @lamiskin in [#1089](https://github.com/networktocode/ntc-templates/pull/1089) +* Changed: Additional fields for cisco_ios_show_interfaces_switchport.textfsm by @lamiskin in [#1088](https://github.com/networktocode/ntc-templates/pull/1088) +* Changed: Additional fields for cisco_ios_show_etherchannel_summary.textfsm by @lamiskin in [#1087](https://github.com/networktocode/ntc-templates/pull/1087) +* Changed: Additional fields for cisco_ios_show_lldp_neighbors_detail.textfsm by @lamiskin in [#1086](https://github.com/networktocode/ntc-templates/pull/1086) +* Changed: Additional fields for cisco_asa_show_interface.textfsm by @lamiskin in [#1084](https://github.com/networktocode/ntc-templates/pull/1084) +* Bug fix: show platform diag does not return the rommon version of the line cards by @network-shark in [#1081](https://github.com/networktocode/ntc-templates/pull/1081) +* New template: zyxel_os_cfg_nat_get.textfsm by @elavaud in [#1073](https://github.com/networktocode/ntc-templates/pull/1073) +* New template: zyxel_os_cfg_ipalias_get.textfsm by @elavaud in [#1068](https://github.com/networktocode/ntc-templates/pull/1068) +* New template: ubiquiti_edgerouter_show_version.textfsm by @elavaud in [#1065](https://github.com/networktocode/ntc-templates/pull/1065) +* New template: ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm by @elavaud in [#1064](https://github.com/networktocode/ntc-templates/pull/1064) +* New template: ubiquiti_edgerouter_show_arp.textfsm by @elavaud in [#1062](https://github.com/networktocode/ntc-templates/pull/1062) +* Bug fix: aruba_os_show_ap_database model parsing error by @hagleyj in [#1055](https://github.com/networktocode/ntc-templates/pull/1055) +* Bug fix: cisco_nxos_show_ip_interface parsing error by @diepes in [#1046](https://github.com/networktocode/ntc-templates/pull/1046) +* Bug fix: Update choices for Protocol to include 'notpresent' option on arista_eos_show_interfaces_description by @scetron in [#1044](https://github.com/networktocode/ntc-templates/pull/1044) +* New template: aruba_os_show_ap_database.textfsm by @hagleyj in [#1042](https://github.com/networktocode/ntc-templates/pull/1042) +* Bug fix: cisco_nxos_show_cdp_neighbors_detail update for supporting multiple versions by @Niltak in [#1039](https://github.com/networktocode/ntc-templates/pull/1039) +* Changed: Updated show boot template to include new formatting for Cisco IOS Gibraltar output by @shanecbauman in [#1038](https://github.com/networktocode/ntc-templates/pull/1038) +* Bug fix: cisco_nxos_show_ip_bgp.textfsm not parsing correctly by @diepes in [#1033](https://github.com/networktocode/ntc-templates/pull/1033) +* Added: FTD output example from Cisco support site by @jvanderaa in [#1032](https://github.com/networktocode/ntc-templates/pull/1032) +* New template: cisco_ios_show_ip_nat_translations.textfsm by @ksaegusa in [#1028](https://github.com/networktocode/ntc-templates/pull/1028) +* Bug fix: cisco_ios_show_interfaces_status.textfsm State Error by @ZamElek in [#1023](https://github.com/networktocode/ntc-templates/pull/1023) +* Bug fix: IOS show mac address Type3 and Type4. Additional test files by @armartirosyan in [#1019](https://github.com/networktocode/ntc-templates/pull/1019) +* New template: cisco_asa_show_cpu_usage_detailed.textfsm by @yone2ks in [#1014](https://github.com/networktocode/ntc-templates/pull/1014) +* Bug fix: cisco_ios_show_ip_eigrp_topology not parsing correctly by @diepes in [#1013](https://github.com/networktocode/ntc-templates/pull/1013) + diff --git a/docs/admin/release_notes/version_3.2.md b/docs/admin/release_notes/version_3.2.md new file mode 100644 index 0000000000..513a334aff --- /dev/null +++ b/docs/admin/release_notes/version_3.2.md @@ -0,0 +1,6 @@ +## [unreleased] + +### What's Changed +* New template: cisco_ios_show_crypto_ipsec_sa_detail.textfsm by @nsnelson402 +* New template: cisco_ios_show_crypto_pki_certificates.textfsm by @nsnelson402 + diff --git a/docs/admin/uninstall.md b/docs/admin/uninstall.md new file mode 100644 index 0000000000..519842cafb --- /dev/null +++ b/docs/admin/uninstall.md @@ -0,0 +1,7 @@ +# Uninstall + +Uninstall from environment. + +```bash +$ pip uninstall ntc-templates +``` \ No newline at end of file diff --git a/docs/admin/upgrade.md b/docs/admin/upgrade.md new file mode 100644 index 0000000000..98ed99fc7c --- /dev/null +++ b/docs/admin/upgrade.md @@ -0,0 +1,7 @@ +# Upgrading the Library + +Upgrade from PyPI. + +```bash +$ pip install ntc-templates --upgrade +``` \ No newline at end of file diff --git a/docs/assets/extra.css b/docs/assets/extra.css new file mode 100644 index 0000000000..50884f4a39 --- /dev/null +++ b/docs/assets/extra.css @@ -0,0 +1,152 @@ +:root>* { + --md-accent-fg-color: #ff8504; + --md-primary-fg-color: #ff8504; + --md-typeset-a-color: #0097ff; +} + +[data-md-color-scheme="slate"] { + --md-default-bg-color: hsla(var(--md-hue), 0%, 15%, 1); + --md-typeset-a-color: #0097ff; +} + +/* Accessibility: Increase fonts for dark theme */ +[data-md-color-scheme="slate"] .md-typeset { + font-size: 0.9rem; +} + +[data-md-color-scheme="slate"] .md-typeset table:not([class]) { + font-size: 0.7rem; +} + +.md-tabs__link { + font-size: 0.8rem; +} + +.md-tabs__link--active { + color: var(--md-primary-fg-color); +} + +.md-header__button.md-logo :is(img, svg) { + height: 2rem; +} + +.md-header__button.md-logo :-webkit-any(img, svg) { + height: 2rem; +} + +.md-header__title { + font-size: 1.2rem; +} + +img.logo { + height: 100px; +} + +img.copyright-logo { + height: 24px; + vertical-align: middle; +} + +[data-md-color-primary=black] .md-header { + background-color: #212121; +} + +@media screen and (min-width: 76.25em) { + [data-md-color-primary=black] .md-tabs { + background-color: #212121; + } +} + +/* Customization for mkdocstrings */ +/* Indentation. */ +div.doc-contents:not(.first) { + padding-left: 25px; + border-left: .2rem solid var(--md-typeset-table-color); +} + +/* Mark external links as such. */ +a.autorefs-external::after { + /* https://primer.style/octicons/arrow-up-right-24 */ + background-image: url('data:image/svg+xml,'); + content: ' '; + + display: inline-block; + position: relative; + top: 0.1em; + margin-left: 0.2em; + margin-right: 0.1em; + + height: 1em; + width: 1em; + border-radius: 100%; + background-color: var(--md-typeset-a-color); +} + +a.autorefs-external:hover::after { + background-color: var(--md-accent-fg-color); +} + + +/* Customization for mkdocs-version-annotations */ +:root { + /* Icon for "version-added" admonition: Material Design Icons "plus-box-outline" */ + --md-admonition-icon--version-added: url('data:image/svg+xml;charset=utf-8,'); + /* Icon for "version-changed" admonition: Material Design Icons "delta" */ + --md-admonition-icon--version-changed: url('data:image/svg+xml;charset=utf-8,'); + /* Icon for "version-removed" admonition: Material Design Icons "minus-circle-outline" */ + --md-admonition-icon--version-removed: url('data:image/svg+xml;charset=utf-8,'); +} + +/* "version-added" admonition in green */ +.md-typeset .admonition.version-added, +.md-typeset details.version-added { + border-color: rgb(0, 200, 83); +} + +.md-typeset .version-added>.admonition-title, +.md-typeset .version-added>summary { + background-color: rgba(0, 200, 83, .1); +} + +.md-typeset .version-added>.admonition-title::before, +.md-typeset .version-added>summary::before { + background-color: rgb(0, 200, 83); + -webkit-mask-image: var(--md-admonition-icon--version-added); + mask-image: var(--md-admonition-icon--version-added); +} + +/* "version-changed" admonition in orange */ +.md-typeset .admonition.version-changed, +.md-typeset details.version-changed { + border-color: rgb(255, 145, 0); +} + +.md-typeset .version-changed>.admonition-title, +.md-typeset .version-changed>summary { + background-color: rgba(255, 145, 0, .1); +} + +.md-typeset .version-changed>.admonition-title::before, +.md-typeset .version-changed>summary::before { + background-color: rgb(255, 145, 0); + -webkit-mask-image: var(--md-admonition-icon--version-changed); + mask-image: var(--md-admonition-icon--version-changed); +} + +/* "version-removed" admonition in red */ +.md-typeset .admonition.version-removed, +.md-typeset details.version-removed { + border-color: rgb(255, 82, 82); +} + +.md-typeset .version-removed>.admonition-title, +.md-typeset .version-removed>summary { + background-color: rgba(255, 82, 82, .1); +} + +.md-typeset .version-removed>.admonition-title::before, +.md-typeset .version-removed>summary::before { + background-color: rgb(255, 82, 82); + -webkit-mask-image: var(--md-admonition-icon--version-removed); + mask-image: var(--md-admonition-icon--version-removed); +} diff --git a/docs/assets/favicon.ico b/docs/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..9685c83bff4f67163334bbbf165b3bbccbf87c7e GIT binary patch literal 568 zcmV-80>}M{P) zO^8lW9LMp`nVu}BNz$ZQSw?=?76!WD zc9eyoZvWqd{diXvM$1A^2X-6YmWA_WVMPaS2rtUQR9RTLoPm&B@5W7h$C(hls)NhI z2HeIPoDI>F47V0j*p5qh5TajM11YG5Q@D&dTnf>bn#bWt`oTQTh3I|8$j+45VoK~~ z)<9cOKPGViS1=o*pEX=>%I-8~F&UzT8m@(tDY3^G57FnWfwsV5Rk>HH%KbFM4dMp2 zVhj&MtmXP~4To?QGa>q!HIRZ}6xZ<_VF0y1HZbmjS%S#Bv}$VN34nwdp(dJV4} literal 0 HcmV?d00001 diff --git a/docs/assets/networktocode_bw.png b/docs/assets/networktocode_bw.png new file mode 100644 index 0000000000000000000000000000000000000000..075c4926d570b9db02c8808f34f40c8eb5f18a90 GIT binary patch literal 7562 zcmeHsMNk|L^W{K-LvV)xKip-IAFdNz1}C@-P9V7Z0E5fm3^KSo1Sb$6xFonHKyW8G zVe@^pmp$#?_uq%^cX(aZ^{ToLuVGpmig?&m*Z=?kPgzMp8vsCs|HU?#ul{Cy8Z9XR z;1xhiO&9d?Kk+{b{C})KACHpd-<5dr)Yi}eprF2bjfReaiG_`Wi}wbffRKoogp`b& zf|81whW0HTJ;OhYOw25-Z0sDIT--doeEb4HK_Ow0e?`T_B_yS!Wn|^#6+rJ4m6TOf z)zmdKwZPgsx_bHshDPs=O-#+qEiA39Z6LOG_709t&MqHZ-9EZ|czSvJ`1<(=1O^3% zgocGjL_(vYV_>my@d=4Z$tkI6@brw#tn8fJJVbs$VG**pq_nKOqOz*GrnauWp|PpC zrM0d7Q%7f4cTaC$|L1|hFGIs4Uq{ErCnl$+XJ+TVeV<=gTv}dPU0dJS-1_lzduR98 z-u}Vi(ecUY+4;rg)%EY2+q?UR$EW8%N0`e(005j@qJP$F(_FzKVacVI##9L{u4z-e^XnDb_!^C=7FtXvePL}*N> z?qf|8dFoMRYjG7bJ$ip87LQlUoM#lriH4-?>|b&a2zq$(@A1AB@9f5Y?JC}xbwv*Q z4?m0ml1PA@z=>q@h$MiR(JN##MzUR@GK|qMC}fjkf`4H$jCISz2q^xAXmW5-xflW7 zzkEVDxL+6nb4Q>CwYRq2Wa@ugDSu!Y+%@po$B0*9f_ni_Ty%NDJ!hsTgP2Rv=Uc%{ zzvic+8Ez>zk$!u@Rsu-f0Y&i5_evcRTRX;sJ{dTxn6Seva_ETIBUAh}y%zP#>n(h) z|L~Sw0>dAhQob`F)ndEdp6gj}#BxWeyZ!0}Ui45^SnVSQQF5$CuZr0a0lf$N#ukEx zeL;^m7&ZaIskY{D^4qZjvon(rGhy6nL zB)NW)hej#61(WQur5cUT-dg->2m(=JHHe7})v;7y%FMpe5k6Vza97arzwa!M;pFna zxJo_kAl|hDM4V?m0Hp2Z|IQtq+LDvlivjc|+vR@c{8hcNngUbHv9tUB^99N^didBt zEV-2H2aw+;@fOir(%3pFjYwOa=im8|boQQWRsBc7sZ?#L7}p09t{ zgrqCB*YjVbK;Ln#+T)LgOVG5cJLeb_!0m}7Qhi0U7$wKT;4%JlI@P-qzdKA3k7?%+ zql0IRTs~%wN*C4iQ(>g-^;;U2u?a_gVNA+bGpfW{n9dKZoxBfRMj|^0Yea^+)ES~R zQ#d4cr-aCs0U?8moB@pC08uTtIEuvC5$Nq}x1K=^7P$ig+bZcl6$@Q<-nJBiGVa|o$berV3g0TE@(lZ+>B=J(% z%4N!yj5~WYf(~yfgsU`<1Rk(d1P??#ueW&qK+pF-Ot@RIaXs0{Bt}y?{j(cZz3m!FkoX}04Y0Eu{v4JJ09llL;lSnR;0j-Ty!Mq`o3UZR2qWz z{Psy0#*(IWP;W>b{7IB0)v{)??~#yf{*okN?EOA;sFKaPJ4fXEQ^K>lvh9l&suH&X|L*Tm+_fMEMlV{0X-9{_;s`iVLpnD*I8Fi^EiHwKPtJ<;!|u6beayG z+CJDc1(E(0fy&nGllpXu_mTHn6tX`B56pspUaR-0C(T-+RoC!)noewC<89$aZS(-YbdOXXK2`LRXSH4G%?F$qKA8@2sod+e?q*!lRXF6TuJ3b!$&a%r2eTR{okAZ19{;2QzWCRfD|B0LuMC8P#!&6FnW7FY!D3qx$3e@#8S!$JH zylB}IfCYg@^Ne=|8BR!GBtc`b(U=``{gbAQqs}+%-wJGO%tZQECUCP^4@`3U>@`cF zAa8Opz?}m7&xk^}?S6tR^`sn-E;}i|26-}z$ulbU{&70BKIDnJ41toz_M+-k19iCk zA?5G$CvO`>L@Tb=;LX`m)J41a` zDTB*sR^C2iNQ_3sf2OK1j)N&#Sh@R0rL=NwO$cQHYso9J-tauFw>%}FDu3pu;?n2| z{=7Ae1=;|CuOwS-r>k?ZzHw|vCJZ|m3d!-#_?|y;&ui27ul)gzdyNDS0&MT^P?kNm zmu0(@?cgYl*Pz@Q75C)cQ1Wz?7TWATDevLm4n%ZTJ?xQDjs@c$EpM<}y?I;A4f)k+ zOY&`No?p0}(|9jU;xz3{*Na_J*eJfDn}sYp4ra@nu85B%&qr3UGzRG?IWqDr(r@2t zTdgzc?qlC$mRhUpOzK&9GloSdw7>?KORGfkV(E$ z;~13PbC7rAB!I~?OQ8|cKKJ}%DLPqI8WM@|R?9jnAx4GU^9gMmP-gGsbT4IZPK5dJi_ zg9>0rS}=z=tchJ$^;?uMU{mdC@6F8g4Jh%|#C+7L!O9|WPcr!FWPk(w0mZOda?;wh zRgoabZY!&`3#$|>7>vPSCf9pp_yvEdr2R;@Y>9Kd0b?_T8}}g~6(ueWlj&gXyjTfd z)xDR-y0q0-zJpuUAH|kSY<0*ai1Z=Zc6^e^{bF2q8kn62awmgXPt9;-v9(I7<3x|% zwiGRCeD$kA*=c5a{i#XA!d4~43@d^-dIMo(JwnQ21Zl!Bc+^-ifaDdyOVoS^9 z;fwM^47KhTLio0Zl3(uqk#$bA2Lx#n2s0X36~ps~1)r>=tP$NCssaT?N?Z;VSFadj zCag9ZQ3PwiY<&AD>U<*}I73Z%+`jH&S@{_Jrs|MLKs%Rki!=4INz8_8l)`cMy)Jxp zt8_au^60LGqA`hWFEq2QgK5W4NHrIM$PuXJiXR+s$b9U+_fYh-J#Wy4->UMzipucy z(ej^e{_~9G)IR9{AYC2d`NTdl^z9SoclBb@BS6XIKyYo%FBb2yTCWQaZLoW@-v_V? zxEC&4M(X|TXH!`ACdpFHqtw?x09zC%lSFJyrc{7JigE@?(CF1-Ltd>>z1ol=(VpYU z`{>cC_ZM?+gH$(!5ORd*4*0zD-Wp@y<%+5tFe60X$kQ-!&EJ~y1XlLeh`UXl12>e$bFcE$^v?i+^T(EXA-r%e? zE8(m4haR#hQw3!VGJ8D540*KXj}1W2X1|0ErMRSI&Pn8-0fk8@8d;K$ZJx;+$bkSPQfK zsderJ&CFwUOsWDdQ}jtj?TS^8QuLL2-0b0_ex4m|KHW`HkR>u^m#-CxQ@-z2A>`mP z{m^B51qu?8Oh@xdIu``97OqHx2sBBpK!d^B^&LKxt^F`$-8+`64|Rh$qbOq2ee{q% z2<)$HTOE`IOtPeki*m!<`Nex8 zlh;Z3FvC_Az6%^3(Z^m0=LXO9?$9J>klb3^CPvo~iOU&t<9t)XJ;Z!3iReRHMRrdF zx457%DDtajV?7FP)*t>`QWJUki*nCYctvISof~Xupx}O#8r{TWh+Mi&` zN@jSnC-vJJt?Hd3JYu<;JbG$Y>1t~_(;}#8Z0=`CkbUz9V>r)Z)4h(4Fe0!olPUqq zG=x*g&Cml-DM{8O#d=7ytGA*wZu(e`y^0ja$RJr4gN~z5H4#AyqQqt@!vjupZ=16(wmwYSWu|CT-6j`m9<|(i0CJsY+;k!3 zfyO?fS+QDT$*}K98|ZU1(bx)bQaQsfycMnxdLSw2W)R7=Id)C&x#cq9qzXq_ustMM zB7r#BO1XaRl^ z(f705hw4iVp08yD+qhOd&?plCgz~ecc~NhDU1Gr;;HfrCQjw48Hya{Hib+KXmW_37 zMwN2#MCmGOX~DU8q!@%zsxTIrj|5 zHDP(kPUR(0hF7To5zEvSg^`7N~j)53N_@&^l%zL zExhw`S;!yzJwI9ay&y3BT5PM-Ex!PhCr1dk<_Fjxi+f_jv84kb)mgWfiT8EDwUw<} zDe*wsA_A~Doqal0)OqCK`Msf0Jj?~$g!Kos62Fl9-F^s%_&fQ1<&(3bV8`#ZY#+^EkFM|l>vd-P zrb-`p3J>gTJx9XZ@z;hj6*bR;E8d7oc;=S2Jl%QWdo|BVjpPjT7Rj1tzSj?mS=eX1qM}!ikb|2pwY{d) z;omzj2)1!(w~!Q_<~5oRtf3_;Ex|N?lXALUMuE}c5ARgZ_*7YEkaP34?iReH-#yI7 zd5YRPBJLt6Y+SWFP(RscdHpV>awxE4Atxy-WK(aF!iJUsKWf~-JvU3`doUdj4|>FB z(d4zOltojwq_T$ST;oqFaOQ)P=*}*`^D`davGiYCzcbNsz)urSEXI>M)w1Tu{0g@q1g!s(LmM@}H~wZx087}t zEAj!yyVRdPB}fmdm;{jV7}a#5Na42KAp0#%XAj{7tTdijN$3d|k??jsS7W zF^RyNQ33qxEuxtLjr5+O?2{XuoiZ_{SK(jwDMsJBzw1%Nv?45G3n<&9j(9VQlE!uL zZ@YyVTvP1|2k#zg3D2(4JHPzR?dlmG;so`V+`clZ*)rucxV3Zv6=@RGo6Efo;qfx% zc(_*z!UwH$cqse3c0WBa`3#8gy~KH>>NN!Zt~!oQH?mvUDX%h_1lCL7upb>6%r1HN zTp?~0%1hF9Fhi&cx%vvjvp~yXt!_yy*0ybnC3byps82KUMjUUyxg@jYcY0)?1If7Y z1>3`R?Rbn8-ajNWyB*dad>xhyw+NJJ)eJ7{3#iW7qM-8+^pE(CKq`t*v-g%roY(Z8N%MZ&x`Ph3X zoe%ejJ=Q8IytFX*&cERlH{tu|#uXdOtY=%qIRY2PsexVZjROW1O4xF#L?UImo=gBY zd;$E`{XLou6^qQw(H5$o(Ij5N&7*z!A5hvTkF{*hr<7jXa%)n+xc7xSX}CF)K+2EB zPbFRJRWhJ3^4$mlE%mD_0&?8DBzZ0H+>5>yw}?{Qghr9hR_YJ-Lpq0!mvjDbkrP{sYmMiblYCPAb^*L2yzKA%oAL(iE6qcAG`u3DC@?6ZttE@_#YK z{~!GH!t9f90>l541HgZ2WT zv*-(B+=6|b5=KQ0_|ZHuM&um!CBkTl1s)!fOePyWg>$_O-1Sl1OF}mPNWG1zEaNkQG=;5JBl$YC#r|lI~hs zKA!jczH{E^kD0l5X70?~bM8HJ?k`?jO9hBegO7oM0aQ~})WyKSeElE`;Nd*<;=CW| z9tKPwT@`uExk0XX56TlyRbw9v3;@|b4HF|L?5em-snxxq~T;0Qs4 zK-g2h`WQbdMMWzEY(wld4$hL;?kKiZX4Pkpm2IBm*kCH4O+UQmb{{P%yTAaBuJ}t>B>U)2yIyb7&`c?2u2-ZwXRtdAB(OHqiXYF?Qx1L<+ z_OEpwymj-e=?^ko=LZs+n~U#I)36n+%I!Sx=pC~f`u5?iq%{zP6D{K)LpnL$Qr+RL zP(afBbif@w!{>z!HMY=)i{Ua^?1BzUcqg)$oBo`uGo6Qt!14P4-2)kg&5MEZvsmx+ z-0c`$VQ!s)&*74jO=9vvk z#@U*;#e7Y2_WyT-_{8S+FF#ZF{ej!d&vDP<3~cn+JO(zP$5IXwui~QLie9 zhoFAPA&~}`;qU@Lhw2z6-^}46E2C}htNY`EcbROQBW;l2o{Ntv4|-XCbR*23aXk9E zxE3je_|GFUVHT>hKrT2JC@AYmnlJPFy;Os;-6^{4+*z1?&gYn|o4cGUc`>BU_Ia6P zh6?M6{F%8HU$M6n(I(R_aO&VECeu3>3w4a}!!Awcbkb00*iXih;YvUzn6x#VP7>>r z!QROwB#V6L5>%}%o#%mNM*%Eg8;|n#Ota@FD>u)~Jokkl-FI$!Mo2Z;Vqe0(rTvj* z6RZ&9_*U>eWu|W{x_m5Zcx--IXV~KX-onV+d^_UW=4A}35sKxI#`q_NG**nB-Z*h~ zNv?j7=E_-jHEq{23 zo)B4RhW*|xWqP0QJ0Z9Mi7%7FcIJr!0Z^^o5Q*W)NchR8>^AO|m=F4V zI?lRujXXB)K&mgYNK_H_X_nEcHwPgR+px&de!(2AOM>hq({+*aJNuIQJwi#qGs)dy zI~zw4xs@pluC=-Ki=upEYKsGqXDSp75F%%mW^I9W;4WqB z(wqS8S?DIa!rT@KwZGr_TinwYPYJO6oX%== z>b5Ku!J*@;dp-Myu5on{Mzl;>^odvO84h>+E{OPBVzCA5rZGjC!?Q|!B*OY|BCOhD zB+7O-b{WWHr4nv!NUU?9d;~<0FFmHh%cv&2jwD@v6sgoRHxQ`&gQtO^8(O3@eHDCr z+0WvIa|{q6n@;rU6sBU$e1LOnS5gh}p_($Ns}<0(y38UnXg~FnYf% zL|L_~$C9z^?D^rnSxwxj+hu(#b#b!xZ=BcU+*mOC-?pR9QWlQ?NyiC#rZ)H1Z)WQf zZ+uf3R!?yR%Fd*f_&4X1e8#Iwh#{dbWH--}xtF%>V>xEn-xy65rg1Kihp_=oc1or# z>=8(1x^IjnwViuFi^ZqF8_MdEYh*p6xmfF~jobY#pJG9cM$us5;=J`l+RE)B8;&l9 zvVGzOPMqF8>vOI?1`?U5i{>YUi|Ddb#MUrFC^D1$TK8KNs*CDv#_n%S#C(ETK|`E8(q6N4g%G9QeeKUF`-npM6m?KbIrS za$kK*Qalm|r4wMn0+uEtwc&~4ATfmr0e2A=+U!C(NK=>A7j<5;#3Ot8D-zF$kDzya zs~Nn{GcMbB5%T?6NIExRFvT2(vC{Q-coS^n`Ti5A+cYdIA#Gj5cvJYS-BFgmK_YId z&**zBlK?A|h~Zgz{%A3%a*@2U*z)GdOJ~E&@sZ0=PMM2|zj=(v{ZfWC1n)0{73*OP z>PFkO>EMPqbUxnX#^Iw3)O_pW)GQcDaKGTNTIeAn-|lA-X?lN>JPIX-fc69hPXzNq zh-*JB^K0XUSP}4|&RIRt!{|L|xGlvxB^pOc_Z8A-`zy85U}N z3O*~;QPjf7zAM$bEbEaJcaTOIvpnWnvaBUw^&`Q|Ic+x&Yt7G+THCWZ=;jOpAr z>`y*tx?Z45SD)6XAGB(B%A1z%bq1k4;w28Qa$Qk4Gr1DI*OV#yv5%Y+Ib*0>R2)g= zzl>oD$`bzx1Ba`&ftCS0A-lia+hntyLjpSR0PbZ1+1ODocPLWcX(=Q?zehrQYDfoyA z+vcVT*@>8wF4@4E<$O~8A}i8@J4oe&!q*kA>k}M$4ZDn?}Mi? z?}rRRm_+nl3j^WgZtG~GL6>4mI!;A0JTp9Scy!orgqO0uN#}ZuE6&Y>vy<+!z8S1o_?(6C?H^so!h1@ z(A}Y2L{Lim3i!y1l<)4|dqoddW8FR!$6Tqw2oNQZ1a+9p{=Fu7+&W!Umw>;%r8}{@ zZ`)GU!iKtD-=3VeP?{f2X|EfK_I7;ar)4MaxM~}%UH2AVj*TApSkqx_pAZt@++(>~z&WuanQOz@qsM z;D5Ot3Bg=>%B6l#KThX!D{~JV$H6nLbmFl_X(q^IR%1Qesk@T1J6fk>XwJM%mvY@< z6?(#?UA^qbW8%;i8PW1Pje2VXTVR}^ApE);JB zd`zzm&v!u!f?vdbZfahaX>1y4wXJo`<*p&EN_V^Nu>QxZ-@WfZ8XI@h5FCAk^I5Dm zy1%SB?)v9LU|wNAct*4tbRb}+@z&)6^0HeqLTcZ%As2Z{r#U1+q8C3Tne8Bt6r=$KtWEB zyRG@KYS_x3wUTqnkNtR;(e-UOynLg#J4Up>oAic$3^5gdTn(W4TnaxhH02E6E4dmALVI$u~+9zb|{b$KvBXtTGEt6B(%nDeYI#-t?~Ba#4vDQIJWaX|IJN zme}pmPyKOL3t(bBYP+3)$=~TrpDs$g@Dv=ItQetNYih-l??tNej7l0L>Ucl>Z74@OVq#%ZQG(vEI(FNqOmP%+krH z+HZ7@s;Ydp`eAdAC?0c9)A=k~0J#kG+iIhuV(^wE1Z(Q=oBl4+wH?v)>RSl;;*TsH&Y*^!)8kO(EvrNYxbyOP)pLYn@dF2t!C zJNk9PT^YD#WSxZ;Sc&)P%=r4;{EXW@h-fpq>Ky(n*ctS7tC~XkWI4jJ1J@>vT4pTk zJk$WY&|+I}Sh4W1bD+k3btE=!yQzG_k?L*_Z)(hz>1$w~#Kx^=f{HoMOse+MI1wj-E3^nkkzRxoAC2kVhZL{ko}1ClrBxOclBC#pGMC; zG`_E~+kzxzJ&`nsD;6#qMComPN8(GG{YxLMS#Y7ctV#b|4-TY&dZQ_nMZZV8kgm7H z6h1!~p1E1&VO_qo?3O!d!R#n;BvNRk+w{2H=WACwbk7J{HS;@SC;&EGjP{2^Dfa!k z$U3-P8_S#I5>?ukYF}*{p88Y}?fl#nPy!$2HAPEh+OE0Hbv?cZNTvOmbLsR(s|R2u z{H@9M@wI`kyc1doxm|s-E^(VeuGDisP-Tg<4AX7^DB-S8$x;{R#S`=l6nY_R=*1%e zh4v7D=dL&oHS_z%_1K~u;d;8ca!Z`;4xNM6b%_!5q*DejI?Cx~Lw!B%t&n|gp?@J> zwK1`Tp(tnQoa&g;Z9wOQ1$f~?FAh|+&oxsbmBZL}tB56YmfN>|QNU8gn(zbe84#vi zD&vznNWjAN&=S6vkj%`7@NL}UH z^BOma_zQXLW@+IIW^aGl5jLEacn408gv_9=Z zt)q)yIb5g2ouN%z@ft1^Kioiz*1j@R0&8pv@@SNj@2kIxqK6y8O@|}`E8vk1wjS&z z%|Y3+LCsoo7OZ4;L~%=>@IvQs5A_^)E^F!LDctfKOLg9P)@e=uq9(bZP<;lgcC_r& z*`Z4R%!#VWoH*tY-O)Q=ai?XJnzZnq(vMpJ*)i-{qTAEnv7alqJ7Fj~a`T|giLnf& zX;;0MYzl+NYC|}7wy&B~4CS``nH3g;g%tIgajSZLVcK_TX6IjHEh4f)LS89KOk@%f zVpk*Dr9a8cJbzX?5l93yfi%l-&EVPPYO*BsSMmSQY~ekcEcqsf^3tG9k2ihfeDfND z8avUw5uXd7G7a2*B@m z_#s?4)+zo==a0Ot{A-lxJ)gC?+M^|rp5gjUcJ=RWTS2dvCHTtK1RHjY>HkBSC|Ol>?+pE%w@743)m{=` z$n2!E><2g)RL0U^5IsOX8-f3&cVnQK!bdOCj0Org1bGjI*OsD Lq@`FVZx!)Bwj{xy literal 0 HcmV?d00001 diff --git a/docs/assets/networktocode_logo.svg b/docs/assets/networktocode_logo.svg new file mode 100644 index 0000000000..348e5241db --- /dev/null +++ b/docs/assets/networktocode_logo.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets/overrides/partials/copyright.html b/docs/assets/overrides/partials/copyright.html new file mode 100644 index 0000000000..b623894dea --- /dev/null +++ b/docs/assets/overrides/partials/copyright.html @@ -0,0 +1,20 @@ + + + + + +
diff --git a/docs/dev/code_reference/parse.md b/docs/dev/code_reference/parse.md new file mode 100644 index 0000000000..fec377d797 --- /dev/null +++ b/docs/dev/code_reference/parse.md @@ -0,0 +1,5 @@ +# Parse + +::: ntc_templates.parse + options: + show_submodules: True \ No newline at end of file diff --git a/docs/dev/contributing.md b/docs/dev/contributing.md new file mode 100644 index 0000000000..40aa4ee777 --- /dev/null +++ b/docs/dev/contributing.md @@ -0,0 +1,55 @@ +# Contributing + +Pull requests are welcomed and automatically built and tested against multiple versions of Python through GitHub Actions. + +Except for unit tests, testing is only supported on Python 3.9. + +The project is packaged with a light development environment based on `Docker` to help with the local development of the project and to run tests within GitHub Actions. + +The project is following Network to Code software development guidelines and are leveraging the following: + +- Black, Pylint, Bandit, Mypy, flake8, and pydocstyle for Python linting and formatting. +- pytest, coverage, and unittest for unit tests. + +There are a number of things that are required in order to have a successful PR. + +- Docstrings must conform to the google docstring [convention](https://google.github.io/styleguide/pyguide.html#381-docstrings). +- Following and adherence to [Extending Parsers](dev_parser.md). +- Run tests with `invoke tests`. + +Documentation is built using [mkdocs](https://www.mkdocs.org/). The [Docker based development environment](dev_environment.md#docker-development-environment) can be started by running `invoke docs` [http://localhost:8001](http://localhost:8001) that auto-refreshes when you make any changes to your local files. + + +## Branching Policy + +The branching policy includes the following tenets: + +- The develop branch is the primary branch to develop off of. +- If there is a reason to have a patch version, the maintainers may use cherry-picking strategy. +- PRs intended to add new features should be sourced from the develop branch. +- PRs intended to address bug fixes and security patches should be sourced from the develop branch. +- PRs intended to add new features that break backward compatibility should be discussed before a PR is created. + +NTC-Templates will observes semantic versioning. This may result in an quick turn around in minor versions to keep pace with an ever growing feature set. + +## Release Policy + +NTC Templates has currently no intended scheduled release schedule, and will release new features in minor versions. + +When a new release is created the following should happen. + +- A release PR is created with: + - Update to the changelog in `docs/admin/release_notes/version_..md` file to reflect the changes. + - Change the version from `..-beta` to `..` in pyproject.toml. + - Set the PR to the master +- Ensure the tests for the PR pass. +- Merge the PR. +- Create a new tag: + - The tag should be in the form of `v..`. + - The title should be in the form of `v..`. + - The description should be the changes that were added to the `version_..md` document. +- If merged into `master`, then push from `master` to `develop`, in order to retain the merge commit created when the PR was merged +- A post release PR is created with. + - Change the version from `..` to `..-beta` pyproject.toml. + - Set the PR to the `develop`. + - Once tests pass, merge. \ No newline at end of file diff --git a/docs/dev/dev_environment.md b/docs/dev/dev_environment.md new file mode 100644 index 0000000000..64d3f352cb --- /dev/null +++ b/docs/dev/dev_environment.md @@ -0,0 +1,105 @@ +# Building Your Development Environment + +## Quickstart + +The development environment can be used in two ways: + +1. `Recommended` All services are spun up using Docker and a local mount so you can develop locally, but NTC Templates is spun up within the Docker container. +2. With a local poetry environment if you wish to develop outside of Docker. + +This is a quick reference guide if you're already familiar with the development environment provided, which you can read more about later in this document. + +### Invoke + +The [Invoke](http://www.pyinvoke.org/) library is used to provide some helper commands based on the environment. There are a few configuration parameters which can be passed to Invoke to override the default configuration: + +- `local`: a boolean flag indicating if invoke tasks should be run on the host or inside the docker containers (default: False, commands will be run in docker containers) + +Using **Invoke** these configuration options can be overridden using [several methods](https://docs.pyinvoke.org/en/stable/concepts/configuration.html). Perhaps the simplest is setting an environment variable `INVOKE_NETUTILS_VARIABLE_NAME` where `VARIABLE_NAME` is the variable you are trying to override. There is an example `invoke.yml` (`invoke.example.yml`) in this directory which can be used as a starting point. + +### Docker Development Environment + +!!! tip + This is the recommended option for development. + +This project is managed by [Python Poetry](https://python-poetry.org/) and has a few requirements to setup your development environment: + +1. Install Poetry, see the [Poetry Documentation](https://python-poetry.org/docs/#installation) for your operating system. +2. Install Docker, see the [Docker documentation](https://docs.docker.com/get-docker/) for your operating system. + +Once you have Poetry and Docker installed you can run the following commands (in the root of the repository) to install all other development dependencies in an isolated Python virtual environment: + +```shell +poetry shell +poetry install +cp development/creds.example.env development/creds.env +invoke build +invoke start +``` + +Live documentation can be viewed at [http://localhost:8001](http://localhost:8001). + +To either stop or destroy the development environment use the following options. + +- **invoke stop** - Stop the containers, but keep all underlying systems intact +- **invoke destroy** - Stop and remove all containers, volumes, etc. (This results in data loss due to the volume being deleted) + +## Poetry + +Poetry is used in lieu of the "virtualenv" commands and is leveraged in both environments. The virtual environment will provide all of the Python packages required to manage the development environment such as **Invoke**. See the [Local Development Environment](#local-poetry-development-environment) section to see how to install NTC Templates if you're going to be developing locally (i.e. not using the Docker container). + +The `pyproject.toml` file outlines all of the relevant dependencies for the project: + +- `tool.poetry.dependencies` - the main list of dependencies. +- `tool.poetry.dev-dependencies` - development dependencies, to facilitate linting, testing, and documentation building. + +The `poetry shell` command is used to create and enable a virtual environment managed by Poetry, so all commands ran going forward are executed within the virtual environment. This is similar to running the `source venv/bin/activate` command with virtualenvs. To install project dependencies in the virtual environment, you should run `poetry install` - this will install **both** project and development dependencies. + +For more details about Poetry and its commands please check out its [online documentation](https://python-poetry.org/docs/). + +## Full Docker Development Environment + +This project is set up with a number of **Invoke** tasks consumed as simple CLI commands to get developing fast. You'll use a few `invoke` commands to get your environment up and running. + +## CLI Helper Commands + +The project features a CLI helper based on [invoke](http://www.pyinvoke.org/) to help setup the development environment. The commands are listed below in 3 categories: +- `dev environment` +- `utility` +- `testing` + +Each command can be executed with `invoke `. Each command also has its own help `invoke --help` + +### Local dev environment + +``` + build Build all docker images. + clean Remove the project specific image. + docs Build and serve docs locally. + rebuild Clean the Docker image and then rebuild without using cache. +``` + +### Utility + +``` + clean-yaml-file Transform a yaml file to expected output. + clean-yaml-folder Transform a yaml file to expected output to a folder. + cli Enter the image to perform troubleshooting or dev work. + gen-yaml-file Generate a yaml file from raw a data file. + gen-yaml-folder Generate a yaml file from folder of raw data files. +``` + +### Testing + +``` + bandit Run bandit to validate basic static code security analysis. + black Run black to check that Python files adhere to its style standards. + coverage Run the coverage report against pytest. + flake8 Run flake8 to check that Python files adhere to its style standards. + mypy Run mypy to validate typing-hints. + pylint Run pylint code analysis. + pydocstyle Run pydocstyle to validate docstring formatting adheres to NTC defined standards. + pytest Run pytest for the specified name and Python version. + tests Run all tests for the specified name and Python version. + yamllint Run yamllint to validate formatting adheres to NTC defined YAML standards. +``` \ No newline at end of file diff --git a/docs/dev/dev_parser.md b/docs/dev/dev_parser.md new file mode 100644 index 0000000000..4e60ed12da --- /dev/null +++ b/docs/dev/dev_parser.md @@ -0,0 +1,256 @@ +# Config Parsers Development + +To contribute new templates, each new pull request must include the following: + +- TextFSM template +- Modified version of the **index** file +- Tests + - Raw version of text to be parsed + - YAML file containing the expected parsed dictionary + +## TextFSM Template + +TextFSM templates should be placed in the `./templates` directory and should adhere to the following NTC-Templates style. The TextFSM template name should be in the following format: + +### Naming + +The template should be named using: `{{ vendor_os }}_{{ command_with_underscores }}.textfsm` + +> Example: cisco_ios_show_cdp_neighbors.textfsm + +!!! tip + The vendor name must be valid from the [os_choices](https://github.com/networktocode/ntc-templates/blob/master/tests/test_index_order.py#L59) tests, which is primarily based on [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) list of supported vendors. New vendors added should adhere to **vendor_os**. + + Example: vmware_nsx + +### Values + +The capture group names should be in UPPERCASE. + +An example of the proper format is shown below. + +``` +Value TIME (\d+:\d+:\d+) +Value TIMEZONE (\S+) +Value DAYWEEK (\w+) +Value MONTH (\d+) +Value DAY (\d+) +Value YEAR (\d+) + +Start + ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record + ^. -> Error +``` +### States + +If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. +Example: + +*Raw Output* +``` +... omitted +Network Next Hop Metric LocPrf Weight Path +*> 111.111.111.111/32 112.112.112.112 4294967295 4294967295 65535 1000 1000 1000 i +``` + +*Sample Template* +``` +Start +# Checking for header +^\s*Network\s+Next(?:\s+|-)[Hh]op\s+Metric\s+LocPrf\s+Weight\s+Path\s*$$ -> BGPTable + +BGPTable + ... omitted +``` + +#### Error Directive + +Each **state** should end with `^. -> Error`. This helps to ensure that every line is accounted for within the raw output for the command. This doesn't mean we have to capture all the data as a **Value**, but we do have to account for it. In addition, it is also good to provide an expression to match blank lines, `^\s*$$` + +An example would be the following raw output: + +``` +NAME: "3640 chassis", DESCR: "3640 chassis" +PID: , VID: 0xFF, SN: FF1045C5 +``` + +The template would be the following: +``` +Value NAME (.*) +Value DESCRIPTION (.*) + +Start + ^NAME:\s+"${NAME}",\s*DESCR:\s+"${DESCRIPTION}" + ^PID:\s*,\s*VID:\s*\S+,\s*SN:\s*\S+ + ^\s*$$ + ^. -> Error +``` + +Taking a look at the example template above, you notice that we're using `\s*` and `\s+`. This is the preferred way to match space characters, and should be used over the literal space character. For example, `This\s+is\s+preferred\s*$$` vs `This is not preferred$$` + +- `\s*` accounts for zero or more spaces (use when the output may or may not have a space between characters) +- `\s+` accounts for one or more spaces (use when output will have a space, but could have more than one space) + +## Index File + +The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used the combination of ordering, as defined: + + - OS in alphabetical order + - Template name in length order (longest to shortest) + - When length is the same, use alphabetical order of command name + - Keep space between OS's + +Example: + +``` +Template, Hostname, Platform, Command + +# same os, same length, used alphabetical order of command name +arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] +arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] + +# os in alphabetical order and space between cisco_asa and arista_eos +cisco_asa_dir.textfsm, .*, cisco_asa, dir + +# same os, template name length different and space between cisco_asa and cisco_ios +cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] +cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +``` + +## Tests + +Tests will be located in `./tests` with the following hierarchy: + +- `./tests/{{ vendor_os }}/{{ command_name }}/` + +The `{{ command_name }}` directory should include the `.raw` file that includes the raw output of the command to be parsed, and the `.yml` file of the returned structured data. + +```bash +$ ls tests/cisco_ios/show_clock/ +cisco_ios_show_clock.yml +cisco_ios_show_clock.raw +$ +``` + +### Raw version of input text + +The raw text file should contain **only** the output of the CLI command to be parsed. It should **not** contain the CLI command itself. + +An example of the proper format is shown below: + +```bash +$ cat tests/cisco_ios/show_clock/cisco_ios_show_clock.raw +*18:57:38.347 UTC Mon Oct 19 2015 +$ +``` + +### YAML file containing expected parsed dictionary + +The parsed file should match the data that is returned from the `parse_output` function discussed in the beginning. Dictionary keys should be in lowercase. + +The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.textfsm` file extension with `.yml`. The raw text file and the parsed text file should be in the same directory. + +> Example. ./tests/cisco_ios/show_clock/ + +There are available helpers to create the parsed file in the correct format (See below for details). + +An example of the proper format is shown below: + +```bash +$ cat ./tests/cisco_ios/show_clock/cisco_ios_show_clock.yml +--- +parsed_sample: + - time: "18:57:38.347" + timezone: "UTC" + dayweek: "Mon" + month: "Oct" + day: "19" + year: "2015" +$ +``` + +Multiple `raw` and `parsed` files are supported per directory, and are encouraged, as there are differences depending on version, length, etc. Additional test files and more real life data helps ensure backwards compatibility is maintained as each template is updated and merged into the repo. + +All YAML files must adhere to the YAML standards defined in the `.yamllint` file in the root directory. Yamllint provides thorough documentation of their configuration settings [here](https://yamllint.readthedocs.io/en/stable/rules.html). + +## Development Helper Scripts + +A click cli utility is provided to assist with properly building the parsed files. This utility depends on some packages listed in the dev install requirements. The commands are: + +- `clean-yaml-file`: Takes the path to a YAML file and updates to ensure that the file adheres to the .yamllint settings +- `clean-yaml-folder`: Takes a directory that will updates to ensure all files ending in `.yml` adhere to the .yamllint settings +- `gen-yaml-file`: Takes the path to a `.raw` file, and generates the parsed data and saves the results adjacent to the `.yml` file following the defined standards in .yamllint. +- `gen-yaml-folder`: Takes a glob path to a directory containing `.raw` files, and creates the appropriate parsed files in the appropriate directory. + +```bash +$ python cli.py --help +Usage: cli.py [OPTIONS] COMMAND [ARGS]... + + Base entry for click. + +Options: + --help Show this message and exit. + +Commands: + clean-yaml-file Transform a yaml file to expected output. + clean-yaml-folder Transform a yaml file to expected output to a folder. + gen-yaml-file Generate a yaml file from raw a data file. + gen-yaml-folder Generate a yaml file from folder of raw data files. +$ +``` + +The `clean-yaml-file` and `clean-yaml-folder` arguments are designed to allow developers to generate the expected parsed file how they want, and ensure that the formatting adheres to the defined standard for this project. + +The `gen-yaml-file` and `gen-yaml-file` arguments generate the parsed data. This means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `ntc_templates/templates/` and the `ntc_templates/templates/index` file must be updated to correctly point to the template file(s). + +```bash +$ python cli.py clean-yaml-folder -f tests/cisco_ios/show_mac-address-table +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table12.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table13.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +$ +``` + +Additionally, each of these commands are available via invoke commands to better support a docker environment. The arguement names match up, e.g. `python cli.py clean-yaml-file` has an equivalant `invoke clean-yaml-file`. + +# Updating/Fixing Existing Templates +When either fixing a bug within a template or adding additional **Values** to be captured, additional test files should be added to ensure backwards compatibility and that the new data is being parsed correctly. + +To add additional raw/parsed tests for a command: + +- Navigate to `./tests/{{ vendor_os }}/{{ command_name }}/` +- Create new `.raw` and `.yml` files within the directory, preferrably with a name identifying why the data is unique: + - Existing raw: `./tests/cisco_ios/show_version/cisco_ios_show_version.raw` + - New raw: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.raw` + - Existing parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version.yml` + - New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.yml` + +## Testing + +You can test your changes locally within your Git branch before submitting a PR. + +```bash +% invoke tests +DOCKER - Running command: black --check --diff . container: ntc_templates:3.1.0-py3.7 +All done! ✨ 🍰 ✨ +9 files would be left unchanged. +DOCKER - Running command: flake8 . --config .flake8 container: ntc_templates:3.1.0-py3.7 +DOCKER - Running command: find . -name "*.py" | xargs pylint container: ntc_templates:3.1.0-py3.7 + +------------------------------------ +Your code has been rated at 10.00/10 + +DOCKER - Running command: yamllint . container: ntc_templates:3.1.0-py3.7 +[...] +``` + +> Note: Omitted for brevity. \ No newline at end of file diff --git a/docs/dev/extending.md b/docs/dev/extending.md new file mode 100644 index 0000000000..c0b85dd02e --- /dev/null +++ b/docs/dev/extending.md @@ -0,0 +1,5 @@ +# Extending the Library + +Extending the library is welcome, however it is best to open an issue first, to ensure that a PR would be accepted and makes sense in terms of features and design. + +Requesting for others to create templates is not currently supported. Please review the [faq](../user/faq.md#does-the-project-support-requests-for-additional-templates-or-additional-data-in-an-existing-template) for more details. diff --git a/docs/images/.keep b/docs/images/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/images/icon-ntc-templates.png b/docs/images/icon-ntc-templates.png new file mode 100644 index 0000000000000000000000000000000000000000..861dc310be176c79c6b74f5d08c17922fc6ef769 GIT binary patch literal 4703 zcmeAS@N?(olHy`uVBq!ia0y~yVA%k|94tT)M~!M1AjOjI=9T(j;Ea*|VBhgqdpx&YT zi$xz1CLjx;%0T|Z9wtO70tGfflaLgFVg$Q&*cBm#3GT=wRS_(nina(InXS8jl?+dw z^}DInrFx@51WWJ8L8PtxU`DkmA6xVko;VVt8+Yo$9^D{OQgR$oX#(aKVzVVEIU%J} zq|}9E5-jgN$xx0kaBH~D_fGWBGge5E15M!gH4?1|DSH8nG%QZQol${WVeZ7O2r0a& zrwAIo4t+*U4-VakVEA5nkhHRtCNYZ~7{Ho>a0HPW_M}A6gvDlm*BP$;5V`aH4W6`A z;~(t&c8;SZ5G?=05_-`TK^=*72|Mi^ogB94D`^!i;)r^ls02=wB2se!Qu#%bLXM=8 z(DD>V19x)rOi@rRHh(mHU`-5I2Di+*{9ekvdH;k7X9Ln&Ymb_bW;2Xzwnb1!Lz%iVSwV z1(w+s2a885Hh4V>4e<$!dllj&8S|_aH%o2idd~8Hv|R*mhQZrKW=*WgEHaD#G(XtZ zp3|l~nu^d<(a;%<0K4?|Z-xw8BS*%+eHVay)e_f;l9a@fRIB8oR3OD*WMF8aYhb2p zXdGf_WMyh;WnigoU|?lnAj&u!*r-R+kei>9nO2EgLrRSDc94ypu6{1-oD!M<7xBm( literal 0 HcmV?d00001 diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000000..f32fd72b7b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,6 @@ +--- +hide: + - navigation +--- + +--8<-- "README.md" diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000000..f403e1aa20 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,8 @@ +mkdocs==1.3.1 +# Material for MkDocs theme +mkdocs-material==8.3.9 +# Render custom markdown for version added/changed/remove notes +mkdocs-version-annotations==1.0.0 +# Automatic documentation from sources, for MkDocs +mkdocstrings==0.19 +mkdocstrings-python==0.7.1 \ No newline at end of file diff --git a/docs/user/faq.md b/docs/user/faq.md new file mode 100644 index 0000000000..200db8a0c8 --- /dev/null +++ b/docs/user/faq.md @@ -0,0 +1,89 @@ +# Frequently Asked Questions + +From an outsiders view, some design choices, requirements, and testing procedures can seem arbitrary. The following list of FAQ is intended to help provide context and better guide users and contributors of ntc-templates. + +## Why is there a requirement to use `Error` in every template? + +Ensuring that the textfsm template can account for every line is the only method to ensure that data was not accidentally missed. Take the following example. Initially we account for status to be: + +`Value STATUS (up|down)` + +Given the result of: +``` +Interface Status Protocol Description +Gi0/0/1 admin down down +Gi0/0/2 up up ISP Connection +Gi0/0/3 down down +``` + +The output would miss the G0/0/1 interface, since the `STATUS` of `admin down` not known. If this was a low percentage use case, it can go undetected, and result in incorrect information being returned. Instead, by ensuring that we fail fast, an `Error` is raised and hopefully GitHub Issue is put in. + +## Then why isn't `Error` used in all templates? + +Initially the controls were not as strong, so many templates were put in until issues like the previous became an issue. + +## Does the project support requests for additional templates or additional data in an existing template? + +We are no longer considering additional template requests at this time. The project has existed for over 7 years (initially within ntc-ansible) and over 200 template at this point any additional requests are essentially edge use cases. Meaning, for seven years of usage, no one else has asked for this feature. There is a limited maintainers who primarily use their free time to maintain the project. + +## Are you open to adding maintainers to the project? + +Yes, we would consider giving a proven member of the project and community maintainer rights. Please inquiry emailing info@networktocode.com. + +## I simply want to add my template to the project, I do not want to add all of these tests and controls, can I just do so? + +Short answer no, from an outsiders point of view the contributor requirements may seem overly complex, however features added by engineers rarely come back to support them. The burden of support is on the maintainers and a certain level of quality assurance is required for that to happen. That includes updating the index file appropriately and adding proper raw and expected value files. + +## Why don't you grab all of the data in the template? + +There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from other commands. This is actually an area where the project chose to be loose, as we do not want to over-burden the contributor. If you feel that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by the maintainers of the this project. + +## Why does the index order matter? + +The "greediness" of the template match ensures that there longest matches first. For example, if `show ip ospf` was above `show ip ospf database`, the `show ip ospf` template would be used in both cases. The additional steps are because of general programmatic hygiene. + +## Will you accept my template if I create it? + +In most cases, yes. However, there are a few edge cases. For example if requesting to add a `show cdp neighbors` when there is already a `show cdp neighbors details` template created. That is additional complexity added to the project with little value. + +## Why was my issue closed? + +The most likely reasons are: + +- Did not follow the Issue creation template. +- Did not provide the data required to act upon the request. +- A prolonged time with no response. + +## What is meant that this is a parsing project, not a data modeling project? + +The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is best handled in post processing. + +## I have never submitted a Pull Request before, how do I do so? + +This is outside the scope of this project, but this [video](https://www.youtube.com/watch?v=rgbCcBNZcdQ) should provide the instructions on how to do so. + +## Does this work on windows? + +Based on this [PR](https://github.com/networktocode/ntc-templates/pull/672) it should, however this is not a supported option. We are willing to take in qualified Pull Requests to have the feature, but have no intention of actively supporting. + +## Can you provide general guidance? + +This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. + +## Cannot import name clitable from textfsm - Known Issue + +**ntc-templates** depends on **textfsm**, which hasn't published a source distribution to pypi in a while. See https://github.com/google/textfsm/issues/65. + +This means that for users with a build chain that depends on source distributions only (i.e. no wheels), ntc-templates appears to have a bug: + +``` +File "/usr/local/Cellar/foo/version/libexec/lib/python3.7/site-packages/ntc_templates/parse.py", line 3, in + from textfsm import clitable +ImportError: cannot import name 'clitable' from 'textfsm' +``` + +What's actually happening here is that textfsm provides a source distribution only up to version 0.4.1 (2018-04-09) but the ntc-templates code relies on the interface from version 1.1.0 (2019-07-24) which is only available as a wheel. So the way for users to fix this problem if they encounter it is to install textfsm 1.1.0. + +`pip install textfsm==1.1.0` + +> This was taken from https://github.com/networktocode/ntc-templates/issues/731 diff --git a/docs/user/lib_getting_started.md b/docs/user/lib_getting_started.md new file mode 100644 index 0000000000..bb447385db --- /dev/null +++ b/docs/user/lib_getting_started.md @@ -0,0 +1,47 @@ +# Getting Started with the Library + +The library's primary use case is to provide pre-canned parsers for TextFSM. + +## Install the Library + +To install the library, please follow the instructions detailed in the [Installation Guide](../admin/install.md). + +## Usage + +The libraries interface is fairly simple, the only public function is the `parse_output` function. + +```python +>>> from ntc_templates.parse import parse_output +>>> vlan_output = ( + "VLAN Name Status Ports\n" + "---- -------------------------------- --------- -------------------------------\n" + "1 default active Gi0/1\n" + "10 Management active \n" + "50 VLan50 active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5,\n" + " Fa0/6, Fa0/7, Fa0/8\n" + ) +>>> vlan_parsed = parse_output(platform="cisco_ios", command="show vlan", data=vlan_output) +>>> vlan_parsed +[ + { + 'vlan_id': '1', + 'name': 'default', + 'status': 'active', + 'interfaces': ['Gi0/1'] + }, + { + 'vlan_id': '10', + 'name': 'Management', + 'status': 'active', + 'interfaces': [] + }, + { + 'vlan_id': '50', + 'name': 'VLan50', 'status': 'active', + 'interfaces': ['Fa0/1', 'Fa0/2', 'Fa0/3', 'Fa0/4', 'Fa0/5', 'Fa0/6', 'Fa0/7', 'Fa0/8'] + } +] +>>> +``` + +The rest of the functionality comes from the indiviudal TextFSM templates and the primary index file. \ No newline at end of file diff --git a/docs/user/lib_overview.md b/docs/user/lib_overview.md new file mode 100644 index 0000000000..d0399d4115 --- /dev/null +++ b/docs/user/lib_overview.md @@ -0,0 +1,15 @@ +# Library Overview + +[TextFSM](https://github.com/google/textfsm/wiki) is a project built by Google that takes CLI string output and passes each line through a series of regular expressions until it finds a match. The regular expressions use named capture groups to build a text table out of the significant text. The names of the capture groups are used as column headers, and the captured values are stored as rows in the table. + +This project provides a large collection of TextFSM Templates (text parsers) for a variety of Networking Vendors. In addition to the templates, there is a function that will convert the CLI output into a CliTable object; the resulting text table is converted into a list of dictionaries mapping the column headers with each row in the table. + +## Audience (User Personas) - Who should use this Library? + +Network engineers with the need to parse through standard cli based operational configurations. + +## Authors and Maintainers + +- @itdependsnetworks +- @jmcgill298 +- @jvanderaa diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000000..4e00249934 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,129 @@ +--- +dev_addr: "127.0.0.1:8001" +edit_uri: "edit/develop/docs" +site_dir: "ntc-templates/static/ntc-templates/docs" +site_name: "NTC Templates Documentation" +site_url: "https://ntc-templates.readthedocs.io/en/latest/" +repo_url: "https://github.com/networktocode/ntc-templates" +copyright: "Copyright © The Authors" +theme: + name: "material" + navigation_depth: 4 + custom_dir: "docs/assets/overrides" + hljs_languages: + - "python" + - "yaml" + features: + - "navigation.tracking" + - "navigation.tabs" + - "navigation.tabs.sticky" + - "search.suggest" + - "search.highlight" + - "search.share" + - "navigation.indexes" + favicon: "assets/favicon.ico" + logo: "assets/networktocode_logo.svg" + palette: + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + scheme: "default" + primary: "black" + toggle: + icon: "material/weather-sunny" + name: "Switch to dark mode" + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: "slate" + primary: "black" + toggle: + icon: "material/weather-night" + name: "Switch to light mode" +extra_css: + - "assets/extra.css" + +# needed for RTD version flyout menu +# jquery is not (yet) injected by RTD automatically and it might be dropped +# as a dependency in the future +extra_javascript: + - "https://code.jquery.com/jquery-3.6.0.min.js" + +extra: + generator: false + ntc_sponsor: true + social: + - icon: "fontawesome/solid/rss" + link: "https://blog.networktocode.com/" + name: "Network to Code Blog" + - icon: "fontawesome/brands/youtube" + link: "https://www.youtube.com/channel/UCwBh-dDdoqzxXKyvTw3BuTw" + name: "Network to Code Videos" + - icon: "fontawesome/brands/slack" + link: "https://www.networktocode.com/community/" + name: "Network to Code Community" + - icon: "fontawesome/brands/github" + link: "https://github.com/networktocode/" + name: "GitHub Organization" + - icon: "fontawesome/brands/twitter" + link: "https://twitter.com/networktocode" + name: "Network to Code Twitter" +markdown_extensions: + - "admonition" + - "toc": + permalink: true + - "attr_list" + - "md_in_html" + - "pymdownx.highlight": + anchor_linenums: true + - "pymdownx.inlinehilite" + - "pymdownx.snippets" + - "pymdownx.superfences" + - "footnotes" +plugins: + - "search" + - "mkdocs-version-annotations" + - "mkdocstrings": + default_handler: "python" + handlers: + python: + paths: ["."] + options: + show_root_heading: true +watch: + - "README.md" + +nav: + - Overview: "index.md" + - User Guide: + - Library Overview: "user/lib_overview.md" + - Using the Library: "user/lib_use_cases.md" + - Getting Started: "user/lib_getting_started.md" + - Frequently Asked Questions: "user/faq.md" + - Administrator Guide: + - Install and Configure: "admin/install.md" + - Upgrade: "admin/upgrade.md" + - Uninstall: "admin/uninstall.md" + - Release Notes: + - "admin/release_notes/index.md" + - v0.9: "admin/release_notes/version_0.9.md" + - v1.1: "admin/release_notes/version_1.1.md" + - v1.2: "admin/release_notes/version_1.2.md" + - v1.3: "admin/release_notes/version_1.3.md" + - v1.4: "admin/release_notes/version_1.4.md" + - v1.5: "admin/release_notes/version_1.5.md" + - v1.6: "admin/release_notes/version_1.6.md" + - v1.7: "admin/release_notes/version_1.7.md" + - v2.0: "admin/release_notes/version_2.0.md" + - v2.1: "admin/release_notes/version_2.1.md" + - v2.2: "admin/release_notes/version_2.2.md" + - v2.3: "admin/release_notes/version_2.3.md" + - v3.0: "admin/release_notes/version_3.0.md" + - v3.1: "admin/release_notes/version_3.1.md" + - v3.2: "admin/release_notes/version_3.2.md" + - Developer Guide: + - Extending the Library: "dev/extending.md" + - Contributing to the Library: "dev/contributing.md" + - Development Environment: "dev/dev_environment.md" + - TextFSM Parser Development: "dev/dev_parser.md" + - Code Reference: + - Parse: "dev/code_reference/parse.md" diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index fb6467db96..d66308df2f 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,9 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "3.0.0" +try: + from importlib import metadata +except ImportError: + # Python version < 3.8 + import importlib_metadata as metadata + +__version__ = metadata.version(__name__) diff --git a/ntc_templates/parse.py b/ntc_templates/parse.py index 407c289b56..daee11e7eb 100644 --- a/ntc_templates/parse.py +++ b/ntc_templates/parse.py @@ -37,7 +37,6 @@ def _clitable_to_dict(cli_table): def parse_output(platform=None, command=None, data=None): """Return the structured data based on the output from a network device.""" - if not HAS_CLITABLE: msg = """ The TextFSM library is not currently supported on Windows. If you are NOT using Windows @@ -56,12 +55,8 @@ def parse_output(platform=None, command=None, data=None): try: cli_table.ParseCmd(data, attrs) structured_data = _clitable_to_dict(cli_table) - except clitable.CliTableError as e: - raise Exception( - 'Unable to parse command "{0}" on platform {1} - {2}'.format( - command, platform, str(e) - ) - ) + except clitable.CliTableError as err: + raise Exception(f'Unable to parse command "{command}" on platform {platform} - {str(err)}') from err # Invalid or Missing template # module.fail_json(msg='parsing error', error=str(e)) # rather than fail, fallback to return raw text diff --git a/poetry.lock b/poetry.lock index 5661e245c1..54efaf3849 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,10 +1,25 @@ [[package]] -name = "atomicwrites" -version = "1.4.1" -description = "Atomic file writes." +name = "alabaster" +version = "0.7.12" +description = "A configurable sidebar-enabled Sphinx theme" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = "*" + +[[package]] +name = "astroid" +version = "2.11.7" +description = "An abstract syntax tree for Python with inference support." +category = "dev" +optional = false +python-versions = ">=3.6.2" + +[package.dependencies] +lazy-object-proxy = ">=1.4.0" +setuptools = ">=20.0" +typed-ast = {version = ">=1.4.0,<2.0", markers = "implementation_name == \"cpython\" and python_version < \"3.8\""} +typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} +wrapt = ">=1.11,<2" [[package]] name = "attrs" @@ -15,22 +30,51 @@ optional = false python-versions = ">=3.5" [package.extras] -dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] -docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] -tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] -tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "mypy (>=0.900,!=0.940)", "pytest-mypy-plugins", "cloudpickle"] +dev = ["cloudpickle", "coverage[toml] (>=5.0.2)", "furo", "hypothesis", "mypy (>=0.900,!=0.940)", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "sphinx", "sphinx-notfound-page", "zope.interface"] +docs = ["furo", "sphinx", "sphinx-notfound-page", "zope.interface"] +tests = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "zope.interface"] +tests_no_zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins"] + +[[package]] +name = "Babel" +version = "2.10.3" +description = "Internationalization utilities" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +pytz = ">=2015.7" + +[[package]] +name = "bandit" +version = "1.7.4" +description = "Security oriented static analyser for python code." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +colorama = {version = ">=0.3.9", markers = "platform_system == \"Windows\""} +GitPython = ">=1.0.1" +PyYAML = ">=5.3.1" +stevedore = ">=1.20.0" + +[package.extras] +test = ["beautifulsoup4 (>=4.8.0)", "coverage (>=4.5.4)", "fixtures (>=3.0.0)", "flake8 (>=4.0.0)", "pylint (==1.9.4)", "stestr (>=2.5.0)", "testscenarios (>=0.5.0)", "testtools (>=2.3.0)", "toml"] +toml = ["toml"] +yaml = ["PyYAML"] [[package]] name = "black" -version = "22.8.0" +version = "22.10.0" description = "The uncompromising code formatter." category = "dev" optional = false -python-versions = ">=3.6.2" +python-versions = ">=3.7" [package.dependencies] click = ">=8.0.0" -dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} mypy-extensions = ">=0.4.3" pathspec = ">=0.9.0" platformdirs = ">=2" @@ -44,13 +88,40 @@ d = ["aiohttp (>=3.7.4)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "cached-property" +version = "1.5.2" +description = "A decorator for caching properties in classes." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "certifi" +version = "2022.9.24" +description = "Python package for providing Mozilla's CA Bundle." +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "charset-normalizer" +version = "2.1.1" +description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +category = "dev" +optional = false +python-versions = ">=3.6.0" + +[package.extras] +unicode_backport = ["unicodedata2"] + [[package]] name = "click" -version = "8.0.4" +version = "8.1.3" description = "Composable command line interface toolkit" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.dependencies] colorama = {version = "*", markers = "platform_system == \"Windows\""} @@ -58,53 +129,66 @@ importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [[package]] name = "colorama" -version = "0.4.5" +version = "0.4.6" description = "Cross-platform colored terminal text." category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" [[package]] -name = "dataclasses" -version = "0.8" -description = "A backport of the dataclasses module for Python 3.6" +name = "coverage" +version = "6.5.0" +description = "Code coverage measurement for Python" category = "dev" optional = false -python-versions = ">=3.6, <3.7" +python-versions = ">=3.7" + +[package.extras] +toml = ["tomli"] [[package]] -name = "distlib" +name = "dill" version = "0.3.6" -description = "Distribution utilities" +description = "serialize all of python" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.7" + +[package.extras] +graph = ["objgraph (>=1.7.2)"] [[package]] -name = "filelock" -version = "3.4.1" -description = "A platform independent file lock." +name = "docutils" +version = "0.17.1" +description = "Docutils -- Python Documentation Utilities" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "exceptiongroup" +version = "1.0.0" +description = "Backport of PEP 654 (exception groups)" +category = "dev" +optional = false +python-versions = ">=3.7" [package.extras] -docs = ["furo (>=2021.8.17b43)", "sphinx (>=4.1)", "sphinx-autodoc-typehints (>=1.12)"] -testing = ["covdefaults (>=1.2.0)", "coverage (>=4)", "pytest (>=4)", "pytest-cov", "pytest-timeout (>=1.4.2)"] +test = ["pytest (>=6)"] [[package]] name = "flake8" -version = "4.0.1" +version = "3.9.2" description = "the modular source code checker: pep8 pyflakes and co" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [package.dependencies] -importlib-metadata = {version = "<4.3", markers = "python_version < \"3.8\""} +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} mccabe = ">=0.6.0,<0.7.0" -pycodestyle = ">=2.8.0,<2.9.0" -pyflakes = ">=2.4.0,<2.5.0" +pycodestyle = ">=2.7.0,<2.8.0" +pyflakes = ">=2.3.0,<2.4.0" [[package]] name = "future" @@ -115,35 +199,88 @@ optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" [[package]] -name = "importlib-metadata" -version = "4.2.0" -description = "Read metadata from Python packages" +name = "ghp-import" +version = "2.1.0" +description = "Copy your docs directly to the gh-pages branch." category = "dev" optional = false -python-versions = ">=3.6" +python-versions = "*" [package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} -zipp = ">=0.5" +python-dateutil = ">=2.8.1" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] +dev = ["flake8", "markdown", "twine", "wheel"] [[package]] -name = "importlib-resources" -version = "5.4.0" -description = "Read resources from Python packages" +name = "gitdb" +version = "4.0.9" +description = "Git Object Database" category = "dev" optional = false python-versions = ">=3.6" [package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} +smmap = ">=3.0.1,<6" + +[[package]] +name = "GitPython" +version = "3.1.29" +description = "GitPython is a python library used to interact with Git repositories" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +gitdb = ">=4.0.1,<5" +typing-extensions = {version = ">=3.7.4.3", markers = "python_version < \"3.8\""} + +[[package]] +name = "griffe" +version = "0.23.0" +description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +cached-property = {version = "*", markers = "python_version < \"3.8\""} + +[package.extras] +async = ["aiofiles (>=0.7,<1.0)"] + +[[package]] +name = "idna" +version = "3.4" +description = "Internationalized Domain Names in Applications (IDNA)" +category = "dev" +optional = false +python-versions = ">=3.5" + +[[package]] +name = "imagesize" +version = "1.4.1" +description = "Getting image size from png/jpeg/jpeg2000/gif file" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "importlib-metadata" +version = "4.13.0" +description = "Read metadata from Python packages" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-black (>=0.3.7)", "pytest-mypy"] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)"] +perf = ["ipython"] +testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] [[package]] name = "iniconfig" @@ -153,6 +290,72 @@ category = "dev" optional = false python-versions = "*" +[[package]] +name = "invoke" +version = "1.7.3" +description = "Pythonic task execution" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "isort" +version = "5.10.1" +description = "A Python utility / library to sort Python imports." +category = "dev" +optional = false +python-versions = ">=3.6.1,<4.0" + +[package.extras] +colors = ["colorama (>=0.4.3,<0.5.0)"] +pipfile_deprecated_finder = ["pipreqs", "requirementslib"] +plugins = ["setuptools"] +requirements_deprecated_finder = ["pip-api", "pipreqs"] + +[[package]] +name = "Jinja2" +version = "3.1.2" +description = "A very fast and expressive template engine." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +MarkupSafe = ">=2.0" + +[package.extras] +i18n = ["Babel (>=2.7)"] + +[[package]] +name = "lazy-object-proxy" +version = "1.8.0" +description = "A fast and thorough lazy object proxy." +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "Markdown" +version = "3.3.7" +description = "Python implementation of Markdown." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} + +[package.extras] +testing = ["coverage", "pyyaml"] + +[[package]] +name = "MarkupSafe" +version = "2.1.1" +description = "Safely add untrusted strings to HTML/XML markup." +category = "dev" +optional = false +python-versions = ">=3.7" + [[package]] name = "mccabe" version = "0.6.1" @@ -161,6 +364,114 @@ category = "dev" optional = false python-versions = "*" +[[package]] +name = "mergedeep" +version = "1.3.4" +description = "A deep merge function for 🐍." +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "mkdocs" +version = "1.3.1" +description = "Project documentation with Markdown." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +click = ">=3.3" +ghp-import = ">=1.0" +importlib-metadata = ">=4.3" +Jinja2 = ">=2.10.2" +Markdown = ">=3.2.1,<3.4" +mergedeep = ">=1.3.4" +packaging = ">=20.5" +PyYAML = ">=3.10" +pyyaml-env-tag = ">=0.1" +watchdog = ">=2.0" + +[package.extras] +i18n = ["babel (>=2.9.0)"] + +[[package]] +name = "mkdocs-autorefs" +version = "0.4.1" +description = "Automatically link across pages in MkDocs." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +Markdown = ">=3.3" +mkdocs = ">=1.1" + +[[package]] +name = "mkdocs-material" +version = "8.3.9" +description = "Documentation that simply works" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +jinja2 = ">=3.0.2" +markdown = ">=3.2" +mkdocs = ">=1.3.0" +mkdocs-material-extensions = ">=1.0.3" +pygments = ">=2.12" +pymdown-extensions = ">=9.4" + +[[package]] +name = "mkdocs-material-extensions" +version = "1.1" +description = "Extension pack for Python Markdown and MkDocs Material." +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "mkdocs-version-annotations" +version = "1.0.0" +description = "MkDocs plugin to add custom admonitions for documenting version differences" +category = "dev" +optional = false +python-versions = ">=3.7,<4.0" + +[[package]] +name = "mkdocstrings" +version = "0.19.0" +description = "Automatic documentation from sources, for MkDocs." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +Jinja2 = ">=2.11.1" +Markdown = ">=3.3" +MarkupSafe = ">=1.1" +mkdocs = ">=1.2" +mkdocs-autorefs = ">=0.3.1" +pymdown-extensions = ">=6.3" + +[package.extras] +crystal = ["mkdocstrings-crystal (>=0.3.4)"] +python = ["mkdocstrings-python (>=0.5.2)"] +python-legacy = ["mkdocstrings-python-legacy (>=0.2.1)"] + +[[package]] +name = "mkdocstrings-python" +version = "0.7.1" +description = "A Python handler for mkdocstrings." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +griffe = ">=0.11.1" +mkdocstrings = ">=0.19" + [[package]] name = "mypy-extensions" version = "0.4.3" @@ -182,23 +493,31 @@ pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" [[package]] name = "pathspec" -version = "0.9.0" +version = "0.10.1" description = "Utility library for gitignore style pattern matching of file paths." category = "dev" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +python-versions = ">=3.7" + +[[package]] +name = "pbr" +version = "5.11.0" +description = "Python Build Reasonableness" +category = "dev" +optional = false +python-versions = ">=2.6" [[package]] name = "platformdirs" -version = "2.4.0" +version = "2.5.2" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.extras] -test = ["pytest-mock (>=3.6)", "pytest-cov (>=2.7)", "pytest (>=6)", "appdirs (==1.4.4)"] -docs = ["sphinx-autodoc-typehints (>=1.12)", "proselint (>=0.10.2)", "furo (>=2021.7.5b38)", "Sphinx (>=4)"] +docs = ["furo (>=2021.7.5b38)", "proselint (>=0.10.2)", "sphinx (>=4)", "sphinx-autodoc-typehints (>=1.12)"] +test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock (>=3.6)"] [[package]] name = "pluggy" @@ -212,74 +531,170 @@ python-versions = ">=3.6" importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} [package.extras] -testing = ["pytest-benchmark", "pytest"] -dev = ["tox", "pre-commit"] +dev = ["pre-commit", "tox"] +testing = ["pytest", "pytest-benchmark"] [[package]] -name = "py" -version = "1.11.0" -description = "library with cross-python path, ini-parsing, io, code, log facilities" +name = "pycodestyle" +version = "2.7.0" +description = "Python style guide checker" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] -name = "pycodestyle" -version = "2.8.0" -description = "Python style guide checker" +name = "pydocstyle" +version = "6.1.1" +description = "Python docstring style checker" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.6" + +[package.dependencies] +snowballstemmer = "*" + +[package.extras] +toml = ["toml"] [[package]] name = "pyflakes" -version = "2.4.0" +version = "2.3.1" description = "passive checker of Python programs" category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] -name = "pyparsing" -version = "3.0.7" -description = "Python parsing module" +name = "Pygments" +version = "2.13.0" +description = "Pygments is a syntax highlighting package written in Python." category = "dev" optional = false python-versions = ">=3.6" +[package.extras] +plugins = ["importlib-metadata"] + +[[package]] +name = "pylint" +version = "2.13.9" +description = "python code static checker" +category = "dev" +optional = false +python-versions = ">=3.6.2" + +[package.dependencies] +astroid = ">=2.11.5,<=2.12.0-dev0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +dill = ">=0.2" +isort = ">=4.2.5,<6" +mccabe = ">=0.6,<0.8" +platformdirs = ">=2.2.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} + +[package.extras] +testutil = ["gitpython (>3)"] + +[[package]] +name = "pymdown-extensions" +version = "9.7" +description = "Extension pack for Python Markdown." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +markdown = ">=3.2" + +[[package]] +name = "pyparsing" +version = "3.0.9" +description = "pyparsing module - Classes and methods to define and execute parsing grammars" +category = "dev" +optional = false +python-versions = ">=3.6.8" + [package.extras] diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "7.0.1" +version = "7.2.0" description = "pytest: simple powerful testing with Python" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.dependencies] -atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} attrs = ">=19.2.0" colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" -py = ">=1.8.2" -tomli = ">=1.0.0" +tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] [[package]] -name = "pyyaml" +name = "python-dateutil" +version = "2.8.2" +description = "Extensions to the standard Python datetime module" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" + +[package.dependencies] +six = ">=1.5" + +[[package]] +name = "pytz" +version = "2022.5" +description = "World timezone definitions, modern and historical" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "PyYAML" version = "6.0" description = "YAML parser and emitter for Python" category = "dev" optional = false python-versions = ">=3.6" +[[package]] +name = "pyyaml_env_tag" +version = "0.1" +description = "A custom YAML tag for referencing environment variables in YAML files. " +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +pyyaml = "*" + +[[package]] +name = "requests" +version = "2.28.1" +description = "Python HTTP for Humans." +category = "dev" +optional = false +python-versions = ">=3.7, <4" + +[package.dependencies] +certifi = ">=2017.4.17" +charset-normalizer = ">=2,<3" +idna = ">=2.5,<4" +urllib3 = ">=1.21.1,<1.27" + +[package.extras] +socks = ["PySocks (>=1.5.6,!=1.5.7)"] +use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"] + [[package]] name = "ruamel.yaml" version = "0.17.21" @@ -297,12 +712,25 @@ jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] [[package]] name = "ruamel.yaml.clib" -version = "0.2.6" +version = "0.2.7" description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" category = "dev" optional = false python-versions = ">=3.5" +[[package]] +name = "setuptools" +version = "65.5.0" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8 (<5)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mock", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] + [[package]] name = "six" version = "1.16.0" @@ -311,6 +739,152 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +[[package]] +name = "smmap" +version = "5.0.0" +description = "A pure Python implementation of a sliding window memory map manager" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "snowballstemmer" +version = "2.2.0" +description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "Sphinx" +version = "5.3.0" +description = "Python documentation generator" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +alabaster = ">=0.7,<0.8" +babel = ">=2.9" +colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} +docutils = ">=0.14,<0.20" +imagesize = ">=1.3" +importlib-metadata = {version = ">=4.8", markers = "python_version < \"3.10\""} +Jinja2 = ">=3.0" +packaging = ">=21.0" +Pygments = ">=2.12" +requests = ">=2.5.0" +snowballstemmer = ">=2.0" +sphinxcontrib-applehelp = "*" +sphinxcontrib-devhelp = "*" +sphinxcontrib-htmlhelp = ">=2.0.0" +sphinxcontrib-jsmath = "*" +sphinxcontrib-qthelp = "*" +sphinxcontrib-serializinghtml = ">=1.1.5" + +[package.extras] +docs = ["sphinxcontrib-websupport"] +lint = ["docutils-stubs", "flake8 (>=3.5.0)", "flake8-bugbear", "flake8-comprehensions", "flake8-simplify", "isort", "mypy (>=0.981)", "sphinx-lint", "types-requests", "types-typed-ast"] +test = ["cython", "html5lib", "pytest (>=4.6)", "typed_ast"] + +[[package]] +name = "sphinx-rtd-theme" +version = "1.0.0" +description = "Read the Docs theme for Sphinx" +category = "dev" +optional = false +python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" + +[package.dependencies] +docutils = "<0.18" +sphinx = ">=1.6" + +[package.extras] +dev = ["bump2version", "sphinxcontrib-httpdomain", "transifex-client"] + +[[package]] +name = "sphinxcontrib-applehelp" +version = "1.0.2" +description = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books" +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.extras] +lint = ["docutils-stubs", "flake8", "mypy"] +test = ["pytest"] + +[[package]] +name = "sphinxcontrib-devhelp" +version = "1.0.2" +description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document." +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.extras] +lint = ["docutils-stubs", "flake8", "mypy"] +test = ["pytest"] + +[[package]] +name = "sphinxcontrib-htmlhelp" +version = "2.0.0" +description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +lint = ["docutils-stubs", "flake8", "mypy"] +test = ["html5lib", "pytest"] + +[[package]] +name = "sphinxcontrib-jsmath" +version = "1.0.1" +description = "A sphinx extension which renders display math in HTML via JavaScript" +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.extras] +test = ["flake8", "mypy", "pytest"] + +[[package]] +name = "sphinxcontrib-qthelp" +version = "1.0.3" +description = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document." +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.extras] +lint = ["docutils-stubs", "flake8", "mypy"] +test = ["pytest"] + +[[package]] +name = "sphinxcontrib-serializinghtml" +version = "1.1.5" +description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.extras] +lint = ["docutils-stubs", "flake8", "mypy"] +test = ["pytest"] + +[[package]] +name = "stevedore" +version = "3.5.2" +description = "Manage dynamic plugins for Python applications" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +importlib-metadata = {version = ">=1.7.0", markers = "python_version < \"3.8\""} +pbr = ">=2.0.0,<2.1.0 || >2.1.0" + [[package]] name = "textfsm" version = "1.1.3" @@ -339,30 +913,6 @@ category = "dev" optional = false python-versions = ">=3.7" -[[package]] -name = "tox" -version = "3.26.0" -description = "tox is a generic virtualenv management and test command line tool" -category = "dev" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" - -[package.dependencies] -colorama = {version = ">=0.4.1", markers = "platform_system == \"Windows\""} -filelock = ">=3.0.0" -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} -packaging = ">=14" -pluggy = ">=0.12.0" -py = ">=1.4.17" -six = ">=1.14.0" -toml = {version = ">=0.10.2", markers = "python_version <= \"3.6\""} -tomli = {version = ">=2.0.1", markers = "python_version >= \"3.7\" and python_version < \"3.11\""} -virtualenv = ">=16.0.0,<20.0.0 || >20.0.0,<20.0.1 || >20.0.1,<20.0.2 || >20.0.2,<20.0.3 || >20.0.3,<20.0.4 || >20.0.4,<20.0.5 || >20.0.5,<20.0.6 || >20.0.6,<20.0.7 || >20.0.7" - -[package.extras] -docs = ["pygments-github-lexers (>=0.0.5)", "sphinx (>=2.0.0)", "sphinxcontrib-autoprogram (>=0.1.5)", "towncrier (>=18.5.0)"] -testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "psutil (>=5.6.1)", "pathlib2 (>=2.3.3)"] - [[package]] name = "typed-ast" version = "1.5.4" @@ -373,34 +923,47 @@ python-versions = ">=3.6" [[package]] name = "typing-extensions" -version = "4.1.1" -description = "Backported and Experimental Type Hints for Python 3.6+" +version = "4.4.0" +description = "Backported and Experimental Type Hints for Python 3.7+" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [[package]] -name = "virtualenv" -version = "20.16.2" -description = "Virtual Python Environment builder" +name = "urllib3" +version = "1.26.12" +description = "HTTP library with thread-safe connection pooling, file post, and more." category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4" -[package.dependencies] -distlib = ">=0.3.1,<1" -filelock = ">=3.2,<4" -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} -importlib-resources = {version = ">=1.0", markers = "python_version < \"3.7\""} -platformdirs = ">=2,<3" +[package.extras] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] +secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] +socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] + +[[package]] +name = "watchdog" +version = "2.1.9" +description = "Filesystem events monitoring" +category = "dev" +optional = false +python-versions = ">=3.6" [package.extras] -docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=21.3)"] -testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "packaging (>=20.0)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)"] +watchmedo = ["PyYAML (>=3.10)"] + +[[package]] +name = "wrapt" +version = "1.14.1" +description = "Module for decorators, wrappers and monkey patching." +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [[package]] name = "yamllint" -version = "1.27.1" +version = "1.28.0" description = "A linter for YAML files." category = "dev" optional = false @@ -409,62 +972,659 @@ python-versions = ">=3.6" [package.dependencies] pathspec = ">=0.5.3" pyyaml = "*" +setuptools = "*" [[package]] name = "zipp" -version = "3.6.0" +version = "3.10.0" description = "Backport of pathlib-compatible object wrapper for zip files" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)"] +testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] [extras] test = [] [metadata] lock-version = "1.1" -python-versions = "^3.6" -content-hash = "1002a89d89b86fdd85f8c2ada5e62074c0f00b8b6196a15fbc68f91dd9a5e204" +python-versions = "^3.7" +content-hash = "9948d32629f627bbeb6d66ebcb0e6ed44e654ac8529a2ca87ea3a88cd1a15b92" [metadata.files] -atomicwrites = [] -attrs = [] -black = [] -click = [] -colorama = [] -dataclasses = [] -distlib = [] -filelock = [] -flake8 = [] -future = [] -importlib-metadata = [] -importlib-resources = [] -iniconfig = [] -mccabe = [] -mypy-extensions = [] -packaging = [] -pathspec = [] -platformdirs = [] -pluggy = [] -py = [] -pycodestyle = [] -pyflakes = [] -pyparsing = [] -pytest = [] -pyyaml = [] -"ruamel.yaml" = [] -"ruamel.yaml.clib" = [] -six = [] -textfsm = [] -toml = [] -tomli = [] -tox = [] -typed-ast = [] -typing-extensions = [] -virtualenv = [] -yamllint = [] -zipp = [] +alabaster = [ + {file = "alabaster-0.7.12-py2.py3-none-any.whl", hash = "sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359"}, + {file = "alabaster-0.7.12.tar.gz", hash = "sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02"}, +] +astroid = [ + {file = "astroid-2.11.7-py3-none-any.whl", hash = "sha256:86b0a340a512c65abf4368b80252754cda17c02cdbbd3f587dddf98112233e7b"}, + {file = "astroid-2.11.7.tar.gz", hash = "sha256:bb24615c77f4837c707669d16907331374ae8a964650a66999da3f5ca68dc946"}, +] +attrs = [ + {file = "attrs-22.1.0-py2.py3-none-any.whl", hash = "sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c"}, + {file = "attrs-22.1.0.tar.gz", hash = "sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6"}, +] +Babel = [ + {file = "Babel-2.10.3-py3-none-any.whl", hash = "sha256:ff56f4892c1c4bf0d814575ea23471c230d544203c7748e8c68f0089478d48eb"}, + {file = "Babel-2.10.3.tar.gz", hash = "sha256:7614553711ee97490f732126dc077f8d0ae084ebc6a96e23db1482afabdb2c51"}, +] +bandit = [ + {file = "bandit-1.7.4-py3-none-any.whl", hash = "sha256:412d3f259dab4077d0e7f0c11f50f650cc7d10db905d98f6520a95a18049658a"}, + {file = "bandit-1.7.4.tar.gz", hash = "sha256:2d63a8c573417bae338962d4b9b06fbc6080f74ecd955a092849e1e65c717bd2"}, +] +black = [ + {file = "black-22.10.0-1fixedarch-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:5cc42ca67989e9c3cf859e84c2bf014f6633db63d1cbdf8fdb666dcd9e77e3fa"}, + {file = "black-22.10.0-1fixedarch-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:5d8f74030e67087b219b032aa33a919fae8806d49c867846bfacde57f43972ef"}, + {file = "black-22.10.0-1fixedarch-cp37-cp37m-macosx_10_16_x86_64.whl", hash = "sha256:197df8509263b0b8614e1df1756b1dd41be6738eed2ba9e9769f3880c2b9d7b6"}, + {file = "black-22.10.0-1fixedarch-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:2644b5d63633702bc2c5f3754b1b475378fbbfb481f62319388235d0cd104c2d"}, + {file = "black-22.10.0-1fixedarch-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:e41a86c6c650bcecc6633ee3180d80a025db041a8e2398dcc059b3afa8382cd4"}, + {file = "black-22.10.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2039230db3c6c639bd84efe3292ec7b06e9214a2992cd9beb293d639c6402edb"}, + {file = "black-22.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14ff67aec0a47c424bc99b71005202045dc09270da44a27848d534600ac64fc7"}, + {file = "black-22.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:819dc789f4498ecc91438a7de64427c73b45035e2e3680c92e18795a839ebb66"}, + {file = "black-22.10.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5b9b29da4f564ba8787c119f37d174f2b69cdfdf9015b7d8c5c16121ddc054ae"}, + {file = "black-22.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b8b49776299fece66bffaafe357d929ca9451450f5466e997a7285ab0fe28e3b"}, + {file = "black-22.10.0-cp311-cp311-win_amd64.whl", hash = "sha256:21199526696b8f09c3997e2b4db8d0b108d801a348414264d2eb8eb2532e540d"}, + {file = "black-22.10.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1e464456d24e23d11fced2bc8c47ef66d471f845c7b7a42f3bd77bf3d1789650"}, + {file = "black-22.10.0-cp37-cp37m-win_amd64.whl", hash = "sha256:9311e99228ae10023300ecac05be5a296f60d2fd10fff31cf5c1fa4ca4b1988d"}, + {file = "black-22.10.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:fba8a281e570adafb79f7755ac8721b6cf1bbf691186a287e990c7929c7692ff"}, + {file = "black-22.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:915ace4ff03fdfff953962fa672d44be269deb2eaf88499a0f8805221bc68c87"}, + {file = "black-22.10.0-cp38-cp38-win_amd64.whl", hash = "sha256:444ebfb4e441254e87bad00c661fe32df9969b2bf224373a448d8aca2132b395"}, + {file = "black-22.10.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:974308c58d057a651d182208a484ce80a26dac0caef2895836a92dd6ebd725e0"}, + {file = "black-22.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72ef3925f30e12a184889aac03d77d031056860ccae8a1e519f6cbb742736383"}, + {file = "black-22.10.0-cp39-cp39-win_amd64.whl", hash = "sha256:432247333090c8c5366e69627ccb363bc58514ae3e63f7fc75c54b1ea80fa7de"}, + {file = "black-22.10.0-py3-none-any.whl", hash = "sha256:c957b2b4ea88587b46cf49d1dc17681c1e672864fd7af32fc1e9664d572b3458"}, + {file = "black-22.10.0.tar.gz", hash = "sha256:f513588da599943e0cde4e32cc9879e825d58720d6557062d1098c5ad80080e1"}, +] +cached-property = [ + {file = "cached-property-1.5.2.tar.gz", hash = "sha256:9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130"}, + {file = "cached_property-1.5.2-py2.py3-none-any.whl", hash = "sha256:df4f613cf7ad9a588cc381aaf4a512d26265ecebd5eb9e1ba12f1319eb85a6a0"}, +] +certifi = [ + {file = "certifi-2022.9.24-py3-none-any.whl", hash = "sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382"}, + {file = "certifi-2022.9.24.tar.gz", hash = "sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14"}, +] +charset-normalizer = [ + {file = "charset-normalizer-2.1.1.tar.gz", hash = "sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845"}, + {file = "charset_normalizer-2.1.1-py3-none-any.whl", hash = "sha256:83e9a75d1911279afd89352c68b45348559d1fc0506b054b346651b5e7fee29f"}, +] +click = [ + {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, + {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, +] +colorama = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] +coverage = [ + {file = "coverage-6.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ef8674b0ee8cc11e2d574e3e2998aea5df5ab242e012286824ea3c6970580e53"}, + {file = "coverage-6.5.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:784f53ebc9f3fd0e2a3f6a78b2be1bd1f5575d7863e10c6e12504f240fd06660"}, + {file = "coverage-6.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4a5be1748d538a710f87542f22c2cad22f80545a847ad91ce45e77417293eb4"}, + {file = "coverage-6.5.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:83516205e254a0cb77d2d7bb3632ee019d93d9f4005de31dca0a8c3667d5bc04"}, + {file = "coverage-6.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af4fffaffc4067232253715065e30c5a7ec6faac36f8fc8d6f64263b15f74db0"}, + {file = "coverage-6.5.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:97117225cdd992a9c2a5515db1f66b59db634f59d0679ca1fa3fe8da32749cae"}, + {file = "coverage-6.5.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:a1170fa54185845505fbfa672f1c1ab175446c887cce8212c44149581cf2d466"}, + {file = "coverage-6.5.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:11b990d520ea75e7ee8dcab5bc908072aaada194a794db9f6d7d5cfd19661e5a"}, + {file = "coverage-6.5.0-cp310-cp310-win32.whl", hash = "sha256:5dbec3b9095749390c09ab7c89d314727f18800060d8d24e87f01fb9cfb40b32"}, + {file = "coverage-6.5.0-cp310-cp310-win_amd64.whl", hash = "sha256:59f53f1dc5b656cafb1badd0feb428c1e7bc19b867479ff72f7a9dd9b479f10e"}, + {file = "coverage-6.5.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4a5375e28c5191ac38cca59b38edd33ef4cc914732c916f2929029b4bfb50795"}, + {file = "coverage-6.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c4ed2820d919351f4167e52425e096af41bfabacb1857186c1ea32ff9983ed75"}, + {file = "coverage-6.5.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:33a7da4376d5977fbf0a8ed91c4dffaaa8dbf0ddbf4c8eea500a2486d8bc4d7b"}, + {file = "coverage-6.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8fb6cf131ac4070c9c5a3e21de0f7dc5a0fbe8bc77c9456ced896c12fcdad91"}, + {file = "coverage-6.5.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:a6b7d95969b8845250586f269e81e5dfdd8ff828ddeb8567a4a2eaa7313460c4"}, + {file = "coverage-6.5.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1ef221513e6f68b69ee9e159506d583d31aa3567e0ae84eaad9d6ec1107dddaa"}, + {file = "coverage-6.5.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cca4435eebea7962a52bdb216dec27215d0df64cf27fc1dd538415f5d2b9da6b"}, + {file = "coverage-6.5.0-cp311-cp311-win32.whl", hash = "sha256:98e8a10b7a314f454d9eff4216a9a94d143a7ee65018dd12442e898ee2310578"}, + {file = "coverage-6.5.0-cp311-cp311-win_amd64.whl", hash = "sha256:bc8ef5e043a2af066fa8cbfc6e708d58017024dc4345a1f9757b329a249f041b"}, + {file = "coverage-6.5.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4433b90fae13f86fafff0b326453dd42fc9a639a0d9e4eec4d366436d1a41b6d"}, + {file = "coverage-6.5.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4f05d88d9a80ad3cac6244d36dd89a3c00abc16371769f1340101d3cb899fc3"}, + {file = "coverage-6.5.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:94e2565443291bd778421856bc975d351738963071e9b8839ca1fc08b42d4bef"}, + {file = "coverage-6.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:027018943386e7b942fa832372ebc120155fd970837489896099f5cfa2890f79"}, + {file = "coverage-6.5.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:255758a1e3b61db372ec2736c8e2a1fdfaf563977eedbdf131de003ca5779b7d"}, + {file = "coverage-6.5.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:851cf4ff24062c6aec510a454b2584f6e998cada52d4cb58c5e233d07172e50c"}, + {file = "coverage-6.5.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:12adf310e4aafddc58afdb04d686795f33f4d7a6fa67a7a9d4ce7d6ae24d949f"}, + {file = "coverage-6.5.0-cp37-cp37m-win32.whl", hash = "sha256:b5604380f3415ba69de87a289a2b56687faa4fe04dbee0754bfcae433489316b"}, + {file = "coverage-6.5.0-cp37-cp37m-win_amd64.whl", hash = "sha256:4a8dbc1f0fbb2ae3de73eb0bdbb914180c7abfbf258e90b311dcd4f585d44bd2"}, + {file = "coverage-6.5.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d900bb429fdfd7f511f868cedd03a6bbb142f3f9118c09b99ef8dc9bf9643c3c"}, + {file = "coverage-6.5.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2198ea6fc548de52adc826f62cb18554caedfb1d26548c1b7c88d8f7faa8f6ba"}, + {file = "coverage-6.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c4459b3de97b75e3bd6b7d4b7f0db13f17f504f3d13e2a7c623786289dd670e"}, + {file = "coverage-6.5.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:20c8ac5386253717e5ccc827caad43ed66fea0efe255727b1053a8154d952398"}, + {file = "coverage-6.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6b07130585d54fe8dff3d97b93b0e20290de974dc8177c320aeaf23459219c0b"}, + {file = "coverage-6.5.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dbdb91cd8c048c2b09eb17713b0c12a54fbd587d79adcebad543bc0cd9a3410b"}, + {file = "coverage-6.5.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:de3001a203182842a4630e7b8d1a2c7c07ec1b45d3084a83d5d227a3806f530f"}, + {file = "coverage-6.5.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:e07f4a4a9b41583d6eabec04f8b68076ab3cd44c20bd29332c6572dda36f372e"}, + {file = "coverage-6.5.0-cp38-cp38-win32.whl", hash = "sha256:6d4817234349a80dbf03640cec6109cd90cba068330703fa65ddf56b60223a6d"}, + {file = "coverage-6.5.0-cp38-cp38-win_amd64.whl", hash = "sha256:7ccf362abd726b0410bf8911c31fbf97f09f8f1061f8c1cf03dfc4b6372848f6"}, + {file = "coverage-6.5.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:633713d70ad6bfc49b34ead4060531658dc6dfc9b3eb7d8a716d5873377ab745"}, + {file = "coverage-6.5.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:95203854f974e07af96358c0b261f1048d8e1083f2de9b1c565e1be4a3a48cfc"}, + {file = "coverage-6.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b9023e237f4c02ff739581ef35969c3739445fb059b060ca51771e69101efffe"}, + {file = "coverage-6.5.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:265de0fa6778d07de30bcf4d9dc471c3dc4314a23a3c6603d356a3c9abc2dfcf"}, + {file = "coverage-6.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f830ed581b45b82451a40faabb89c84e1a998124ee4212d440e9c6cf70083e5"}, + {file = "coverage-6.5.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:7b6be138d61e458e18d8e6ddcddd36dd96215edfe5f1168de0b1b32635839b62"}, + {file = "coverage-6.5.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:42eafe6778551cf006a7c43153af1211c3aaab658d4d66fa5fcc021613d02518"}, + {file = "coverage-6.5.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:723e8130d4ecc8f56e9a611e73b31219595baa3bb252d539206f7bbbab6ffc1f"}, + {file = "coverage-6.5.0-cp39-cp39-win32.whl", hash = "sha256:d9ecf0829c6a62b9b573c7bb6d4dcd6ba8b6f80be9ba4fc7ed50bf4ac9aecd72"}, + {file = "coverage-6.5.0-cp39-cp39-win_amd64.whl", hash = "sha256:fc2af30ed0d5ae0b1abdb4ebdce598eafd5b35397d4d75deb341a614d333d987"}, + {file = "coverage-6.5.0-pp36.pp37.pp38-none-any.whl", hash = "sha256:1431986dac3923c5945271f169f59c45b8802a114c8f548d611f2015133df77a"}, + {file = "coverage-6.5.0.tar.gz", hash = "sha256:f642e90754ee3e06b0e7e51bce3379590e76b7f76b708e1a71ff043f87025c84"}, +] +dill = [ + {file = "dill-0.3.6-py3-none-any.whl", hash = "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0"}, + {file = "dill-0.3.6.tar.gz", hash = "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"}, +] +docutils = [ + {file = "docutils-0.17.1-py2.py3-none-any.whl", hash = "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61"}, + {file = "docutils-0.17.1.tar.gz", hash = "sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125"}, +] +exceptiongroup = [ + {file = "exceptiongroup-1.0.0-py3-none-any.whl", hash = "sha256:2ac84b496be68464a2da60da518af3785fff8b7ec0d090a581604bc870bdee41"}, + {file = "exceptiongroup-1.0.0.tar.gz", hash = "sha256:affbabf13fb6e98988c38d9c5650e701569fe3c1de3233cfb61c5f33774690ad"}, +] +flake8 = [ + {file = "flake8-3.9.2-py2.py3-none-any.whl", hash = "sha256:bf8fd333346d844f616e8d47905ef3a3384edae6b4e9beb0c5101e25e3110907"}, + {file = "flake8-3.9.2.tar.gz", hash = "sha256:07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b"}, +] +future = [ + {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, +] +ghp-import = [ + {file = "ghp-import-2.1.0.tar.gz", hash = "sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"}, + {file = "ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619"}, +] +gitdb = [ + {file = "gitdb-4.0.9-py3-none-any.whl", hash = "sha256:8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd"}, + {file = "gitdb-4.0.9.tar.gz", hash = "sha256:bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa"}, +] +GitPython = [ + {file = "GitPython-3.1.29-py3-none-any.whl", hash = "sha256:41eea0deec2deea139b459ac03656f0dd28fc4a3387240ec1d3c259a2c47850f"}, + {file = "GitPython-3.1.29.tar.gz", hash = "sha256:cc36bfc4a3f913e66805a28e84703e419d9c264c1077e537b54f0e1af85dbefd"}, +] +griffe = [ + {file = "griffe-0.23.0-py3-none-any.whl", hash = "sha256:cfca5f523808109da3f8cfaa46e325fa2e5bef51120d1146e908c121b56475f0"}, + {file = "griffe-0.23.0.tar.gz", hash = "sha256:a639e2968c8e27f56ebcc57f869a03cea7ac7e7f5684bd2429c665f761c4e7bd"}, +] +idna = [ + {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, + {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, +] +imagesize = [ + {file = "imagesize-1.4.1-py2.py3-none-any.whl", hash = "sha256:0d8d18d08f840c19d0ee7ca1fd82490fdc3729b7ac93f49870406ddde8ef8d8b"}, + {file = "imagesize-1.4.1.tar.gz", hash = "sha256:69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a"}, +] +importlib-metadata = [ + {file = "importlib_metadata-4.13.0-py3-none-any.whl", hash = "sha256:8a8a81bcf996e74fee46f0d16bd3eaa382a7eb20fd82445c3ad11f4090334116"}, + {file = "importlib_metadata-4.13.0.tar.gz", hash = "sha256:dd0173e8f150d6815e098fd354f6414b0f079af4644ddfe90c71e2fc6174346d"}, +] +iniconfig = [ + {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, + {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, +] +invoke = [ + {file = "invoke-1.7.3-py3-none-any.whl", hash = "sha256:d9694a865764dd3fd91f25f7e9a97fb41666e822bbb00e670091e3f43933574d"}, + {file = "invoke-1.7.3.tar.gz", hash = "sha256:41b428342d466a82135d5ab37119685a989713742be46e42a3a399d685579314"}, +] +isort = [ + {file = "isort-5.10.1-py3-none-any.whl", hash = "sha256:6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7"}, + {file = "isort-5.10.1.tar.gz", hash = "sha256:e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"}, +] +Jinja2 = [ + {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, + {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, +] +lazy-object-proxy = [ + {file = "lazy-object-proxy-1.8.0.tar.gz", hash = "sha256:c219a00245af0f6fa4e95901ed28044544f50152840c5b6a3e7b2568db34d156"}, + {file = "lazy_object_proxy-1.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4fd031589121ad46e293629b39604031d354043bb5cdf83da4e93c2d7f3389fe"}, + {file = "lazy_object_proxy-1.8.0-cp310-cp310-win32.whl", hash = "sha256:b70d6e7a332eb0217e7872a73926ad4fdc14f846e85ad6749ad111084e76df25"}, + {file = "lazy_object_proxy-1.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:eb329f8d8145379bf5dbe722182410fe8863d186e51bf034d2075eb8d85ee25b"}, + {file = "lazy_object_proxy-1.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4e2d9f764f1befd8bdc97673261b8bb888764dfdbd7a4d8f55e4fbcabb8c3fb7"}, + {file = "lazy_object_proxy-1.8.0-cp311-cp311-win32.whl", hash = "sha256:e20bfa6db17a39c706d24f82df8352488d2943a3b7ce7d4c22579cb89ca8896e"}, + {file = "lazy_object_proxy-1.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:14010b49a2f56ec4943b6cf925f597b534ee2fe1f0738c84b3bce0c1a11ff10d"}, + {file = "lazy_object_proxy-1.8.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:6850e4aeca6d0df35bb06e05c8b934ff7c533734eb51d0ceb2d63696f1e6030c"}, + {file = "lazy_object_proxy-1.8.0-cp37-cp37m-win32.whl", hash = "sha256:5b51d6f3bfeb289dfd4e95de2ecd464cd51982fe6f00e2be1d0bf94864d58acd"}, + {file = "lazy_object_proxy-1.8.0-cp37-cp37m-win_amd64.whl", hash = "sha256:6f593f26c470a379cf7f5bc6db6b5f1722353e7bf937b8d0d0b3fba911998858"}, + {file = "lazy_object_proxy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c1c7c0433154bb7c54185714c6929acc0ba04ee1b167314a779b9025517eada"}, + {file = "lazy_object_proxy-1.8.0-cp38-cp38-win32.whl", hash = "sha256:d176f392dbbdaacccf15919c77f526edf11a34aece58b55ab58539807b85436f"}, + {file = "lazy_object_proxy-1.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:afcaa24e48bb23b3be31e329deb3f1858f1f1df86aea3d70cb5c8578bfe5261c"}, + {file = "lazy_object_proxy-1.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:71d9ae8a82203511a6f60ca5a1b9f8ad201cac0fc75038b2dc5fa519589c9288"}, + {file = "lazy_object_proxy-1.8.0-cp39-cp39-win32.whl", hash = "sha256:8f6ce2118a90efa7f62dd38c7dbfffd42f468b180287b748626293bf12ed468f"}, + {file = "lazy_object_proxy-1.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:eac3a9a5ef13b332c059772fd40b4b1c3d45a3a2b05e33a361dee48e54a4dad0"}, + {file = "lazy_object_proxy-1.8.0-pp37-pypy37_pp73-any.whl", hash = "sha256:ae032743794fba4d171b5b67310d69176287b5bf82a21f588282406a79498891"}, + {file = "lazy_object_proxy-1.8.0-pp38-pypy38_pp73-any.whl", hash = "sha256:7e1561626c49cb394268edd00501b289053a652ed762c58e1081224c8d881cec"}, + {file = "lazy_object_proxy-1.8.0-pp39-pypy39_pp73-any.whl", hash = "sha256:ce58b2b3734c73e68f0e30e4e725264d4d6be95818ec0a0be4bb6bf9a7e79aa8"}, +] +Markdown = [ + {file = "Markdown-3.3.7-py3-none-any.whl", hash = "sha256:f5da449a6e1c989a4cea2631aa8ee67caa5a2ef855d551c88f9e309f4634c621"}, + {file = "Markdown-3.3.7.tar.gz", hash = "sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874"}, +] +MarkupSafe = [ + {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-win32.whl", hash = "sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6"}, + {file = "MarkupSafe-2.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-win32.whl", hash = "sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff"}, + {file = "MarkupSafe-2.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-win32.whl", hash = "sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1"}, + {file = "MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-win32.whl", hash = "sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c"}, + {file = "MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247"}, + {file = "MarkupSafe-2.1.1.tar.gz", hash = "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b"}, +] +mccabe = [ + {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, + {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, +] +mergedeep = [ + {file = "mergedeep-1.3.4-py3-none-any.whl", hash = "sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307"}, + {file = "mergedeep-1.3.4.tar.gz", hash = "sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8"}, +] +mkdocs = [ + {file = "mkdocs-1.3.1-py3-none-any.whl", hash = "sha256:fda92466393127d2da830bc6edc3a625a14b436316d1caf347690648e774c4f0"}, + {file = "mkdocs-1.3.1.tar.gz", hash = "sha256:a41a2ff25ce3bbacc953f9844ba07d106233cd76c88bac1f59cb1564ac0d87ed"}, +] +mkdocs-autorefs = [ + {file = "mkdocs-autorefs-0.4.1.tar.gz", hash = "sha256:70748a7bd025f9ecd6d6feeba8ba63f8e891a1af55f48e366d6d6e78493aba84"}, + {file = "mkdocs_autorefs-0.4.1-py3-none-any.whl", hash = "sha256:a2248a9501b29dc0cc8ba4c09f4f47ff121945f6ce33d760f145d6f89d313f5b"}, +] +mkdocs-material = [ + {file = "mkdocs-material-8.3.9.tar.gz", hash = "sha256:dc82b667d2a83f0de581b46a6d0949732ab77e7638b87ea35b770b33bc02e75a"}, + {file = "mkdocs_material-8.3.9-py2.py3-none-any.whl", hash = "sha256:263f2721f3abe533b61f7c8bed435a0462620912742c919821ac2d698b4bfe67"}, +] +mkdocs-material-extensions = [ + {file = "mkdocs_material_extensions-1.1-py3-none-any.whl", hash = "sha256:bcc2e5fc70c0ec50e59703ee6e639d87c7e664c0c441c014ea84461a90f1e902"}, + {file = "mkdocs_material_extensions-1.1.tar.gz", hash = "sha256:96ca979dae66d65c2099eefe189b49d5ac62f76afb59c38e069ffc7cf3c131ec"}, +] +mkdocs-version-annotations = [ + {file = "mkdocs-version-annotations-1.0.0.tar.gz", hash = "sha256:6786024b37d27b330fda240b76ebec8e7ce48bd5a9d7a66e99804559d088dffa"}, + {file = "mkdocs_version_annotations-1.0.0-py3-none-any.whl", hash = "sha256:385004eb4a7530dd87a227e08cd907ce7a8fe21fdf297720a4149c511bcf05f5"}, +] +mkdocstrings = [ + {file = "mkdocstrings-0.19.0-py3-none-any.whl", hash = "sha256:3217d510d385c961f69385a670b2677e68e07b5fea4a504d86bf54c006c87c7d"}, + {file = "mkdocstrings-0.19.0.tar.gz", hash = "sha256:efa34a67bad11229d532d89f6836a8a215937548623b64f3698a1df62e01cc3e"}, +] +mkdocstrings-python = [ + {file = "mkdocstrings-python-0.7.1.tar.gz", hash = "sha256:c334b382dca202dfa37071c182418a6df5818356a95d54362a2b24822ca3af71"}, + {file = "mkdocstrings_python-0.7.1-py3-none-any.whl", hash = "sha256:a22060bfa374697678e9af4e62b020d990dad2711c98f7a9fac5c0345bef93c7"}, +] +mypy-extensions = [ + {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, + {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, +] +packaging = [ + {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, + {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, +] +pathspec = [ + {file = "pathspec-0.10.1-py3-none-any.whl", hash = "sha256:46846318467efc4556ccfd27816e004270a9eeeeb4d062ce5e6fc7a87c573f93"}, + {file = "pathspec-0.10.1.tar.gz", hash = "sha256:7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d"}, +] +pbr = [ + {file = "pbr-5.11.0-py2.py3-none-any.whl", hash = "sha256:db2317ff07c84c4c63648c9064a79fe9d9f5c7ce85a9099d4b6258b3db83225a"}, + {file = "pbr-5.11.0.tar.gz", hash = "sha256:b97bc6695b2aff02144133c2e7399d5885223d42b7912ffaec2ca3898e673bfe"}, +] +platformdirs = [ + {file = "platformdirs-2.5.2-py3-none-any.whl", hash = "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788"}, + {file = "platformdirs-2.5.2.tar.gz", hash = "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19"}, +] +pluggy = [ + {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, + {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, +] +pycodestyle = [ + {file = "pycodestyle-2.7.0-py2.py3-none-any.whl", hash = "sha256:514f76d918fcc0b55c6680472f0a37970994e07bbb80725808c17089be302068"}, + {file = "pycodestyle-2.7.0.tar.gz", hash = "sha256:c389c1d06bf7904078ca03399a4816f974a1d590090fecea0c63ec26ebaf1cef"}, +] +pydocstyle = [ + {file = "pydocstyle-6.1.1-py3-none-any.whl", hash = "sha256:6987826d6775056839940041beef5c08cc7e3d71d63149b48e36727f70144dc4"}, + {file = "pydocstyle-6.1.1.tar.gz", hash = "sha256:1d41b7c459ba0ee6c345f2eb9ae827cab14a7533a88c5c6f7e94923f72df92dc"}, +] +pyflakes = [ + {file = "pyflakes-2.3.1-py2.py3-none-any.whl", hash = "sha256:7893783d01b8a89811dd72d7dfd4d84ff098e5eed95cfa8905b22bbffe52efc3"}, + {file = "pyflakes-2.3.1.tar.gz", hash = "sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db"}, +] +Pygments = [ + {file = "Pygments-2.13.0-py3-none-any.whl", hash = "sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42"}, + {file = "Pygments-2.13.0.tar.gz", hash = "sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1"}, +] +pylint = [ + {file = "pylint-2.13.9-py3-none-any.whl", hash = "sha256:705c620d388035bdd9ff8b44c5bcdd235bfb49d276d488dd2c8ff1736aa42526"}, + {file = "pylint-2.13.9.tar.gz", hash = "sha256:095567c96e19e6f57b5b907e67d265ff535e588fe26b12b5ebe1fc5645b2c731"}, +] +pymdown-extensions = [ + {file = "pymdown_extensions-9.7-py3-none-any.whl", hash = "sha256:767d07d9dead0f52f5135545c01f4ed627f9a7918ee86c646d893e24c59db87d"}, + {file = "pymdown_extensions-9.7.tar.gz", hash = "sha256:651b0107bc9ee790aedea3673cb88832c0af27d2569cf45c2de06f1d65292e96"}, +] +pyparsing = [ + {file = "pyparsing-3.0.9-py3-none-any.whl", hash = "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"}, + {file = "pyparsing-3.0.9.tar.gz", hash = "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb"}, +] +pytest = [ + {file = "pytest-7.2.0-py3-none-any.whl", hash = "sha256:892f933d339f068883b6fd5a459f03d85bfcb355e4981e146d2c7616c21fef71"}, + {file = "pytest-7.2.0.tar.gz", hash = "sha256:c4014eb40e10f11f355ad4e3c2fb2c6c6d1919c73f3b5a433de4708202cade59"}, +] +python-dateutil = [ + {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, + {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, +] +pytz = [ + {file = "pytz-2022.5-py2.py3-none-any.whl", hash = "sha256:335ab46900b1465e714b4fda4963d87363264eb662aab5e65da039c25f1f5b22"}, + {file = "pytz-2022.5.tar.gz", hash = "sha256:c4d88f472f54d615e9cd582a5004d1e5f624854a6a27a6211591c251f22a6914"}, +] +PyYAML = [ + {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, + {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, + {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, + {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, + {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"}, + {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"}, + {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"}, + {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"}, + {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"}, + {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"}, + {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"}, + {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"}, + {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"}, + {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"}, + {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"}, + {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"}, + {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"}, + {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"}, + {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"}, + {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"}, + {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"}, + {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"}, + {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"}, + {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"}, + {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, +] +pyyaml_env_tag = [ + {file = "pyyaml_env_tag-0.1-py3-none-any.whl", hash = "sha256:af31106dec8a4d68c60207c1886031cbf839b68aa7abccdb19868200532c2069"}, + {file = "pyyaml_env_tag-0.1.tar.gz", hash = "sha256:70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb"}, +] +requests = [ + {file = "requests-2.28.1-py3-none-any.whl", hash = "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349"}, + {file = "requests-2.28.1.tar.gz", hash = "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"}, +] +"ruamel.yaml" = [ + {file = "ruamel.yaml-0.17.21-py3-none-any.whl", hash = "sha256:742b35d3d665023981bd6d16b3d24248ce5df75fdb4e2924e93a05c1f8b61ca7"}, + {file = "ruamel.yaml-0.17.21.tar.gz", hash = "sha256:8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af"}, +] +"ruamel.yaml.clib" = [ + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d5859983f26d8cd7bb5c287ef452e8aacc86501487634573d260968f753e1d71"}, + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:debc87a9516b237d0466a711b18b6ebeb17ba9f391eb7f91c649c5c4ec5006c7"}, + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:df5828871e6648db72d1c19b4bd24819b80a755c4541d3409f0f7acd0f335c80"}, + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:efa08d63ef03d079dcae1dfe334f6c8847ba8b645d08df286358b1f5293d24ab"}, + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-win32.whl", hash = "sha256:763d65baa3b952479c4e972669f679fe490eee058d5aa85da483ebae2009d231"}, + {file = "ruamel.yaml.clib-0.2.7-cp310-cp310-win_amd64.whl", hash = "sha256:d000f258cf42fec2b1bbf2863c61d7b8918d31ffee905da62dede869254d3b8a"}, + {file = "ruamel.yaml.clib-0.2.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:045e0626baf1c52e5527bd5db361bc83180faaba2ff586e763d3d5982a876a9e"}, + {file = "ruamel.yaml.clib-0.2.7-cp311-cp311-macosx_12_6_arm64.whl", hash = "sha256:721bc4ba4525f53f6a611ec0967bdcee61b31df5a56801281027a3a6d1c2daf5"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:4b3a93bb9bc662fc1f99c5c3ea8e623d8b23ad22f861eb6fce9377ac07ad6072"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-macosx_12_0_arm64.whl", hash = "sha256:a234a20ae07e8469da311e182e70ef6b199d0fbeb6c6cc2901204dd87fb867e8"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:15910ef4f3e537eea7fe45f8a5d19997479940d9196f357152a09031c5be59f3"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:370445fd795706fd291ab00c9df38a0caed0f17a6fb46b0f607668ecb16ce763"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-win32.whl", hash = "sha256:ecdf1a604009bd35c674b9225a8fa609e0282d9b896c03dd441a91e5f53b534e"}, + {file = "ruamel.yaml.clib-0.2.7-cp36-cp36m-win_amd64.whl", hash = "sha256:f34019dced51047d6f70cb9383b2ae2853b7fc4dce65129a5acd49f4f9256646"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2aa261c29a5545adfef9296b7e33941f46aa5bbd21164228e833412af4c9c75f"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-macosx_12_0_arm64.whl", hash = "sha256:f01da5790e95815eb5a8a138508c01c758e5f5bc0ce4286c4f7028b8dd7ac3d0"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:40d030e2329ce5286d6b231b8726959ebbe0404c92f0a578c0e2482182e38282"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:c3ca1fbba4ae962521e5eb66d72998b51f0f4d0f608d3c0347a48e1af262efa7"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-win32.whl", hash = "sha256:7bdb4c06b063f6fd55e472e201317a3bb6cdeeee5d5a38512ea5c01e1acbdd93"}, + {file = "ruamel.yaml.clib-0.2.7-cp37-cp37m-win_amd64.whl", hash = "sha256:be2a7ad8fd8f7442b24323d24ba0b56c51219513cfa45b9ada3b87b76c374d4b"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:91a789b4aa0097b78c93e3dc4b40040ba55bef518f84a40d4442f713b4094acb"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:99e77daab5d13a48a4054803d052ff40780278240a902b880dd37a51ba01a307"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:3243f48ecd450eddadc2d11b5feb08aca941b5cd98c9b1db14b2fd128be8c697"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:8831a2cedcd0f0927f788c5bdf6567d9dc9cc235646a434986a852af1cb54b4b"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-win32.whl", hash = "sha256:3110a99e0f94a4a3470ff67fc20d3f96c25b13d24c6980ff841e82bafe827cac"}, + {file = "ruamel.yaml.clib-0.2.7-cp38-cp38-win_amd64.whl", hash = "sha256:92460ce908546ab69770b2e576e4f99fbb4ce6ab4b245345a3869a0a0410488f"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5bc0667c1eb8f83a3752b71b9c4ba55ef7c7058ae57022dd9b29065186a113d9"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:4a4d8d417868d68b979076a9be6a38c676eca060785abaa6709c7b31593c35d1"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:bf9a6bc4a0221538b1a7de3ed7bca4c93c02346853f44e1cd764be0023cd3640"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:a7b301ff08055d73223058b5c46c55638917f04d21577c95e00e0c4d79201a6b"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-win32.whl", hash = "sha256:d5e51e2901ec2366b79f16c2299a03e74ba4531ddcfacc1416639c557aef0ad8"}, + {file = "ruamel.yaml.clib-0.2.7-cp39-cp39-win_amd64.whl", hash = "sha256:184faeaec61dbaa3cace407cffc5819f7b977e75360e8d5ca19461cd851a5fc5"}, + {file = "ruamel.yaml.clib-0.2.7.tar.gz", hash = "sha256:1f08fd5a2bea9c4180db71678e850b995d2a5f4537be0e94557668cf0f5f9497"}, +] +setuptools = [ + {file = "setuptools-65.5.0-py3-none-any.whl", hash = "sha256:f62ea9da9ed6289bfe868cd6845968a2c854d1427f8548d52cae02a42b4f0356"}, + {file = "setuptools-65.5.0.tar.gz", hash = "sha256:512e5536220e38146176efb833d4a62aa726b7bbff82cfbc8ba9eaa3996e0b17"}, +] +six = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] +smmap = [ + {file = "smmap-5.0.0-py3-none-any.whl", hash = "sha256:2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94"}, + {file = "smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"}, +] +snowballstemmer = [ + {file = "snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a"}, + {file = "snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"}, +] +Sphinx = [ + {file = "Sphinx-5.3.0.tar.gz", hash = "sha256:51026de0a9ff9fc13c05d74913ad66047e104f56a129ff73e174eb5c3ee794b5"}, + {file = "sphinx-5.3.0-py3-none-any.whl", hash = "sha256:060ca5c9f7ba57a08a1219e547b269fadf125ae25b06b9fa7f66768efb652d6d"}, +] +sphinx-rtd-theme = [ + {file = "sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl", hash = "sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8"}, + {file = "sphinx_rtd_theme-1.0.0.tar.gz", hash = "sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c"}, +] +sphinxcontrib-applehelp = [ + {file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"}, + {file = "sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a"}, +] +sphinxcontrib-devhelp = [ + {file = "sphinxcontrib-devhelp-1.0.2.tar.gz", hash = "sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4"}, + {file = "sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, +] +sphinxcontrib-htmlhelp = [ + {file = "sphinxcontrib-htmlhelp-2.0.0.tar.gz", hash = "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"}, + {file = "sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl", hash = "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07"}, +] +sphinxcontrib-jsmath = [ + {file = "sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, + {file = "sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl", hash = "sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178"}, +] +sphinxcontrib-qthelp = [ + {file = "sphinxcontrib-qthelp-1.0.3.tar.gz", hash = "sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72"}, + {file = "sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"}, +] +sphinxcontrib-serializinghtml = [ + {file = "sphinxcontrib-serializinghtml-1.1.5.tar.gz", hash = "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"}, + {file = "sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl", hash = "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd"}, +] +stevedore = [ + {file = "stevedore-3.5.2-py3-none-any.whl", hash = "sha256:fa2630e3d0ad3e22d4914aff2501445815b9a4467a6edc49387c667a38faf5bf"}, + {file = "stevedore-3.5.2.tar.gz", hash = "sha256:cf99f41fc0d5a4f185ca4d3d42b03be9011b0a1ec1a4ea1a282be1b4b306dcc2"}, +] +textfsm = [ + {file = "textfsm-1.1.3-py2.py3-none-any.whl", hash = "sha256:dcbeebc6a6137bed561c71a56344d752e6dbc04ae5ea309252cb70fb97ccc9cd"}, + {file = "textfsm-1.1.3.tar.gz", hash = "sha256:577ef278a9237f5341ae9b682947cefa4a2c1b24dbe486f94f2c95addc6504b5"}, +] +toml = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] +tomli = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] +typed-ast = [ + {file = "typed_ast-1.5.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4"}, + {file = "typed_ast-1.5.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62"}, + {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac"}, + {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe"}, + {file = "typed_ast-1.5.4-cp310-cp310-win_amd64.whl", hash = "sha256:a9916d2bb8865f973824fb47436fa45e1ebf2efd920f2b9f99342cb7fab93f72"}, + {file = "typed_ast-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec"}, + {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47"}, + {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6"}, + {file = "typed_ast-1.5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:639c5f0b21776605dd6c9dbe592d5228f021404dafd377e2b7ac046b0349b1a1"}, + {file = "typed_ast-1.5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6"}, + {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66"}, + {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6778e1b2f81dfc7bc58e4b259363b83d2e509a65198e85d5700dfae4c6c8ff1c"}, + {file = "typed_ast-1.5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:0261195c2062caf107831e92a76764c81227dae162c4f75192c0d489faf751a2"}, + {file = "typed_ast-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d"}, + {file = "typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f"}, + {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc"}, + {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6"}, + {file = "typed_ast-1.5.4-cp38-cp38-win_amd64.whl", hash = "sha256:683407d92dc953c8a7347119596f0b0e6c55eb98ebebd9b23437501b28dcbb8e"}, + {file = "typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35"}, + {file = "typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97"}, + {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3"}, + {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72"}, + {file = "typed_ast-1.5.4-cp39-cp39-win_amd64.whl", hash = "sha256:0fdbcf2fef0ca421a3f5912555804296f0b0960f0418c440f5d6d3abb549f3e1"}, + {file = "typed_ast-1.5.4.tar.gz", hash = "sha256:39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2"}, +] +typing-extensions = [ + {file = "typing_extensions-4.4.0-py3-none-any.whl", hash = "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"}, + {file = "typing_extensions-4.4.0.tar.gz", hash = "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"}, +] +urllib3 = [ + {file = "urllib3-1.26.12-py2.py3-none-any.whl", hash = "sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997"}, + {file = "urllib3-1.26.12.tar.gz", hash = "sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e"}, +] +watchdog = [ + {file = "watchdog-2.1.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a735a990a1095f75ca4f36ea2ef2752c99e6ee997c46b0de507ba40a09bf7330"}, + {file = "watchdog-2.1.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b17d302850c8d412784d9246cfe8d7e3af6bcd45f958abb2d08a6f8bedf695d"}, + {file = "watchdog-2.1.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ee3e38a6cc050a8830089f79cbec8a3878ec2fe5160cdb2dc8ccb6def8552658"}, + {file = "watchdog-2.1.9-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:64a27aed691408a6abd83394b38503e8176f69031ca25d64131d8d640a307591"}, + {file = "watchdog-2.1.9-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:195fc70c6e41237362ba720e9aaf394f8178bfc7fa68207f112d108edef1af33"}, + {file = "watchdog-2.1.9-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:bfc4d351e6348d6ec51df007432e6fe80adb53fd41183716017026af03427846"}, + {file = "watchdog-2.1.9-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8250546a98388cbc00c3ee3cc5cf96799b5a595270dfcfa855491a64b86ef8c3"}, + {file = "watchdog-2.1.9-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:117ffc6ec261639a0209a3252546b12800670d4bf5f84fbd355957a0595fe654"}, + {file = "watchdog-2.1.9-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:97f9752208f5154e9e7b76acc8c4f5a58801b338de2af14e7e181ee3b28a5d39"}, + {file = "watchdog-2.1.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:247dcf1df956daa24828bfea5a138d0e7a7c98b1a47cf1fa5b0c3c16241fcbb7"}, + {file = "watchdog-2.1.9-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:226b3c6c468ce72051a4c15a4cc2ef317c32590d82ba0b330403cafd98a62cfd"}, + {file = "watchdog-2.1.9-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:d9820fe47c20c13e3c9dd544d3706a2a26c02b2b43c993b62fcd8011bcc0adb3"}, + {file = "watchdog-2.1.9-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:70af927aa1613ded6a68089a9262a009fbdf819f46d09c1a908d4b36e1ba2b2d"}, + {file = "watchdog-2.1.9-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ed80a1628cee19f5cfc6bb74e173f1b4189eb532e705e2a13e3250312a62e0c9"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_aarch64.whl", hash = "sha256:9f05a5f7c12452f6a27203f76779ae3f46fa30f1dd833037ea8cbc2887c60213"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_armv7l.whl", hash = "sha256:255bb5758f7e89b1a13c05a5bceccec2219f8995a3a4c4d6968fe1de6a3b2892"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_i686.whl", hash = "sha256:d3dda00aca282b26194bdd0adec21e4c21e916956d972369359ba63ade616153"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_ppc64.whl", hash = "sha256:186f6c55abc5e03872ae14c2f294a153ec7292f807af99f57611acc8caa75306"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:083171652584e1b8829581f965b9b7723ca5f9a2cd7e20271edf264cfd7c1412"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_s390x.whl", hash = "sha256:b530ae007a5f5d50b7fbba96634c7ee21abec70dc3e7f0233339c81943848dc1"}, + {file = "watchdog-2.1.9-py3-none-manylinux2014_x86_64.whl", hash = "sha256:4f4e1c4aa54fb86316a62a87b3378c025e228178d55481d30d857c6c438897d6"}, + {file = "watchdog-2.1.9-py3-none-win32.whl", hash = "sha256:5952135968519e2447a01875a6f5fc8c03190b24d14ee52b0f4b1682259520b1"}, + {file = "watchdog-2.1.9-py3-none-win_amd64.whl", hash = "sha256:7a833211f49143c3d336729b0020ffd1274078e94b0ae42e22f596999f50279c"}, + {file = "watchdog-2.1.9-py3-none-win_ia64.whl", hash = "sha256:ad576a565260d8f99d97f2e64b0f97a48228317095908568a9d5c786c829d428"}, + {file = "watchdog-2.1.9.tar.gz", hash = "sha256:43ce20ebb36a51f21fa376f76d1d4692452b2527ccd601950d69ed36b9e21609"}, +] +wrapt = [ + {file = "wrapt-1.14.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:1b376b3f4896e7930f1f772ac4b064ac12598d1c38d04907e696cc4d794b43d3"}, + {file = "wrapt-1.14.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:903500616422a40a98a5a3c4ff4ed9d0066f3b4c951fa286018ecdf0750194ef"}, + {file = "wrapt-1.14.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5a9a0d155deafd9448baff28c08e150d9b24ff010e899311ddd63c45c2445e28"}, + {file = "wrapt-1.14.1-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:ddaea91abf8b0d13443f6dac52e89051a5063c7d014710dcb4d4abb2ff811a59"}, + {file = "wrapt-1.14.1-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:36f582d0c6bc99d5f39cd3ac2a9062e57f3cf606ade29a0a0d6b323462f4dd87"}, + {file = "wrapt-1.14.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:7ef58fb89674095bfc57c4069e95d7a31cfdc0939e2a579882ac7d55aadfd2a1"}, + {file = "wrapt-1.14.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e2f83e18fe2f4c9e7db597e988f72712c0c3676d337d8b101f6758107c42425b"}, + {file = "wrapt-1.14.1-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:ee2b1b1769f6707a8a445162ea16dddf74285c3964f605877a20e38545c3c462"}, + {file = "wrapt-1.14.1-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:833b58d5d0b7e5b9832869f039203389ac7cbf01765639c7309fd50ef619e0b1"}, + {file = "wrapt-1.14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:80bb5c256f1415f747011dc3604b59bc1f91c6e7150bd7db03b19170ee06b320"}, + {file = "wrapt-1.14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:07f7a7d0f388028b2df1d916e94bbb40624c59b48ecc6cbc232546706fac74c2"}, + {file = "wrapt-1.14.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:02b41b633c6261feff8ddd8d11c711df6842aba629fdd3da10249a53211a72c4"}, + {file = "wrapt-1.14.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2fe803deacd09a233e4762a1adcea5db5d31e6be577a43352936179d14d90069"}, + {file = "wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:257fd78c513e0fb5cdbe058c27a0624c9884e735bbd131935fd49e9fe719d310"}, + {file = "wrapt-1.14.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4fcc4649dc762cddacd193e6b55bc02edca674067f5f98166d7713b193932b7f"}, + {file = "wrapt-1.14.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:11871514607b15cfeb87c547a49bca19fde402f32e2b1c24a632506c0a756656"}, + {file = "wrapt-1.14.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8ad85f7f4e20964db4daadcab70b47ab05c7c1cf2a7c1e51087bfaa83831854c"}, + {file = "wrapt-1.14.1-cp310-cp310-win32.whl", hash = "sha256:a9a52172be0b5aae932bef82a79ec0a0ce87288c7d132946d645eba03f0ad8a8"}, + {file = "wrapt-1.14.1-cp310-cp310-win_amd64.whl", hash = "sha256:6d323e1554b3d22cfc03cd3243b5bb815a51f5249fdcbb86fda4bf62bab9e164"}, + {file = "wrapt-1.14.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:43ca3bbbe97af00f49efb06e352eae40434ca9d915906f77def219b88e85d907"}, + {file = "wrapt-1.14.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:6b1a564e6cb69922c7fe3a678b9f9a3c54e72b469875aa8018f18b4d1dd1adf3"}, + {file = "wrapt-1.14.1-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:00b6d4ea20a906c0ca56d84f93065b398ab74b927a7a3dbd470f6fc503f95dc3"}, + {file = "wrapt-1.14.1-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:a85d2b46be66a71bedde836d9e41859879cc54a2a04fad1191eb50c2066f6e9d"}, + {file = "wrapt-1.14.1-cp35-cp35m-win32.whl", hash = "sha256:dbcda74c67263139358f4d188ae5faae95c30929281bc6866d00573783c422b7"}, + {file = "wrapt-1.14.1-cp35-cp35m-win_amd64.whl", hash = "sha256:b21bb4c09ffabfa0e85e3a6b623e19b80e7acd709b9f91452b8297ace2a8ab00"}, + {file = "wrapt-1.14.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:9e0fd32e0148dd5dea6af5fee42beb949098564cc23211a88d799e434255a1f4"}, + {file = "wrapt-1.14.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9736af4641846491aedb3c3f56b9bc5568d92b0692303b5a305301a95dfd38b1"}, + {file = "wrapt-1.14.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5b02d65b9ccf0ef6c34cba6cf5bf2aab1bb2f49c6090bafeecc9cd81ad4ea1c1"}, + {file = "wrapt-1.14.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21ac0156c4b089b330b7666db40feee30a5d52634cc4560e1905d6529a3897ff"}, + {file = "wrapt-1.14.1-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:9f3e6f9e05148ff90002b884fbc2a86bd303ae847e472f44ecc06c2cd2fcdb2d"}, + {file = "wrapt-1.14.1-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:6e743de5e9c3d1b7185870f480587b75b1cb604832e380d64f9504a0535912d1"}, + {file = "wrapt-1.14.1-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:d79d7d5dc8a32b7093e81e97dad755127ff77bcc899e845f41bf71747af0c569"}, + {file = "wrapt-1.14.1-cp36-cp36m-win32.whl", hash = "sha256:81b19725065dcb43df02b37e03278c011a09e49757287dca60c5aecdd5a0b8ed"}, + {file = "wrapt-1.14.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b014c23646a467558be7da3d6b9fa409b2c567d2110599b7cf9a0c5992b3b471"}, + {file = "wrapt-1.14.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:88bd7b6bd70a5b6803c1abf6bca012f7ed963e58c68d76ee20b9d751c74a3248"}, + {file = "wrapt-1.14.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b5901a312f4d14c59918c221323068fad0540e34324925c8475263841dbdfe68"}, + {file = "wrapt-1.14.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d77c85fedff92cf788face9bfa3ebaa364448ebb1d765302e9af11bf449ca36d"}, + {file = "wrapt-1.14.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d649d616e5c6a678b26d15ece345354f7c2286acd6db868e65fcc5ff7c24a77"}, + {file = "wrapt-1.14.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7d2872609603cb35ca513d7404a94d6d608fc13211563571117046c9d2bcc3d7"}, + {file = "wrapt-1.14.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:ee6acae74a2b91865910eef5e7de37dc6895ad96fa23603d1d27ea69df545015"}, + {file = "wrapt-1.14.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:2b39d38039a1fdad98c87279b48bc5dce2c0ca0d73483b12cb72aa9609278e8a"}, + {file = "wrapt-1.14.1-cp37-cp37m-win32.whl", hash = "sha256:60db23fa423575eeb65ea430cee741acb7c26a1365d103f7b0f6ec412b893853"}, + {file = "wrapt-1.14.1-cp37-cp37m-win_amd64.whl", hash = "sha256:709fe01086a55cf79d20f741f39325018f4df051ef39fe921b1ebe780a66184c"}, + {file = "wrapt-1.14.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8c0ce1e99116d5ab21355d8ebe53d9460366704ea38ae4d9f6933188f327b456"}, + {file = "wrapt-1.14.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:e3fb1677c720409d5f671e39bac6c9e0e422584e5f518bfd50aa4cbbea02433f"}, + {file = "wrapt-1.14.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:642c2e7a804fcf18c222e1060df25fc210b9c58db7c91416fb055897fc27e8cc"}, + {file = "wrapt-1.14.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7b7c050ae976e286906dd3f26009e117eb000fb2cf3533398c5ad9ccc86867b1"}, + {file = "wrapt-1.14.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ef3f72c9666bba2bab70d2a8b79f2c6d2c1a42a7f7e2b0ec83bb2f9e383950af"}, + {file = "wrapt-1.14.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:01c205616a89d09827986bc4e859bcabd64f5a0662a7fe95e0d359424e0e071b"}, + {file = "wrapt-1.14.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:5a0f54ce2c092aaf439813735584b9537cad479575a09892b8352fea5e988dc0"}, + {file = "wrapt-1.14.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:2cf71233a0ed05ccdabe209c606fe0bac7379fdcf687f39b944420d2a09fdb57"}, + {file = "wrapt-1.14.1-cp38-cp38-win32.whl", hash = "sha256:aa31fdcc33fef9eb2552cbcbfee7773d5a6792c137b359e82879c101e98584c5"}, + {file = "wrapt-1.14.1-cp38-cp38-win_amd64.whl", hash = "sha256:d1967f46ea8f2db647c786e78d8cc7e4313dbd1b0aca360592d8027b8508e24d"}, + {file = "wrapt-1.14.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3232822c7d98d23895ccc443bbdf57c7412c5a65996c30442ebe6ed3df335383"}, + {file = "wrapt-1.14.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:988635d122aaf2bdcef9e795435662bcd65b02f4f4c1ae37fbee7401c440b3a7"}, + {file = "wrapt-1.14.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cca3c2cdadb362116235fdbd411735de4328c61425b0aa9f872fd76d02c4e86"}, + {file = "wrapt-1.14.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d52a25136894c63de15a35bc0bdc5adb4b0e173b9c0d07a2be9d3ca64a332735"}, + {file = "wrapt-1.14.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40e7bc81c9e2b2734ea4bc1aceb8a8f0ceaac7c5299bc5d69e37c44d9081d43b"}, + {file = "wrapt-1.14.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b9b7a708dd92306328117d8c4b62e2194d00c365f18eff11a9b53c6f923b01e3"}, + {file = "wrapt-1.14.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:6a9a25751acb379b466ff6be78a315e2b439d4c94c1e99cb7266d40a537995d3"}, + {file = "wrapt-1.14.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:34aa51c45f28ba7f12accd624225e2b1e5a3a45206aa191f6f9aac931d9d56fe"}, + {file = "wrapt-1.14.1-cp39-cp39-win32.whl", hash = "sha256:dee0ce50c6a2dd9056c20db781e9c1cfd33e77d2d569f5d1d9321c641bb903d5"}, + {file = "wrapt-1.14.1-cp39-cp39-win_amd64.whl", hash = "sha256:dee60e1de1898bde3b238f18340eec6148986da0455d8ba7848d50470a7a32fb"}, + {file = "wrapt-1.14.1.tar.gz", hash = "sha256:380a85cf89e0e69b7cfbe2ea9f765f004ff419f34194018a6827ac0e3edfed4d"}, +] +yamllint = [ + {file = "yamllint-1.28.0-py2.py3-none-any.whl", hash = "sha256:89bb5b5ac33b1ade059743cf227de73daa34d5e5a474b06a5e17fc16583b0cf2"}, + {file = "yamllint-1.28.0.tar.gz", hash = "sha256:9e3d8ddd16d0583214c5fdffe806c9344086721f107435f68bad990e5a88826b"}, +] +zipp = [ + {file = "zipp-3.10.0-py3-none-any.whl", hash = "sha256:4fcb6f278987a6605757302a6e40e896257570d11c51628968ccb2a47e80c6c1"}, + {file = "zipp-3.10.0.tar.gz", hash = "sha256:7a7262fd930bd3e36c50b9a64897aec3fafff3dfdeec9623ae22b40e93f99bb8"}, +] diff --git a/pyproject.toml b/pyproject.toml index 3a03e85392..3adb31c889 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,48 +1,121 @@ -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - [tool.poetry] name = "ntc_templates" version = "3.1.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" -readme = "README.md" +homepage = "https://ntc-templates.readthedocs.io" repository = "https://github.com/networktocode/ntc-templates" +documentation = "https://ntc-templates.readthedocs.io" +readme = "README.md" +keywords = ["textfsm", "network parsers"] +classifiers = [ + "Intended Audience :: Developers", + "Development Status :: 4 - Beta", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", +] +include = [ + "LICENSE", + "README.md", + "ntc_templates/templates/*.textfsm", + "ntc_templates/templates/index", +] [tool.poetry.dependencies] -python = "^3.6" +python = "^3.7" textfsm = "^1.1.0" [tool.poetry.dev-dependencies] -tox = "*" -yamllint = "*" -black = {version="*", python=">3.6.2"} +bandit = "*" +black = "*" +coverage = "*" +invoke = "*" +flake8 = "*" +importlib-metadata = "<5.0" +pylint = "*" pytest = "*" +pyyaml = "*" +pydocstyle = "*" +sphinx-rtd-theme = "*" +toml = "*" +yamllint = "*" "ruamel.yaml" = "*" -flake8 = "*" +mkdocs = "1.3.1" +mkdocs-material = "8.3.9" +mkdocstrings = "0.19" +mkdocstrings-python = "0.7.1" +mkdocs-version-annotations = "1.0.0" [tool.poetry.extras] test = ["pytest"] [tool.black] -line-length = 90 -target-version = ['py38'] +line-length = 120 +target-version = ['py37'] include = '\.pyi?$' exclude = ''' -/( - \.eggs - | \.git - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | venv - | _build - | buck-out - | build - | dist -)/ -| test-templates\.py +( + /( + \.eggs # exclude a few common directories in the + | \.git # root of the project + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | _build + | buck-out + | build + | dist + )/ + | settings.py # This is where you define files that should not be stylized by black + # the root of the project +) ''' + +[tool.pylint.master] +ignore=".venv" + +[tool.pylint.basic] +# No docstrings required for private methods (Pylint default), or for test_ functions, or for inner Meta classes. +no-docstring-rgx="^(_|test_|Meta$)" + +[tool.pylint.messages_control] +# Line length is enforced by Black, so pylint doesn't need to check it. +# Pylint and Black disagree about how to format multi-line arrays; Black wins. +disable = """, + line-too-long, + redefined-outer-name + """ + +[tool.pylint.miscellaneous] +# Don't flag TODO as a failure, let us commit with things that still need to be done in the code +notes = """, + FIXME, + XXX, + """ + +[tool.pydocstyle] +convention = "google" +inherit = false +match = "(?!__init__).*\\.py" +match-dir = "(?!tests|migrations|development)[^\\.].*" +# D212 is enabled by default in google convention, and complains if we have a docstring like: +# """ +# My docstring is on the line after the opening quotes instead of on the same line as them. +# """ +# We've discussed and concluded that we consider this to be a valid style choice. +add_ignore = "D212" + +[build-system] +requires = ["poetry_core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.pytest.ini_options] +testpaths = [ + "tests" +] +addopts = "-vv --doctest-modules" diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000000..0c6fe3f979 --- /dev/null +++ b/tasks.py @@ -0,0 +1,211 @@ +"""Tasks for use with Invoke.""" +import os +import sys +from distutils.util import strtobool +from invoke import task + +try: + import toml +except ImportError: + sys.exit("Please make sure to `pip install toml` or enable the Poetry shell and run `poetry install`.") + + +def is_truthy(arg): + """Convert "truthy" strings into Booleans. + + Examples: + >>> is_truthy('yes') + True + + Args: + arg (str): Truthy string (True values are y, yes, t, true, on and 1; false values are n, no, + f, false, off and 0. Raises ValueError if val is anything else. + """ + if isinstance(arg, bool): + return arg + return bool(strtobool(arg)) + + +PYPROJECT_CONFIG = toml.load("pyproject.toml") +TOOL_CONFIG = PYPROJECT_CONFIG["tool"]["poetry"] + +# Can be set to a separate Python version to be used for launching or building image +PYTHON_VER = os.getenv("PYTHON_VER", "3.7") +# Name of the docker image/image +IMAGE_NAME = os.getenv("IMAGE_NAME", TOOL_CONFIG["name"]) +# Tag for the image +IMAGE_VER = os.getenv("IMAGE_VER", f"{TOOL_CONFIG['version']}-py{PYTHON_VER}") +# Gather current working directory for Docker commands +PWD = os.getcwd() +# Local or Docker execution provide "local" to run locally without docker execution +INVOKE_LOCAL = is_truthy(os.getenv("INVOKE_LOCAL", False)) # pylint: disable=W1508 + + +def run_cmd(context, exec_cmd, local=INVOKE_LOCAL, port=None): + """Wrapper to run the invoke task commands. + + Args: + context ([invoke.task]): Invoke task object. + exec_cmd ([str]): Command to run. + local (bool): Define as `True` to execute locally + + Returns: + result (obj): Contains Invoke result from running task. + """ + if is_truthy(local): + print(f"LOCAL - Running command {exec_cmd}") + result = context.run(exec_cmd, pty=True) + else: + print(f"DOCKER - Running command: {exec_cmd} container: {IMAGE_NAME}:{IMAGE_VER}") + if port: + result = context.run( + f"docker run -it -p {port} -v {PWD}:/local {IMAGE_NAME}:{IMAGE_VER} sh -c '{exec_cmd}'", pty=True + ) + else: + result = context.run( + f"docker run -it -v {PWD}:/local {IMAGE_NAME}:{IMAGE_VER} sh -c '{exec_cmd}'", pty=True + ) + + return result + + +@task( + help={ + "cache": "Whether to use Docker's cache when building images (default enabled)", + "force_rm": "Always remove intermediate images", + "hide": "Suppress output from Docker", + } +) +def build(context, cache=True, force_rm=False, hide=False): + """Build a Docker image.""" + print(f"Building image {IMAGE_NAME}:{IMAGE_VER}") + command = f"docker build --tag {IMAGE_NAME}:{IMAGE_VER} --build-arg PYTHON_VER={PYTHON_VER} -f Dockerfile ." + + if not cache: + command += " --no-cache" + if force_rm: + command += " --force-rm" + + result = context.run(command, hide=hide) + if result.exited != 0: + print(f"Failed to build image {IMAGE_NAME}:{IMAGE_VER}\nError: {result.stderr}") + + +@task +def clean(context): + """Remove the project specific image.""" + print(f"Attempting to forcefully remove image {IMAGE_NAME}:{IMAGE_VER}") + context.run(f"docker rmi {IMAGE_NAME}:{IMAGE_VER} --force") + print(f"Successfully removed image {IMAGE_NAME}:{IMAGE_VER}") + + +@task +def rebuild(context): + """Clean the Docker image and then rebuild without using cache.""" + clean(context) + build(context, cache=False) + + +@task(help={"local": "Run locally or within the Docker container"}) +def pytest(context, local=INVOKE_LOCAL): + """Run pytest test cases.""" + exec_cmd = "pytest" + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def black(context, local=INVOKE_LOCAL): + """Run black to check that Python files adherence to black standards.""" + exec_cmd = "black --check --diff ." + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def flake8(context, local=INVOKE_LOCAL): + """Run flake8 code analysis.""" + exec_cmd = "flake8 . --config .flake8" + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def pylint(context, local=INVOKE_LOCAL): + """Run pylint code analysis.""" + exec_cmd = 'find . -name "*.py" | xargs pylint' + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def yamllint(context, local=INVOKE_LOCAL): + """Run yamllint to validate formatting adheres to NTC defined YAML standards.""" + exec_cmd = "yamllint ." + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def pydocstyle(context, local=INVOKE_LOCAL): + """Run pydocstyle to validate docstring formatting adheres to NTC defined standards.""" + exec_cmd = "pydocstyle ." + run_cmd(context, exec_cmd, local) + + +@task(help={"local": "Run locally or within the Docker container"}) +def bandit(context, local=INVOKE_LOCAL): + """Run bandit to validate basic static code security analysis.""" + exec_cmd = "bandit --recursive ./ --configfile .bandit.yml" + run_cmd(context, exec_cmd, local) + + +@task +def cli(context): + """Enter the image to perform troubleshooting or dev work.""" + dev = f"docker run -it -v {PWD}:/local {IMAGE_NAME}:{IMAGE_VER} /bin/bash" + context.run(f"{dev}", pty=True) + + +@task(help={"local": "Run locally or within the Docker container"}) +def tests(context, local=INVOKE_LOCAL): + """Run all tests for this repository.""" + black(context, local) + flake8(context, local) + pylint(context, local) + yamllint(context, local) + pydocstyle(context, local) + bandit(context, local) + pytest(context, local) + + print("All tests have passed!") + + +@task +def docs(context, local=INVOKE_LOCAL): + """Build and serve docs locally for development.""" + exec_cmd = "mkdocs serve -v --dev-addr=0.0.0.0:8001" + run_cmd(context, exec_cmd, local, port="8001:8001") + + +@task +def clean_yaml_file(context, file, local=INVOKE_LOCAL): + """Transform a yaml file to expected output.""" + exec_cmd = f"python cli.py clean-yaml-file -f {file}" + run_cmd(context, exec_cmd, local) + + +@task +def clean_yaml_folder(context, folder, local=INVOKE_LOCAL): + """Transform a yaml file to expected output to a folder.""" + exec_cmd = f"python cli.py clean-yaml-folder -f {folder}" + run_cmd(context, exec_cmd, local) + + +@task +def gen_yaml_file(context, file, local=INVOKE_LOCAL): + """Generate a yaml file from raw a data file.""" + exec_cmd = f"python cli.py gen-yaml-file -f {file}" + run_cmd(context, exec_cmd, local) + + +@task +def gen_yaml_folder(context, folder, local=INVOKE_LOCAL): + """Generate a yaml file from folder of raw data files.""" + exec_cmd = f"python cli.py gen-yaml-folder -f {folder}" + run_cmd(context, exec_cmd, local) diff --git a/tests/__init__.py b/tests/__init__.py index 8292f8f927..31117810f1 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -8,6 +8,6 @@ def load_index_data(): """Load data from index file.""" - with open("{0}{1}index".format(_get_template_dir(), os.sep)) as indexfs: + with open(f"{_get_template_dir()}{os.sep}index", encoding="utf-8") as indexfs: data = csv.reader(indexfs) return [row for row in data if len(row) > 2 and row[0] != "Template"] diff --git a/tests/test_development_scripts.py b/tests/test_development_scripts.py index f714f98147..3599bff620 100644 --- a/tests/test_development_scripts.py +++ b/tests/test_development_scripts.py @@ -1,57 +1,510 @@ +"""Tests that original from the developer test suite.""" import os import glob +import numbers +import re from copy import deepcopy import pytest -from ruamel.yaml.compat import StringIO -import development_scripts +from ruamel.yaml import YAML +from ruamel.yaml.compat import StringIO +from ruamel.yaml.scalarstring import DoubleQuotedScalarString as DQ + +from ntc_templates.parse import parse_output + +FILE_PATH = os.path.abspath(__file__) +FILE_DIR = os.path.dirname(FILE_PATH) +TEST_DIR = f"{FILE_DIR}/tests" +YAML_OBJECT = YAML() +YAML_OBJECT.explicit_start = True +YAML_OBJECT.indent(sequence=4, offset=2) +YAML_OBJECT.block_style = True +RE_MULTILINE_REMARK = re.compile(r"(.*\n\s*#)(.*)") + + +def ensure_spacing_for_multiline_comment(remark): + r""" + Finds all comments and ensures a single space after "#" symbol. + + Args: + remark (str): The remark of a comment from a ``ruamel.yaml.token.CommentToken``. + + Returns: + str: The ``remark`` formatted with a single space after comment start, "#" + + Example: + >>> remark = "comment 11\n# comment 12\n#comment 13\n" + >>> remark_formatted = ensure_spacing_for_multiline_comment(remark) + >>> # Formatting has normalized each comment to have a single space after the "#" + >>> remark_formatted + 'comment 11\n# comment 12\n# comment 13' + >>> + """ + remarks = re.findall(RE_MULTILINE_REMARK, remark) + # remarks that don't have a subsequent comment are not captured by regex + if not remarks: + remarks = (("", remark),) + # Example remarks: [('comment \n#', ' comment2 '), ('\n #', 'comment3 # 9')] + remark_formatted = "".join([entry[0] + " " + entry[1].strip() for entry in remarks]) + return remark_formatted + + +def ensure_space_after_octothorpe(comment): + r""" + Ensures a single space is between the "#" and first letter of a comment. + + Args: + comment (ruamel.yaml.token.CommentToken): The comment to update. + + Returns: + None: The comment is updated in place. + + Example: + >>> from ruamel.yaml import YAML + >>> yml = YAML() + >>> with open("test.yml", encoding="utf-8") as fh: # doctest: +SKIP + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) # doctest: +SKIP + + >>> comment = data.ca.items["b"][2] # doctest: +SKIP + >>> comment # doctest: +SKIP + CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5) + >>> ensure_space_after_octothorpe(comment) # doctest: +SKIP + >>> # Both comments within the CommentToken object + >>> # now have a space between the "#" and the first symbol + >>> comment # doctest: +SKIP + CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5) + >>> + """ + if comment is not None: + # Comments can start with whitespace, + # so partition is used to preserve that in the final result + space, _, remark = comment.value.partition("#") + remark_formatted = ensure_spacing_for_multiline_comment(remark) + comment.value = f"{space}# {remark_formatted.lstrip()}\n" + + +def ensure_space_comments(comments): + r""" + Ensures there is a space after the "#" in comments. + + Args: + comments (iter): The comments from ruamel.yaml.YAML() object. + + Returns: + None: Comments are update in place. + + Example: + >>> from ruamel.yaml import YAML + >>> yml = YAML() + >>> with open("test.yml", encoding="utf-8") as fh: # doctest: +SKIP + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) # doctest: +SKIP + + >>> comments = data.ca.items.values() # doctest: +SKIP + >>> comments # doctest: +SKIP + dict_values([ + [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], + [None, None, CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5), None], + [None, None, None, [CommentToken('#comment 7\n', line: 10, col: 2)]] + ]) + >>> ensure_space_comments(comments) # doctest: +SKIP + >>> # Every comment now has a space between the "#" and the first symbol + >>> comments # doctest: +SKIP + dict_values([ + [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], + [None, None, CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5), None], + [None, None, None, [CommentToken('# comment 7\n', line: 10, col: 2)]] + ]) + >>> + """ + comment_objects = (comment for comment_list in comments for comment in comment_list) + for comment in comment_objects: + # Some comments are nested inside an additional list + if not isinstance(comment, list): + ensure_space_after_octothorpe(comment) + else: + for cmt in comment: + ensure_space_after_octothorpe(cmt) + + +def update_yaml_comments(yaml_object): + """ + Ensures comments have a space after the "#" on itself and its entries. + + Args: + yaml_object (ruamel.yaml.comments.CommentedMap | ruamel.yaml.comments.CommentedSeq): The list or dict object. + + Returns: + None: Comments are updated in place. + + Example: + >>> from ruamel.yaml import YAML + >>> yml = YAML() + >>> with open("test.yml", encoding="utf-8") as fh: # doctest: +SKIP + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) # doctest: +SKIP + + >>> update_yaml_comments(data) # doctest: +SKIP + >>> with open("test.yml", "w", encoding="utf-8") as fh: # doctest: +SKIP + ... yml.dump(data, fh) + ... + >>> + # Notice that comments now have a space between the hash and first symbol. + >>> with open("test.yml", encoding="utf-8") as fh: # doctest: +SKIP + ... print(fh.read()) + ... + a: 5 # comment 1 + b: 6 # comment 2 + #comment 3 + c: + - 7 # comment 4 + #comment 5 + - 8 + # comment 6 + d: + # comment 7 + e: a # comment 8 + f: + - 9 + # comment 9 + - 10 + - a: + a: 8 + # comment 10 + b: 1 + - b: 1 + - 9 + # comment 11 + # comment 12 + # comment 13 + + >>> + """ + comments = yaml_object.ca.items.values() + ensure_space_comments(comments) + try: + yaml_object_values = yaml_object.values() + except AttributeError: + yaml_object_values = yaml_object + + for entry in yaml_object_values: + if isinstance(entry, (dict, list)): + update_yaml_comments(entry) + + +def transform_file(filepath): + """ + Loads YAML file and formats to adhere to yamllint config. + + Args: + filepath (str): The full path to a YAML file. + + Returns: + None: File I/O is performed to ensure YAML file adheres to yamllint config. + + Example: + >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.yml" + >>> transform_file(filepath) + >>> + """ + with open(filepath, encoding="utf-8") as parsed_file: + parsed_object = YAML_OBJECT.load(parsed_file) + + ensure_yaml_standards(parsed_object, filepath) + + +def transform_glob(dirpath): + """ + Globs for YAML files and formats to adhere to yamllint config. + + Every file in ``dirpath`` ending in ``.yml`` will be formatted according to + yamllint config. Since this is using glob, the directory string passed in can + also include glob syntax (see ``Example``) + + Args: + dirpath (str): The path to search for files with ``.yml`` extension. + + Returns: + None: File I/O is performed to ensure YAML files adhere to yamllint config. + + Example: + >>> dirpath = "tests/*/*" + >>> transform_file(dirpath) # doctest: +SKIP + # Each filename is printed to the terminal + >>> + """ + # This commented out code was used for mass renaming of files; + # it is probably not needed anymore + # for file in glob.iglob("{0}/*.parsed".format(dirpath)): + # os.rename(file, file.replace(file[-6:], "yml")) + for file in glob.iglob(f"{dirpath}/*.yml"): + print(file) + transform_file(file) + + +def ensure_yaml_standards(parsed_object, output_path): + """ + Ensures YAML files adhere to yamllint config as defined in this project. + + Args: + parsed_object (dict): The TextFSM/CliTable data converted to a list of dicts. + The list of dicts must be the value of a dictionary key, ``parsed_sample``. + output_path (str): The filepath to write the ``parsed_object`` to. + + Returns: + None: File I/O is performed to write ``parsed_object`` to ``output_path``. + """ + for entry in parsed_object["parsed_sample"]: + # TextFSM conversion will allways be a list of dicts + for key, value in entry.items(): + # TextFSM capture groups always return strings or lists + # This also accounts for numbers incase the YAML was done by hand + if isinstance(value, (str, numbers.Number)): + entry[key] = DQ(value) + else: + entry[key] = [DQ(val) for val in value] + try: + update_yaml_comments(parsed_object) + except AttributeError: + pass + + with open(output_path, "w", encoding="utf-8") as parsed_file: + YAML_OBJECT.dump(parsed_object, parsed_file) + + +def parse_test_filepath(filepath): + """ + Parses fullpath of test file to obtain platform, command, and filename info. + + Args: + filepath (str): The path to a test file from platform directory or earlier. + + Returns: + tuple: Strings of platform, command, and the filename without the extension. + + Example: + >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" + >>> platform, command, filename = parse_test_filepath(filepath) + >>> print(platform) + cisco_ios + >>> print(command) + show version + >>> print(filename) + cisco_ios_show_version + >>> + """ + command_dir, filename = os.path.split(filepath) + platform_dir, command = os.path.split(command_dir) + _, platform = os.path.split(platform_dir) + + command_without_underscores = command.replace("_", " ") + filename_without_extension, _ = filename.rsplit(".", 1) + + return platform, command_without_underscores, filename_without_extension + + +def build_parsed_data_from_output(filepath, test_dir=TEST_DIR): + """ + Generates a YAML file from the file containing the raw command output. + + The command output should be stored in a file in the appropriate directory; + for example, ``tests/cisco_ios/show_version/cisco_ios_show_version.raw`` + This uses ``lib.ntc_templates.parse.parse_output``, so the template must + be in the ``templates/`` directory, and ``templates/index`` must be updated + with the correct entry for the template. + + Args: + filepath (str): The path to the file containing sample command output. + test_dir (str): The root directory to story the resulting YAML file. + + Returns + None: File I/O is performed to generate a YAML file pased on command output. + + Example: + >>> root_dir = "tests/cisco_ios/dir" + >>> os.listdir(root_dir) # doctest: +SKIP + ['cisco_ios_dir.raw'] + >>> filepath = "tests/cisco_ios/dir/cisco_ios_dir.raw" + >>> build_parsed_data_from_output(filepath) # doctest: +SKIP + >>> os.listdir(root_dir) # doctest: +SKIP + ['cisco_ios_dir.raw', 'cisco_ios_dir.yml'] + >>> + """ + platform, command, filename = parse_test_filepath(filepath) + with open(filepath, encoding="utf-8") as output_file: + output_data = output_file.read() + + structured_data = parse_output(platform, command, output_data) + + command_with_underscores = command.replace(" ", "_") + yaml_file = f"{test_dir}/{platform}/{command_with_underscores}/{filename}.yml" + ensure_yaml_standards({"parsed_sample": structured_data}, yaml_file) + + +def build_parsed_data_from_dir(dirpath, test_dir=TEST_DIR): + """ + Globs for files ending in ``.raw`` and generates YAML files based on TextFSM ouptut. + + Every file in ``dirpath`` ending in ``.raw`` will be parsed with TextFSM and written + to a YAML file following the yamllint config standards. Since this is using glob, the + directory string passed in can also include glob syntax. + + Args: + dirpath (str): The path to search for files with ``.raw`` extension. + + Returns: + None: File I/O is performed to ensure YAML files exist for each test output file. + + Example: + >>> dirpath = "tests/cisco_ios/show_mac-address-table" + >>> build_parsed_data_from_dir(dirpath) # doctest: +SKIP + # Each filename is printed to the terminal + >>> + """ + for file in glob.iglob(f"{dirpath}/*.raw"): + print(file) + build_parsed_data_from_output(file, test_dir) @pytest.fixture(scope="module") def yaml_comments_file(): - with open("tests/mocks/load/yaml_comments.yml", encoding="utf-8") as fh: - return development_scripts.YAML_OBJECT.load(fh) + """Yaml comments tests.""" + with open("tests/mocks/load/yaml_comments.yml", encoding="utf-8") as file_handler: + return YAML_OBJECT.load(file_handler) @pytest.fixture def copy_yaml_comments(yaml_comments_file): + """Helper to copy yaml comments.""" return deepcopy(yaml_comments_file) @pytest.fixture def teardown_normalize_file(): + """Test fixture to normalize a file.""" filepaths = {} def _teardown_normalize_file(filepath): - with open(filepath, encoding="utf-8") as fh: - contents = fh.read() + with open(filepath, encoding="utf-8") as file_handler: + contents = file_handler.read() filepaths[filepath] = contents yield _teardown_normalize_file for filepath, contents in filepaths.items(): - with open(filepath, "w", encoding="utf-8") as fh: - fh.write(contents) + with open(filepath, "w", encoding="utf-8") as file_handler: + file_handler.write(contents) @pytest.fixture(scope="module") def expected_file(): + """Test fixture to find the expected yaml file.""" expected_path = "tests/mocks/expected/parsed_sample.yml" - with open(expected_path, encoding="utf-8") as fh: - return fh.read() + with open(expected_path, encoding="utf-8") as file_handler: + return file_handler.read() @pytest.fixture(scope="module") def expected_mac_file(): + """Test fixture to find the expected mac yaml file.""" expected_path = "tests/mocks/expected/show_mac.yml" - with open(expected_path, encoding="utf-8") as fh: - return fh.read() + with open(expected_path, encoding="utf-8") as file_handler: + return file_handler.read() @pytest.fixture def teardown_delete_file(): + """Test fixture to delete a file.""" filepaths = [] def _teardown_delete_file(filepath): @@ -65,39 +518,39 @@ def _teardown_delete_file(filepath): def test_ensure_spacing_for_multiline_comment(): remark = "comment 11\n# comment 12\n#comment 13\n" - remark_formatted = development_scripts.ensure_spacing_for_multiline_comment(remark) + remark_formatted = ensure_spacing_for_multiline_comment(remark) assert remark_formatted == "comment 11\n# comment 12\n# comment 13" def test_ensure_space_after_octothorpe(copy_yaml_comments): comment = copy_yaml_comments.ca.items["b"][2] - development_scripts.ensure_space_after_octothorpe(comment) + ensure_space_after_octothorpe(comment) assert comment.value == "# comment 2\n# comment 3\n" def test_ensure_space_comments(copy_yaml_comments): comments = copy_yaml_comments.ca.items comment_values = comments.values() - development_scripts.ensure_space_comments(comment_values) + ensure_space_comments(comment_values) assert comments["a"][2].value == "# comment 1\n" assert comments["b"][2].value == "# comment 2\n# comment 3\n" assert comments["d"][3][0].value == "# comment 7\n" def test_update_yaml_comments(copy_yaml_comments): - development_scripts.update_yaml_comments(copy_yaml_comments) + update_yaml_comments(copy_yaml_comments) string_yaml = StringIO() - development_scripts.YAML_OBJECT.dump(copy_yaml_comments, string_yaml) + YAML_OBJECT.dump(copy_yaml_comments, string_yaml) actual = string_yaml.getvalue() - with open("tests/mocks/expected/yaml_comments.yml", encoding="utf-8") as fh: - expected = fh.read() + with open("tests/mocks/expected/yaml_comments.yml", encoding="utf-8") as file_handler: + expected = file_handler.read() assert actual == expected def test_transform_file(teardown_normalize_file, expected_file): load_file = "tests/mocks/load/parsed_sample.yml" teardown_normalize_file(load_file) - development_scripts.transform_file(load_file) + transform_file(load_file) with open(load_file, encoding="utf-8") as actual: assert actual.read() == expected_file @@ -108,7 +561,7 @@ def test_transform_glob(teardown_normalize_file, expected_file): for file in parsed_files: teardown_normalize_file(file) - development_scripts.transform_glob(glob_dir) + transform_glob(glob_dir) for file in parsed_files: with open(file, encoding="utf-8") as actual: assert actual.read() == expected_file @@ -117,17 +570,17 @@ def test_transform_glob(teardown_normalize_file, expected_file): def test_ensure_yaml_standards(teardown_normalize_file, expected_file): load_file = "tests/mocks/load/parsed_sample.yml" teardown_normalize_file(load_file) - with open(load_file, encoding="utf-8") as fh: - load_yaml = development_scripts.YAML_OBJECT.load(fh) + with open(load_file, encoding="utf-8") as file_handler: + load_yaml = YAML_OBJECT.load(file_handler) - development_scripts.ensure_yaml_standards(load_yaml, load_file) + ensure_yaml_standards(load_yaml, load_file) with open(load_file, encoding="utf-8") as actual: assert actual.read() == expected_file def test_parse_test_filepath(): filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" - platform, command, filename = development_scripts.parse_test_filepath(filepath) + platform, command, filename = parse_test_filepath(filepath) assert platform == "cisco_ios" assert command == "show version" assert filename == "cisco_ios_show_version" @@ -137,7 +590,7 @@ def test_build_parsed_data_from_output(teardown_delete_file, expected_mac_file): load_file = "tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw" yaml_file = f"{load_file[:-3]}yml" teardown_delete_file(yaml_file) - development_scripts.build_parsed_data_from_output(load_file, test_dir="tests/mocks") + build_parsed_data_from_output(load_file, test_dir="tests/mocks") with open(yaml_file, encoding="utf-8") as actual: assert actual.read() == expected_mac_file @@ -149,7 +602,7 @@ def test_build_parsed_data_from_dir(teardown_delete_file, expected_mac_file): for file in parsed_files: teardown_delete_file(file) - development_scripts.build_parsed_data_from_dir(glob_dir, test_dir="tests/mocks") + build_parsed_data_from_dir(glob_dir, test_dir="tests/mocks") for file in parsed_files: with open(file, encoding="utf-8") as actual: assert actual.read() == expected_mac_file diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 9d10678e3d..f2280c2802 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +"""Tests to check the order of the index file.""" import re from tests import load_index_data @@ -61,9 +61,10 @@ RE_TEMPLATE_OS = re.compile(rf"^({CHOICES_STRING})") -def check_order( +def check_order( # pylint: disable=too-many-arguments,too-many-arguments,too-many-return-statements current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd ): + """Enforcing the complex logic to ensure that the index file is ordered correctly.""" add_os_check = [] if current_os not in used_os and used_os is not None: @@ -71,44 +72,36 @@ def check_order( add_os_check.append(current_os) if used_os != sorted(used_os): - msg = "OS's are not in alpabetical order, current order: '{0}'".format(used_os) + msg = f"OS's are not in alpabetical order, current order: '{used_os}'" return False, msg - elif add_os_check != sorted(add_os_check): - msg = "OS's are not in alpabetical order, current order: '{0}'".format( - add_os_check - ) + if add_os_check != sorted(add_os_check): + msg = f"OS's are not in alpabetical order, current order: '{add_os_check}'" return False, msg if current_os not in os_choices: - msg = "'{0}' is not one of the valid options '{1}'".format(current_os, used_os) + msg = f"'{current_os}' is not one of the valid options '{used_os}'" return False, msg if not prior_os and prior_len == 0: # Starting Point return True, "" - elif current_os == prior_os and cmd_len == prior_len and cmd == min(prior_cmd, cmd): - msg = ( - "OS is the same and command same length, " - "please set {0} before {1} to be in alphabetical order".format(cmd, prior_cmd) - ) + if current_os == prior_os and cmd_len == prior_len and cmd == min(prior_cmd, cmd): + msg = f"OS is the same and command same length, please set {cmd} before {prior_cmd} to be in alphabetical order" return False, msg - elif current_os == prior_os and cmd_len <= prior_len: + if current_os == prior_os and cmd_len <= prior_len: # OS is the same as previous, and cmd_len is smaller or equal to prior so good return True, "" - elif current_os != prior_os and current_os not in used_os: + if current_os != prior_os and current_os not in used_os: # prior OS has changed, do not need to check for length yet return True, "" - elif current_os == prior_os and cmd_len > prior_len: - msg = "Current Command len '{0}' larger then previous '{1}', for command '{2}'".format( - cmd_len, prior_len, cmd - ) - return False, msg - elif current_os != prior_os and current_os in used_os: - msg = "'{0}' OS was already used in list on command '{1}'".format(current_os, cmd) + if current_os == prior_os and cmd_len > prior_len: + msg = f"Current Command len '{cmd_len}' larger then previous '{prior_len}', for command '{cmd}'" return False, msg - else: - msg = "Failed for unknown reason" + if current_os != prior_os and current_os in used_os: + msg = f"'{current_os}' OS was already used in list on command '{cmd}'" return False, msg + msg = "Failed for unknown reason" + return False, msg def test_index_ordering(): @@ -121,19 +114,19 @@ def test_index_ordering(): for row in index: template = row[0].strip() os_match = RE_TEMPLATE_OS.match(template) - os = os_match.group(0) + current_os = os_match.group(0) cmd = "_".join(template.split("_")[2:]) cmd_len = len(cmd) check_val, check_msg = check_order( - os, prior_os, cmd_len, prior_len, OS_CHOICES, used_os, cmd, prior_cmd + current_os, prior_os, cmd_len, prior_len, OS_CHOICES, used_os, cmd, prior_cmd ) if not check_val: # assertFalse(check_val, msg=check_msg) - print("Error on line: {0}".format(row)) - print("Error Message: {0}".format(check_msg)) + print(f"Error on line: {row}") + print(f"Error Message: {check_msg}") assert check_val - if os not in used_os: - used_os.append(os) + if current_os not in used_os: + used_os.append(current_os) prior_len = cmd_len prior_cmd = cmd - prior_os = os + prior_os = current_os diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index 78ea8afc4c..32d7be1115 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -13,11 +13,9 @@ def return_test_files(): """Return a list of all the *.raw files to run tests against.""" platform_dirs = glob.glob("tests/*") - platforms = (glob.glob("{0}/*".format(platform)) for platform in platform_dirs) + platforms = (glob.glob(f"{platform}/*") for platform in platform_dirs) template_dirs = (item for sublist in platforms for item in sublist) - test_commands = ( - glob.glob("{0}/*.raw".format(template_dir)) for template_dir in template_dirs - ) + test_commands = (glob.glob(f"{template_dir}/*.raw") for template_dir in template_dirs) return (item for sublist in test_commands for item in sublist) @@ -30,14 +28,14 @@ def load_template_test(request): def raw_template_test(raw_file): """Return structured data along with reference data.""" - parsed_file = "{0}.yml".format(raw_file[:-4]) + parsed_file = f"{raw_file[:-4]}.yml" parts = os.path.normpath(raw_file).split(os.sep) platform = parts[1] command = " ".join(parts[2].split("_")) - with open(raw_file, "r") as data: + with open(raw_file, "r", encoding="utf-8") as data: rawoutput = data.read() structured = parse_output(platform=platform, command=command, data=rawoutput) - with open(parsed_file, "r") as data: + with open(parsed_file, "r", encoding="utf-8") as data: parsed_data = yaml.safe_load(data.read()) return structured, parsed_data["parsed_sample"] @@ -66,9 +64,9 @@ def all_entries_have_the_same_keys_test(processed, reference): This will create a test for each of the files in the test_collection variable. """ - for i in range(len(processed)): - proc = set(processed[i].keys()) - ref = set(reference[i].keys()) + for count, value in enumerate(processed): + proc = set(value.keys()) + ref = set(reference[count].keys()) diff = proc.symmetric_difference(ref) assert not diff, "Key diffs: " + ", ".join(diff) @@ -84,8 +82,6 @@ def correct_data_in_entries_test(processed, reference): # reference = sorted(reference) # processed = sorted(processed) - for i in range(len(reference)): - for key in reference[i].keys(): - assert processed[i][key] == reference[i][key], "entry #{0}, key: {1}".format( - i, key - ) + for count, value in enumerate(reference): + for key in value.keys(): + assert processed[count][key] == value[key], f"entry #{count}, key: {key}" diff --git a/tox.ini b/tox.ini deleted file mode 100644 index fca6188fa8..0000000000 --- a/tox.ini +++ /dev/null @@ -1,30 +0,0 @@ -[tox] -isolated_build = True -envlist = py36,py37,py38,py39,black,flake8,yamllint -skip_missing_interpreters = true -download = true - -[testenv] -passenv = TRAVIS TRAVIS_* -whitelist_externals = poetry -deps = poetry -commands = - poetry install - python -m pytest -v {posargs} - -[testenv:black] -deps = black -commands = black ./ --diff --check - -[testenv:flake8] -deps = flake8 -commands = flake8 ./ - -[testenv:yamllint] -deps = yamllint -commands = yamllint ./ - -[flake8] -# Line length managed by black -ignore = E501 -exclude = .git,.tox,.venv,venv From cd7c28a99e3d5bc4f28b826fc446fe947f967101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Thu, 3 Nov 2022 17:38:28 +0100 Subject: [PATCH 313/412] Add Huawei VRP display nat server template (#1219) --- .../huawei_vrp_display_nat_server.textfsm | 22 +++++++++++++++ ntc_templates/templates/index | 1 + .../huawei_vrp_nat_server.raw | 28 +++++++++++++++++++ .../huawei_vrp_nat_server.yml | 26 +++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_nat_server.textfsm create mode 100644 tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.raw create mode 100644 tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.yml diff --git a/ntc_templates/templates/huawei_vrp_display_nat_server.textfsm b/ntc_templates/templates/huawei_vrp_display_nat_server.textfsm new file mode 100644 index 0000000000..a0ebc18bb1 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_nat_server.textfsm @@ -0,0 +1,22 @@ +Value Filldown INTERFACE (\S+) +Value Required GLOBAL_IP_PORT (.+) +Value INSIDE_IP_PORT ((\d{1,3}.){3}\d{1,3}\/\d+(\(\w+\))?) +Value PROTOCOL (\d+(\(\w+\))?|\w+) +Value VPN (\S+) +Value ACL (\S+) +Value VRRP_ID (\S+) +Value DESCRIPTION (.+) + +Start + ^\s*Nat\s+Server\s+Information:\s*$$ + ^\s+Interface\s+:\s+${INTERFACE}\s*$$ + ^\s+Global\s+IP\/Port\s+:\s+${GLOBAL_IP_PORT}\s*$$ + ^\s+Inside\s+IP\/Port\s+:\s+${INSIDE_IP_PORT}\s*$$ + ^\s+Protocol\s+:\s+${PROTOCOL}\s*$$ + ^\s+VPN\s+instance-name\s+:\s+${VPN}\s*$$ + ^\s+Acl\s+number\s+:\s+${ACL}\s*$$ + ^\s+Vrrp\s+id\s+:\s+${VRRP_ID}\s*$$ + ^\s+Description\s+:\s+${DESCRIPTION}\s*$$ -> Record + ^\s*Total\s+:\s+\d+\s*$$ + ^\s*$$ + ^.*$$ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 9cb30c7925..ba81b393e7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -471,6 +471,7 @@ huawei_vrp_display_service-set_all.textfsm, .*, huawei_vrp, dis[[play]] service- huawei_vrp_display_ipv6_neighbors.textfsm, .*, huawei_vrp, dis[[play]] ipv6 n[[eighbors]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, dis[[play]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[perature]] +huawei_vrp_display_nat_server.textfsm, .*, huawei_vrp, dis[[play]] na[[t]] ser[[ver]] huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] diff --git a/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.raw b/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.raw new file mode 100644 index 0000000000..1e68a0a2b7 --- /dev/null +++ b/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.raw @@ -0,0 +1,28 @@ + Nat Server Information: + Interface : Dialer1 + Global IP/Port : current-interface/8080 (Real IP : 192.214.198.156) + Inside IP/Port : 192.168.1.24/80(www) + Protocol : 6(tcp) + VPN instance-name : ---- + Acl number : 2600 + Vrrp id : ---- + Description : ---- + + Global IP/Port : current-interface/8080 (Real IP : 192.214.198.156) + Inside IP/Port : 192.168.1.24/80 + Protocol : 17(udp) + VPN instance-name : ---- + Acl number : 2600 + Vrrp id : ---- + Description : ---- + + Interface : Vlanif300 + Global IP/Port : current-interface/0(any) (Real IP : 2.2.2.2) + Inside IP/Port : 10.1.1.1/0(any) + Protocol : 6(tcp) + VPN instance-name : ---- + Acl number : ---- + Vrrp id : ---- + Description : ---- + + Total : 3 diff --git a/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.yml b/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.yml new file mode 100644 index 0000000000..f42706f5df --- /dev/null +++ b/tests/huawei_vrp/display_nat_server/huawei_vrp_nat_server.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "Dialer1" + global_ip_port: "current-interface/8080 (Real IP : 192.214.198.156)" + inside_ip_port: "192.168.1.24/80(www)" + protocol: "6(tcp)" + vpn: "----" + acl: "2600" + vrrp_id: "----" + description: "----" + - interface: "Dialer1" + global_ip_port: "current-interface/8080 (Real IP : 192.214.198.156)" + inside_ip_port: "192.168.1.24/80" + protocol: "17(udp)" + vpn: "----" + acl: "2600" + vrrp_id: "----" + description: "----" + - interface: "Vlanif300" + global_ip_port: "current-interface/0(any) (Real IP : 2.2.2.2)" + inside_ip_port: "10.1.1.1/0(any)" + protocol: "6(tcp)" + vpn: "----" + acl: "----" + vrrp_id: "----" + description: "----" From 6c1ac2e038dd94f45a458e65cc98acad39995baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Thu, 3 Nov 2022 17:39:05 +0100 Subject: [PATCH 314/412] Add Huawei VRP display acl and acl ipv6 template (#1218) --- .../huawei_vrp_display_acl_all.textfsm | 21 +++ ntc_templates/templates/index | 1 + .../huawei_vrp_display_acl_all_1.raw | 24 ++++ .../huawei_vrp_display_acl_all_1.yml | 134 ++++++++++++++++++ .../huawei_vrp_display_acl_ipv6_all_1.raw | 5 + .../huawei_vrp_display_acl_ipv6_all_1.yml | 14 ++ 6 files changed, 199 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_acl_all.textfsm create mode 100644 tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw create mode 100644 tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml create mode 100644 tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw create mode 100644 tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml diff --git a/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm b/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm new file mode 100644 index 0000000000..99abc7b538 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm @@ -0,0 +1,21 @@ +Value Filldown ACL_NAME (.*?) +Value Filldown ACL_NUMBER (\d+) +Value Required SN (\d+) +Value ACTION (deny|permit) +Value PROTOCOL (\d+|icmp(v6)?|tcp|udp|gre|igmp|ip(v6)?|ipinip|ospf) +Value SOURCE (((\d+.){3}\d+|[0-9a-fA-F]{1,4}([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4})[\/\s]((\d+.){3}\d+|\d+)) +Value SOURCE_PORT_MODIFIER (eq|lt|gt|range) +Value SOURCE_PORT_RANGE ((\d+)(\s(\d+))?) +Value DESTINATION (((\d+.){3}\d+|[0-9a-fA-F]{1,4}([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4})[\/\s]((\d+.){3}\d+|\d+)) +Value DESTINATION_PORT_MODIFIER (eq|lt|gt|range) +Value DESTINATION_PORT_RANGE ((\d+)(\s(\d+))?) +Value MATCHES (\d+) + +Start + ^\s*Total\squantity\sof\snonempty\sACL\snumber\sis\s\d+\s*$$ + ^\s*Total\snonempty\sacl6\snumber\sis\s\d+\s*$$ + ^\S+(\sIPv6)?\sACL\s(${ACL_NAME}\s)?${ACL_NUMBER},\s\d+.*$$ + ^\s*Acl's\sstep\sis\s\d+\s*$$ + ^\s*rule\s${SN}\s${ACTION}(\s${PROTOCOL})?(\ssource\s${SOURCE})?(\ssource-port\s${SOURCE_PORT_MODIFIER}\s${SOURCE_PORT_RANGE})?(\sdestination\s${DESTINATION})?(\sdestination-port\s${DESTINATION_PORT_MODIFIER}\s${DESTINATION_PORT_RANGE})?(\s\(${MATCHES}\smatch(es)?\))?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ba81b393e7..38b2ad277c 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -475,6 +475,7 @@ huawei_vrp_display_nat_server.textfsm, .*, huawei_vrp, dis[[play]] na[[t]] ser[[ huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] +huawei_vrp_display_acl_all.textfsm, .*, huawei_vrp, dis[[play]] acl(\si[[pv6]])? a[[ll]] huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw new file mode 100644 index 0000000000..6ec7cf3945 --- /dev/null +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw @@ -0,0 +1,24 @@ + Total quantity of nonempty ACL number is 3 + +Basic ACL 2000, 7 rules +Acl's step is 5 + rule 5 permit source 85.14.167.234 0 (94 matches) + rule 10 permit source 85.14.167.193 0 (26939 matches) + rule 15 permit source 5.10.130.152 0.0.0.3 (24 matches) + rule 20 permit source 185.48.254.19 0 + rule 25 permit source 10.0.0.0 0.255.255.255 + rule 30 permit source 172.0.0.0 0.15.255.255 + rule 35 permit source 192.168.0.0 0.0.255.255 + +Basic ACL 2500, 1 rule +Acl's step is 5 + rule 35 permit source 192.168.0.0 0.0.255.255 (5431 matches) + +Advanced ACL REGLE_NAT 3998, 3 rules +Acl's step is 5 + rule 5 permit tcp source 85.14.167.234 0 destination 192.214.198.156 0 destination-port eq 8022 (18 matches) + rule 10 deny tcp destination 192.214.198.156 0 destination-port eq 8022 (8 matches) + rule 15 permit ip (278450 matches) + +Advanced ACL qsdqsd 3999, 0 rule +Acl's step is 5 diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml new file mode 100644 index 0000000000..b3fcf986f2 --- /dev/null +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml @@ -0,0 +1,134 @@ +--- +parsed_sample: + - acl_name: "" + acl_number: "2000" + sn: "5" + action: "permit" + protocol: "" + source: "85.14.167.234 0" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "94" + - acl_name: "" + acl_number: "2000" + sn: "10" + action: "permit" + protocol: "" + source: "85.14.167.193 0" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "26939" + - acl_name: "" + acl_number: "2000" + sn: "15" + action: "permit" + protocol: "" + source: "5.10.130.152 0.0.0.3" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "24" + - acl_name: "" + acl_number: "2000" + sn: "20" + action: "permit" + protocol: "" + source: "185.48.254.19 0" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + - acl_name: "" + acl_number: "2000" + sn: "25" + action: "permit" + protocol: "" + source: "10.0.0.0 0.255.255.255" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + - acl_name: "" + acl_number: "2000" + sn: "30" + action: "permit" + protocol: "" + source: "172.0.0.0 0.15.255.255" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + - acl_name: "" + acl_number: "2000" + sn: "35" + action: "permit" + protocol: "" + source: "192.168.0.0 0.0.255.255" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + - acl_name: "" + acl_number: "2500" + sn: "35" + action: "permit" + protocol: "" + source: "192.168.0.0 0.0.255.255" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "5431" + - acl_name: "REGLE_NAT" + acl_number: "3998" + sn: "5" + action: "permit" + protocol: "tcp" + source: "85.14.167.234 0" + source_port_modifier: "" + source_port_range: "" + destination: "192.214.198.156 0" + destination_port_modifier: "eq" + destination_port_range: "8022" + matches: "18" + - acl_name: "REGLE_NAT" + acl_number: "3998" + sn: "10" + action: "deny" + protocol: "tcp" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "192.214.198.156 0" + destination_port_modifier: "eq" + destination_port_range: "8022" + matches: "8" + - acl_name: "REGLE_NAT" + acl_number: "3998" + sn: "15" + action: "permit" + protocol: "ip" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "278450" diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw new file mode 100644 index 0000000000..32cac98cfa --- /dev/null +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw @@ -0,0 +1,5 @@ + Total nonempty acl6 number is 1 + +Advanced IPv6 ACL 3344, 1 rule, match-order is auto +Acl's step is 5 + rule 5 permit ipv6 destination 34::/128 diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml new file mode 100644 index 0000000000..86c640715f --- /dev/null +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - acl_name: "" + acl_number: "3344" + sn: "5" + action: "permit" + protocol: "ipv6" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "34::/128" + destination_port_modifier: "" + destination_port_range: "" + matches: "" From e862c2f9f6b915be5f2e4919a9d244621a445f54 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Fri, 11 Nov 2022 00:34:35 -0500 Subject: [PATCH 315/412] Update icon image and ci file --- .github/workflows/ci.yml | 10 +++++----- README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddadf7bf56..b037c30e8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,13 +209,13 @@ jobs: - name: "Upload binaries to release" uses: "svenstaro/upload-release-action@v2" with: - repo_token: "${{ '{{ secrets.NTC_GITHUB_TOKEN }}' }}" + repo_token: "${{ secrets.NTC_GITHUB_TOKEN }}" file: "dist/*" - tag: "${{ '{{ github.ref }}' }}" + tag: "${{ github.ref }}" overwrite: true file_glob: true needs: - - "tests" + - "pytest" publish_pypi: name: "Push Package to PyPI" runs-on: "ubuntu-20.04" @@ -239,6 +239,6 @@ jobs: uses: "pypa/gh-action-pypi-publish@release/v1" with: user: "__token__" - password: "${{ '{{ secrets.PYPI_API_TOKEN }}' }}" + password: "${{ secrets.PYPI_API_TOKEN }}" needs: - - "tests" + - "pytest" diff --git a/README.md b/README.md index 706b393a60..f1f159f9db 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # NTC Templates

- +
From bfe7b019276626e0149a71e7bbb6d9893ed4f1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Tue, 15 Nov 2022 15:14:14 +0100 Subject: [PATCH 316/412] Add mikrotik routeros ipv6 neighbor print template (#1146) --- ntc_templates/templates/index | 1 + ...ipv6_neighbor_print_without-paging.textfsm | 14 ++++++++++ ...ros_ipv6_neighbor_print_without-paging.raw | 8 ++++++ ...ros_ipv6_neighbor_print_without-paging.yml | 26 +++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 ntc_templates/templates/mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm create mode 100644 tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.raw create mode 100644 tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 38b2ad277c..0c82cad96c 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -507,6 +507,7 @@ mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm, .*, mikroti mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall nat print all without-paging mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm, .*, mikrotik_routeros, [[/]]interface ethernet monitor (\S+) once mikrotik_routeros_snmp_community_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]snmp community print without-paging +mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ipv6 neighbor print without-paging mikrotik_routeros_ip_arp_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip arp print without-paging mikrotik_routeros_system_routerboard_print.textfsm, .*, mikrotik_routeros, [[/]]system routerboard print mikrotik_routeros_ip_route_print_terse.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? route print terse diff --git a/ntc_templates/templates/mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm new file mode 100644 index 0000000000..392f263e84 --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm @@ -0,0 +1,14 @@ +Value Key INDEX (\d+) +Value FLAGS ([R]+) +Value IP (\S+) +Value INTERFACE (\S+) +Value MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) +Value STATUS (noarp|incomplete|stale|reachable|delay|probe|failed) + +Start + ^Flags:.*$$ -> NeighborsTable + +NeighborsTable + ^\s*${INDEX}\s*(${FLAGS}\s+)?address=${IP}\s+interface=${INTERFACE}\s+(mac-address=${MAC}\s+)?status="${STATUS}"\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.raw b/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.raw new file mode 100644 index 0000000000..9fc1f6f946 --- /dev/null +++ b/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.raw @@ -0,0 +1,8 @@ +Flags: R - router + 0 address=ff02::5 interface=main mac-address=33:33:00:00:00:05 status="noarp" + + 1 address=ff02::1 interface=main mac-address=33:33:00:00:00:01 status="noarp" + + 2 R address=fe80::d7:4cff:fec1:2e32 interface=main mac-address=00:0C:42:28:79:45 status="stale" + + 3 address=2a05:c100:1d::351c interface=bridge-lan status="failed" diff --git a/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.yml b/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.yml new file mode 100644 index 0000000000..c279b2cb0e --- /dev/null +++ b/tests/mikrotik_routeros/ipv6_neighbor_print_without-paging/mikrotik_routeros_ipv6_neighbor_print_without-paging.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - index: "0" + flags: "" + ip: "ff02::5" + interface: "main" + mac: "33:33:00:00:00:05" + status: "noarp" + - index: "1" + flags: "" + ip: "ff02::1" + interface: "main" + mac: "33:33:00:00:00:01" + status: "noarp" + - index: "2" + flags: "R" + ip: "fe80::d7:4cff:fec1:2e32" + interface: "main" + mac: "00:0C:42:28:79:45" + status: "stale" + - index: "3" + flags: "" + ip: "2a05:c100:1d::351c" + interface: "bridge-lan" + mac: "" + status: "failed" From 05cfca7f328e736187342bd4f423ee43b69791d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Tue, 15 Nov 2022 15:15:08 +0100 Subject: [PATCH 317/412] Add ubiquiti edgerouter show dhcpv6 server leases (#1145) --- ntc_templates/templates/index | 1 + ...gerouter_show_dhcpv6_server_leases.textfsm | 12 +++++++++++ ...i_edgerouter_show_dhcpv6_server_leases.raw | 10 ++++++++++ ...i_edgerouter_show_dhcpv6_server_leases.yml | 20 +++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.raw create mode 100644 tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0c82cad96c..dbb3f95a78 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -532,6 +532,7 @@ ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] interfaces ethernet (\S+\s)?physical +ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcpv6 server leases ubiquiti_edgerouter_show_ipv6_neighbors.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ipv6 neighbors ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm new file mode 100644 index 0000000000..5926d18a2e --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm @@ -0,0 +1,12 @@ +Value Required IP (\S+) +Value EXPIRATION (\d{4}(\/\d{2}){2}\s\d{2}(:\d{2}){2}) +Value STATE (\S+) + +Start + ^IPv6\sAddress\s+Expiration\s+State\s*$$ + ^-+\s+-+\s+-+\s*$$ -> DHCPv6Table + +DHCPv6Table + ^${IP}\s+${EXPIRATION}\s+${STATE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.raw b/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.raw new file mode 100644 index 0000000000..35a29b3ced --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.raw @@ -0,0 +1,10 @@ +There are 6 DHCPv6 leases: + +IPv6 Address Expiration State +--------------------------------------- ------------------- ------ +2001:d98:5554::210 2014/01/27 18:55:53 active +2001:d98:5554::212 2014/01/27 19:46:12 active +2001:d98:5554::213 2014/01/27 19:00:18 active +2001:d98:5554::225 2014/01/27 20:31:06 active +2001:d98:5554::214 2014/01/27 18:55:57 active +2001:d98:5554::219 2011/06/01 06:02:16 expired diff --git a/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.yml b/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.yml new file mode 100644 index 0000000000..f6d2f87b93 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_dhcpv6_server_leases/ubiquiti_edgerouter_show_dhcpv6_server_leases.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - ip: "2001:d98:5554::210" + expiration: "2014/01/27 18:55:53" + state: "active" + - ip: "2001:d98:5554::212" + expiration: "2014/01/27 19:46:12" + state: "active" + - ip: "2001:d98:5554::213" + expiration: "2014/01/27 19:00:18" + state: "active" + - ip: "2001:d98:5554::225" + expiration: "2014/01/27 20:31:06" + state: "active" + - ip: "2001:d98:5554::214" + expiration: "2014/01/27 18:55:57" + state: "active" + - ip: "2001:d98:5554::219" + expiration: "2011/06/01 06:02:16" + state: "expired" From e1582133fe4ad72d3c9428e2265175c2cb7bb789 Mon Sep 17 00:00:00 2001 From: elavaud Date: Fri, 18 Nov 2022 22:54:24 +0700 Subject: [PATCH 318/412] Huawei - new template - display traffic-filter applied-record (#1223) --- ...play_traffic-filter_applied-record.textfsm | 14 ++++++ ntc_templates/templates/index | 1 + ..._display_traffic-filter_applied-record.raw | 18 +++++++ ..._display_traffic-filter_applied-record.yml | 50 +++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_traffic-filter_applied-record.textfsm create mode 100644 tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.raw create mode 100644 tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.yml diff --git a/ntc_templates/templates/huawei_vrp_display_traffic-filter_applied-record.textfsm b/ntc_templates/templates/huawei_vrp_display_traffic-filter_applied-record.textfsm new file mode 100644 index 0000000000..7459806f98 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_traffic-filter_applied-record.textfsm @@ -0,0 +1,14 @@ +Value Filldown INSTANCE_TYPE (Interface|Traffic profile) +Value Required INSTANCE (\S+) +Value Required DIRECTION (inbound|outbound) +Value IP_VERSION ((ip|IP)v(4|6)) +Value ACL_NB (\d+) +Value ACL_NAME (\S+) + +Start + ^-+ -> Next + ^\s*${INSTANCE_TYPE}\s+Direction\s+AppliedRecord\s*$$ + ^\s*${INSTANCE}\s+${DIRECTION}\s+(${IP_VERSION}\s+)?(ACL|acl)\s+name\s+${ACL_NAME} -> Record + ^\s*${INSTANCE}\s+${DIRECTION}\s+(${IP_VERSION}\s+)?(ACL|acl)\s+${ACL_NB} -> Record + ^\s*Total:\d+\s*$$ -> Next + ^.*$$ -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index dbb3f95a78..38e23a9600 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -463,6 +463,7 @@ hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] +huawei_vrp_display_traffic-filter_applied-record.textfsm, .*, huawei_vrp, dis[[play]] traffic-filter applied-record huawei_vrp_display_snmp-agent_community_read.textfsm, .*, huawei_vrp, dis[[play]] snm[[p-agent]] c[[ommunity]] (r[[ead]]|w[[rite]]) huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] huawei_vrp_display_service-set_id_id.textfsm, .*, huawei_vrp, dis[[play]] service-set (id|name) \S+ diff --git a/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.raw b/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.raw new file mode 100644 index 0000000000..fec655ba8d --- /dev/null +++ b/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.raw @@ -0,0 +1,18 @@ +----------------------------------------------------------- +Interface Direction AppliedRecord +----------------------------------------------------------- +Vlanif1 inbound acl name ACL_Test +Vlanif1 outbound ipv6 acl name MyACL_IPv6 +Vlanif3 inbound acl 3998 +Vlanif3 inbound ipv6 acl name MyACL_IPv6 +Wlan-Bss0 outbound IPv4 ACL 4000 +Wlan-Bss1 outbound IPv4 ACL 4000 +----------------------------------------------------------- +Total:6 +----------------------------------------------------------- +Traffic profile Direction AppliedRecord +----------------------------------------------------------- +p1 inbound IPv4 ACL 3000 +p2 outbound IPv6 ACL 3001 +----------------------------------------------------------- +Total:2 diff --git a/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.yml b/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.yml new file mode 100644 index 0000000000..4ea8a3ae73 --- /dev/null +++ b/tests/huawei_vrp/display_traffic-filter_applied-record/huawei_vrp_display_traffic-filter_applied-record.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - instance_type: "Interface" + instance: "Vlanif1" + direction: "inbound" + ip_version: "" + acl_nb: "" + acl_name: "ACL_Test" + - instance_type: "Interface" + instance: "Vlanif1" + direction: "outbound" + ip_version: "ipv6" + acl_nb: "" + acl_name: "MyACL_IPv6" + - instance_type: "Interface" + instance: "Vlanif3" + direction: "inbound" + ip_version: "" + acl_nb: "3998" + acl_name: "" + - instance_type: "Interface" + instance: "Vlanif3" + direction: "inbound" + ip_version: "ipv6" + acl_nb: "" + acl_name: "MyACL_IPv6" + - instance_type: "Interface" + instance: "Wlan-Bss0" + direction: "outbound" + ip_version: "IPv4" + acl_nb: "4000" + acl_name: "" + - instance_type: "Interface" + instance: "Wlan-Bss1" + direction: "outbound" + ip_version: "IPv4" + acl_nb: "4000" + acl_name: "" + - instance_type: "Traffic profile" + instance: "p1" + direction: "inbound" + ip_version: "IPv4" + acl_nb: "3000" + acl_name: "" + - instance_type: "Traffic profile" + instance: "p2" + direction: "outbound" + ip_version: "IPv6" + acl_nb: "3001" + acl_name: "" From 45bd8d8e7831390bbe1abec6772e5ce77402c366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20RIBOT?= Date: Thu, 20 Oct 2022 14:44:53 +0200 Subject: [PATCH 319/412] MikroTik routeros exclude all log messages in templates --- ...krotik_routeros_interface_ethernet_monitor_name_once.textfsm | 1 + .../mikrotik_routeros_ip_arp_print_without-paging.textfsm | 1 + ...k_routeros_ip_dhcp-server_lease_print_without-paging.textfsm | 1 + ...routeros_ip_firewall_filter_print_all_without-paging.textfsm | 1 + ...ik_routeros_ip_firewall_nat_print_all_without-paging.textfsm | 1 + .../templates/mikrotik_routeros_ip_route_print_terse.textfsm | 1 + ...ikrotik_routeros_snmp_community_print_without-paging.textfsm | 1 + .../mikrotik_routeros_system_routerboard_print.textfsm | 1 + .../mikrotik_routeros_interface_ethernet_monitor_name_once.raw | 1 + .../mikrotik_routeros_ip_arp_print_without-paging.raw | 1 + ...rotik_routeros_ip_dhcp-server_lease_print_without-paging.raw | 1 + ...tik_routeros_ip_firewall_filter_print_all_without-paging.raw | 2 ++ ...krotik_routeros_ip_firewall_nat_print_all_without-paging.raw | 2 ++ .../mikrotik_routeros_ip_route_print_terseIPv4.raw | 1 + .../mikrotik_routeros_ip_route_print_terseIPv6.raw | 1 + .../mikrotik_routeros_snmp_community_print_without-paging.raw | 2 ++ 16 files changed, 19 insertions(+) diff --git a/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm index 0931ad0347..db705d6b0c 100644 --- a/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm @@ -18,4 +18,5 @@ Start ^\s*rx-flow-control:\s${rx_flow_control} ^\s*advertising:\s${advertising} ^\s*link-partner-advertising:\s${link_partner_advertising} + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm index ca469a7578..19ece07517 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm @@ -9,4 +9,5 @@ Start EntriesTable ^\s*${index}\s*(${flags})?\s*${ip}\s*(${mac})?\s+(${interface})?\s+$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm index b911be2d3c..c4cac701af 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm @@ -16,4 +16,5 @@ EntriesTable ^\s*${index}\s(${flags})?\s{,4}${ip}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+${mac}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+(${mac}|\s{17})\s(${hostname})?\s+(${server})?\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm index 8e073d75c0..d5c0e0e839 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm @@ -27,4 +27,5 @@ FirewallTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} ^\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?\s*(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record ^\s?${index}\s+(${flags})?\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm index c413c758d9..7cb4389820 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm @@ -27,4 +27,5 @@ NATTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} ^\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record ^\s?${index}\s+(${flags})?\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm index 14322970f0..673a844ca9 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_route_print_terse.textfsm @@ -11,4 +11,5 @@ Value target_scope (\d+) Start ^\s?${index}\s${flags}\s\s(comment=${comment}\s)?dst-address=${dst_address}(\spref-src=${pref_src})?\sgateway=${gateway}\sgateway-status=${gateway_status}\sdistance=${distance}\sscope=${scope}(\starget-scope=${target_scope})?.*$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm index 002e0d966a..bbaeb677f2 100644 --- a/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm @@ -11,4 +11,5 @@ Start SNMPCommunitiesTable ^\s?${index}\s+(${flags})?\s+${name}\s+${addresses}\s+${security}\s+${read_access}\s+${write_access}\s+$$ -> Record + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm index fd55cba099..6d428f40ed 100644 --- a/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_system_routerboard_print.textfsm @@ -19,4 +19,5 @@ Start ^\s*factory-firmware:\s${factory_firmware} ^\s*current-firmware:\s${current_firmware} ^\s*upgrade-firmware:\s${upgrade_firmware} + ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw index a10fed3eaf..b900879782 100644 --- a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw +++ b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once.raw @@ -3,6 +3,7 @@ auto-negotiation: done rate: 1Gbps full-duplex: yes +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh tx-flow-control: no rx-flow-control: no advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full diff --git a/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw index 20da8b9a02..6aa6cc906f 100644 --- a/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw +++ b/tests/mikrotik_routeros/ip_arp_print_without-paging/mikrotik_routeros_ip_arp_print_without-paging.raw @@ -1,4 +1,5 @@ Flags: X - disabled, I - invalid, H - DHCP, D - dynamic, P - published, C - complete # ADDRESS MAC-ADDRESS INTERFACE 0 D 185.163.212.158 dmz-1-vlan +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 1 185.163.212.159 AF:D6:C8:F2:36:16 vlan-2 diff --git a/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw index ca4706840a..0d898266c9 100644 --- a/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw +++ b/tests/mikrotik_routeros/ip_dhcp-server_lease_print_without-paging/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.raw @@ -1,4 +1,5 @@ Flags: X - disabled, R - radius, D - dynamic, B - blocked # ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS LAST-SEEN +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 0 AF:D6:C8:F2:36:16 waiting never 1 X 192.168.1.56 15 waiting never diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw index c27eb503e5..922abfcb8d 100644 --- a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw @@ -23,6 +23,7 @@ Flags: X - disabled, I - invalid, D - dynamic 8 ;;; Acces WAN SNMP chain=input action=accept protocol=udp src-address-list=Supervision dst-port=161 +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 9 ;;; defconf: accept to local loopback (for CAPsMAN) chain=input action=accept dst-address=127.0.0.1 @@ -57,6 +58,7 @@ Flags: X - disabled, I - invalid, D - dynamic 19 chain=forward connection-state=established,related 20 ;;; drop invalid connections +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh chain=forward action=drop connection-state=invalid protocol=tcp 21 ;;; Block all entrant diff --git a/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw index 3f371a450b..4ce0aa06de 100644 --- a/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw +++ b/tests/mikrotik_routeros/ip_firewall_nat_print_all_without-paging/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.raw @@ -1,10 +1,12 @@ Flags: X - disabled, I - invalid, D - dynamic +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 0 ;;; dmz-1: masquerade chain=srcnat action=masquerade src-address=!185.163.212.156/30 out-interface-list=WAN ipsec-policy=out,none 1 chain=dstnat action=redirect protocol=icmp src-address=192.168.1.16 dst-address=31.31.31.31 in-interface-list=dmz-1 log=no log-prefix="" 2 X ;;; qsdqsdqsd +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh chain=srcnat action=accept protocol=vmtp in-interface=all-ethernet out-interface=ether4 log=no log-prefix="" 3 X chain=srcnat action=accept protocol=tcp src-address-list=Supervision dst-address-list=Eqinoxe src-port=80 dst-port=8080 log=no log-prefix="" diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw index 6998594a9c..4ea77e8f86 100644 --- a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv4.raw @@ -1,5 +1,6 @@ 0 A S dst-address=0.0.0.0/0 gateway=23.90.232.243 gateway-status=23.90.232.243 reachable via pppoe-out1 distance=10 scope=30 target-scope=10 1 Db dst-address=0.0.0.0/0 gateway=23.90.232.243 gateway-status=23.90.232.243 reachable via pppoe-out1 distance=20 scope=40 target-scope=10 bgp-as-path=57809 bgp-local-pref=300 bgp-origin=incomplete received-from=23.90.232.243-peer +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 2 DS dst-address=0.0.0.0/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=100 scope=30 target-scope=10 3 ADC dst-address=23.90.232.243/32 pref-src=100.95.1.127 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=10 4 ADC dst-address=185.163.212.156/30 pref-src=185.163.212.157 gateway=dmz-1-vlan gateway-status=dmz-1-vlan reachable distance=0 scope=10 diff --git a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw index 53a054ec3a..6e90f67a46 100644 --- a/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw +++ b/tests/mikrotik_routeros/ip_route_print_terse/mikrotik_routeros_ip_route_print_terseIPv6.raw @@ -1,5 +1,6 @@ 0 ADS dst-address=::/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=100 scope=30 target-scope=10 1 ADC dst-address=2a05:c100:7::/64 gateway=bridge-lan gateway-status=bridge-lan reachable distance=0 scope=10 2 S dst-address=9bb8:baac:d400::/38 gateway=ether4 gateway-status=ether4 unreachable distance=44 scope=30 target-scope=10 +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 3 X S dst-address=ec64:a7fd:bc1c:14c:7960:5000::/84 gateway=ether2 gateway-status=ether2 inactive distance=7 scope=30 target-scope=10 4 S dst-address=fd79:f1d4:a400::/39 gateway=ether5 gateway-status=ether5 unreachable distance=24 scope=30 target-scope=10 diff --git a/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw index bc36b9c339..2627e47976 100644 --- a/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw +++ b/tests/mikrotik_routeros/snmp_community_print_without-paging/mikrotik_routeros_snmp_community_print_without-paging.raw @@ -1,3 +1,5 @@ +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh Flags: * - default, X - disabled # NAME ADDRESSES SECURITY READ-ACCESS WRITE-ACCESS +17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh 0 * Monitoring ::/0 none yes no From 04da598ba9bcae2ba76f40b5f022269663de5f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20RIBOT?= Date: Thu, 20 Oct 2022 13:48:37 +0200 Subject: [PATCH 320/412] Add Huawei VRP display routing-table template --- ...p_display_ip_routing-table_verbose.textfsm | 51 +++ ntc_templates/templates/index | 1 + ..._display_ip_routing-table_verbose_ipv4.raw | 159 +++++++++ ..._display_ip_routing-table_verbose_ipv4.yml | 310 ++++++++++++++++++ ..._display_ip_routing-table_verbose_ipv6.raw | 14 + ..._display_ip_routing-table_verbose_ipv6.yml | 24 ++ 6 files changed, 559 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_ip_routing-table_verbose.textfsm create mode 100644 tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.raw create mode 100644 tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.yml create mode 100644 tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.raw create mode 100644 tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.yml diff --git a/ntc_templates/templates/huawei_vrp_display_ip_routing-table_verbose.textfsm b/ntc_templates/templates/huawei_vrp_display_ip_routing-table_verbose.textfsm new file mode 100644 index 0000000000..d89f069ae6 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_ip_routing-table_verbose.textfsm @@ -0,0 +1,51 @@ +Value DESTINATION (\S+) +Value PREFIX_LENGTH (\d+) +Value PROTOCOL (Direct|Static|EBGP|IBGP||ISIS|OSPF|RIP|UNR) +Value PROCESS_ID (\d+) +Value LABEL (\S+) +Value QOS_INFO (\S+) +Value NEIGHBOUR (\S+) +Value NEXT_HOP (\S+) +Value PREFERENCE (\d+) +Value STATE ((\s*(Active|Invalid|Inactive|NoAdv|Adv|Del|Relied|Stale))+) +Value COST (\d+) +Value AGE ([\d\w]+) +Value TAG (\d+) +Value PRIORITY (low|medium|high|critical) +Value INDIRECT_ID (\S+) +Value RELAY_NEXT_HOP (\S+) +Value INTERFACE (\S+) +Value TUNNEL_ID (\S+) +Value FLAGS ((D|R)*) +Value ENTRY_ID (\S+) +Value ENTRY_FLAGS (\S+) +Value REFERENCE_CNT (\d+) + +Start + ^\s*Route\sFlags:.*$$ + ^\s*-*\s*$$ + ^\s*Routing\sTable(s)?\s*:\sPublic\s*$$ + ^\s*Destinations\s*:\s+\d+\s+Routes\s*:\s+\d+\s*$$ + ^\s*Destination\s*:\s+.*$$ -> Continue.Record + ^\s*Destination\s*:\s+${DESTINATION}(\s+PrefixLength\s*:\s+${PREFIX_LENGTH})?\s*$$ + ^\s*Protocol\s*:\s+${PROTOCOL}\s+Process\sID\s*:\s+${PROCESS_ID}\s*$$ + ^\s*Preference\s*:\s+${PREFERENCE}\s+Cost\s*:\s+${COST}\s*$$ + ^\s*NextHop\s*:\s+${NEXT_HOP}\s+Neighbour\s*:\s+${NEIGHBOUR}\s*$$ + ^\s*State\s*:\s+${STATE}\s+Age\s*:\s+${AGE}\s*$$ + ^\s*Tag\s*:\s+${TAG}\s+Priority\s*:\s+${PRIORITY}\s*$$ + ^\s*Label\s*:\s+${LABEL}\s+QoSInfo\s*:\s+${QOS_INFO}\s*$$ + ^\s*IndirectID\s*:\s+${INDIRECT_ID}\s*$$ + ^\s*RelayNextHop\s*:\s+${RELAY_NEXT_HOP}\s+Interface\s*:\s+${INTERFACE}\s*$$ + ^\s*TunnelID\s*:\s+${TUNNEL_ID}\s+Flags\s*:\s+${FLAGS}\s*$$ + # IPv6 only regex + ^\s*NextHop\s*:\s+${NEXT_HOP}\s+Preference\s*:\s+${PREFERENCE}\s*$$ + ^\s*Neighbour\s*:\s+${NEIGHBOUR}\s+ProcessID\s*:\s+${PROCESS_ID}\s*$$ + ^\s*Label\s*:\s+${LABEL}\s+Protocol\s*:\s+${PROTOCOL}\s*$$ + ^\s*State\s*:\s+${STATE}\s+Cost\s*:\s+${COST}\s*$$ + ^\s*Entry\sID\s*:\s+${ENTRY_ID}\s+EntryFlags\s*:\s+${ENTRY_FLAGS}\s*$$ + ^\s*Reference\sCnt\s*:\s+${REFERENCE_CNT}\s+Tag\s*:\s+${TAG}\s*$$ + ^\s*Priority\s*:\s+${PRIORITY}\s+Age\s*:\s+${AGE}\s*$$ + ^\s*RelayNextHop\s*:\s+${RELAY_NEXT_HOP}\s+TunnelID\s*:\s+${TUNNEL_ID}\s*$$ + ^\s*Interface\s*:\s+${INTERFACE}\s+Flags\s*:\s+${FLAGS}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 38e23a9600..6b7dd7ed51 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -465,6 +465,7 @@ hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] huawei_vrp_display_traffic-filter_applied-record.textfsm, .*, huawei_vrp, dis[[play]] traffic-filter applied-record huawei_vrp_display_snmp-agent_community_read.textfsm, .*, huawei_vrp, dis[[play]] snm[[p-agent]] c[[ommunity]] (r[[ead]]|w[[rite]]) +huawei_vrp_display_ip_routing-table_verbose.textfsm, .*, huawei_vrp, dis[[play]] ip(v6)? routi[[ng-table]] ve[[rbose]] huawei_vrp_display_interface_description.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] des[[cription]] huawei_vrp_display_service-set_id_id.textfsm, .*, huawei_vrp, dis[[play]] service-set (id|name) \S+ huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]] br[[ief]] diff --git a/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.raw b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.raw new file mode 100644 index 0000000000..162d80f090 --- /dev/null +++ b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.raw @@ -0,0 +1,159 @@ +Route Flags: R - relay, D - download to fib, T - to vpn-instance +------------------------------------------------------------------------------ +Routing Tables: Public + Destinations : 13 Routes : 14 + + +Destination: 0.0.0.0/0 + Protocol: Static Process ID: 0 + Preference: 60 Cost: 0 + NextHop: 192.214.198.156 Neighbour: 0.0.0.0 + State: Active Adv Age: 1d01h58m07s + Tag: 0 Priority: medium + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Dialer1 + TunnelID: 0x0 Flags: D + +Destination: 0.0.0.0/0 + Protocol: EBGP Process ID: 0 + Preference: 255 Cost: 0 + NextHop: 23.90.232.243 Neighbour: 23.90.232.243 + State: Inactive Adv Age: 1d01h57m50s + Tag: 0 Priority: low + Label: NULL QoSInfo: 0x0 + IndirectID: 0x1 + RelayNextHop: 0.0.0.0 Interface: Dialer1 + TunnelID: 0x0 Flags: + +Destination: 23.90.232.243/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 23.90.232.243 Neighbour: 0.0.0.0 + State: Active Adv Age: 1d01h58m07s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Dialer1 + TunnelID: 0x0 Flags: D + +Destination: 100.95.15.240/30 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 100.95.15.241 Neighbour: 0.0.0.0 + State: Active Adv Age: 1d01h58m15s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif100 + TunnelID: 0x0 Flags: D + +Destination: 100.95.15.241/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h58m15s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif100 + TunnelID: 0x0 Flags: D + +Destination: 100.95.15.243/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h58m19s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif100 + TunnelID: 0x0 Flags: D + +Destination: 127.0.0.0/8 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h59m26s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: InLoopBack0 + TunnelID: 0x0 Flags: D + +Destination: 127.0.0.1/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h59m26s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: InLoopBack0 + TunnelID: 0x0 Flags: D + +Destination: 127.255.255.255/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h59m26s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: InLoopBack0 + TunnelID: 0x0 Flags: D + +Destination: 192.168.1.0/24 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 192.168.1.1 Neighbour: 0.0.0.0 + State: Active Adv Age: 1d01h58m54s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif1 + TunnelID: 0x0 Flags: D + +Destination: 192.168.1.1/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h58m55s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif1 + TunnelID: 0x0 Flags: D + +Destination: 192.168.1.255/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h58m55s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Vlanif1 + TunnelID: 0x0 Flags: D + +Destination: 192.214.198.156/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active Adv Age: 1d01h58m13s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: Dialer1 + TunnelID: 0x0 Flags: D + +Destination: 255.255.255.255/32 + Protocol: Direct Process ID: 0 + Preference: 0 Cost: 0 + NextHop: 127.0.0.1 Neighbour: 0.0.0.0 + State: Active NoAdv Age: 1d01h59m27s + Tag: 0 Priority: high + Label: NULL QoSInfo: 0x0 + IndirectID: 0x0 + RelayNextHop: 0.0.0.0 Interface: InLoopBack0 + TunnelID: 0x0 Flags: D diff --git a/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.yml b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.yml new file mode 100644 index 0000000000..12ce31cadc --- /dev/null +++ b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv4.yml @@ -0,0 +1,310 @@ +--- +parsed_sample: + - destination: "0.0.0.0/0" + prefix_length: "" + protocol: "Static" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "192.214.198.156" + preference: "60" + state: "Active Adv" + cost: "0" + age: "1d01h58m07s" + tag: "0" + priority: "medium" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Dialer1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "0.0.0.0/0" + prefix_length: "" + protocol: "EBGP" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "23.90.232.243" + next_hop: "23.90.232.243" + preference: "255" + state: "Inactive Adv" + cost: "0" + age: "1d01h57m50s" + tag: "0" + priority: "low" + indirect_id: "0x1" + relay_next_hop: "0.0.0.0" + interface: "Dialer1" + tunnel_id: "0x0" + flags: "" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "23.90.232.243/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "23.90.232.243" + preference: "0" + state: "Active Adv" + cost: "0" + age: "1d01h58m07s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Dialer1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "100.95.15.240/30" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "100.95.15.241" + preference: "0" + state: "Active Adv" + cost: "0" + age: "1d01h58m15s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif100" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "100.95.15.241/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h58m15s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif100" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "100.95.15.243/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h58m19s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif100" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "127.0.0.0/8" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h59m26s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "InLoopBack0" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "127.0.0.1/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h59m26s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "InLoopBack0" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "127.255.255.255/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h59m26s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "InLoopBack0" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "192.168.1.0/24" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "192.168.1.1" + preference: "0" + state: "Active Adv" + cost: "0" + age: "1d01h58m54s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "192.168.1.1/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h58m55s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "192.168.1.255/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h58m55s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Vlanif1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "192.214.198.156/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active Adv" + cost: "0" + age: "1d01h58m13s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "Dialer1" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" + - destination: "255.255.255.255/32" + prefix_length: "" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "0x0" + neighbour: "0.0.0.0" + next_hop: "127.0.0.1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "1d01h59m27s" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "0.0.0.0" + interface: "InLoopBack0" + tunnel_id: "0x0" + flags: "D" + entry_id: "" + entry_flags: "" + reference_cnt: "" diff --git a/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.raw b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.raw new file mode 100644 index 0000000000..d57f6e8275 --- /dev/null +++ b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.raw @@ -0,0 +1,14 @@ +Routing Table : Public + Destinations : 1 Routes : 1 + + Destination : ::1 PrefixLength : 128 + NextHop : ::1 Preference : 0 + Neighbour : :: ProcessID : 0 + Label : NULL Protocol : Direct + State : Active NoAdv Cost : 0 + Entry ID : 2826122436 EntryFlags : 0x80010050 + Reference Cnt: 2 Tag : 0 + Priority : high Age : 93545sec + IndirectID : 0x0 + RelayNextHop : :: TunnelID : 0x0 + Interface : InLoopBack0 Flags : D diff --git a/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.yml b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.yml new file mode 100644 index 0000000000..48da09d740 --- /dev/null +++ b/tests/huawei_vrp/display_ip_routing-table_verbose/huawei_vrp_display_ip_routing-table_verbose_ipv6.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - destination: "::1" + prefix_length: "128" + protocol: "Direct" + process_id: "0" + label: "NULL" + qos_info: "" + neighbour: "::" + next_hop: "::1" + preference: "0" + state: "Active NoAdv" + cost: "0" + age: "93545sec" + tag: "0" + priority: "high" + indirect_id: "0x0" + relay_next_hop: "::" + interface: "InLoopBack0" + tunnel_id: "0x0" + flags: "D" + entry_id: "2826122436" + entry_flags: "0x80010050" + reference_cnt: "2" From 275a88748452fd5b68245721f98126dba262a5d0 Mon Sep 17 00:00:00 2001 From: Ryan Merolle Date: Fri, 25 Nov 2022 15:40:22 -0500 Subject: [PATCH 321/412] address bug 1225 (#1226) Update arista_eos_show_ip_route for message of no ip routing --- .../arista_eos_show_ip_route.textfsm | 8 ++++++- .../arista_eos_show_ip_route6.raw | 19 +++++++++++++++ .../arista_eos_show_ip_route6.yml | 24 +++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml diff --git a/ntc_templates/templates/arista_eos_show_ip_route.textfsm b/ntc_templates/templates/arista_eos_show_ip_route.textfsm index f9c3290bc9..e6ab23922e 100644 --- a/ntc_templates/templates/arista_eos_show_ip_route.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_route.textfsm @@ -17,6 +17,9 @@ Start # Match for codes ^\s+.+-.+ ^\s*$$ -> Routes + # Ignore IP routing not enabled + ^\! IP routing not enabled + # Error on everything else ^. -> Error Routes @@ -27,4 +30,7 @@ Routes ^\s*$$ -> Record ^VRF(\s+name)?:\s+${VRF}\s*$$ -> Start ^Gateway\s+of\s+last - ^. -> Error + # Ignore IP routing not enabled + ^\! IP routing not enabled + # Error on everything else + ^. -> Error \ No newline at end of file diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.raw new file mode 100644 index 0000000000..da0896d795 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.raw @@ -0,0 +1,19 @@ +VRF: MGMT +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B - Other BGP Routes, + B I - iBGP, B E - eBGP, R - RIP, I L1 - IS-IS level 1, + I L2 - IS-IS level 2, O3 - OSPFv3, A B - BGP Aggregate, + A O - OSPF Summary, NG - Nexthop Group Static Route, + V - VXLAN Control Service, M - Martian, + DH - DHCP client installed default route, + DP - Dynamic Policy Route, L - VRF Leaked, + G - gRIBI, RC - Route Cache Route + +Gateway of last resort: + S 0.0.0.0/0 [1/0] via 172.20.20.1, Management0 + + C 172.20.20.0/24 is directly connected, Management0 + +! IP routing not enabled diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml new file mode 100644 index 0000000000..0fc3bac286 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - direct: "" + distance: "1" + interface: + - "Management0" + mask: "0" + metric: "0" + network: "0.0.0.0" + next_hop: + - "172.20.20.1" + protocol: "S" + vrf: "MGMT" + - direct: "directly" + distance: "" + interface: + - "Management0" + mask: "24" + metric: "" + network: "172.20.20.0" + next_hop: + - "connected" + protocol: "C" + vrf: "MGMT" From b890275467ef8991d8dafb551c1ed11aa8549f2e Mon Sep 17 00:00:00 2001 From: guillaume-mbali <77588596+guillaume-mbali@users.noreply.github.com> Date: Fri, 2 Dec 2022 17:22:35 +0100 Subject: [PATCH 322/412] Add Cisco ipv6 route template (#1220) --- .../cisco_ios_show_ipv6_route.textfsm | 20 ++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_ipv6_route.raw | 19 +++++++ .../cisco_ios_show_ipv6_route.yml | 50 +++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ipv6_route.textfsm create mode 100644 tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.raw create mode 100644 tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.yml diff --git a/ntc_templates/templates/cisco_ios_show_ipv6_route.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_route.textfsm new file mode 100644 index 0000000000..13ae834fef --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ipv6_route.textfsm @@ -0,0 +1,20 @@ +Value Filldown PROTOCOL (\w{1,4}) +Value Filldown NETWORK ([A-Za-z0-9:]+/\d{1,3}(?:/\d{2})?) +Value Filldown DISTANCE (\d+) +Value Filldown METRIC (\d+) +Value NEXTHOP_IP ([A-F0-9:]+) +Value NEXTHOP_IF ([\w\d\s/]+) + + +Start + # Match regular ipv6 routes + ^IPv6[\d\w\-\s,:]\s* + ^Codes:[\d\w\-\s,]\s* + ^\s{7}[\d\w\-\s,]\s* + ^${PROTOCOL}\s+${NETWORK}\s+(\[${DISTANCE}/${METRIC}])\s*$$ + ^\s*via\s+${NEXTHOP_IP}(,\s+${NEXTHOP_IF}.*)?\s*$$ -> Record + ^\s*via\s+${NEXTHOP_IF}.*$$ -> Record + ^\s* -> Clearall + ^.*$$ -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 38e23a9600..0f14da789b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -260,6 +260,7 @@ cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] +cisco_ios_show_ipv6_route.textfsm, .*, cisco_ios, sh[[ow]] ipv6 r[[oute]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_snmp_group.textfsm, .*, cisco_ios, sh[[ow]] snm[[p]] g[[roup]] cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] diff --git a/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.raw b/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.raw new file mode 100644 index 0000000000..a507851f56 --- /dev/null +++ b/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.raw @@ -0,0 +1,19 @@ +IPv6 Routing Table - default - 6 entries +Codes: C - Connected, L - Local, S - Static, U - Per-user Static route + B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP + H - NHRP, D - EIGRP, EX - EIGRP external, ND - ND Default + NDp - ND Prefix, DCE - Destination, NDr - Redirect, O - OSPF Intra + OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1 + ON2 - OSPF NSSA ext 2, l - LISP +C 2A05:C100:2A::/64 [0/0] + via Vlan1, directly connected +B 2001:DB8:4::2/48 [20/0] + via FE80::A8BB:CCFF:FE02:8B00, Serial6/0 + via A8BB::FE80:CCFF:FE02:8B00, Serial4/0 +L FF00::/8 [0/0] + via Null0, receive +S 5555:4444::4/128 [1/0] + via 2A05:C100:2A::56 + via 2A05:C100:2A::5765 + via 2A05:C100:2A::3:344, Vlan1 + via Vlan1, directly connected diff --git a/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.yml b/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.yml new file mode 100644 index 0000000000..c9f3376c92 --- /dev/null +++ b/tests/cisco_ios/show_ipv6_route/cisco_ios_show_ipv6_route.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - network: "2A05:C100:2A::/64" + protocol: "C" + distance: "0" + metric: "0" + nexthop_ip: "" + nexthop_if: "Vlan1" + - network: "2001:DB8:4::2/48" + protocol: "B" + distance: "20" + metric: "0" + nexthop_ip: "FE80::A8BB:CCFF:FE02:8B00" + nexthop_if: "Serial6/0" + - network: "2001:DB8:4::2/48" + protocol: "B" + distance: "20" + metric: "0" + nexthop_ip: "A8BB::FE80:CCFF:FE02:8B00" + nexthop_if: "Serial4/0" + - network: "FF00::/8" + protocol: "L" + distance: "0" + metric: "0" + nexthop_ip: "" + nexthop_if: "Null0" + - network: "5555:4444::4/128" + protocol: "S" + distance: "1" + metric: "0" + nexthop_ip: "2A05:C100:2A::56" + nexthop_if: "" + - network: "5555:4444::4/128" + protocol: "S" + distance: "1" + metric: "0" + nexthop_ip: "2A05:C100:2A::5765" + nexthop_if: "" + - network: "5555:4444::4/128" + protocol: "S" + distance: "1" + metric: "0" + nexthop_ip: "2A05:C100:2A::3:344" + nexthop_if: "Vlan1" + - network: "5555:4444::4/128" + protocol: "S" + distance: "1" + metric: "0" + nexthop_ip: "" + nexthop_if: "Vlan1" From 9b36c74108b0a440adc736b23337662abcc4cbe4 Mon Sep 17 00:00:00 2001 From: ReK_ Date: Fri, 2 Dec 2022 08:28:05 -0800 Subject: [PATCH 323/412] Updated support for Cisco IOS-XR devices (#1176) * Add support for `show version brief` * Add support for `show platform summary location ` * Add support for `show vrf all detail` * Add support for `show ipv4 vrf interface brief` * Add support for `show ospf vrf neighbor` * Add support for `show ospf vrf interface brief` * Add support for `show bgp instance summary` * Add support for `show pim ipv4 group-map` * Add support for `show pim ipv4 neighbor` * Add support for `show pim ipv4 interface` --- ...o_xr_show_bgp_instance_all_summary.textfsm | 18 +++ ..._show_ipv4_vrf_all_interface_brief.textfsm | 9 ++ ..._show_ospf_vrf_all_interface_brief.textfsm | 13 +++ ...isco_xr_show_ospf_vrf_all_neighbor.textfsm | 14 +++ .../cisco_xr_show_pim_ipv4_group-map.textfsm | 10 ++ .../cisco_xr_show_pim_ipv4_interface.textfsm | 14 +++ .../cisco_xr_show_pim_ipv4_neighbor.textfsm | 16 +++ ...show_platform_summary_location_all.textfsm | 36 ++++++ .../cisco_xr_show_version_brief.textfsm | 14 +++ .../cisco_xr_show_vrf_all_detail.textfsm | 17 +++ ntc_templates/templates/index | 10 ++ ...cisco_xr_show_bgp_instance_all_summary.raw | 34 ++++++ ...cisco_xr_show_bgp_instance_all_summary.yml | 74 ++++++++++++ ...o_xr_show_ipv4_vrf_all_interface_brief.raw | 21 ++++ ...o_xr_show_ipv4_vrf_all_interface_brief.yml | 87 ++++++++++++++ ...o_xr_show_ospf_vrf_all_interface_brief.raw | 22 ++++ ...o_xr_show_ospf_vrf_all_interface_brief.yml | 50 ++++++++ .../cisco_xr_show_ospf_vrf_all_neighbor.raw | 43 +++++++ .../cisco_xr_show_ospf_vrf_all_neighbor.yml | 56 +++++++++ .../cisco_xr_show_pim_ipv4_group-map.raw | 14 +++ .../cisco_xr_show_pim_ipv4_group-map.yml | 32 ++++++ .../cisco_xr_show_pim_ipv4_interface.raw | 12 ++ .../cisco_xr_show_pim_ipv4_interface.yml | 42 +++++++ .../cisco_xr_show_pim_ipv4_neighbor.raw | 16 +++ .../cisco_xr_show_pim_ipv4_neighbor.yml | 44 +++++++ ..._xr_show_platform_summary_location_all.raw | 78 +++++++++++++ ..._xr_show_platform_summary_location_all.yml | 87 ++++++++++++++ .../cisco_xr_show_version_brief.raw | 24 ++++ .../cisco_xr_show_version_brief.yml | 8 ++ .../cisco_xr_show_vrf_all_detail.raw | 107 ++++++++++++++++++ .../cisco_xr_show_vrf_all_detail.yml | 63 +++++++++++ 31 files changed, 1085 insertions(+) create mode 100644 ntc_templates/templates/cisco_xr_show_bgp_instance_all_summary.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_ospf_vrf_all_interface_brief.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_ospf_vrf_all_neighbor.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_pim_ipv4_group-map.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_pim_ipv4_interface.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_pim_ipv4_neighbor.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_platform_summary_location_all.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_version_brief.textfsm create mode 100644 ntc_templates/templates/cisco_xr_show_vrf_all_detail.textfsm create mode 100644 tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.raw create mode 100644 tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.yml create mode 100644 tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.raw create mode 100644 tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.yml create mode 100644 tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.raw create mode 100644 tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.yml create mode 100644 tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.raw create mode 100644 tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.yml create mode 100644 tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.raw create mode 100644 tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.yml create mode 100644 tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.raw create mode 100644 tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.yml create mode 100644 tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.raw create mode 100644 tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.yml create mode 100644 tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.raw create mode 100644 tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.yml create mode 100644 tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.raw create mode 100644 tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.yml create mode 100644 tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.raw create mode 100644 tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.yml diff --git a/ntc_templates/templates/cisco_xr_show_bgp_instance_all_summary.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_instance_all_summary.textfsm new file mode 100644 index 0000000000..ff39d11142 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_bgp_instance_all_summary.textfsm @@ -0,0 +1,18 @@ +Value Filldown INSTANCE_ID (\d+) +Value Filldown INSTANCE_NAME (\S+) +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown LOCAL_AS (\d+) +Value Required BGP_NEIGH (\d+\.\d+\.\d+\.\d+) +Value NEIGH_AS (\d+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) +Value STATE_PFXRCD (\S+) + +Start + ^\s*BGP instance ${INSTANCE_ID}: '${INSTANCE_NAME}'\s*$$ + ^\s*BGP router identifier ${ROUTER_ID}, local AS number ${LOCAL_AS}\s*$$ + ^\s*Neighbor\s+Spk\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+St/PfxRcd\s*$$ + ^\s*${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record diff --git a/ntc_templates/templates/cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm new file mode 100644 index 0000000000..eed34f5486 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm @@ -0,0 +1,9 @@ +Value Required INTF ([\w\./-]+) +Value IPADDR (\d+\.\d+\.\d+\.\d+) +Value STATUS (\w+) +Value PROTO (\w+) +Value VRF (\S+) + +Start + ^\s*Interface\s+IP-Address\s+Status\s+Protocol(\s+Vrf-Name)?\s*$$ + ^\s*${INTF}\s+${IPADDR}\s+${STATUS}\s+${PROTO}(\s+${VRF})?\s*$$ -> Record diff --git a/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_interface_brief.textfsm new file mode 100644 index 0000000000..937dba0cd5 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_interface_brief.textfsm @@ -0,0 +1,13 @@ +Value Filldown VRF (\S+) +Value Required INTERFACE ([\w\./-]+) +Value PROCESS (\d+) +Value AREA ([\d\.]+) +Value ADDRESS (\d+.\d+.\d+.\d+/\d+) +Value COST (\d+) +Value STATE (\S+) +Value NEIGHBORS (\d+/\d+) + +Start + ^\s*Interfaces for OSPF \d+, VRF ${VRF}\s*$$ + ^\s+Interface\s+PID\s+Area\s+IP Address/Mask\s+Cost\s+State\s+Nbrs\s+F/C\s*$$ + ^\s*${INTERFACE}\s+${PROCESS}\s+${AREA}\s+${ADDRESS}\s+${COST}\s+${STATE}\s+${NEIGHBORS}\s*$$ -> Record diff --git a/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_neighbor.textfsm new file mode 100644 index 0000000000..e5650dfd32 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_ospf_vrf_all_neighbor.textfsm @@ -0,0 +1,14 @@ +Value Filldown PROCESS (\d+) +Value Filldown VRF (\S+) +Value Required NEIGHBOR_ID (\d+.\d+.\d+.\d+) +Value PRIORITY (\d+) +Value STATE (\S+\/\s+\-|\S+) +Value DEAD_TIME (\d+:\d+:\d+) +Value ADDRESS (\d+.\d+.\d+.\d+) +Value INTERFACE (\S+) +Value NEIGHBOR_UPTIME (\S+) + +Start + ^\s*Neighbors for OSPF ${PROCESS}, VRF ${VRF}\s*$$ + ^\s*${NEIGHBOR_ID}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE}\s*$$ + ^\s*Neighbor is up for ${NEIGHBOR_UPTIME}\s*$$ -> Record diff --git a/ntc_templates/templates/cisco_xr_show_pim_ipv4_group-map.textfsm b/ntc_templates/templates/cisco_xr_show_pim_ipv4_group-map.textfsm new file mode 100644 index 0000000000..a221b64715 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_pim_ipv4_group-map.textfsm @@ -0,0 +1,10 @@ +Value Required GROUP_RANGE (\d+\.\d+\.\d+\.\d+/\d+) +Value PROTOCOL (\w+) +Value CLIENT (\w+) +Value GROUPS (\d+) +Value RP_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value INFO ((\S+(\s\S+)*)) + +Start + ^\s*Group Range\s+Proto\s+Client\s+Groups\s+RP address\s+Info\s*$$ + ^\s*${GROUP_RANGE}(\*)?\s+${PROTOCOL}\s+${CLIENT}\s+${GROUPS}\s+${RP_ADDRESS}(\s+${INFO})?\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/cisco_xr_show_pim_ipv4_interface.textfsm b/ntc_templates/templates/cisco_xr_show_pim_ipv4_interface.textfsm new file mode 100644 index 0000000000..1fbbe54a2c --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_pim_ipv4_interface.textfsm @@ -0,0 +1,14 @@ +Value Filldown VRF (\S+) +Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) +Value INTERFACE ([\w\./-]+) +Value STATE (\w+) +Value NEIGHBORS (\d+) +Value HELLO_INTERVAL (\d+) +Value DR_PRIORITY (\d+) +Value DR (\d+\.\d+\.\d+\.\d+) + +Start + ^\s*PIM interfaces in VRF ${VRF}\s*$$ + ^\s*Address\s+Interface\s+PIM\s+Nbr\s+Hello\s+DR\s+DR\s*$$ + ^\s*Count\s+Intvl\s+Prior\s*$$ + ^\s*${ADDRESS}(\*)?\s+${INTERFACE}\s+${STATE}\s+${NEIGHBORS}\s+${HELLO_INTERVAL}\s+${DR_PRIORITY}\s+${DR}\s*$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/cisco_xr_show_pim_ipv4_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_pim_ipv4_neighbor.textfsm new file mode 100644 index 0000000000..56f847706b --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_pim_ipv4_neighbor.textfsm @@ -0,0 +1,16 @@ +Value Filldown VRF (\S+) +Value Required NEIGHBOR (\d+\.\d+\.\d+\.\d+) +Value INTERFACE ([\w\./-]+) +Value UPTIME ((\S+(\s\S+)*)) +Value EXPIRES (\S+) +Value DR_PRIORITY (\d+(\s\(DR\))?) +Value FLAGS ((\S+(\s\S+)*)) + +Start + ^\s*PIM neighbors in VRF ${VRF}\s*$$ + ^\s*Neighbor Address\s+Interface\s+Uptime\s+Expires\s+DR\s+pri\s+Flags\s*$$ + ^\s*${NEIGHBOR}(\*)?\s+${INTERFACE}\s+${UPTIME}\s+${EXPIRES}\s+${DR_PRIORITY}(\s+${FLAGS})?\s*$$ -> Record + + + + diff --git a/ntc_templates/templates/cisco_xr_show_platform_summary_location_all.textfsm b/ntc_templates/templates/cisco_xr_show_platform_summary_location_all.textfsm new file mode 100644 index 0000000000..eb074c955d --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_platform_summary_location_all.textfsm @@ -0,0 +1,36 @@ +Value Required PLATFORM_NODE (\S+(\s\S+)*) +Value PART_ID (\S+) +Value CARD_TYPE (\S+(\s\S+)*) +Value HW_VERSION (\w+) +Value SERIAL_NUMBER (\w+) +Value OPER_STATE (\S+(\s\S+)*) +Value LAST_RESET (\S+(\s\S+)*) +Value LAST_RESET_PROCESS (\S+(\s\S+)*) +Value LAST_RESET_TIME (\S+(\s\S+)*) +Value List CONFIGURATION ([\w\.]+(\s[\w\.]+)*) +Value ROMMON_VERSION (\S+(\s\S+)*) +Value IOS_VERSION (\S+(\s\S+)*) +Value MAIN_POWER (\S+(\s\S+)*) +Value FAULTS (\S+(\s\S+)*) + + +Start + ^\s*Platform Node : ${PLATFORM_NODE}\s*$$ + ^\s*PID : ${PART_ID}\s*$$ + ^\s*Card Type : ${CARD_TYPE}\s*$$ + ^\s*VID/SN : ${HW_VERSION} / ${SERIAL_NUMBER}\s*$$ + ^\s*Oper State : ${OPER_STATE}\s*$$ -> LastReset + +LastReset + ^\s*Last Reset : ${LAST_RESET}(\s+Process: ${LAST_RESET_PROCESS})?\s*$$ + ^\s*: ${LAST_RESET_TIME}\s*$$ + ^\s*Configuration : ${CONFIGURATION}\s*$$ -> Configuration + +Configuration + ^\s*${CONFIGURATION}\s*$$ + ^\s*Rommon Ver : ${ROMMON_VERSION}\s*$$ -> Finish + +Finish + ^\s*IOS SW Ver : ${IOS_VERSION}\s*$$ + ^\s*Main Power : ${MAIN_POWER}\s*$$ + ^\s*Faults : ${FAULTS}\s*$$ -> Record Start \ No newline at end of file diff --git a/ntc_templates/templates/cisco_xr_show_version_brief.textfsm b/ntc_templates/templates/cisco_xr_show_version_brief.textfsm new file mode 100644 index 0000000000..8b54b23fdb --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_version_brief.textfsm @@ -0,0 +1,14 @@ +Value VERSION (\S[^\[]+) +Value HOSTNAME (\S+) +Value UPTIME (.+?) +Value BOOT_IMAGE (\S+) +Value FAMILY (\S+) +Value MODEL (ASR \S+) + + +Start + ^\s*Cisco .+ Software, Version\s+${VERSION} + ^\s*${HOSTNAME} uptime is ${UPTIME}\s*$$ + ^\s*System image file is "${BOOT_IMAGE}"\s*$$ + ^\s*cisco ${FAMILY}.*processor.+$$ + ^\s*${MODEL}.+$$ -> Record \ No newline at end of file diff --git a/ntc_templates/templates/cisco_xr_show_vrf_all_detail.textfsm b/ntc_templates/templates/cisco_xr_show_vrf_all_detail.textfsm new file mode 100644 index 0000000000..d25ac8db00 --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_vrf_all_detail.textfsm @@ -0,0 +1,17 @@ +Value VRF (\S+) +Value RD (\S+|not set) +Value VPN_ID (\S+|not set) +Value MODE (\S+) +Value DESCRIPTION (\S+|not set) +Value List INTERFACES ([\w\./-]+) + +Start + ^\s*VRF ${VRF}; RD ${RD}; VPN ID ${VPN_ID}\s*$$ + ^\s*VRF mode: ${MODE}\s*$$ + ^\s*Description ${DESCRIPTION}\s*$$ + ^\s*Address family.+$$ -> Record + ^\s*Interfaces:+s*$$ -> Interfaces + +Interfaces + ^\s*${INTERFACES}\s*$$ + ^\s*Address family.+$$ -> Record Start \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0f14da789b..dba0b60ae9 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -388,19 +388,27 @@ cisco_xr_show_lpts_pifib_hardware_police_location.textfsm, .*, cisco_xr, sh[[ow] cisco_xr_show_controllers_HundredGigabitEthernet.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] cisco_xr_admin_show_controller_fabric_health.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] +cisco_xr_show_platform_summary_location_all.textfsm, .*, cisco_xr, sh[[ow]] plat[[form]] sum[[mary]] loc[[ation]] (\S+) +cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ipv4 vrf (\S+) int[[erface]] br[[ief]] +cisco_xr_show_ospf_vrf_all_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ospf vrf (\S+) int[[erface]] brief cisco_xr_show_controller_fabric_plane_all.textfsm, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all cisco_xr_show_configuration_commit_list.textfsm, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_asic-errors_all_location.textfsm, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] +cisco_xr_show_bgp_instance_all_summary.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] ins[[tance]] (\S+) sum[[mary]] cisco_xr_admin_show_environment_power.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] p[[ower]] cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] cisco_xr_show_mpls_ldp_neighbor_brief.textfsm, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_admin_show_environment_fan.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] +cisco_xr_show_ospf_vrf_all_neighbor.textfsm, .*, cisco_xr, sh[[ow]] ospf vrf (\S+) nei[[ghbor]] cisco_xr_show_cdp_neighbors_detail.textfsm, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_xr_show_controllers_all_phy.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) ph[[y]] cisco_xr_show_cef_drops_location.textfsm, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] cisco_xr_show_interfaces_summary.textfsm, .*, cisco_xr, sh[[ow]] int[[erfaces]] summ[[ary]] cisco_xr_show_ip_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] +cisco_xr_show_pim_ipv4_group-map.textfsm, .*, cisco_xr, sh[[ow]] pim ipv4 group-map +cisco_xr_show_pim_ipv4_interface.textfsm, .*, cisco_xr, sh[[ow]] pim ipv4 int[[erface]] cisco_xr_show_redundancy_summary.textfsm, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] +cisco_xr_show_pim_ipv4_neighbor.textfsm, .*, cisco_xr, sh[[ow]] pim ipv4 nei[[ghbor]] cisco_xr_admin_show_inventory.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] cisco_xr_show_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] @@ -411,9 +419,11 @@ cisco_xr_show_ipv6_neighbors.textfsm, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] cisco_xr_show_isis_neighbors.textfsm, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] cisco_xr_show_lldp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] cisco_xr_show_rsvp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] rs[[vp]] neigh[[bors]] +cisco_xr_show_vrf_all_detail.textfsm, .*, cisco_xr, sh[[ow]] vrf (\S+) det[[ail]] cisco_xr_show_bgp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] nei[[ghbors]] cisco_xr_show_ospf_neighbor.textfsm, .*, cisco_xr, sh[[ow]] ospf nei[[ghbor]] cisco_xr_show_processes_cpu.textfsm, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu]] +cisco_xr_show_version_brief.textfsm, .*, cisco_xr, sh[[ow]] ver[[sion]] br[[ief]] cisco_xr_show_bfd_sessions.textfsm, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] cisco_xr_show_drops_np_all.textfsm, .*, cisco_xr, sh[[ow]] drops np all cisco_xr_show_pim_neighbor.textfsm, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] diff --git a/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.raw b/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.raw new file mode 100644 index 0000000000..c70e979085 --- /dev/null +++ b/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.raw @@ -0,0 +1,34 @@ + +Wed Jul 27 17:18:35.642 CST + +BGP instance 0: 'default' +========================= +BGP router identifier 192.0.2.1, local AS number 65533 +BGP generic scan interval 60 secs +Non-stop routing is enabled +BGP table state: Active +Table ID: 0xe0000000 RD version: 2308648196 +BGP main routing table version 2308648196 +BGP NSR Initial initsync version 2063371958 (Reached) +BGP NSR/ISSU Sync-Group versions 2308648196/0 +BGP scan interval 60 secs + +BGP is operating in STANDALONE mode. + + +Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer +Speaker 2308648196 2308648196 2308648196 2308648196 2308648196 2308648196 + +Some configured eBGP neighbors (under default or non-default vrfs) +do not have both inbound and outbound policies configured for IPv4 Unicast +address family. These neighbors will default to sending and/or +receiving no routes and are marked with '!' in the output below. +Use the 'show bgp neighbor ' command for details. + +Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down St/PfxRcd +192.0.2.1 0 65533 3687720 44027503 2308648193 0 0 6w0d 4 +192.0.2.1 0 65533 2998156 0 0 0 0 1y11w Active +192.0.2.1 0 65533 740185 712198 2308648196 0 0 6d12h 0 +192.0.2.1 0 65533 19179 11983 2308648196 0 0 01:57:59 10 +192.0.2.1 0 65533 3372692 355977 2308648196 0 0 1w6d 0! +192.0.2.1 0 65533 5765678 0 0 0 0 45w1d Idle! diff --git a/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.yml b/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.yml new file mode 100644 index 0000000000..7f3b0c796c --- /dev/null +++ b/tests/cisco_xr/show_bgp_instance_all_summary/cisco_xr_show_bgp_instance_all_summary.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "3687720" + msg_sent: "44027503" + in_queue: "0" + out_queue: "0" + up_down: "6w0d" + state_pfxrcd: "4" + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "2998156" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "1y11w" + state_pfxrcd: "Active" + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "740185" + msg_sent: "712198" + in_queue: "0" + out_queue: "0" + up_down: "6d12h" + state_pfxrcd: "0" + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "19179" + msg_sent: "11983" + in_queue: "0" + out_queue: "0" + up_down: "01:57:59" + state_pfxrcd: "10" + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "3372692" + msg_sent: "355977" + in_queue: "0" + out_queue: "0" + up_down: "1w6d" + state_pfxrcd: "0!" + - instance_id: "0" + instance_name: "default" + router_id: "192.0.2.1" + local_as: "65533" + bgp_neigh: "192.0.2.1" + neigh_as: "65533" + msg_rcvd: "5765678" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "45w1d" + state_pfxrcd: "Idle!" diff --git a/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.raw b/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.raw new file mode 100644 index 0000000000..17ec6f0a84 --- /dev/null +++ b/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.raw @@ -0,0 +1,21 @@ + +Wed Jul 27 17:18:32.918 CST + +Interface IP-Address Status Protocol Vrf-Name +BVI10 192.0.2.1 Up Up red +BVI20 192.0.2.1 Shutdown Down red +BVI30 192.0.2.1 Down Down red +Bundle-Ether1 192.0.2.1 Up Up **brown +Bundle-Ether1.10 192.0.2.1 Up Up green +Bundle-Ether1.20 192.0.2.1 Up Up blue +Bundle-Ether1.30 192.0.2.1 Up Up blue +Bundle-Ether2 192.0.2.1 Up Up **brown +Bundle-Ether3 192.0.2.1 Up Up **brown +Loopback0 192.0.2.1 Up Up purple +Loopback1 192.0.2.1 Up Up green +GigabitEthernet100/0/0/0 192.0.2.1 Up Up blue +GigabitEthernet200/0/0/0.10 192.0.2.1 Up Up purple +GigabitEthernet200/0/0/0.20 192.0.2.1 Up Up purple +GigabitEthernet200/0/0/0.30 192.0.2.1 Down Down purple +TenGigE0/1/0/0 192.0.2.1 Up Up green +TenGigE0/2/0/0.10 192.0.2.1 Up Up green diff --git a/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.yml b/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.yml new file mode 100644 index 0000000000..3666a998d6 --- /dev/null +++ b/tests/cisco_xr/show_ipv4_vrf_all_interface_brief/cisco_xr_show_ipv4_vrf_all_interface_brief.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - intf: "BVI10" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "red" + - intf: "BVI20" + ipaddr: "192.0.2.1" + status: "Shutdown" + proto: "Down" + vrf: "red" + - intf: "BVI30" + ipaddr: "192.0.2.1" + status: "Down" + proto: "Down" + vrf: "red" + - intf: "Bundle-Ether1" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "**brown" + - intf: "Bundle-Ether1.10" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "green" + - intf: "Bundle-Ether1.20" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "blue" + - intf: "Bundle-Ether1.30" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "blue" + - intf: "Bundle-Ether2" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "**brown" + - intf: "Bundle-Ether3" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "**brown" + - intf: "Loopback0" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "purple" + - intf: "Loopback1" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "green" + - intf: "GigabitEthernet100/0/0/0" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "blue" + - intf: "GigabitEthernet200/0/0/0.10" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "purple" + - intf: "GigabitEthernet200/0/0/0.20" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "purple" + - intf: "GigabitEthernet200/0/0/0.30" + ipaddr: "192.0.2.1" + status: "Down" + proto: "Down" + vrf: "purple" + - intf: "TenGigE0/1/0/0" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "green" + - intf: "TenGigE0/2/0/0.10" + ipaddr: "192.0.2.1" + status: "Up" + proto: "Up" + vrf: "green" diff --git a/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.raw b/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.raw new file mode 100644 index 0000000000..4ddd2b535a --- /dev/null +++ b/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.raw @@ -0,0 +1,22 @@ + +Wed Jul 27 17:18:34.807 CST + +* Indicates MADJ interface, (P) Indicates fast detect hold down state + +Interfaces for OSPF 1, VRF red + +Interface PID Area IP Address/Mask Cost State Nbrs F/C +BE1.10 1 0 192.0.2.1/30 1 DR 1/1 +Te0/0/0/10.10 1 0 192.0.2.1/30 1 BDR 1/1 + + +Interfaces for OSPF 1, VRF green + +BE1.20 1 0 192.0.2.1/30 1000 P2P 0/0 +Gi300/0/0/0.10 1 0 192.0.2.1/30 1 DR 0/0 + + +Interfaces for OSPF 1, VRF blue + +BE1.30 1 0 192.0.2.1/30 1 DR 1/1 +Gi300/0/0/0 1 0 192.0.2.1/30 1 DR 0/0 diff --git a/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.yml b/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.yml new file mode 100644 index 0000000000..aedae250c2 --- /dev/null +++ b/tests/cisco_xr/show_ospf_vrf_all_interface_brief/cisco_xr_show_ospf_vrf_all_interface_brief.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - vrf: "red" + interface: "BE1.10" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1" + state: "DR" + neighbors: "1/1" + - vrf: "red" + interface: "Te0/0/0/10.10" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1" + state: "BDR" + neighbors: "1/1" + - vrf: "green" + interface: "BE1.20" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1000" + state: "P2P" + neighbors: "0/0" + - vrf: "green" + interface: "Gi300/0/0/0.10" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1" + state: "DR" + neighbors: "0/0" + - vrf: "blue" + interface: "BE1.30" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1" + state: "DR" + neighbors: "1/1" + - vrf: "blue" + interface: "Gi300/0/0/0" + process: "1" + area: "0" + address: "192.0.2.1/30" + cost: "1" + state: "DR" + neighbors: "0/0" diff --git a/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.raw b/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.raw new file mode 100644 index 0000000000..891f948579 --- /dev/null +++ b/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.raw @@ -0,0 +1,43 @@ + +Wed Jul 27 17:18:33.921 CST + +* Indicates MADJ interface +# Indicates Neighbor awaiting BFD session up + +Neighbors for OSPF 1, VRF red + +Neighbor ID Pri State Dead Time Address Interface +192.0.2.1 0 FULL/ - 00:00:39 192.0.2.2 Bundle-Ether10.10 + Neighbor is up for 5w0d +192.0.2.3 1 FULL/DR 00:00:39 192.0.2.4 TenGigE0/0/0/10.10 + Neighbor is up for 35w1d + +Total neighbor count: 2 + + +* Indicates MADJ interface +# Indicates Neighbor awaiting BFD session up + +Neighbors for OSPF 1, VRF green + +Neighbor ID Pri State Dead Time Address Interface +192.0.2.5 0 FULL/ - 00:00:34 192.0.2.6 Bundle-Ether10.20 + Neighbor is up for 6d16h +192.0.2.7 1 FULL/DR 00:00:38 192.0.2.8 TenGigE0/0/0/10.20 + Neighbor is up for 35w1d + +Total neighbor count: 2 + + +* Indicates MADJ interface +# Indicates Neighbor awaiting BFD session up + +Neighbors for OSPF 1, VRF blue + +Neighbor ID Pri State Dead Time Address Interface +192.0.2.9 1 FULL/BDR 00:00:39 192.0.2.10 Bundle-Ether10.30 + Neighbor is up for 35w1d +192.0.2.11 1 FULL/BDR 00:00:39 192.0.2.12 GigabitEthernet100/0/0/0 + Neighbor is up for 35w1d + +Total neighbor count: 2 diff --git a/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.yml b/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.yml new file mode 100644 index 0000000000..2541f7be81 --- /dev/null +++ b/tests/cisco_xr/show_ospf_vrf_all_neighbor/cisco_xr_show_ospf_vrf_all_neighbor.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - process: "1" + vrf: "red" + neighbor_id: "192.0.2.1" + priority: "0" + state: "FULL/ -" + dead_time: "00:00:39" + address: "192.0.2.2" + interface: "Bundle-Ether10.10" + neighbor_uptime: "5w0d" + - process: "1" + vrf: "red" + neighbor_id: "192.0.2.3" + priority: "1" + state: "FULL/DR" + dead_time: "00:00:39" + address: "192.0.2.4" + interface: "TenGigE0/0/0/10.10" + neighbor_uptime: "35w1d" + - process: "1" + vrf: "green" + neighbor_id: "192.0.2.5" + priority: "0" + state: "FULL/ -" + dead_time: "00:00:34" + address: "192.0.2.6" + interface: "Bundle-Ether10.20" + neighbor_uptime: "6d16h" + - process: "1" + vrf: "green" + neighbor_id: "192.0.2.7" + priority: "1" + state: "FULL/DR" + dead_time: "00:00:38" + address: "192.0.2.8" + interface: "TenGigE0/0/0/10.20" + neighbor_uptime: "35w1d" + - process: "1" + vrf: "blue" + neighbor_id: "192.0.2.9" + priority: "1" + state: "FULL/BDR" + dead_time: "00:00:39" + address: "192.0.2.10" + interface: "Bundle-Ether10.30" + neighbor_uptime: "35w1d" + - process: "1" + vrf: "blue" + neighbor_id: "192.0.2.11" + priority: "1" + state: "FULL/BDR" + dead_time: "00:00:39" + address: "192.0.2.12" + interface: "GigabitEthernet100/0/0/0" + neighbor_uptime: "35w1d" diff --git a/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.raw b/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.raw new file mode 100644 index 0000000000..ad12a1c0ef --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.raw @@ -0,0 +1,14 @@ + +Wed Jul 27 17:18:36.472 CST + +IP PIM Group Mapping Table +(* indicates group mappings being used) +(+ indicates BSR group mappings active in MRIB) + +Group Range Proto Client Groups RP address Info + +224.0.1.1/32* DM perm 0 0.0.0.0 +224.0.1.2/32* DM perm 1 0.0.0.0 +224.0.0.0/24* NO perm 0 0.0.0.0 +232.0.0.0/8* SSM config 40 0.0.0.0 +224.0.0.0/4* SM static 7 0.0.0.0 RPF: Null,0.0.0.0 \ No newline at end of file diff --git a/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.yml b/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.yml new file mode 100644 index 0000000000..328c06c082 --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_group-map/cisco_xr_show_pim_ipv4_group-map.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - group_range: "224.0.1.1/32" + protocol: "DM" + client: "perm" + groups: "0" + rp_address: "0.0.0.0" + info: "" + - group_range: "224.0.1.2/32" + protocol: "DM" + client: "perm" + groups: "1" + rp_address: "0.0.0.0" + info: "" + - group_range: "224.0.0.0/24" + protocol: "NO" + client: "perm" + groups: "0" + rp_address: "0.0.0.0" + info: "" + - group_range: "232.0.0.0/8" + protocol: "SSM" + client: "config" + groups: "40" + rp_address: "0.0.0.0" + info: "" + - group_range: "224.0.0.0/4" + protocol: "SM" + client: "static" + groups: "7" + rp_address: "0.0.0.0" + info: "RPF: Null,0.0.0.0" diff --git a/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.raw b/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.raw new file mode 100644 index 0000000000..3e20a0e086 --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.raw @@ -0,0 +1,12 @@ + +Wed Jul 27 17:18:38.018 CST + +PIM interfaces in VRF default +Address Interface PIM Nbr Hello DR DR + Count Intvl Prior + +192.0.2.1 BVI10 on 11 30 1 192.0.2.2 +192.0.2.1 Bundle-Ether10 on 2 30 1 192.0.2.2 +192.0.2.1 Bundle-Ether10.10 on 2 30 1 192.0.2.2 +192.0.2.1 Bundle-Ether10.20 on 2 30 1 192.0.2.2 +192.0.2.1 Bundle-Ether10.30 on 2 30 1 192.0.2.2 \ No newline at end of file diff --git a/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.yml b/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.yml new file mode 100644 index 0000000000..92cce82633 --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_interface/cisco_xr_show_pim_ipv4_interface.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - vrf: "default" + address: "192.0.2.1" + interface: "BVI10" + state: "on" + neighbors: "11" + hello_interval: "30" + dr_priority: "1" + dr: "192.0.2.2" + - vrf: "default" + address: "192.0.2.1" + interface: "Bundle-Ether10" + state: "on" + neighbors: "2" + hello_interval: "30" + dr_priority: "1" + dr: "192.0.2.2" + - vrf: "default" + address: "192.0.2.1" + interface: "Bundle-Ether10.10" + state: "on" + neighbors: "2" + hello_interval: "30" + dr_priority: "1" + dr: "192.0.2.2" + - vrf: "default" + address: "192.0.2.1" + interface: "Bundle-Ether10.20" + state: "on" + neighbors: "2" + hello_interval: "30" + dr_priority: "1" + dr: "192.0.2.2" + - vrf: "default" + address: "192.0.2.1" + interface: "Bundle-Ether10.30" + state: "on" + neighbors: "2" + hello_interval: "30" + dr_priority: "1" + dr: "192.0.2.2" diff --git a/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.raw b/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.raw new file mode 100644 index 0000000000..01da00b271 --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.raw @@ -0,0 +1,16 @@ + +Wed Jul 27 17:18:37.203 CST + +PIM neighbors in VRF default +Flag: B - Bidir capable, P - Proxy capable, DR - Designated Router, + E - ECMP Redirect capable + * indicates the neighbor created for this router + +Neighbor Address Interface Uptime Expires DR pri Flags + +192.0.2.1* Bundle-Ether10.10 1d09h 00:01:29 1 B E +192.0.2.2 Bundle-Ether10.20 02:26:23 00:01:26 1 (DR) +192.0.2.3 BVI10 2y51w 00:01:27 2 (DR) B +192.0.2.4 BVI10 2y51w 00:01:24 0 +192.0.2.5 BVI10 45w1d 00:01:19 1 P +192.0.2.6* BVI10 2y51w 00:01:25 1 B \ No newline at end of file diff --git a/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.yml b/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.yml new file mode 100644 index 0000000000..b1ca542650 --- /dev/null +++ b/tests/cisco_xr/show_pim_ipv4_neighbor/cisco_xr_show_pim_ipv4_neighbor.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - vrf: "default" + neighbor: "192.0.2.1" + interface: "Bundle-Ether10.10" + uptime: "1d09h" + expires: "00:01:29" + dr_priority: "1" + flags: "B E" + - vrf: "default" + neighbor: "192.0.2.2" + interface: "Bundle-Ether10.20" + uptime: "02:26:23" + expires: "00:01:26" + dr_priority: "1 (DR)" + flags: "" + - vrf: "default" + neighbor: "192.0.2.3" + interface: "BVI10" + uptime: "2y51w" + expires: "00:01:27" + dr_priority: "2 (DR)" + flags: "B" + - vrf: "default" + neighbor: "192.0.2.4" + interface: "BVI10" + uptime: "2y51w" + expires: "00:01:24" + dr_priority: "0" + flags: "" + - vrf: "default" + neighbor: "192.0.2.5" + interface: "BVI10" + uptime: "45w1d" + expires: "00:01:19" + dr_priority: "1" + flags: "P" + - vrf: "default" + neighbor: "192.0.2.6" + interface: "BVI10" + uptime: "2y51w" + expires: "00:01:25" + dr_priority: "1" + flags: "B" diff --git a/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.raw b/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.raw new file mode 100644 index 0000000000..eb04a803da --- /dev/null +++ b/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.raw @@ -0,0 +1,78 @@ + +Wed Jul 27 17:18:08.328 CST +------------------------------------------------------------------------------- + Platform Node : 0/RP0/CPU0 (slot 0) + PID : ASR-9900-RP-SE + Card Type : ASR 9900 Route Processor for Service Edge + VID/SN : V02 / XXXXXXXXXXX + Oper State : IOS XR RUN + Last Reset : User Initiated reload Process: reload + : Wed Jul 31 07:07:56 2019 + Configuration : Power is enabled + Bootup enabled. + Monitoring enabled + Rommon Ver : Version 5.15 + IOS SW Ver : 5.3.2 + Main Power : Power state Enabled. Estimate power 380 Watts of power required. + Faults : N/A +------------------------------------------------------------------------------- + Platform Node : 0/RP1/CPU0 (slot 1) + PID : ASR-9900-RP-SE + Card Type : ASR 9900 Route Processor for Service Edge + VID/SN : V02 / XXXXXXXXXXX + Oper State : IOS XR RUN + Last Reset : dSC node reload is required by install operation Process: instdir + : Wed Jan 27 20:49:21 2016 + Configuration : Power is enabled + Bootup enabled. + Monitoring enabled + Rommon Ver : Version 5.15 + IOS SW Ver : 5.3.2 + Main Power : Power state Enabled. Estimate power 380 Watts of power required. + Faults : N/A +------------------------------------------------------------------------------- + Platform Node : 0/0/CPU0 (slot 2) + PID : A9K-24X10GE-TR + Card Type : 24-port 10GE, Packet Transport Optimized LC + VID/SN : V10 / XXXXXXXXXXX + Oper State : IOS XR RUN + Last Reset : N/A + : N/A + Configuration : Power is enabled + Bootup enabled. + Monitoring enabled + Rommon Ver : Version 3.2(20150713:063058) + IOS SW Ver : 5.3.2 + Main Power : Power state Enabled. Estimate power 850 Watts of power required. + Faults : N/A +------------------------------------------------------------------------------- + Platform Node : 0/1/CPU0 (slot 3) + PID : A9K-24X10GE-TR + Card Type : 24-port 10GE, Packet Transport Optimized LC + VID/SN : V07 / XXXXXXXXXXX + Oper State : IOS XR RUN + Last Reset : N/A + : N/A + Configuration : Power is enabled + Bootup enabled. + Monitoring enabled + Rommon Ver : Version 3.3(20150930:043930) + IOS SW Ver : 5.3.2 + Main Power : Power state Enabled. Estimate power 850 Watts of power required. + Faults : N/A +------------------------------------------------------------------------------- + Platform Node : 0/2/CPU0 (slot 4) + PID : A9K-24X10GE-TR + Card Type : 24-port 10GE, Packet Transport Optimized LC + VID/SN : V07 / XXXXXXXXXXX + Oper State : IOS XR RUN + Last Reset : N/A + : N/A + Configuration : Power is enabled + Bootup enabled. + Monitoring enabled + Rommon Ver : Version 3.3(20150930:043930) + IOS SW Ver : 5.3.2 + Main Power : Power state Enabled. Estimate power 850 Watts of power required. + Faults : N/A +------------------------------------------------------------------------------- \ No newline at end of file diff --git a/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.yml b/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.yml new file mode 100644 index 0000000000..6360b40ca6 --- /dev/null +++ b/tests/cisco_xr/show_platform_summary_location_all/cisco_xr_show_platform_summary_location_all.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - platform_node: "0/RP0/CPU0 (slot 0)" + part_id: "ASR-9900-RP-SE" + card_type: "ASR 9900 Route Processor for Service Edge" + hw_version: "V02" + serial_number: "XXXXXXXXXXX" + oper_state: "IOS XR RUN" + last_reset: "User Initiated reload" + last_reset_process: "reload" + last_reset_time: "Wed Jul 31 07:07:56 2019" + configuration: + - "Power is enabled" + - "Bootup enabled." + - "Monitoring enabled" + rommon_version: "Version 5.15" + ios_version: "5.3.2" + main_power: "Power state Enabled. Estimate power 380 Watts of power required." + faults: "N/A" + - platform_node: "0/RP1/CPU0 (slot 1)" + part_id: "ASR-9900-RP-SE" + card_type: "ASR 9900 Route Processor for Service Edge" + hw_version: "V02" + serial_number: "XXXXXXXXXXX" + oper_state: "IOS XR RUN" + last_reset: "dSC node reload is required by install operation" + last_reset_process: "instdir" + last_reset_time: "Wed Jan 27 20:49:21 2016" + configuration: + - "Power is enabled" + - "Bootup enabled." + - "Monitoring enabled" + rommon_version: "Version 5.15" + ios_version: "5.3.2" + main_power: "Power state Enabled. Estimate power 380 Watts of power required." + faults: "N/A" + - platform_node: "0/0/CPU0 (slot 2)" + part_id: "A9K-24X10GE-TR" + card_type: "24-port 10GE, Packet Transport Optimized LC" + hw_version: "V10" + serial_number: "XXXXXXXXXXX" + oper_state: "IOS XR RUN" + last_reset: "N/A" + last_reset_process: "" + last_reset_time: "N/A" + configuration: + - "Power is enabled" + - "Bootup enabled." + - "Monitoring enabled" + rommon_version: "Version 3.2(20150713:063058)" + ios_version: "5.3.2" + main_power: "Power state Enabled. Estimate power 850 Watts of power required." + faults: "N/A" + - platform_node: "0/1/CPU0 (slot 3)" + part_id: "A9K-24X10GE-TR" + card_type: "24-port 10GE, Packet Transport Optimized LC" + hw_version: "V07" + serial_number: "XXXXXXXXXXX" + oper_state: "IOS XR RUN" + last_reset: "N/A" + last_reset_process: "" + last_reset_time: "N/A" + configuration: + - "Power is enabled" + - "Bootup enabled." + - "Monitoring enabled" + rommon_version: "Version 3.3(20150930:043930)" + ios_version: "5.3.2" + main_power: "Power state Enabled. Estimate power 850 Watts of power required." + faults: "N/A" + - platform_node: "0/2/CPU0 (slot 4)" + part_id: "A9K-24X10GE-TR" + card_type: "24-port 10GE, Packet Transport Optimized LC" + hw_version: "V07" + serial_number: "XXXXXXXXXXX" + oper_state: "IOS XR RUN" + last_reset: "N/A" + last_reset_process: "" + last_reset_time: "N/A" + configuration: + - "Power is enabled" + - "Bootup enabled." + - "Monitoring enabled" + rommon_version: "Version 3.3(20150930:043930)" + ios_version: "5.3.2" + main_power: "Power state Enabled. Estimate power 850 Watts of power required." + faults: "N/A" diff --git a/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.raw b/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.raw new file mode 100644 index 0000000000..c883d6d6a4 --- /dev/null +++ b/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.raw @@ -0,0 +1,24 @@ + +Wed Jul 27 17:17:42.915 CST + +Cisco IOS XR Software, Version 5.3.2[Default] +Copyright (c) 2015 by Cisco Systems, Inc. + +ROM: System Bootstrap, Version 5.15(c) 1994-2012 by Cisco Systems, Inc. + +rtr-01 uptime is 2 years, 51 weeks, 5 days, 11 hours, 1 minute +System image file is "disk0:asr9k-os-mbi-5.3.2.sp1-1.0.0/0x100305/mbiasr9k-rsp3.vm" + +cisco ASR9K Series (Intel 686 F6M14S4) processor with 12582912K bytes of memory. +Intel 686 F6M14S4 processor at 2130MHz, Revision 2.174 +ASR 9912 10 Line Card Slot Chassis with V2 AC PEM + +4 Management Ethernet +132 GigabitEthernet/IEEE 802.3 interface(s) +72 TenGigE +72 DWDM controller(s) +72 WANPHY controller(s) +503k bytes of non-volatile configuration memory. +6111M bytes of hard disk. +12510192k bytes of disk0: (Sector size 512 bytes). +12510192k bytes of disk1: (Sector size 512 bytes). \ No newline at end of file diff --git a/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.yml b/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.yml new file mode 100644 index 0000000000..1ee7933893 --- /dev/null +++ b/tests/cisco_xr/show_version_brief/cisco_xr_show_version_brief.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - version: "5.3.2" + hostname: "rtr-01" + uptime: "2 years, 51 weeks, 5 days, 11 hours, 1 minute" + boot_image: "disk0:asr9k-os-mbi-5.3.2.sp1-1.0.0/0x100305/mbiasr9k-rsp3.vm" + family: "ASR9K" + model: "ASR 9912" diff --git a/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.raw b/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.raw new file mode 100644 index 0000000000..139eae4dd7 --- /dev/null +++ b/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.raw @@ -0,0 +1,107 @@ + +Wed Jul 27 17:18:32.001 CST + +VRF red; RD not set; VPN ID not set +VRF mode: Regular +Description not set +Address family IPV4 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy +Address family IPV6 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy + +VRF blue; RD not set; VPN ID not set +VRF mode: Regular +Description not set +Interfaces: + BVI10 +Address family IPV4 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy +Address family IPV6 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy + +VRF green; RD not set; VPN ID not set +VRF mode: Regular +Description not set +Interfaces: + GigabitEthernet200/0/0/1 + GigabitEthernet200/0/0/2 + GigabitEthernet300/0/0/1 + GigabitEthernet300/0/0/2 + TenGigE0/0/0/10.10 + Bundle-Ether10.10 + Bundle-Ether10.20 + Bundle-Ether20.10 + Bundle-Ether20.20 + Bundle-Ether30.10 + Bundle-Ether40.10 + Bundle-Ether50.10 + Loopback0 +Address family IPV4 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy +Address family IPV6 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy + +VRF purple; RD not set; VPN ID not set +VRF mode: Regular +Description not set +Interfaces: + Loopback1 + Bundle-Ether10.10 + Bundle-Ether10.20 + Bundle-Ether10.30 + GigabitEthernet100/0/0/10.10 + GigabitEthernet100/0/0/10.20 + GigabitEthernet200/0/0/20.10 + GigabitEthernet200/0/0/20.20 + GigabitEthernet300/0/0/30.10 + GigabitEthernet300/0/0/30.20 + TenGigE0/0/0/10.10 + TenGigE0/2/0/20.10 + TenGigE0/2/0/20.20 +Address family IPV4 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy +Address family IPV6 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy + +VRF brown; RD not set; VPN ID not set +VRF mode: Regular +Description not set +Interfaces: + GigabitEthernet100/0/0/10 + GigabitEthernet300/0/0/20 + Bundle-Ether10.10 + Bundle-Ether10.20 +Address family IPV4 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy +Address family IPV6 Unicast + No import VPN route-target communities + No export VPN route-target communities + No import route policy + No export route policy \ No newline at end of file diff --git a/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.yml b/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.yml new file mode 100644 index 0000000000..567161dfdc --- /dev/null +++ b/tests/cisco_xr/show_vrf_all_detail/cisco_xr_show_vrf_all_detail.yml @@ -0,0 +1,63 @@ +--- +parsed_sample: + - vrf: "red" + rd: "not set" + vpn_id: "not set" + mode: "Regular" + description: "not set" + interfaces: [] + - vrf: "blue" + rd: "not set" + vpn_id: "not set" + mode: "Regular" + description: "not set" + interfaces: + - "BVI10" + - vrf: "green" + rd: "not set" + vpn_id: "not set" + mode: "Regular" + description: "not set" + interfaces: + - "GigabitEthernet200/0/0/1" + - "GigabitEthernet200/0/0/2" + - "GigabitEthernet300/0/0/1" + - "GigabitEthernet300/0/0/2" + - "TenGigE0/0/0/10.10" + - "Bundle-Ether10.10" + - "Bundle-Ether10.20" + - "Bundle-Ether20.10" + - "Bundle-Ether20.20" + - "Bundle-Ether30.10" + - "Bundle-Ether40.10" + - "Bundle-Ether50.10" + - "Loopback0" + - vrf: "purple" + rd: "not set" + vpn_id: "not set" + mode: "Regular" + description: "not set" + interfaces: + - "Loopback1" + - "Bundle-Ether10.10" + - "Bundle-Ether10.20" + - "Bundle-Ether10.30" + - "GigabitEthernet100/0/0/10.10" + - "GigabitEthernet100/0/0/10.20" + - "GigabitEthernet200/0/0/20.10" + - "GigabitEthernet200/0/0/20.20" + - "GigabitEthernet300/0/0/30.10" + - "GigabitEthernet300/0/0/30.20" + - "TenGigE0/0/0/10.10" + - "TenGigE0/2/0/20.10" + - "TenGigE0/2/0/20.20" + - vrf: "brown" + rd: "not set" + vpn_id: "not set" + mode: "Regular" + description: "not set" + interfaces: + - "GigabitEthernet100/0/0/10" + - "GigabitEthernet300/0/0/20" + - "Bundle-Ether10.10" + - "Bundle-Ether10.20" From 1faf4ca920aa6b55f6467aee261bbc83eaecc96f Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 2 Dec 2022 12:56:56 -0500 Subject: [PATCH 324/412] New Template: ruckus_fastiron, show mac-address (#896) (#1233) Co-authored-by: Adam Troy --- ntc_templates/templates/index | 3 +- .../ruckus_fastiron_show_vlan.textfsm | 46 + tests/ruckus_fastiron/show_vlan/show_vlan.raw | 61 + tests/ruckus_fastiron/show_vlan/show_vlan.yml | 1010 + .../ruckus_fastiron/show_vlan/show_vlan1.raw | 522 + .../ruckus_fastiron/show_vlan/show_vlan1.yml | 16830 ++++++++++++++++ 6 files changed, 18471 insertions(+), 1 deletion(-) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_vlan.textfsm create mode 100644 tests/ruckus_fastiron/show_vlan/show_vlan.raw create mode 100644 tests/ruckus_fastiron/show_vlan/show_vlan.yml create mode 100644 tests/ruckus_fastiron/show_vlan/show_vlan1.raw create mode 100644 tests/ruckus_fastiron/show_vlan/show_vlan1.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index dba0b60ae9..66b127cc53 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -540,7 +540,8 @@ paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] -ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] +ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] ve[[rsion]] +ruckus_fastiron_show_vlan.textfsm, .*, ruckus_fastiron, sh[[ow]] vlan ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] interfaces ethernet (\S+\s)?physical diff --git a/ntc_templates/templates/ruckus_fastiron_show_vlan.textfsm b/ntc_templates/templates/ruckus_fastiron_show_vlan.textfsm new file mode 100644 index 0000000000..8ccd17f92b --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_vlan.textfsm @@ -0,0 +1,46 @@ +Value Filldown VLAN_ID (\d+) +Value Filldown NAME (\S+) +Value Required STATUS ((Untagged|Tagged)) +Value STACK_ID (\d+) +Value SLOT (\d+) +Value Required PORT (\d+) +Value LAG (\S+) + +Start + ^Total\sPORT-VLAN\sentries:\s\d+ + ^Maximum\sPORT-VLAN\sentries:\s\d+ + ^Legend:\s\[Stk=Stack-Id,\sS=Slot\] + ^PORT-VLAN\s${VLAN_ID},\sName\s${NAME},\sPriority\s+level\d+,\s(Off|On)\s* + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){1}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){2}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){3}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){4}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){5}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){6}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){7}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){8}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){9}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){10}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){11}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){1}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){2}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){3}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){4}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){5}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){6}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){7}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){8}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){9}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){10}${PORT} -> Continue.Record + ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){11}${PORT} -> Continue.Record + ^\s+(Untagged|Tagged)\s+Ports:\s+\(\S+\)\s+(?:\d+\s+)*\d+\s*$$ + ^\s+(Untagged|Tagged)\s+Ports:\s+None + ^\s+Mac-Vlan\s+Ports:\s+ + ^\s+Monitoring:\s+ + ^\s*$$ + ^.+ -> Error + +Done + ^.* \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_vlan/show_vlan.raw b/tests/ruckus_fastiron/show_vlan/show_vlan.raw new file mode 100644 index 0000000000..69092fc3ec --- /dev/null +++ b/tests/ruckus_fastiron/show_vlan/show_vlan.raw @@ -0,0 +1,61 @@ +Total PORT-VLAN entries: 10 +Maximum PORT-VLAN entries: 1024 + +Legend: [Stk=Stack-Id, S=Slot] + +PORT-VLAN 1, Name OPS, Priority level0, Off + Untagged Ports: (U1/M1) 4 5 6 7 8 9 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 2, Name REG, Priority level0, Off + Untagged Ports: (U1/M1) 10 11 12 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 3, Name DVR, Priority level0, Off + Untagged Ports: (U1/M1) 13 14 15 16 17 18 19 20 21 22 23 24 + Untagged Ports: (U1/M1) 25 26 27 28 29 30 31 32 33 34 35 36 + Untagged Ports: (U1/M1) 37 38 39 40 41 42 43 44 45 46 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 4, Name SIPS, Priority level0, Off + Untagged Ports: (U1/M1) 47 48 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 5, Name APS, Priority level0, Off + Untagged Ports: (U1/M1) 1 2 3 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 7, Name P2PE, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 10, Name 901SIPS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 11, Name CUSTOMERWIFI, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 12, Name SYOD, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 + Tagged Ports: (U1/M2) 1 + Mac-Vlan Ports: None + Monitoring: Disabled +PORT-VLAN 666, Name DEFAULT-VLAN, Priority level0, Off + Untagged Ports: (U1/M2) 1 2 + Untagged Ports: (U1/M3) 1 2 3 4 + Tagged Ports: None + Mac-Vlan Ports: None + Monitoring: Disabled diff --git a/tests/ruckus_fastiron/show_vlan/show_vlan.yml b/tests/ruckus_fastiron/show_vlan/show_vlan.yml new file mode 100644 index 0000000000..823cadef1b --- /dev/null +++ b/tests/ruckus_fastiron/show_vlan/show_vlan.yml @@ -0,0 +1,1010 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "1" + name: "OPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "1" + name: "OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "2" + name: "REG" + status: "Untagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "2" + name: "REG" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "2" + name: "REG" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "13" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "14" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "15" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "16" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "17" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "18" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "19" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "20" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "21" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "22" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "23" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "24" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "13" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "14" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "15" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "16" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "17" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "18" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "19" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "20" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "21" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "22" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "23" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "24" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "25" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "26" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "27" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "28" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "30" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "31" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "32" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "33" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "34" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "35" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "36" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "25" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "26" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "27" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "28" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "30" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "31" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "32" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "33" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "34" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "35" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "36" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "37" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "38" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "39" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "40" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "41" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "42" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "43" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "44" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "37" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "38" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "39" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "40" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "41" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "42" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "43" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "44" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Untagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "3" + name: "DVR" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "3" + name: "DVR" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "4" + name: "SIPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "47" + lag: "" + - vlan_id: "4" + name: "SIPS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "48" + lag: "" + - vlan_id: "4" + name: "SIPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "47" + lag: "U1/M1" + - vlan_id: "4" + name: "SIPS" + status: "Untagged" + stack_id: "" + slot: "" + port: "48" + lag: "U1/M1" + - vlan_id: "4" + name: "SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "4" + name: "SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "5" + name: "APS" + status: "Untagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "5" + name: "APS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "5" + name: "APS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "7" + name: "P2PE" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "7" + name: "P2PE" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "10" + name: "901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "11" + name: "CUSTOMERWIFI" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "12" + name: "SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "2" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "3" + port: "1" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "3" + port: "2" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "3" + port: "3" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "3" + port: "4" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M3" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M3" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M3" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M3" diff --git a/tests/ruckus_fastiron/show_vlan/show_vlan1.raw b/tests/ruckus_fastiron/show_vlan/show_vlan1.raw new file mode 100644 index 0000000000..6714d0e85f --- /dev/null +++ b/tests/ruckus_fastiron/show_vlan/show_vlan1.raw @@ -0,0 +1,522 @@ +Total PORT-VLAN entries: 53 +Maximum PORT-VLAN entries: 1024 + +Legend: [Stk=Stack-Id, S=Slot] + +PORT-VLAN 1, Name [None], Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 9, Name Service_Desk, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 10, Name MIS_Infrastructure, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 11, Name Datacenter_MDF, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 12, Name East_Basement_IDF, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 13, Name West_Basement_IDF, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 14, Name West_Wing_IDF, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 15, Name West_Wing_IDF_MAC, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 16, Name DVR_Access, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 17, Name Accounting_Rita_Access, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 18, Name Accounting_Spreadsheet_Access, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 20, Name Test_Lab_IDF, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 21, Name Bailout_Switch, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 25, Name Train-O-Rama, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 32, Name 904RFD_Network, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 33, Name Guest_WLAN, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 35, Name [None], Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 50, Name LEGALNOLO, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 51, Name HR_Servers, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 52, Name HR, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 75, Name AC_Management, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 77, Name P2PE_Cert_Station, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 101, Name 001_OPS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 102, Name 001_POS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 103, Name 001_Non-Store, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 104, Name P2PE_LAN, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 107, Name 001_SIPS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 108, Name 001_POS_Training, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 109, Name 001_Management, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 110, Name 001_AP, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 111, Name 001_901SIPS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 112, Name 001_Customer_WiFi, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 113, Name New_Store_SIPS, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 122, Name 001_SYOD, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 191, Name NWH_CCTV, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 200, Name 000_Dev_Store, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 222, Name Conference, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 225, Name Keyless_Entry, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 226, Name [None], Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 254, Name Test_STore, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 300, Name NetMgt, Priority level0, Off + Untagged Ports: (U1/M1) 37 38 + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 301, Name Internal_Devices, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 302, Name Physical_Security, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 303, Name HPB_Users, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 306, Name VOICE, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 307, Name Guests, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 501, Name Flagship_WLAN, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 502, Name 888DEV, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 1 2 3 4 5 6 7 8 9 10 11 12 + Tagged Ports: (U1/M1) 29 45 46 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 7 11 12 13 14 21 22 31 32 41 51 + Tagged Ports: (LAG) 61 71 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 666, Name DEFAULT-VLAN, Priority level0, Off + Untagged Ports: (U1/M1) 13 14 15 16 17 18 19 20 21 22 23 24 + Untagged Ports: (U1/M1) 25 26 27 28 29 31 32 33 34 35 36 39 + Untagged Ports: (U1/M1) 43 44 47 48 + Untagged Ports: (U1/M2) 1 2 3 4 + Tagged Ports: None + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 1700, Name [None], Priority level0, Off + Untagged Ports: (U1/M1) 40 + Tagged Ports: (U1/M1) 29 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 1800, Name NWH_PUBLIC, Priority level0, Off + Untagged Ports: (U1/M1) 30 41 42 + Tagged Ports: (U1/M1) 2 29 + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 12 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 4084, Name MCT-keep-alive, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M1) 48 + Mac-Vlan Ports: None + Monitoring: Disabled + +PORT-VLAN 4085, Name Session-VLAN, Priority level0, Off + Untagged Ports: None + Tagged Ports: (U1/M2) 5 6 + Tagged Ports: (LAG) 1 + Mac-Vlan Ports: None + Monitoring: Disabled diff --git a/tests/ruckus_fastiron/show_vlan/show_vlan1.yml b/tests/ruckus_fastiron/show_vlan/show_vlan1.yml new file mode 100644 index 0000000000..70b4815219 --- /dev/null +++ b/tests/ruckus_fastiron/show_vlan/show_vlan1.yml @@ -0,0 +1,16830 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "1" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "9" + name: "Service_Desk" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "10" + name: "MIS_Infrastructure" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "11" + name: "Datacenter_MDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "12" + name: "East_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "13" + name: "West_Basement_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "14" + name: "West_Wing_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "15" + name: "West_Wing_IDF_MAC" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "16" + name: "DVR_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "17" + name: "Accounting_Rita_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "18" + name: "Accounting_Spreadsheet_Access" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "20" + name: "Test_Lab_IDF" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "21" + name: "Bailout_Switch" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "25" + name: "Train-O-Rama" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "32" + name: "904RFD_Network" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "33" + name: "Guest_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "35" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "50" + name: "LEGALNOLO" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "51" + name: "HR_Servers" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "52" + name: "HR" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "75" + name: "AC_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "77" + name: "P2PE_Cert_Station" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "101" + name: "001_OPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "102" + name: "001_POS" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "103" + name: "001_Non-Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "104" + name: "P2PE_LAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "107" + name: "001_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "108" + name: "001_POS_Training" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "109" + name: "001_Management" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "110" + name: "001_AP" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "111" + name: "001_901SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "112" + name: "001_Customer_WiFi" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "113" + name: "New_Store_SIPS" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "122" + name: "001_SYOD" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "191" + name: "NWH_CCTV" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "200" + name: "000_Dev_Store" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "222" + name: "Conference" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "225" + name: "Keyless_Entry" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "226" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "254" + name: "Test_STore" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "37" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "38" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Untagged" + stack_id: "" + slot: "" + port: "37" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Untagged" + stack_id: "" + slot: "" + port: "38" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "300" + name: "NetMgt" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "301" + name: "Internal_Devices" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "302" + name: "Physical_Security" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "303" + name: "HPB_Users" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "306" + name: "VOICE" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "307" + name: "Guests" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "501" + name: "Flagship_WLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "1" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "3" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "4" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "5" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "6" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "7" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "8" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "9" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "10" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "11" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "12" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "8" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "9" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "10" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "45" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "46" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "45" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "46" + lag: "U1/M1" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "7" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "11" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "13" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "14" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "21" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "22" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "31" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "32" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "41" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "51" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "61" + lag: "LAG" + - vlan_id: "502" + name: "888DEV" + status: "Tagged" + stack_id: "" + slot: "" + port: "71" + lag: "LAG" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "13" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "14" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "15" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "16" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "17" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "18" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "19" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "20" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "21" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "22" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "23" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "24" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "13" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "14" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "15" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "16" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "17" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "18" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "19" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "20" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "21" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "22" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "23" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "24" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "25" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "26" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "27" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "28" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "31" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "32" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "33" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "34" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "35" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "36" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "39" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "25" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "26" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "27" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "28" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "31" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "32" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "33" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "34" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "35" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "36" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "39" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "43" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "44" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "47" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "48" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "43" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "44" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "47" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "48" + lag: "U1/M1" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "1" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "2" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "3" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "1" + slot: "2" + port: "4" + lag: "" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "1" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "3" + lag: "U1/M2" + - vlan_id: "666" + name: "DEFAULT-VLAN" + status: "Untagged" + stack_id: "" + slot: "" + port: "4" + lag: "U1/M2" + - vlan_id: "1700" + name: "[None]" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "40" + lag: "" + - vlan_id: "1700" + name: "[None]" + status: "Untagged" + stack_id: "" + slot: "" + port: "40" + lag: "U1/M1" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "1700" + name: "[None]" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "30" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "41" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "1" + slot: "1" + port: "42" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "" + slot: "" + port: "30" + lag: "U1/M1" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "" + slot: "" + port: "41" + lag: "U1/M1" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Untagged" + stack_id: "" + slot: "" + port: "42" + lag: "U1/M1" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "2" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "29" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "2" + lag: "U1/M1" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "29" + lag: "U1/M1" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" + - vlan_id: "1800" + name: "NWH_PUBLIC" + status: "Tagged" + stack_id: "" + slot: "" + port: "12" + lag: "LAG" + - vlan_id: "4084" + name: "MCT-keep-alive" + status: "Tagged" + stack_id: "1" + slot: "1" + port: "48" + lag: "" + - vlan_id: "4084" + name: "MCT-keep-alive" + status: "Tagged" + stack_id: "" + slot: "" + port: "48" + lag: "U1/M1" + - vlan_id: "4085" + name: "Session-VLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "5" + lag: "" + - vlan_id: "4085" + name: "Session-VLAN" + status: "Tagged" + stack_id: "1" + slot: "2" + port: "6" + lag: "" + - vlan_id: "4085" + name: "Session-VLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "5" + lag: "U1/M2" + - vlan_id: "4085" + name: "Session-VLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "6" + lag: "U1/M2" + - vlan_id: "4085" + name: "Session-VLAN" + status: "Tagged" + stack_id: "" + slot: "" + port: "1" + lag: "LAG" From eb28bb40ac785be38cd69a81de56e7adf448209d Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Fri, 2 Dec 2022 13:01:33 -0500 Subject: [PATCH 325/412] added arista ipv6 bgp sum template, fixed bug in ip bgp sum template as well (#1232) Co-authored-by: joshs --- .../arista_eos_show_ip_bgp_summary.textfsm | 1 + .../arista_eos_show_ipv6_bgp_summary.textfsm | 25 +++++++++ ntc_templates/templates/index | 1 + .../arista_eos_show_ipv6_bgp_summary.raw | 4 ++ .../arista_eos_show_ipv6_bgp_summary.yml | 28 ++++++++++ .../arista_eos_show_ipv6_bgp_summary2.raw | 7 +++ .../arista_eos_show_ipv6_bgp_summary2.yml | 41 ++++++++++++++ .../arista_eos_show_ipv6_bgp_summary_vrf.raw | 16 ++++++ .../arista_eos_show_ipv6_bgp_summary_vrf.yml | 54 +++++++++++++++++++ 9 files changed, 177 insertions(+) create mode 100644 ntc_templates/templates/arista_eos_show_ipv6_bgp_summary.textfsm create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.raw create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.yml create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.raw create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.yml create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.raw create mode 100644 tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.yml diff --git a/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm index bca31b22dc..4381f14eb7 100644 --- a/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm @@ -22,6 +22,7 @@ Start ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record ^\s+${DESCRIPTION}\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+ -> Record + ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s* -> Record ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record ^Neighbor\s+Status\s+Codes: ^\s*$$ diff --git a/ntc_templates/templates/arista_eos_show_ipv6_bgp_summary.textfsm b/ntc_templates/templates/arista_eos_show_ipv6_bgp_summary.textfsm new file mode 100644 index 0000000000..d66d8a9c9e --- /dev/null +++ b/ntc_templates/templates/arista_eos_show_ipv6_bgp_summary.textfsm @@ -0,0 +1,25 @@ +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown LOCAL_AS (\d+) +Value Filldown VRF (\S+) +Value Required BGP_NEIGH (\S+) +Value NEIGH_AS (\d+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) +Value STATE (\S+) +Value STATE_PFXRCD (\d+) +Value STATE_PFXACC (\d+) + +Start + ^BGP.+?VRF\s+${VRF}\s*$$ + ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ + ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State\s+PfxRcd\s+PfxAcc\s*$$ + ^.+\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+[Nn]umber\s+${LOCAL_AS} + ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record + ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s* -> Record + ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record + ^Neighbor\s+Status\s+Codes: + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 66b127cc53..32d48403a0 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -53,6 +53,7 @@ arista_eos_show_mac_address-table.textfsm, .*, arista_eos, sh[[ow]] m[[ac]] ad[[ arista_eos_show_pim_ipv4_neighbor.textfsm, .*, arista_eos, sh[[ow]] pim ipv4 nei[[ghbor]] arista_eos_show_ip_ospf_database.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] arista_eos_show_ip_ospf_neighbor.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] +arista_eos_show_ipv6_bgp_summary.textfsm, .*, arista_eos, sh[[ow]] ipv6 bg[[p]] su[[mmary]] arista_eos_show_ip_access-lists.textfsm, .*, arista_eos, sh[[ow]] i[[p]] acce[[ss-lists]] arista_eos_show_ip_ospf_summary.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] sum[[mary]] arista_eos_show_ip_bgp_summary.textfsm, .*, arista_eos, sh[[ow]] (?:i[[p]] bg[[p]]|bg[[p]] ev[[pn]]) su[[mmary]] diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.raw b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.raw new file mode 100644 index 0000000000..84d8428162 --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.raw @@ -0,0 +1,4 @@ +BGP router identifier 10.26.0.22, local AS number 65533 +Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State/PfxRcd +2001:DB8:ff11::1 4 65534 187 191 0 0 02:49:40 7 +2001:DB8:ff12::2 4 65533 184 191 0 0 02:59:41 7 diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.yml b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.yml new file mode 100644 index 0000000000..d6c5392d33 --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - router_id: "10.26.0.22" + local_as: "65533" + vrf: "" + bgp_neigh: "2001:DB8:ff11::1" + neigh_as: "65534" + msg_rcvd: "187" + msg_sent: "191" + in_queue: "0" + out_queue: "0" + up_down: "02:49:40" + state: "" + state_pfxrcd: "7" + state_pfxacc: "" + - router_id: "10.26.0.22" + local_as: "65533" + vrf: "" + bgp_neigh: "2001:DB8:ff12::2" + neigh_as: "65533" + msg_rcvd: "184" + msg_sent: "191" + in_queue: "0" + out_queue: "0" + up_down: "02:59:41" + state: "" + state_pfxrcd: "7" + state_pfxacc: "" diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.raw b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.raw new file mode 100644 index 0000000000..00f5dc3a35 --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.raw @@ -0,0 +1,7 @@ +BGP summary information for VRF default +Router identifier 10.0.65.72, local AS number 64911 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 2001:DB8:ffff::1 4 65292 0 0 0 0 79d05h Active + 2001:DB8:fff1::1 4 64832 0 0 0 0 79d05h Idle(NoIf) + 2001:DB8:fff2::1 4 64833 114056 118481 0 0 79d05h Estab 1 1 diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.yml b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.yml new file mode 100644 index 0000000000..a51e56b78d --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary2.yml @@ -0,0 +1,41 @@ +--- +parsed_sample: + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "2001:DB8:ffff::1" + neigh_as: "65292" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Active" + state_pfxrcd: "" + state_pfxacc: "" + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "2001:DB8:fff1::1" + neigh_as: "64832" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Idle(NoIf)" + state_pfxrcd: "" + state_pfxacc: "" + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "2001:DB8:fff2::1" + neigh_as: "64833" + msg_rcvd: "114056" + msg_sent: "118481" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Estab" + state_pfxrcd: "1" + state_pfxacc: "1" diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.raw b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.raw new file mode 100644 index 0000000000..f430575ba8 --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.raw @@ -0,0 +1,16 @@ +BGP summary information for VRF RED +Router identifier 192.168.1.1, local AS number 645001 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 2001:DB8:c0de:ff::1 4 65002 1753556 1761743 0 0 40d23h Estab 7 4 +BGP summary information for VRF WHITE +Router identifier 192.168.2.1, local AS number 65011 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 2001:DB8:c0de:ff1::1 4 65012 7405942 7406081 0 0 270d13h Estab 7 5 +BGP summary information for VRF BLUE +Router identifier 192.168.3.1, local AS number 65021 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 2001:DB8:c0de:ff2::1 4 65022 1171721 1171752 0 0 67d19h Estab 25 25 + 2001:DB8:c0de:ff3::1 4 65023 97651 97643 0 0 40d23h Estab 18 18 diff --git a/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.yml b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.yml new file mode 100644 index 0000000000..7f773ba7bf --- /dev/null +++ b/tests/arista_eos/show_ipv6_bgp_summary/arista_eos_show_ipv6_bgp_summary_vrf.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - router_id: "192.168.1.1" + local_as: "645001" + vrf: "RED" + bgp_neigh: "2001:DB8:c0de:ff::1" + neigh_as: "65002" + msg_rcvd: "1753556" + msg_sent: "1761743" + in_queue: "0" + out_queue: "0" + up_down: "40d23h" + state: "Estab" + state_pfxrcd: "7" + state_pfxacc: "4" + - router_id: "192.168.2.1" + local_as: "65011" + vrf: "WHITE" + bgp_neigh: "2001:DB8:c0de:ff1::1" + neigh_as: "65012" + msg_rcvd: "7405942" + msg_sent: "7406081" + in_queue: "0" + out_queue: "0" + up_down: "270d13h" + state: "Estab" + state_pfxrcd: "7" + state_pfxacc: "5" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "2001:DB8:c0de:ff2::1" + neigh_as: "65022" + msg_rcvd: "1171721" + msg_sent: "1171752" + in_queue: "0" + out_queue: "0" + up_down: "67d19h" + state: "Estab" + state_pfxrcd: "25" + state_pfxacc: "25" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "2001:DB8:c0de:ff3::1" + neigh_as: "65023" + msg_rcvd: "97651" + msg_sent: "97643" + in_queue: "0" + out_queue: "0" + up_down: "40d23h" + state: "Estab" + state_pfxrcd: "18" + state_pfxacc: "18" From c9e7e5a7b2dde03c29ddd78d1da15cbf2bfc30a6 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Wed, 7 Dec 2022 12:37:10 -0500 Subject: [PATCH 326/412] Update icon, fix issue with missing page, make support model more clear (#1235) --- .github/ISSUE_TEMPLATE/bug_report.md | 15 ++++++++++----- .github/ISSUE_TEMPLATE/feature_request.md | 1 + docs/images/icon-ntc-templates.png | Bin 4703 -> 117758 bytes docs/user/faq.md | 11 ++++++++++- docs/user/lib_use_case.md | 3 +++ 5 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 docs/user/lib_use_case.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b432ffac7e..ab8ec55be3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -3,10 +3,14 @@ name: 🐛 Bug Report about: Report a reproducible bug in the current release of ntc-templates --- @@ -17,8 +21,9 @@ Also test if the latest release, and master branch are affected too. ##### ISSUE TYPE - - Bug Report - - Feature Idea + - Template Issue with error and raw data + - Bug Report with the library + - Feature - This is only relevant to the library, not templates - Documentation Report ##### TEMPLATE USING diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 2730909f4b..8c2fd5214b 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,6 +7,7 @@ about: Propose a new feature or enhancement ### Important Note Feature request for new templates will be closed. +Feature request for adding data captured to existing templates will be closed. ### Environment * ntc-templates version: diff --git a/docs/images/icon-ntc-templates.png b/docs/images/icon-ntc-templates.png index 861dc310be176c79c6b74f5d08c17922fc6ef769..90796a6cbf0a4adff3539d7b4135e4301c9ea228 100644 GIT binary patch literal 117758 zcmZsE2{@GN`~TZ=(n{(SDijkfLVL+lN75vzQ$krrB`Iqf`!aEgB08feV%ktl49dO? zlB0zpGo%nA#+rTq-S7L(*7yIP>pIu>dzojspL_Y-pZk8^dAo7+i0-2KE9N5zvWR$a z|KA9*fDZq?m^%mlvQSUA82)FT<3ST=1W}ep|C`|!tL1_qs}bV!l;!+g4uPF0NEHPbq4z%F?Skv;9N8SB%yhE|A(gXYq__?RS?t zQ%WTX-qn>H!`LFXw}ur~ivuz=Cp*4>UxP4zeYVpYePhw1xO=KlYm!wk3uHh)G1gQ5 z(>`}wx)Td>IFTI}w>u-Goq0>>vzQSb>Co)1;5tqWVX4jKPN_N19`!2p&L8nebBn!{ zFv^}rko12^(v%my>kep@FQ)m9c}PlpoPiIgd>CABTcCG&@Mq#P7_!<}g!CsW&3>BF zR8`d9QQSolR!egeN1f(B6qWSc{?MYClz0%FvAH8%>%F76H?_iP%+mCr2zT^IOdVmT z$^K69v{?*Gkd^+e>C~9z_0^MAw9xrScxS6Qz#d(d;yb@K`KIzrQrleC3}Y!vHSQA3 z17m9E3NHUEO)(UQjs7Ip8T_)kHx<_+!;{G8OR4(&+MKvZ3A0(ulZ)xIdXIOcH&iT+ zHTbprsMflydE9}NyY61Mykpj!E7-VuF2xB}>&;jmQKcvz&ohi_=7)$GmUqQ0JpXYaS?Ts_^_nk*iCDq0!yH zn?%bg5@qDTvG+W-A20TjdX^I-$~%>snYB2>I>x&5U$^k~HZldfx@=sebp`H7$r?T6hrc@{)+zj`l^ zU~iq>>1x%6bnYlr+dG3?Cu<#874M`Y&0FPUyIPr&cCOEHm-)}Pgxa??q<27jB|cu%G$-xd8TKw7AMbA0zEX|-_Ji8WAHTxQ33Uh%#$PYgs3rT zB2%ov%_jDK8!9En1w|a>A0qR^;^d0#xaiEj?<%#CLtvOa&tb2H5uXjHtL~Wbj)mB!)GahZRrc*p^h}12ADLwR*{*=L z<|s|U{kTB041dk@bJ^Ch0SG;aBwgbH_G#`( z#E|(F{Bw=Oa0qQg<(#qo&iZe0QiYz_j1eg~EI?R;!DVWTQrW)R?YuEaiK*i5p2&+QJ?1ix&t+Y`buwep zl4^53sKZmIlt0KeWSr0@m6X)*XZ_4xGgwQ$+77os&TQTwQnT5)%xoV+ScnZrI`F*C zCvwdR-{USk%t4qxz1}ZQvIv)%*?WT|y)Maqe3GC@EdR|$sva4rW+Ly(%mmoIY4T4; zd=Oj6p^>`Q9c4p_8}dg%f9*wyn18W-0BKy?s~x?DLo_i)|k>F zWMmX=A|4UR$BrFBDBh z%=a@yC$>G}V+FGumaLF77Ku45Sd!7Nsc_##pM2b7uBxaXxiJ7@;qc{{7Q653`KPnJ z9<)$`?QlqJ#*QeG^hlDhBeKk{ng-x-tJidE(d4uhCC?I<&0pGd3Jru>@C zVKn36Dto7%m*o)V$t?XXU6B{fJ?0(_AxXQO0DvP{6YKAo35JA^-)nh!DIpP78C*&) z4uK4$3J#vsxr8r=%X^*cj+03Pi%H(Fk38n!*=}9SV)!x7w9hsG?U-hY=ImpL?s;fG zZgV}cLqy0G_EKB;(pE2_7cU3QrvC1@h*wo9As&O;ne^)<>GY%Dh61F1_b6tV>AAV= z9?*F>hul7cc^Ohjc*}+}dd>VBiAf}^i6$_dO!cnh|1;Y?_b7p z2NpN}n9WhW4A7&n+u)Z_Oe4l|VgPhepp-UGGY_QKi(E%rn|0He@4b|+{vBo2kMGVp z@b(&6@)6`Z;(4OzTV=lgQC?-1JKA}J>U*7G6FG8SkM-PYGeP)}B+R%+iD^ZTQuW!+ zH?l=R=qN7i9KuczAC40929Dy0=CI5JpA&8<>BK*_)KFp^inTH`y=Wxq9bn>d;*qe4 z#DV3!AxI5rx;wIiJ}|ej4(xZeBb{~*Ryitw3?#V7?)oK8KO9$O9?Q~SDJg-b=x*e( zfWJiW#~utyH)_n5oXfJ*23e`!6UNMi99s4KuvF3u6nEyb9%W{CiETAC^gS&sY8dF0 z%w|1$$c`0ZDks)WZ7VZ;%};#@!`30}D=hrC$K1{>60Ap*62n0g>P{giVjgj{lb-Kn zDb4EqWJpfohcH49xWqXcxPZe@NJsHdZcF zQ#u9_wlHOEpAZT#w|-UF-5%MIFtE60d9t1u#qL+jo`s_lerU0^=G-kg6>D{hF zlK)>5Fg#?bhp~J)`^^D{s1_t}BJ~}?^IAOr_z1^2s^uvL2&BX25i-bGKpvCd#Wi!j z-BJ(~zSvDpg7tkKM#K##p9xYT@-R0Pe4zo-OH}za^2k+)N2;j~osZba!g@j$q%JVE zty-bl#4R{`*u=l*l7+mM^rUm`Xqx>v;2S9{&%@1aUEYixM*tFt%FPJ^(*qYI9zm15 z#_S!p7I1p+{y%%Ee>g@>ga8H2#fj64;?!xd9E_+;31xh}C44h7J_AsAZ&3-gU>@uucgp5_~y68$ow zB@}l&vio3f?@^CgbPPh2!*bUPcppOgu1&RJpKt{oZpdPkpM>Du^;_^V&$~yR%fBFP zd1)T2_7v<&xUaZ-ojRX6B8{g*w(RGiMo7rTjTsJ{B8@P;A#YZrRQFbODW0pl#WWK< zV|5YrVh6M1(GfB;-YFPcC!#5|MZGMi@-!v7k4!>~S%-WBYGTs!{HZ_<+2(-cwmZeeIC;&!7{e5|?A3rbb?_PZN@au;Bn zg$0hJ7L2&0j${Kcc*@y}gg2{|y*_q0{TeCy1!F|VQ6}`)jF?t6?SFg*tJ!EtI=`DI zc{=lnUN_C0_IPM=*MIZWKiE;125hgL<3~P_3>lF+9P5g#Y&)x2`g14E-0uo^&xbD^ zW_OhaC7*F=Oc^IsB|TTx6T2F*n7;KQXmRbRQM>fs&BIcD0|v*&4EMKlCouyxZq|m% zdTSg>HM0Hl=ohZ0D%KiX-@)>8Op96jCgvBf_Ysz3P`kV8NbtOnUiSFDn$LjR;a_nr z3ZxgxKm)^NW>l;(w!X5w!0khG-%iF0O*4I3oAW)N{z%3-U3btsjvoyNYZ@R3wS{!G9Nm*_R83LrLP4l&9vD4iK}pJvWEZ|=rVsVkqN*c-NR zMo#^Lw>d|)K!$*5cRS1|2Tl(ZY!xR$VqLRl&|ZzQSPN6GFo@eto$>8uZ4~e1##J>| zkI6eiNYS@a+)UrA`y9JU&MEJmu7`>yv4|hyH8Vq#l4*q9>vHC}l!HHNNJjkyTP#j2 z{^I@KkvN%pDIrQ|^qC+IN0Asu47nL{^_vszdu8^8=%(46KaGHWmO-{*T$KH_`|sgQ z37$Y`VKC{Hp9>Yysv4JJDdiUxdSaFt^H}RIiYFGRVLdx)xLgkGIf9#MM%vF2x_2x4a;L@o|Qjk z4Sg8;9b;)9tU`Y@X4bx$Cx+^BjFu8FN47ldTp@W2LT=z9ol1(nE1pavG8bJe@lv9v=Cf-JACsXvEKdupu62?P zdqCFTt|BxJ@}wdZ1wcsmia#dD=rhUGC{!iMawn~G1XVF5c1cp2JP!GV z=aNY{-A_VBRL0baL9C`z%*(cg!b@`dGO1tBXFe0QRO9L8-|F3|c}2%bCO*|&ePGaO@x(Np?yVCuUBRP-q6hJfNBbV} zK@pD8c5oQq*&G54HB_cPn9uJKP*PB&Ei<7)&w}~)MCJBsK#{jg>0#Mjp>j= z%M}}v9n5)hFpoS#qu|wG# zjM%Wvj!Q?#6pqbfxk8Z<(Kl}++GT(?g0O9D{eTiuA1KsrRR6>0jSl-nRi(VK3LF(E zI|jtPOTp_6hb8&AM$yHXmyE8hl*Fg85OI3X?UMNCQ-&TQ>YwaT<|r)C4imHwkw$?2 z05fb7OWbo=+KhbYEa1sr{Zj#^B7RJflrR;o2(Xh9gXI^~dnhG}@l#59vtk<0LZ<<$ zBK~oMp$01j$3pq5PoriTUdtG7DjW+xo!j?5tP}FFFSPZZ8yw=nC!(bLZ77~t{#f>0 z+6|T~h2$NyNv6l?Zp*`g&`Ovm6ypP^hqxu^62~@)8=%{vwqm}0pi3`r9n&aF5p)(vgUesAEU98( z+2K`C&u!H3t9G>XUI3krm=;>BD|6>pv^6CRO(cn|^z!TDFD@nYgQ1iqSQ&@E4OIbf z9Hu2D2&D<6#xUtc+V`on3zoHV%5(>4(c_Ljax;;i1(22hy&~`U>`f)IPZ-4pFjn~u zZi0%{lA7pNMN0GfZ*d}8*YQrqv_MPfHK))@U)_b)a@03ddN$`Ysqg$|1L!W#_qt45 zbD}^=0HYLHXS?V{SE5mB;oX8N;qUhVQqErQd!H)^su$)#rO4#wg^MI@{hkm28hS4) z(?g*oYa>pXc!;3=3)c3#J4JY6P{grzg72Xo%C&}7DCyBlU!|Ct%(?Sex)=Kns2Zdixy_#dEP;xFKU&EMEd|S|6KTDF zW*Tg9GIo71nzFI0^>uUP4P z%31g+`)uyYZfI($ms!2;pf`9^r?`F*Jdg6(_wo--l3p(2UGe1KbA#PstAI*F z=h`3SR|W9bDpT@VoaVtM3O5&7a6xNAB~t5B^=f8#61P!T?q}rhhJ1WirjRv$Z_UX9 zVGsJ2dVw9Xb(Q%wLp9JNq{%tB4QkwjN=;GuU$}nSUj1@_pZ^gaXSdDsy#jqR4@$Vy21Sjp!90x%>KYLZHAms(Ectp8B|DfgyY2(?*kBf;y# zCgim_a}pU5;6JaEmeM8QTF#yN1pNP023kOV5RhYp;sC|fmNLR)^2s*+Z$s9xx}B*; zVq#*kJ3F7E-J*$O9wMhXYT9%kXvXsmFmVuX0L{HuJz65(xW&|1h191_K8cQ%6YA0) zIQJ=6pX#+v{aP0}>w=p}+O&}eGb9_L&13fI_Ti-GNAyDZi&AK>0$BzSjxJI8@JIYv z0H{9QMC+_oiVNGriuSmKEZ|&%`ym_ZP6+?IKFb7tr|JS_XxIcQLVMTaA6B<;Ct_?x zL-|(&9A0ghcm(dHgMSkX6VEZZ1?}s|1PZF#hrzTn6M{t4#lTsR(mRAfKEeHM@fpoMk?#y@P(F zaah(VXmZue0BUX$BPJAz4FBa_UkSzEjf}7Rqj|!1j|9u;8J9vbwsX51e4%3@%=LaH z4Tz?{(SoL-lE#_S^H@euiWd`%oXnzsEEXu6DgT%p{!_E;d(%xVy`k&@%BCGb#=nm+ zT5k7Er(N3iTHeAgm5r;7Ezm|MN<92u^d<^2I+CydvV2M2i#nfE9ZL@VQOym!U9_Z05b7G$Wa$~zxf)(MgJVi}KQK)OIcxsz#0U*TB zE~^VyP2>v4mH6-j0?F{&AuvUp zJ`IR69QO4!nd~EMgB_F$(bn1em%pM_%9^vkz@5a^;E*(7doD`3Fy;eT`f2xnAD8qm zH8q}|hhAPy0O5Jk@5w$94^2`2#{&Aj7#9yNpC;>*4Lx2PXELUo&jaMENeG>x<}ivG zrgy+i-X9W^Tv|A`6umS19;~HaUD9-m-)})`jzU%W{h7U|$SvAWya$eU(jYL1L-P$R z)rAlkz0I;%yL$tO3Y|ANlYaXeX!H-p--m*?%1p8ExfEYc$q3^0Ig4Y?sFb<4i=SO> zJdIrjpfU0(lh^g)4{mH<-qip&9n)L_ytYMEHu(8=s9BD24h3wPJ0`acvabVFVxR(S|?x@9ma>w6jp)hqCwChOw zo;n7tbiN?W%NK~F^M;8b60$Ch8Y)10YOFd5H5aZBjF+NfVS z00HxSSq0OrEvb-u6yY+aj0HcAVOcJbPT~+57sMH7Yx29}*b>R;cbP@Dm z5Y-mZ3cJ^7_}xM?tS~KQc0hwd|JS1d(H-^su(W2oqHqkZH)IviuCZ+{r(~rVe_6(! zIARhs2AZRlBhM|L&9Q(a!F&Vluk{*&JZzkt^t^k^wtt|kWYi8(9{{Kmxu7nNa>&s% z*z60hG{DxLrsa(j?VDArc1@Vv)wsX(_U^0q66%+l5B{BdRaH?kR%P+XOpVHUf6-D1m`-8|rmm`&#voKAVR_t5jz59IbB+4b~0^4Ov}I`%MEvts3jnH$bEv3la^~j&5`F9vilPMZOUc`Am~taf z3{)K3Z&sYUD`)}hUA9KZ9|hW1d&d40cSsdFR#NTr9npo*_^Dln@k-$j4aB&^cg;axg^4+p#ms^a!%& z3i0W306{O1L{8Yk23Ftf<(t$!MV?%i5VzJhG_{6nYARI6seq(A#Z$^<_-z8@{TChe z*>8Jmk10K~Gk<+;Fx9?7uE_#a6I}qVaaSmk?q#If8;SQ-pi)?bJ6d_KmtZxV7b9Jn zQV?WtQ(yjsuVAb$0t7Soe^&`Pe6%iPCs1=A6&SFOy+j_`3hKnvlYo63TK-%AT{Iq`<-v zCUZDBoDM}$;VtsCLp zgG}gx0l1`BF1ngc%EIJp2Kt5%tONuc8Hq`?PnK)4g5deymL+{Druo{SK48jsWv|2h zVhT}R#BsYIYZ<2T@KV}*mMgp30CYd!Au=IT*d2Q1!CgugYFowp$fegA4h1TI*kCNC z^-LW#pp}pTDe)H*n(X#_y{|7^XPYW=#b!rgHm9TWYe{kG8G*_Vf6!5Xd0VNDo0!EWCBz5c7;mtAXWLel|s z0dKzDt#E$eh~Tjv(kE8m#{;RhQJpi)?s+ltJ=>V?I;EeU?$MmXuhkJ!rHekgU;B9{ zEAL;09`9SCXRT^6`#m%fv)Whx_N2Prwhz;2JQ^m-a_y1aRZ+h$A?jYCm>mCrO!*ys z9}lIPwgI$Th3-kpMLVkW(FMHzWWv@)+u#xbxAyu)>VW>UUwkBh9U zAP!aaa!&p-8xs9HPnk2c&GWUh{tn~N8wJNH{@?ytFfQ0|i*3`R=yO>BoiUvF@$vD_ zMV@te+Kmmhdkzk!aRe`8962Sxj7nRtE=}2VGDzxZ#X0vQZ?ny;Lu*Pu`=P#FY5PBZd)tnEBL74EzDT0lG9hwh@GWKdvV0==%PQ`}(l4U&e!fGDCymJp8;!h1x1NI@o2FWee@YW)FO6v9`D zC#SjIZqolBpm=kUeaap**mQ<{D)h@w|3ODH@8_BT$oGY?k<=NP;I>kn263GEB+%G8 z6ul}w`-8@Nb^t+`RW>RSHUraNb){jmoRENDG%I)Zi4sHM(0YC$;mk_$0!WmOia-s{ zg^t7=6X9&W+C(e=rt?~uIxuJF-3VA7W+g>-*7!ooqt~Scy4}z7FU+$+Q=tHjnV&mX zyw@KRo#Tqqg`q$PDLaOYyvk%dY6xXv(s0=D_%a9iCIwFs|GINxBjLy9aIC(`=%Vao zVR;n)b`C*AGsIhJFTb0YD= zdRmPma{}F>gbi>VqW@y*DsUN#m4-Ms%6(g3_^=)p{B5AU%dNQLqIbWt>2=MW;ub3m zK_5zE?bTrS2;l_Ln(+Ll{{FA1Q0Ssd=wa>P?fehrj~d94N1t50qPrCJ9&vFr&AcxK zdSES-5blA8D$6$=2Maj=&Fb3V`P%x)JXSGzFcwlWe=)@P_A#?>ajvitjmyH`W^3FE z^o5M4Dhu)TpHN0(5O|!ze-u~@WVJV!Exn^PDEr(4_?NK=vlnnl^0S)f-hW8Z-zUGE zC?N}bTC5Gv(^O$oarwDGyUcW66G6_jGTsvnARmJSCR*5PWs+fCD_`k9C`rt!SY4l$ zB-rS-HT!aQYW^z70Z+LuqtiNPjRMB~_3nRwoOw7KoI?mm0GiCtWIO=Cpmn(x}QM(N*3i zn&m{x^%sq)^}Uh`5kg|5`6X}$Qe_f-0joVq_zU@#w_}g#Y394u8mn+zmWeA$C4YEm zYJ^n_n3*Iq!1{CgQX$fUCCalI`A0m=uK&muJm$p=%u3B)#|f7BFrTGDHIMk7DWoLT zMd<%n!q=#nf2#X|Cc2v;C&$g+lnDv)|w-CvQ+j z&e%e%cSTEmd~j7 zbTUW~LrVeSO=NRU4x9y9t1tC$GHzQetl9Up^H=KQr06|IiVHe8qeRy#;PpZnk4$2W z44~@a&O}Yxgn@=;2B)JRY>q1Huz^WNytvZ}@ltW8a5apCX1}@>=s0@`Mapxf_;i?t zpZTi0WX}}OvwyYC=BSsN?H~9xeH&&nz3z~6ZU(HIRFaV!?0>I;uJ$plKzIKg^2)xC zY*X*P()8yyIWMh{kGI|}rdQPJ415-uh9a_|wEuufMuxc4=XYUYT|no!Wn6P=PK=MZ zn5@*u1~S$f3a-#sH??dy@Om7u;5Zv$ZUv$sh34UpK>(Z~<8DpneozOg$Tek@)9$5= z1i5;lRe|{QjnC{HxM0daWn#Ye3Jlm7*F;7Xo}h_v#0d1*&jxCc?NcdXruDsC$Dl$l zKNRa*J%l2|Bm*4PRo&||_hNLYe}mkVxcKyGRu=$WVv7dStDSRi6hPY}t-F~x{kb&k zO>wE_Rs*P_VL!Bc0Esc`o2+gb_Inc25p&3ssrFg`R{-~6!w7RY_g278v&~u(eZ8Jn zqsO5B%&$_s(&5YMj!f8vv;2kJ$0Gc5ZUo+Pl%{O{GFktLJmUQ%YfSI>GParK_aJ4O zZQJ93wsWhvP*A*qy6T;Oz`^dT0hB4h<1=o!7wZ2bwB!^v0rpjuk=e(NDgQ zdCO0B_mgYM+IU0d?BFmIN08Uv!3FR4w_^`pWP5EXR5O4kG`F02C<}^(Tq-4Ap!53J zFYLDpjpNWEDS!$!Ok*~s#8VdKy+3v0_1)NoV+qY|XIIr*V|jG!7}^f8m2V<Mq=~$P(-!l(w ze~8LTYZ!5Tt@{pnd)fRqovh zwhj)2b_7PA2U^$3O|@65A=)6hnw+Lp&qIks<(Q|5B=71^{i@16c#`>6Q_=xphl+*x z*W6^ykgNgMffJO3&1H>-Lojm5VgTM@XEv?627+7erm7oAn5mZ)LS>js37u5jb3g4_Jf|LzUh6a*SAXcr60AR_YJruFK$5R?JOlh|(;T_IfRi{&=G`uLUG$02!-2Re+~RgZ zZ49Z6#M<_}Kh2|i)*l?Nc3gzsZCqIqU2!zBne=(AHtWH!A~H)r)L!E^ZBSVzVg(d4 zlxqReTo)^8NjtAfuXdIlp`+1dU9kGek7%^ORGopZ`%oL`3-Ug42iY8Gh=ynR zESjg~q>0L#XQL4)q6a^~W&BwKI2sDHQ1$ee&!Z+9ZTl(~v1o&5ph3#(3NSOc`^V%$ zhGVL4H(X;(qwQ0nC&!HLdQ(<_K8Qhjjfc$MP!>S;y;ouo%AY%Si+$OH(k~^skeL26 z!Qmt{3=bT_;c1`~DvTgF;rs9dWOJx-HNFk+tAL9e`tk1IFF=0a)2oZ0hO`<;GYlko z`GkA}+l%5Iz&&%Kb49g5?Vg{X>q{&C;JCG+I2z2o_B!bJ zuLeS?&3-SlHy)NFC4+w|XNP%P{Bx}CJO*x4TxUL*`W8-XYnLYS@p%M{YydlZTTqUT zf9BEq#;dp<54IGkA$cIs2018RKSo27Yusx(zi_NJrlBGe7C?_9##K`4lT`abOJv}O z_Yk7?>PuUcnX$zVtqB;RI+J@4f~kqfLluC8D;JY@W_7Kk(|SfHgW-8EZWontg*$M+ zsj>iI1)r^o_vzP^VEw`A zZ;IXk-`_rn+a&m-d7l*0X%nSEIiiuZNrJAz#tor#7eA(CN)@^g3;r720e8t=1^)kL zLkWzx1eN~fj><9w&esY}j>N#svig12Ck-awc>4`TjQ5b9;`xKJb_tiuG91xU#?>u= z@;50)QW~7g~cwV_^&26fC2#q!-S=AQFFM8NCv~ zYYfbTx6q8|a}}^T9`(y)KoqPvRC6A?=Ld-vE1w8rB|q^dw?rE+?p8g zRdw8du)nQ`bS@nuBcyq_5y3g1fs)mnhweCxS)v7SSWKV|^b^?SO0m3W0iyEIoX~oN zcf--}@`DUyA@I@3Pdhb!6lIgVH8t_$X7O%PnHd;rLu=#XecAL@zd@^7e8g`4h%j4F zhE$zpVU{NB zhga;a{0rpq+U+lPLioIfbX?jneqGkgSgXr^K^a#E_Iw@KqQ-0O^z`l51%8ktO~50F zvYU6S&)f%de!kyVIA-Iz=b+17%w(;9@iZb*m0n)jK0MVL>NnWK>OTAi+5&8>EkF|G zZQ_^-W<$HoBGJ2k7LC0V4Y*yp=O`TQ;Ve7|5aj1))Fa)@!45Bg4yE9FInKL}rIhb} zt1hMsVDHOu@aZWUvl%{puqgm78AMm}bZ3rg^}d6Q-n2QRyJ+k%P_7U4FakNwS8x5U zx9YNfgMW%+)WG`g`dM zIBgmWE!}(q;Y*SM?+B8?EV9fH)`IM^o3GukjWTuvD9@ctGJ3d_4ned(WtSHp1EYja z-f}>V;;;aSMv)l$q`7)ww}e4DpEV+g(g74M7F}umw2{*=pH<*ajV6wAMQ;o;p0xVK zZ8I4^HUJ~NZa-@Qt-yM$45!HQq~5FcfusIFb4W*m)%HP51vc^uz~daid|$tsSm=(Q z%JhmTS#$VmWDc*v8hpK#EE6I--jv}t7$y^-dOL2zL@!Dxl z0MD8ho#PmdS?CQP8=fc_(*mlJ3wn(ir7O%H5%);{g zsiGdg!EX*NTfF_yAGt2q=fy$T6=*2=OM6dVOID#zKe}K|wZ~-K3y+DwK=>REfAV4L zQC3$^2Kj7nID zaIA~F9x7_iN1a}W=RQm&8_W2fk#_|nYQ|bC9Oq8Lr3-oej=pGz=T}^6z{Z>vq=8+EvrursZVmZH`3%$%Usn#x77D z_N9AYjl_K=*{kU8biVie3%dRYPlV@YqO_W6%l{$;zHnqzw`sZeMLV4FfK&|;zns79 z1=J$t5rt#!U*=~w0f9h}Fg|3Jz@;{`Fhpzm#sWyw_?P_K#v<{y-6It}qw`tTPoK}% zdH^#Ihx3dX7K?ZXIIfR)T>u>IT4`2RY(u3I+gxn zXe!q0putbz=>`dJc4qj5XZtC;NuY(`6W+m*m?dr7eM65M!8b^n;>my!zyW=% zp-RcWONI)*z`6%^`nI8IT7|yVN#D>mZ6^$6X7JXhXqZ`xJzR-}*+V1V=}5rcO|2as zuB1Uy|GW&Hp~OGkat<6|Flz)y$b7!CMX!W`i{}Qz+YMlX2G6k(Y4Bv`cX&Yvl$P;4 zO(0%FaIXrt45HjzC&&M0A_gq!h?5rHANQ7mU++3>lCiN6HNT@OFWiw(ae9US0(9}G zyj+U(Zt@#+&jdaMa&O_uO_707#MH!&$3!obR`3=etqxJED8?fQX*Pn(A$Xifw~Y5w z!F#tQp!0>@6-cV^k5e%SO<27B+{_C~q!B4qNtJM9L}8HoK8)wVlv&a9Sn)kL*7WnA z6neM-GiReKPkYQjulF)cOI$`@p6QXFRIJhnoXg+++fvMSyb~ZE@X`r@muox>LOx1h z`d7Ng7eN!=zXED|#M=uQK<`ZO%jfI-KqAdmDRMY$@C_xr(3B8p^r-nc0JRK^Gu{*B z3!)8gS^?wz#g|nQ-V_8gm+$4NeD54glK0#K4Wv}UPJM4Pf06sxfmM(5kCTeadYvz8 z@KtQp^L#?bG=|qA!Ep`RCy7?(vsAj=7SqrU`0a9I=tvV6ve%oGg4WjP>_!P+9DMSP88cktR{ko? zaZG=`H>SphePt9!*YnjjvJ4Z-%TJ#^MfX5?9r_7Ah$+*T&v1~bt=PDUd4icZ2^;a} ztFzY$-$jHUo{i18B=R?^*AFo~@Wm0PEWAYr>=C;9WPDAr??jhMe6>9HyQy{fJ`nRI zyoH%B@bS}o=|}is?3jozy)&?SJwMmjYv8A$7)PJs2};_C>!(3@U^={01$InYoOt{& z4?1jdRRI4GESL_jih*%*C*%2mQgaCNE0-AIJ>ZxA;EpvmXUI2sZcTZifDsmJI6Gg! z^cZwKN;KhQJRd7-=HUy52rpv4 zW~j_T;eit(m~!m53rUR>Xk!w-SSvgmE`>p1nRkU}dl4{sGC;L|@%(|JwHKcaM*TQ9 zWh|$tAj*K9z;%75KBf`JOW+0D{-Vbas(rO+afVo53k(;9*|hN_==}oxRvA}#BMUpB zs=Ba@G<+8*AOxEAdOUqf1D)dok2|9RxxC4KIZ4nZic(*Gn5MSCtH}r&WwqOeeVUuG zr85UHn=K^b`rKn__Qi=hPVAlxn64|Bs?B~$3wxljJGymh=u|1{EeK=#l-?lve@0x- zkmrLd)_8C#L)fu{rW5&tv@?Ug!&cND>Hyg$H0kV0bR1Gwx)Rl!+D{35IGtTp~x3sV7QQ|ls>R4vrTB|2?q_GKS6#vrshd2CDBJF-nYr}B&S zgfk{gjT~mX>$s6AFVb&RS6uEpKfvi-T{fEiGVIb=KQ=D21Uu!OrI^DpPv%@To~$&d zmU1e`vR^*AG?jx1nyG`2!rhX2@^nNxtwkqE>tsR45o!ddvYZwBYUP9{wxZ-6EX=lW zb?`@g*4+O#u2OK%Q|>yqv>Xr?H1z~u4lD^?&SagAaJkcBJ{Up>4FmO*a)ap^#&jCr zKnw%ml8hdl6w8Fix6{Zr)|^Vwgi=g0M?A8=uEXu$`Ok;C>YfulBa~u-)(gEoW)bNY z8YnRY_u(!F&V?=)vC2qnL|P29M?wI;)+8p@S0G<#ly*jrSI^QcGN<;iVxt}E=VC@+ zhGR6yu?zPt#&K4xbc@`af=&5{e_b~F5=6Fn!F_iC4PJu;+g=)E7fkotyzcl68G#XW zYLKGUZcgnd+bD96Ig*R*Y8q8AHA#yn=0C45JOX&YNEA&F@$$@)TdeT*Yq(v@ErhGI5otinc(bYfC&rBBC9_cgF$yNr5}OdZj% zT=NK*CLgq!j(j!8{6upjcIJg$(__<9ZPU?DllAr_)z7qjl~Fw_sjxYdhAAim>w{A& z4qy(LQDRO7OMvaAVcYb|^eLrW4=pjSVS4+pV|gvd{2=QV>}nd}lC5l4;IWWlm_FI| z-I7ZCYJjdwslzcv5p%+FyW!PDi-@6T@Io@_xU2&GU(SOeD;v4uF2TjUfkjL@NC3tG z_2^cgg_nCi_Fyi`%B8h+E27IXGcgG!ATdBR)*f)Bf&@cn%uXfB%=&sUzIv8@O@xyc zrmyQ*l4~>&M;)>}Jtv~Y%j`=TL}SNhX4lpad5Z4lc~6)H-PVKXl>uM~?n`30z)3ZF zzjjG{|ACHvafKR0i^@5#Qr1ki`8J6?UL^@Hs)SQ&?Z?!X^YaK*7Ch>O-X##a?reYf zU|5sXU9Kwj;fA|_%S;X+nkVad;#zaubJ!VvR#Vy`U83C6c4Hj7gglC?P8XA0v|vO5 zROe!;FCK15ZAs7qJwdgifEHQlD$A#9b-%b1BV zADI)l3)L*cG(82334)=QCavI}rQCJJ?2FH!B+1n1@t|x_d~lO$nE_YXAMo{~@bybQ zZ-WbYo`BbMv9}FpRDJDH9Ni(IWzE&M{XdvS#BeQ;Y74EKM< zb(krGiBpefJk1Z$1Qm8{o^b>V-0kd_T)W9#W#0%|5*1PE~;hcTK8P#7dd!P(2k%fZSRs4wOF4cmsg(*xa6!@CWd1oIK(}0VMr3|$|Q*9 zhCNdM;AZQU!gc}xY;QBoHJP*61lMg5oI$6;^;yih?PsBhn;C)|r+F6!Z0&e3z-fkUy5WaKA4)2ml)Kw_ z*6+bGcjs!%SybahP^omQwJBgst*BO?+bwm3o`m6rMO>kzQDai1abvzohg?Ut@izN% z40WxluQUZ4V!leumYeU!-Mew`&Bb^TLmT(5E+<7a->E>>5!SE~rs3B-2dJ0FG$oE{ z>bpy}a8ScJXa>$&hkmJ+MK$eyGQysu%V2n@3RlQ*cu_nxW&E!LlAMAd6_c=BBnXAbqaOnT(`IDlIkn`JMh=Nu=P<_W?11Tv4>YP zK}r)?9{kwnL5n@rsKohz)4dkO;iag*)VN^A+ys;kxTu?O+^5-e>k?%Y+>O+&|HR#w zQH>wsFU%bsZB)u!ai+m_N3eX%XJx53KPJ^(F=(dP;Z}s(MF8=uVp(A=KeAs+a4P>t zyQoZkRyc@~-eJLIzZ>&LW>41tSROoBm)H$&fd#RqvuWHsta%s3i^kjLVy5HB(LGraFmCdP)Nz$uB_p^!gq+zO7_L**s7I|&DZw%)m zTI2Mn)>Pee6e?Er={bG+)O_WxOn6afl1;aD)mJg9dhob=yA!UH#^o4K{wjw@!`6GP zKGc@gW&KU-pFsBd9TU*-OE%lG5VvpUcFbfM|6nP1Bp5@0Qet;&Q-cb%7=__zzS!e+ zHr=6AuYX$%2V?f(q=DIsPlvJ)Sa+sE)z^x+ELpNiAum*67f6clYxfX{rN0|{l% zhe?1^YHmXP*1$bP^CUgb6pSprc?rmxHJ9zH6ti_cck)ft4@gI`$&dcqHr&tkVpOnU zD$1QwF&4vx=t+XBb6?Iv34W?d!0ORCxQXYeLfVjUSm5)wx)sl%W^x_MpU?oYk!Ou~ z;%Sj`28*OZjG+cxg=`OE6CiQ;fOI!`9IxvkWNa|8LD);ovzj_4ZE@tLe1o^gLOBtL zsao>$wqeZ=lRnfOV*QC8Dey2FD^>$1#FAB@?Ph|-T6aS@6yzN|mofD*a=Q?Z&aX2u zTV)UosJRSckQMkZO019csWqF>ZUsxZH! z291wKJ!Ai;>*GxQhkGSE8U)KrN{V`e<_pUcrqRYYg%- z;hCVDu)7HCj%k}iaJbnP++>a-1&_zPbnk5gRl)p9;5RtN_O8bwZYR)9&}rvAn{Fs6 z3GRRAS*_+G8t#DL0s+MOWff9|=3IVr@_S}(o~A~r=R_*$_QkNS~KnAt8ty$sEv z5i>k*AAu~4N;kr*uh9$*$rHs+nTf0`lHAFQu*nrbvOwd#0bns8JrEzcn?@@AQHhDD z#Gr?}BECM#5KHgIN1?t!)2FH^26E6-#5S%1V#3AWU|#Kq7B^0IG84N4LCalhN6T?V zDPuUJxfJWxF%_d)r(7b(0YVAxhM;EQYA5)ezg7Lxbz{ zrX2%ZwV5ucE49d(PNx7(?Iw&uUj_ImP!MJ&>=%E zZJqoNiiS-OKJvZ`AuOEh>mjd41%g(N`P~8*uB_%&+=taoE`*%k6Y;4g{9lgP`7DK4@?l zK|HO5kSybRP3B$9jI!K$YTz}%8d89;{_ZmnFMxqYz+zA0jh+##H%{?|;sPSM<`hh9 zs3@uP^G$->k9CE(^|Wdd9CK4y|ChDJeDtC8VL`?1O{3i;KQXG;N{0pc1H$ymAwEkM zO&}=i{Ek&9%tlPyl{olBZw2sCu3tWZlNDj~!C*^0Sj3kq$biilHv_x|#>zuiKz-2#*C$SM0%Zv zz4kSr;Tw_&;S0LJAsKiUKr(lVJT?XGv;$z6%7e8l@J1S6_mf^&o)6yiMm@)TSH$IcNY%%xaRmVisCBB!Vv=AV|L(O|lbG9L!utR*pzdopv-0)BECiSNkl$y_art3aXwZbh zrQ&Y9=OxK*4O&)8%s=!i0a6R}$R_bS8^@I>_+b|wfC!D@Q2Q)_h=$fRw|&W_F__i^ z`Wg)`J8AhkVz}8jjN$?1v;i*WCTG~x6&h<8YZl@$klPKMAvnVTOt>>$u}x3wb7$_r zJ5F%U1dK?BqWBI3(wW*4L`X)d%`YDrBaDbrKH*cjffk3R+eHA~o-$;$0912XlfKK)yl8 zBwZ+8{%u(en?i{XolstLCrahyD#fg*mbRwd^0=OA+))Q@WI=KP?_r$X@#zOqxd^(8 zpb`Gv0=GK=&7_0BRKf9}AEtskpUW-ODKeMg5_d9il7MDKeJDY>*A9G-LTjc5HuM+r zaH@^>NYKlp5@`4nM%i_Kr>PED4*t!l_%*F*eFfkSnv5H>G0%8}2Uep7xN9qTBULIhWj zJ|Q;a4aAO(S4vZY2r(Oj0;U~y6^LGLfwNI6>?6m6Y`Qm@LLB0@`@X%Ch_(SMxm#=f|fZzr?n9-8Sn@>fa%Kq0hTq8 z>kLpapPv4n;J`wsK+RNK#|$i>Z{Y-$>Bw)GK7OZ%WjGnAn%@B6_P~t`v>~yWz@A>p z+>8q;`32>t`y&i4{x5Wqe*`Ua#RI|%&uyyM<+UR`V2dV2$Bnj+-vKe*4-WksW&r?z zYAmumcn*a9BV)+_vG?9_QC(a6_%TLF1CpCWjR>TSVpPC_f=ba#j2RU%*NR9nYOo+p z6cB_lUL^^ZI4EdPij62JcBD^YL`R}v0}IGRKu{DAq_^L*_C7<2rhNbSy?Yj%)W&Yl;eBS9o?L$Uz3LBkxV6yd5w{yyAl{GWvL?z@XhT18P~g@toAs z4(B+=B##DHaeS-P%?eRU?+!*gfkc~;FZdAi_z=Q|xNNUoU}N_nE;1}5s?uq~stWLfQNLcd!( z%c|Wz3rEF86yiUqUGKpg8gXYLuPSwNt8!t%hhwy-p9pSmxaTxIZnB_Q326_!CZw#o zvtdq&>KJ0^Lnf4Ps#6uquNLRq^7`C;SugqyU_L(^$vhBciVX6Ah&hY+wOq>)uvN(0 zZ@{&Z*{oGG-i~#*8SNoHi=|PDi7fyxP6OIsGE1h{h6to;OCuvcgAZGhrGu92Hcvb@&>k3g|!$F z#EQ{(KMUXXadPToGzmMkZL!i_03$(hc!!5cDtoH018FR3;y_|7O}E9}a;Td00z zC%{%be<+qxr>Y~F@p>c!8#E}8--AB5{G({@S$?4T~?l022owx1)Osx!v9f z@rcgbYYcVS%gWFv=JZy03-^fZD(BFAz`mfezsj<7 zzzp0Ig6M^=@Cv^um^p{!tJRmuYGH3X1m>_lf?6Hq)Pu6vuZ(u^-A)tYr(;KtkpJ&} zS=wFTgfZ9)-y2}Hc}eR!f+qdMj8EDl%K?jm0dMXGCq%iS$$qPb1w}4N$O z?>bn1Usipj>voKe5S23KTGATum=!p#8tjJH%0X5>zVWkg{paef0Ayw3LrH2e`Wtt? zFs{AWCE`*ZFM*l9@Om4Lo+c^mRGksjp$qbJDCl@dy7pj~^%L)eRGyLcFNd~y050wc z7ep+nag?N8neIo7xCm?V2PL~AaLYy}HKeuh#6#_M*G@Y2%dKWVG&z7^vO=nb zWxAa72o2$=M_0Y$U`dTqb$LtsKZv|MHL0J>>L75o3W?t%X5P)LhiX5ahf7r?pah%~ z=*KsNh)oTs45c^n)rz1PpBt$1S5RvVSypJ746H{cJI^IqPj%mkmWY(*f0>#jofCIq zD13=V92ZGbYPOEm@1{&n_j<>{>)H60E~s)BkRa*%dlN~_9tQ1J{yy>cdAkp-Z2H+* z{{D6sMZ!sC{43)I$h?blj(qa=o4fMkwdU?KeCznX`>uP{Mt9;=rJ(!1k6ZL&=W0ju zo+IYp*=9A*>t4LW9BChA{k@31UW3m>mL0ut{V4BQPw=6EdB_+-o{r_*FxtlRUpq_M@MDI2*l8F|U$wHxeqY z48Q7*ixWOho|fz0l3_H{KXKaA__c54Bre=z40fIn68oI%DT9g9$$E-jt4PNp!=nmaCyT0Z!0|MU#g!E?U))3yxG)8yK zt?}?$TZ43)YPa2Y53PNTZe6HZ6cARNEp_|8^toyhN4LqOM93@*xEuSLoHujQE@~M@ z^P5xoNb#jSJnQDeCCjs+mao&vY#dUaG4I(C-znN){@Hwg&;Y!u1K9HvTAds{wK*T zcb3W99S@zgJA_>@z02~3U#%H_)kT^<-D{?KtOgIlo(!V&II|VJ7xgRk(chP4WsrnB zgoH~m@KU6lbj;gg^Qx)UL)@00yr0cAFhwi7HnQ-IgxXMLw@r-v|StzsMbj%#pUAoxGB_P!%e z{l09ZbgR5&_3pbVOP0Gp9H6=HJTR~^W{tEjUvXo+pHq-s}&hzXQ@0RiP<}Y?TXkdre^aG&YNZEXQCCRAL<%c?+uU$GM;&F*v#?A z@C7USmHPE7C6H)5jPY~Z6*Ajx72`beK=+t>ute^+`>tQ@+tKcS2%{`XCI14p%RCw< zOtNS-aPLAO!-Og6*8QUzFS$; zgH3~!9NlCF?9z?uOW$OZ%a^B4@v=uGPL{SMPkUN0@{Bm{z|dm5T%D$y%;btthA-Hw zKob@$&y%+qD$DN_EDSrGX4i=h!8%RB5_iD0sYjFWSdG3$Zww4WTVZ~3FAWyPC5U;S){ z9{6bl3(f)TAq8{nBqK}|w4M8v*5i6f<0ARW+Q{j91~pbLS&lfnhzJctn3Q^22l4V* zLrRda4a|;mkfJ9rw}4=ehmo=4AS9x_Ao)#oaXL+O3bUuOTi>3`Zv7!P4HOI-+YC)B(Ug>g$de2A zlrG%E&;c^u^iDr}dS25aM5pOgC8vM>Q)u4Wn0HLnqFNuicAgrx!{ZBA*cN;#@0v)R z3UcOpS{Kl+Q)j$k6e|^pm7>Qv%5D$88ZMnL&$}>l?X%hP48xiJr=}5|Vi@jLmK~TL zHJ7E2}A@0;3YVZO%VVA-zpdX#eXT!13- zgUrUY{YrsiSDP&AZ|V;8OPaRQ@lahVWqfVZ=XUuy9R2E8xl*y7?dm|*MN*lK#&$5G z!Ax2m1^b4xY+sn4GoIl^v^|-%0o!ffpheMAutmYXiD2JP8(do)N{_j$hW;sP_WEAIXnOH{It&LP4Wd9QvP%bYxR{ zV!`7>P!GvmJEvcl)LP3yX)5D_g>|c}eORG4A)IViH6D>kMmH0XhqIN)<(VjlxBJ10n42UV}T5v4;^-5%DoiWa@VH)SZo4 z{EZTCaC;RZbzssoulcw^f_#BiQA;{ljj5@3FpIb+n#4i^K4x1_kW*cE-}TJRlVuEz zydH`N0^o(Tj`=yd?x)g^Sn?{lVHUIQtD<%5ZjU@u6L0*A{`KK41@np^^0>o)pI=98p?G1rPgtmD&tZ`qHl9;3W4{OT&c zYFqQ9W4JF?GJEQDxuCCf4BncDuaAXoR^#(QZe_ac!yYr(hi%oi8I^VOs(isfX2^S( zfzzC>3(Fye9{XY5st3fCFBsGaj%n-YvhMwcbzL3EY#y@-o@oc(!;Xu0-yNi!B;Wtw z)3n=PLs-;-k^=I{gL9I=|6s)F%fr2k2Cew1 zjd*a!g8JfNb(~jVC$9duv(uj1;mx(Nv_wN_LA&|8B9v-2l~nZI94!AuJExv)$6&>? z(yPIqkz#bDUTHeg#QmN1U}Of9x#1_o!rfigz0>d$$i3UiO^@@yk=l}CcsvR1gei(p zzV}jyw#Jg4{5;Hwd~u~bYvCTiX_rrD;HB93H0lO2dNdqh>#5JfjE^LG+k(h`J4mP;r&$0wcMrd;opDt(|pkc~|F^*%HlBsnmda3Ar6-_A@h%DGyPEcNwhCVabxjJJ|;Dk)!CI3^f88Rs&r7-iuFo zg+Wr{w3Y9gK6kknACnwaOQcV{itoe2i5q|dGUNf|HMdin!sd1xkJA@4)1N`|$OmS) z?w&u@YiIH4HPX3(m#{R=A`Y-XQdkg2@R*U_*mluI9)4@QubjMoBhs8f(zj6>fh!|w zXFC`Eq?nu(GrnV)$?4hVVvVAR%AnLK)%(_J*wW)0(K$d6NjQ&MwZml~SB4fJ=-}TP z%(x$lu{#(DZ3nD5y>{wk$AL)$G8?;vqiQ{&;B6cg<8Ag5QG`d9e?&rhn6l_I8S zW$xTtfH(|I2&Po3a1KdB$#`K-yG@AkVWk(|B0=G74WO7sGP$>1j{RRxEzh+}_tcbirFi=Hhz$?p@5E zS1`v5{qXH#6evEKf9R|fVNBx*yxjjt_ayWl6=lcgiYRC<2gnjY+%$TWxiYu!dSe7x z>niI??o8vzlFsg;C4FDbx;Y;KT-e9CKy-Y*je&-QYr%f-P}F zRryc8(~ZyCIrU11q)nebai#x}=CSnPU-Y{Kg~=$5DaKUmK_vbh*u2T;6Y|spkESS? zEx&PhphM$F<#CU@VTqtiB212l?4@Z_v5*3IhWJFK!ou#aoNK^`WS1paqhx9I0)Ru+5@LPmr!fllE-Mp;%>Z`86O8@gQsKXhxdaq zE0+4rMoNs*S<6{Y)vp8xzBspy89p%f4{nxjyndUP$j}7aAIR{N#T=pXVT1Wtnf2IE z_YS3U2a$rP=@DUvxg||NTRnkFj0SI9W9k2#vj35cZb-l~)_E}_R_*?yn>8QnVwoSP z$E3h>awWA=Vu(O*aH_%>ypgX}%t?LrsZP zKE$A_CW$c9vI#6iYGm0mZV2=)q=5A_5aQ^rr#3yVxW-NuPTOPiD z{X3-ClG$CErBKgcvQnfWs;GHH76*TrFh{>k(s75CmD(#5?|k;X=IM?IPiY&7!J z`1{wl(_jjT`XTk-9yC@z(@$&}{!Rf~g%?0EV%&mjO6hIiYR*mNdO50~fSthn(uW28h#X(?7=+KEb03 zxoS!4!?r(3oT_Lxe3|x%rqwMm#mVm?sPLQSehZ}d{2V@26%y)5=tl$?ki10s#3)A;hv-v3M%*b zXnM{_B_IargbJ<9mlOdVRi|J{1Aij!TT)D%cc^aIip72%s>T!hE`t#==s}3vi^RdC zp^F5n-MA06LPs$|Xy2vg6xOm!a4ZiSKV9-M#{Y6^ruu|p%AaqQ7mnwVhpl_(cK!3m zFDe>B!>i=K7JM_daN8a{2m*@}sQKlW=gca0fJz;nVfqRY>+Ej$S2Wzp$~Kfurf#RwUkku61B z=-C*QF;J~&OulcBNp<;NKfxP4qe*g`4wBeCVNRe1Jv|b30f;mqQFO7y>X*6LU;@>_ zqIt@$V^wQMtNM~DUrPRko5VlfL#CmX^m%OI5G`Q+`U>xWV@qVkj!9X5)=jdaSS#{zJo|hvRNy5 zHyP2Hp1@IU7k!wn_;cPb_!HNzdQC)Ahc2jLwRqj^R;C#+&pQ`mB|ax&OUtUaOKhv= zV_78;l0xt-C00^F3#>LKhwW&An<|y2Bv-L|+~W-3ojwkcjt- zS<~!8f+&B{fd<2*!;loxH_QdwLNB9Rk&JYMvE=h-t^~z?N|m37G4bH#aOT1GKh%qz znX0m|!z<+rBx9*{7xjXg=fNH#aT1ZW>ZiY~Gi3%ux~qDLtGn&%-SeqlCsp)C9YgUh z0er(=^@qReE*_{z$s?T`)V>MHik4Nuo=R!a5^Xq{Tn)9+%abMV_Eqf`zh4{M2TlPG zmO*uG`2n1{UM!7x=JtI+NDze+lGv7s=&ofQikHB-a019vi_{F9hBJfqH&%V8zQJ;| zOi}P|Bc)rdnRTYibM&B870x?mG(!7p#4T0F6pO3^prX7}UXoglC zkz}lPboz8x_Mf9q3#m-VpdFto(#nWo)st!dyvkIC5FA*F_?I67;ecpI%7LK?(9*m2 zQiK57FE-)V$2;hYov4-4MV@-8hqX~)+uk=VY;PF0A|BznF_vCwYkLX5@om9lxbF3B zQ=X#oM6I_czdp#{w%~(rt+qk;0wWZb1SX377=LOXW%nAM5LwYC{ zda9KU#RdX*+c1uGDjzDT{;oDqEF@b)wq=BaT?2K`x$tD%3#}+Y^(BnQgnZ`ZDNqZt zKnRvSl^;VBeC+0$ZlbbKwG>XmqWVY&u5_u3PkHLF8M z&&nWevO|CsF0;|7o!pN5U_%_$t2Q*6Zfy=>Fj-YgJZDW6N+swgSxlaPc}c*!7G^lM zh7m~Hv(r|F7Jr=X5LEXj{@zJu8%UwKD(eVQoG?8vFx46*8!*9q=Ap ztZk_B7CGmfDu1h~UJI(4?0Sdd250Ob ze_&FcU{aO9!Vb}bA$Tb{xIcSKt^e<8l+1v3g05NpsdUx?MO6U{ABP5wZF+sXG!wW+ z5r|;dsW70gJ5IH<;y!gIC)9UV5)?MIlWM6+*_G|djH&K};E(Mm$!pZ^=uT~gxwl$3 zSF(*7g2orH!xLRps)BcUXZgUKb9O77(}IikX#UW*eb2tFwv*RUIWeOZ^_LAr)>>_R7OQwTZWo{j%fjw$bXr^d@ z>Z-q!YGH`?*x^vn(9sUS=Z1l%qV#*0FUth1%7kDxk&PYt8QPNS0<>!{U5M5|s*4^< z4m8*YixNb_Qz3P*6VSi7-^z|bVyfr_Q)+J&N#;Ha&PVoD=gpBuR?pRY0gyv+AB=_x zSzPi&mZMSsZXF+}8F^J?pN7g}pG~Tvs3RgNu_C z&v$DI=a|udCEN%rPI-)g@KAO3(AijeJw>b0l(Qq5KXJ7qzI*ZDg5Fi4-Fd{GIvd&3 zyXdsS0D5w!s*DyZMB+5N68-F+-fA%e;pPWqfY>7Xv!M4ajO{xMI9lYHYxNekZdBxT zG|@r4!-|I}k)hngS!z>!nxBP^NT-CVWYj`$IR@X(&`vnwl$rfdxz;M1x3LK#2GAl^ zEwxNN7Wicv`V?Bf(vAqIv(8o!uBhcXSwo!Uo;}8V z`ike!@Lb3BNt3>xb;$0(uFq$!ni5gbbJy}4!)Bix`T7A9=Ofyx{o|vL+&J`MNy*&> zQy>0j+CFMjcF)(=O!ROx)z7TT4iaQ+Ygvh9b5n4d#CATd)aaUV%4@EcZygO5%9lM! z33V;a*p@NHOLX~ZbZ*?djr((9N#`x8%9TF_-oc@Gb!VRzUSxZi1ljA9;^L}OX-e~Y zR(dsqUzC5OXwqq}7_OXNt~*ryRaDy#uDz3IWu9HvqTz*VJbrEx+Bt`?Hj7-d+Reqo ztfo=l?WePb?du1?`-+AnqPu=p?-kcQ+4kCl*X+E9{VnP<@Tddv)0&*Mxb?K0l>AL$ zE|^Ay%afE1xjJv~t&_rvhoKm~>yV4^1TfQ>KH>FZE zjazDgFFRBm)ZSRwUgXqX9@LgntL0qu^o-u|#dD=vE;S36S}=%`6%sghT+kBL_O!k2 zRPAfBT6Fwi(LITJ>^Lt)(Yosx;PGo?o=&1u)}2Q?4!T496hHA+Ui~`b>i14v<*RM_=2!#N*) zJ)`H59VaP(DX@I>N5yi~6|x~IM-lUaVoZwvl2)6d59UhS%p$adPc?en@O_g$CTNO- z5$#euT)9otvK|NBrYvPM#4)7oSa!tF3|zLi*m!8$ZTC>|tvcJZ>7HZGFL#Uy>Ee?1X>B z`P7eWS|-17qH;~>lY-Ve>r@vLLf^vIr~UFB`>d;=o^n!(Z)a4LAaUXsvea3LnlItT5EFo$+VrHTU)^V7MGr; zv;@$a?>LwK7c0Y0UKXN7`{EIMVrlruxCG;^_3rbxv5yI|IYd!*#xWdwM|g7eUdI8Ig{ReT z^HhH}DOLSaRUdwv;|tW|mW>yU%n}COQ(+(-(x0q-3-ER?9kmO(_*W+v<&!3)PbzKAR7~ zH?_3y#b)ale!V9FgD|#N8}w6g?v?eA;Q^=dC?osX#U83a+tzX}z9snRWd3W#IPM0D zi~ga-9dlaZ>@gFZ@u5jC%oBZs?8EkBbPPSuRP#j8`;x%X%O&C+Y#Z7(uyZeL2+Ip?^ zOtmt(FMhQ>d*l|M_YEx`nV4|c$yEIp_Gql2XiA>qwXVMO`czOD`WY^|*`dde?-$}Z zqNL_>RWH$=^R(G;=IOhKzIAl+u%DaDeBWJgR`2**FjqKBKlBX|Y@_$IE4PA!78|Ap zz3yAE^0L)M4~(iK0EBz2{cY_gPi<6WzxC{L<&OLX11jBrvEnnrx9G5K71sChYyHma zg!n{Tb!^hTkVQlYX8#ffvqNwBe*;L^5w7Zg$@sav>VHn*u_ONTe;0C36V37epK)Zt zPdJ%jcZ#<{UYb#oTr2dcKCR9sSk+d>15DNV4WG?X130_xe{1r|d z{@?#x?*GW;WJ9dWdklMcDj~>hDSN{sTY`D+0I2B89sCl%T=_rf7g@po{1X=VUkd*} zO5rRX|4&`+r;(@i6u;DUVSc%!>nO;su z4YcPqZ<6Fmji4Q@-FQmK{YK}FDl@K&3r86VowN8!%6YuzC9*AZo5j@X3kBI3HeQj% z-cTAIuM=iI-1Lh1)lVu*?d0M?u(Bl$2Z$`mY)tD4e!uNwEw8M;7n5UbA;nq5QJLxE zKWKJK{7PT3W6Qewe9c}Bt$kXwnwWZsi>9&?dGN@(f{NQd;YnNm8#%0@+)?sDh2y1H zZ~NA}l{pn{dL`iWH7wp!e3g8z@Z|6*_EN=X3m* z>|XPRn7*g-tf(mU8nScHa=e>JQL*8m__RA4pwsM2dHRrYuj+;Jn|C!7{ z+BUAPpyalX1FqBdwC`cePOUj2zfV(ktX0`)xfMHlEMzX{pfc zb?EU=wK8qqi4neF%Q|mUDWtmteWjaDRBG94_c(WvEV%)nzaAnH*HckPf~+u1RdME$ z0rWYo@zQi?v0hJ7(sCEco-%L4m~zVlEyWjj96!TK+7P=u)k8bE{>Ak1DQ|w>W4;GQ z9J|6owf%l!_Dnu%QQhlvsv_nJ8^l&vaGtf>;2da+if__4i&`o_uN_~Qx4!b8wED_z zpS(qdx~KJey6(ha!!Wt|W%IS?@iSxu=c#OQ`iwfQclb8<&E<;osit)T3put`N=WNI)>T`ds z;*GQ~Ms8l`a~o>2IYG~>Ti?24Wkp}<=;79&PFA6KN zX~kEjMA?e6dOUTf1;sbeatA4wmFsHax#^*5!=eEAfWxbEPKtYA-jf7BVwpr}!stE9HY=kin6NFWiM%V{)*kH zSH(9m?)H_tzU>;Ciswl&L5L$uoPX>ic7|A+M0k%Wv_Vs<&(?;0hrU@X5F<1F-b#z! zyT+J4pL@SBXQt_U4Te7THQAn4h2pKE*^xyPVj%ENI~iWQr0CO`)gLQ|*A*;;gPu-` z(QXkA(QT3+&*LC!9Fp8-Yu zZCA?$=oN$)$4M&tXYc;L!zrfSOVhz<%lt9mi4~D~=`p%tCxGMNq2!8! z9IFeO>nf%BGgLkEvo#vE-k{OWU?v()hO>y!){wTziyex_&V0s!TwIo8u)4Q(&;_jK zrPhF)?D|t&YLnS8aNhO9odC0`*9ZFDS)*M1MB=yo-qJFFy5e*}N=)Hdhmjv(qF*Ai zcfyA<({;r8UZ7mi7L_)B%+?|H`!}U+&K?`KWBr(SHV=B`^>Wkouf6@wW{+*wMFVQ| z-|6x3H}AajVN1gD&t7#MDU_d!x>is>=Ejd-uF|+|f4%0j<5Mz^BuNqb_w^68cforH(>i&JrR_mj z&kZKOH$3;$u<_4riUzY;YAjSTi2J<_MX*e7y9EN*lFCS-Ha$q%`H8an6(}^&N z@qX((@4+6Qn3kP!{EV+x{bqJ=i;BG3LTeCyeAcS@)jV z6l3qf$3wU1u(iAWB>Q~sLh?Hy(1h8{A2usp7#}MQw5d*C9XWl#KtEI4l7Ps|fi&|? zCvq3YZwob_Rvm-Cl_B8bbe>Dxa%?6`+itQ5P&l|ytHi?=Yt%mzN7dQMZOMg~(Iifb zlL$V67Ys!fPc1j!ix}9FADwrdU%dBgc5$}mA`4ruUC0H4)9|L7X7io6_#FHO7RZ+G zkhu4sOzXY|UVpM8dnot%{Lw6O7PIk(NVMgtD-rM-()(9tChdy-&wPXqtRE`L7{m|+ z2Hc;KAKkR-QMhRSt<3x?tIkOt#w5+Bc#XDQGQxIA2Knvzc?p|N=o$F+;jnSkEvM+* zMAOz-D|-!UJP8enZ&3&8HrBzb-wFhlG92!MLkuT{?T@*L7{`GuYa`L0&C2|8ZH)E$ zy{`Gu#znnt=CqErJ@}Zr!I)8SgFs39g7g9{dkx_(t_VX6-oVmzhrRBQNXt4qDD2$C zyypfq6puKHL#ykv%Y~Mq%}09*>*j4Svc(IAu9e*VQogNb*42lH%ciQ_H5VN{KX2Qq zCpolEqDQYNhL6y-CopTta_`1r>HAL9bvk667U1#o;A0~6rhVJS8cJ^OkS_`8 z%Hg>+l7U&*1}brAe9bJQ(!&E1wdlmA@{g4Z<)&Nq)BVQZIXBVijLr2eSK7>7b=i9# zRZ;y2LaMH8IuYo&#YmrH{#JQvM68!($4UU#LkZWHVwnjBANRJ{qT_wzOSx4oGe8c5 zL7~kh4hOh~?a%sKKOEzhW8k^r7*8P4_H5!UE8?y#kyelVJX{K#sP`MPx+9<>2YxDb z9KH4Wo4Rk1c{b`iA6nj)$~}34E%Sp0H!<$`;?ej=*d9C$8?5LaW@R&+4cu}JGsJM# z<*u00KXZQYiAagxu3~HC3*Q~Z%Ofv;)e(!12$Sj6!x%uqmvoXQCe%i?x$3etI9JF= z@DWFo-@LpV53Y{X0xE1TSz0DyLZnOM{HiXlnBCnKqu*!i82HnzvXeXs{FwvZLxLm+ zTo~`-xxr1e!6X1+$l8G9Z9Hr0$v!ux?ed@&ODcO2SgWchS(1>*N)y?Yo-kC z=Wwhw>;Q7mGF?1!Fg!PFVf;WPp8XZ`KymN1+z>IE4a92^J==?ie;&S~TOLLV2$2j_ zMx2!Jx~-ZArzYME)rP6=izwY&X}z?aA;TM!^3;BXWnra8Hb!u z&~uL?p&)37?!d;G9E+{KCoC3hSYYX2Ec3c?Ljtc^R{kNuFen9}eVF5$jyC{(ZC)E# z8t1vM;Ul(YWxr&WRr_r=3SDfhtgM;!*nDRZvR*oYA~?lzaEfv7-Bv#CZP?+gsuaQu zY!U=Mo*dwizHGq3?#Ku8)eO(Q!N6~vtpS$mUDL8YJj4S`**bZVku)b*HVm!A3fzwG2WP^*>uoz zkDjRO&Ny*g?ttC`=>q`++f}+fQBVCj&~@>vo&9lLnw}(9+4dI!Tv1C9lUZU@^VS%x=bam2b-5`rCpCv zSRn*Fd9h(SlGa5vM<+A+TbQ=H6EXa@JsDuwuny7PFc7P{UdKB`oF&Jf{I#El=dJyb ze10YQ{NppKB1!gxGpaMIgN^2E;DD}ho#zA&9{h&(e14-g8ztg}YwIGX?B&FhIFDU= zpOzyl53;TEw;1&uk(~eh4=n9y98RB>Rv$)`m`|zxGWeDDU$ujdmGq|CUgpo3 zmTdf$GOsL0d0)G&oAkuw0CGJHhfl&^#NaY?WA)d$i+qfI5k+q;G8~b-VEh-=7tMEO z`3)iZ+*u!LS2t{iY^u#WOVaj=?fupV0$#^XJHrv^Bz zH8jIpN!=nZgG$5ZISDW+NEjS-G}2?SvFTur85OUxl+vJsS)P};>s)+vVZTJbv zsGVQcNB52VGGnV2&kaTvQ@nUxp<2UdsT2QsI2Ma&3`ZNj5MT9Mf%js#BK*K7?dwF# z%;DGQ!Vn9#7)4#gp_%Fwb{TL#p%6$BA~MN4Q7BEwFsiTFVMD~n>T(xMIGqL;Z=UYsYXq$#>f0pg*wB0x9G&3WIjVpYeqi~^9;HE$LU zLfgiL@pHk)LZL?>ZuB^dN7`o@dyM0ofwx2oe@i=P>#5Xtv0||ZX<}-`O zCbyun*4ARgP9#QID}JVXk$ZE)n6R2au)4k6+m2V%+vEXzVo&bkMZ9rBFQ=(|Ho?e; zo$gY~Qlc!%8U7><+dnm-mvP!9FO%ozs0eX#g@^H6e)xXg4 z8PP_$%ZTJ@cs))sB4bL`B=;eM51Ds=8wlF_>MMSF|N(-__3SYtg{W@#rt@4(! zwk572V@vH5V2EJ&RWrF0T&%*F8BI_yump{=g=kVI#+(JV)c6|ucB{`7+KVY830ugW z)HO1yj9T-ZaehP8bw(eIR5T^3bM7LlW*!mK-&&N`FLS;;70wu1+#PB%SNxoT|09F~ zgAb9AU3Diha-;BJ+(_8_L1r=;^DGKY^A0}&9$sGYvptno@XkJ1`c8N8xW{CH3BjG^ z6(WfEC>CC=DmXd5`8n3otE8G#WSigbLalvmhKV``8YuGT6V;pfg z?$Hf>xwrMff=~fPfulFD(X6wY3-U8;n8}M!@;AMKNu0S>t>jmR%}eVO@FNAWed(iL zJJ9CrTElY^zYh|6CGfh((4VV6BDqk7b?{YRL$g2N4e9|(_%`<>1q9+KIY5{PIn}#B z$fBrP%e_7ECNn%T_B5{@#o1j11O%`|d0wK=DeoHijXA5oMFeW_=fE6t^z-nJBDm9= zL?Z&$gGdq*B?u19ZJU@Y=J#Nd*+pUtD1d2&pd+XeXih?}a7n`5L60_d)ZbHi+_ZDg z@VNwvA}{t!?XyRcA?Yd};L@l;jiZ?w)TQ*5ivZN1%`(He4M5!`C`%$xAwM&b?u|XU zl#~6qh4B}qk-v60=A``S2>A8gacn2$X&waJA*5VL-7A{~f^jll8V5Xi&9!<{*`!eRuLL8`1i z<1A+dj@@r!oiIFi+~!(OGB+3NDCLJREL7cR+)3uYxaf=uDg`)dNMB;!=58X-V@6b` zZJqjB5>2KGA*=d~s!L%V^{eKOJQ^xq=jOdgIRw6IphTez zLGy|@QZn1Hpau+PU}rtc90L>$5h%-;IUh#_mLl-KMgHnihCL3p!n#~2^IBOD!zIOn zXo8HSi3E%1LNR2S{-cwtg*NoEaNJE&TlM@ZhPZzOtjH4WAV-n{(j*z>GgO1l&x5=) zl#{=T0c`xLp>cWNXk(OToVv*Yar$k02BB(Lhj2#KKorCn6%J?pKHRfC3;~FK#HH<+ zjEltJDL0T>j)v)DrN;nUR21<`5}BAMR3!pcmi*C`Kt838K*;Y915hv9`kOB0eB)dR zTOXN@pP_G7R|buxagdCiR!w*rKmPfDK!qV0?ChAG+dwuuXBSi=DB#u_`aWVBO&_&x zh(yKeVfsO4(;c9%qa^9a*lL#LSXl$9O>ch|%7sXpbe85? zLve=RuyC)kLV^kFmf=tS5;7;AM8-=%o!dr}! z4jfMAz!1<^2V`# zbzS7;E<`#TqQ*%SG^Cz@ZeX2OFf5v2%tu*S0d^1s-CskEM7&?H+&k%u>JOm_h#dUu zpbC^8xTT_%kF{mE+RNY6|=_?RQ$O|<3 z!th*qNm=#OA~OpDed3%91EN3RGmJ%^X)#lt=jnn}BB+6+60Jl@KCSu?oQ9@|_i%Y^ zFgn^?^KX`mt4@jcMS-3Lx}A-vkc^#D?b)dj&Doz7I&5;dI$50b+|cyZh3g{V2L6lP zJ^DMg-0<_dk4a?bG!?qXv-45ta6o7Xd7pUV>L5!X6Rk^17R$&>Nh;ow_YIZT8#YK1 zN)InU9*2Zib}tigEGlEfc2M7QB+VG=H&7lQaOKZzz-8Bm=O!cbF6^4sm@kFvw=E$0 z2@#X9HlQG?nRjwL#ML;J>iqLO!1pr*lk9Oj;qlIgYGW$i0>B8foh-z@*dk+`BzxGZNxwu_@ z=|<*z&V4y-96g134OgBbvuy1~toLWFctl=jT2^yzVrcP~oQ{tlPKt)$c9b+%P*V`62~<_NffBh&)t$&__dNVT_r6=AMqj(F^GSnLijVQ!chFm(m!x;q(uWk zg*~Lao;l4L7efA6gg&Ver21_@B0}@-M^Qt`*lYyLZ>9QDo|?M+4MexMGtN6 zlJ%Fl@+9YKf`u6?+#zRC)+A-LpMzUx-N2io6_(tjj%ezzbvUJ72XqoTvJ`I0rD}pX zXq!!6O{(UFzv?P0$ApSA(2x$m0iaAl?z@|8rJu+{xL#Zv ze_9*r0TariY>XtNEICe{AyQ4?i`H0H5*yP|J9juyz6JAj0rDuC1{d*q`No^$Y&HIn zzxHR{5GRh(&J(2_i$@i23keM&Y>B4IablwhJfl#KZYrZY_xd?lLN^r=3k@kCDEWMY z56ePATjucGNpg8HIKKn$W_792xHb(K*bOd#6)dM7knA2YF1UyOTZ>xFH`fy3CmrEu zW9nv&jZ$~BvL}U|uT|?^G;8S5dJwYFtD^w~=&&`DK@Lb8zw(Ieehz~mwe|*5#6eJx zW?FuWL_u}iRaUoAGb{{=QQby{-Iu}c=%VB>FJH%fra_S4)((!S%ho!T!>J&eUuIr{lV|OpC`?z+~oU>gE)^Hv{ee zF&&L7>MBs3&!lD&^4AT3xXn{}Ms3hm))X^~gEo!(}@#R%dM7gfcs5%bgNp4`W+ za?qMbYak$Jl?zp&@Hy81m9qY?Y8j;nQIkZ!QQv@iTHxxw@1fdI zsOe=@D7RqCV&cK5lb6Viw-lW|+f7*NV70Bg0}5hTx1kOqc={@)fVX_c?V!m*XEimu zu-D=RjO#*h^-%>Yv5p_Q<^0M>Zq-bV>Lw-~oqSt#@>Q(Y5aKt4GJGo}Z(9*S)p9IL zkZNfrXT69Qc#8?)1*`4U+ecVSg*?wuau|1~qL8WnDh-}p%P#Rnq#D@c2a)e z$4i3JNt5;GxyXsP8UlC`OUevoSSf3`fd_PVzPL8Lx#8{Bq_Y({t90LJp?v@gy_Y^< zihP3`$E$I`ch1ULY19SjbTa49ZEYOhwCd?HgvJu4RKwK#fr{Y?6rdwI;?>;h=VL|2npwUG2t{B?3~pRRa3ikA<~aF)eKjXNeHSy zz~h^17BG_Vgez~VJ|9rO6z%z4#WN|^S-*52>3wl+=BW3run-pU*T-> zL~V3f!&)1svvIdr@MyDlW6@@S#6)`&w7c=JgxNunkWHFaK>-|(37Wd)Xrsk3fq#Q0 z|Az5jvAsTM4PmbjR^6Dg6Jun6*fZCnh%?cSiIZ#u4*uJVr||2;Io{}wA^`&%M^?&> zxZs10BTOKl(+X?SMht{Gan7;4$1kcivhmnt#P*BO#;lH{tA#h4@)z;Iu2(=B>*)I~gU*8u$Fh;9TxN_y#tDUqGC_Jj5k$3H?`3KbW5w5E zxbp5{z`?jmU%l%^&ckZEx&t54mI@Vp&B<#q+54~HlW1^u&N;_bUx#&jFX zuWQ3jJkr{Tf}g?6VyWfA$UgS=Q5`eRJIkFFObSC@;(`0*GI zbz6EhbO0%0bESQ-9RYOsxlP9^ISv|ogLsl+B~Q8vs~=-eMirYVLvroLJ+o9oyr*a~ z?Jydj{!wxIg(z#}i?I?W3~wu-3K^HNrS={D^&wrewF$m&t9_8v%BrvkogO(Z>cOjcjR6Fh4;3Sy}m5+4#e#Rd=Eu|yE)Fm{0B`9^EmH!ex%&Dj4 z3fv}&d;X)G1g6T0A~5#+q0ugJk?KJ-2{E-xU)q>NS*xjr1cL9h3aW=>ok(WxUctBI z$i}19`mu7EJdNgTnYF!SHdz&$HeBxPZK}y2Myo5@wqBgLE?nC)%y_=uX~d(k-PZqJ zB?&IpDiJi2yp|!YUmHW`$Y{{G3}B4df&Oxdq$l9 z^7897*2{ZYS4>zEsP|~wM^8UI*Yo-tKAW8jjy!SpnY?qCxq-5@$E&BW8Ky-)D<9rA zj^wSS`6fGV{5JXDQOn(z{kmGdGH=_WryotY_q;~h|Bd*4F>m6vQw~=5^Vrb}9Qu}^EPCRN z8AkMWfVh+cuWRpi>UsZ`-YchVt@@h0H_yhpzKr(UDMooRoh|2wWrGJQjg-NcXU_NB z+c+t!`L4C>?4#09e0Gv`-}EJxbMn}CyQuhgzr$`Uoj$~N+0QEJc>|VJ>G9O;jJ%Y|ojEX*WM#HPL$g zEfeo;?7@%$Kk#HZPyxzV!BM9IBl`jsoRd)z$~WqW;w^ZS|(4L>f9W%Xuo z5eJlwHr8WpPD-l})`fkZKPc%*lV`let4r@KvPzU%&W*hOFU?+ao@pjWvulih<*@SR zkDI)9H{Py}uaFPQA9%;RwIPj+x~(-IZ|gEY_&!$SP>la`+T*O+IF@N>zCCWtxbI^5 zuW<=!2j6iDeUcoQnt=O61X@b1*UvWb&bEFSwUJFEb+`sQGe^Tjv&5t(lNbfF zZ*QEf^4S@CTJ@3gSoy`3FZr-I<59b@MsS{)PYt)6n||`CXeE;!^2X85tt}g{ZVkO1 z@RvtT&(iDO#>9oM`IsVqHrcU~&NzdMRE@&gy=+LA`H+lvVMsXO%&uUdjqjzF{#D1w ztW8PLF^c8=lP5E+p?@h~H}_qe{v&@P5BLf8&VzNjoAY=3hl^IXQd(ZRi~B`}bN|cB zsd_S|d#~+gwy|hU6Yq)a4qLzFSL{3#6YyKhz7o5qhMK;Y0wmtE z{a?$mY+aBu!+Er3!G7iulP~d+XN=H1D8Vad9DSst(g)sI)9UMl507aLki#-d%YMm| zjAx@Uv*cE3`)=9bSiHn6{pS7a-`nF!rg!qboXcW5BnNkq)@h~TNPf6Mc2H>q9=z1^ISgZs)sh#cNSaD zv4YEEKt?HnsfS-Opx@Yls=l_dPPznZrjQ@}usE-_=i!(afi)gdnNAPHZ15SVDzbNYs-K9r&@D-WC$Tnxg1ko1hZ!Y1{Ky1 zKZ%KZaWJY34knIU2zF=7Ym%q__{>mww*2BBaCgw1M>H5AV-ULXXPjfcDs^H@hSbnM(51Kl4K& zJCm*Bj9Z`#l8B2=20KentH#u9KNxhhcSHC~V9%@{TgwTfZ_Kd#I`CR`d|g;?^Tn3` zN-CD3(Zj-mI9`?YG zB8nR5M0{iq`EceCb3lkpCFXD?U~%Jqz0X~4lhzqVR9BvD7H4%pHd9vIb7fDE$}I1Fd_1rXY?TweN>A?LvpI=&XRJPW1Y`9bM6ZLfvYab8 z8nP9u+C(`Q(fOAs=v&K{OrZk``7wBNB{`|J+#zq8Y-Gv56%7#vo5Z1;wu&MaCai*j)T9 zCcSO9(`>7_w1YjgG4x|E4qa$l&lcFX*GtiE3|sZ7oCJ5Fda`xQ;Z)zU0>h>{sd~qp z&H|%@_;b#wa^j0Hd3pcKOE6OrRuJ8VFCv97NBr>D%-R243Ih9J1uZW@0hLqR8z+gZ zd}&!^@Nb1h3?+r3EX-t|jG%nC@Hc|CPO8^YwQ*L`_Azrfk5{p_BN3AS@tg8yg?s^+ z?Mrf8l_?8$8NBoFNuH`N|8Q>v@NTD5EwjLx;Z`Yuodu3IaF_}l6Yt;05#%F~$lp}E z_?4N{tnUn>S4;y=tw!m;UO?2Udxa{Pf5OI}^X=cKTD*aqLCUN#An|vYw+}r=Fhm^w z?8QLGfnyU=4t&ZvNe9yt%tx_1%m6MT!~V6q4d7MCPbfkz{+4hg>el`1vS3v5b6?D5 zf>>pyM!%Hg*$}V4^dFwf`gh`+Y6)N5zQa3tJYEidQVe4?@#lamdxHbSdaM_fIJ{t_ z;?4iX1Rz$IstJc;QnSHv9Q~($l0N9pYF^`jl=t23^lEOl6=i@;6@HgmERM0-XvTIP zHecVEF@2PNCh@v=GL{5h^P&R#5B?wh4iA1?$BvUKdNbu;xkG8H=DfgDO4I?TW)Tg1-I>}G&(BtZ=w>_)T9Dpzi-=j(vXzA5y?vK%<@l%fdX%S3S@Zm7n+I?`G7(~wx0=RE5evyhPSI9(`ORKAM#p5BL8-87>ddqPNX_C zyzb?s>=u1Ecujb5eBEnpXG8Ax6xyJtPNF)UjFcxy5d}u3%Tcw-(^jXPC&W=`Xsz4~ zp9#E1)c$Xnp30pWY{Ctec#j1BW#UyB^ACrz66adA1C&4CFCh1L+7s{~cU{Qvem=fS zsU)y^6uR(|{!^3zKefexmcZ-Qw3?Cg+E_&$VA7Mv-o-aq6;F<+c*fRy!l=LJd4lg6 z=7>MJy-ZuNv2NT&)MQT=-C0mMvlW?vB1zu(|FQS(aW$sj-}p^K^FcKRQ*;_^B2;K9 z>10AvB*rmxAeBQYhbYxpG`?!DU? z-x=TE>-j#f=XpJ||M+|+-S@t)!&>k4UhBGB@74W~OxSI;hn;~s;!vV6lvq$&Ut@?$ zOZox?$7BIG>`=5w(DKVTzx1S z|JRAd>eJ+6U~d0R^RAODJ0C6Of5+mAFc@=7A=%FLkZHXECBVKwD9&R(Kb#0qmx%A! zA_c$gtA*=jsaQIp)Hg-JeSV7uMM__8Z_3z0QL5RAuy+q6Eq`}z!P$e4QdkT`JD?e36GYIXI)ZxfmY#WB!r+3F=i8AD7TMa~4QM?$BGOk4Vkm z9b!;%I&LG08}~nW&S#*i0O%$tZqsLG3cblI_CrLO z1CW=iN!PfkE@`~9ayNF(YF?>o-& z_%L#)gr|u>XF`A9Wsy?=%5^lJ!xSje57o>5i$e@56em8c7%O1y znpFn5B&NjnP)kB6d>;x3x#g<_1qQ-cDLG;iCx;zUeg4RdlEh~)2BQjBo4|1gs-0A8 z1AgObfslH7-z5CpW zC>1^u-yx2&?Y|tEK{^R0X#T!V5$pjSAq$Q&I62tKoDD4RmLCx2wVxagQp)6_?+aJM z!k1J&X9=rza^n5v5mz`?SFa43ViHSD!I>170-T!x*@2OmFsXHxYdhfYGt%pX&rD+= z(JFB`pQTRYJ>oxu8=hP#5LD{U9A^$_N{kv{^Db zG~xAPNf-b|Ee@~sRek{c!%v1sz1?a-a1U`(*2Wr0dEq}?N11#WA>K02c;BqA(iUci|ln)}+{giS*T}0|^~)7i;5NWjOAbK5!z; zSi>^mt0^w$5B0*#3hqbW1zjop&EKDpMsH+5MCS@tZ1)xKmMaZv_kK} zjqX_!)FOgxc`5~i&VrKWg7UTZuut%yZfX9gBWx-JcHOFDMRG0XaF>(Pp zuf+yxwvY(M@q&+M*(Q|88==T=ijp7{}WsqjhW z&sVN+p6{x$>gi4olO?0%D)!rdKrfEOJ+o!cR~?krQ(&XA^^rIF(%j^&b^|$Qei-;8 z#Ajqy(*l<%H;DuEZNXOJy4+vYgz51{A6j3%UH!F|9i-?NrBtjg`HVDbzH>#jU!vy+ zvd5e;I3|ReLzTdIfH!L3dKqJIONoDQmZ2LfqPV@fGi@dE2g{3Ns=~LBky%R+?BjR6 zsPUTNrp0mc3aasfl>cMbrJ0=QeO%_uDPz*MXW&1lrFN1)BIc$e1FuQ9PWCE;S2^`F zejLYFmcNcX-ib3}O3yd+q^0}lNyC8j*=b=u@$g>D{uWKI=rCiwBe~zY&I!E}X1qVR z=4ZpBiGPqk45j9MMEWkAvGqOs;FNtAd(fn%%&IG_at7EJ+E&h%m+jRW#@SZQb%tyn zW6-|DUm8ZZEVE#BRXD6LMd`?5J(;xdSj9MaZ3t*7@L1oZ!Dx95V^Hk9|qoi`A^Get-w?6-#|L~=E z;eI}p>IdTS__6RmTo+Qrr+?-w!2lxs?f2LT1V1`|gLg~tBb`JFev~669l?*1)%BdF2?_aNe$}5n}vlX?U`?_{RQe87p|pKy}RbuA}bc-0#x< z*=dg-guQ=0yD|g!pt-nq&lpYKF%?svW)90(h9dC@yMV{?P2Z~>k5 zhw0<|Yp0)EPT^{O4vmGs{1@i_^~TS7qtHVB4>2FEc3Cs){PjK>oc-E&rZMdKt^y-XM$x<7O56F&%webBVtxSE6lms zhrL>J2KtzdU&U6_IJe|@V321(O-0JNYM0ry zR(;8o;hif~;(=ZInHt}ou7z?M(FoX(`HY_2Jme1?`PaYxsI+KM*>-GxKuGM0MZ4Qt zN2H)TZOCNmvDm4zQPcMmQ*NKHakenA2#T-j>KvIgL1QBKP@@vwlyn@4n>Z=wJ}{hK z=uJ#Z;T$9Bp?e*!eTde5&prV{tB6#0zod~Ds@fd9Uq;``#~zh3;_lQUzn zG1DSwf4quqV&{BH)A?mDYsLNThDUp=lR8HPxstBBI@|HL`)F9*FXwq?O@d)$sMHq0 z@GG;Zt+fgc^>-vjEx%iuf4TDT)(50~!5xp)Lhia0^s@H!UHCnAh1>JqZ&-8W+Vr?n z@@)){&X-63RT+*~#NQXCLgBaU)1{J*-eTy-tyomyae9LFM3Gf{NOVMCsG4L7_Q{)NwdsSlM}J6g(y{RA~{+@@4Ng+% z#SD{XvAx;!XpfT7CY1HE;)XV^SBAUh$Sm2On9li}h}P8|2Qp!i(5G)P&JX)8UuHBH zM~1|#n4RuFBFX*`yU)&W#K3$f+_0A=jx|U)rqGJm#^UL7vR>s2hvvi)!)h!$>i~Ks zB1zgo>Ib6eWmZA0vplTJp-1CuzsV@`HH@8?w|k&T^tqg~a`xGOpvIn3fa zxfk}b77Io(0y&Gp7XKOFrSS1KRgx8I(naIVf*r7t?san@V}63QsCVwXw8yk1rBhzs zBdF$}#nUy-hOFKkpVzBlB|b9s{7FSm<_sQndITfvh~o1H8`uwBX1iECO#l<RChEgnj2yna7)!>#dV@KQOu-EuLnloO=QL%Di($VT)vNuEVh~j+KLk0|F35?pk z_InNWJJ1#6@Hf2|LqOb&3_Z!6eEovl_PN+-rUX0vA=n?ke4hbv`1%X|eNv0> zkS#jA3Y8L^kE@I_bXpv?;3RZo0>7{fim&LEv3AgC8w(Q{-`jocRKJHUS<2UBNOxdU z3%7>N=$@S&RoOZ2ts6T* zM!t|{9`y4On9rWpdtC2V1vw70oaZ?e%&};!yF=EY>oA}XE7kdRFO~7svRRBf|H8W? z3vyjFv!#sn+B59GshUCiDw?AS%rUS(?M3S=;tF2p!2puR0!~m#s@IYglx7<<8{D(i z?z81$SAhS7w(E_S36|*p1uWqalli8F*#w)1yoj5D2R+X260cOfMA|qMIyUr%E&-V; zp;1_G4bo^UdsToI7Cm$o`)~)29$X%_q|ra130Ii4c(VO3=TClY$<{B9l)JT}w8?Xv zTI{aaD6%JTE1RC{7`*2XOb>Vl?9hZpTw&T_3r`9y<&Nk5DrQF){(s&4Yls$>4z+JJgSo9kVq@w#`IfF@qRJxe6EGZH`LT zTY)wP_J2F{h`>mR>{zD6Ubg2>r>^&Hcy43ed6kaV^Ymbefx7R!#LHGMsbJ{O=za+c zB*X=^`?)@#zG8!oVRKMNp=_I~z>4}vc+}NEzQe8w%8T;bE(#PfW$GmnAx`zYjG%E3 zeL!lbL1MRleks}0Ok7<{s=JmP3JZ0%ri{_-UbWEIiJi73sKw60qyepNt`D@>m?C@R zfzQa2l)GV-;a1RH6MO2GG;qIlQ3QO&X@`!4N3v~ytRj%f_r-ppaMAQ2 zG#}l??j&AORT3!|C-e%JOS}YFfh>9jT1Kb8cq|A*9K)Fieq4WtC#^)DWynUG^tcs) z>8Z-&luelf2sEu7GIfE)NnJpZfO|Ih-H{OJZd}^Q-sUi)+s)!>L&`a{KQ_VddX(#A zds13wB$Y^@NyP}=kvX0Vahe52Hx-PI9`zDTf%sLI-W@pyc)~+&Hq6@K z7xzmGl#DA6>)8W$!Ujv0YC00TE(^PCz zAy$FC!e->Nbxd2X0K!4HxjcAfAqxPK&`b^=v$pcr>LrCDo8}ryvr{w+a3q)>37p7b z!CYxD_rZLU8!Z5HUr;Fd6yr8R}pNY1JQ zWv#!)%!DiA#u=bI1(x*c1OU~(28kX-2KKx`|!QR%jaR@970W3aRunPe!(xpZ` zfo~QCz=84tm)T{&6Q8t|%D!ZVw&FfjlnLt~T z)J6U(#`oEM5Gr<9JY_c9u{sMo8Xhj)ZKHP=(X3-pn__G?ZB3fm>?@ z*F&SSLSGeCLfPpAry4*=JJ&@Y@wr0;hKlW-3eY+{4(l!L#jOyy19%D5V!#N4uI3=n zM{FL*PCjCffCu{k4^)BnjsaHu=R1iMS*L=rTZ|=3BG-}CEBC<`@W%0K4iFCD6*j|= z@HMp0o0T1aAY~!?3P5jZ60}I2f@(Sj>pl(E9ff9~NI>;1ho~G1TG;wL^S`H&5Gd?f z!j$$B>`#wBq0$-Pp$N9881T|%wm9vAJ20eYM}dFS2=ZbZ{b(^n?Wm^6U9nC}g9f+F z$&SNJ0p(JdB0=Xu0Y!Q%(IaAV)+@=K_e>8a6K?^oEfQpb?@M9a1A|9#8p2)12e4mA z)%Oyn5smjesq_`ICqEruz8}CoX39`P}ytqfdwXkeRWkd;6Fa#)~xQzx2%(<hpx90&y zu`(LP035Rv`;y5Dai(Jy$bFtP(V}VjLAPz6H>K)54-k=<=f$rx0T!_XZwmJf3Ci`p zDsgQ#C`${c*(!>q%#)dS-a;aS`RYUBd#)se>1@85qv|kY5L8B=+^pUlL8W`IQvPMK zv(Csj_q4^A$(tw~<$vwBIA-ar8@Ep{w^kn+aeMlew2}o=j!G^3?W)P*>p2U%T0%|k z#~ffa%RV^Mq5B|q@Lh?UGW0eTH2GAAKux#ap5#<8PqX&`NC0B=(Fve2ol67GN&*WQ;InYhibV3>1r?r}><=iBHm zzI~31mn9LSNgBl63AvKN&uf`%Bq;<=PJ~2>jAh9${sA7+CBJ}-h4pz^#Q|4ul~5u; z$4Ms*cLyKaVa=o9&>2X+dyB|NuLY!pGpObJ{p9b`!fNW0zVm?Ii(&V=`E|1@!!^_W za3?NSEN*bd(RYUa&NfK?Oes4KOJ>R4N3GkT%XOd4W9Xp1=`koLYVZoWJyPAImO2i?2SoxCUd8$7}UI#0@#;agxnxc?v(u8Nyg@y|Of56UvmI0b#L zrBR=|YFg|Gy8OzN{DMSZ?A^R8jd8a{10!MvbD(=Cbdy$OZ~coE9RkBcoqM6L=K8cH ziCa7CBFPl*lUuDoWyC{fPxgY8gY&dN%?Emqb<;9WxgZ+>>jP~LH$bnp&>i}f;U%;Y z8LTCPRW0*_D1p1h=Ce_Y_={2TWk{c)W#Jba3?V;V+1z+ozOWr3u%==N`xd- z`_7?$iMzqggZDf*jP}N{GTaCP4A~z}CVDDGO@U6Gi~QQvfHlOT4(F@bR?t!Z8R@7W z>=pA0S|+aFo3_NuPoOrzwIU0387U6!(9e#B)@Vd#SAa(?{*%xHl~Fr(i6cbKjunSB ziYe{*$rhoEZk22#Z1Qm$>b+Txx&^|n9IUv4dWZG{^$#GmWRDqmFAJbeDkwI#GR)9o zLX5bG)xwa~qQ!*Wc)yx^08EH*e$GbH9!?&nhI%k}FTz@tP?sHQCT!&et_j_`k;1`w zpg0>pjy7$>rv!b|@iU#JpvSo>EwDGtfa2hp55f2f6Bu5g!gxSKap0V*we_?u{J~KTRIr%nly(uV3+@O6U(fc>>$(X&z@erG$~Pd!C6I;5gnz zT>p`*`bV5gu!vLvM=U=1yRGcBlY1V}3OE8YdJSK_s>KtQtb+j#vrUGVtXV&gq?FD? z9Z$yqT!r1Jgk@@>tMQOR-V33ZL1+SrKm20#JhD(?Sg{cbM^L8&E4&?016}ArKn!)2Pe&f|T@h&77NZEp zoVfx-SFm*^Kk_zbi z2DG<8vm>LuL33h$51>$tUIdJ&r-F#n3Gl?$=EJNkoPn%bV*z!alL77F-#1 zl22-aX1Pl+QESFxXVk!)l3x-*z8+Ln1PUccnYh>3^6@<`NF>am0r`GF4H1Fkc#r+LPY`qrGp$_c?VID=Pm8#t5KU&<$;L~3`!%%h?sEh8A8u8+L#-PdXc3ZiLZMb? z#eSm8mPFi`rMe$B^)P_M>zug}SL#rU%i-V&F*?5oO5T7Dy01>)FwG4meKiNZL(`nm z?TB5!pH_qtKqok^ZR==VKTr)9(X1n#&If%#&IeeAo>{F3Yx0lxQ?VE;3e156eMFX{ zU^+HrZnQH99ho5t5`m2$$>lOZnh|Jh43GvW-Dnb+N+F@jN$P5{H7SdZ<&?i8Zq zgPgRa-;Ib))E~vm$u9yP22K7!kW|2t_AE@%S=C|zDz3m?(LLg%G3P-J2K}y*@+6{l znkHf{dn)`?ynfnWL=#8|srxI!vIyzmYhgs925*83Ax7hSs~s|KFt$?gPFkKDHl)<)cTfV5)ua3t8Fi5j6pphvqr#D|E2^YM>w z@)1q01>OrO2=OE<0#*g*VLPhHb|7*M(xixNe0XwPpBACR8CFG@G(mPR(&oDU1@c=) zGLn8W!#ZK0zJOB~gnjJhp*hp-%(;pLDNP=5}BteX+>SWSb*A#VnNXjco6VKnqJ2N zNX^pgOGZ4EhE&MnUgC7$;|z8zXApk}Y6ZdSp3s=yJq%k+d}_-fg1}wlh_73McF#T- zX)njniOhQsA!%Sy+5a!asp!*3$7Yu7GBceRu z$|sV<=0Mz#%?-8RUzn1Haw8}Mki}FW@*>>lK-W}opZQ~uAlKc1cKt}h*b_<$!1IgJ zmXKcMl>cvJ0j@*ib}hg5S%`0dqk*i#P$plc5s}jm*>Y-A0RT;(s+XHL6G=c3g68i_ zzF`(H6UCX`^Z#ln+hU49gLw(W?mwW+sOVI%hrW|Yyz;Mul^~I!y&yWF8UPubTO~>q zB61d69Iju3`c4ZOzm7HbcTNOIKvW~$@TwVD767Vn8fLY$bbS>Or(O>^bu}n|;F2`= zC~?47AW8}n4(NPkJ(2C`g$~Sgc_n3jN}nF4CqwB!pF=`eABe2AB3XcFB1|+CltBAe z9SSuSR}j>DLJ9dTQTZ^SZv+M@V6IY!*nPl<1lk7xTJ{b38*e2XghM7(aQ>{a zoR4|4D}{}Q8aR%#qBY2ak<p|fg($$K$fg)P;j_VbDXge zOcF$LK*fC(UBo~ET0rX&DA0*3TZg3D^>j~ieNYDiyk&1BQX@ge2;uKRmwO<>Xf@_W ztmscJAQ@~+o$NXN-d4IzemOmgNe;22!gfrSNOuH_cQc zn&;g9?qE!s>Q7;};A|u!FQITy5e+IxAm1Sp-0n@bP_UnDk%1(6Vf&$wLk}PM6n~zF zgFMUY*)nCS>qko!P3MrsjwZx_JCbO)`h%9GJ#W2rug7O97)iZJYRK+zL&@-rqa1EXD z-2$IS4s1o)IwW84B?EW1H{{>MaaHK4X#jP!@!`;V7uHf9q60 zs&F2pSVSS&9>6(9Hnea;x`Lk?4-wpZ-Bt&rMW7h9$yR1h`{;BscDgV_UB)t3aOUJsP(?}4SL;t-}sAUY00S1@*48J-c$A1cR0cBq_|7z>5U z>hU|maS{a}C7K^22$|8XCy+(ONgn}`B*JYtV!{e#fCs1qi{TK9>xDEwhKy=JkT61R z7Rn4Ted-9|IeZRX9@`7L1;g*RZb>yXS|05(J_UW8Q~20cS4kw7_20Qq7#a3Z)8UWa%Mby2+kd>N8P>3mB-&$z{c zjkNHFfnJ7V&jI~x0fPqX0cHxB78(JaPqB>b1eA|~%NEPnkoPGes!-New+5JKf$+c~ zP}=w=4ju|(1S^d|Ckw(9yQU72j!$e)qd!@(ALmvTP$oVpi4QqA5hNqy|2bq^ux&sX zk}nWhze5rFR+=Pbgk%IV=n|p9Nu9+pivo!+bj$=Vsvr?Lkop_|9SXtWOz?otnE}kD zp*pR1TGEtlkMmTH7%gAp1;tGqx3dUS%3%Oyz~>zuK?7+(Uuj!E1~tBt{_ZpvbY9Jh zBjr@qJg_P@l*Ey&i6xtqs7VTNO}{fjALZjefRg~>!*;?tPBL;-zZnMX!|GP5{ccK- zB7^!0X5-vS!il(EQwSRbR76<=$sEyv8OXIDTAlp-ivH5$Grc4-6;Pa1hSS<8Vrq4!>r~SmT~z(o*o#jxy;!J*g~B9abyky{wx86qUw-s zr#=s>GV-zn(Pd>2MuNiZeO#DzCXmL8vs>tw{8Ky}rb+9~=muj0)@3lL(eI`}EV=>1 zAm{}l)7Ud;gw-jia!|xEVHYy;A?`osF_geD;cMF*3&ZTqRo=!U9;Zz+s1({5s~|Dg z%-+Wi0+RjKlU)sIA{t&{7|ykXR}-?wsajxG>lPUO-W{&yD(C!=lK@qx0pVKhKW}@T zNeAXZ0#F=jIHF*O%s^T*vd|4m(x(3viYuVvXTChJr_~HrdD-#3#6!{vq;ix2y8}WP z-8X<}q?zpphKQzN>Q#x7O@VMs5-so972~FCWUjKg34v=gBMbavNLL3oBxil#l^zfz z5;f03(4b@no-J6yn=9XSuI3Zg@$^d!$pYM+XX-ZIS0d9aK$@Ke?3UD;+o!*YgH?4>~ zGXDpX2K~ms(oR=v1CXN7Y$P64IBao=A&S$QOJ{?levaRo;PD)IP34Z{o!xg(4H>Y< zv?XTWxllwjgo6qsOnW+HfDG8`%jf}9bAGDFa#O?^3$G-m3<(v|@h&ED|&fhQb0~B_xRDH@Cem46#W`QW#(vk!|K4h4M{s4I|qO z&g;P;BDTfc`|Fq}T4YKJM5ZFl~pRc`CYmVRo3!KGVGjvLRx?r8YlRSC_h&z>-_D%>|#{2Q(_oiWSH#{UH5H{KT zeZD>_@d+HXZv~mflrJ*9!3Bi-jD|h4P2QPY2uf|SY&j_#T^Io^a8`7%e%?lNpZ93z z;iGeqOrxp*WZvgazv2zk0ElT&D-J*q1I3bOFT%`-NalvJgZ0L6AdBnQf>ODM7&gFp ze+z!<$UHbxBH;zIqo>h(ck^3?X`ALw*9ooqp2>UauepJ#CuLozMMZqtvFE`y`mS@&1q< z2&Fy#T<~qm@G&+gY+auT{{&-X(Oi8anDJlnuytLiy&!Dl%F@0o&@uM14mHVM@U1qE ze+jg+fFz(O-(sC1^rBA!1wJ_?w^HpDN|msF@E=$|aM;D}gwb)wB0L1O!QpraRFWOC z6f=w6P;wGMMNS=gN{l)Z;QOgQ9D(kTX|~l}7WLdFT0c7f0^nioH2&Y?Vdps#V+LV? zW`Q%I7~_1t#+4>6!#qW>rkPo!4kihX4hy3LD@4@jbWyRR>YBb;fDWDc34$@D@HH`h zS#Tt~$^S{;c{y@|Q^MA-Vn0J#Tn&g@X<%EtnL#_s-`OIUN0-afp&Se$Ob?z<#OQR9 zNFj^~6!Jh060}K?-;?tvsS9}S{GG@Gecog86$}83xz{J8g?p4Bu0kZ_IL2oJ8WCxc zGGG4VCm8JsB#U-lK7EL)a3014e+Y}7f6NTXlRbjKk01*~?#-bBA z;}jqeiihwiAO{|NE*$XZ16ZPc8)Ac>xC6x|!$;AzVs6P?DCtK^HwVZ;Y3VcD%>9lG zX$jrvL9sIA#)NTE65XQ&ShYQEraC_XK@H5STq&XkNx8sT71k+t!MDKZz(;{DZY83I=vAuq2kCd>IQGQVIzh&s0_KSMCqo5r>pYpDu{kK~kEa%vc9Bn3s=UvjqM~ z&T%rv;N1wH1DOc$j3r3F@-pm7)@PzCzliL!1%jBGe+b3=BC@2p|A>0pZGq8q4cqB5 zjjJn}gB=dNHx&_m-)Ow*_#I47={!~-xeI^!OpGZQP7i`1&i_5?c}&1@m7@vDo?nW3 zStO6|nn||V4SW+)Jm98BP`xb^v#1wD{Z+Wl1-}x6i335+U|UApRfOER`^P7JCM{yw zk@h%e1)DwAG{(8uZ{t|KF4bzIb6*u$;!GqAjn_C!=d^%whoIm=*jbCViDI{0zgM95D zEwF$HfOAg)Ed3+)C25kCEqZrD2eejq#6ihyt8KEKTQS-=l!W#i04jlsy!T9xhr;V! z<~^+>0wQO+P0}#FIpY80=1Bqne-w@Qzi6E38*HqYzhAcW(zQ3L%CTanLMF{}9~F6G zrH2xADl|KPWn30RO^=zb@%W|Zm39s$MlExBpbKvd9!vm^o!gf zP?OY}jjhpu{kv0e&baAU4o5oOcoZ~Fb>!hlsS)q5h2?{4=(iH`SRj>JMFPuj8IFOI zE!Stx@-UG&WE?9Uy?0B`H{ndrvY3Fm5n*1?WOfJ0X_VW`+;m!@h~I!yC6$)EO;s8j zjrX$Cl--RdDFnp8oomsZJ&QnKY-mVscu3AZJ@FCGROHa zYhhtxu6Fi<>}4=L=df*zyYoE1UY(fXsIu_xS}gFvn4-Nu=*@cJQhkHXi@UPTv2_b9 zveo&F$dUe&mj`O1X-9=khYb-Zn6eT`POKE`6g)HAl&xv2dgDpdIMvO1=U_iT$7O}# zQDgOkq)V;V7Bcv&um>ySSHhU*olnZ)U#%^9ah!4~%(ve)OYMZu8KTf(PomH&u!|Do zVq?qm>A#Oj9T#U_iN3gMt-hwQ3T*yZiBU75Z#LTKGWZhs80;bs`LXA|+vRPHwrlW^ zt_wR7Hn~WBX4ksN%a$SVx}M6ywCe*I{Mq+F95sEDi$#MWE2W_>L4D$drG`eN_h=~L z>qanH9?a2lqF&_aR7TF@o2h6?Gtt)j1okX~7WWGzDiU(k)>VO3qCxE@t7LT3DL5L2 zYBd(jHj5Gb_~w=%m`xb-3^G_+YL~h|X!V(u$Rn2j*lbeu^9j|-mR~iQD2{vy{k9{o zaA3zsJ7G0a2$nkw&xTb(O9KADdwjEu_6Hs#r@pR=e0_5M(1^~EL_+Q;yr;-6XSl7$ z{$Q@Uq2e0yhqePCRgo=_&*eyACuN;%cPwO-GTgR+k9y?6#uwVt z!ZFT|;kOBs%q_A>wJ?yTn8uyeN;>3+s5 zxa8#lE(^Tk8UJceFD%$wmF)KIMJ}H)Sgr3dFVF&1_tC!f z+&8zA+5EoF0PkMD%EQ&3uGbsAmvR&|gTL;w~x%2)$8h#1Jo}O+^0vb&V#}y^Qzr%o72gsk6s9p!BU}zE# z_cty+wLWn+c$0p=9LUOo9}z9x)g%ja9pPD~4$`=l-|0nu7X}Le+X-gX(>)h};CaD# z{8v+~F?h#0X79`FF7LQlbCo~)hopS9Z(k#y*n+0?`Uchy0Ps%E;ot0mr9(@^Av5U< z&v0ZSSc-m;xQ;vj;h!y^bBXZ;T$^7eng-O&%nptZT35Xm&{FX;Uh2%ih-!TmP$pn* zfX6J)6*HO^z~Jxw6}2fNQg)gNe+#6Yt(_eWU%V~o%?~-jfN$;Y@9Sn_ASZFkK4{x@ zCcVMjUL4^#VQ{01&)I@t82#J-+Uk7C8ZG=Xs~drhhp*q}c;NDzWjV;Ht%G(XZ*oDK zi8gt`!-Ajnp;nR1_b0W!JL#Q$Q*aVTXq|9VS9%VSmWmj6%N+J+LpZKI$FDa*p}? zvUkc5xHdxI`oo3|UgwB5&`jTm_%{hgA^#yyF{#op1&M{kV`euV*Zmh!j_Zf_!C3=* zQOSHJ!U~C|g?_(ccPK_PJH!M7SO(u;6YSG7S{}e?y}(Pk&e&44+&s(r0%4&y0_EV? z_?)dZ1+eOAr~?i30D<~2Yau3>ob2~y*NpcE)R>m8xcPDR!&8Bu3v^ls@D7HAeAWbk z{y-yea1(I3Z>z!yHKQ1~2El!VHXTGdksH0TbxY^VU5H?%&X7Cu)5PHm7*#-t5sj!?e@#iRMzc6Z(vBhwvDXQ&JK?+I8D z&;QW^1*C@6Oi!bJ2y9+q{yKa}y+d4-RgG^kC<5OzfsI=a8wXASqyzi-Cr;5f5!>EP z1T?SOc>7V ziU2wi!K^csJy(oUSm-y`=`+5-e~TA%)|W6omO1u?)riU%2O8_0%ZU8;@MO!oeVY+# zoAqy1as$493FwKC_o>an(>;mdk6_*H9R8)@4uCfp=7dn2RY=@mNxNgK_QRj*O&hi- zf5aQC@EIuPJRsir4Q2!Q@uKMl&I4lG=1oG5AfWbKE}roP3yd-CpMamxf<$4j4wn>J zr3m)GjsKqTg=^s{TW{>Fy?2G%J(#OssEE3<=_!kC{hJpn@(<#?+NkiD45&IVcoKaysELk8!HVLof+LgQjKRDTt5> zh&0tDj&0-&B;mlWz6kkV;uqn$zF&lVtY%^!UjfcQhSeS0IHRbG{bm^#*M2Y<-~W`A z@Wt?$lu2fR$?$EQv7Pw|jU@zR& z8G(ANunthZZX53``3Wk%7*rSQyAj2#WVk_D>85BjiKBLs|La?AV zl8n-KToDR__!RdUDn#d{V}REL)Oa>5Ru+cg>hLgk^@&|7Q+f`I6kezh{4N|z46G8m zN4+?_ZYbx~lI%$~GCbOR^@>*%>F6hpgSN8)gyF2!^}=-bj1gE`y*-q?qzVccBr90$ zhpqi6EQWUW;5<*GCBmAE^Hzi_EnX&7YcBYV)L&{ST6E!V#ojBImwaZNq9D`d?yNYc z7yiA(C}y!~gV-2SyJMMPERlng`W!|ad>Kbjp_PiKc>S#4S*LW4t*BCq$Qm~tCzMf9kbJ+;dIescD6xBfP=-r{40+FTZHMo(i+vV3|c>-3)t+~7zt(Iin zOM!Nd5#iLc4;dGOa8TFODP#CHqG-m=B4opVC{>V~Dlw{SKG}ZfX?XeGwcl$Sq5no` zDS1C{>|uc(se!RYgBX+68w-)a;O-`0ed@O%BPmXKA>IdDzPsSO9#&PX_LuotFAnP%8XkSW{&hiSd+R-t1BFQ8Nj}^Zq{o#F z3s5Ho6V6vWn57hwOLA!t%eX?^%pSi6$)!RqlYsL)@nm~JG6v@7KFeb)hhg^c$&3D# zposP3dG$6Gdbx`QgWrF-W^hthy1#LtS%e$Q=HTT8_*!PkNAfrB221eJwSIeiv-eU> zl~msz{TaK)9b?&S!16;%99l&vlDJ_(;m*3k5zHbB_8??BP&9Sd;xvn0C|awpuUKEQ zYnJoRlCNkXDQnCOxg01?U95>)*#9w=F_^K*WusZ#u8|>rP;On-vhRr%lt8kN?5+=~ z3Lm6p%5*U64rhUTF}f2O{;FMB%#|%Y4Wmq10e3gK@X|bxY36aBRfQ+2cG=_dyYr9O zyvDdqX;(Ma>#tFC39AW%2g4Yp^gU$^YAtVrE|N6d=1W=wP?ES{A07@f*c6ju%N{&m z6F1pMf32<^q?fzzyib{&Cw9G9v%fFO!%IJ)W(8VvZMZ+rOrvdnb{5=ri)_xyk3mo* zq$o8%AE@O!pzzS5on55ZS8c(LJGH*EU9DuqOWv-z-MamaFd}!~GHQ3Hm_$2Se$HX+ z($}9Ax_b7uiE)()+zrz7U@XKd^AlfPT z&>5WIN42rY_JkihQV^$q=FG)QDfsOLQeqbT`0qpUO8jqJUe1++ky6|!i}QMdJ)pEy zV6Qn#`bxa|4s7hfZD{cCBuOI#`nrENoh-z^=8f0k|2jwRi)@34Eq6NFt3Q9xGDr^t zJ;i#DJ%M!ukv+Ad;3!4f+$okZbGE182lW3@Lo z;)PV*dn9-l0CLhdm`Mw+{x@9UmH0m-F!p>*RTedK&H<+J{*688&ld%sRsLAQQ}E;e zkmrYQh+Cn^$)CSTpBaQ~s|#K>S@N@-_@&M_8_zgNRsF|$6(xVxeSO^iUAg~R=lP3W z%Sa2)qjDZ2gI4jc*v6*3vVRmlVdXwCtr1nf+`SdJWTf((s%J5EC+feJJ$cj0@AUGi zgS=6KIds&_TFk1Di7~4(KSWV!f6QD=|Ay6^k_Wwb?QHkpzuct%m80k2H701)2-X{i z1Tp&Gx?&ySRy9=>01m^~c8If~58tA!k)o_Ef%UMaI(~9>-?f;s*2d9?>~HIdWlSD% z;p8>t`=#*K4E}hOXuv2k_J_!Gn#L8^Jq>5KSE!DvcMG^KIqKgnkxH>io4Oc})Cf8SV& z^C9?EUoiT9oj2->S(hvNCXUxEoz&Qr^kr2HoO3%G}QXgGiDIz*-Jy7{&# z>Y8#>yy2_TeP~OL&LMv_L{ZhwW$TVTjG{P}edk~`yfIhW88-tBH$ z`H~c?WcSUt%G35H2=)_5t@Yi!c(GU6j*k?*+f`3YZETtazpUITTv=ysZ1Bxjc19GH zaQAeV&245-$p}jBc8*}8EU~)GvXN>gwiOEYng#x0%)W1~h2wpsTyMdUr@dW!h~9n9 z(G*8`{^F5T=r-BK@cv!v8w&=tvPfAl9InBwcrl7)o_Ycvl#vZnlr&#Esm$4y-e&8a ziKgpg5~fq!#j9XXN-cgJ%R3PNCrnH}25uxD$!F;Mm|R$3CPLPRlsUZ29fIAG^W9TY zG=eq4VfuhfOjV6bK>*tHSI?EFHNp4N-@rlNU}=3;o|AWfJaj2(ZqcsKhJBzKuiiMB z%0E7hzOc7r#o9^1jbBq-=f1Y;<7(rxV4H78UsG0@{#HAc9+365riWAKQ`f3>(2g(b zo4+a3c-$35d$_b9z*c8q>VN2O>)(7xzkdpKjf_pn3|{J+@uykteXC3nx_HILlCl`!B&{ z_ImZ6iWBEqefuLw4kwJuB&8Xcev#+WxxqJ+awJEvHfrTbTHBXZ4ZP(&NU8d5WtAJu zyDhT!Asfc}Mle>V1c#e%XTnZeX3spd9Q^Tdsxfupe3O)EV5z_-C$w9cuHR~FL~&$a zJz7=O>~x{G;fB-#^Gef^oW_G*t}Tg;;F;*dI???ShJENOD($RkV_QFSWq(w&?#b+r zd%vaZZrnKOA_ENt@h9yixItj)cqy-QOOisEFt59xq$kw^3-3KTVDnQ**Pe2({BJQ1x!VIGcCqYz0O2qTwv< zn0 z);(^{dg;|uDRz-j^*bf^>)yK=Uq{gSAlJFV=uuTl*g6U7z#G@rwhCsyW|d@docOqH z`e5Ib^{fgr-$fFc$7$@4%n$P2bTBJ}vR?IF>4-*$-u9}b+j{y@U`cAfgR5P-xoPPm z{e&&_I7YY3R>*p+hWO&3sfniT--lq7;AM zL5G{$OV>TFkW!SO3J;?78*mI5K(}qb)_gr?OY__j-0y!_zprrJV>ft(l|1TMew42k zcI~gIj>wp@!p6}(ogb_{gU2sv-fAw+4Ri)GneSNCyXp@vXfI>U~ zqpMt;m#=TaGZk{Pbq7=SMjSX__L&i^JF|El>ZwQjU3cGRPN=+$EK?fYq6RrJ_< zo0*XHjZby3wD3zngYQOwE)WUGtY;=B`y#-xQX(3@}Xi>0>?U(Mfy% zM~|JC{J1|gRfWHxY&!M88q0OsAJmQJnZ=e}42eJxD~JnlA$PWIg?53CVi`QN#yb7R zNu`nxE7?xlhrZ*<(_)vIKt}Z1Kf)MHL|!pBlio;*S0b}c;C z?(16?y5-M15LbmCmebsLcyds)XN!?{yQ7ypLwgRdLkj|c@H1^%iX+eXka)UlN6L{$ z{^Gpg0qvjO8O;=4K&gFq3IH^rzf#FdebZpm>&wRGz^{ZK1ADMHCylD!8voI}vdRU2 z-XAuCylIPBl@6Jm+0By0!8e_^dFoXHzY%^6>cFBb%QeBID#e%wx9LuMn-cb2{COAm z&A~NDw^;Hj8_+9<&)3+YBaAec$htj zH+zB~biXO?t9bbEp;QP&UC#`uBMsIS%bL1B^IN-Kw)o^2#n3Pzg@y-d=>Q2cdeqw}d8GB~ z>FyP<1&N2%G_XkwjYCTd?LraHy5d;7+prCAc1915x^Xghg+k}m2S?UUIy`<~>WXh7 z5XBOHxLjlkxj{jC{7C8I>C-ggnyr7Y403S~ksoqh&Nk%B)AC@lx$h#SJaVo3-?hv8 zy&ArrU}E7LRVxE!V-#bhgbW#;B`h zS$4ZV;r)&nr$|=z?p9fhg6-jgU|xw%*FEp{+&PN*N%Mpp5gu_t7m&ra^^$nzq1yv* z3qP#<#fd4LBh`^>=VEDjZ}#DB{kPLqhg&+!?fw0m_NDS|yV2dd(HJ$RHCeU(;8!_p zn5FwIJT3PEvb*O>r*-^shj>AB z?=|Jo$+s28@9TdOXA{yVf>j1pXv5zZ*|hs6N)>B5^=Ut8_{&OODZ3WB<8VQA?v{-D zTi)%Ox2h-K8)p9rcb-Xx9}Z6RI6IctXLnHq%s37nu*1Lt9V%N~oTkKRuHPp;-m0?Y zo?o%Kd14gMIN@jI7W2fq@gUofBDS7BCwOiZgT^P})yiffKhD63JjV>|r1Z2^qr?aXO=dtFtQ*Ith)Lo{FbiKsPb z(ed1Mb9-6VgmxD^4nAQ!0GQO(5>wYISdskvEZ5;Ha@zI~<(|;cnq8@@qtn*y0pwL9 zZOiu90VhCGQDd(GOHrRTpqc8O-t_{AbeP$zP6)f9W}Jn}ilQL(ll@w4tKf_rYwzFOJvjE?*L;7GRuMT5gQz!;9@2glz2rZ;c4S>?;yR#Yy1R9b1t zau|dhKtt3g`>{_BD8Wj1!%BB&gnEQQ(AsJqmI|&i^y$d6J6KuV>#^V4<3WH=G1&?w4+~dEUwE_{c-3qt@oZu zTE`XlGLKFj&Et)*^wv=VyZTcE*~6_MTu* z``oP;rgW%Eb-^Pro)LkazaO!JbV+pj%!6eG31G9kbswD?_roSDsW$Bzb73(K##Io! z9&A?g&owQ`h78kIopVV&?HjPf(r@nI{73#n$VgdxK@2+WJDA&K9hU*s3B5;SCBR{~ zhmX>`u|afu8XeBdb1H8gKXPTNILy)Nl$;{mnI|$wu44-CJzCJz2WQSoX^;iY7}tK} zcde7Yr$k-5^4WI>2jFRUJUhO9 z|Bc7{`{mwGlWr@Vz5Pt-v9RU^lVBUgXD>C-!}fvQcf(?bHYI zI(dAi-QnAZJ5ATi*{3-dV^*-Vy3^`lig2Svh5LKK>PphZcZ(1?i>q_>c2by&s^&CGSjE?oN!HkE?fHes~9!+65mi z3YK^Dy*$aT*Ko<@9QdIwyr!Ls`dYmC@R;I3b#94OjNflbyHa@TVt&xBPLUk zx%^3p3n1H z-|x?J&YAUqnY2ZD?t5s(U*@IY-5f5-uj)*2@ISs&TX>aSUp=1esKoL?l;fX_78VCx zN&Pa(L4X(i+*rRWpB{&9IZ)m7iLhHs-v62iH_+9f=|LAi@iRn#OyIH~v_ z%w~%(Va}cjl#Fuqk~H$Xjxg3@dH;0SOZ?+iEBH!5p{D83tvs1o@yq1LxBz;$i!eb1g(!wHG&v*j6n2($l4+Q8ZOJKKIel0T+4`W)2m+PeOp8g(m(@@W`6eR zr{AA^EMaG`(^Jy_!90k_paT`wP46bFfcp-PnVFLrezlI&nq~!4bbd z33FV*f$45N<)QME$7inQi-Ot)I8ErMQ;ak-0B2Hr z-^A2Te}{T;CDs9U_st4Oh3GJs@(u5LiVSz1f({}+u-@Ai*c(LY)xY+RNC_k4V+VM` zJ_?uAcIyqHs-iGFy=%vKNKDE=yJk2xc>U+nMdl}c6zpxD~7(g6GoG5gP{ zu6<9`4d3QxpM}Excx3r)MXSCS!Y5sH{WuVqry=0+w$nVmYHnU1q3`5>LnHwHms9Ag zqyDxAv`FmS_vCnBy>@mu0^Et}Y~&0`1T>E$tzdeh=b|4nw&4g(Hh@DGxNW&Saw^FG zJ5?Cpcm)%~Dekm(cs&4N2f6J<)krv32tF8hiK+j51%tYJN{;va^j8+>IX>1WSdn?B zA|ZARIVx1+Pl-bL0rn0tpLGb79E8fS^;!JKy7k&T{z;>bO+{ZIiY96q&~@D7b%wWf zij=59+Wns&>&Fa-xs)J>Ec`!G+mQZMBw{Lj@(!n?pC@-nv+*t;{`m1R{5RnX-v~Hz)T+{JGcL$8 zy&%n^9yurD|Mf0p12;z3u5k-Y{n(KLxxK&1pyu0|{{ZI#qIWBD%cjE2xJwqNpX4u+xkk;#u2M?qUMdmX4D74A+muNMVITaP)* z`(H=HtbwT?I&MKX1Su-}!nHZOIE&i`gg`>%o0m9T zkX>PBAJ3mTgDBERAc=O!$2Ad=lfziG-|Bw~dm1`u6-^>}<2{Ai2_&fb6X7)AGP97c zqoY^5bW;j_x4>ygMbz_eoI90f!Vpoi2VYQs`@=Ix*B}!Pf{t2Azq^X`pWQqpb*-KM zQ(nh-;Xy4jRJ!LB$ha!QYhu}%pM`3DI{vNy!|*hbvTo~Mf^}=`x0J7*gtIt64ZQIP zxUu$<_ZKaWPahkolw2HrG!t9;PrTCW+F#feL73T16;XSpap0LE4xK{douZrqTbzdD zCdkGAlkuf@m&G*(tzndeZ-7pU=;(|>UsE{Rf`WRlGx&|JYFZRz$Prr{?Dhbh$B4G* zNrN9{-qT=b`K@XPofBe%d5XIVc!rlFb*?x}aF*2r&aXi|?XTkc6@VDZ+8=#(x(iMldvqa!fO>sr4Xvb;?B(-yC^A#aHG{Ti}5 zSAM?*F)>$!Si-zG3IMOR`dbsj$mc*t?GT?7X2I>%NbWzJm{wZ~2aTSA^-4#roO=uSn?J8O*XM*<%t6_%eIleqN;APrtB5U$A+`or+71c4|f+ptTJp z`++X*M-XId%MoZ3Sn?l8K%q{OAaHnnXv-0GLxQa|y9TtXsg78sss{Z0sfeFPL(bv> z8^X8=G1UV;OdU}SBzYO)17;%8NRQ~c)A<8(=J+R#!#B`+`inR{#}HcaiI&*TY4;_5{dhr5kD`{{U&e!093X@1y&c{XLMd7bDLW6lyg5 zLzr94!)g|Rl8Gmm%R}s_c!^-4xxwOd&Yw$HoL2=V9e1O4dJ_<&OGv0|_N`aZ$zLTr zk6}okPG#7cr(tq*fBESJ$oQ|&2uz79ip7ZvT-9FRuP+xqV4@D#wc#mY&JfO!Ea5cQ zFeNUtxg0M#*00S+>`H4$u2adj_sTypfMo&r_tZ6+$~W`pf$2K!6A|S=WP{H*l(>OzLI^Xb9PPx z`QLk;N@MVXluk)p>MrO?@>59YGzq@a zjDQGv$1!LtsZ|^zHyZpKV1>#a0V%^wWAjF`I~mQxFWm97y40{vWGH! zoud}Rb!Z$D@}${4ux~r_SzuupWf8|fW_WH2SdAHm%s-!Kxp5k8?f|3?y2 zq7-Fy#+E*fPuUnXfrgfgB5P(WP(*aPRm0FYp~ELSL<0uEVd}-$7En#nb9mEj{*Qa^ zfr0VVz0M^?;!zXf>w!KSMlwZLQBkJ6jOvWVd0IU^R~sr@zUfCZsO*`DEkg-ZdxxYh z%M`RS_3K^a8KtQ-u&n5AWa3%}nL0o^3N_w8CRDjM!(&YGgcotbK1}Z~$PgcM2(b51 z@vOQ!et3dry+o8&0P7?qb!nz#C{e#sdFx#7svSVq`B774xYbwPug&CajiZ;J7r~39 zSY_qaYI9b7yF%^MutWpqe+3r_<`RwT&kzT~oUfp3y}SrkjFMw|ixw@4T0M8~6DM!) z%{$R~XT)E;ZA;**SWAvlWa(FteIQ9iPd{?v+1BP!B5L$E)vO7ZL17xDUmhyX)cUsR zFfn69n;9}Fe*}Z;A+@%lp4yBMmcu9Cdxm}yQc|4DBVxq$ZonwCUkPkmdbJv*Ks?wr zR5I&xjEGhj9VW85c5VCG?pej%AcPgM65m``sXZ1eR9Q-8`EZNIey=d!@@xYg=+`O^8E)Dx3_CD2CJP_ z=TSu~&%Sj-MQ@=t)vv{R+YD(ZR2HMIk#+Q!1X%g*(kNyM}%AJ~S=32EE+^`4dOlNyt=Q@ca!?!NMgxH;ei zyJ4A;T@WP+^DpC6{^1Eva@1o-rOXn%5)kioxmJ_RjMpZ@C90 zJOTvT6DpK_Hnx0NQTZ^j{d`1_9T6W|zkH5U7bAObi|zid$!3fWIL5>7)!W7}!pv1c z^_{81T*eeEaX3^tuSzFvYVu}>FS|n}vL+0e0TY(O6k_PrTDk$Oe@ca%2HxozIT2Z& zUH(iizb?CSR{*|b4lClJqq$CO->c*hMk2`S|fVN;`b#ut%cr)USM2O&Q`-5UCPTu6Yj zDZVpfm>O`Mk9eZp=0A)h2WqTkdv$WKw0^9bKF5?&uzTCs#7cqcPdFl;vl4r7MaJVP zV~=B}I>c(Ot1v*RotUx5n^L0Nut}6H!ZX+Q((>Vi#PzUeLwodO7dmnR{er)R#X96S zG@3~MYxt2Onj3=H=$r!f`2;c?*nQC?B57da6J7dULC&{0%w2Gewvm5E0DM zp<93L50%I~btr60x@O24<4ERImhX(kpzu60&I*L5=-W|Q#YP^-PIl;NQ%CNX4?85z z`VFFOo9qy;{3_y=^qQe!Q~Q9M0~UR2ZJWU<9<4Wytbqlrh<3!A19r$wmoX*8&K7Il zmwb3yBADjOOdbU944iYNR#&*;di;ruKnSHKadID=pHJ3)}#WAR)f!(NM92xQc@wCeQ z&hHpzCU^!m2y0)FT`m%pq^_dBeoMy6fRl!*ke~h;Uon#WLVT*a)%~tJI5jz*JnK?2 zCz>6(NlvblUiCxQ{WbUZ$by=#L19 z)-W?E1^$9ONZ85KQiMFkk%dQc&=g|0J774FJ5(|;=tke`=`fMVIbqLBZ-~w>V9)H@ z$hkFCJ}ws?x0G|{*o5M6+Y7^#%4Dpsv-^mEj5DNKeIjlR=pQCF87fdlv=rH2ab1%T z*ft|13=|WCKa2%qNfS7{6PV4lZ|zl#A1{wbW@_MiPJx~Kb5{q}*^$d~k_90%>Do1^ zg@nxVj0M;))!uo?4nmNqDN5HYgLyZe)%{lFdnQ>}B_{WEO@6?BkHe*RolNvN7%I`y z|9D!8n&ELkbK4rDg(l@qCw<^sGeQ$o7x>QfOT!D&N%#d3A-e+pws;evO-z1@&P&XedsYl*!4rru?jJ4Z)+a;Uzf&<|FEntb zifpSqq`)*|BroJJN<>D|7ZN*Fy-M@G7jl z31PL-%_+hqbm=T96;njZ{bVD1=!^tM;bCavPxlLdm5Nd9zR!1XQtkmX&6pPsqghbc zwjMMzj-0r-EWfA`0w0p*8X-O)q(bb2m1uKEdW<|usp0rgsZK3iCcSl4o9ewFhC{h^ z!24$cV53w~KJ2AT%d1&mArbz1J^^n8S+ov#NpyQkwT*~q9hU>8X4Cnhf@bY=Uf&*h z=RxYfu7T4cc4n^r<}ipJm6pY7^P*Ky@_Wl5v)Bd{hoYBfh_|Tix1zIdL&-2Y_vCv; zGlZC^nKJhv_4TKjI=Tbxh)`_aEoOhad@NlazFyS*Z=>ei?+i~;+ZW*yxS0B+f|mOp zRKH4sa~6^!@@D-AX>&-jnp@2Vp=x@)dBsM4SfyWW|A$SHL=(r7xkK>bKt=F$gQ{n8 zv>p+&UY%{_K=|Q9mr|cQwe2f7A#0bh$JEInH8(-5Tf1xy^`f-x=-WoO z--12*t8q03_km*0iEB3_gLzkqSpOxsV#xWSxI|pK-!kf$9p%`Z0dvpb2D(@fmUThU z3t(io`j|Qds2HpCWA=Yg1tnO4l08Zvembt*U|lM}J15TXPG2lX8N){st8E^#%%$d^ zdvwq0vCLvu*A%BzJW5EGiFZTS9 zEo4Sjb=-%TSoY1|`vk;j)M+PCa~G8*t3VyAGw0Y|KPl*j?1K3U>xX8S*BY2wz*1eS z;m2G)B6UoO@5cngd1pBOA?4Qx2Bvm&mIEy9FRT1`VySSEIOnd(M(lg}yiIuE4i%)YnNB5u|D0WeRq9M8iqDNu@5 zMiSXOAIfBwG397FBB&w*9491t_uPH%vi8NmGA!w=*RkwAKNYf@M=XTF&o}dtt(Z8M z%=wc;$VJC`dNm#xc(2BJ<(qRx?MBG!%Mnf_$PA7!aJ||6@8vM%Hki^Lro71RQ|pV>-~^I&ndWAE*3jxplH| z-5;*o!}WLYB`k6?l9U8HCgC5IXPdZJ9bAqUpLwUv%*CbKDNu`6fb(wTId2S-DRhLH zf`o@qJ|1l|RAA$G&iHguPjIm zjbU^y#h)9T`k7sS$9Z{y`#OBF8bs^r1u1J6xCa787A_?Z$gqFK#7m47n0X+!wL=-! zX>)O;3c-t&7y_oUB< z7Ft&@*Ac$<2{u!Z3wgG2`<%sdJqDjuGIAt1T+DL=Zd#0VgjTXLt)M6AH$EfWu1qQR zE)K0)XRv7M6#z9{IvxYt0Q8rl7C-R{&CRGVTEw*x<3AwC*b0}@8n=ff4cve8Yws%G zjc)sEbc`jc!L#jMEjY>8gGt>BW;KL2NJ+gqG*a1e(gjatv6fMb6oG~#nObtxLsfi| zBP~`@aFdU1+jl_X9MH2jy|^7c$^2O-7+9joB~wZ2u2%k<_Ld8{ZXIM|l)k-vp@ z8kGMrrR)}R<@z$o;3R~t0*^JiKuE8G1a8EHN{aISJh)<#L(5IFXyf~4oNX6;=h}a| zaeLRq>GlX&EDI6>grozch!JXa+BFXIEfP#_eK(${a}W%_K)+9o zN%hWyoZV{$LfTM{g~_Yt5te-Vg00U`^QhTS&Zm~QuR0kL(^~pZC%-&2>q}1iE2rHm zk~qm8%4K+(b99}Y0e%;Fl3i6B=A|P&z+D)O!5&p!Fwu|EY2L74NqLhT1u1!^W^`6J zr8E560C5oBTmb-;=~Q1Gil3qLkLb9!pz@CeZ$N2$|pU7K+rXd%P?yAsM>#ekHM&M4Y=hx3<@>x#ZfR9N+4}Sxhr_vh#nYGcv$`lt%^bXSIU6YLk z@mrDBQTe!_7Q^@Df;%_2x(v$G7X$Y|r2-8%Vitg>2>#C2nUUR}48`4C%85IOaF(Rc zn}z4dj8DOQCe@BnWGh#-nhrE#eU~`!eHn$?6`lPVM`bN9rL&;f^Plwzh4Y~4#O0+N zTkE!c(054c7T#y>&d?XB@^7vtq~aSg#?EV zk>pQ?u8*h;lWlgCW%6*OU?cO-5-3lBZ`KcWDKmpZ9 z(GT%V()Xd1F4M9PdJN<-5zdA>^5yCPmz8!K6)1JnV3t*|#_?!x4p2T+?4)MWFLwG&|?cf z%@QU$#Rq5(f@P1w6s~Vy^K17r$^E-gsHIX^^Bw!(UDNY1K+^$?oLhVH5W2YjkpS1C z)_e*hA9-MK0v_SrP4X5LbQIl*mS?7>O*In}?Uk`h^JEsnN*6>}HENarypSmy71?*_ z4z&E5KaBXb5`}7b>qAy}U~v7zV*~Ehd5hk_3nSnR(}~!w7YYA>OKWc9Q96MJ=nnG^ zF}khRfQz)vHoCb2A{53Sw~&JI0)`AZdp4bb4s`39^itNQ{mW@82GkIstO%r|M-vxg z3=!Z@=Jihnkxs&onlLN9^JZR{ks^>W5Q)d5PtM&R7q%hS^lF>kuU>B~5q!(tS{9W- z^UiC=z^{y7?-uUHbyAag5r>|HbVJX9FkymQcn)q5ZfJ)yP|F^0tl6!wqq6eh4}kQc z1uYmsNCyH7tv;7fsnIcD*{I+Q;7jl$L6sXS1UL@Ges70pl?%;@L+1a_I-?3S@>2wY z8B5?~YYpO{9g+hJWxa3}EY!Og7Am_h)31SxxyI|ZbPN%92Md$;*=J_t%ZQiDis_rt zWi)sge+&auSE#m@%I1?!bI_P0oRZ+^%0pLj<9Uvb$Oyt)+Q#!pz@kziEnEcTl%eKk zx=y$i(#0~MBJQA(6A1*g=6$5i_>(ybB#rA72vY1omr*EQ(xyYM)UFaZ8EH>w>cG79 zfT?c>g|OskHS2_KNb(O(R@;YA-!(RLnb~{3GmsUalwG7bU^(A*~pR93PYjvPXwFLQ(x5mo(OyUt<)(h9?O8CARoaIyTB$bo6~gMMyAt^0`JwH{K_bBX5orTP zOirN<|9;fu3o~-Fv|_8@Qa`a>pq)VQ@)$5$=4xnI3W_kHt!uRlrVQcTqbo@*u;p~X zK1ODx-~SfYFB1M#qS{_K2wN};Ee(PWk0AfcgKj?z!mi}OEU_sSP_Xk)Cu>Rk4fq*f zB)T!Qd%)jIE|j34jeu^q;aU2bTtSVfM2@~>H>d~Dqw4hnd8!anT=!(6%~ROGr9P{W zzB5gP1~ULkNy{TdVpvAs(Da^;&HS}crd(~{rSmRB1@$Z4g9N#$o&yI%f(V_;2vSx@ zl#JqN!aVs%%eHUYh$b|8Mcrm1VVMMn;W58y=pOLbNYQP3bq*^}6;DL^LMjEcnl%P| z01W&rRl4n!4&G5R+mbG0djRlLNL-ujrFg;O4Ul+wPK}UNXp2eWfSdgZn$Htzo)A&h zd=iUvy-4`qagqqY0pbro`3MzRkc;RupfL}rR;1_94%Cbkf#mRL3TF&swYr2aEz0nn zcEYu3pS}$!Lx}QGb13Z|Qf&?z2l>uGT3c=taMR=Y=2qgM9%^Pg3{n8Ud#88MRAgiA zm}>@%O;T*J42bfV(tYK@f|gE0pPJd-@D4alLhiSv%g`;~3aV+ltEx_}j>Qm)16yrJ ziXG@9p@}BYNA=qycdNk>%g2>SdXOYe>_9N*d+br@(+i#GWgxg>&GKCF6Bz_Fp&9YB z{&y45wBYZPfpL4Mx3>o9HDRv=2epvLBi%Cd!&R1}1*YpCy{fj`{b=l~k!F@yigv95 zLxx9NNeFG_&qR0k-6$~xNuCBFM6iJEWX&(<;^r<;nuD{(v@R>5ww*eou0`I3ocR5Vsxr zT2Pk~bOcluHS zlNKZECVZa8l9N||fb%z_-3a3+`6y7uuVN5Qs2%(<^>RfZe@u8iUZsD0p1jf( zK(A+=ehTNHF&Pz^$RF2^mi>mYPv8uq&O*qMv|KH?MMlwFb^b)8&odkCYv9PUc;I)` zWDE@P`qs31vL9phZYAFlMx}$Wz8dzD1Up!UiU*JXHoIg7etvoN7Qv7$&dPs}cN#Se zezi~((=~`BqKc0augq;tNN!Ki5WM8u{*WTQXWA#ad9Z|*El!8rg}OBJR(O4MXl z0EI8~B%CwONbi^qbF-Bs0E-rDKThn7`1OI;#F#Gg@=n3#tji9}xxLr34%&bwr9-|T z_=N@Boa=8H&^r;~a#&%0I>x56zuwg{yBe;V{6eh#2&`#2oVaw@{qk%4UwmU1_i361 zfB(EL^ovqf5A+J=@=c{s2$)7;!NcqWDyLig<_!GH_>qi)PboQus)odv2y<&kr^<^ze&Hp-*e2*CH&o2-!Y|hEo^!A^y?pzD5G=# d`iSC{sUNo!o9Lxx3b&CBU@h#;X*&s#{|5*`^X~uv literal 4703 zcmeAS@N?(olHy`uVBq!ia0y~yVA%k|94tT)M~!M1AjOjI=9T(j;Ea*|VBhgqdpx&YT zi$xz1CLjx;%0T|Z9wtO70tGfflaLgFVg$Q&*cBm#3GT=wRS_(nina(InXS8jl?+dw z^}DInrFx@51WWJ8L8PtxU`DkmA6xVko;VVt8+Yo$9^D{OQgR$oX#(aKVzVVEIU%J} zq|}9E5-jgN$xx0kaBH~D_fGWBGge5E15M!gH4?1|DSH8nG%QZQol${WVeZ7O2r0a& zrwAIo4t+*U4-VakVEA5nkhHRtCNYZ~7{Ho>a0HPW_M}A6gvDlm*BP$;5V`aH4W6`A z;~(t&c8;SZ5G?=05_-`TK^=*72|Mi^ogB94D`^!i;)r^ls02=wB2se!Qu#%bLXM=8 z(DD>V19x)rOi@rRHh(mHU`-5I2Di+*{9ekvdH;k7X9Ln&Ymb_bW;2Xzwnb1!Lz%iVSwV z1(w+s2a885Hh4V>4e<$!dllj&8S|_aH%o2idd~8Hv|R*mhQZrKW=*WgEHaD#G(XtZ zp3|l~nu^d<(a;%<0K4?|Z-xw8BS*%+eHVay)e_f;l9a@fRIB8oR3OD*WMF8aYhb2p zXdGf_WMyh;WnigoU|?lnAj&u!*r-R+kei>9nO2EgLrRSDc94ypu6{1-oD!M<7xBm( diff --git a/docs/user/faq.md b/docs/user/faq.md index 200db8a0c8..caa69137e1 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -2,6 +2,13 @@ From an outsiders view, some design choices, requirements, and testing procedures can seem arbitrary. The following list of FAQ is intended to help provide context and better guide users and contributors of ntc-templates. +## How do I test my templates? + +You can follow the local development procedures, but for your convenience here are included locations to test your template: + +* [textfsm.nornir.tech](https://textfsm.nornir.tech/) - An online textfsm editor. +* [Itential](https://template.itential.io/) - An online textfsm editor by Itential. + ## Why is there a requirement to use `Error` in every template? Ensuring that the textfsm template can account for every line is the only method to ensure that data was not accidentally missed. Take the following example. Initially we account for status to be: @@ -18,7 +25,7 @@ Gi0/0/3 down down The output would miss the G0/0/1 interface, since the `STATUS` of `admin down` not known. If this was a low percentage use case, it can go undetected, and result in incorrect information being returned. Instead, by ensuring that we fail fast, an `Error` is raised and hopefully GitHub Issue is put in. -## Then why isn't `Error` used in all templates? +### Then why isn't `Error` used in all templates? Initially the controls were not as strong, so many templates were put in until issues like the previous became an issue. @@ -52,6 +59,8 @@ The most likely reasons are: - Did not follow the Issue creation template. - Did not provide the data required to act upon the request. +- Did not provide the error that was created. +- Was actually a feature request that is not supported. - A prolonged time with no response. ## What is meant that this is a parsing project, not a data modeling project? diff --git a/docs/user/lib_use_case.md b/docs/user/lib_use_case.md new file mode 100644 index 0000000000..f244f7e7fe --- /dev/null +++ b/docs/user/lib_use_case.md @@ -0,0 +1,3 @@ +# Use Cases + +The primary use case is working with network infrastructure that is using CLI based data and converting that into structured data. However, this TextFSM framework is relevant to any text that you would want to convert to structured data. Things such as Linux, emails, or some structured report that you do not control. \ No newline at end of file From 8eb554c2f0f14da8c5427aa3d72335afb1b62a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Fri, 9 Dec 2022 03:00:03 +0100 Subject: [PATCH 327/412] Add Huawei VRP display interface template (#1202) --- .../huawei_vrp_display_interface.textfsm | 74 +++ ntc_templates/templates/index | 1 + .../huawei_vrp_display_interface.raw | 440 ++++++++++++++++++ .../huawei_vrp_display_interface.yml | 308 ++++++++++++ .../huawei_vrp_display_interface_dialer_1.raw | 23 + .../huawei_vrp_display_interface_dialer_1.yml | 36 ++ ..._vrp_display_interface_gigabitethernet.raw | 241 ++++++++++ ..._vrp_display_interface_gigabitethernet.yml | 104 +++++ 8 files changed, 1227 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_interface.textfsm create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw create mode 100644 tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml diff --git a/ntc_templates/templates/huawei_vrp_display_interface.textfsm b/ntc_templates/templates/huawei_vrp_display_interface.textfsm new file mode 100644 index 0000000000..05266b6db6 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_interface.textfsm @@ -0,0 +1,74 @@ +Value Required INTERFACE (\S*) +Value LINK_STATUS (.*) +Value PROTOCOL_STATUS (\S*|\S*\s+\(\w+\)) +Value INTERFACE_DESCRIPTION (.*) +Value PORT_TYPE (\S*) +Value PVID (\d+) +Value INTERNET_ADDRESS (\S*) +Value INTERNET_PROTOCOL (disabled|enabled) +Value HARDWARE_ADDRESS (\S{4}-\S{4}-\S{4}) +Value LAST_PHYSICAL_UP_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-) +Value LAST_PHYSICAL_DOWN_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-) +Value CURRENT_SYSTEM_TIME (\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}) +Value PORT_MODE ([\S\s]*) +Value SPEED (\d*) +Value LOOPBACK (\S*) +Value DUPLEX (HALF|FULL) +Value NEGOTIATION (DISABLE|ENABLE) + +Start + ^\S*\s+current\s+state\s+:.*$$ -> Continue.Record + ^${INTERFACE}\s+current\s+state\s+:\s+${LINK_STATUS}\s*$$ + ^Line\s+protocol\s+current\s+state\s+:\s+${PROTOCOL_STATUS}\s*$$ + ^Last\sline\sprotocol\sup\stime\s*:\s+(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|-)\s*$$ + ^Description:${INTERFACE_DESCRIPTION}\s*$$ + ^${PORT_TYPE}\s+Port(,\s+PVID\s+:\s*${PVID},)?.*$$ + ^Internet\s+Address\s+is\s+negotiated,\s+${INTERNET_ADDRESS}\s*$$ + ^Internet\s+Address\s+is\s+${INTERNET_ADDRESS}\s*$$ + ^.*,\s+Hardware\s+address\s+is\s+${HARDWARE_ADDRESS}\s*$$ + ^Internet\s+protocol\s+processing\s+:\s+${INTERNET_PROTOCOL}\s*$$ + ^Last\s+physical\s+up\s+time\s*:\s+${LAST_PHYSICAL_UP_TIME}\s* + ^Last\s+physical\s+down\s+time\s+:\s+${LAST_PHYSICAL_DOWN_TIME}\s* + ^IP\sSending\sFrames'\sFormat\sis\s\S+\s*,\sHardware\saddress\sis\s\S+\s*$$ + ^Current\s+system\s+time:\s+${CURRENT_SYSTEM_TIME}\s* + ^Modem\sState:\s+\S+\s*$$ + ^Model\s=\s+\S+\s*$$ + ^Current\sNetwork\sConnection\s=\sLTE\(LTE\)\s*$$ + ^Current\sNetwork\sConnection\s=\sUnknown\s*$$ + ^Current\sRSSI\s Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 59d6c6db8b..b15db59b51 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -488,6 +488,7 @@ huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, dis[[play]] tem[[peratur huawei_vrp_display_nat_server.textfsm, .*, huawei_vrp, dis[[play]] na[[t]] ser[[ver]] huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] +huawei_vrp_display_interface.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]]\s*((?!brief|counters|description).)*$ huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] huawei_vrp_display_acl_all.textfsm, .*, huawei_vrp, dis[[play]] acl(\si[[pv6]])? a[[ll]] huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw new file mode 100644 index 0000000000..b4cdf3b47c --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw @@ -0,0 +1,440 @@ +Cellular0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Cellular0/0/0 Interface +Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec) +Internet protocol processing : disabled +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:09 +Modem State: Present +Model = ME909s-120 +Current Network Connection = LTE(LTE) +Current RSSI = -75 dBm +Current SINR = -1 dB (weak) +Last 300 seconds input rate 0 bytes/sec 0 bits/sec 0 packets/sec +Last 300 seconds output rate 0 bytes/sec 0 bits/sec 0 packets/sec +Input: 0 packets, 0 bytes + Unicast: 0, Ununicast: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Ununicast: 0 + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +Dialer1 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, Dialer1 Interface +Route Port,The Maximum Transmit Unit is 1492, Hold timer is 10(sec) +Internet Address is negotiated, 192.214.198.156/32 +Link layer protocol is PPP +LCP initial +Physical is Dialer +Current system time: 2022-10-13 08:58:09 + Input bandwidth utilization : -- + Output bandwidth utilization : -- +Bound to Dialer1:0: +Dialer1:0 current state : UP , +Line protocol current state : UP + +Link layer protocol is PPP +LCP opened, IPCP opened, IP6CP opened +Packets statistics: + Input packets:396, 39552 bytes + Output packets:560, 41892 bytes + FCS error packets:0 + Address error packets:0 + Control field control error packets:0 + + +Ethernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Ethernet0/0/0 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601f +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:11 + +Port PHY type : VDSL +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec + +Input: 0 packets, 0 bytes + OAM Cells: 0, ASM Cells: 0 + Packet Errors: 0, Packet Discards: 0 + Cell Errors: 0 + +Output: 0 packets, 0 bytes + OAM Cells: 0, ASM Cells: 0 + Packet Errors: 0, Packet Discards: 0 + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 10, Loopback: NONE +Duplex: HALF, Negotiation: DISABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/1 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/1 Interface +Switch Port, PVID : 2, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/2 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface +Switch Port, PVID : 100, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:44:43 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: PHY +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 488 bits/sec, 0 packets/sec +Last 300 seconds output rate 488 bits/sec, 0 packets/sec +Input peak rate 592 bits/sec,Record time: 2022-10-13 06:18:16 +Output peak rate 592 bits/sec,Record time: 2022-10-13 06:18:16 + +Input: 31012 packets, 3690428 bytes + Unicast: 0, Multicast: 31012 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 31012 packets, 3690428 bytes + Unicast: 0, Multicast: 31012 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/3 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:12 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/4 current state : UP +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/4 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601d +Last physical up time : 2022-10-12 15:44:47 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:13 +Port Mode: AUTO COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 4816 bits/sec, 7 packets/sec +Last 300 seconds output rate 7656 bits/sec, 6 packets/sec +Input peak rate 32008 bits/sec,Record time: 2022-10-13 08:57:06 +Output peak rate 69384 bits/sec,Record time: 2022-10-13 08:57:06 + +Input: 108577 packets, 8303469 bytes + Unicast: 63802, Multicast: 32377 + Broadcast: 12398, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 59573 packets, 5607838 bytes + Unicast: 59572, Multicast: 0 + Broadcast: 1, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/5 current state : UP +Line protocol current state : DOWN +Description:VirtualPort +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601e +Last physical up time : 2022-10-12 15:44:46 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:13 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 36064 bits/sec, 13 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 121600 bits/sec,Record time: 2022-10-12 17:00:42 +Output peak rate 0 bits/sec,Record time: - + +Input: 8758 packets, 2960204 bytes + Unicast: 0, Multicast: 0 + Broadcast: 8758, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +NULL0 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, NULL0 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +Physical is NULL DEV +Current system time: 2022-10-13 08:58:13 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 80 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 80 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 bytes + Output:0 bytes + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif1 current state : UP +Line protocol current state : UP +Last line protocol up time : 2022-10-12 15:44:10 +Description:HUAWEI, AR Series, Vlanif1 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 192.168.1.1/24 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif2 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, Vlanif2 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 192.168.120.1/24 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Vlanif100 current state : UP +Line protocol current state : UP +Last line protocol up time : 2022-10-12 15:44:44 +Description:DMZ +Route Port,The Maximum Transmit Unit is 1500 +Internet Address is 100.95.15.241/30 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Current system time: 2022-10-13 08:58:13 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Bss1 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Bss1 Interface +Switch Port, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Physical is WLAN_BSS +Current system time: 2022-10-13 08:58:14 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Output:0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Bss7 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Bss7 Interface +Switch Port, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Physical is WLAN_BSS +Current system time: 2022-10-13 08:58:14 + Last 300 seconds input rate 0 bits/sec, 0 packets/sec + Last 300 seconds output rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec + Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec + Input: 0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Output:0 packets,0 bytes + 0 unicast,0 broadcast,0 multicast + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Radio0/0/0 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Radio0/0/0 Interface +Switch Port, TPID : 8100(Hex), The Maximum Transmit Unit is 1500 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:14 +Last 300 seconds input rate 0 bytes/sec, 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bytes/sec, 0 bits/sec, 0 packets/sec + +Input: 0 packets, 0 bytes + PhyErr: 0 , CRC: 0 + MIC: 0 + Error: 0 +Output: 0 packets, 0 bytes + Unicast: 0 , Broadcast: 0 + RtsSuccess: 0 , SendFail: 0 + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Wlan-Radio0/0/1 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, Wlan-Radio0/0/1 Interface +Switch Port, TPID : 8100(Hex), The Maximum Transmit Unit is 1500 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-12 15:44:44 +Last physical down time : 2022-10-12 15:43:36 +Current system time: 2022-10-13 08:58:14 +Last 300 seconds input rate 0 bytes/sec, 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bytes/sec, 0 bits/sec, 0 packets/sec + +Input: 0 packets, 0 bytes + PhyErr: 0 , CRC: 0 + MIC: 0 + Error: 0 +Output: 0 packets, 0 bytes + Unicast: 0 , Broadcast: 0 + RtsSuccess: 0 , SendFail: 0 + Input bandwidth utilization : -- + Output bandwidth utilization : -- diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml new file mode 100644 index 0000000000..8bcf11e052 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml @@ -0,0 +1,308 @@ +--- +parsed_sample: + - interface: "Cellular0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Cellular0/0/0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "disabled" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:09" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, Dialer1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.214.198.156/32" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:09" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1:0" + link_status: "UP ," + protocol_status: "UP" + interface_description: "" + port_type: "" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Ethernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Ethernet0/0/0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601f" + internet_protocol: "disabled" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:11" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "GigabitEthernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/0 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "10" + loopback: "NONE" + duplex: "HALF" + negotiation: "DISABLE" + - interface: "GigabitEthernet0/0/1" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/1 Interface" + port_type: "Switch" + pvid: "2" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/2" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface" + port_type: "Switch" + pvid: "100" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:44:43" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "PHY" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/3" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:12" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/4" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601d" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-12 15:44:47" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:13" + port_mode: "AUTO COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/5" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "VirtualPort" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601e" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-12 15:44:46" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:13" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "NULL0" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, NULL0 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "disabled" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Vlanif1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.168.1.1/24" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif2" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, Vlanif2 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.168.120.1/24" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Vlanif100" + link_status: "UP" + protocol_status: "UP" + interface_description: "DMZ" + port_type: "Route" + pvid: "" + internet_address: "100.95.15.241/30" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:13" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Bss1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Bss1 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Bss7" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Bss7 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Radio0/0/0" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Radio0/0/0 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Wlan-Radio0/0/1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, Wlan-Radio0/0/1 Interface" + port_type: "Switch" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-12 15:44:44" + last_physical_down_time: "2022-10-12 15:43:36" + current_system_time: "2022-10-13 08:58:14" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw new file mode 100644 index 0000000000..8a5137564e --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.raw @@ -0,0 +1,23 @@ +Dialer1 current state : UP +Line protocol current state : UP (spoofing) +Description:HUAWEI, AR Series, Dialer1 Interface +Route Port,The Maximum Transmit Unit is 1492, Hold timer is 10(sec) +Internet Address is negotiated, 192.214.198.156/32 +Link layer protocol is PPP +LCP initial +Physical is Dialer +Current system time: 2022-10-13 13:11:08 + Input bandwidth utilization : -- + Output bandwidth utilization : -- +Bound to Dialer1:0: +Dialer1:0 current state : UP , +Line protocol current state : UP + +Link layer protocol is PPP +LCP opened, IPCP opened, IP6CP opened +Packets statistics: + Input packets:86, 8592 bytes + Output packets:135, 10072 bytes + FCS error packets:0 + Address error packets:0 + Control field control error packets:0 diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml new file mode 100644 index 0000000000..56fc9d8ad9 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dialer_1.yml @@ -0,0 +1,36 @@ +--- +parsed_sample: + - interface: "Dialer1" + link_status: "UP" + protocol_status: "UP (spoofing)" + interface_description: "HUAWEI, AR Series, Dialer1 Interface" + port_type: "Route" + pvid: "" + internet_address: "192.214.198.156/32" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2022-10-13 13:11:08" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Dialer1:0" + link_status: "UP ," + protocol_status: "UP" + interface_description: "" + port_type: "" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw new file mode 100644 index 0000000000..68d043a8c7 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.raw @@ -0,0 +1,241 @@ +GigabitEthernet0/0/0 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:02 +Port Mode: COMMON COPPER +Speed : 10, Loopback: NONE +Duplex: FULL, Negotiation: DISABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/1 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/1 Interface +Switch Port, PVID : 2, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:04 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/2 current state : UP +Line protocol current state : UP +Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface +Switch Port, PVID : 100, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : 2022-10-13 09:37:04 +Last physical down time : 2022-10-13 09:37:03 +Current system time: 2022-10-13 13:12:05 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: PHY +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 488 bits/sec, 0 packets/sec +Last 300 seconds output rate 488 bits/sec, 0 packets/sec +Input peak rate 592 bits/sec,Record time: 2022-10-13 10:26:22 +Output peak rate 592 bits/sec,Record time: 2022-10-13 10:26:22 + +Input: 6460 packets, 768740 bytes + Unicast: 0, Multicast: 6460 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 6460 packets, 768740 bytes + Unicast: 0, Multicast: 6460 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/3 current state : DOWN +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9596 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601c +Last physical up time : - +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:06 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 0 bits/sec, 0 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 0 bits/sec,Record time: - +Output peak rate 0 bits/sec,Record time: - + +Input: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% + +GigabitEthernet0/0/4 current state : UP +Line protocol current state : DOWN +Description:HUAWEI, AR Series, GigabitEthernet0/0/4 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601d +Last physical up time : 2022-10-13 09:37:06 +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:07 +Port Mode: AUTO COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 2112 bits/sec, 3 packets/sec +Last 300 seconds output rate 1904 bits/sec, 2 packets/sec +Input peak rate 19400 bits/sec,Record time: 2022-10-13 12:55:33 +Output peak rate 63040 bits/sec,Record time: 2022-10-13 12:55:33 + +Input: 30464 packets, 2525068 bytes + Unicast: 21147, Multicast: 6738 + Broadcast: 2579, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 20762 packets, 2116014 bytes + Unicast: 20761, Multicast: 0 + Broadcast: 1, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0.01% + Output bandwidth utilization : 0.01% + +GigabitEthernet0/0/5 current state : UP +Line protocol current state : DOWN +Description:VirtualPort +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is fc73-fb9e-601e +Last physical up time : 2022-10-13 09:37:05 +Last physical down time : 2022-10-13 09:35:55 +Current system time: 2022-10-13 13:12:08 +Port Mode: COMMON COPPER +Speed : 1000, Loopback: NONE +Duplex: FULL, Negotiation: ENABLE +Mdi : AUTO, Clock : - +Last 300 seconds input rate 36064 bits/sec, 13 packets/sec +Last 300 seconds output rate 0 bits/sec, 0 packets/sec +Input peak rate 121600 bits/sec,Record time: 2022-10-13 10:50:03 +Output peak rate 0 bits/sec,Record time: - + +Input: 1832 packets, 619216 bytes + Unicast: 0, Multicast: 0 + Broadcast: 1832, Jumbo: - + Discard: 0, Total Error: 0 + + CRC: 0, Giants: 0 + Jabbers: 0, Throttles: 0 + Runts: 0, Symbols: 0 + Ignoreds: 0, Frames: 0 + +Output: 0 packets, 0 bytes + Unicast: 0, Multicast: 0 + Broadcast: 0, Jumbo: - + Discard: 0, Total Error: 0 + + Collisions: 0, ExcessiveCollisions: 0 + Late Collisions: 0, Deferreds: 0 + + Input bandwidth utilization threshold : 100.00% + Output bandwidth utilization threshold: 100.00% + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml new file mode 100644 index 0000000000..7e37980284 --- /dev/null +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface_gigabitethernet.yml @@ -0,0 +1,104 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/0" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/0 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:02" + port_mode: "COMMON COPPER" + speed: "10" + loopback: "NONE" + duplex: "FULL" + negotiation: "DISABLE" + - interface: "GigabitEthernet0/0/1" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/1 Interface" + port_type: "Switch" + pvid: "2" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:04" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/2" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface" + port_type: "Switch" + pvid: "100" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "2022-10-13 09:37:04" + last_physical_down_time: "2022-10-13 09:37:03" + current_system_time: "2022-10-13 13:12:05" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "PHY" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/3" + link_status: "DOWN" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "fc73-fb9e-601c" + internet_protocol: "" + last_physical_up_time: "-" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:06" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/4" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601d" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-13 09:37:06" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:07" + port_mode: "AUTO COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" + - interface: "GigabitEthernet0/0/5" + link_status: "UP" + protocol_status: "DOWN" + interface_description: "VirtualPort" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "fc73-fb9e-601e" + internet_protocol: "disabled" + last_physical_up_time: "2022-10-13 09:37:05" + last_physical_down_time: "2022-10-13 09:35:55" + current_system_time: "2022-10-13 13:12:08" + port_mode: "COMMON COPPER" + speed: "1000" + loopback: "NONE" + duplex: "FULL" + negotiation: "ENABLE" From 6d3f77d49114e907286606ad20683af7a384e4dc Mon Sep 17 00:00:00 2001 From: hagleyj Date: Wed, 14 Dec 2022 23:50:19 -0500 Subject: [PATCH 328/412] Add aruba_os show ap bss-table details (#1147) * fix for 1051 * aruba_os_show_ap_radio-database * aruba_os_show_ap_database_long * aruba_os show ap bss-table details --- ...aruba_os_show_ap_bss-table_details.textfsm | 36 +++++++ ntc_templates/templates/index | 1 + .../aruba_os_show_ap_bss-table_details.raw | 20 ++++ .../aruba_os_show_ap_bss-table_details.yml | 102 ++++++++++++++++++ 4 files changed, 159 insertions(+) create mode 100644 ntc_templates/templates/aruba_os_show_ap_bss-table_details.textfsm create mode 100644 tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.raw create mode 100644 tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.yml diff --git a/ntc_templates/templates/aruba_os_show_ap_bss-table_details.textfsm b/ntc_templates/templates/aruba_os_show_ap_bss-table_details.textfsm new file mode 100644 index 0000000000..2b152f5588 --- /dev/null +++ b/ntc_templates/templates/aruba_os_show_ap_bss-table_details.textfsm @@ -0,0 +1,36 @@ +Value BSS ([a-fA-F0-9]{2}(:[a-fA-F0-9]{2}){5}) +Value ESS (\S+(\s\S+){0,}) +Value PORT (\S+) +Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])) +Value BAND (\S+) +Value CHANNEL (\S+) +Value TYPE (\S+) +Value CUR_CL (\S+) +Value AP_NAME (\S+) +Value IN_T (\S+) +Value TOT_T (\S+) +Value MTU (\S+) +Value ACL_STATE (\S+) +Value ACL (\S+) +Value FM (\S+) +Value FLAGS (\S+) +Value CLUSTER (\S+) +Value ACTIVE_CLIENTS (\S+) +Value STANDBY_CLIENTS (\S+) +Value DATAZONE (\S+) + +Start + ^${BSS}\s+${ESS}\s+${PORT}\s+${IP_ADDRESS}\s+${BAND}\s+${CHANNEL}\s+${TYPE}\s+${CUR_CL}\s+${AP_NAME}\s+${IN_T}\s+${TOT_T}\s+${MTU}\s+${ACL_STATE}\s+${ACL}\s+${FM}\s+${FLAGS}\s+${CLUSTER}\s+${ACTIVE_CLIENTS}\s+${STANDBY_CLIENTS}\s+${DATAZONE}\s*$$ -> Record + ^Aruba AP + ^.+\.+ + ^bss + ^fm + ^\s*$$ + ^\s+ + ^cluster + ^Channel + ^"Spectrum" + ^Num + ^Flags + ^-+ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b15db59b51..c02c9c92d1 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -89,6 +89,7 @@ aruba_aoscx_show_bfd_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] bf[[d]] a[[ll-v aruba_aoscx_show_vsf_detail.textfsm , .*, aruba_aoscx, sh[[ow]] vsf d[[etail]] aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] +aruba_os_show_ap_bss-table_details.textfsm, .*, aruba_os, show ap bss-table details aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] aruba_os_show_ap_radio-database.textfsm, .*, aruba_os, show ap radio-database diff --git a/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.raw b/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.raw new file mode 100644 index 0000000000..c470546885 --- /dev/null +++ b/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.raw @@ -0,0 +1,20 @@ +fm (forward mode): T-Tunnel, S-Split, D-Decrypt Tunnel, B-Bridge (s-standard, p-persistent, b-backup, a-always), n-anyspot + +cluster (cluster role): U-UAC, A-AAC, sU-Standby UAC, sA-Standby AAC + +Aruba AP BSS Table +------------------ +bss ess port ip band/ht-mode/bandwidth ch/EIRP/max-EIRP type cur-cl ap name in-t(s) tot-t mtu acl-state acl fm flags cluster active-clients standby-clients datazone +--- --- ---- -- ---------------------- ---------------- ---- ------ ------- ------- ----- --- --------- --- -- ----- ------- -------------- --------------- -------- +aa:bb:cc:dd:ee:ff test1 N/A 192.168.1.2 5GHz/HE/40MHz 136-/19.0/27.1 ap 0 test1-ap 0 11h:0m:35s 1500 - 2 T KrT A 0 0 no +aa:bb:cc:dd:ee:fa test1 N/A 192.168.1.2 2.4GHz/HE/20MHz 6/9.0/26.9 ap 0 test1-ap 0 11h:1m:17s 1500 - 119 T KT A 0 0 no +aa:bb:cc:dd:ee:fb test1 N/A 192.168.1.2 6GHz/HE/160MHz 197S/16.0/24.3 ap 0 test1-ap 0 11h:0m:56s 1500 - 119 T KT A 0 0 no +aa:bb:cc:dd:ee:fc multi word ssid N/A 192.168.1.3 2.4GHz/HE/20MHz 6/9.0/26.9 ap 0 test2-ap 0 11h:0m:57s 1500 - 2 T KrT A 0 0 no +aa:bb:cc:dd:ee:fd test 2 N/A 192.168.1.3 5GHz/HE/40MHz 120-/19.0/28.7 ap 0 test2-ap 0 11h:1m:28s 1500 - 119 T KT A 0 0 no + +Channel followed by "*" indicates channel selected due to unsupported configured channel. +"Spectrum" followed by "^" indicates Local Spectrum Override in effect. + +fm (forward mode): T-Tunnel, S-Split, D-Decrypt Tunnel, B-Bridge (s-standard, p-persistent, b-backup, a-always), n-anyspot + +cluster (cluster role): U-UAC, A-AAC, sU-Standby UAC, sA-Standby AAC diff --git a/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.yml b/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.yml new file mode 100644 index 0000000000..fd56bc77ca --- /dev/null +++ b/tests/aruba_os/show_ap_bss-table_details/aruba_os_show_ap_bss-table_details.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - bss: "aa:bb:cc:dd:ee:ff" + ess: "test1" + port: "N/A" + ip_address: "192.168.1.2" + band: "5GHz/HE/40MHz" + channel: "136-/19.0/27.1" + type: "ap" + cur_cl: "0" + ap_name: "test1-ap" + in_t: "0" + tot_t: "11h:0m:35s" + mtu: "1500" + acl_state: "-" + acl: "2" + fm: "T" + flags: "KrT" + cluster: "A" + active_clients: "0" + standby_clients: "0" + datazone: "no" + - bss: "aa:bb:cc:dd:ee:fa" + ess: "test1" + port: "N/A" + ip_address: "192.168.1.2" + band: "2.4GHz/HE/20MHz" + channel: "6/9.0/26.9" + type: "ap" + cur_cl: "0" + ap_name: "test1-ap" + in_t: "0" + tot_t: "11h:1m:17s" + mtu: "1500" + acl_state: "-" + acl: "119" + fm: "T" + flags: "KT" + cluster: "A" + active_clients: "0" + standby_clients: "0" + datazone: "no" + - bss: "aa:bb:cc:dd:ee:fb" + ess: "test1" + port: "N/A" + ip_address: "192.168.1.2" + band: "6GHz/HE/160MHz" + channel: "197S/16.0/24.3" + type: "ap" + cur_cl: "0" + ap_name: "test1-ap" + in_t: "0" + tot_t: "11h:0m:56s" + mtu: "1500" + acl_state: "-" + acl: "119" + fm: "T" + flags: "KT" + cluster: "A" + active_clients: "0" + standby_clients: "0" + datazone: "no" + - bss: "aa:bb:cc:dd:ee:fc" + ess: "multi word ssid" + port: "N/A" + ip_address: "192.168.1.3" + band: "2.4GHz/HE/20MHz" + channel: "6/9.0/26.9" + type: "ap" + cur_cl: "0" + ap_name: "test2-ap" + in_t: "0" + tot_t: "11h:0m:57s" + mtu: "1500" + acl_state: "-" + acl: "2" + fm: "T" + flags: "KrT" + cluster: "A" + active_clients: "0" + standby_clients: "0" + datazone: "no" + - bss: "aa:bb:cc:dd:ee:fd" + ess: "test 2" + port: "N/A" + ip_address: "192.168.1.3" + band: "5GHz/HE/40MHz" + channel: "120-/19.0/28.7" + type: "ap" + cur_cl: "0" + ap_name: "test2-ap" + in_t: "0" + tot_t: "11h:1m:28s" + mtu: "1500" + acl_state: "-" + acl: "119" + fm: "T" + flags: "KT" + cluster: "A" + active_clients: "0" + standby_clients: "0" + datazone: "no" From 95409b1e6430c788f99667161bd9b90f8681f4b0 Mon Sep 17 00:00:00 2001 From: guillaume-mbali <77588596+guillaume-mbali@users.noreply.github.com> Date: Thu, 15 Dec 2022 18:55:15 +0100 Subject: [PATCH 329/412] fix(cisco): ipv6 neighbors template (#1230) --- .../templates/cisco_ios_show_ipv6_neighbors.textfsm | 4 ++-- .../show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw | 1 + .../show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm index a3a74650f1..b279ff67ff 100644 --- a/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm @@ -1,6 +1,6 @@ Value ADDRESS (\S+) -Value AGE (\d+) -Value MAC (\S+) +Value AGE (\d+|-) +Value MAC (\S+|-) Value TYPE (\S+) Value INTERFACE (\S+) diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw index aad1515b18..44c97cdfa7 100644 --- a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw +++ b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw @@ -8,3 +8,4 @@ FE80::5AAC:78FF:FEF8:CCCC 23 58ac.78f8.cccc STALE Vl6 FE80::7A0C:F0FF:FE8E:2FF4 103 780c.f08e.2ff4 STALE Vl6 FE80::7EAD:74FF:FE85:B86 22 7cad.7485.0c16 STALE Vl6 FE80::208:E3FF:FEFF:FC28 0 0008.e3ff.fc28 REACH Vl687 +FE80::9277:EEFF:FE9B:4E00 - - REACH Di0 diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml index eb6e43f2f7..4293a4235f 100644 --- a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml +++ b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml @@ -45,3 +45,8 @@ parsed_sample: interface: "Vl687" mac: "0008.e3ff.fc28" type: "REACH" + - address: "FE80::9277:EEFF:FE9B:4E00" + age: "-" + interface: "Di0" + mac: "-" + type: "REACH" From aa8b17d1d3bdc4846b6aacfd50b50493439162fe Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 17 Dec 2022 10:54:05 -0500 Subject: [PATCH 330/412] Minor doc update (#1244) * Minor doc update --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index ab8ec55be3..3e68ef9032 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,6 +6,7 @@ about: Report a reproducible bug in the current release of ntc-templates NOTE: The following are not considered and will be immediately closed: * Request for new templates. * Request for adding data captured in an existing template. +* Request for help with building a TextFSM template, please use the #networktocode channel, on [Slack](http://slack.networktocode.com/). * Request for Template issues without both the included error and raw data. * Feature Requests in the form of a Bug. * ISSUES raised without following instructions. From 1358b6b7859db075a891fa7f7dcabc224273573a Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 17 Dec 2022 13:01:54 -0500 Subject: [PATCH 331/412] =?UTF-8?q?Create=20xr=20show=20controllers=20hund?= =?UTF-8?q?red=20gig=20all,=20add=20test=20files=20for=20show=20c=E2=80=A6?= =?UTF-8?q?=20(#1245)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...r_show_controllers_hundredgige_all.textfsm | 165 + ntc_templates/templates/index | 1 + .../cisco_xr_show_controllers_all_phy3.raw | 886 +++ .../cisco_xr_show_controllers_all_phy3.yml | 1124 ++++ ...co_xr_show_controllers_hundredgige_all.raw | 4759 +++++++++++++++++ ...co_xr_show_controllers_hundredgige_all.yml | 1858 +++++++ 6 files changed, 8793 insertions(+) create mode 100644 ntc_templates/templates/cisco_xr_show_controllers_hundredgige_all.textfsm create mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.raw create mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.yml create mode 100644 tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.raw create mode 100644 tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.yml diff --git a/ntc_templates/templates/cisco_xr_show_controllers_hundredgige_all.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_hundredgige_all.textfsm new file mode 100644 index 0000000000..de6e8d501f --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_controllers_hundredgige_all.textfsm @@ -0,0 +1,165 @@ +Value Filldown INTERFACE (\S+) +Value Filldown ADMIN_STATE (\S+) +Value Filldown OPS_STATE (\S+) +Value Filldown VENDOR (\S+) +Value Filldown PART_NUM (\S+) +Value Filldown SERIAL_NUM (\S+) +Value LED_STATE (.*) +Value MEDIA_TYPE (.*) +Value TEMPERATURE_VALUE (\S+) +Value VOLTAGE_VALUE (\S+) +Value DOM_ALARMS (.*) +Value LANE (\d+) +Value WAVELENGTH (\S+) +Value RX_VALUE_DBM (\S+) +Value RX_VALUE_MW (\S+) +Value TX_VALUE_DBM (\S+) +Value TX_VALUE_MW (\S+) +Value LASER_BIAS (\S+) +Value TEMPERATURE_ALARM_HIGH (\S+) +Value TEMPERATURE_ALARM_LOW (\S+) +Value TEMPERATURE_WARN_HIGH (\S+) +Value TEMPERATURE_WARN_LOW (\S+) +Value VOLTAGE_ALARM_HIGH (\S+) +Value VOLTAGE_ALARM_LOW (\S+) +Value VOLTAGE_WARN_HIGH (\S+) +Value VOLTAGE_WARN_LOW (\S+) +Value AMPS_ALARM_HIGH (\S+) +Value AMPS_ALARM_LOW (\S+) +Value AMPS_WARN_HIGH (\S+) +Value AMPS_WARN_LOW (\S+) +Value RX_ALARM_MW_HIGH (\S+) +Value RX_ALARM_MW_LOW (\S+) +Value RX_WARN_MW_HIGH (\S+) +Value RX_WARN_MW_LOW (\S+) +Value TX_ALARM_MW_HIGH (\S+) +Value TX_ALARM_MW_LOW (\S+) +Value TX_WARN_MW_HIGH (\S+) +Value TX_WARN_MW_LOW (\S+) +Value RX_ALARM_DBM_HIGH (\S+) +Value RX_ALARM_DBM_LOW (\S+) +Value RX_WARN_DBM_HIGH (\S+) +Value RX_WARN_DBM_LOW (\S+) +Value TX_ALARM_DBM_HIGH (\S+) +Value TX_ALARM_DBM_LOW (\S+) +Value TX_WARN_DBM_HIGH (\S+) +Value TX_WARN_DBM_LOW (\S+) +Value FEC_CORRECTED (\d+) +Value FEC_UNCORRECTED (\d+) +Value MAC_OPS_ADD (\S+) +Value MAC_BIA_ADD (\S+) +Value AUTONEGOTIATION (\S+) +Value SPEED (\S+) +Value DUPLEX (.*) +Value FLOW_CONTROL (\S+) +Value LOOPBACK (.*) +Value MTU (\d+) +Value MRU (\d+) +Value FEC (\S+) + +Start + ^Operational\s+data\s+for\s+interface\s+${INTERFACE}: -> StateChanger + +StateChanger + ^State: -> State + ^Phy: -> Phy + ^\s+Alarm.+Alarm -> AlarmHeader + ^\s+Statistics: -> Stats + ^Lane -> Lanes + ^MAC\s+address\s+information: -> MacInfo + ^Operational\s+data\s+for\s+interface\s+${INTERFACE}: + ^Operational\s+values: -> OpsValues + ^Autonegotiation\s+disabled.* + ^Management\s+information\s+for\s+interface -> Ender + ^$$ + ^\s+$$ + ^.* -> Error "LINE NOT FOUND" + +State + ^\s+Administrative\s+state:\s+${ADMIN_STATE} + ^\s+Operational\s+state:\s+${OPS_STATE} + ^\s+LED\s+state:\s+${LED_STATE} + ^Autonegotiation\s+${AUTONEGOTIATION} + ^\s+$$ -> Record StateChanger + ^$$ -> Record StateChanger + ^.* -> Error "LINE NOT FOUND" + +Phy + ^\s+Media\s+type:\s+${MEDIA_TYPE} + ^\s+Optics: + ^\s+Vendor:\s+${VENDOR} + ^\s+Part\s+number:\s+${PART_NUM} + ^\s+Serial\s+number:\s+${SERIAL_NUM} + ^\s+Wavelength:\s+${WAVELENGTH}\s+nm + ^\s+Digital\s+Optical\s+Monitoring: + ^\s+Transceiver\s+Temp:\s+${TEMPERATURE_VALUE} + ^\s+Transceiver\s+Voltage:\s+${VOLTAGE_VALUE}\s+V + ^\s+Alarms.*high + ^\s+\(L\).+low + ^\s+Wavelength.+Bias + ^\s+Lane.+\(mA\) -> Record + ^\s+$$ + ^$$ -> Record StateChanger + ^.* -> Error "LINE NOT FOUND" + +Lanes + ^\s+${LANE}\s+${WAVELENGTH}\s+${TX_VALUE_DBM}\s+${TX_VALUE_MW}\s+${RX_VALUE_DBM}\s+${RX_VALUE_MW}\s+${LASER_BIAS} -> Record + ^\s+DOM\s+alarms: -> Dom + ^\s*$$ -> StateChanger + ^.* -> Error "LINE NOT FOUND" + +Dom + ^\s+${DOM_ALARMS} -> Record + ^\s*$$ -> StateChanger + ^.* -> Error "LINE NOT FOUND" + +AlarmHeader + ^\s+Thresholds.+Low\s+Low + ^\s+--.+-- -> AlarmThresholds + ^.* -> Error "LINE NOT FOUND" + +AlarmThresholds + ^\s+Transceiver\s+Temp\s+\(C\):\s+${TEMPERATURE_ALARM_HIGH}\s+${TEMPERATURE_WARN_HIGH}\s+${TEMPERATURE_WARN_LOW}\s+${TEMPERATURE_ALARM_LOW} + ^\s+Transceiver\s+Voltage\s+\(V\):\s+${VOLTAGE_ALARM_HIGH}\s+${VOLTAGE_WARN_HIGH}\s+${VOLTAGE_WARN_LOW}\s+${VOLTAGE_ALARM_LOW} + ^\s+Laser\s+Bias\s+\(mA\):\s+${AMPS_ALARM_HIGH}\s+${AMPS_WARN_HIGH}\s+${AMPS_WARN_LOW}\s+${AMPS_ALARM_LOW} + ^\s+Transmit\s+Power\s+\(mW\):\s+${TX_ALARM_MW_HIGH}\s+${TX_WARN_MW_HIGH}\s+${TX_WARN_MW_LOW}\s+${TX_ALARM_MW_LOW} + ^\s+Transmit\s+Power\s+\(dBm\):\s+${TX_ALARM_DBM_HIGH}\s+${TX_WARN_DBM_HIGH}\s+${TX_WARN_DBM_LOW}\s+${TX_ALARM_DBM_LOW} + ^\s+Receive\s+Power\s+\(mW\):\s+${RX_ALARM_MW_HIGH}\s+${RX_WARN_MW_HIGH}\s+${RX_WARN_MW_LOW}\s+${RX_ALARM_MW_LOW} + ^\s+Receive\s+Power\s+\(dBm\):\s+${RX_ALARM_DBM_HIGH}\s+${RX_WARN_DBM_HIGH}\s+${RX_WARN_DBM_LOW}\s+${RX_ALARM_DBM_LOW} -> Record StateChanger + ^.* -> Error "LINE NOT FOUND" + +Stats + ^\s+FEC: + ^\s+Corrected\s+Codeword\s+Count:\s+${FEC_CORRECTED} + ^\s+Uncorrected\s+Codeword\s+Count:\s+${FEC_UNCORRECTED} -> Record + ^\s+$$ -> StateChanger + ^.* -> Error "LINE NOT FOUND" + +MacInfo + ^\s+Operational\s+address:\s+${MAC_OPS_ADD} + ^\s+Burnt-in\s+address:\s+${MAC_BIA_ADD} + ^\s+No\s+unicast.* + ^\s+Operating\s+in.* + ^\s+$$ -> Record StateChanger + ^$$ -> Record StateChanger + ^.* -> Error "LINE NOT FOUND" + +OpsValues + ^\s+Speed:\s+${SPEED} + ^\s+Duplex:\s+${DUPLEX} + ^\s+Flowcontrol:\s+${FLOW_CONTROL} + ^\s+Loopback:\s+${LOOPBACK} + ^\s+MTU:\s+${MTU} + ^\s+MRU:\s+${MRU} + ^\s+Forward\s+error\s+correction:\s+${FEC} + ^\s+Inter\-pack.* + ^\s+BER\s+monitoring:.* + ^\s+Signal.* + ^\s+$$ -> Record StateChanger + ^$$ -> Record StateChanger + ^.* -> Error "LINE NOT FOUND" + +Ender + ^.* + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index c02c9c92d1..986995fd22 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -394,6 +394,7 @@ cisco_xr_show_platform_summary_location_all.textfsm, .*, cisco_xr, sh[[ow]] plat cisco_xr_show_ipv4_vrf_all_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ipv4 vrf (\S+) int[[erface]] br[[ief]] cisco_xr_show_ospf_vrf_all_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ospf vrf (\S+) int[[erface]] brief cisco_xr_show_controller_fabric_plane_all.textfsm, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all +cisco_xr_show_controllers_hundredgige_all.textfsm, .*, cisco_xr, sh[[ow]] controllers hund[[redgige]] all cisco_xr_show_configuration_commit_list.textfsm, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_asic-errors_all_location.textfsm, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] cisco_xr_show_bgp_instance_all_summary.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] ins[[tance]] (\S+) sum[[mary]] diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.raw b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.raw new file mode 100644 index 0000000000..81cd3007aa --- /dev/null +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.raw @@ -0,0 +1,886 @@ +PHY data for interface: FortyGigE0/2/0/0 + +QSFP EEPROM port: 0 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS182100SW + Date Code (yy/mm/dd): 14/05/22 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 1a f1 : 00 00 80 b9 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 32 31 30 30 53 57 20 +0x00d0: 20 20 20 20 31 34 30 35 : 32 32 20 20 0a 00 00 ad +0x00e0: 02 00 02 18 fc 00 42 ea : a8 b4 d7 83 d5 06 4a 8c +0x00f0: 1f d4 8a 00 00 00 00 00 : 00 00 00 00 9c aa 4c 0a + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +26.941 C + Voltage: 3.295 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/2/0/1 + +QSFP EEPROM port: 1 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS182100TM + Date Code (yy/mm/dd): 14/05/22 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 17 ee : 00 00 80 8b 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 32 31 30 30 54 4d 20 +0x00d0: 20 20 20 20 31 34 30 35 : 32 32 20 20 0a 00 00 a4 +0x00e0: 02 00 02 c3 18 74 7b eb : 17 37 8f 22 97 71 28 75 +0x00f0: 69 8a d1 00 00 00 00 00 : 00 00 00 00 ab d2 42 97 + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +23.929 C + Voltage: 3.291 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/2/1/0 + +QSFP EEPROM port: 0 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS182100RS + Date Code (yy/mm/dd): 14/05/22 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 15 9e : 00 00 80 9a 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 32 31 30 30 52 53 20 +0x00d0: 20 20 20 20 31 34 30 35 : 32 32 20 20 0a 00 00 a8 +0x00e0: 02 00 02 11 82 df 8e 0b : d7 32 5c c8 f1 64 b4 00 +0x00f0: ec 78 62 00 00 00 00 00 : 00 00 00 00 47 78 f0 c3 + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +21.617 C + Voltage: 3.292 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/2/1/1 + +QSFP EEPROM port: 1 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS182100TD + Date Code (yy/mm/dd): 14/05/22 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 16 ab : 00 00 80 97 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 32 31 30 30 54 44 20 +0x00d0: 20 20 20 20 31 34 30 35 : 32 32 20 20 0a 00 00 9b +0x00e0: 02 00 02 87 d7 b8 e2 ac : a3 56 d5 73 1b ac 65 80 +0x00f0: 01 29 ec 00 00 00 00 00 : 00 00 00 00 1b 22 cd 41 + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +22.667 C + Voltage: 3.292 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/3/0/0 + +QSFP EEPROM port: 0 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS181202M9 + Date Code (yy/mm/dd): 14/03/21 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 17 d3 : 00 00 80 8f 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 31 32 30 32 4d 39 20 +0x00d0: 20 20 20 20 31 34 30 33 : 32 31 20 20 0a 00 00 88 +0x00e0: 02 00 02 f9 5c 7e 18 71 : 9d 89 93 7a aa 1b fa c2 +0x00f0: cc f7 e2 00 00 00 00 00 : 00 00 00 00 23 60 0a 2f + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +23.824 C + Voltage: 3.291 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/3/0/1 + +QSFP EEPROM port: 1 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS181202NT + Date Code (yy/mm/dd): 14/03/21 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 17 e7 : 00 00 80 ad 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 31 32 30 32 4e 54 20 +0x00d0: 20 20 20 20 31 34 30 33 : 32 31 20 20 0a 00 00 a4 +0x00e0: 02 00 02 ca 6f b2 ce f9 : a2 93 c7 3b cd e3 cf d6 +0x00f0: 50 d4 c1 00 00 00 00 00 : 00 00 00 00 83 ad 56 0b + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +23.902 C + Voltage: 3.294 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/3/1/0 + +QSFP EEPROM port: 0 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS181202MB + Date Code (yy/mm/dd): 14/03/21 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 15 71 : 00 00 80 78 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 31 32 30 32 4d 42 20 +0x00d0: 20 20 20 20 31 34 30 33 : 32 31 20 20 0a 00 00 91 +0x00e0: 02 00 02 ff ee 8f 08 7a : 4d 65 ab da 8b 60 1f 38 +0x00f0: 25 7e 9d 00 00 00 00 00 : 00 00 00 00 da df ae 7b + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +21.441 C + Voltage: 3.289 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/3/1/1 + +QSFP EEPROM port: 1 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: B ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS181202NL + Date Code (yy/mm/dd): 14/03/21 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 13 fd : 00 00 80 97 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 42 20 42 68 07 d0 46 5f +0x00c0: 00 01 04 d8 46 49 53 31 : 38 31 32 30 32 4e 4c 20 +0x00d0: 20 20 20 20 31 34 30 33 : 32 31 20 20 0a 00 00 9c +0x00e0: 02 00 02 5a d6 e7 a7 16 : cf 23 1d f8 07 c8 3c 20 +0x00f0: a8 b9 1b 00 00 00 00 00 : 00 00 00 00 84 c8 02 4b + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 31 32 : 00 99 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +19.988 C + Voltage: 3.292 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/4/0/0 + +QSFP EEPROM port: 0 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: C ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS192101N0 + Date Code (yy/mm/dd): 15/05/19 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 1d fc : 00 00 80 bd 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 43 20 42 68 07 d0 46 60 +0x00c0: 00 01 04 d8 46 49 53 31 : 39 32 31 30 31 4e 30 20 +0x00d0: 20 20 20 20 31 35 30 35 : 31 39 20 20 0a 00 00 8a +0x00e0: 00 00 02 b2 52 4a f5 92 : 48 9a ed 09 2b f0 b3 95 +0x00f0: d1 76 ad 00 00 00 00 00 : 00 00 00 00 61 0e be 08 + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 32 30 : 00 98 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +29.984 C + Voltage: 3.296 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/4/0/1 + +QSFP EEPROM port: 1 + Xcvr Type: QSFP+ + Ext Type: 1.5W, CLEI, + Connector Type: MPO + Ethernet Compliance Codes: 40GBASE-SR4, + Encoding: 64B66B, + BR, nominal: 10300 Mbps + Length SMF: 0KM, OM3: 100M, OM2: 30M, OM1: 0M, Copper: 0M + Device Tech: 850 nm VCSEL, No wavelength control, Uncooled transmitter device, Pin detector, Transmitter not tunable, + Vendor Name: CISCO + Vendor OUI: 00.90.65 + Vendor Part Number: FTL410QE2C-C1 (rev.: C ) + Wavelength: 850.030 nm + Wavelength Tolerance: 10.030 nm + Vendor Serial Number: FIS192301B8 + Date Code (yy/mm/dd): 15/06/02 lot code: + Diagnostic Monitoring Type: Average Power, + Enhanced Options: No Rate Selection, No Application Select, + Extended Module Codes: + Options: RX op amp prog, Rx Op Dis cap, Page 02, Page 01, Tx_Disable, Tx_Fault, OMA, + L-Tx/Rx LOS: + L-Tx Fault: + Module DDM: Voltage, Temperature, +MSA Data (Lower Memory) +0x0000: 0d 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0010: 00 00 00 00 00 00 1a 15 : 00 00 80 cc 00 00 00 00 +0x0020: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0030: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0040: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0050: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0060: 00 00 00 00 00 00 00 f0 : f0 00 18 00 00 00 00 00 +0x0070: 00 00 00 00 00 00 00 ff : ff ff ff ff ff ff ff 03 + + +MSA Data (Upper Memory Page 00) +0x0080: 0d 10 0c 04 00 00 00 00 : 00 00 00 05 67 00 00 32 +0x0090: 1e 00 00 00 43 49 53 43 : 4f 20 20 20 20 20 20 20 +0x00a0: 20 20 20 20 00 00 90 65 : 46 54 4c 34 31 30 51 45 +0x00b0: 32 43 2d 43 31 20 20 20 : 43 20 42 68 07 d0 46 60 +0x00c0: 00 01 04 d8 46 49 53 31 : 39 32 33 30 31 42 38 20 +0x00d0: 20 20 20 20 31 35 30 36 : 30 32 20 20 0a 00 00 81 +0x00e0: 00 00 02 a5 07 46 7f fd : 45 5f e2 e6 66 de 79 32 +0x00f0: c3 e5 19 00 00 00 00 00 : 00 00 00 00 91 43 cf 65 + + CLEI Code: COUIA9JCAB + Part Number: 10-2672-02 (ver.: V02 ) + Product Id: QSFP-40G-SR4 +MSA Data (Upper Memory Page 02) +0x0100: 43 4f 55 49 41 39 4a 43 : 41 42 31 30 2d 32 36 37 +0x0110: 32 2d 30 32 56 30 32 20 : 01 00 00 00 00 00 00 00 +0x0120: 00 81 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x0140: 51 53 46 50 2d 34 30 47 : 2d 53 52 34 20 20 20 20 +0x0150: 20 20 20 20 00 00 00 00 : 00 00 00 00 00 00 00 18 +0x0160: 36 34 31 33 34 34 32 30 : 00 98 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 + + Module + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.100 Volt 2.970 Volt + + Temperature: +26.082 C + Voltage: 3.297 Volt + + Lanes + Thresholds: Alarm High Warning High Warning Low Alarm Low + Bias: 0.000 mAmps 0.000 mAmps 0.000 mAmps 0.000 mAmps + Transmit Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + Receive Power: 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + + Lane Temp Bias Tx Power Rx Power + 0 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 1 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 2 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) + 3 N/A 0.000 mAmps 0.000 mW (<-40.00 dBm) 0.000 mW (<-40.00 dBm) +MSA Data (Upper Memory Page 03) +0x0180: 4b 00 fb 00 46 00 00 00 : 00 00 00 00 00 00 00 00 +0x0190: 8d cc 74 04 87 5a 79 18 : 00 00 00 00 00 00 00 00 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01c0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01d0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 33 33 +0x01f0: 00 00 ff ff ff ff ff ff : 00 00 00 00 00 00 00 00 + +PHY data for interface: FortyGigE0/4/1/0 +QSFP #0 is not present. + +PHY data for interface: FortyGigE0/4/1/1 +QSFP #1 is not present. + diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.yml b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.yml new file mode 100644 index 0000000000..95bac41b6d --- /dev/null +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy3.yml @@ -0,0 +1,1124 @@ +--- +parsed_sample: + - interface: "FortyGigE0/2/0/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+26.941" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.295" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/2/0/0" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/0" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/0" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/0" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+23.929" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.291" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/2/0/1" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/1" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/1" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/0/1" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+21.617" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.292" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/2/1/0" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/0" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/0" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/0" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+22.667" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.292" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/2/1/1" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/1" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/1" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/2/1/1" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+23.824" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.291" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/3/0/0" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/0" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/0" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/0" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+23.902" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.294" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/3/0/1" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/1" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/1" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/0/1" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+21.441" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.289" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/3/1/0" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/0" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/0" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/0" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+19.988" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.292" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/3/1/1" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/1" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/1" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/3/1/1" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+29.984" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.296" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/4/0/0" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/0" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/0" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/0" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+26.082" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.297" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/4/0/1" + lane: "0" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/1" + lane: "1" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/1" + lane: "2" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/0/1" + lane: "3" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "<-40.00" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "<-40.00" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/4/1/1" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" diff --git a/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.raw b/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.raw new file mode 100644 index 0000000000..dfccf4cbf2 --- /dev/null +++ b/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.raw @@ -0,0 +1,4759 @@ +Operational data for interface HundredGigE0/0/0/0: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19122017 + +MAC address information: + Operational address: 54a2.741c.3b29 + Burnt-in address: 54a2.741c.3b29 + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/0/0/1: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19092109 + +MAC address information: + Operational address: 54a2.741c.3b2a + Burnt-in address: 54a2.741c.3b2a + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/0/0/2: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19122019 + +MAC address information: + Operational address: 54a2.741c.3b2b + Burnt-in address: 54a2.741c.3b2b + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/0/0/3: + +State: + Administrative state: disabled + Operational state: Down (Reason: Link loss or low light, no loopback) + LED state: Yellow On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19122030 + +MAC address information: + Operational address: 54a2.741c.3b2c + Burnt-in address: 54a2.741c.3b2c + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 1514 + MRU: 1514 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/4/0/0: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19092110 + +MAC address information: + Operational address: 54a2.741c.3c5d + Burnt-in address: 54a2.741c.3c5d + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/4/0/1: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19092111 + +MAC address information: + Operational address: 54a2.741c.3c5e + Burnt-in address: 54a2.741c.3c5e + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/4/0/2: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19122025 + +MAC address information: + Operational address: 54a2.741c.3c5f + Burnt-in address: 54a2.741c.3c5f + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9216 + MRU: 9216 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Operational data for interface HundredGigE0/4/0/3: + +State: + Administrative state: disabled + Operational state: Down (Reason: Link loss or low light, no loopback) + LED state: Yellow On + +Phy: + Media type: MMF fiber over 10 lane optics (short reach) + Optics: + Vendor: CISCO + Part number: 800-41495-01 + Serial number: FBN19122022 + +MAC address information: + Operational address: 54a2.741c.3c60 + Burnt-in address: 54a2.741c.3c60 + No unicast addresses in filter + Operating in multicast promiscuous mode + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 1514 + MRU: 1514 + Inter-packet gap: standard (12) + BER monitoring: + Signal Degrade: 10e-6 (no-alarm) + Signal Fail: 10e-4 (report-alarm) + + +Management information for interface HundredGigE0/0/0/0: + +Port number: 0 +Bay number: 0 +Interface handle: 0x10800a0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3b29 + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/0/0/1: + +Port number: 1 +Bay number: 0 +Interface handle: 0x10800c0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3b2a + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/0/0/2: + +Port number: 2 +Bay number: 0 +Interface handle: 0x10800e0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3b2b + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/0/0/3: + +Port number: 3 +Bay number: 0 +Interface handle: 0x1080100 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): Not configured + Carrier delay (down): Not configured + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: Not configured + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 1514 bytes + Burnt-in MAC address: 54a2.741c.3b2c + +Operational carrier delay: + Carrier delay (up): 0 ms + Carrier delay (down): 0 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is disabled, due to an admin down condition. + +Complete FSM state: + Admin down + Client admin up + Client admin tx not disabled + Port disabled + Port tx disabled + Hardware link down +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/4/0/0: + +Port number: 0 +Bay number: 0 +Interface handle: 0x14800a0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3c5d + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/4/0/1: + +Port number: 1 +Bay number: 0 +Interface handle: 0x14800c0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3c5e + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/4/0/2: + +Port number: 2 +Bay number: 0 +Interface handle: 0x14800e0 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: 9216 bytes + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 9216 bytes + Burnt-in MAC address: 54a2.741c.3c5f + +Operational carrier delay: + Carrier delay (up): 9000 ms + Carrier delay (down): 50 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is enabled, link is up + +Complete FSM state: + Admin up + Client admin up + Client admin tx not disabled + Port enabled + Port tx enabled + Hardware link up +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + +Management information for interface HundredGigE0/4/0/3: + +Port number: 3 +Bay number: 0 +Interface handle: 0x1480100 + +Config: + Auto-negotiation: Configuration not supported (Off) + Carrier delay (up): Not configured + Carrier delay (down): Not configured + Speed: Configuration not supported (100Gbps) + Duplex: Configuration not supported (Full Duplex) + Flow Control: Not configured (None) + IPG: Configuration not supported (standard (12)) + Loopback: Not configured (None) + MTU: Not configured + Bandwidth: Not configured + BER-SD Threshold: Not configured (10e-6) + BER-SD Report: Not configured (Disabled) + BER-SF Threshold: Not configured (10e-4) + BER-SF Report: Not configured (Enabled) + BER-SF Signal Remote Failure: Not configured (Disabled) + +Driver constraints: + Min MTU: 64 bytes + Max MTU: 9600 bytes + Max speed: 100Gbps + Interface type: HundredGigE + Management interface: No + Promiscuous mode: Yes + Default carrier delay up (auto-neg on): 0 ms + Default carrier delay down (auto-neg on): 0 ms + Default carrier delay up (auto-neg off): 0 ms + Default carrier delay down (auto-neg off): 0 ms + Allowed config mask: 0xe6b + BER: + SD (min - max): (10e-3 - 10e-12) + SD default: 10e-6 + SF (min - max): (10e-4 - 10e-12) + SF default: 10e-4 + +Cached driver state: + MTU: 1514 bytes + Burnt-in MAC address: 54a2.741c.3c60 + +Operational carrier delay: + Carrier delay (up): 0 ms + Carrier delay (down): 0 ms + +Not a member of a bundle interface. + +Satellite uplink settings: + Not in satellite uplink (ICL) mode. + +Port FSM state: + Port is disabled, due to an admin down condition. + +Complete FSM state: + Admin down + Client admin up + Client admin tx not disabled + Port disabled + Port tx disabled + Hardware link down +IDB interface state information: + IDB client admin up + IDB client tx admin up + IDB error disable not set + +0 Unicast MAC Addresses: + +0 Multicast MAC Addresses: + + + +Operational address: 54a2.741c.3b29 +Burnt-in address: 54a2.741c.3b29 +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 1 VLAN + 0 0 ARPA 1 ARPA + + + +Operational address: 54a2.741c.3b2a +Burnt-in address: 54a2.741c.3b2a +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 2 VLAN + 0 0 ARPA 2 ARPA + + + +Operational address: 54a2.741c.3b2b +Burnt-in address: 54a2.741c.3b2b +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 1 VLAN + 0 0 ARPA 1 ARPA + + + +Operational address: 54a2.741c.3b2c +Burnt-in address: 54a2.741c.3b2c +Administrative state: Forced Local fault +Operational state: Local fault + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 2 VLAN + 0 0 ARPA 2 ARPA + + + +Operational address: 54a2.741c.3c5d +Burnt-in address: 54a2.741c.3c5d +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 1 VLAN + 0 0 ARPA 1 ARPA + + + +Operational address: 54a2.741c.3c5e +Burnt-in address: 54a2.741c.3c5e +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 2 VLAN + 0 0 ARPA 2 ARPA + + + +Operational address: 54a2.741c.3c5f +Burnt-in address: 54a2.741c.3c5f +Administrative state: Up +Operational state: Up + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 1 VLAN + 0 0 ARPA 1 ARPA + + + +Operational address: 54a2.741c.3c60 +Burnt-in address: 54a2.741c.3c60 +Administrative state: Forced Local fault +Operational state: Local fault + +0 HSRP/VRRP MAC addresses + +VLAN Ethertype: 0x8100 +QinQ Ethertype: 0x88a8 +MTP Ethertype: 0x88e7 + +2 VLAN UIDB entries +VLAN1 VLAN2 Packet Type Flags UIDB Result Flags + 0 0 VLAN 2 VLAN + 0 0 ARPA 2 ARPA + + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 0 t100 inst 0 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 1 t100 inst 1 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 2 t100 inst 2 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 3 t100 inst 3 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 0 t100 inst 0 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 1 t100 inst 1 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 2 t100 inst 2 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + +PLIM type 0x28 ports=4 +PLIM shared mem: hw_init 0x1 ctx version 0x1 +Port 3 t100 inst 3 otn_cfg 0 t100 otn 0 + cpak init flag 0x66666666 + cpak pending oir count 0 + optics info valid 1 + optics type 0x83 + xcvr type 0xf7 + xcvr str 100GBASE-SR10 +Maximum CPAK power class supported: 3 +Maximum CPAK power consumption supported: 8000 mW + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19122017 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/20 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19122017 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.3040 V + Temperature : 27.8658 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5442 mW ( -2.6 dBm) + Lane 1 Tx power: 0.5721 mW ( -2.4 dBm) + Lane 2 Tx power: 0.5250 mW ( -2.8 dBm) + Lane 3 Tx power: 0.5631 mW ( -2.5 dBm) + Lane 4 Tx power: 0.5583 mW ( -2.5 dBm) + Lane 5 Tx power: 0.6094 mW ( -2.2 dBm) + Lane 6 Tx power: 0.5844 mW ( -2.3 dBm) + Lane 7 Tx power: 0.5921 mW ( -2.3 dBm) + Lane 8 Tx power: 0.5863 mW ( -2.3 dBm) + Lane 9 Tx power: 0.6094 mW ( -2.2 dBm) + + Lane 0 Rx power: 0.5664 mW ( -2.5 dBm) + Lane 1 Rx power: 0.5791 mW ( -2.4 dBm) + Lane 2 Rx power: 0.5990 mW ( -2.2 dBm) + Lane 3 Rx power: 0.5472 mW ( -2.6 dBm) + Lane 4 Rx power: 0.4529 mW ( -3.4 dBm) + Lane 5 Rx power: 0.5097 mW ( -2.9 dBm) + Lane 6 Rx power: 0.5001 mW ( -3.0 dBm) + Lane 7 Rx power: 0.4642 mW ( -3.3 dBm) + Lane 8 Rx power: 0.5543 mW ( -2.6 dBm) + Lane 9 Rx power: 0.5132 mW ( -2.9 dBm) + + Total Tx power : 5.7443 mW ( 7.6 dBm) + Total Rx power : 5.2861 mW ( 7.2 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19092109 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/05 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19092109 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2551 V + Temperature : 27.4290 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5207 mW ( -2.8 dBm) + Lane 1 Tx power: 0.4755 mW ( -3.2 dBm) + Lane 2 Tx power: 0.4845 mW ( -3.1 dBm) + Lane 3 Tx power: 0.4681 mW ( -3.3 dBm) + Lane 4 Tx power: 0.4810 mW ( -3.2 dBm) + Lane 5 Tx power: 0.4938 mW ( -3.1 dBm) + Lane 6 Tx power: 0.5083 mW ( -2.9 dBm) + Lane 7 Tx power: 0.4852 mW ( -3.1 dBm) + Lane 8 Tx power: 0.5055 mW ( -3.0 dBm) + Lane 9 Tx power: 0.4843 mW ( -3.1 dBm) + + Lane 0 Rx power: 0.5521 mW ( -2.6 dBm) + Lane 1 Rx power: 0.6011 mW ( -2.2 dBm) + Lane 2 Rx power: 0.6191 mW ( -2.1 dBm) + Lane 3 Rx power: 0.5469 mW ( -2.6 dBm) + Lane 4 Rx power: 0.6021 mW ( -2.2 dBm) + Lane 5 Rx power: 0.5577 mW ( -2.5 dBm) + Lane 6 Rx power: 0.5638 mW ( -2.5 dBm) + Lane 7 Rx power: 0.5897 mW ( -2.3 dBm) + Lane 8 Rx power: 0.6259 mW ( -2.0 dBm) + Lane 9 Rx power: 0.6124 mW ( -2.1 dBm) + + Total Tx power : 4.9069 mW ( 6.9 dBm) + Total Rx power : 5.8708 mW ( 7.7 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19122019 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/19 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19122019 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2710 V + Temperature : 25.8268 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5377 mW ( -2.7 dBm) + Lane 1 Tx power: 0.5012 mW ( -3.0 dBm) + Lane 2 Tx power: 0.5002 mW ( -3.0 dBm) + Lane 3 Tx power: 0.4702 mW ( -3.3 dBm) + Lane 4 Tx power: 0.5248 mW ( -2.8 dBm) + Lane 5 Tx power: 0.4907 mW ( -3.1 dBm) + Lane 6 Tx power: 0.5127 mW ( -2.9 dBm) + Lane 7 Tx power: 0.4805 mW ( -3.2 dBm) + Lane 8 Tx power: 0.5319 mW ( -2.7 dBm) + Lane 9 Tx power: 0.5024 mW ( -3.0 dBm) + + Lane 0 Rx power: 0.4787 mW ( -3.2 dBm) + Lane 1 Rx power: 0.5329 mW ( -2.7 dBm) + Lane 2 Rx power: 0.5327 mW ( -2.7 dBm) + Lane 3 Rx power: 0.5148 mW ( -2.9 dBm) + Lane 4 Rx power: 0.4681 mW ( -3.3 dBm) + Lane 5 Rx power: 0.4620 mW ( -3.4 dBm) + Lane 6 Rx power: 0.5199 mW ( -2.8 dBm) + Lane 7 Rx power: 0.4814 mW ( -3.2 dBm) + Lane 8 Rx power: 0.4989 mW ( -3.0 dBm) + Lane 9 Rx power: 0.4836 mW ( -3.2 dBm) + + Total Tx power : 5.0523 mW ( 7.0 dBm) + Total Rx power : 4.9730 mW ( 7.0 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was DOWN + PCS Rx Link was NOT Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is DOWN + PCS Rx Link is NOT Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Not Locked + Lane 1 : Not Locked + Lane 2 : Not Locked + Lane 3 : Not Locked + Lane 4 : Not Locked + Lane 5 : Not Locked + Lane 6 : Not Locked + Lane 7 : Not Locked + Lane 8 : Not Locked + Lane 9 : Not Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Down. + PMA/PMD Local Fault + LR4 Ability + SR10 Ability + Rx Local Fault + Current Alarm Status: + PMA/PMD Rx Link is Down. + PMA/PMD Local Fault + LR4 Ability + SR10 Ability + Rx Local Fault + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: TX Off + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19122030 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/19 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19122030 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: Yes + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2954 V + Temperature : 21.1521 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.0000 mW (-40.0 dBm) + Lane 1 Tx power: 0.0000 mW (-40.0 dBm) + Lane 2 Tx power: 0.0000 mW (-40.0 dBm) + Lane 3 Tx power: 0.0000 mW (-40.0 dBm) + Lane 4 Tx power: 0.0000 mW (-40.0 dBm) + Lane 5 Tx power: 0.0000 mW (-40.0 dBm) + Lane 6 Tx power: 0.0000 mW (-40.0 dBm) + Lane 7 Tx power: 0.0000 mW (-40.0 dBm) + Lane 8 Tx power: 0.0000 mW (-40.0 dBm) + Lane 9 Tx power: 0.0000 mW (-40.0 dBm) + + Lane 0 Rx power: 0.0000 mW (-40.0 dBm) + Lane 1 Rx power: 0.0000 mW (-40.0 dBm) + Lane 2 Rx power: 0.0000 mW (-40.0 dBm) + Lane 3 Rx power: 0.0000 mW (-40.0 dBm) + Lane 4 Rx power: 0.0000 mW (-40.0 dBm) + Lane 5 Rx power: 0.0000 mW (-40.0 dBm) + Lane 6 Rx power: 0.0000 mW (-40.0 dBm) + Lane 7 Rx power: 0.0000 mW (-40.0 dBm) + Lane 8 Rx power: 0.0000 mW (-40.0 dBm) + Lane 9 Rx power: 0.0000 mW (-40.0 dBm) + + Total Tx power : 0.0000 mW (-40.0 dBm) + Total Rx power : 0.0000 mW (-40.0 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19092110 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/05 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19092110 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2991 V + Temperature : 27.4602 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5472 mW ( -2.6 dBm) + Lane 1 Tx power: 0.5253 mW ( -2.8 dBm) + Lane 2 Tx power: 0.5102 mW ( -2.9 dBm) + Lane 3 Tx power: 0.5327 mW ( -2.7 dBm) + Lane 4 Tx power: 0.4866 mW ( -3.1 dBm) + Lane 5 Tx power: 0.5129 mW ( -2.9 dBm) + Lane 6 Tx power: 0.5129 mW ( -2.9 dBm) + Lane 7 Tx power: 0.5416 mW ( -2.7 dBm) + Lane 8 Tx power: 0.5111 mW ( -2.9 dBm) + Lane 9 Tx power: 0.5343 mW ( -2.7 dBm) + + Lane 0 Rx power: 0.5251 mW ( -2.8 dBm) + Lane 1 Rx power: 0.5345 mW ( -2.7 dBm) + Lane 2 Rx power: 0.5865 mW ( -2.3 dBm) + Lane 3 Rx power: 0.4876 mW ( -3.1 dBm) + Lane 4 Rx power: 0.4308 mW ( -3.7 dBm) + Lane 5 Rx power: 0.5249 mW ( -2.8 dBm) + Lane 6 Rx power: 0.5047 mW ( -3.0 dBm) + Lane 7 Rx power: 0.4419 mW ( -3.5 dBm) + Lane 8 Rx power: 0.5576 mW ( -2.5 dBm) + Lane 9 Rx power: 0.4585 mW ( -3.4 dBm) + + Total Tx power : 5.2148 mW ( 7.2 dBm) + Total Rx power : 5.0521 mW ( 7.0 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19092111 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/05 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19092111 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2942 V + Temperature : 25.8307 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5391 mW ( -2.7 dBm) + Lane 1 Tx power: 0.4846 mW ( -3.1 dBm) + Lane 2 Tx power: 0.5342 mW ( -2.7 dBm) + Lane 3 Tx power: 0.5034 mW ( -3.0 dBm) + Lane 4 Tx power: 0.5094 mW ( -2.9 dBm) + Lane 5 Tx power: 0.4753 mW ( -3.2 dBm) + Lane 6 Tx power: 0.5212 mW ( -2.8 dBm) + Lane 7 Tx power: 0.4953 mW ( -3.1 dBm) + Lane 8 Tx power: 0.5488 mW ( -2.6 dBm) + Lane 9 Tx power: 0.4941 mW ( -3.1 dBm) + + Lane 0 Rx power: 0.5597 mW ( -2.5 dBm) + Lane 1 Rx power: 0.5674 mW ( -2.5 dBm) + Lane 2 Rx power: 0.5755 mW ( -2.4 dBm) + Lane 3 Rx power: 0.5692 mW ( -2.4 dBm) + Lane 4 Rx power: 0.6046 mW ( -2.2 dBm) + Lane 5 Rx power: 0.5960 mW ( -2.2 dBm) + Lane 6 Rx power: 0.6081 mW ( -2.2 dBm) + Lane 7 Rx power: 0.5935 mW ( -2.3 dBm) + Lane 8 Rx power: 0.6121 mW ( -2.1 dBm) + Lane 9 Rx power: 0.5941 mW ( -2.3 dBm) + + Total Tx power : 5.1054 mW ( 7.1 dBm) + Total Rx power : 5.8802 mW ( 7.7 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was UP + PCS Rx Link was Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is UP + PCS Rx Link is Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Locked + Lane 1 : Locked + Lane 2 : Locked + Lane 3 : Locked + Lane 4 : Locked + Lane 5 : Locked + Lane 6 : Locked + Lane 7 : Locked + Lane 8 : Locked + Lane 9 : Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + Current Alarm Status: + PMA/PMD Rx Link is Up. + LR4 Ability + SR10 Ability + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: Ready + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19122025 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/19 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19122025 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: No + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.3028 V + Temperature : 25.4212 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.5831 mW ( -2.3 dBm) + Lane 1 Tx power: 0.5871 mW ( -2.3 dBm) + Lane 2 Tx power: 0.5774 mW ( -2.4 dBm) + Lane 3 Tx power: 0.6008 mW ( -2.2 dBm) + Lane 4 Tx power: 0.5457 mW ( -2.6 dBm) + Lane 5 Tx power: 0.5611 mW ( -2.5 dBm) + Lane 6 Tx power: 0.5296 mW ( -2.8 dBm) + Lane 7 Tx power: 0.5524 mW ( -2.6 dBm) + Lane 8 Tx power: 0.5542 mW ( -2.6 dBm) + Lane 9 Tx power: 0.5349 mW ( -2.7 dBm) + + Lane 0 Rx power: 0.4432 mW ( -3.5 dBm) + Lane 1 Rx power: 0.6225 mW ( -2.1 dBm) + Lane 2 Rx power: 0.6431 mW ( -1.9 dBm) + Lane 3 Rx power: 0.6172 mW ( -2.1 dBm) + Lane 4 Rx power: 0.4315 mW ( -3.7 dBm) + Lane 5 Rx power: 0.5563 mW ( -2.5 dBm) + Lane 6 Rx power: 0.5017 mW ( -3.0 dBm) + Lane 7 Rx power: 0.4878 mW ( -3.1 dBm) + Lane 8 Rx power: 0.5729 mW ( -2.4 dBm) + Lane 9 Rx power: 0.5421 mW ( -2.7 dBm) + + Total Tx power : 5.6263 mW ( 7.5 dBm) + Total Rx power : 5.4183 mW ( 7.3 dBm) + + + +PCS + Previous PCS Status: + PCS Rx Link Status was DOWN + PCS Rx Link was NOT Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm was OFF + PCS SF-BER Alarm was OFF + Current PCS Status: + PCS Rx Link Status is DOWN + PCS Rx Link is NOT Block Locked + PCS BER (Sync Header Error) Counts: 0 + PCS BER (BIP) Counts: 0 + PCS BER (BIP) 1 second count: 0 (BER < 10e-9) + PCS SD-BER Alarm is OFF + PCS SF-BER Alarm is OFF + +PCS detailed information: + + RX Service Interface Lane Sync Header Lock Status: + + Lane 0 : Not Locked + Lane 1 : Not Locked + Lane 2 : Not Locked + Lane 3 : Not Locked + Lane 4 : Not Locked + Lane 5 : Not Locked + Lane 6 : Not Locked + Lane 7 : Not Locked + Lane 8 : Not Locked + Lane 9 : Not Locked + + Mapping of Service Interface Lane and RX PCS Lane: + + Rx Service Interface Lane 0 = PCS Lane 0 + Rx Service Interface Lane 1 = PCS Lane 1 + Rx Service Interface Lane 2 = PCS Lane 2 + Rx Service Interface Lane 3 = PCS Lane 3 + Rx Service Interface Lane 4 = PCS Lane 4 + Rx Service Interface Lane 5 = PCS Lane 5 + Rx Service Interface Lane 6 = PCS Lane 6 + Rx Service Interface Lane 7 = PCS Lane 7 + Rx Service Interface Lane 8 = PCS Lane 8 + Rx Service Interface Lane 9 = PCS Lane 9 + + PCS Lane BIP Error Counters: + + Even sublane Odd sublane + Lane 0 : 0 0 + Lane 1 : 0 0 + Lane 2 : 0 0 + Lane 3 : 0 0 + Lane 4 : 0 0 + Lane 5 : 0 0 + Lane 6 : 0 0 + Lane 7 : 0 0 + Lane 8 : 0 0 + Lane 9 : 0 0 + + Total PCS Lane BIP Error Count : 0 + Total PCS Lane Sync Header Error Count : 0 + Total PCS Lane Bad 64/66 Code Count : 0 + + General Info: +================= + + +PMA/PMD: +======== + Previous Alarm Status: + PMA/PMD Rx Link is Down. + PMA/PMD Local Fault + LR4 Ability + SR10 Ability + Rx Local Fault + Current Alarm Status: + PMA/PMD Rx Link is Down. + PMA/PMD Local Fault + LR4 Ability + SR10 Ability + Rx Local Fault + +CPAK section: +============= + +Quack check: PASSED + +CPAK General Information: + + Module Identifier: CPAK_10x10G + Ethernet Application Code: 100GBASE-SR10 + Module State: TX Off + Power Class: 1 + Maximum Power Consumption: 4600 mW + +CPAK Vendor Information: + + Vendor Name: CISCO + Vendor PN: 800-41495-01 + Vendor SN: FBN19122022 + Vendor OUI: 0x0-0x0-0xc + Lot Code: + DATE CODE(YYYY/MM/DD): 2015/03/19 + CPAK MSA Hardware Version: 11.0 + CPAK MSA MDIO Version: 9.0 + Vendor Hardware Version: 0.5 + Vendor Firmware Version: 2.3 + +CPAK UDI Information: + + UDI Compliant: Yes + Cisco PID: CPAK-100G-SR10 + Cisco VID: V01 + +CPAK Cisco Information: + + Vendor Name: CISCO + Cisco PN : 800-41495-01 Rev B0 + Cisco SN : FBN19122022 + +CPAK Detail Information: + + Number of lanes supported: + + Number of network lanes: 10 + Number of host lanes : 10 + + Time required by module: + + Maximum high-power-up time: 1 s + Maximum high-power-down time: 1 s + Maximum tx-turn-on time : 1 s + + Maximum tx-turn-off time : 254 ms + + Module general control: + + Soft reset asserted : No + Soft low power asserted : No + Soft tx disable asserted: Yes + Soft program control 3 asserted: No + Soft program control 2 asserted: No + Soft program control 1 asserted: No + Soft global alarm test asserted: No + + Tx disable pin asserted: No + Low power pin asserted : No + Program control 3 pin asserted: No + Program control 2 pin asserted: No + Program control 1 pin asserted: No + + Module Analog A/D value: + + Power supply voltage : 3.2832 V + Temperature : 21.2223 degC + + Network lane A/D value: + + Lane 0 Tx power: 0.0000 mW (-40.0 dBm) + Lane 1 Tx power: 0.0000 mW (-40.0 dBm) + Lane 2 Tx power: 0.0000 mW (-40.0 dBm) + Lane 3 Tx power: 0.0000 mW (-40.0 dBm) + Lane 4 Tx power: 0.0000 mW (-40.0 dBm) + Lane 5 Tx power: 0.0000 mW (-40.0 dBm) + Lane 6 Tx power: 0.0000 mW (-40.0 dBm) + Lane 7 Tx power: 0.0000 mW (-40.0 dBm) + Lane 8 Tx power: 0.0000 mW (-40.0 dBm) + Lane 9 Tx power: 0.0000 mW (-40.0 dBm) + + Lane 0 Rx power: 0.0000 mW (-40.0 dBm) + Lane 1 Rx power: 0.0000 mW (-40.0 dBm) + Lane 2 Rx power: 0.0000 mW (-40.0 dBm) + Lane 3 Rx power: 0.0000 mW (-40.0 dBm) + Lane 4 Rx power: 0.0000 mW (-40.0 dBm) + Lane 5 Rx power: 0.0000 mW (-40.0 dBm) + Lane 6 Rx power: 0.0000 mW (-40.0 dBm) + Lane 7 Rx power: 0.0000 mW (-40.0 dBm) + Lane 8 Rx power: 0.0000 mW (-40.0 dBm) + Lane 9 Rx power: 0.0000 mW (-40.0 dBm) + + Total Tx power : 0.0000 mW (-40.0 dBm) + Total Rx power : 0.0000 mW (-40.0 dBm) + + +No XGXS present + +No XGXS present + +No XGXS present + +No XGXS present + +No XGXS present + +No XGXS present + +No XGXS present + +No XGXS present + +Regs Info +OTN Controller 0 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x001e +0x00005 SCRATCH_PAD2 0x2800 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0008 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x0008 +0x02491 RXLOCKD3_INTSTATUS 3 0x0008 +0x024b9 TXLOCKD0_INTSTATUS 3 0x0008 +0x0281f RXLOCKD0_INTSTATUS 4 0x0008 +0x02845 RXLOCKD1_INTSTATUS 4 0x0008 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x004d +0x028b9 TXLOCKD0_INTSTATUS 4 0x0008 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/0 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x31) (Reg 0x804a=0x32) (Reg 0x804b=0x32) +(Reg 0x804c=0x30) (Reg 0x804d=0x31) (Reg 0x804e=0x37) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x32) (Reg 0x805b=0x30) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe0) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0x0000) (Reg 0xa019=0x0000) (Reg 0xa01a=0x0000) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x0000) (Reg 0xa022=0x0000) (Reg 0xa023=0x0000) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x1bde) +(Reg 0xa030=0x8110) (Reg 0xa031=0x0000) (Reg 0xa032=0x65bb) (Reg 0xa033=0x30b2) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0000) (Reg 0xa221=0x0000) (Reg 0xa222=0x0000) (Reg 0xa223=0x0000) +(Reg 0xa224=0x0000) (Reg 0xa225=0x0000) (Reg 0xa226=0x0000) (Reg 0xa227=0x0000) +(Reg 0xa228=0x0000) (Reg 0xa229=0x0000) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0000) (Reg 0xa231=0x0000) (Reg 0xa232=0x0000) (Reg 0xa233=0x0000) +(Reg 0xa234=0x0000) (Reg 0xa235=0x0000) (Reg 0xa236=0x0000) (Reg 0xa237=0x0000) +(Reg 0xa238=0x0000) (Reg 0xa239=0x0000) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0bc3) (Reg 0xa2a1=0x0c10) (Reg 0xa2a2=0x0bb5) (Reg 0xa2a3=0x0bdc) +(Reg 0xa2a4=0x0b8f) (Reg 0xa2a5=0x0bd9) (Reg 0xa2a6=0x0bf8) (Reg 0xa2a7=0x0b76) +(Reg 0xa2a8=0x0bd9) (Reg 0xa2a9=0x0b0d) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x1543) (Reg 0xa2b1=0x165c) (Reg 0xa2b2=0x1494) (Reg 0xa2b3=0x15fb) +(Reg 0xa2b4=0x15c2) (Reg 0xa2b5=0x17c5) (Reg 0xa2b6=0x16d2) (Reg 0xa2b7=0x1728) +(Reg 0xa2b8=0x16cf) (Reg 0xa2b9=0x17ce) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x22de) (Reg 0xa2c1=0x22de) (Reg 0xa2c2=0x22de) (Reg 0xa2c3=0x22de) +(Reg 0xa2c4=0x22de) (Reg 0xa2c5=0x22de) (Reg 0xa2c6=0x22de) (Reg 0xa2c7=0x22de) +(Reg 0xa2c8=0x22de) (Reg 0xa2c9=0x22de) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x1615) (Reg 0xa2d1=0x1698) (Reg 0xa2d2=0x175d) (Reg 0xa2d3=0x1565) +(Reg 0xa2d4=0x11b1) (Reg 0xa2d5=0x13e9) (Reg 0xa2d6=0x138e) (Reg 0xa2d7=0x1228) +(Reg 0xa2d8=0x15c1) (Reg 0xa2d9=0x140c) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 1 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x00ef +0x00005 SCRATCH_PAD2 0x8d00 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0008 +0x02445 RXLOCKD1_INTSTATUS 3 0x0000 +0x0246b RXLOCKD2_INTSTATUS 3 0x0008 +0x02491 RXLOCKD3_INTSTATUS 3 0x0008 +0x024b9 TXLOCKD0_INTSTATUS 3 0x0008 +0x0281f RXLOCKD0_INTSTATUS 4 0x0000 +0x02845 RXLOCKD1_INTSTATUS 4 0x0008 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x0000 +0x028b9 TXLOCKD0_INTSTATUS 4 0x0008 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/1 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x30) (Reg 0x804a=0x39) (Reg 0x804b=0x32) +(Reg 0x804c=0x31) (Reg 0x804d=0x30) (Reg 0x804e=0x39) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x30) (Reg 0x805b=0x35) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xeb) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x01ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x003f) (Reg 0xa023=0x0080) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x1b6e) +(Reg 0xa030=0x800f) (Reg 0xa031=0x0000) (Reg 0xa032=0x6511) (Reg 0xa033=0x301f) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x3300) (Reg 0xa221=0x3300) (Reg 0xa222=0x3300) (Reg 0xa223=0x3300) +(Reg 0xa224=0x3300) (Reg 0xa225=0x3300) (Reg 0xa226=0x3300) (Reg 0xa227=0x3300) +(Reg 0xa228=0x3300) (Reg 0xa229=0x3300) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0080) (Reg 0xa231=0x0080) (Reg 0xa232=0x0080) (Reg 0xa233=0x0080) +(Reg 0xa234=0x0080) (Reg 0xa235=0x0080) (Reg 0xa236=0x0080) (Reg 0xa237=0x0080) +(Reg 0xa238=0x0080) (Reg 0xa239=0x0000) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0b75) (Reg 0xa2a1=0x0b6e) (Reg 0xa2a2=0x0ba9) (Reg 0xa2a3=0x0ba7) +(Reg 0xa2a4=0x0bdd) (Reg 0xa2a5=0x0b37) (Reg 0xa2a6=0x0bdd) (Reg 0xa2a7=0x0b87) +(Reg 0xa2a8=0x0b90) (Reg 0xa2a9=0x0b62) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x1466) (Reg 0xa2b1=0x1293) (Reg 0xa2b2=0x12f1) (Reg 0xa2b3=0x1244) +(Reg 0xa2b4=0x12d5) (Reg 0xa2b5=0x134f) (Reg 0xa2b6=0x13de) (Reg 0xa2b7=0x12f5) +(Reg 0xa2b8=0x13c4) (Reg 0xa2b9=0x12f0) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x226e) (Reg 0xa2c1=0x226e) (Reg 0xa2c2=0x226e) (Reg 0xa2c3=0x226e) +(Reg 0xa2c4=0x226e) (Reg 0xa2c5=0x226e) (Reg 0xa2c6=0x226e) (Reg 0xa2c7=0x226e) +(Reg 0xa2c8=0x226e) (Reg 0xa2c9=0x226e) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x1589) (Reg 0xa2d1=0x1782) (Reg 0xa2d2=0x182f) (Reg 0xa2d3=0x155a) +(Reg 0xa2d4=0x1776) (Reg 0xa2d5=0x15c9) (Reg 0xa2d6=0x15fe) (Reg 0xa2d7=0x1714) +(Reg 0xa2d8=0x1873) (Reg 0xa2d9=0x17e9) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 2 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x00fb +0x00005 SCRATCH_PAD2 0xae00 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0008 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x0008 +0x02491 RXLOCKD3_INTSTATUS 3 0x0008 +0x024b9 TXLOCKD0_INTSTATUS 3 0x0008 +0x0281f RXLOCKD0_INTSTATUS 4 0x0000 +0x02845 RXLOCKD1_INTSTATUS 4 0x0008 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x0018 +0x028b9 TXLOCKD0_INTSTATUS 4 0x000d + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/2 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x31) (Reg 0x804a=0x32) (Reg 0x804b=0x32) +(Reg 0x804c=0x30) (Reg 0x804d=0x31) (Reg 0x804e=0x39) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x31) (Reg 0x805b=0x39) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xea) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x003f) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x19d4) +(Reg 0xa030=0x801c) (Reg 0xa031=0x0000) (Reg 0xa032=0x6572) (Reg 0xa033=0x2cd5) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0b21) (Reg 0xa2a1=0x0b2a) (Reg 0xa2a2=0x0b14) (Reg 0xa2a3=0x0b6a) +(Reg 0xa2a4=0x0b74) (Reg 0xa2a5=0x0b48) (Reg 0xa2a6=0x0b97) (Reg 0xa2a7=0x0b1d) +(Reg 0xa2a8=0x0b4b) (Reg 0xa2a9=0x0b75) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x1510) (Reg 0xa2b1=0x138d) (Reg 0xa2b2=0x1391) (Reg 0xa2b3=0x125d) +(Reg 0xa2b4=0x147c) (Reg 0xa2b5=0x132b) (Reg 0xa2b6=0x1405) (Reg 0xa2b7=0x12bc) +(Reg 0xa2b8=0x14b9) (Reg 0xa2b9=0x13a0) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x20d4) (Reg 0xa2c1=0x20d4) (Reg 0xa2c2=0x20d4) (Reg 0xa2c3=0x20d4) +(Reg 0xa2c4=0x20d4) (Reg 0xa2c5=0x20d4) (Reg 0xa2c6=0x20d4) (Reg 0xa2c7=0x20d4) +(Reg 0xa2c8=0x20d4) (Reg 0xa2c9=0x20d4) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x12b6) (Reg 0xa2d1=0x14e5) (Reg 0xa2d2=0x14d2) (Reg 0xa2d3=0x1423) +(Reg 0xa2d4=0x1255) (Reg 0xa2d5=0x1213) (Reg 0xa2d6=0x144f) (Reg 0xa2d7=0x12c4) +(Reg 0xa2d8=0x1384) (Reg 0xa2d9=0x12eb) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 3 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x000a +0x00005 SCRATCH_PAD2 0x9500 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0008 +0x02445 RXLOCKD1_INTSTATUS 3 0x005e +0x0246b RXLOCKD2_INTSTATUS 3 0x0004 +0x02491 RXLOCKD3_INTSTATUS 3 0x0010 +0x024b9 TXLOCKD0_INTSTATUS 3 0x000c +0x0281f RXLOCKD0_INTSTATUS 4 0x0005 +0x02845 RXLOCKD1_INTSTATUS 4 0x0069 +0x0286b RXLOCKD2_INTSTATUS 4 0x0018 +0x02891 RXLOCKD3_INTSTATUS 4 0x0018 +0x028b9 TXLOCKD0_INTSTATUS 4 0x0008 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/3 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0008 +0x01845 RXLOCKD1_INTSTATUS 0 0x0001 +0x0186b RXLOCKD2_INTSTATUS 0 0x0009 +0x01891 RXLOCKD3_INTSTATUS 0 0x0001 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x31) (Reg 0x804a=0x32) (Reg 0x804b=0x32) +(Reg 0x804c=0x30) (Reg 0x804d=0x33) (Reg 0x804e=0x30) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x31) (Reg 0x805b=0x39) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe3) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x2000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0008) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0022) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x000f) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x1527) +(Reg 0xa030=0x80d3) (Reg 0xa031=0x0000) (Reg 0xa032=0x6572) (Reg 0xa033=0x3069) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0003) (Reg 0xa201=0x0003) (Reg 0xa202=0x0003) (Reg 0xa203=0x0003) +(Reg 0xa204=0x0003) (Reg 0xa205=0x0003) (Reg 0xa206=0x0003) (Reg 0xa207=0x0003) +(Reg 0xa208=0x0003) (Reg 0xa209=0x0003) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0010) (Reg 0xa211=0x0010) (Reg 0xa212=0x0010) (Reg 0xa213=0x0010) +(Reg 0xa214=0x0010) (Reg 0xa215=0x0010) (Reg 0xa216=0x0010) (Reg 0xa217=0x0010) +(Reg 0xa218=0x0010) (Reg 0xa219=0x0010) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0000) (Reg 0xa2a1=0x0000) (Reg 0xa2a2=0x0000) (Reg 0xa2a3=0x0000) +(Reg 0xa2a4=0x0000) (Reg 0xa2a5=0x0000) (Reg 0xa2a6=0x0000) (Reg 0xa2a7=0x0000) +(Reg 0xa2a8=0x0000) (Reg 0xa2a9=0x0000) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x0000) (Reg 0xa2b1=0x0000) (Reg 0xa2b2=0x0000) (Reg 0xa2b3=0x0000) +(Reg 0xa2b4=0x0000) (Reg 0xa2b5=0x0000) (Reg 0xa2b6=0x0000) (Reg 0xa2b7=0x0000) +(Reg 0xa2b8=0x0000) (Reg 0xa2b9=0x0000) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x1c27) (Reg 0xa2c1=0x1c27) (Reg 0xa2c2=0x1c27) (Reg 0xa2c3=0x1c27) +(Reg 0xa2c4=0x1c27) (Reg 0xa2c5=0x1c27) (Reg 0xa2c6=0x1c27) (Reg 0xa2c7=0x1c27) +(Reg 0xa2c8=0x1c27) (Reg 0xa2c9=0x1c27) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x0000) (Reg 0xa2d1=0x0000) (Reg 0xa2d2=0x0000) (Reg 0xa2d3=0x0000) +(Reg 0xa2d4=0x0000) (Reg 0xa2d5=0x0000) (Reg 0xa2d6=0x0000) (Reg 0xa2d7=0x0000) +(Reg 0xa2d8=0x0000) (Reg 0xa2d9=0x0000) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 0 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x001e +0x00005 SCRATCH_PAD2 0x5f00 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0000 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x0008 +0x02491 RXLOCKD3_INTSTATUS 3 0x0018 +0x024b9 TXLOCKD0_INTSTATUS 3 0x0008 +0x0281f RXLOCKD0_INTSTATUS 4 0x0008 +0x02845 RXLOCKD1_INTSTATUS 4 0x0024 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x0018 +0x028b9 TXLOCKD0_INTSTATUS 4 0x0008 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/0 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x30) (Reg 0x804a=0x39) (Reg 0x804b=0x32) +(Reg 0x804c=0x31) (Reg 0x804d=0x31) (Reg 0x804e=0x30) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x30) (Reg 0x805b=0x35) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe3) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x003f) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x1b76) +(Reg 0xa030=0x80df) (Reg 0xa031=0x0000) (Reg 0xa032=0x671e) (Reg 0xa033=0x3069) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0b3f) (Reg 0xa2a1=0x0b68) (Reg 0xa2a2=0x0b6b) (Reg 0xa2a3=0x0b52) +(Reg 0xa2a4=0x0b95) (Reg 0xa2a5=0x0ad8) (Reg 0xa2a6=0x0b44) (Reg 0xa2a7=0x0afa) +(Reg 0xa2a8=0x0b15) (Reg 0xa2a9=0x0b81) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x1580) (Reg 0xa2b1=0x1486) (Reg 0xa2b2=0x13e6) (Reg 0xa2b3=0x14d1) +(Reg 0xa2b4=0x12fb) (Reg 0xa2b5=0x1410) (Reg 0xa2b6=0x140b) (Reg 0xa2b7=0x1525) +(Reg 0xa2b8=0x1402) (Reg 0xa2b9=0x14e4) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x2276) (Reg 0xa2c1=0x2276) (Reg 0xa2c2=0x2276) (Reg 0xa2c3=0x2276) +(Reg 0xa2c4=0x2276) (Reg 0xa2c5=0x2276) (Reg 0xa2c6=0x2276) (Reg 0xa2c7=0x2276) +(Reg 0xa2c8=0x2276) (Reg 0xa2c9=0x2276) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x1483) (Reg 0xa2d1=0x14e1) (Reg 0xa2d2=0x16f2) (Reg 0xa2d3=0x12f7) +(Reg 0xa2d4=0x10b7) (Reg 0xa2d5=0x148c) (Reg 0xa2d6=0x13b7) (Reg 0xa2d7=0x1143) +(Reg 0xa2d8=0x15ea) (Reg 0xa2d9=0x11ee) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 1 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x00ef +0x00005 SCRATCH_PAD2 0xc400 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0018 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x001c +0x02491 RXLOCKD3_INTSTATUS 3 0x0000 +0x024b9 TXLOCKD0_INTSTATUS 3 0x000c +0x0281f RXLOCKD0_INTSTATUS 4 0x0008 +0x02845 RXLOCKD1_INTSTATUS 4 0x0008 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x000c +0x028b9 TXLOCKD0_INTSTATUS 4 0x0009 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/1 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x30) (Reg 0x804a=0x39) (Reg 0x804b=0x32) +(Reg 0x804c=0x31) (Reg 0x804d=0x31) (Reg 0x804e=0x31) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x30) (Reg 0x805b=0x35) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe4) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x003f) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x19d5) +(Reg 0xa030=0x80ae) (Reg 0xa031=0x0000) (Reg 0xa032=0x6566) (Reg 0xa033=0x3138) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0b28) (Reg 0xa2a1=0x0b5a) (Reg 0xa2a2=0x0b36) (Reg 0xa2a3=0x0adb) +(Reg 0xa2a4=0x0ad2) (Reg 0xa2a5=0x0af8) (Reg 0xa2a6=0x0b1c) (Reg 0xa2a7=0x0ae7) +(Reg 0xa2a8=0x0a76) (Reg 0xa2a9=0x0b3e) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x1511) (Reg 0xa2b1=0x12e6) (Reg 0xa2b2=0x14d7) (Reg 0xa2b3=0x13b3) +(Reg 0xa2b4=0x13ed) (Reg 0xa2b5=0x1292) (Reg 0xa2b6=0x1452) (Reg 0xa2b7=0x135a) +(Reg 0xa2b8=0x157a) (Reg 0xa2b9=0x1339) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x20d5) (Reg 0xa2c1=0x20d5) (Reg 0xa2c2=0x20d5) (Reg 0xa2c3=0x20d5) +(Reg 0xa2c4=0x20d5) (Reg 0xa2c5=0x20d5) (Reg 0xa2c6=0x20d5) (Reg 0xa2c7=0x20d5) +(Reg 0xa2c8=0x20d5) (Reg 0xa2c9=0x20d5) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x15e1) (Reg 0xa2d1=0x1627) (Reg 0xa2d2=0x167e) (Reg 0xa2d3=0x1638) +(Reg 0xa2d4=0x179e) (Reg 0xa2d5=0x1740) (Reg 0xa2d6=0x17b5) (Reg 0xa2d7=0x172f) +(Reg 0xa2d8=0x17e9) (Reg 0xa2d9=0x173d) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 2 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x00fb +0x00005 SCRATCH_PAD2 0xab00 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0009 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x0049 +0x02491 RXLOCKD3_INTSTATUS 3 0x0008 +0x024b9 TXLOCKD0_INTSTATUS 3 0x0009 +0x0281f RXLOCKD0_INTSTATUS 4 0x0010 +0x02845 RXLOCKD1_INTSTATUS 4 0x0009 +0x0286b RXLOCKD2_INTSTATUS 4 0x000c +0x02891 RXLOCKD3_INTSTATUS 4 0x0012 +0x028b9 TXLOCKD0_INTSTATUS 4 0x004d + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/2 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0049 +0x01845 RXLOCKD1_INTSTATUS 0 0x0049 +0x0186b RXLOCKD2_INTSTATUS 0 0x0049 +0x01891 RXLOCKD3_INTSTATUS 0 0x0049 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x31) (Reg 0x804a=0x32) (Reg 0x804b=0x32) +(Reg 0x804c=0x30) (Reg 0x804d=0x32) (Reg 0x804e=0x35) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x31) (Reg 0x805b=0x39) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe7) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x0000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0020) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb100) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0002) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x0000) (Reg 0xa022=0x0000) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x196c) +(Reg 0xa030=0x8128) (Reg 0xa031=0x0000) (Reg 0xa032=0x65f9) (Reg 0xa033=0x309a) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0000) (Reg 0xa201=0x0000) (Reg 0xa202=0x0000) (Reg 0xa203=0x0000) +(Reg 0xa204=0x0000) (Reg 0xa205=0x0000) (Reg 0xa206=0x0000) (Reg 0xa207=0x0000) +(Reg 0xa208=0x0000) (Reg 0xa209=0x0000) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0000) (Reg 0xa211=0x0000) (Reg 0xa212=0x0000) (Reg 0xa213=0x0000) +(Reg 0xa214=0x0000) (Reg 0xa215=0x0000) (Reg 0xa216=0x0000) (Reg 0xa217=0x0000) +(Reg 0xa218=0x0000) (Reg 0xa219=0x0000) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0af4) (Reg 0xa2a1=0x0b0f) (Reg 0xa2a2=0x0b39) (Reg 0xa2a3=0x0ae1) +(Reg 0xa2a4=0x0b6d) (Reg 0xa2a5=0x0acd) (Reg 0xa2a6=0x0b71) (Reg 0xa2a7=0x0ae2) +(Reg 0xa2a8=0x0b26) (Reg 0xa2a9=0x0abf) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x16c4) (Reg 0xa2b1=0x16f6) (Reg 0xa2b2=0x167f) (Reg 0xa2b3=0x176c) +(Reg 0xa2b4=0x154e) (Reg 0xa2b5=0x15e4) (Reg 0xa2b6=0x14ad) (Reg 0xa2b7=0x1592) +(Reg 0xa2b8=0x159d) (Reg 0xa2b9=0x14e8) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x206c) (Reg 0xa2c1=0x206c) (Reg 0xa2c2=0x206c) (Reg 0xa2c3=0x206c) +(Reg 0xa2c4=0x206c) (Reg 0xa2c5=0x206c) (Reg 0xa2c6=0x206c) (Reg 0xa2c7=0x206c) +(Reg 0xa2c8=0x206c) (Reg 0xa2c9=0x206c) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x1150) (Reg 0xa2d1=0x1851) (Reg 0xa2d2=0x191f) (Reg 0xa2d3=0x181c) +(Reg 0xa2d4=0x10db) (Reg 0xa2d5=0x15bb) (Reg 0xa2d6=0x1391) (Reg 0xa2d7=0x130e) +(Reg 0xa2d8=0x1665) (Reg 0xa2d9=0x152d) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) + +Regs Info +OTN Controller 3 common register: + +TOP_MPIF Block : +--------------------------- +Addr Name Value +0x00002 GLOBAL_CFG 0x0051 +0x00004 SCRATCH_PAD1 0x000a +0x00005 SCRATCH_PAD2 0xcc00 +0x00009 GPIO_CONTROL 0x0000 + +SDS_COMMON Block : BANK B +--------------------------- +Addr Name Value +0x0241f RXLOCKD0_INTSTATUS 3 0x0028 +0x02445 RXLOCKD1_INTSTATUS 3 0x0008 +0x0246b RXLOCKD2_INTSTATUS 3 0x0020 +0x02491 RXLOCKD3_INTSTATUS 3 0x0000 +0x024b9 TXLOCKD0_INTSTATUS 3 0x000d +0x0281f RXLOCKD0_INTSTATUS 4 0x0009 +0x02845 RXLOCKD1_INTSTATUS 4 0x0018 +0x0286b RXLOCKD2_INTSTATUS 4 0x0008 +0x02891 RXLOCKD3_INTSTATUS 4 0x001c +0x028b9 TXLOCKD0_INTSTATUS 4 0x0008 + +SDS_COMMON Block : BANK C +--------------------------- +Addr Name Value +0x0301f RXLOCKD0_INTSTATUS 6 0x0049 +0x03045 RXLOCKD1_INTSTATUS 6 0x0049 +0x0306b RXLOCKD2_INTSTATUS 6 0x0049 +0x03091 RXLOCKD3_INTSTATUS 6 0x0049 +0x030b9 TXLOCKD0_INTSTATUS 6 0x0049 +0x0341f RXLOCKD0_INTSTATUS 7 0x0049 +0x03445 RXLOCKD1_INTSTATUS 7 0x0049 +0x0346b RXLOCKD2_INTSTATUS 7 0x0049 +0x03491 RXLOCKD3_INTSTATUS 7 0x0049 +0x034b9 TXLOCKD0_INTSTATUS 7 0x0049 + +ILKN_CORE Block : +--------------------------- +Addr Name Value +0x19d6b RX_INTERLAKEN_STATUS0 0x0049 +0x19d6c RX_INTERLAKEN_SYNCED1 0x0049 +0x19d6d RX_INTERLAKEN_SYNCED0 0x0049 +0x19d66 RX_OOBFC_RX_LANE_STATUS1 0x0049 +0x19d67 RX_OOBFC_RX_LANE_STATUS0 0x0049 +0x19d62 TX_INTERLAKEN_STATUS1 0x0049 +0x19d63 TX_INTERLAKEN_STATUS0 0x0049 + +Port/3 register: + +SDS_COMMON Block : line +--------------------------- +Addr Name Value +0x0181f RXLOCKD0_INTSTATUS 0 0x0001 +0x01845 RXLOCKD1_INTSTATUS 0 0x0001 +0x0186b RXLOCKD2_INTSTATUS 0 0x0001 +0x01891 RXLOCKD3_INTSTATUS 0 0x0009 +0x018b9 TXLOCKD0_INTSTATUS 0 0x0049 + +CPAK Registers: +================ + +NVR 1 Registers: + +(Reg 0x8000=0x01) (Reg 0x8001=0x21) (Reg 0x8002=0x09) (Reg 0x8003=0x03) +(Reg 0x8004=0x00) (Reg 0x8005=0x00) (Reg 0x8006=0x00) (Reg 0x8007=0x00) +(Reg 0x8008=0x1e) (Reg 0x8009=0xaa) (Reg 0x800a=0x4a) (Reg 0x800b=0x38) +(Reg 0x800c=0x38) (Reg 0x800d=0x00) (Reg 0x800e=0x0a) (Reg 0x800f=0x00) +(Reg 0x8010=0x0a) (Reg 0x8011=0x01) (Reg 0x8012=0x83) (Reg 0x8013=0x40) +(Reg 0x8014=0x86) (Reg 0x8015=0x60) (Reg 0x8016=0x00) (Reg 0x8017=0x00) +(Reg 0x8018=0x00) (Reg 0x8019=0x04) (Reg 0x801a=0x40) (Reg 0x801b=0x50) +(Reg 0x801c=0x26) (Reg 0x801d=0x17) (Reg 0x801e=0x14) (Reg 0x801f=0x46) +(Reg 0x8020=0x00) (Reg 0x8021=0x43) (Reg 0x8022=0x49) (Reg 0x8023=0x53) +(Reg 0x8024=0x43) (Reg 0x8025=0x4f) (Reg 0x8026=0x20) (Reg 0x8027=0x20) +(Reg 0x8028=0x20) (Reg 0x8029=0x20) (Reg 0x802a=0x20) (Reg 0x802b=0x20) +(Reg 0x802c=0x20) (Reg 0x802d=0x20) (Reg 0x802e=0x20) (Reg 0x802f=0x20) +(Reg 0x8030=0x20) (Reg 0x8031=0x00) (Reg 0x8032=0x00) (Reg 0x8033=0x0c) +(Reg 0x8034=0x38) (Reg 0x8035=0x30) (Reg 0x8036=0x30) (Reg 0x8037=0x2d) +(Reg 0x8038=0x34) (Reg 0x8039=0x31) (Reg 0x803a=0x34) (Reg 0x803b=0x39) +(Reg 0x803c=0x35) (Reg 0x803d=0x2d) (Reg 0x803e=0x30) (Reg 0x803f=0x31) +(Reg 0x8040=0x20) (Reg 0x8041=0x20) (Reg 0x8042=0x20) (Reg 0x8043=0x20) +(Reg 0x8044=0x46) (Reg 0x8045=0x42) (Reg 0x8046=0x4e) (Reg 0x8047=0x31) +(Reg 0x8048=0x39) (Reg 0x8049=0x31) (Reg 0x804a=0x32) (Reg 0x804b=0x32) +(Reg 0x804c=0x30) (Reg 0x804d=0x32) (Reg 0x804e=0x32) (Reg 0x804f=0x20) +(Reg 0x8050=0x20) (Reg 0x8051=0x20) (Reg 0x8052=0x20) (Reg 0x8053=0x20) +(Reg 0x8054=0x32) (Reg 0x8055=0x30) (Reg 0x8056=0x31) (Reg 0x8057=0x35) +(Reg 0x8058=0x30) (Reg 0x8059=0x33) (Reg 0x805a=0x31) (Reg 0x805b=0x39) +(Reg 0x805c=0x00) (Reg 0x805d=0x00) (Reg 0x805e=0x57) (Reg 0x805f=0x4f) +(Reg 0x8060=0x54) (Reg 0x8061=0x52) (Reg 0x8062=0x43) (Reg 0x8063=0x35) +(Reg 0x8064=0x50) (Reg 0x8065=0x42) (Reg 0x8066=0x41) (Reg 0x8067=0x41) +(Reg 0x8068=0x6e) (Reg 0x8069=0x5a) (Reg 0x806a=0x00) (Reg 0x806b=0x05) +(Reg 0x806c=0x02) (Reg 0x806d=0x03) (Reg 0x806e=0x0c) (Reg 0x806f=0x03) +(Reg 0x8070=0x0f) (Reg 0x8071=0x20) (Reg 0x8072=0x01) (Reg 0x8073=0x01) +(Reg 0x8074=0x08) (Reg 0x8075=0x00) (Reg 0x8076=0xfe) (Reg 0x8077=0x01) +(Reg 0x8078=0x00) (Reg 0x8079=0x00) (Reg 0x807a=0x00) (Reg 0x807b=0x02) +(Reg 0x807c=0x03) (Reg 0x807d=0x00) (Reg 0x807e=0x00) (Reg 0x807f=0xe4) + +NVR 2 Registers: + +(Reg 0x8080=0x4b) (Reg 0x8081=0x00) (Reg 0x8082=0x46) (Reg 0x8083=0x00) +(Reg 0x8084=0x00) (Reg 0x8085=0x00) (Reg 0x8086=0xfb) (Reg 0x8087=0x00) +(Reg 0x8088=0x8a) (Reg 0x8089=0x00) (Reg 0x808a=0x87) (Reg 0x808b=0x5a) +(Reg 0x808c=0x7a) (Reg 0x808d=0x76) (Reg 0x808e=0x77) (Reg 0x808f=0xe2) +(Reg 0x8090=0x00) (Reg 0x8091=0x00) (Reg 0x8092=0x00) (Reg 0x8093=0x00) +(Reg 0x8094=0x00) (Reg 0x8095=0x00) (Reg 0x8096=0x00) (Reg 0x8097=0x00) +(Reg 0x8098=0x00) (Reg 0x8099=0x00) (Reg 0x809a=0x00) (Reg 0x809b=0x00) +(Reg 0x809c=0x00) (Reg 0x809d=0x00) (Reg 0x809e=0x00) (Reg 0x809f=0x00) +(Reg 0x80a0=0x00) (Reg 0x80a1=0x00) (Reg 0x80a2=0x00) (Reg 0x80a3=0x00) +(Reg 0x80a4=0x00) (Reg 0x80a5=0x00) (Reg 0x80a6=0x00) (Reg 0x80a7=0x00) +(Reg 0x80a8=0x13) (Reg 0x80a9=0x88) (Reg 0x80aa=0x11) (Reg 0x80ab=0x94) +(Reg 0x80ac=0x05) (Reg 0x80ad=0xdc) (Reg 0x80ae=0x03) (Reg 0x80af=0xe8) +(Reg 0x80b0=0x45) (Reg 0x80b1=0x76) (Reg 0x80b2=0x22) (Reg 0x80b3=0xd0) +(Reg 0x80b4=0x06) (Reg 0x80b5=0xc9) (Reg 0x80b6=0x03) (Reg 0x80b7=0x66) +(Reg 0x80b8=0x5a) (Reg 0x80b9=0x00) (Reg 0x80ba=0x55) (Reg 0x80bb=0x00) +(Reg 0x80bc=0x00) (Reg 0x80bd=0x00) (Reg 0x80be=0xfb) (Reg 0x80bf=0x00) +(Reg 0x80c0=0x88) (Reg 0x80c1=0x71) (Reg 0x80c2=0x43) (Reg 0x80c3=0xe2) +(Reg 0x80c4=0x04) (Reg 0x80c5=0x62) (Reg 0x80c6=0x02) (Reg 0x80c7=0x32) +(Reg 0x80c8=0x00) (Reg 0x80c9=0x00) (Reg 0x80ca=0x00) (Reg 0x80cb=0x00) +(Reg 0x80cc=0x00) (Reg 0x80cd=0x00) (Reg 0x80ce=0x00) (Reg 0x80cf=0x00) +(Reg 0x80d0=0x00) (Reg 0x80d1=0x00) (Reg 0x80d2=0x00) (Reg 0x80d3=0x00) +(Reg 0x80d4=0x00) (Reg 0x80d5=0x00) (Reg 0x80d6=0x00) (Reg 0x80d7=0x00) +(Reg 0x80d8=0x00) (Reg 0x80d9=0x00) (Reg 0x80da=0x00) (Reg 0x80db=0x00) +(Reg 0x80dc=0x00) (Reg 0x80dd=0x00) (Reg 0x80de=0x00) (Reg 0x80df=0x00) +(Reg 0x80e0=0x00) (Reg 0x80e1=0x00) (Reg 0x80e2=0x00) (Reg 0x80e3=0x00) +(Reg 0x80e4=0x00) (Reg 0x80e5=0x00) (Reg 0x80e6=0x00) (Reg 0x80e7=0x00) +(Reg 0x80e8=0x00) (Reg 0x80e9=0x00) (Reg 0x80ea=0x00) (Reg 0x80eb=0x00) +(Reg 0x80ec=0x00) (Reg 0x80ed=0x00) (Reg 0x80ee=0x00) (Reg 0x80ef=0x00) +(Reg 0x80f0=0x00) (Reg 0x80f1=0x00) (Reg 0x80f2=0x00) (Reg 0x80f3=0x00) +(Reg 0x80f4=0x00) (Reg 0x80f5=0x00) (Reg 0x80f6=0x00) (Reg 0x80f7=0x00) +(Reg 0x80f8=0x00) (Reg 0x80f9=0x00) (Reg 0x80fa=0x00) (Reg 0x80fb=0x00) +(Reg 0x80fc=0x00) (Reg 0x80fd=0x00) (Reg 0x80fe=0x00) (Reg 0x80ff=0x93) + +NVR 3 Registers: + +(Reg 0x8100=0x00) (Reg 0x8101=0x00) (Reg 0x8102=0x00) (Reg 0x8103=0x00) +(Reg 0x8104=0x00) (Reg 0x8105=0x00) (Reg 0x8106=0x00) (Reg 0x8107=0x00) +(Reg 0x8108=0x00) (Reg 0x8109=0x00) (Reg 0x810a=0x00) (Reg 0x810b=0x00) +(Reg 0x810c=0x00) (Reg 0x810d=0x00) (Reg 0x810e=0x00) (Reg 0x810f=0x00) +(Reg 0x8110=0x00) (Reg 0x8111=0x00) (Reg 0x8112=0x00) (Reg 0x8113=0x00) +(Reg 0x8114=0x00) (Reg 0x8115=0x00) (Reg 0x8116=0x00) (Reg 0x8117=0x00) +(Reg 0x8118=0x00) (Reg 0x8119=0x00) (Reg 0x811a=0x00) (Reg 0x811b=0x00) +(Reg 0x811c=0x00) (Reg 0x811d=0x00) (Reg 0x811e=0x00) (Reg 0x811f=0x00) +(Reg 0x8120=0x00) (Reg 0x8121=0x00) (Reg 0x8122=0x00) (Reg 0x8123=0x00) +(Reg 0x8124=0x00) (Reg 0x8125=0x00) (Reg 0x8126=0x00) (Reg 0x8127=0x00) +(Reg 0x8128=0x00) (Reg 0x8129=0x00) (Reg 0x812a=0x00) (Reg 0x812b=0x00) +(Reg 0x812c=0x00) (Reg 0x812d=0x00) (Reg 0x812e=0x00) (Reg 0x812f=0x00) +(Reg 0x8130=0x00) (Reg 0x8131=0x00) (Reg 0x8132=0x00) (Reg 0x8133=0x00) +(Reg 0x8134=0x00) (Reg 0x8135=0x00) (Reg 0x8136=0x00) (Reg 0x8137=0x00) +(Reg 0x8138=0x00) (Reg 0x8139=0x00) (Reg 0x813a=0x00) (Reg 0x813b=0x00) +(Reg 0x813c=0x00) (Reg 0x813d=0x00) (Reg 0x813e=0x00) (Reg 0x813f=0x00) +(Reg 0x8140=0x00) (Reg 0x8141=0x00) (Reg 0x8142=0x00) (Reg 0x8143=0x00) +(Reg 0x8144=0x00) (Reg 0x8145=0x00) (Reg 0x8146=0x00) (Reg 0x8147=0x00) +(Reg 0x8148=0x00) (Reg 0x8149=0x00) (Reg 0x814a=0x00) (Reg 0x814b=0x00) +(Reg 0x814c=0x00) (Reg 0x814d=0x00) (Reg 0x814e=0x00) (Reg 0x814f=0x00) +(Reg 0x8150=0x00) (Reg 0x8151=0x00) (Reg 0x8152=0x00) (Reg 0x8153=0x00) +(Reg 0x8154=0x00) (Reg 0x8155=0x00) (Reg 0x8156=0x00) (Reg 0x8157=0x00) +(Reg 0x8158=0x00) (Reg 0x8159=0x00) (Reg 0x815a=0x00) (Reg 0x815b=0x00) +(Reg 0x815c=0x00) (Reg 0x815d=0x00) (Reg 0x815e=0x00) (Reg 0x815f=0x00) +(Reg 0x8160=0x00) (Reg 0x8161=0x00) (Reg 0x8162=0x00) (Reg 0x8163=0x00) +(Reg 0x8164=0x00) (Reg 0x8165=0x00) (Reg 0x8166=0x00) (Reg 0x8167=0x00) +(Reg 0x8168=0x00) (Reg 0x8169=0x00) (Reg 0x816a=0x00) (Reg 0x816b=0x00) +(Reg 0x816c=0x00) (Reg 0x816d=0x00) (Reg 0x816e=0x00) (Reg 0x816f=0x00) +(Reg 0x8170=0x00) (Reg 0x8171=0x00) (Reg 0x8172=0x00) (Reg 0x8173=0x00) +(Reg 0x8174=0x00) (Reg 0x8175=0x00) (Reg 0x8176=0x00) (Reg 0x8177=0x00) +(Reg 0x8178=0x00) (Reg 0x8179=0x00) (Reg 0x817a=0x00) (Reg 0x817b=0x00) +(Reg 0x817c=0x00) (Reg 0x817d=0x00) (Reg 0x817e=0x00) (Reg 0x817f=0x00) + +NVR 4 Registers: + +(Reg 0x8180=0x00) + +VR 1 Registers: + +(Reg 0xa000=0x0000) (Reg 0xa001=0x1234) (Reg 0xa002=0x0000) (Reg 0xa003=0x0000) +(Reg 0xa004=0x0000) (Reg 0xa005=0x0000) (Reg 0xa006=0x0000) (Reg 0xa007=0x0000) +(Reg 0xa008=0x0000) (Reg 0xa009=0x0000) (Reg 0xa00a=0x0000) (Reg 0xa00b=0x0000) +(Reg 0xa00c=0x0000) (Reg 0xa00d=0x0000) (Reg 0xa00e=0x0000) (Reg 0xa00f=0x0000) +(Reg 0xa010=0x2000) (Reg 0xa011=0x0200) (Reg 0xa012=0x0200) (Reg 0xa013=0x0000) +(Reg 0xa014=0x0000) (Reg 0xa015=0x0000) (Reg 0xa016=0x0008) (Reg 0xa017=0x0000) +(Reg 0xa018=0xb180) (Reg 0xa019=0x03ff) (Reg 0xa01a=0x03ff) (Reg 0xa01b=0x0000) +(Reg 0xa01c=0x8000) (Reg 0xa01d=0x0022) (Reg 0xa01e=0x0000) (Reg 0xa01f=0x0000) +(Reg 0xa020=0x0000) (Reg 0xa021=0x8000) (Reg 0xa022=0x000f) (Reg 0xa023=0x0020) +(Reg 0xa024=0x0000) (Reg 0xa025=0x0000) (Reg 0xa026=0x0000) (Reg 0xa027=0x0000) +(Reg 0xa028=0x006a) (Reg 0xa029=0xa7f8) (Reg 0xa02a=0x0062) (Reg 0xa02b=0x0ff0) +(Reg 0xa02c=0x00f0) (Reg 0xa02d=0x0000) (Reg 0xa02e=0x0000) (Reg 0xa02f=0x1539) +(Reg 0xa030=0x8040) (Reg 0xa031=0x0000) (Reg 0xa032=0x657e) (Reg 0xa033=0x3069) +(Reg 0xa034=0x0000) (Reg 0xa035=0x0000) (Reg 0xa036=0x0000) (Reg 0xa037=0x0000) +(Reg 0xa038=0x0000) (Reg 0xa039=0x0000) (Reg 0xa03a=0x0000) + +NETWORK LANE VR 1 Registers: + +(Reg 0xa200=0x0003) (Reg 0xa201=0x0003) (Reg 0xa202=0x0003) (Reg 0xa203=0x0003) +(Reg 0xa204=0x0003) (Reg 0xa205=0x0003) (Reg 0xa206=0x0003) (Reg 0xa207=0x0003) +(Reg 0xa208=0x0003) (Reg 0xa209=0x0003) (Reg 0xa20a=0x0000) (Reg 0xa20b=0x0000) +(Reg 0xa20c=0x0000) (Reg 0xa20d=0x0000) (Reg 0xa20e=0x0000) (Reg 0xa20f=0x0000) +(Reg 0xa210=0x0010) (Reg 0xa211=0x0010) (Reg 0xa212=0x0010) (Reg 0xa213=0x0010) +(Reg 0xa214=0x0010) (Reg 0xa215=0x0010) (Reg 0xa216=0x0010) (Reg 0xa217=0x0010) +(Reg 0xa218=0x0010) (Reg 0xa219=0x0010) (Reg 0xa21a=0x0000) (Reg 0xa21b=0x0000) +(Reg 0xa21c=0x0000) (Reg 0xa21d=0x0000) (Reg 0xa21e=0x0000) (Reg 0xa21f=0x0000) +(Reg 0xa220=0x0003) (Reg 0xa221=0x0003) (Reg 0xa222=0x0003) (Reg 0xa223=0x0003) +(Reg 0xa224=0x0003) (Reg 0xa225=0x0003) (Reg 0xa226=0x0003) (Reg 0xa227=0x0003) +(Reg 0xa228=0x0003) (Reg 0xa229=0x0003) (Reg 0xa22a=0x0000) (Reg 0xa22b=0x0000) +(Reg 0xa22c=0x0000) (Reg 0xa22d=0x0000) (Reg 0xa22e=0x0000) (Reg 0xa22f=0x0000) +(Reg 0xa230=0x0010) (Reg 0xa231=0x0010) (Reg 0xa232=0x0010) (Reg 0xa233=0x0010) +(Reg 0xa234=0x0010) (Reg 0xa235=0x0010) (Reg 0xa236=0x0010) (Reg 0xa237=0x0010) +(Reg 0xa238=0x0010) (Reg 0xa239=0x0010) (Reg 0xa23a=0x0000) (Reg 0xa23b=0x0000) +(Reg 0xa23c=0x0000) (Reg 0xa23d=0x0000) (Reg 0xa23e=0x0000) (Reg 0xa23f=0x0000) +(Reg 0xa240=0xffff) (Reg 0xa241=0xffff) (Reg 0xa242=0xffff) (Reg 0xa243=0xffff) +(Reg 0xa244=0xffff) (Reg 0xa245=0xffff) (Reg 0xa246=0xffff) (Reg 0xa247=0xffff) +(Reg 0xa248=0xffff) (Reg 0xa249=0xffff) (Reg 0xa24a=0x0000) (Reg 0xa24b=0x0000) +(Reg 0xa24c=0x0000) (Reg 0xa24d=0x0000) (Reg 0xa24e=0x0000) (Reg 0xa24f=0x0000) +(Reg 0xa250=0xe0dc) (Reg 0xa251=0xe0dc) (Reg 0xa252=0xe0dc) (Reg 0xa253=0xe0dc) +(Reg 0xa254=0xe0dc) (Reg 0xa255=0xe0dc) (Reg 0xa256=0xe0dc) (Reg 0xa257=0xe0dc) +(Reg 0xa258=0xe0dc) (Reg 0xa259=0xe0dc) (Reg 0xa25a=0x0000) (Reg 0xa25b=0x0000) +(Reg 0xa25c=0x0000) (Reg 0xa25d=0x0000) (Reg 0xa25e=0x0000) (Reg 0xa25f=0x0000) +(Reg 0xa260=0x0000) + +NETWORK LANE VR 2 Registers: + +(Reg 0xa280=0x0000) (Reg 0xa281=0x0000) (Reg 0xa282=0x0000) (Reg 0xa283=0x0000) +(Reg 0xa284=0x0000) (Reg 0xa285=0x0000) (Reg 0xa286=0x0000) (Reg 0xa287=0x0000) +(Reg 0xa288=0x0000) (Reg 0xa289=0x0000) (Reg 0xa28a=0x0000) (Reg 0xa28b=0x0000) +(Reg 0xa28c=0x0000) (Reg 0xa28d=0x0000) (Reg 0xa28e=0x0000) (Reg 0xa28f=0x0000) +(Reg 0xa290=0x0000) (Reg 0xa291=0x0000) (Reg 0xa292=0x0000) (Reg 0xa293=0x0000) +(Reg 0xa294=0x0000) (Reg 0xa295=0x0000) (Reg 0xa296=0x0000) (Reg 0xa297=0x0000) +(Reg 0xa298=0x0000) (Reg 0xa299=0x0000) (Reg 0xa29a=0x0000) (Reg 0xa29b=0x0000) +(Reg 0xa29c=0x0000) (Reg 0xa29d=0x0000) (Reg 0xa29e=0x0000) (Reg 0xa29f=0x0000) +(Reg 0xa2a0=0x0000) (Reg 0xa2a1=0x0000) (Reg 0xa2a2=0x0000) (Reg 0xa2a3=0x0000) +(Reg 0xa2a4=0x0000) (Reg 0xa2a5=0x0000) (Reg 0xa2a6=0x0000) (Reg 0xa2a7=0x0000) +(Reg 0xa2a8=0x0000) (Reg 0xa2a9=0x0000) (Reg 0xa2aa=0x0000) (Reg 0xa2ab=0x0000) +(Reg 0xa2ac=0x0000) (Reg 0xa2ad=0x0000) (Reg 0xa2ae=0x0000) (Reg 0xa2af=0x0000) +(Reg 0xa2b0=0x0000) (Reg 0xa2b1=0x0000) (Reg 0xa2b2=0x0000) (Reg 0xa2b3=0x0000) +(Reg 0xa2b4=0x0000) (Reg 0xa2b5=0x0000) (Reg 0xa2b6=0x0000) (Reg 0xa2b7=0x0000) +(Reg 0xa2b8=0x0000) (Reg 0xa2b9=0x0000) (Reg 0xa2ba=0x0000) (Reg 0xa2bb=0x0000) +(Reg 0xa2bc=0x0000) (Reg 0xa2bd=0x0000) (Reg 0xa2be=0x0000) (Reg 0xa2bf=0x0000) +(Reg 0xa2c0=0x1c39) (Reg 0xa2c1=0x1c39) (Reg 0xa2c2=0x1c39) (Reg 0xa2c3=0x1c39) +(Reg 0xa2c4=0x1c39) (Reg 0xa2c5=0x1c39) (Reg 0xa2c6=0x1c39) (Reg 0xa2c7=0x1c39) +(Reg 0xa2c8=0x1c39) (Reg 0xa2c9=0x1c39) (Reg 0xa2ca=0x0000) (Reg 0xa2cb=0x0000) +(Reg 0xa2cc=0x0000) (Reg 0xa2cd=0x0000) (Reg 0xa2ce=0x0000) (Reg 0xa2cf=0x0000) +(Reg 0xa2d0=0x0000) (Reg 0xa2d1=0x0000) (Reg 0xa2d2=0x0000) (Reg 0xa2d3=0x0000) +(Reg 0xa2d4=0x0000) (Reg 0xa2d5=0x0000) (Reg 0xa2d6=0x0000) (Reg 0xa2d7=0x0000) +(Reg 0xa2d8=0x0000) (Reg 0xa2d9=0x0000) (Reg 0xa2da=0x0000) (Reg 0xa2db=0x0000) +(Reg 0xa2dc=0x0000) (Reg 0xa2dd=0x0000) (Reg 0xa2de=0x0000) (Reg 0xa2df=0x0000) +(Reg 0xa2e0=0x0000) + +HOST LANE VR 1 Registers: + +(Reg 0xa400=0x0000) (Reg 0xa401=0x0000) (Reg 0xa402=0x0000) (Reg 0xa403=0x0000) +(Reg 0xa404=0x0000) (Reg 0xa405=0x0000) (Reg 0xa406=0x0000) (Reg 0xa407=0x0000) +(Reg 0xa408=0x0000) (Reg 0xa409=0x0000) (Reg 0xa40a=0x0000) (Reg 0xa40b=0x0000) +(Reg 0xa40c=0x0000) (Reg 0xa40d=0x0000) (Reg 0xa40e=0x0000) (Reg 0xa40f=0x0000) +(Reg 0xa410=0x0000) (Reg 0xa411=0x0000) (Reg 0xa412=0x0000) (Reg 0xa413=0x0000) +(Reg 0xa414=0x0000) (Reg 0xa415=0x0000) (Reg 0xa416=0x0000) (Reg 0xa417=0x0000) +(Reg 0xa418=0x0000) (Reg 0xa419=0x0000) (Reg 0xa41a=0x0000) (Reg 0xa41b=0x0000) +(Reg 0xa41c=0x0000) (Reg 0xa41d=0x0000) (Reg 0xa41e=0x0000) (Reg 0xa41f=0x0000) +(Reg 0xa420=0x0001) (Reg 0xa421=0x0001) (Reg 0xa422=0x0001) (Reg 0xa423=0x0001) +(Reg 0xa424=0x0001) (Reg 0xa425=0x0001) (Reg 0xa426=0x0001) (Reg 0xa427=0x0001) +(Reg 0xa428=0x0001) (Reg 0xa429=0x0001) (Reg 0xa42a=0x0000) (Reg 0xa42b=0x0000) +(Reg 0xa42c=0x0000) (Reg 0xa42d=0x0000) (Reg 0xa42e=0x0000) (Reg 0xa42f=0x0000) +(Reg 0xa430=0x0000) (Reg 0xa431=0x0000) (Reg 0xa432=0x0000) (Reg 0xa433=0x0000) +(Reg 0xa434=0x0000) (Reg 0xa435=0x0000) (Reg 0xa436=0x0000) (Reg 0xa437=0x0000) +(Reg 0xa438=0x0000) (Reg 0xa439=0x0000) (Reg 0xa43a=0x0000) (Reg 0xa43b=0x0000) +(Reg 0xa43c=0x0000) (Reg 0xa43d=0x0000) (Reg 0xa43e=0x0000) (Reg 0xa43f=0x0000) +(Reg 0xa440=0x0007) (Reg 0xa441=0x0007) (Reg 0xa442=0x0007) (Reg 0xa443=0x0007) +(Reg 0xa444=0x0007) (Reg 0xa445=0x0007) (Reg 0xa446=0x0007) (Reg 0xa447=0x0007) +(Reg 0xa448=0x0007) (Reg 0xa449=0x0007) (Reg 0xa44a=0x0000) (Reg 0xa44b=0x0000) +(Reg 0xa44c=0x0000) (Reg 0xa44d=0x0000) (Reg 0xa44e=0x0000) (Reg 0xa44f=0x0000) +(Reg 0xa450=0x0000) diff --git a/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.yml b/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.yml new file mode 100644 index 0000000000..e595ac0273 --- /dev/null +++ b/tests/cisco_xr/show_controllers_hundredgige_all/cisco_xr_show_controllers_hundredgige_all.yml @@ -0,0 +1,1858 @@ +--- +parsed_sample: + - interface: "HundredGigE0/0/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "" + part_num: "" + serial_num: "" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122017" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122017" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3b29" + mac_bia_add: "54a2.741c.3b29" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122017" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/0/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122017" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092109" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092109" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3b2a" + mac_bia_add: "54a2.741c.3b2a" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092109" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/0/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092109" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122019" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122019" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3b2b" + mac_bia_add: "54a2.741c.3b2b" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122019" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/0/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122019" + led_state: "Yellow On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122030" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122030" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3b2c" + mac_bia_add: "54a2.741c.3b2c" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/0/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122030" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "1514" + mru: "1514" + fec: "" + - interface: "HundredGigE0/4/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122030" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092110" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092110" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3c5d" + mac_bia_add: "54a2.741c.3c5d" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/0" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092110" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/4/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092110" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092111" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092111" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3c5e" + mac_bia_add: "54a2.741c.3c5e" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/1" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092111" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/4/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19092111" + led_state: "Green On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122025" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122025" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3c5f" + mac_bia_add: "54a2.741c.3c5f" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/2" + admin_state: "enabled" + ops_state: "Up" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122025" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "9216" + mru: "9216" + fec: "" + - interface: "HundredGigE0/4/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122025" + led_state: "Yellow On" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122022" + led_state: "" + media_type: "MMF fiber over 10 lane optics (short reach)" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122022" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "54a2.741c.3c60" + mac_bia_add: "54a2.741c.3c60" + autonegotiation: "" + speed: "" + duplex: "" + flow_control: "" + loopback: "" + mtu: "" + mru: "" + fec: "" + - interface: "HundredGigE0/4/0/3" + admin_state: "disabled" + ops_state: "Down" + vendor: "CISCO" + part_num: "800-41495-01" + serial_num: "FBN19122022" + led_state: "" + media_type: "" + temperature_value: "" + voltage_value: "" + dom_alarms: "" + lane: "" + wavelength: "" + rx_value_dbm: "" + rx_value_mw: "" + tx_value_dbm: "" + tx_value_mw: "" + laser_bias: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_alarm_mw_high: "" + rx_alarm_mw_low: "" + rx_warn_mw_high: "" + rx_warn_mw_low: "" + tx_alarm_mw_high: "" + tx_alarm_mw_low: "" + tx_warn_mw_high: "" + tx_warn_mw_low: "" + rx_alarm_dbm_high: "" + rx_alarm_dbm_low: "" + rx_warn_dbm_high: "" + rx_warn_dbm_low: "" + tx_alarm_dbm_high: "" + tx_alarm_dbm_low: "" + tx_warn_dbm_high: "" + tx_warn_dbm_low: "" + fec_corrected: "" + fec_uncorrected: "" + mac_ops_add: "" + mac_bia_add: "" + autonegotiation: "" + speed: "100Gbps" + duplex: "Full Duplex" + flow_control: "None" + loopback: "None (or external)" + mtu: "1514" + mru: "1514" + fec: "" From 8c8269d076eb1ddd201acf94d03fbc1b12b1d502 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 19 Dec 2022 16:05:37 -0500 Subject: [PATCH 332/412] Modified arista_eos_show_vlan to list Ports issue #908 (#1248) Co-authored-by: bravindranath@aristanetworks.com --- .../templates/arista_eos_show_vlan.textfsm | 134 +++++++++++++++++- .../show_vlan/arista_eos_show_vlan.yml | 7 + 2 files changed, 139 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/arista_eos_show_vlan.textfsm b/ntc_templates/templates/arista_eos_show_vlan.textfsm index 2a1bbc4618..aa7360873e 100644 --- a/ntc_templates/templates/arista_eos_show_vlan.textfsm +++ b/ntc_templates/templates/arista_eos_show_vlan.textfsm @@ -1,6 +1,136 @@ -Value VLAN_ID (\d+) +Value Required VLAN_ID (\d+) Value NAME (\S+) Value STATUS (active|suspended) +Value List INTERFACES ([\w\./]+) Start - ^${VLAN_ID}\s+${NAME}\s+${STATUS} -> Record + ^\s*$$ + ^\w+\s+[NnAaMmEe]{4}.*$$ -> VLANS + +VLANS + ^\d+ -> Continue.Record + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s*$$ + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s+${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){60}${INTERFACES},* -> Continue + ^\s+${INTERFACES},* -> Continue + ^\s+\S+\s+${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){2}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){60}${INTERFACES},* -> Continue + ^\d+ + ^\s+ + ^-+ + ^.+ -> Error diff --git a/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml b/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml index 6bb047a021..1cb19a8c06 100644 --- a/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml +++ b/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml @@ -3,12 +3,19 @@ parsed_sample: - name: "default" status: "active" vlan_id: "1" + interfaces: + - "Et1" - name: "Test1" status: "active" vlan_id: "10" + interfaces: + - "Et1" + - "Et2" - name: "Test2" status: "suspended" vlan_id: "20" + interfaces: [] - name: "VLAN0030" status: "suspended" vlan_id: "30" + interfaces: [] From f80c1a257c469ad40d0a410bc76013c39ef37753 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 19 Dec 2022 16:50:37 -0500 Subject: [PATCH 333/412] Armartirosyan/cisco ios show ip bgp neighbors (#1250) * fix for #914 * Add test data Co-authored-by: Armen Martirosyan --- .../cisco_ios_show_ip_bgp_neighbors.textfsm | 3 ++- .../cisco_ios_show_ip_bgp_neighbors.yml | 1 + .../cisco_ios_show_ip_bgp_neighbors_multiple.raw | 2 +- .../cisco_ios_show_ip_bgp_neighbors_multiple.yml | 12 ++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm index 694b76b540..495a88b990 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm @@ -1,4 +1,5 @@ Value NEIGHBOR (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value VRF (\S+) Value REMOTE_AS (\d+) Value PEER_GROUP (\S+) Value REMOTE_ROUTER_ID (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) @@ -13,7 +14,7 @@ Value OUTBOUND_ROUTEMAP (\S+) Start # Capture first line, which shows the BGP neighor and remote AS number ^BGP\s+neighbor\s+is -> Continue.Record - ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${REMOTE_AS} + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},(\s+vrf\s+${VRF},)?\s+remote\s+AS\s+${REMOTE_AS} # Capture BGP peer group # Example: 'Member of peer-group RR_SERVERS for session parameters' ^\s*Member\s+of\s+peer-group\s+${PEER_GROUP} diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml index e465812abe..2175f86b03 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml @@ -11,3 +11,4 @@ parsed_sample: remote_port: "179" inbound_routemap: "" outbound_routemap: "" + vrf: "" diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw index 059193629a..5930cbab0c 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw @@ -1,4 +1,4 @@ -BGP neighbor is 175.135.172.146, remote AS 65180, internal link +BGP neighbor is 175.135.172.146, vrf DEV, remote AS 65180, internal link Description: nsxe-core-rtr1 Member of peer-group HMCO-core for session parameters BGP version 4, remote router ID 9.229.30.214 diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml index 09a322a760..0cf2bff4a1 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml @@ -11,6 +11,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "" outbound_routemap: "" + vrf: "DEV" - neighbor: "42.116.171.166" remote_as: "65182" peer_group: "LAN" @@ -22,6 +23,7 @@ parsed_sample: remote_port: "28912" inbound_routemap: "" outbound_routemap: "" + vrf: "" - neighbor: "5.233.102.244" remote_as: "65181" peer_group: "Vendor" @@ -33,6 +35,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP_Vendor_in" outbound_routemap: "BGP_Vendor_out" + vrf: "" - neighbor: "191.113.218.187" remote_as: "65181" peer_group: "Vendor" @@ -44,6 +47,7 @@ parsed_sample: remote_port: "" inbound_routemap: "BGP_Vendor_in" outbound_routemap: "BGP_Vendor_out" + vrf: "" - neighbor: "50.231.89.165" remote_as: "65183" peer_group: "AWS" @@ -55,6 +59,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP_AWS_in" outbound_routemap: "BGP_AWS_out" + vrf: "" - neighbor: "121.216.88.225" remote_as: "65183" peer_group: "AWS" @@ -66,6 +71,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP_AWS_in" outbound_routemap: "BGP_AWS_out" + vrf: "" - neighbor: "71.163.23.191" remote_as: "65184" peer_group: "Merge" @@ -77,6 +83,7 @@ parsed_sample: remote_port: "" inbound_routemap: "BGP_Merge_in" outbound_routemap: "BGP_Merge_out" + vrf: "" - neighbor: "87.90.154.72" remote_as: "65004" peer_group: "L3-CE-SEC" @@ -88,6 +95,7 @@ parsed_sample: remote_port: "" inbound_routemap: "BGP-L3-CE-SEC-in" outbound_routemap: "BGP-L3-CE-SEC-out" + vrf: "" - neighbor: "35.139.51.35" remote_as: "65004" peer_group: "L3-CE-PRI" @@ -99,6 +107,7 @@ parsed_sample: remote_port: "" inbound_routemap: "BGP-L3-CE-PRI-in" outbound_routemap: "BGP-L3-CE-PRI-out" + vrf: "" - neighbor: "13.167.37.139" remote_as: "64514" peer_group: "SDWAN-DIA" @@ -110,6 +119,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP-SDWAN-in" outbound_routemap: "BGP-SDWAN-out" + vrf: "" - neighbor: "72.37.28.119" remote_as: "18830" peer_group: "Internet" @@ -121,6 +131,7 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP_Internet_in" outbound_routemap: "BGP_Internet_out" + vrf: "" - neighbor: "201.93.188.161" remote_as: "18830" peer_group: "Internet" @@ -132,3 +143,4 @@ parsed_sample: remote_port: "179" inbound_routemap: "BGP_Internet_in" outbound_routemap: "BGP_Internet_out" + vrf: "" From e648f186928e447b1b82f8d3c9e62962bdf6e87a Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 19 Dec 2022 17:09:10 -0500 Subject: [PATCH 334/412] Add ipinfusion_ocnos_show_lldp_table template (#1251) Co-authored-by: mheniMerz --- ntc_templates/templates/index | 2 + .../ipinfusion_ocnos_show_lldp_table.textfsm | 17 +++++++++ .../ipinfusion_ocnos_show_lldp_table.raw | 12 ++++++ .../ipinfusion_ocnos_show_lldp_table.yml | 37 +++++++++++++++++++ tests/test_index_order.py | 1 + 5 files changed, 69 insertions(+) create mode 100644 ntc_templates/templates/ipinfusion_ocnos_show_lldp_table.textfsm create mode 100644 tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.raw create mode 100644 tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 986995fd22..bdcb2ff0ba 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -496,6 +496,8 @@ huawei_vrp_display_acl_all.textfsm, .*, huawei_vrp, dis[[play]] acl(\si[[pv6]])? huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] +ipinfusion_ocnos_show_lldp_table.textfsm, .*, ipinfusion_ocnos, show ll[[dp]] t[[able]] + juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] diff --git a/ntc_templates/templates/ipinfusion_ocnos_show_lldp_table.textfsm b/ntc_templates/templates/ipinfusion_ocnos_show_lldp_table.textfsm new file mode 100644 index 0000000000..fdab3aab9f --- /dev/null +++ b/ntc_templates/templates/ipinfusion_ocnos_show_lldp_table.textfsm @@ -0,0 +1,17 @@ +Value LOCAL_INTERFACE (\S+) +Value NEIGHBOR (\S+) +Value NEIGHBOR_INTERFACE (\S+) +Value CAPABILITY (R|B|O|RO|RB|BR|BO|OR|OB|RBO|ROB|BRO|BOR|ORB|OBR) +Value NEIGHBOR_INTERFACE_DESCR (\S+) + +Start + ^Capability\s+codes:\s+\(R\)\s+Router,\s+\(B\)\s+Bridge,\s+\(O\)\s+Other + ^LocalPort\s+RemoteDevice\s+RemotePortID\s+Capability\s+RemotePortDescr + ^[-+\s+]+ -> Row + ^. -> Error + +Row + ^${LOCAL_INTERFACE}\s+${NEIGHBOR}\s+${NEIGHBOR_INTERFACE}\s+${CAPABILITY}\s+${NEIGHBOR_INTERFACE_DESCR} -> Record + ^-+ + ^[\w+\s+]*:\s+\d+ + ^. -> Error diff --git a/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.raw b/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.raw new file mode 100644 index 0000000000..5294d23369 --- /dev/null +++ b/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.raw @@ -0,0 +1,12 @@ +Capability codes: (R) Router, (B) Bridge, (O) Other +LocalPort RemoteDevice RemotePortID Capability RemotePortDescr +----------- --------------- -------------- ------------ ----------------- +Ethernet0 spine01 fortyGigE0/20 BR Ethernet20 +Ethernet4 spine02 fortyGigE0/20 BR Ethernet20 +Ethernet8 leaf01 fortyGigE0/20 BR Ethernet20 +Ethernet12 leaf02 fortyGigE0/20 BR Ethernet20 +Ethernet16 leaf03 fortyGigE0/24 BR Ethernet24 +Ethernet20 leaf04 fortyGigE0/24 BR Ethernet24 +eth0 mgmt-switch swp14 BR swp14 +-------------------------------------------------- +Total entries displayed: 7 diff --git a/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.yml b/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.yml new file mode 100644 index 0000000000..a859914c90 --- /dev/null +++ b/tests/ipinfusion_ocnos/show_lldp_table/ipinfusion_ocnos_show_lldp_table.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - local_interface: "Ethernet0" + neighbor: "spine01" + neighbor_interface: "fortyGigE0/20" + capability: "BR" + neighbor_interface_descr: "Ethernet20" + - local_interface: "Ethernet4" + neighbor: "spine02" + neighbor_interface: "fortyGigE0/20" + capability: "BR" + neighbor_interface_descr: "Ethernet20" + - local_interface: "Ethernet8" + neighbor: "leaf01" + neighbor_interface: "fortyGigE0/20" + capability: "BR" + neighbor_interface_descr: "Ethernet20" + - local_interface: "Ethernet12" + neighbor: "leaf02" + neighbor_interface: "fortyGigE0/20" + capability: "BR" + neighbor_interface_descr: "Ethernet20" + - local_interface: "Ethernet16" + neighbor: "leaf03" + neighbor_interface: "fortyGigE0/24" + capability: "BR" + neighbor_interface_descr: "Ethernet24" + - local_interface: "Ethernet20" + neighbor: "leaf04" + neighbor_interface: "fortyGigE0/24" + capability: "BR" + neighbor_interface_descr: "Ethernet24" + - local_interface: "eth0" + neighbor: "mgmt-switch" + neighbor_interface: "swp14" + capability: "BR" + neighbor_interface_descr: "swp14" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index f2280c2802..a70832a503 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -39,6 +39,7 @@ "hp_comware", "hp_procurve", "huawei_vrp", + "ipinfusion_ocnos", "juniper", "juniper_junos", "juniper_screenos", From 812e1436a56d03f9f8e7f0d686ba449152767118 Mon Sep 17 00:00:00 2001 From: sacharv Date: Tue, 20 Dec 2022 07:08:15 +0800 Subject: [PATCH 335/412] juniper: add SRX and XE support to show version (#1053) * juniper: add SRX and XE support to show version * Apply suggestions from code review Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> --- .../juniper_junos_show_version.textfsm | 10 +- .../juniper_junos_show_version.yml | 2 + .../juniper_junos_show_version_ex.raw | 21 ++ .../juniper_junos_show_version_ex.yml | 50 +++++ ...juniper_junos_show_version_srx_cluster.raw | 99 +++++++++ ...juniper_junos_show_version_srx_cluster.yml | 202 ++++++++++++++++++ 6 files changed, 383 insertions(+), 1 deletion(-) create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version_ex.raw create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version_ex.yml create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.raw create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.yml diff --git a/ntc_templates/templates/juniper_junos_show_version.textfsm b/ntc_templates/templates/juniper_junos_show_version.textfsm index 6e62395a34..d72bfc7c00 100644 --- a/ntc_templates/templates/juniper_junos_show_version.textfsm +++ b/ntc_templates/templates/juniper_junos_show_version.textfsm @@ -7,6 +7,7 @@ Value KERNEL_SOFTWARE_SUITE (\S+) Value CRYPTO_SOFTWARE_SUITE (\S+) Value PACKET_FORWARDING_ENGINE_SUPPORT_M_T_EX_COMMON (\S+) Value PACKET_FORWARDING_ENGINE_SUPPORT_MX_COMMON (\S+) +Value FIPS_MODE_UTILITIES (\S+) Value ONLINE_DOCUMENTATION (\S+) Value SERVICES_AACL_CONTAINER_PACKAGE (\S+) Value SERVICES_APPLICATION_LEVEL_GATEWAYS (\S+) @@ -36,17 +37,20 @@ Value SERIAL_NUMBER (\S+) Value QFABRIC_SYSTEM_ID (\S+) Value List OTHER_DEVICE_PROPERTIES ([^\[]*) Value List OTHER_PROPERTIES_VERSIONS (\S+) +Value REDIS_VERSION (\S+) Start - ^Hostname:\s+${HOSTNAME} + ^Hostname:\s+${HOSTNAME} ^Model:\s+${MODEL} ^Junos:\s+${JUNOS_VERSION} + ^JUNOS\s+EX\s*Software\s+Suite\s+\[${JUNOS_VERSION}\] ^JUNOS\s+Base\s+OS\s+boot\s+\[${BASE_OS_BOOT}\] ^JUNOS\s+Base\s+OS\s+Software\s+Suite\s+\[${BASE_OS_SOFTWARE_SUITE}\] ^JUNOS\s+Kernel\s+Software\s+Suite\s+\[${KERNEL_SOFTWARE_SUITE}\] ^JUNOS\s+Crypto\s+Software\s+Suite\s+\[${CRYPTO_SOFTWARE_SUITE}\] ^JUNOS\s+Packet\s+Forwarding\s+Engine\s+Support\s+\(M/T/EX\s+Common\)\s+\[${PACKET_FORWARDING_ENGINE_SUPPORT_M_T_EX_COMMON}\] ^JUNOS\s+Packet\s+Forwarding\s+Engine\s+Support\s+\(MX\s+Common\)\s+\[${PACKET_FORWARDING_ENGINE_SUPPORT_MX_COMMON}\] + ^JUNOS\s+FIPS\s+mode\s+utilities\s+\[${FIPS_MODE_UTILITIES}\] ^JUNOS\s+Online\s+Documentation\s+\[${ONLINE_DOCUMENTATION}\] ^JUNOS\s+Services\s+AACL\s+Container\s+package\s+\[${SERVICES_AACL_CONTAINER_PACKAGE}\] ^JUNOS\s+Services\s+Application\s+Level\s+Gateways\s+\[${SERVICES_APPLICATION_LEVEL_GATEWAYS}\] @@ -75,7 +79,11 @@ Start ^Serial\s+Number:\s+${SERIAL_NUMBER} ^QFabric\s+System\s+ID:\s+${QFABRIC_SYSTEM_ID} ^JUNOS\s+${OTHER_DEVICE_PROPERTIES}\[${OTHER_PROPERTIES_VERSIONS}\] + ^Redis\s+\[${REDIS_VERSION}\] ^fpc\d+ + ^node\d+ ^----- ^{master:\d+} + ^{primary:\S+} + ^\s*$$ ^. -> Error diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.yml b/tests/juniper_junos/show_version/juniper_junos_show_version.yml index 12dd9fbcfe..5bd54a21f4 100644 --- a/tests/juniper_junos/show_version/juniper_junos_show_version.yml +++ b/tests/juniper_junos/show_version/juniper_junos_show_version.yml @@ -9,6 +9,7 @@ parsed_sample: crypto_software_suite: "13.3R1.4" packet_forwarding_engine_support_m_t_ex_common: "13.3R1.4" packet_forwarding_engine_support_mx_common: "13.3R1.4" + fips_mode_utilities: "" online_documentation: "113.3R1.4" services_aacl_container_package: "13.3R1.4" services_application_level_gateways: "13.3R1.4" @@ -38,3 +39,4 @@ parsed_sample: qfabric_system_id: "f158527a-f99e-11e0-9fbd-00e081c57cda" other_device_properties: [] other_properties_versions: [] + redis_version: "" diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version_ex.raw b/tests/juniper_junos/show_version/juniper_junos_show_version_ex.raw new file mode 100644 index 0000000000..e4209821d3 --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version_ex.raw @@ -0,0 +1,21 @@ +fpc0: +-------------------------------------------------------------------------- +Hostname: lab +Model: ex4550-32f +JUNOS EX Software Suite [13.2X51-D35.3] +JUNOS FIPS mode utilities [13.2X51-D35.3] +JUNOS Online Documentation [13.2X51-D35.3] +JUNOS EX 4500 Software Suite [13.2X51-D35.3] +JUNOS Web Management [13.2X51-D35.3] + +fpc1: +-------------------------------------------------------------------------- +Hostname: lab +Model: ex4550-32f +JUNOS EX Software Suite [13.2X51-D35.3] +JUNOS FIPS mode utilities [13.2X51-D35.3] +JUNOS Online Documentation [13.2X51-D35.3] +JUNOS EX 4500 Software Suite [13.2X51-D35.3] +JUNOS Web Management [13.2X51-D35.3] + +{master:0} diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version_ex.yml b/tests/juniper_junos/show_version/juniper_junos_show_version_ex.yml new file mode 100644 index 0000000000..175a88f2ab --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version_ex.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - hostname: "lab" + model: "ex4550-32f" + junos_version: "13.2X51-D35.3" + base_os_boot: "" + base_os_software_suite: "" + kernel_software_suite: "" + crypto_software_suite: "" + packet_forwarding_engine_support_m_t_ex_common: "" + packet_forwarding_engine_support_mx_common: "" + fips_mode_utilities: "13.2X51-D35.3" + online_documentation: "13.2X51-D35.3" + services_aacl_container_package: "" + services_application_level_gateways: "" + appid_services: "" + border_gateway_function_package: "" + services_captive_portal_content_delivery_package: "" + services_http_content_management_package: "" + idp_services: "" + services_jflow_container_package: "" + services_ll_pdf_container_package: "" + services_mobilenext_software_package: "" + services_mobile_subscriber_service_package: "" + services_nat: "" + services_ptsp_container_package: "" + services_rpm: "" + services_stateful_firewall: "" + voice_services_container_package: "" + services_crypto: "" + services_ssl: "" + services_ipsec: "" + platform_software_suite: "" + runtime_software_suite: "" + routing_software_suite: "" + py_base_i386: "" + lab_package: "" + serial_number: "" + qfabric_system_id: "" + other_device_properties: + - "EX 4500 Software Suite " + - "Web Management " + - "EX 4500 Software Suite " + - "Web Management " + other_properties_versions: + - "13.2X51-D35.3" + - "13.2X51-D35.3" + - "13.2X51-D35.3" + - "13.2X51-D35.3" + redis_version: "" diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.raw b/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.raw new file mode 100644 index 0000000000..ec5d112e50 --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.raw @@ -0,0 +1,99 @@ +node0: +-------------------------------------------------------------------------- +Hostname: lab +Model: srx1500 +Junos: 19.4R3-S1.3 +JUNOS OS Kernel 64-bit [20201028.e1cef1d_builder_stable_11] +JUNOS OS libs [20201028.e1cef1d_builder_stable_11] +JUNOS OS runtime [20201028.e1cef1d_builder_stable_11] +JUNOS OS time zone information [20201028.e1cef1d_builder_stable_11] +JUNOS OS libs compat32 [20201028.e1cef1d_builder_stable_11] +JUNOS OS 32-bit compatibility [20201028.e1cef1d_builder_stable_11] +JUNOS py extensions2 [20201202.202156_builder_junos_194_r3_s1] +JUNOS py extensions [20201202.202156_builder_junos_194_r3_s1] +JUNOS py base2 [20201202.202156_builder_junos_194_r3_s1] +JUNOS py base [20201202.202156_builder_junos_194_r3_s1] +JUNOS OS vmguest [20201028.e1cef1d_builder_stable_11] +JUNOS OS crypto [20201028.e1cef1d_builder_stable_11] +JUNOS OS boot-ve files [20201028.e1cef1d_builder_stable_11] +JUNOS network stack and utilities [20201202.202156_builder_junos_194_r3_s1] +JUNOS libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS libs compat32 [20201202.202156_builder_junos_194_r3_s1] +JUNOS runtime [20201202.202156_builder_junos_194_r3_s1] +JUNOS na telemetry [19.4R3-S1.3] +JUNOS Web Management Platform Package [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx libs compat32 [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx runtime [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx platform support [20201202.202156_builder_junos_194_r3_s1] +JUNOS common platform support [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp runtime [20201202.202156_builder_junos_194_r3_s1] +Redis [20201202.202156_builder_junos_194_r3_s1] +JUNOS pppoe [20201202.202156_builder_junos_194_r3_s1] +JUNOS Openconfig [19.4R3-S1.3] +JUNOS mtx network modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx Data Plane Crypto Support [20201202.202156_builder_junos_194_r3_s1] +JUNOS daemons [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx daemons [20201202.202156_builder_junos_194_r3_s1] +JUNOS SRX TVP AppQos Daemon [20201202.202156_builder_junos_194_r3_s1] +JUNOS Extension Toolkit [20201202.202156_builder_junos_194_r3_s1] +JUNOS Phone-home [20201202.202156_builder_junos_194_r3_s1] +JUNOS Juniper Malware Removal Tool (JMRT) [1.0.0+20201202.202156_builder_junos_194_r3_s1] +JUNOS J-Insight [20201202.202156_builder_junos_194_r3_s1] +JUNOS Online Documentation [20201202.202156_builder_junos_194_r3_s1] +JUNOS jail runtime [20201028.e1cef1d_builder_stable_11] +JUNOS FIPS mode utilities [20201202.202156_builder_junos_194_r3_s1] + +node1: +-------------------------------------------------------------------------- +Hostname: lab +Model: srx1500 +Junos: 19.4R3-S1.3 +JUNOS OS Kernel 64-bit [20201028.e1cef1d_builder_stable_11] +JUNOS OS libs [20201028.e1cef1d_builder_stable_11] +JUNOS OS runtime [20201028.e1cef1d_builder_stable_11] +JUNOS OS time zone information [20201028.e1cef1d_builder_stable_11] +JUNOS OS libs compat32 [20201028.e1cef1d_builder_stable_11] +JUNOS OS 32-bit compatibility [20201028.e1cef1d_builder_stable_11] +JUNOS py extensions2 [20201202.202156_builder_junos_194_r3_s1] +JUNOS py extensions [20201202.202156_builder_junos_194_r3_s1] +JUNOS py base2 [20201202.202156_builder_junos_194_r3_s1] +JUNOS py base [20201202.202156_builder_junos_194_r3_s1] +JUNOS OS vmguest [20201028.e1cef1d_builder_stable_11] +JUNOS OS crypto [20201028.e1cef1d_builder_stable_11] +JUNOS OS boot-ve files [20201028.e1cef1d_builder_stable_11] +JUNOS network stack and utilities [20201202.202156_builder_junos_194_r3_s1] +JUNOS libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS libs compat32 [20201202.202156_builder_junos_194_r3_s1] +JUNOS runtime [20201202.202156_builder_junos_194_r3_s1] +JUNOS na telemetry [19.4R3-S1.3] +JUNOS Web Management Platform Package [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx libs compat32 [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx runtime [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx platform support [20201202.202156_builder_junos_194_r3_s1] +JUNOS common platform support [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp runtime [20201202.202156_builder_junos_194_r3_s1] +Redis [20201202.202156_builder_junos_194_r3_s1] +JUNOS pppoe [20201202.202156_builder_junos_194_r3_s1] +JUNOS Openconfig [19.4R3-S1.3] +JUNOS mtx network modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp modules [20201202.202156_builder_junos_194_r3_s1] +JUNOS srxtvp libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx libs [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx Data Plane Crypto Support [20201202.202156_builder_junos_194_r3_s1] +JUNOS daemons [20201202.202156_builder_junos_194_r3_s1] +JUNOS srx daemons [20201202.202156_builder_junos_194_r3_s1] +JUNOS SRX TVP AppQos Daemon [20201202.202156_builder_junos_194_r3_s1] +JUNOS Extension Toolkit [20201202.202156_builder_junos_194_r3_s1] +JUNOS Phone-home [20201202.202156_builder_junos_194_r3_s1] +JUNOS Juniper Malware Removal Tool (JMRT) [1.0.0+20201202.202156_builder_junos_194_r3_s1] +JUNOS J-Insight [20201202.202156_builder_junos_194_r3_s1] +JUNOS Online Documentation [20201202.202156_builder_junos_194_r3_s1] +JUNOS jail runtime [20201028.e1cef1d_builder_stable_11] +JUNOS FIPS mode utilities [20201202.202156_builder_junos_194_r3_s1] + +{primary:node0} diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.yml b/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.yml new file mode 100644 index 0000000000..0edd14abfa --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version_srx_cluster.yml @@ -0,0 +1,202 @@ +--- +parsed_sample: + - hostname: "lab" + model: "srx1500" + junos_version: "19.4R3-S1.3" + base_os_boot: "" + base_os_software_suite: "" + kernel_software_suite: "" + crypto_software_suite: "" + packet_forwarding_engine_support_m_t_ex_common: "" + packet_forwarding_engine_support_mx_common: "" + fips_mode_utilities: "20201202.202156_builder_junos_194_r3_s1" + online_documentation: "20201202.202156_builder_junos_194_r3_s1" + services_aacl_container_package: "" + services_application_level_gateways: "" + appid_services: "" + border_gateway_function_package: "" + services_captive_portal_content_delivery_package: "" + services_http_content_management_package: "" + idp_services: "" + services_jflow_container_package: "" + services_ll_pdf_container_package: "" + services_mobilenext_software_package: "" + services_mobile_subscriber_service_package: "" + services_nat: "" + services_ptsp_container_package: "" + services_rpm: "" + services_stateful_firewall: "" + voice_services_container_package: "" + services_crypto: "" + services_ssl: "" + services_ipsec: "" + platform_software_suite: "" + runtime_software_suite: "" + routing_software_suite: "" + py_base_i386: "" + lab_package: "" + serial_number: "" + qfabric_system_id: "" + other_device_properties: + - "OS Kernel 64-bit " + - "OS libs " + - "OS runtime " + - "OS time zone information " + - "OS libs compat32 " + - "OS 32-bit compatibility " + - "py extensions2 " + - "py extensions " + - "py base2 " + - "py base " + - "OS vmguest " + - "OS crypto " + - "OS boot-ve files " + - "network stack and utilities " + - "libs " + - "libs compat32 " + - "runtime " + - "na telemetry " + - "Web Management Platform Package " + - "srx libs compat32 " + - "srx runtime " + - "srx platform support " + - "common platform support " + - "srxtvp runtime " + - "pppoe " + - "Openconfig " + - "mtx network modules " + - "modules " + - "srxtvp modules " + - "srxtvp libs " + - "srx libs " + - "srx Data Plane Crypto Support " + - "daemons " + - "srx daemons " + - "SRX TVP AppQos Daemon " + - "Extension Toolkit " + - "Phone-home " + - "Juniper Malware Removal Tool (JMRT) " + - "J-Insight " + - "jail runtime " + - "OS Kernel 64-bit " + - "OS libs " + - "OS runtime " + - "OS time zone information " + - "OS libs compat32 " + - "OS 32-bit compatibility " + - "py extensions2 " + - "py extensions " + - "py base2 " + - "py base " + - "OS vmguest " + - "OS crypto " + - "OS boot-ve files " + - "network stack and utilities " + - "libs " + - "libs compat32 " + - "runtime " + - "na telemetry " + - "Web Management Platform Package " + - "srx libs compat32 " + - "srx runtime " + - "srx platform support " + - "common platform support " + - "srxtvp runtime " + - "pppoe " + - "Openconfig " + - "mtx network modules " + - "modules " + - "srxtvp modules " + - "srxtvp libs " + - "srx libs " + - "srx Data Plane Crypto Support " + - "daemons " + - "srx daemons " + - "SRX TVP AppQos Daemon " + - "Extension Toolkit " + - "Phone-home " + - "Juniper Malware Removal Tool (JMRT) " + - "J-Insight " + - "jail runtime " + other_properties_versions: + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "19.4R3-S1.3" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "19.4R3-S1.3" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "1.0.0+20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201028.e1cef1d_builder_stable_11" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "19.4R3-S1.3" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "19.4R3-S1.3" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "1.0.0+20201202.202156_builder_junos_194_r3_s1" + - "20201202.202156_builder_junos_194_r3_s1" + - "20201028.e1cef1d_builder_stable_11" + redis_version: "20201202.202156_builder_junos_194_r3_s1" From 735e6451953180af56272c2637ee23662a1c3c3a Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 20 Dec 2022 12:14:40 +1300 Subject: [PATCH 336/412] Fixs_1009_fortinet_get_system_ha_status.textfsm (#1041) * Fixs_1009_fortinet_get_system_ha_status.textfsm * Update tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.raw Co-authored-by: Pieter E Smit Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> --- .../fortinet_get_system_ha_status.textfsm | 49 +++++++++++-------- .../fortinet_get_system_ha_status_6.4.raw | 38 ++++++++++++++ .../fortinet_get_system_ha_status_6.4.yml | 17 +++++++ 3 files changed, 83 insertions(+), 21 deletions(-) create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.yml diff --git a/ntc_templates/templates/fortinet_get_system_ha_status.textfsm b/ntc_templates/templates/fortinet_get_system_ha_status.textfsm index d24b20b984..566fb253e0 100644 --- a/ntc_templates/templates/fortinet_get_system_ha_status.textfsm +++ b/ntc_templates/templates/fortinet_get_system_ha_status.textfsm @@ -1,9 +1,5 @@ # -# Refried Jello -# -# 2021-01-08: Initial Version -# -# FG Version: 5.6, 6.0, 6.2 +# FG Version: 5.6, 6.0, 6.2, 6.4 # HW : varied # Value HA_HEALTH (\S+) @@ -30,25 +26,36 @@ Start ^Debug:\s+\d+ ^Cluster\s+Uptime:\s+${CLUSTER_UPTIME} ^Cluster\s+state\s+change\s+time:\s+${CLUSTER_STATE_CHANGED_TIME} - ^Master\s+selected\s+using: - ^\s+\<\S+ + ^(Master|Primary)\s+selected\s+using: + ^\s*\<\S+ ^ses_pickup:\s+${HA_SESSION_PICKUP_STATUS},\s+ses_pickup_delay=${HA_SESSION_PICKUP_DELAY} ^override:\s+${HA_OVERRIDE_STATUS} - ^Configuration\s+Status: - ^\s+\S+\([\S\s]+\): - ^System\s+Usage\s+stats: - ^\s+\S+:\s+ - ^\s+sessions= - ^HBDEV\s+stats: - ^\s+\S+:\s+ - ^\sha:+\S+:\s+ + ^Configuration\s+Status: -> Configuration_Status + # Catch old 6.0_noha with no "Configuraton Status" + ^System\s+Usage\s+stats: -> System_Usage_stats + ^. -> Error "in-Start" + +Configuration_Status + ^System\s+Usage\s+stats: -> System_Usage_stats + ^\s*\S+\([\S\s]+\):\s\S+$$ + ^. -> Error "in-Configuration_Status" + +System_Usage_stats + ^HBDEV\s+stats: -> HBDEV_MONDEV_stats + ^\s*\S+\([\S\s]+\):$$ + #^\s*\S+:\s+ + ^\s*sessions= + ^. -> Error "in-System_Usage_stats" + +HBDEV_MONDEV_stats + # Combine stats, no MONDEV in older FW's + ^\s*\S+\([\S\s]+\):$$ + ^\s*\S+:\s.+rx.+tx.+$$ ^MONDEV\s+stats: - ^\s+\S+:\s+ - ^\s:+\S+:\s+ - ^Master\s*:\s+${HA_MASTER_UNIT_NAME}\s*,\s+${HA_MASTER_UNIT_SERIAL},\s+(HA\s+cluster\s+index|cluster\s+index)\s+=\s+${HA_MASTER_UNIT_INDEX} - ^Slave\s*:\s+${HA_SLAVE_UNIT_NAME}\s*,\s+${HA_SLAVE_UNIT_SERIAL},\s+(|HA)\s*cluster\s+index\s+=\s+${HA_SLAVE_UNIT_INDEX} + ^(Master|Primary)\s*:\s+${HA_MASTER_UNIT_NAME}\s*,\s+${HA_MASTER_UNIT_SERIAL},\s+(HA\s+cluster\s+index|cluster\s+index)\s+=\s+${HA_MASTER_UNIT_INDEX} + ^(Slave|Secondary)\s*:\s+${HA_SLAVE_UNIT_NAME}\s*,\s+${HA_SLAVE_UNIT_SERIAL},\s+(|HA)\s*cluster\s+index\s+=\s+${HA_SLAVE_UNIT_INDEX} ^number\s+of\s+vcluster:\s+\d+ ^vcluster\s+\d+: - ^(Master|Slave)\s*:\s+\S+,\s+(operating\s+cluster\s+index|HA\s+operating\s+index)\s+=\s+\d+ -> Record + ^(Master|Slave|Primary|Secondary)\s*:\s+\S+,\s+(operating\s+cluster\s+index|HA\s+operating\s+index)\s+=\s+\d+ -> Record ^\s*$$ - ^. -> Error + ^. -> Error "in-HBDEV_MONDEV_stats" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.raw new file mode 100644 index 0000000000..751b1cf746 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.raw @@ -0,0 +1,38 @@ +HA Health Status: OK +Model: FortiGate +Mode: HA A-P +Group: 0 +Debug: 0 +Cluster Uptime: 40 days 19:16:5 +Cluster state change time: 2021-10-12 11:24:28 +Primary selected using: +<2021/10/12 11:24:28> FGXXXXXXXXXXXXXX is selected as the primary because it has the largest value of uptime. +<2021/09/30 14:23:14> FGXXXXXXXXXXXXXX is selected as the primary because it's the only member in the cluster. +ses_pickup: enable, ses_pickup_delay=disable +override: disable +Configuration Status: +FGXXXXXXXXXXXXXX(updated 5 seconds ago): in-sync +FGXXXXXXXXXXXXXX(updated 4 seconds ago): in-sync +System Usage stats: +FGXXXXXXXXXXXXXX(updated 5 seconds ago): +sessions=31, average-cpu-user/nice/system/idle=0%/0%/0%/99%, memory=21% +FGXXXXXXXXXXXXXX(updated 4 seconds ago): +sessions=1, average-cpu-user/nice/system/idle=0%/0%/0%/99%, memory=19% +HBDEV stats: +FGXXXXXXXXXXXXXX(updated 5 seconds ago): +ha1: physical/1000auto, up, rx-bytes/packets/dropped/errors=2331903443/16290391/0/0, tx=2864477616/16192604/0/0 +FGXXXXXXXXXXXXXX(updated 4 seconds ago): +ha1: physical/1000auto, up, rx-bytes/packets/dropped/errors=2903932192/16487841/0/0, tx=2291801577/15994696/0/0 +MONDEV stats: +FGXXXXXXXXXXXXXX(updated 5 seconds ago): +LAN: aggregate/00, up, rx-bytes/packets/dropped/errors=515688432/224905809/0/0, tx=973281315/15326089/0/0 +WAN: aggregate/00, up, rx-bytes/packets/dropped/errors=2329268140/249384307/0/0, tx=1740434745/10897044/0/0 +FGXXXXXXXXXXXXXX(updated 4 seconds ago): +LAN: aggregate/00, up, rx-bytes/packets/dropped/errors=1437258973/405727633/0/0, tx=0/0/0/0 +WAN: aggregate/00, up, rx-bytes/packets/dropped/errors=1119476884/410223012/0/0, tx=0/0/0/0 +Primary : FW, FGXXXXXXXXXXXXXX, HA cluster index = 0 +Secondary : FW, FGXXXXXXXXXXXXXX, HA cluster index = 1 +number of vcluster: 1 +vcluster 1: work 169.254.0.1 +Primary: FGXXXXXXXXXXXXXX, HA operating index = 0 +Secondary: FGXXXXXXXXXXXXXX, HA operating index = 1 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.yml new file mode 100644 index 0000000000..0ef6d22d4f --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.4.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate" + ha_mode: "HA A-P" + ha_group: "0" + cluster_uptime: "40 days 19:16:5" + cluster_state_changed_time: "2021-10-12 11:24:28" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "disable" + ha_master_unit_name: "FW" + ha_slave_unit_name: "FW" + ha_master_unit_serial: "FGXXXXXXXXXXXXXX" + ha_slave_unit_serial: "FGXXXXXXXXXXXXXX" + ha_master_unit_index: "0" + ha_slave_unit_index: "1" From afea43db9216820c5f47746d850c37e1616e27c6 Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 20 Dec 2022 12:14:53 +1300 Subject: [PATCH 337/412] fix1037_paloalto_panos_show_running_nat-policy (#1040) * fix1037_paloalto_panos_show_running_nat-policy - add 2 more raw examples * Update ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm Co-authored-by: Pieter E Smit Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> --- ...alto_panos_show_running_nat-policy.textfsm | 34 ++++++++++--------- ...aloalto_panos_show_running_nat-policy1.raw | 11 ++++++ ...aloalto_panos_show_running_nat-policy1.yml | 12 +++++++ ...aloalto_panos_show_running_nat-policy2.raw | 11 ++++++ ...aloalto_panos_show_running_nat-policy2.yml | 12 +++++++ 5 files changed, 64 insertions(+), 16 deletions(-) create mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.raw create mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.yml create mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.raw create mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.yml diff --git a/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm b/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm index 61a02c8d4e..f082b19a79 100644 --- a/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm +++ b/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm @@ -1,23 +1,25 @@ Value Filldown NAME (.*?) Value Required NAT_TYPE (\S+) -Value FROM (\S+) -Value SOURCE (\S+) -Value TO (\S+) -Value TO_INTERFACE ({\S+}?) -Value DESTINATION (\S+) +Value FROM (\S+|\[(\s\S+)+\s\]) +# any | ip (optional mask) | [ multiIP ] +Value SOURCE (any|([A-Fa-f0-9:\.]+(\/\d+)?)|\[(\s[A-Fa-f0-9:\.]+(\/\d+)?)+\s\]) +Value TO (\S+|\[(\s\S+)+\s\]) +Value TO_INTERFACE (\S*) +Value DESTINATION (\S+|\[(\s\S+)+\s\]) Value SERVICE ([\S+\s+]+) Value TRANSLATE_TO ([\S+\s+]+) Value TERMINAL (\S+) Start - ^${NAME}\s+\{ - ^\s+nat-type\s+${NAT_TYPE}; - ^\s+from\s+${FROM}; - ^\s+source\s+${SOURCE}; - ^\s+to\s+${TO}; - ^s+to-interface\s+${TO_INTERFACE}; - ^\s+destination\s+${DESTINATION}; - ^\s+service\s+${SERVICE}; - ^\s+translate-to\s+"${TRANSLATE_TO}"; - ^\s+terminal\s+${TERMINAL}; - ^} -> Record \ No newline at end of file + ^${NAME}\s+\{$$ + ^\s+nat-type\s+${NAT_TYPE};$$ + ^\s+from\s+${FROM};$$ + ^\s+source\s+${SOURCE};$$ + ^\s+to\s+${TO};$$ + ^.+to-interface\s${TO_INTERFACE}\s?;$$ + ^\s+destination\s+${DESTINATION};$$ + ^\s+service\s+${SERVICE};$$ + ^\s+translate-to\s+"${TRANSLATE_TO}";$$ + ^\s+terminal\s+${TERMINAL};$$ + ^}$$ -> Record + ^. -> Error diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.raw b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.raw new file mode 100644 index 0000000000..0436fe4ffd --- /dev/null +++ b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.raw @@ -0,0 +1,11 @@ +"DMZ-PROXY-NAT; index: 1" { + nat-type ipv4; + from DMZ-APPS; + source [ 10.1.1.1 10.1.1.2 ]; + to UNTRUSTED; + to-interface ethernet1/5 ; + destination any; + service 0:any/any/any; + translate-to "src: 2.2.2.2 (dynamic-ip-and-port) (pool idx: 1)"; + terminal no; +} diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.yml b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.yml new file mode 100644 index 0000000000..402cd78785 --- /dev/null +++ b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy1.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "\"DMZ-PROXY-NAT; index: 1\"" + nat_type: "ipv4" + from: "DMZ-APPS" + source: "[ 10.1.1.1 10.1.1.2 ]" + to: "UNTRUSTED" + to_interface: "ethernet1/5" + destination: "any" + service: "0:any/any/any" + translate_to: "src: 2.2.2.2 (dynamic-ip-and-port) (pool idx: 1)" + terminal: "no" diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.raw b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.raw new file mode 100644 index 0000000000..abffb21961 --- /dev/null +++ b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.raw @@ -0,0 +1,11 @@ +"Rule 4 Nat-ID 4; index: 8" { + nat-type ipv4; + from [ Mgmt Data TRUSTED UNTRUSTED ]; + source [ 10.0.0.0/8 172.0.0.0/16 ]; + to [ UNTRUSTED DMZ ]; + to-interface ethernet1/5; + destination [ 1.1.1.1 2.2.2.2 ]; + service 0:any/any/any; + translate-to "src: 3.3.3.3 (dynamic-ip-and-port) (pool idx: 24)"; + terminal no; +} diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.yml b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.yml new file mode 100644 index 0000000000..0a413d15fb --- /dev/null +++ b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy2.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "\"Rule 4 Nat-ID 4; index: 8\"" + nat_type: "ipv4" + from: "[ Mgmt Data TRUSTED UNTRUSTED ]" + source: "[ 10.0.0.0/8 172.0.0.0/16 ]" + to: "[ UNTRUSTED DMZ ]" + to_interface: "ethernet1/5" + destination: "[ 1.1.1.1 2.2.2.2 ]" + service: "0:any/any/any" + translate_to: "src: 3.3.3.3 (dynamic-ip-and-port) (pool idx: 24)" + terminal: "no" From 5b9dfb9799ac1105ea574494b09d8883bb58153a Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Wed, 21 Dec 2022 10:59:28 -0500 Subject: [PATCH 338/412] Update doc link (#1256) --- docs/user/{lib_use_case.md => lib_use_cases.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/user/{lib_use_case.md => lib_use_cases.md} (100%) diff --git a/docs/user/lib_use_case.md b/docs/user/lib_use_cases.md similarity index 100% rename from docs/user/lib_use_case.md rename to docs/user/lib_use_cases.md From 5b16ac6115c85ea4e059bca6d721744388eebffa Mon Sep 17 00:00:00 2001 From: elavaud Date: Thu, 22 Dec 2022 06:45:08 +0700 Subject: [PATCH 339/412] fix(Mikrotik): Optional space before end of line (#1159) Co-authored-by: Edouard Lavaud --- ...krotik_routeros_ip_arp_print_without-paging.textfsm | 4 ++-- ...s_ip_dhcp-server_lease_print_without-paging.textfsm | 10 +++++----- ...ip_firewall_filter_print_all_without-paging.textfsm | 4 ++-- ...os_ip_firewall_nat_print_all_without-paging.textfsm | 4 ++-- ...outeros_snmp_community_print_without-paging.textfsm | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm index 19ece07517..e9d18f7a28 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_arp_print_without-paging.textfsm @@ -5,9 +5,9 @@ Value mac (([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})) Value interface (\S+) Start - ^\s+#\s*ADDRESS\s*MAC-ADDRESS\s*INTERFACE\s*$$ -> EntriesTable + ^\s*#\s*ADDRESS\s*MAC-ADDRESS\s*INTERFACE\s*$$ -> EntriesTable EntriesTable - ^\s*${index}\s*(${flags})?\s*${ip}\s*(${mac})?\s+(${interface})?\s+$$ -> Record + ^\s*${index}\s*(${flags})?\s*${ip}\s*(${mac})?\s+(${interface})?\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm index c4cac701af..d4ed1845c2 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm @@ -9,12 +9,12 @@ Value status (waiting|testing|authorizing|busy|offered|bound) Value last_seen (\w+) Start - ^\s#\s+ADDRESS\s+MAC-ADDRESS\s+HOST-NAME\s+SERVER\s+RATE-LIMIT\s+STATUS\s+LAST-SEEN\s+$$ -> EntriesTable + ^\s*#\s+ADDRESS\s+MAC-ADDRESS\s+HOST-NAME\s+SERVER\s+RATE-LIMIT\s+STATUS\s+LAST-SEEN\s+$$ -> EntriesTable EntriesTable - ^\s*${index}\s+(${rate_limit})?\s+(${status})?\s+(${last_seen})?\s+$$ -> Record - ^\s*${index}\s(${flags})?\s{,4}${ip}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record - ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+${mac}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record - ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+(${mac}|\s{17})\s(${hostname})?\s+(${server})?\s+(${rate_limit})?\s+${status}\s+${last_seen}\s+$$ -> Record + ^\s*${index}\s+(${rate_limit})?\s+(${status})?\s+(${last_seen})?\s*$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}${ip}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s*$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+${mac}\s+(${rate_limit})?\s+${status}\s+${last_seen}\s*$$ -> Record + ^\s*${index}\s(${flags})?\s{,4}(${ip})?\s+(${mac}|\s{17})\s(${hostname})?\s+(${server})?\s+(${rate_limit})?\s+${status}\s+${last_seen}\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm index d5c0e0e839..f89d03b7a5 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm @@ -25,7 +25,7 @@ Start FirewallTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} - ^\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?\s*(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record - ^\s?${index}\s+(${flags})?\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}"\s)?$$ -> Record + ^\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?\s*(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}")?\s*$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}")?\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm index 7cb4389820..b33b347da4 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm @@ -25,7 +25,7 @@ Start NATTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} - ^\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record - ^\s?${index}\s+(${flags})?\s+chain=${chain}\saction=${action}\s(to-addresses=${to_addresses}\s)?(to-ports=${to_ports}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface=${in_interface}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface=${out_interface}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(log=${log}\s)?(log-prefix="(${log_prefix})?"\s)?(ipsec-policy=${ipsec_policy}\s)?\s*$$ -> Record + ^\s+chain=${chain}\saction=${action}(\sto-addresses=${to_addresses})?(\sto-ports=${to_ports})?(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface=${in_interface})?(\sin-interface-list=${in_interface_list})?(\sout-interface=${out_interface})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\slog=${log})?(\slog-prefix="(${log_prefix})?")?(\sipsec-policy=${ipsec_policy})?\s*$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}\saction=${action}(\sto-addresses=${to_addresses})?(\sto-ports=${to_ports})?(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface=${in_interface})?(\sin-interface-list=${in_interface_list})?(\sout-interface=${out_interface})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\slog=${log})?(\slog-prefix="(${log_prefix})?")?(\sipsec-policy=${ipsec_policy})?\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm index bbaeb677f2..ae752d9bd4 100644 --- a/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_snmp_community_print_without-paging.textfsm @@ -10,6 +10,6 @@ Start ^\s#\s+NAME\s+ADDRESSES\s+SECURITY\s+READ-ACCESS\s+WRITE-ACCESS\s*$$ -> SNMPCommunitiesTable SNMPCommunitiesTable - ^\s?${index}\s+(${flags})?\s+${name}\s+${addresses}\s+${security}\s+${read_access}\s+${write_access}\s+$$ -> Record + ^\s?${index}\s+(${flags})?\s+${name}\s+${addresses}\s+${security}\s+${read_access}\s+${write_access}\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error From 3d033d997fe37ce7030f18ec2a5aaef56e505989 Mon Sep 17 00:00:00 2001 From: afly007 Date: Thu, 22 Dec 2022 10:05:02 -0500 Subject: [PATCH 340/412] Fixed TYPE regex to include non-dynamic addresses (#1253) * Fixed TYPE regex to include non-dynmaic addresses * Updated TYPE regex to include non-dynmaic addresses * Added tests for port-access-security TYPE regex --- .../templates/aruba_aoscx_show_mac-address-table.textfsm | 4 ++-- .../show_mac-address-table/show_mac-address-table.raw | 3 ++- .../show_mac-address-table/show_mac-address-table.yml | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm index d33936f28d..a089f78655 100644 --- a/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm +++ b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm @@ -1,6 +1,6 @@ Value MAC (\S+) Value VLAN (\d+) -Value TYPE ([a-z]+) +Value TYPE (\S+) Value PORT (\S+) Start @@ -10,4 +10,4 @@ Start ^-+$$ ^${MAC}\s+${VLAN}\s+${TYPE}\s+${PORT} -> Record ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw index e8772d632f..1967335e70 100644 --- a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw @@ -7,4 +7,5 @@ MAC Address VLAN Type Port 90:e2:ba:28:0d:f1 10 dynamic lag100 00:01:2e:82:0f:7b 3560 dynamic lag100 90:e2:ba:28:0d:f0 3590 dynamic lag100 -88:3a:30:a3:86:80 3590 dynamic lag100 \ No newline at end of file +88:3a:30:a3:86:80 3590 dynamic lag100 +80:5e:0c:76:ed:bb 2015 port-access-security 1/1/30 \ No newline at end of file diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml index 6a23f37408..733d8b99aa 100644 --- a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml @@ -20,3 +20,7 @@ parsed_sample: vlan: "3590" type: "dynamic" port: "lag100" + - mac: "80:5e:0c:76:ed:bb" + vlan: "2015" + type: "port-access-security" + port: "1/1/30" From cbf524e3168a860abc34d71ec5f410c0162d9b50 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 22 Dec 2022 11:07:22 -0500 Subject: [PATCH 341/412] Add IPv6 to linux ip address show (#1258) --- .../templates/linux_ip_address_show.textfsm | 29 +++-- .../ip_address_show/linux_ip_address_show.yml | 12 ++ .../linux_ip_address_show2.raw | 35 ++++++ .../linux_ip_address_show2.yml | 104 ++++++++++++++++++ 4 files changed, 164 insertions(+), 16 deletions(-) create mode 100644 tests/linux/ip_address_show/linux_ip_address_show2.raw create mode 100644 tests/linux/ip_address_show/linux_ip_address_show2.yml diff --git a/ntc_templates/templates/linux_ip_address_show.textfsm b/ntc_templates/templates/linux_ip_address_show.textfsm index 8c0ac2ed6a..b0200da338 100644 --- a/ntc_templates/templates/linux_ip_address_show.textfsm +++ b/ntc_templates/templates/linux_ip_address_show.textfsm @@ -8,23 +8,20 @@ Value Required GROUP (\S+) Value QLEN (\d+) Value MASTER (\S+) Value Required TYPE (\S+) -Value ADDRESS ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) -Value BROADCAST ([a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}:[a-fA-F0-9]{2}) -Value List IP_ADDRESSES (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value ADDRESS ((?:[a-fA-F0-9:]{17})) +Value BROADCAST ((?:[a-fA-F0-9:]{17})) +Value List IP_ADDRESSES ([0-9\.]+) Value List IP_MASKS (\d{1,2}) +Value List IPV6_ADDRESSES ([0-9A-Fa-f:]+) +Value List IPV6_MASKS (\d{1,3}) Start - ^\d+ -> Continue.Record - ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue - ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} master ${MASTER} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue - ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} -> Continue - ^${ID}: ${INTERFACE}: <${FLAGS}> mtu ${MTU} qdisc ${QDISC} state ${STATE} group ${GROUP} qlen ${QLEN}$$ -> Continue - # Link type, MAC address, IP -> Continue - ^\s+link/${TYPE}$$ -> Continue - ^\s+link/${TYPE} ${ADDRESS} brd ${BROADCAST}$$ -> Continue - ^\s+inet ${IP_ADDRESSES}/${IP_MASKS} brd.*$$ -> Continue - ^\s+inet ${IP_ADDRESSES}/${IP_MASKS} scope.*$$ -> Continue - ^\s+valid_lft.*$$ -> Continue - ^\d+ - ^\s+ + ^\d+: -> Continue.Record + ^${ID}:\s+${INTERFACE}:\s+<${FLAGS}>\s+mtu\s+${MTU}\s+qdisc\s+${QDISC}(?:\s+master\s+${MASTER})?\s+state\s+${STATE}\s+group\s+${GROUP}(?:\s+qlen\s+${QLEN})?\s*$$ + ^\s+link/${TYPE}(?:\s+${ADDRESS}\s+brd\s+${BROADCAST})?.*$$ + ^\s+altname.*$$ + ^\s+inet\s+${IP_ADDRESSES}/${IP_MASKS}\s+(:?brd|scope).*$$ + ^\s+inet6\s+${IPV6_ADDRESSES}/${IPV6_MASKS}\s+(?:brd|scope).*$$ + ^\s+valid_lft.*$$ + ^\s*$$ ^. -> Error diff --git a/tests/linux/ip_address_show/linux_ip_address_show.yml b/tests/linux/ip_address_show/linux_ip_address_show.yml index e9b7f9354a..d289dc0074 100644 --- a/tests/linux/ip_address_show/linux_ip_address_show.yml +++ b/tests/linux/ip_address_show/linux_ip_address_show.yml @@ -16,6 +16,8 @@ parsed_sample: - "127.0.0.1" ip_masks: - "8" + ipv6_addresses: [] + ipv6_masks: [] - id: "2" interface: "ens32" flags: "BROADCAST,MULTICAST,UP,LOWER_UP" @@ -32,6 +34,8 @@ parsed_sample: - "192.168.131.128" ip_masks: - "24" + ipv6_addresses: [] + ipv6_masks: [] - id: "3" interface: "gpd0" flags: "POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP" @@ -48,6 +52,8 @@ parsed_sample: - "10.20.20.12" ip_masks: - "32" + ipv6_addresses: [] + ipv6_masks: [] - id: "4" interface: "br-218f5e637867" flags: "NO-CARRIER,BROADCAST,MULTICAST,UP" @@ -64,6 +70,8 @@ parsed_sample: - "172.21.0.1" ip_masks: - "16" + ipv6_addresses: [] + ipv6_masks: [] - id: "5" interface: "vrf-blue" flags: "NOARP,MASTER,UP,LOWER_UP" @@ -78,6 +86,8 @@ parsed_sample: broadcast: "ff:ff:ff:ff:ff:ff" ip_addresses: [] ip_masks: [] + ipv6_addresses: [] + ipv6_masks: [] - id: "6" interface: "brblue" flags: "BROADCAST,MULTICAST,UP,LOWER_UP" @@ -96,3 +106,5 @@ parsed_sample: ip_masks: - "24" - "25" + ipv6_addresses: [] + ipv6_masks: [] diff --git a/tests/linux/ip_address_show/linux_ip_address_show2.raw b/tests/linux/ip_address_show/linux_ip_address_show2.raw new file mode 100644 index 0000000000..670a33648e --- /dev/null +++ b/tests/linux/ip_address_show/linux_ip_address_show2.raw @@ -0,0 +1,35 @@ +1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 + link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 + inet 127.0.0.1/8 scope host lo + valid_lft forever preferred_lft forever + inet6 ::1/128 scope host + valid_lft forever preferred_lft forever +2: eth0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 + link/ether 52:54:00:8c:62:44 brd ff:ff:ff:ff:ff:ff + inet 192.168.121.241/24 brd 192.168.121.255 scope global dynamic eth0 + valid_lft 3515sec preferred_lft 3515sec + inet 192.168.121.45/24 scope global secondary eth0 + valid_lft forever preferred_lft forever + inet6 fe80::5054:ff:fe8c:6244/64 scope link + valid_lft forever preferred_lft forever +3: ens33: mtu 1500 qdisc fq_codel state UP group default qlen 1000 + link/ether 00:0c:29:b0:21:7d brd ff:ff:ff:ff:ff:ff + altname enp2s1 + inet 192.168.94.133/24 brd 192.168.94.255 scope global dynamic noprefixroute ens33 + valid_lft 1541sec preferred_lft 1541sec + inet6 fe80::b681:60db:7206:13a0/64 scope link noprefixroute + valid_lft forever preferred_lft forever +4: ens37: mtu 1500 qdisc fq_codel state UP group default qlen 1000 + link/ether 00:50:56:20:47:14 brd ff:ff:ff:ff:ff:ff + altname enp2s5 + inet 192.168.94.134/24 brd 192.168.94.255 scope global dynamic noprefixroute ens37 + valid_lft 1541sec preferred_lft 1541sec + inet6 fe80::6c2a:3447:5d99:700a/64 scope link noprefixroute + valid_lft forever preferred_lft forever +5: ens38: mtu 1500 qdisc fq_codel state UP group default qlen 1000 + link/ether 00:50:56:37:93:58 brd ff:ff:ff:ff:ff:ff + altname enp2s6 + inet 192.168.94.135/24 brd 192.168.94.255 scope global dynamic noprefixroute ens38 + valid_lft 1540sec preferred_lft 1540sec + inet6 fe80::97ef:a3f1:a962:9ef0/64 scope link noprefixroute + valid_lft forever preferred_lft forever diff --git a/tests/linux/ip_address_show/linux_ip_address_show2.yml b/tests/linux/ip_address_show/linux_ip_address_show2.yml new file mode 100644 index 0000000000..a3891d12dd --- /dev/null +++ b/tests/linux/ip_address_show/linux_ip_address_show2.yml @@ -0,0 +1,104 @@ +--- +parsed_sample: + - id: "1" + interface: "lo" + flags: "LOOPBACK,UP,LOWER_UP" + mtu: "65536" + qdisc: "noqueue" + state: "UNKNOWN" + group: "default" + qlen: "1000" + master: "" + type: "loopback" + address: "00:00:00:00:00:00" + broadcast: "00:00:00:00:00:00" + ip_addresses: + - "127.0.0.1" + ip_masks: + - "8" + ipv6_addresses: + - "::1" + ipv6_masks: + - "128" + - id: "2" + interface: "eth0" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "52:54:00:8c:62:44" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "192.168.121.241" + - "192.168.121.45" + ip_masks: + - "24" + - "24" + ipv6_addresses: + - "fe80::5054:ff:fe8c:6244" + ipv6_masks: + - "64" + - id: "3" + interface: "ens33" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "00:0c:29:b0:21:7d" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "192.168.94.133" + ip_masks: + - "24" + ipv6_addresses: + - "fe80::b681:60db:7206:13a0" + ipv6_masks: + - "64" + - id: "4" + interface: "ens37" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "00:50:56:20:47:14" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "192.168.94.134" + ip_masks: + - "24" + ipv6_addresses: + - "fe80::6c2a:3447:5d99:700a" + ipv6_masks: + - "64" + - id: "5" + interface: "ens38" + flags: "BROADCAST,MULTICAST,UP,LOWER_UP" + mtu: "1500" + qdisc: "fq_codel" + state: "UP" + group: "default" + qlen: "1000" + master: "" + type: "ether" + address: "00:50:56:37:93:58" + broadcast: "ff:ff:ff:ff:ff:ff" + ip_addresses: + - "192.168.94.135" + ip_masks: + - "24" + ipv6_addresses: + - "fe80::97ef:a3f1:a962:9ef0" + ipv6_masks: + - "64" From 081a6b0a91928d83cc4207673aab3f21199391d9 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 22 Dec 2022 15:16:39 -0500 Subject: [PATCH 342/412] Add template for IOS show ap summary (#1257) Co-authored-by: Rishabh4290 <91332259+Rishabh4290@users.noreply.github.com> --- .../templates/cisco_ios_show_ap_summary.textfsm | 17 +++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_ap_summary.raw | 5 +++++ .../cisco_ios_show_ap_summary.yml | 11 +++++++++++ 4 files changed, 34 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ap_summary.textfsm create mode 100644 tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.raw create mode 100644 tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.yml diff --git a/ntc_templates/templates/cisco_ios_show_ap_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ap_summary.textfsm new file mode 100644 index 0000000000..a27baf22a9 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ap_summary.textfsm @@ -0,0 +1,17 @@ +Value AP_NAME (\S+) +Value SLOT (\d+) +Value AP_MODEL (\S+) +Value MAC ([a-fA-F0-9:\.]+) +Value RADIO_MAC ([a-fA-F0-9:\.]+) +Value LOCATION (.+?) +Value COUNTRY (\S+) +Value IP ([a-fA-F0-9:\.]+) +Value STATE (\S+) + +Start + ^[a-zA-Z]+\s[a-z]+\s[a-zA-z]+:\s\d+$$ + ^AP\s+Name\s+Slots\s+AP\s+Model\s+Ethernet\s+MAC\s+Radio\sMAC\s+Location\s+Country\s+IP\s+Address\s+State\s*$$ + ^-+\s*$$ + ^${AP_NAME}\s+${SLOT}\s+${AP_MODEL}\s+${MAC}\s+${RADIO_MAC}\s+${LOCATION}\s+${COUNTRY}\s+${IP}\s+${STATE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index bdcb2ff0ba..3c3da4580b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -260,6 +260,7 @@ cisco_ios_show_object-group.textfsm, .*, cisco_ios, sh[[ow]] ob[[ject-group]] cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] +cisco_ios_show_ap_summary.textfsm, .*, cisco_ios, sh[[ow]] ap sum[[mary]] cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_ipv6_route.textfsm, .*, cisco_ios, sh[[ow]] ipv6 r[[oute]] diff --git a/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.raw b/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.raw new file mode 100644 index 0000000000..47e76791f0 --- /dev/null +++ b/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.raw @@ -0,0 +1,5 @@ +Number of APs: 1 + +AP Name Slots AP Model Ethernet MAC Radio MAC Location Country IP Address State +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +device-name 2 9120AXI 0000.0000.000a 000a.000a.0000 default location US 1.1.1.1 Registered diff --git a/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.yml b/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.yml new file mode 100644 index 0000000000..9bcc180e0e --- /dev/null +++ b/tests/cisco_ios/show_ap_summary/cisco_ios_show_ap_summary.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - ap_name: "device-name" + slot: "2" + ap_model: "9120AXI" + mac: "0000.0000.000a" + radio_mac: "000a.000a.0000" + location: "default location" + country: "US" + ip: "1.1.1.1" + state: "Registered" From 0aed2283ea908bfc770db3ae0a55833dbc6462e2 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Thu, 22 Dec 2022 17:33:32 -0600 Subject: [PATCH 343/412] Adds individual interface parsing (#1254) --- ntc_templates/templates/index | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 3c3da4580b..6793a250a5 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -211,13 +211,13 @@ cisco_ios_show_ip_ospf_database_router.textfsm, .*, cisco_ios, sh[[ow]] ip ospf cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_crypto_ipsec_sa_detail.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] ip[[sec]] sa d[[etail]] -cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] +cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]](?: (?:\S+))? des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] se[[ssion]] d[[etail]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] -cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] +cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]](?: (?:\S+))? sw[[itchport]] cisco_ios_show_lldp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_etherchannel_summary.textfsm, .*, cisco_ios, sh[[ow]] etherchann[[el]] summ[[ary]] @@ -226,7 +226,7 @@ cisco_ios_show_ip_nat_translations.textfsm, .*, cisco_ios, sh[[ow]] ip nat trans cisco_ios_show_ip_eigrp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] cisco_ios_show_ip_flow_toptalkers.textfsm, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] -cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]](?: (?:\S+))? st[[atus]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] @@ -262,7 +262,7 @@ cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_ap_summary.textfsm, .*, cisco_ios, sh[[ow]] ap sum[[mary]] cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] -cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] +cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]](?: (?:\S+))? cisco_ios_show_ipv6_route.textfsm, .*, cisco_ios, sh[[ow]] ipv6 r[[oute]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_snmp_group.textfsm, .*, cisco_ios, sh[[ow]] snm[[p]] g[[roup]] From 6114ac90d38b2858fe2ddc5c50b167ab39eaa551 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Fri, 23 Dec 2022 11:18:08 -0500 Subject: [PATCH 344/412] Modify to be clear only 1 template update per PR (#1260) --- .github/PULL_REQUEST_TEMPLATE/pull_request_template.md | 2 +- docs/dev/dev_parser.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md index 070515e943..64bca15d20 100644 --- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -1,6 +1,6 @@ ##### ISSUE TYPE - - New Template Pull Request + - New Template Pull Request (Only one template at a time is allowed) - Bugfix Pull Request - Additional Testing - Docs Pull Request diff --git a/docs/dev/dev_parser.md b/docs/dev/dev_parser.md index 4e60ed12da..c27f867692 100644 --- a/docs/dev/dev_parser.md +++ b/docs/dev/dev_parser.md @@ -2,6 +2,7 @@ To contribute new templates, each new pull request must include the following: +- Only update or create a single template per Pull Request - TextFSM template - Modified version of the **index** file - Tests From 11653160dd02d211673d0808b4e6cdc285afec29 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Fri, 23 Dec 2022 10:25:05 -0600 Subject: [PATCH 345/412] additional templates for ruckus fastiron (#1261) Update Ruckus Fastiron Co-authored-by: scetron --- ntc_templates/templates/index | 2 + .../ruckus_fastiron_show_interfaces.textfsm | 20 +++ ...kus_fastiron_show_media_validation.textfsm | 10 ++ .../show_interfaces/show_interfaces.raw | 164 ++++++++++++++++++ .../show_interfaces/show_interfaces.yml | 32 ++++ .../show_media_validation.raw | 9 + .../show_media_validation.yml | 30 ++++ 7 files changed, 267 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_interfaces.textfsm create mode 100644 ntc_templates/templates/ruckus_fastiron_show_media_validation.textfsm create mode 100644 tests/ruckus_fastiron/show_interfaces/show_interfaces.raw create mode 100644 tests/ruckus_fastiron/show_interfaces/show_interfaces.yml create mode 100644 tests/ruckus_fastiron/show_media_validation/show_media_validation.raw create mode 100644 tests/ruckus_fastiron/show_media_validation/show_media_validation.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6793a250a5..81c72c6f6b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -547,7 +547,9 @@ paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] +ruckus_fastiron_show_media_validation.textfsm, .*, ruckus_fastiron, sh[[ow]] med[[ia]] v[[alidation]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] +ruckus_fastiron_show_interfaces.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] ve[[rsion]] ruckus_fastiron_show_vlan.textfsm, .*, ruckus_fastiron, sh[[ow]] vlan ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_interfaces.textfsm b/ntc_templates/templates/ruckus_fastiron_show_interfaces.textfsm new file mode 100644 index 0000000000..543c722219 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_interfaces.textfsm @@ -0,0 +1,20 @@ +Value Required INTERFACE (\S+) +Value LINK_STATUS (.*) +Value INTERFACE_UP_TIME (.*) +Value PROTOCOL_STATUS (.*) +Value HARDWARE_TYPE ([\w+-]+) +Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) +Value BIA ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) +Value DESCRIPTION (.*) +Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) +Value MTU (\d+) + +Start + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}$$ + ^\s+Port\s+(up|down)\s+for\s+${INTERFACE_UP_TIME} + ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(.*address\s+is\s+${ADDRESS})*(.*bia\s+${BIA})* + ^\s+Description:\s+${DESCRIPTION} + ^\s+Internet\s+address\s+is\s+${IP_ADDRESS} + ^.*MTU\s+${MTU}\.* -> Record + ^\s+ + ^\. -> Error diff --git a/ntc_templates/templates/ruckus_fastiron_show_media_validation.textfsm b/ntc_templates/templates/ruckus_fastiron_show_media_validation.textfsm new file mode 100644 index 0000000000..cd8319df14 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_media_validation.textfsm @@ -0,0 +1,10 @@ +Value Required INTERFACE (\d\S+) +Value VENDOR (\S+) +Value OPTIC_DESCRIPTION (.*) +Value OPTIC_TYPE (\S+) + +Start + ^\s*Port\s+Supported\.* + ^\s*-+ + ^${INTERFACE}\s+\w+\s+${VENDOR}\s+Type\s+:\s+${OPTIC_DESCRIPTION}\s+\(${OPTIC_TYPE}\)\s*$$ -> Record + ^. -> Error diff --git a/tests/ruckus_fastiron/show_interfaces/show_interfaces.raw b/tests/ruckus_fastiron/show_interfaces/show_interfaces.raw new file mode 100644 index 0000000000..2dda9d9154 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces/show_interfaces.raw @@ -0,0 +1,164 @@ +40GigabitEthernet2/3/3 is up, line protocol is up + Port up for 128 day(s) 19 hour(s) 49 minute(s) 25 second(s) + Hardware is 40GigabitEthernet, address is d4c1.9e16.8d10 (bia d4c1.9e16.8d10) + Interface type is 40Gig Copper + Configured speed 40Gbit, actual 40Gbit, configured duplex fdx, actual fdx + Configured mdi mode AUTO, actual MDI + Stacking Port, port state is FORWARDING + BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled + Link Error Dampening is Disabled + STP configured to OFF, priority is level0, mac-learning is enabled + Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper disabled, negotiation disabled + Mirror disabled, Monitor disabled + Mac-notification is disabled + Not member of any active trunks + Not member of any configured trunks + No port name + IPG MII 64 bits-time, IPG GMII 64 bits-time + MTU 1500 bytes, encapsulation ethernet + MMU Mode is Store-and-forward + 300 second input rate: 25496 bits/sec, 18 packets/sec, 0.00% utilization + 300 second output rate: 4208 bits/sec, 5 packets/sec, 0.00% utilization + 130393421 packets input, 26755527458 bytes, 0 no buffer + Received 1819460 broadcasts, 128573834 multicasts, 127 unicasts + 0 input errors, 0 CRC, 0 frame, 0 ignored + 0 runts, 0 giants + 24082238 packets output, 2734736336 bytes, 0 underruns + Transmitted 32 broadcasts, 24082204 multicasts, 2 unicasts + 0 output errors, 0 collisions + Relay Agent Information option: Disabled + Protected: No + MAC Port Security: Disabled + +UC Egress queues: +Queue counters Queued packets Dropped Packets + 0 0 0 + 1 0 0 + 2 0 0 + 3 0 0 + 4 0 0 + 5 0 0 + 6 0 0 + 7 0 0 + 8 0 0 + 9 11119857 0 + + +MC Egress queues: +Queue counters Queued packets Dropped Packets + 0 2480 0 + 1 0 0 + 2 0 0 + 3 0 0 + 4 34 0 + 5 0 0 + 6 12959867 0 + 7 0 0 + 8 0 0 + 9 0 0 + +Oversubscribed ingress drop counters: +High priority drop 0 +Low priority drop 0 +Total drop 0 +40GigabitEthernet2/3/4 is down, line protocol is down + Port down for 128 day(s) 19 hour(s) 49 minute(s) 29 second(s) + Hardware is 40GigabitEthernet, address is d4c1.9e16.8d11 (bia d4c1.9e16.8d11) + Interface type is 40Gig Fiber + Configured speed 40Gbit, actual unknown, configured duplex fdx, actual unknown + Configured mdi mode AUTO, actual unknown + Member of L2 VLAN ID 0, port is untagged, port state is BLOCKING + BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled + Link Error Dampening is Disabled + STP configured to ON, priority is level0, mac-learning is enabled + Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper enabled, negotiation disabled + Mirror disabled, Monitor disabled + Mac-notification is disabled + Not member of any active trunks + Not member of any configured trunks + No port name + IPG MII 64 bits-time, IPG GMII 64 bits-time + MTU 1500 bytes, encapsulation ethernet + MMU Mode is Store-and-forward + 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization + 300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 multicasts, 0 unicasts + 0 input errors, 0 CRC, 0 frame, 0 ignored + 0 runts, 0 giants + 0 packets output, 0 bytes, 0 underruns + Transmitted 0 broadcasts, 0 multicasts, 0 unicasts + 0 output errors, 0 collisions + Relay Agent Information option: Disabled + Protected: No + MAC Port Security: Disabled + +UC Egress queues: +Queue counters Queued packets Dropped Packets + 0 0 0 + 1 0 0 + 2 0 0 + 3 0 0 + 4 0 0 + 5 0 0 + 6 0 0 + 7 0 0 + 8 0 0 + 9 0 0 + + +MC Egress queues: +Queue counters Queued packets Dropped Packets + 0 0 0 + 1 0 0 + 2 0 0 + 3 0 0 + 4 0 0 + 5 0 0 + 6 0 0 + 7 0 0 + 8 0 0 + 9 0 0 + +Oversubscribed ingress drop counters: +High priority drop 0 +Low priority drop 0 +Total drop 0 +Lag lg10 is up, line protocol is up + Configured speed 20G, actual 20G, configured duplex fdx, actual fdx + Member of 17 L2 VLANs, port is tagged, port state is Forward + BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled + STP configured to ON, priority is level0, mac-learning is enabled + Openflow is Disabled, Openflow Hybrid mode is Disabled + Mirror disabled, Monitor disabled + Mac-notification is disabled + Member of active trunk ports 1/2/1,2/2/1,lg10, Lag Interface is lg10 + Member of configured trunk ports 1/2/1,2/2/1,lg10, Lag Interface is lg10 + No port name + 300 second input rate: 4824 bits/sec, 6 packets/sec, 0.00% utilization + 300 second output rate: 3856 bits/sec, 5 packets/sec, 0.00% utilization + 42361177 packets input, 3884151979 bytes, 0 no buffer + Received 3638818 broadcasts, 38722115 multicasts, 244 unicasts + 0 input errors, 0 CRC, 0 frame, 0 ignored + 0 runts, 0 giants + 23699093 packets output, 2526068617 bytes, 0 underruns + Transmitted 12 broadcasts, 23699080 multicasts, 0 unicasts + 0 output errors, 0 collisions + Relay Agent Information option: Disabled +GigEthernetmgmt1 is up, line protocol is up + Port up for 66 day(s) 7 hour(s) 10 minute(s) 15 second(s) + Hardware is GigEthernet, address is d4c1.9e16.9e87 (bia d4c1.9e16.9eb7) + Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx + Configured mdi mode AUTO, actual none + Not a Member of any VLAN , port is untagged, port state is NONE + No port name + Internet address is 10.203.35.106/24, MTU 1500 bytes, encapsulation ethernet + 300 second input rate: 4208 bits/sec, 6 packets/sec, 0.00% utilization + 300 second output rate: 14656 bits/sec, 6 packets/sec, 0.00% utilization + 12656202 packets input, 1480617278 bytes, 0 no buffer + Received 0 broadcasts, 0 multicasts, 12656202 unicasts + 0 input errors, 0 CRC, 0 frame, 0 ignored + 0 runts, 0 giants + 72034 packets output, 8813479 bytes, 0 underruns + Transmitted 0 broadcasts, 0 multicasts, 72034 unicasts + 0 output errors, 0 collisions \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_interfaces/show_interfaces.yml b/tests/ruckus_fastiron/show_interfaces/show_interfaces.yml new file mode 100644 index 0000000000..c9c11662c1 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces/show_interfaces.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - interface: "40GigabitEthernet2/3/3" + link_status: "up" + interface_up_time: "128 day(s) 19 hour(s) 49 minute(s) 25 second(s)" + protocol_status: "up" + hardware_type: "40GigabitEthernet" + address: "d4c1.9e16.8d10" + bia: "d4c1.9e16.8d10" + description: "" + ip_address: "" + mtu: "1500" + - interface: "40GigabitEthernet2/3/4" + link_status: "down" + interface_up_time: "128 day(s) 19 hour(s) 49 minute(s) 29 second(s)" + protocol_status: "down" + hardware_type: "40GigabitEthernet" + address: "d4c1.9e16.8d11" + bia: "d4c1.9e16.8d11" + description: "" + ip_address: "" + mtu: "1500" + - interface: "GigEthernetmgmt1" + link_status: "up" + interface_up_time: "66 day(s) 7 hour(s) 10 minute(s) 15 second(s)" + protocol_status: "up" + hardware_type: "GigEthernet" + address: "d4c1.9e16.9e87" + bia: "d4c1.9e16.9eb7" + description: "" + ip_address: "10.203.35.106/24" + mtu: "" diff --git a/tests/ruckus_fastiron/show_media_validation/show_media_validation.raw b/tests/ruckus_fastiron/show_media_validation/show_media_validation.raw new file mode 100644 index 0000000000..684ed98f16 --- /dev/null +++ b/tests/ruckus_fastiron/show_media_validation/show_media_validation.raw @@ -0,0 +1,9 @@ +Port Supported Vendor Type +---------------------------------------------------------------------- +1/2/1 No CISCO-OEM Type : 10GE SR 300m (SFP+) +1/2/3 Yes RUCKUS Type : 10GE SR 300m (SFP+) +1/3/1 Yes RUCKUS Type : 40GBASE-Passive Copper 0.5m (QSFP+) +1/3/3 Yes RUCKUS Type : 40GBASE-Passive Copper 0.5m (QSFP+) +2/2/1 No OTHERS Type : 10GE SR 300m (SFP+) +2/3/1 Yes RUCKUS Type : 40GBASE-Passive Copper 0.5m (QSFP+) +2/3/3 Yes RUCKUS Type : 40GBASE-Passive Copper 0.5m (QSFP+) \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_media_validation/show_media_validation.yml b/tests/ruckus_fastiron/show_media_validation/show_media_validation.yml new file mode 100644 index 0000000000..f2af29752d --- /dev/null +++ b/tests/ruckus_fastiron/show_media_validation/show_media_validation.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - interface: "1/2/1" + vendor: "CISCO-OEM" + optic_description: "10GE SR 300m" + optic_type: "SFP+" + - interface: "1/2/3" + vendor: "RUCKUS" + optic_description: "10GE SR 300m" + optic_type: "SFP+" + - interface: "1/3/1" + vendor: "RUCKUS" + optic_description: "40GBASE-Passive Copper 0.5m" + optic_type: "QSFP+" + - interface: "1/3/3" + vendor: "RUCKUS" + optic_description: "40GBASE-Passive Copper 0.5m" + optic_type: "QSFP+" + - interface: "2/2/1" + vendor: "OTHERS" + optic_description: "10GE SR 300m" + optic_type: "SFP+" + - interface: "2/3/1" + vendor: "RUCKUS" + optic_description: "40GBASE-Passive Copper 0.5m" + optic_type: "QSFP+" + - interface: "2/3/3" + vendor: "RUCKUS" + optic_description: "40GBASE-Passive Copper 0.5m" + optic_type: "QSFP+" From 79df276f1049de401d0ba42b8088866e7743ebcb Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Fri, 23 Dec 2022 11:35:16 -0500 Subject: [PATCH 346/412] Prep 3.2.0 (#1262) * Prep 3.2.0 * fix link --- docs/admin/release_notes/version_3.2.md | 69 ++++++++++++++++++++++++- pyproject.toml | 2 +- 2 files changed, 68 insertions(+), 3 deletions(-) diff --git a/docs/admin/release_notes/version_3.2.md b/docs/admin/release_notes/version_3.2.md index 513a334aff..f2f9d702ef 100644 --- a/docs/admin/release_notes/version_3.2.md +++ b/docs/admin/release_notes/version_3.2.md @@ -1,6 +1,71 @@ ## [unreleased] ### What's Changed -* New template: cisco_ios_show_crypto_ipsec_sa_detail.textfsm by @nsnelson402 -* New template: cisco_ios_show_crypto_pki_certificates.textfsm by @nsnelson402 + +* Bump pyyaml from 5.3.1 to 5.4 by @dependabot in [#1186](https://github.com/networktocode/ntc-templates/pull/1186) +* Cisco ios show crypto pki certificates by @nsnelson402 in [#1187](https://github.com/networktocode/ntc-templates/pull/1187) +* Migrates CI from Travis to GitHub Actions by @joewesch in [#1192](https://github.com/networktocode/ntc-templates/pull/1192) +* Cisco ios show crypto ipsec sa detail by @nsnelson402 in [#1191](https://github.com/networktocode/ntc-templates/pull/1191) +* add linux templates by @dainok in [#1193](https://github.com/networktocode/ntc-templates/pull/1193) +* fix(mikrotik): system routerboard print - fix corner case where warhubning messages are added by @elavaud in [#1196](https://github.com/networktocode/ntc-templates/pull/1196) +* Mirkotik: Fix issue with flags on IP route print and long IPv6 com/addresses truncated by @elavaud in [#1152](https://github.com/networktocode/ntc-templates/pull/1152) +* Fix Zyxel sys atsh template when there message before data by @k-rites/bot in [#1197](https://github.com/networktocode/ntc-templates/pull/1197) +* MikroTik routeros add comment field to route print template by @k-rites/bot in [#1210](https://github.com/networktocode/ntc-templates/pull/1210) +* Fix ubiquiti edgerouter show dhcp leases by @k-ribot in [#1209](https://github.com/networktocode/ntc-templates/pull/1209) +* New template: Huawei - display arp brief by @elavaud in [#1208](https://github.com/networktocode/ntc-templates/pull/1208) +* Fix cisco_xr_show_arp with Management/RP interface present ode/by @charlesmonson in [#1207](https://github.com/networktocode/ntc-templates/pull/1207) +* Fix Huawei VRP `display version`template by @cuong-nguyenduy in [#1205](https://github.com/networktocode/ntc-templates/pull/1205) +* Fix Cisco NXOS `display inventory` by @cuong-nguyenduy in [#1206](https://github.com/networktocode/ntc-templates/pull/1206) +* Update Huawei VRP display interface brief template by @k-ribot in [#1201](https://github.com/networktocode/ntc-templates/pull/1201) +* Add Huawei VRP display ipv6 neighbors template by @k-ribot in [#1212](https://github.com/networktocode/ntc-templates/pull/1212) +* Add Huawei VRP display startup template by @k-ribot in [#1211](https://github.com/networktocode/ntc-templates/pull/1211) +* Update Huawei VRP display version template by @k-ribot in [#1200](https://github.com/networktocode/ntc-templates/pull/1200) +* Add Huawei VRP display sn license template by @k-ribot in [#1199](https://github.com/networktocode/ntc-templates/pull/1199) +* Add ubiquiti edgerouter show ipv6 neighbors by @k-ribot in [#1144](https://github.com/networktocode/ntc-templates/pull/1144) +* Huawei VRP: Add 2 new templates for display service-set by @elavtes/aud in [#1213](https://github.com/networktocode/ntc-templates/pull/1213) +* Add Huawei VRP display snmp-agent community template by @k-ribot iull/n [#1216](https://github.com/networktocode/ntc-templates/pull/1216) +* Add Huawei VRP display nat server template by @k-ribot in [#1219](https://github.com/networktocode/ntc-templates/pull/1219) +* Add Huawei VRP display acl and acl ipv6 template by @k-ribot in [#1218](https://github.com/networktocode/ntc-templates/pull/1218) +* Change docs to mkdocs, update dev environment, move to click focom/r scripts by @itdependsnetworks in [#1217](https://github.com/networktocode/ntc-templates/pull/1217) +* Update icon image and ci file by @itdependsnetworks in [#1221](https://github.com/networktocode/ntc-templates/pull/1221) +* Add mikrotik routeros ipv6 neighbor print by @k-ribot in [#1146](https://github.com/networktocode/ntc-templates/pull/1146) +* Add ubiquiti edgerouter show dhcpv6 server leases by @k-ribot in [#1145](https://github.com/networktocode/ntc-templates/pull/1145) +* Huawei - new template - display traffic-filter applied-rode/ecord by @elavaud in [#1223](https://github.com/networktocode/ntc-templates/pull/1223) +* address bug 1225 by @ryanmerolle in [#1226](https://github.com/networktocode/ntc-templates/pull/1226) +* Add Cisco ipv6 route template by @guillaume-mbali in [#1220](https://github.com/networktocode/ntc-templates/pull/1220) +* Updated support for Cisco IOS-XR devices by @ReK42 in [#1176](https://github.com/networktocode/ntc-templates/pull/1176) +* New Template: ruckus_fastiron_show_version.textfsm (#89ode/4) by @jmcgill298 in [#1233](https://github.com/networktocode/ntc-templates/pull/1233) +* added arista ipv6 bgp sum template, fixed bug in ip bgp sum tcom/emplate … by @itdependsnetworks in [#1232](https://github.com/networktocode/ntc-templates/pull/1232) +* Add Huawei VRP display routing-table template by @k-ribot in [#1214](https://github.com/networktocode/ntc-templates/pull/1214) +* MikroTik routeros exclude all log messages in templates by @k-rites/bot in [#1215](https://github.com/networktocode/ntc-templates/pull/1215) +* Update icon, fix issue with missing page, make support model mcom/ore clear by @itdependsnetworks in [#1235](https://github.com/networktocode/ntc-templates/pull/1235) +* Add Huawei VRP display interface template by @k-ribot in [#1202](https://github.com/networktocode/ntc-templates/pull/1202) +* Add aruba_os show ap bss-table details by @hagleyj in [#1147](https://github.com/networktocode/ntc-templates/pull/1147) +* Fix cisco ipv6 neighbors by @guillaume-mbali in [#1230](https://github.com/networktocode/ntc-templates/pull/1230) +* Minor doc update by @itdependsnetworks in [#1244](https://github.com/networktocode/ntc-templates/pull/1244) +* Create xr show controllers hundred gig all, add test files focom/r show c… by @itdependsnetworks in [#1245](https://github.com/networktocode/ntc-templates/pull/1245) +* Modified arista_eos_show_vlan to list Ports issue #908 by @jmcgilltes/298 in [#1248](https://github.com/networktocode/ntc-templates/pull/1248) +* Armartirosyan/cisco ios show ip bgp neighbors by @jmcgill298 in [#1250](https://github.com/networktocode/ntc-templates/pull/1250) +* Add ipinfusion_ocnos_show_lldp_table template by @jmcgill298 in [#1251](https://github.com/networktocode/ntc-templates/pull/1251) +* juniper: add SRX and XE support to show version by @sacharv in [#1053](https://github.com/networktocode/ntc-templates/pull/1053) +* Fixs_1009_fortinet_get_system_ha_status.textfsm by @diepes in [#1041](https://github.com/networktocode/ntc-templates/pull/1041) +* fix1037_paloalto_panos_show_running_nat-policy by @diepes in [#1040](https://github.com/networktocode/ntc-templates/pull/1040) +* Update doc link by @itdependsnetworks in [#1256](https://github.com/networktocode/ntc-templates/pull/1256) +* fix(Mikrotik): Optional space before end of line by @elavaud in [#1159](https://github.com/networktocode/ntc-templates/pull/1159) +* Fixed TYPE regex to include non-dynamic addresses by @afly007 in [#1253](https://github.com/networktocode/ntc-templates/pull/1253) +* Add new templates by @jmcgill298 in [#1258](https://github.com/networktocode/ntc-templates/pull/1258) +* Add template for IOS show ap summary by @jmcgill298 in [#1257](https://github.com/networktocode/ntc-templates/pull/1257) +* Adds individual interface parsing to Cisco IOS `show incom/terfaces` commands by @joewesch in [#1254](https://github.com/networktocode/ntc-templates/pull/1254) +* Modify to be clear only 1 template update per PR by @itdependsnetwotes/rks in [#1260](https://github.com/networktocode/ntc-templates/pull/1260) + +## New Contributors +* @dependabot made their first contribution in [#1186](https://github.com/networktocode/ntc-templates/pull/1186) +* @k-ribot made their first contribution in [#1197](https://github.com/networktocode/ntc-templates/pull/1197) +* @cuong-nguyenduy made their first contribution in [#1205](https://github.com/networktocode/ntc-templates/pull/1205) +* @ryanmerolle made their first contribution in [#1226](https://github.com/networktocode/ntc-templates/pull/1226) +* @guillaume-mbali made their first contribution in [#1220](https://github.com/networktocode/ntc-templates/pull/1220) +* @sacharv made their first contribution in [#1053](https://github.com/networktocode/ntc-templates/pull/1053) +* @afly007 made their first contribution in [#1253](https://github.com/networktocode/ntc-templates/pull/1253) + +**Full Changelog**: https://github.com/networktocode/ntc-templates/compare/v3.1.0...v3.2.0 diff --git a/pyproject.toml b/pyproject.toml index 3adb31c889..b1fd736110 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ntc_templates" -version = "3.1.0" +version = "3.2.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 91b7af600db64fa8877c01f902716bd6b48a2021 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 24 Dec 2022 16:48:09 -0500 Subject: [PATCH 347/412] Add support for Ericsson IPOS router (#1265) Co-authored-by: lutfisan --- .../templates/ericsson_ipos_show_arp.textfsm | 19 +++ .../ericsson_ipos_show_isis_adjacency.textfsm | 15 +++ .../ericsson_ipos_show_version.textfsm | 6 + ntc_templates/templates/index | 4 + .../show_arp/ericsson_ipos_show_arp.raw | 13 ++ .../show_arp/ericsson_ipos_show_arp.yml | 58 +++++++++ .../ericsson_ipos_show_arp_all-context.raw | 71 +++++++++++ .../ericsson_ipos_show_arp_all-context.yml | 114 ++++++++++++++++++ .../show_arp/ericsson_ipos_show_arp_all.raw | 12 ++ .../show_arp/ericsson_ipos_show_arp_all.yml | 30 +++++ .../ericsson_ipos_show_isis_adjacency.raw | 8 ++ .../ericsson_ipos_show_isis_adjacency.yml | 34 ++++++ .../ericsson_ipos_show_version.raw | 21 ++++ .../ericsson_ipos_show_version.yml | 4 + tests/test_index_order.py | 1 + 15 files changed, 410 insertions(+) create mode 100644 ntc_templates/templates/ericsson_ipos_show_arp.textfsm create mode 100644 ntc_templates/templates/ericsson_ipos_show_isis_adjacency.textfsm create mode 100644 ntc_templates/templates/ericsson_ipos_show_version.textfsm create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.raw create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.yml create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.raw create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.yml create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.raw create mode 100644 tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.yml create mode 100644 tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.raw create mode 100644 tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.yml create mode 100644 tests/ericsson_ipos/show_version/ericsson_ipos_show_version.raw create mode 100644 tests/ericsson_ipos/show_version/ericsson_ipos_show_version.yml diff --git a/ntc_templates/templates/ericsson_ipos_show_arp.textfsm b/ntc_templates/templates/ericsson_ipos_show_arp.textfsm new file mode 100644 index 0000000000..76c73fe878 --- /dev/null +++ b/ntc_templates/templates/ericsson_ipos_show_arp.textfsm @@ -0,0 +1,19 @@ +Value Required HOST (\d+\.\d+\.\d+\.\d+) +Value Required MAC (\S+) +Value Required TTL (\S+) +Value Required TYPE (\S+) +Value Required CIRCUIT (\S+\s+\S+\s+\d+|\S+) +Value Filldown CONTEXT (\S+) +Value Filldown CONTEXT_ID (\S+) + +Start + ^Context\s+:${CONTEXT}\s+Context\s+id\s+:\s+${CONTEXT_ID} + ^-+ + ^Total\s+number\s+of\s+arp\s+entries\s+in\s+cache:\s+\d+ + ^\s+Resolved\s+entry\s+:\s+\d+ + ^\s+Incomplete\s+entry\s+:\s+\d+ + ^Host\s+Hardware\s+address\s+Ttl\s+Type\s+Circuit + ^${HOST}\s+${MAC}\s+${TTL}\s+${TYPE}\s+${CIRCUIT} -> Record + ^Showing\s+ARP\s+entries\s+in\s+RP\s+OS\s+kernel: + ^Host\s+Hardware\s+address\s+Flags\s+Type + ^. -> Error diff --git a/ntc_templates/templates/ericsson_ipos_show_isis_adjacency.textfsm b/ntc_templates/templates/ericsson_ipos_show_isis_adjacency.textfsm new file mode 100644 index 0000000000..7bd79de28d --- /dev/null +++ b/ntc_templates/templates/ericsson_ipos_show_isis_adjacency.textfsm @@ -0,0 +1,15 @@ +Value SYSTEM_ID ((\d+.\d+.\d+)|\S+) +Value INTERFACE (\S+) +Value L (\S+) +Value MT (\S+) +Value STAT (\S+) +Value HOLD (\d+) +Value SNPA ((\d+.\d+.\d+)|\S+) +Value UPTIME (\S+) + +Start + ^IS-IS\s+Adjacenc\S+\s+for\s+tag\s+\S+: + ^SystemId\s+Interface\s+L\s+MT\s+Stat\s+Hold\s+SNPA\s+Uptime + ^${SYSTEM_ID}\s+${INTERFACE}\s+${L}\s+${MT}\s+${STAT}\s+${HOLD}\s+${SNPA}\s+${UPTIME} -> Record + ^Total\s+IS-IS\s+Adjacenc\S+:\s+\d+ + ^. -> Error diff --git a/ntc_templates/templates/ericsson_ipos_show_version.textfsm b/ntc_templates/templates/ericsson_ipos_show_version.textfsm new file mode 100644 index 0000000000..44751fe669 --- /dev/null +++ b/ntc_templates/templates/ericsson_ipos_show_version.textfsm @@ -0,0 +1,6 @@ +Value VERSION (\S[^\[]+) +Value UPTIME (\d+\s+\S+\s+\d+\s+\S+\s+\d+\s+\S+) + +Start + ^Ericsson\s+IPOS\s+Version\s+IPOS-v${VERSION}-Release + ^.+Up\s+Time\s+-\s+${UPTIME} diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 81c72c6f6b..0a561107ff 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -449,6 +449,10 @@ dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] +ericsson_ipos_show_isis_adjacency.textfsm, .*, ericsson_ipos, sh[[ow]] isis adja[[cency]] +ericsson_ipos_show_version.textfsm, .*, ericsson_ipos, sh[[ow]] ver[[sion]] +ericsson_ipos_show_arp.textfsm, .*, ericsson_ipos, sh[[ow]] ar[[p]] + fortinet_get_system_interface_physical.textfsm, .*, fortinet, g[[et]] sy[[stem]] in[[terface]] p[[hysical]] fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] fortinet_get_system_ha_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] ha s[[tatus]] diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.raw b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.raw new file mode 100644 index 0000000000..9b57890c27 --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.raw @@ -0,0 +1,13 @@ +Total number of arp entries in cache: 8 + Resolved entry : 8 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.49 98:a4:04:80:2d:1a 2422 ARPA 1/26 +10.10.10.50 98:a4:04:80:31:9a - ARPA 1/26 +10.10.10.65 40:ce:24:a3:1e:8d 3582 ARPA 1/11 +10.10.10.66 98:a4:04:80:31:8b - ARPA 1/11 +10.10.10.213 98:a4:04:80:31:8c - ARPA 1/12 +10.10.10.214 70:7d:b9:2a:67:0c 1425 ARPA 1/12 +10.10.10.70 98:a4:04:80:31:99 - ARPA 1/25 +10.10.10.71 84:18:88:11:f1:a4 1347 ARPA 1/25 diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.yml b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.yml new file mode 100644 index 0000000000..49d37dc42e --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - host: "10.10.10.49" + mac: "98:a4:04:80:2d:1a" + ttl: "2422" + type: "ARPA" + circuit: "1/26" + context: "" + context_id: "" + - host: "10.10.10.50" + mac: "98:a4:04:80:31:9a" + ttl: "-" + type: "ARPA" + circuit: "1/26" + context: "" + context_id: "" + - host: "10.10.10.65" + mac: "40:ce:24:a3:1e:8d" + ttl: "3582" + type: "ARPA" + circuit: "1/11" + context: "" + context_id: "" + - host: "10.10.10.66" + mac: "98:a4:04:80:31:8b" + ttl: "-" + type: "ARPA" + circuit: "1/11" + context: "" + context_id: "" + - host: "10.10.10.213" + mac: "98:a4:04:80:31:8c" + ttl: "-" + type: "ARPA" + circuit: "1/12" + context: "" + context_id: "" + - host: "10.10.10.214" + mac: "70:7d:b9:2a:67:0c" + ttl: "1425" + type: "ARPA" + circuit: "1/12" + context: "" + context_id: "" + - host: "10.10.10.70" + mac: "98:a4:04:80:31:99" + ttl: "-" + type: "ARPA" + circuit: "1/25" + context: "" + context_id: "" + - host: "10.10.10.71" + mac: "84:18:88:11:f1:a4" + ttl: "1347" + type: "ARPA" + circuit: "1/25" + context: "" + context_id: "" diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.raw b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.raw new file mode 100644 index 0000000000..d9de17e9e5 --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.raw @@ -0,0 +1,71 @@ +Context :local Context id : 0x40080001 +------------------------------------------------------------------ +Total number of arp entries in cache: 4 + Resolved entry : 4 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.224 98:a4:04:a2:d8:6a 1380 ARPA 1/9 +10.10.10.225 98:a4:04:a2:dc:e9 - ARPA 1/9 +10.10.10.226 98:a4:04:a2:dc:ea - ARPA 1/10 +10.10.10.227 f8:0f:6f:77:eb:0c 1593 ARPA 1/10 + +Context :Abis_IP Context id : 0x40080002 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.33 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 211 +10.10.10.34 34:00:a3:4c:7e:2c 3502 ARPA 1/5 vlan-id 211 + +Context :Inband-RTN Context id : 0x40080003 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.173 ec:38:8f:6f:91:68 3197 ARPA 1/5 vlan-id 3976 +10.10.10.174 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 3976 + +Context :IuB_UP Context id : 0x40080004 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.97 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 311 +10.10.10.98 34:00:a3:4c:7e:2c 1730 ARPA 1/5 vlan-id 311 + +Context :LTE-S1X2 Context id : 0x40080005 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.161 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 411 +10.10.10.162 34:00:a3:4c:7e:2c 1259 ARPA 1/5 vlan-id 411 + +Context :OM-HWI Context id : 0x40080006 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.225 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 1051 +10.10.10.226 34:00:a3:4c:7e:2c 249 ARPA 1/5 vlan-id 1051 + +Context :OM-Power Context id : 0x40080007 +------------------------------------------------------------------ +Total number of arp entries in cache: 2 + Resolved entry : 2 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.161 98:a4:04:a2:dc:e5 - ARPA 1/5 vlan-id 3911 +10.10.10.162 00:20:85:ef:bb:aa 2657 ARPA 1/5 vlan-id 3911 diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.yml b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.yml new file mode 100644 index 0000000000..cc967e7877 --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all-context.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - host: "10.10.10.224" + mac: "98:a4:04:a2:d8:6a" + ttl: "1380" + type: "ARPA" + circuit: "1/9" + context: "local" + context_id: "0x40080001" + - host: "10.10.10.225" + mac: "98:a4:04:a2:dc:e9" + ttl: "-" + type: "ARPA" + circuit: "1/9" + context: "local" + context_id: "0x40080001" + - host: "10.10.10.226" + mac: "98:a4:04:a2:dc:ea" + ttl: "-" + type: "ARPA" + circuit: "1/10" + context: "local" + context_id: "0x40080001" + - host: "10.10.10.227" + mac: "f8:0f:6f:77:eb:0c" + ttl: "1593" + type: "ARPA" + circuit: "1/10" + context: "local" + context_id: "0x40080001" + - host: "10.10.10.33" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 211" + context: "Abis_IP" + context_id: "0x40080002" + - host: "10.10.10.34" + mac: "34:00:a3:4c:7e:2c" + ttl: "3502" + type: "ARPA" + circuit: "1/5 vlan-id 211" + context: "Abis_IP" + context_id: "0x40080002" + - host: "10.10.10.173" + mac: "ec:38:8f:6f:91:68" + ttl: "3197" + type: "ARPA" + circuit: "1/5 vlan-id 3976" + context: "Inband-RTN" + context_id: "0x40080003" + - host: "10.10.10.174" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 3976" + context: "Inband-RTN" + context_id: "0x40080003" + - host: "10.10.10.97" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 311" + context: "IuB_UP" + context_id: "0x40080004" + - host: "10.10.10.98" + mac: "34:00:a3:4c:7e:2c" + ttl: "1730" + type: "ARPA" + circuit: "1/5 vlan-id 311" + context: "IuB_UP" + context_id: "0x40080004" + - host: "10.10.10.161" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 411" + context: "LTE-S1X2" + context_id: "0x40080005" + - host: "10.10.10.162" + mac: "34:00:a3:4c:7e:2c" + ttl: "1259" + type: "ARPA" + circuit: "1/5 vlan-id 411" + context: "LTE-S1X2" + context_id: "0x40080005" + - host: "10.10.10.225" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 1051" + context: "OM-HWI" + context_id: "0x40080006" + - host: "10.10.10.226" + mac: "34:00:a3:4c:7e:2c" + ttl: "249" + type: "ARPA" + circuit: "1/5 vlan-id 1051" + context: "OM-HWI" + context_id: "0x40080006" + - host: "10.10.10.161" + mac: "98:a4:04:a2:dc:e5" + ttl: "-" + type: "ARPA" + circuit: "1/5 vlan-id 3911" + context: "OM-Power" + context_id: "0x40080007" + - host: "10.10.10.162" + mac: "00:20:85:ef:bb:aa" + ttl: "2657" + type: "ARPA" + circuit: "1/5 vlan-id 3911" + context: "OM-Power" + context_id: "0x40080007" diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.raw b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.raw new file mode 100644 index 0000000000..e7ff0de397 --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.raw @@ -0,0 +1,12 @@ +Total number of arp entries in cache: 4 + Resolved entry : 4 + Incomplete entry : 0 + +Host Hardware address Ttl Type Circuit +10.10.10.224 98:a4:04:a2:d8:6a 919 ARPA 1/9 +10.10.10.225 98:a4:04:a2:dc:e9 - ARPA 1/9 +10.10.10.226 98:a4:04:a2:dc:ea - ARPA 1/10 +10.10.10.227 f8:0f:6f:77:eb:0c 1132 ARPA 1/10 + +Showing ARP entries in RP OS kernel: +Host Hardware address Flags Type diff --git a/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.yml b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.yml new file mode 100644 index 0000000000..9d6bbe1383 --- /dev/null +++ b/tests/ericsson_ipos/show_arp/ericsson_ipos_show_arp_all.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - host: "10.10.10.224" + mac: "98:a4:04:a2:d8:6a" + ttl: "919" + type: "ARPA" + circuit: "1/9" + context: "" + context_id: "" + - host: "10.10.10.225" + mac: "98:a4:04:a2:dc:e9" + ttl: "-" + type: "ARPA" + circuit: "1/9" + context: "" + context_id: "" + - host: "10.10.10.226" + mac: "98:a4:04:a2:dc:ea" + ttl: "-" + type: "ARPA" + circuit: "1/10" + context: "" + context_id: "" + - host: "10.10.10.227" + mac: "f8:0f:6f:77:eb:0c" + ttl: "1132" + type: "ARPA" + circuit: "1/10" + context: "" + context_id: "" diff --git a/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.raw b/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.raw new file mode 100644 index 0000000000..5e6eb7e141 --- /dev/null +++ b/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.raw @@ -0,0 +1,8 @@ +IS-IS Adjacenc(ies) for tag XL: +SystemId Interface L MT Stat Hold SNPA Uptime +MA-BJC547-01 Virtual_Interface_ 2p U Up 29 41de.24a3.1e8d 04d20h01 +MA-BMCI75-01 Virtual_Interface_ 2p U Up 22 7d7e.b92a.670c 04d20h01 +C-BJAHY-01 Virtual_Interface_ 1p U Up 22 801a.8811.f1a4 04d20h01 +0102.1905.0009 Virtual_Interface_ 3p U Up 23 9aac.0480.2d1a 04d20h01 + +Total IS-IS Adjacenc(ies): 4 diff --git a/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.yml b/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.yml new file mode 100644 index 0000000000..c22f43e31b --- /dev/null +++ b/tests/ericsson_ipos/show_isis_adjacency/ericsson_ipos_show_isis_adjacency.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - system_id: "MA-BJC547-01" + interface: "Virtual_Interface_" + l: "2p" + mt: "U" + stat: "Up" + hold: "29" + snpa: "41de.24a3.1e8d" + uptime: "04d20h01" + - system_id: "MA-BMCI75-01" + interface: "Virtual_Interface_" + l: "2p" + mt: "U" + stat: "Up" + hold: "22" + snpa: "7d7e.b92a.670c" + uptime: "04d20h01" + - system_id: "C-BJAHY-01" + interface: "Virtual_Interface_" + l: "1p" + mt: "U" + stat: "Up" + hold: "22" + snpa: "801a.8811.f1a4" + uptime: "04d20h01" + - system_id: "0102.1905.0009" + interface: "Virtual_Interface_" + l: "3p" + mt: "U" + stat: "Up" + hold: "23" + snpa: "9aac.0480.2d1a" + uptime: "04d20h01" diff --git a/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.raw b/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.raw new file mode 100644 index 0000000000..70b426dc3c --- /dev/null +++ b/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.raw @@ -0,0 +1,21 @@ + +Ericsson IPOS Version IPOS-v20.3.1.803.142-Release +Built by spradmin@ericsson Tue Dec 15 12:49:29 CET 2020 +Copyright (C) 1998-2020, Ericsson AB. All rights reserved. +Operating System version is Linux 3.14.65-mvista +System Bootstrap version is CXC1740316_1-R11A01(K0000I0000) +There is no minikernel currently installed +Secure Boot mode: PRODUCTION +Minimal Key Revision is 0, images have 0 +Minimal Security Revision is 0, images have 0 +Kernel version is Linux-3.14-CXC1740317_1-R11A02(K0000I0000) +Golden Bootstrap version is CXC1740316_1-R1A08(KFFFFIFFFF) +Golden SBI version is CXC1740314_1-R1A03 +Primary SBI version is CXC1740314_1-R11A01(K0000I0000) +FPGA version is CXC 174 0318/2 -R5C07 +CHIMP version is 1.0 + +slad / mloam-service-layer component version: 0.0.0 +Built by nobody Sat Jan 1 00:00:00 UTC 2000 +Copyright (C) 1998-2020, Ericsson AB. All rights reserved. +Router Up Time - 10 hours 48 minutes 41 seconds diff --git a/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.yml b/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.yml new file mode 100644 index 0000000000..7d1e6bbf61 --- /dev/null +++ b/tests/ericsson_ipos/show_version/ericsson_ipos_show_version.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - version: "20.3.1.803.142" + uptime: "10 hours 48 minutes 41 seconds" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index a70832a503..c0f748b45f 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -33,6 +33,7 @@ "dell_force10", "dell_powerconnect", "enterasys", + "ericsson_ipos", "extreme", "f5_ltm", "fortinet", From 241fd048e5a577d36f121a5f702be9dde27619e1 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 24 Dec 2022 17:22:15 -0500 Subject: [PATCH 348/412] add display_arp_all and display_isis_peer (#1266) * add display_arp_all and display_isis_peer * Fix file names and order Co-authored-by: lutfisan --- .../huawei_vrp_display_arp_all.textfsm | 17 + .../huawei_vrp_display_isis_peer.textfsm | 16 + ntc_templates/templates/index | 2 + .../huawei_vrpv8_display_arp_all.raw | 378 +++++ .../huawei_vrpv8_display_arp_all.yml | 1256 +++++++++++++++++ .../huawei_vrpv8_display_isis_peer.raw | 8 + .../huawei_vrpv8_display_isis_peer.yml | 16 + 7 files changed, 1693 insertions(+) create mode 100644 ntc_templates/templates/huawei_vrp_display_arp_all.textfsm create mode 100644 ntc_templates/templates/huawei_vrp_display_isis_peer.textfsm create mode 100644 tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.raw create mode 100644 tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.yml create mode 100644 tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.raw create mode 100644 tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.yml diff --git a/ntc_templates/templates/huawei_vrp_display_arp_all.textfsm b/ntc_templates/templates/huawei_vrp_display_arp_all.textfsm new file mode 100644 index 0000000000..42a6f90cd8 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_arp_all.textfsm @@ -0,0 +1,17 @@ +Value Required IP_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required MAC_ADDRESS (\S+) +Value EXPIRE (\d+) +Value Required TYPE (\S+\s\S+|\S+) +Value Required INTERFACE (\S+) +Value VPN_INSTANCE (\S+) + +Start + ^IP\s+ADDRESS\s+MAC\s+ADDRESS\s+EXPIRE\S+\s+TYPE\s+INTERFACE\s+VPN-INSTANCE + ^\s+VLAN\/CEVLAN\s+PVC + ^-+ + ^${IP_ADDRESS}\s+${MAC_ADDRESS}\s+${EXPIRE}?\s+${TYPE}\s+${INTERFACE}(\s+)?${VPN_INSTANCE}?$$ -> Record + ^\s+(\d+)\/(\S+) + ^Total:(\d+)\s+Dynamic:(\d+)\s+Static:(\d+)\s+Interface:(\d+)\s+Remote:(\d+) + ^Redirect:(\d+) + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/huawei_vrp_display_isis_peer.textfsm b/ntc_templates/templates/huawei_vrp_display_isis_peer.textfsm new file mode 100644 index 0000000000..d71ed9ed29 --- /dev/null +++ b/ntc_templates/templates/huawei_vrp_display_isis_peer.textfsm @@ -0,0 +1,16 @@ +Value SYSTEM_ID ((\d+.\d+.\d+)|\S+) +Value INTERFACE (\S+) +Value CIRCUIT_ID (\d+) +Value STATE (\S+) +Value HOLD_TIME (\S+) +Value TYPE ((L\d)+) +Value PRI (\S+) + +Start + ^\s+Peer\s+information\s+for\s+\S+ + ^\s+System\s+Id\s+Interface\s+Circuit\s+Id\s+State\s+HoldTime\s+Type\s+PRI + ^-+ + ^${SYSTEM_ID}\s+${INTERFACE}\s+${CIRCUIT_ID}\s+${STATE}\s+${HOLD_TIME}\s+${TYPE}\s+${PRI} -> Record + ^Total\s+Peer\S+:\s+\d+ + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0a561107ff..989ad86358 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -496,8 +496,10 @@ huawei_vrp_display_nat_server.textfsm, .*, huawei_vrp, dis[[play]] na[[t]] ser[[ huawei_vrp_display_sn_license.textfsm, .*, huawei_vrp, dis[[play]] sn l[[icence]] huawei_vrp_display_arp_brief.textfsm, .*, huawei_vrp, dis[[play]] arp br[[ief]] huawei_vrp_display_interface.textfsm, .*, huawei_vrp, dis[[play]] inter[[face]]\s*((?!brief|counters|description).)*$ +huawei_vrp_display_isis_peer.textfsm, .*, huawei_vrp, disp[[lay]] isis p[[eer]] huawei_vrp_display_port_vlan.textfsm, .*, huawei_vrp, dis[[play]] port vl[[an]] huawei_vrp_display_acl_all.textfsm, .*, huawei_vrp, dis[[play]] acl(\si[[pv6]])? a[[ll]] +huawei_vrp_display_arp_all.textfsm, .*, huawei_vrp, disp[[lay]] ar[[p]] all huawei_vrp_display_startup.textfsm, .*, huawei_vrp, dis[[play]] star[[tup]] huawei_vrp_display_version.textfsm, .*, huawei_vrp, dis[[play]] ver[[sion]] diff --git a/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.raw b/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.raw new file mode 100644 index 0000000000..709c42844d --- /dev/null +++ b/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.raw @@ -0,0 +1,378 @@ +IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE + VLAN/CEVLAN PVC +---------------------------------------------------------------------------------------- +192.168.0.1 4cf5-5b2e-3d0a I - Eth0/0/0 __LOCAL_OAM_VPN__ +10.110.138.33 4cf5-5b2e-3d18 I - GE0/2/13.203 Abis_IP +10.110.138.33 4cf5-5b2e-3d18 I - GE0/2/13.1003 OM-3G +10.110.138.177 4cf5-5b2e-3d18 I - GE0/2/13.1044 OM-3G +10.110.182.33 4cf5-5b2e-3d18 I - GE0/2/13.1151 LTE-S1X2 +10.110.183.33 4cf5-5b2e-3d18 I - GE0/2/13.3751 OM-3G +10.110.138.1 4cf5-5b2e-3d0a I - Eth-Trunk1.201 Abis_IP +10.110.138.3 74c9-9ae5-f147 19 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.5 74c9-9abd-02c9 17 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.8 9055-ae48-6b2e 9 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.10 74c9-9ac1-91ce 12 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.11 74d0-dcf1-9804 8 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.12 74c9-9ae5-84b2 8 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.13 ac60-b676-7344 17 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.14 9055-ae4c-2fa2 13 D-0 Eth-Trunk1.201 Abis_IP + 201/- +10.110.138.17 4cf5-5b2e-3d0a I - Eth-Trunk1.202 Abis_IP +10.110.138.18 ac60-b671-bc15 15 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.19 346e-9db4-8552 20 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.21 74d0-dcef-2b54 17 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.22 9038-0943-addf 8 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.23 3407-fbf7-f575 2 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.24 3407-fb42-1238 13 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.138.30 3c19-7df0-3966 8 D-0 Eth-Trunk1.202 Abis_IP + 202/- +10.110.192.193 4cf5-5b2e-3d0a I - Eth-Trunk1.265 Abis_IP +10.110.138.129 4cf5-5b2e-3d0a I - Eth-Trunk1.301 IuB_UP +10.110.138.130 74c9-9a03-ad10 13 D-0 Eth-Trunk1.301 IuB_UP + 301/- +10.110.138.133 549b-72a0-f2bb 11 D-0 Eth-Trunk1.301 IuB_UP + 301/- +10.110.138.134 74d0-dcc0-488e 18 D-0 Eth-Trunk1.301 IuB_UP + 301/- +10.110.138.137 987a-10a6-d5cc 9 D-0 Eth-Trunk1.301 IuB_UP + 301/- +10.110.138.145 4cf5-5b2e-3d0a I - Eth-Trunk1.302 IuB_UP +10.110.138.146 74d0-dcc7-8317 13 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.147 74c9-9a01-454f 8 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.148 9038-099c-096d 10 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.149 549b-7281-d09d 6 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.150 9038-09d6-eb87 13 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.152 78d3-4749-894d 14 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.153 549b-7280-dca1 17 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.154 549b-7243-4043 18 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.156 987a-10aa-5729 17 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.157 a4a1-c237-8587 20 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.158 346e-9d5c-d9b3 20 D-0 Eth-Trunk1.302 IuB_UP + 302/- +10.110.138.161 4cf5-5b2e-3d0a I - Eth-Trunk1.303 IuB_UP +10.110.138.110 346e-9d5e-0c92 7 D-0 Eth-Trunk1.303 IuB_UP + 303/- +10.110.138.167 3c19-7dba-8ed3 8 D-0 Eth-Trunk1.303 IuB_UP + 303/- +10.110.138.168 78d3-4749-105c 8 D-0 Eth-Trunk1.303 IuB_UP + 303/- +10.110.138.172 3407-fb1b-2110 7 D-0 Eth-Trunk1.303 IuB_UP + 303/- +10.110.138.110 9055-aee1-934b 4 D-0 Eth-Trunk1.303 IuB_UP + 303/- +10.110.0.193 4cf5-5b2e-3d0a I - Eth-Trunk1.365 OM-3G +10.110.138.97 4cf5-5b2e-3d0a I - Eth-Trunk1.401 LTE-S1X2 +10.110.138.98 9038-0928-6970 14 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.99 98a4-04a8-3ded 9 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.100 9038-092c-aa7b 18 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.101 346e-9d5c-b080 13 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.102 346e-9d5e-0c92 17 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.104 78d3-4749-894d 18 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.105 78d3-4749-105c 20 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.106 987a-10a6-d5cc 17 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.107 ac60-b683-5ac0 3 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.108 346e-9d3f-4ada 3 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.109 549b-72a0-f2bb 1 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.110 a4a1-c2c0-d133 10 D-0 Eth-Trunk1.401 LTE-S1X2 + 401/- +10.110.138.1 4cf5-5b2e-3d0a I - Eth-Trunk1.1001 OM-3G +10.110.138.2 ac60-b676-7344 17 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.3 74c9-9ae5-f147 19 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.5 74c9-9abd-02c9 17 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.8 9055-ae48-6b2e 6 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.10 74c9-9ac1-91ce 13 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.11 74d0-dcf1-9804 4 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.12 74c9-9ae5-84b2 2 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.14 9055-ae4c-2fa2 13 D-0 Eth-Trunk1.1001 OM-3G + 1001/- +10.110.138.17 4cf5-5b2e-3d0a I - Eth-Trunk1.1002 OM-3G +10.110.138.18 ac60-b671-bc15 4 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.19 346e-9db4-8552 20 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.21 74d0-dcef-2b54 17 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.22 9038-0943-addf 9 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.24 3407-fb42-1238 16 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.30 3c19-7df0-3966 8 D-0 Eth-Trunk1.1002 OM-3G + 1002/- +10.110.138.129 4cf5-5b2e-3d0a I - Eth-Trunk1.1041 OM-3G +10.110.138.130 74c9-9a03-ad10 13 D-0 Eth-Trunk1.1041 OM-3G + 1041/- +10.110.138.134 74d0-dcc0-488e 18 D-0 Eth-Trunk1.1041 OM-3G + 1041/- +10.110.138.145 4cf5-5b2e-3d0a I - Eth-Trunk1.1042 OM-3G +10.110.138.146 74d0-dcc7-8317 20 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.147 74c9-9a01-454f 13 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.150 9038-09d6-eb87 15 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.156 987a-10aa-5729 17 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.157 a4a1-c237-8587 20 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.158 346e-9d5c-d9b3 20 D-0 Eth-Trunk1.1042 OM-3G + 1042/- +10.110.138.161 4cf5-5b2e-3d0a I - Eth-Trunk1.1043 OM-3G +10.110.138.167 3c19-7dba-8ed3 8 D-0 Eth-Trunk1.1043 OM-3G + 1043/- +10.110.138.172 3407-fb1b-2110 7 D-0 Eth-Trunk1.1043 OM-3G + 1043/- +10.110.138.110 9055-aee1-934b 4 D-0 Eth-Trunk1.1043 OM-3G + 1043/- +10.110.138.97 4cf5-5b2e-3d0a I - Eth-Trunk1.1081 OM-3G +10.110.138.98 9038-0928-6970 4 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.99 98a4-04a8-3ded 20 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.100 9038-092c-aa7b 19 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.101 346e-9d5c-b080 16 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.102 346e-9d5e-0c92 7 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.104 78d3-4749-894d 16 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.105 78d3-4749-105c 15 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.106 987a-10a6-d5cc 13 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.107 ac60-b683-5ac0 3 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.108 346e-9d3f-4ada 8 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.109 549b-72a0-f2bb 20 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.138.110 a4a1-c2c0-d133 9 D-0 Eth-Trunk1.1081 OM-3G + 1081/- +10.110.103.97 4cf5-5b2e-3d0a I - Eth-Trunk1.1107 LTE-S1X2 +10.110.103.106 ac60-b683-2742 13 D-0 Eth-Trunk1.1107 LTE-S1X2 + 1107/- +10.110.107.110 4cf5-5b2e-3d0a I - Eth-Trunk1.1108 LTE-S1X2 +10.110.107.110 987a-10aa-5729 17 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.81 4cf5-5b2e-3d0a I - Eth-Trunk1.1108 LTE-S1X2 +10.110.170.84 ac60-b682-c450 13 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.85 549b-7280-dca1 13 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.86 98c5-db33-2044 5 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.88 346e-9d56-6110 18 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.92 9038-099c-096d 2 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.93 549b-7281-d09d 9 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.170.94 549b-7243-4043 6 D-0 Eth-Trunk1.1108 LTE-S1X2 + 1108/- +10.110.133.1 4cf5-5b2e-3d0a I - Eth-Trunk1.3100 Inband-IPaso +10.110.133.2 0025-5cb6-ecb0 20 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.3 0020-85f8-8753 1 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.4 8cdf-9d60-94e0 12 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.5 0025-5cf9-7240 13 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.6 0025-5cf9-7610 9 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.7 8cdf-9d25-35c0 6 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.8 0025-5c7d-0840 16 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.9 0025-5cf9-4c60 1 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.10 0025-5cb2-93c0 20 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.12 0025-5c79-3280 1 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.13 d492-3400-1c80 13 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.14 0025-5ce9-4a50 13 D-0 Eth-Trunk1.3100 Inband-IPaso + 3100/- +10.110.133.17 4cf5-5b2e-3d0a I - Eth-Trunk1.3101 Inband-IPaso +10.110.133.18 d492-3400-0ae0 5 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.19 0020-85ff-f610 13 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.20 0025-5c03-0940 10 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.21 743a-65b4-d720 4 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.22 d492-3400-0a40 8 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.23 58c2-329f-85e0 16 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.24 8cdf-9d60-8740 5 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.25 743a-6593-0380 18 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.26 8cdf-9d60-99a0 18 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.27 743a-65d6-7d40 1 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.28 0025-5c7e-6d00 6 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.29 8cdf-9da5-ac60 5 D-0 Eth-Trunk1.3101 Inband-IPaso + 3101/- +10.110.133.33 4cf5-5b2e-3d0a I - Eth-Trunk1.3102 Inband-IPaso +10.110.133.35 8cdf-9d7c-f200 11 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.36 0025-5c92-20c0 3 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.37 743a-6533-50a0 2 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.38 0025-5c81-b3a0 4 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.39 0025-5cdf-4e60 6 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.40 0025-5cb6-f5e0 5 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.41 0025-5c69-e140 3 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.42 58c2-32a0-ed10 3 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.43 0025-5ca9-5e60 17 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.44 0025-5cf2-1f20 3 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.46 0025-5ca9-49e0 3 D-0 Eth-Trunk1.3102 Inband-IPaso + 3102/- +10.110.133.49 4cf5-5b2e-3d0a I - Eth-Trunk1.3103 Inband-IPaso +10.110.133.52 8cdf-9d60-5ae0 3 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.53 8cdf-9d60-5000 11 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.57 0025-5ca1-b0c0 3 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.58 0025-5c79-50e0 3 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.59 58c2-3280-4c20 11 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.60 0025-5c7e-d730 15 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.61 0025-5cf2-2290 15 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.62 0025-5c7e-65d0 4 D-0 Eth-Trunk1.3103 Inband-IPaso + 3103/- +10.110.133.65 4cf5-5b2e-3d0a I - Eth-Trunk1.3104 Inband-IPaso +10.110.133.66 0025-5c59-31c0 14 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.67 0025-5c3f-e780 14 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.68 743a-6583-e470 5 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.69 0025-5ce9-9110 5 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.70 8cdf-9db6-bf00 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.71 8cdf-9d27-2110 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.72 8cdf-9da5-98a0 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.73 58c2-3277-c440 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.74 8cdf-9d27-0000 15 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.75 58c2-32b1-1480 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.76 8cdf-9d34-c940 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.77 743a-656c-3da0 13 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.133.78 743a-65cb-0be0 8 D-0 Eth-Trunk1.3104 Inband-IPaso + 3104/- +10.110.102.97 4cf5-5b2e-3d0a I - Eth-Trunk1.3707 OM-3G +10.110.102.106 ac60-b683-2742 13 D-0 Eth-Trunk1.3707 OM-3G + 3707/- +10.110.106.110 4cf5-5b2e-3d0a I - Eth-Trunk1.3708 OM-3G +10.110.106.117 9038-0928-73e2 18 D-0 Eth-Trunk1.3708 OM-3G + 3708/- +10.110.122.177 4cf5-5b2e-3d0a I - Eth-Trunk1.3712 OM-3G +10.110.122.193 4cf5-5b2e-3d0a I - Eth-Trunk1.3713 OM-3G +10.110.122.209 4cf5-5b2e-3d0a I - Eth-Trunk1.3714 OM-3G +10.110.171.81 4cf5-5b2e-3d0a I - Eth-Trunk1.3738 OM-3G +10.110.171.84 ac60-b682-c450 13 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.171.85 549b-7280-dca1 5 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.171.86 98c5-db33-2044 8 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.171.88 346e-9d56-6110 18 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.171.92 9038-099c-096d 2 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.175.93 549b-7281-d09d 16 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.171.94 549b-7243-4043 9 D-0 Eth-Trunk1.3738 OM-3G + 3738/- +10.110.110.209 4cf5-5b2e-3d0a I - Eth-Trunk1.3914 OM-power +10.110.110.210 c8c4-6594-8fc2 7 D-0 Eth-Trunk1.3914 OM-power + 3914/- +10.110.110.218 c835-b884-707f 5 D-0 Eth-Trunk1.3914 OM-power + 3914/- +10.110.110.222 c835-b885-1ec5 9 D-0 Eth-Trunk1.3914 OM-power + 3914/- +10.110.21.21 4cf5-5b2e-3d0a I - Eth-Trunk50.2400 OM-OLT +10.110.21.22 3ce8-2462-b78e 18 D-0 Eth-Trunk50.2400 OM-OLT + 2400/- +10.110.178.65 4cf5-5b2e-3d0a I - VE0/2/1.20 IuB_UP +10.110.167.65 4cf5-5b2e-3d0a I - VE0/2/1.36 IuB_UP +10.110.195.81 4cf5-5b2e-3d0a I - VE0/2/1.80 IuB_UP +10.110.195.145 4cf5-5b2e-3d0a I - VE0/2/1.84 IuB_UP +10.110.138.177 4cf5-5b2e-3d0a I - VE0/2/1.304 IuB_UP +10.110.1.9 4cf5-5b2e-3d0a I - Eth-Trunk2 +10.110.1.10 4cf5-5b2e-7ee5 15 D-0 Eth-Trunk2 +10.110.133.81 4cf5-5b2e-3d18 I - GE0/2/13.3105 Inband-IPaso +10.110.133.82 0025-5c92-57a0 3 D-0 GE0/2/13.3105 Inband-IPaso + 3105/- +10.110.1.6 4cf5-5b2e-3d0a I - Eth-Trunk0 +10.110.1.5 f41d-6bbc-4cb7 2 D-0 Eth-Trunk0 +---------------------------------------------------------------------------------------- +Total:209 Dynamic:110 Static:0 Interface:44 Remote:0 +Redirect:0 diff --git a/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.yml b/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.yml new file mode 100644 index 0000000000..803256c6e8 --- /dev/null +++ b/tests/huawei_vrp/display_arp_all/huawei_vrpv8_display_arp_all.yml @@ -0,0 +1,1256 @@ +--- +parsed_sample: + - ip_address: "192.168.0.1" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth0/0/0" + vpn_instance: "__LOCAL_OAM_VPN__" + - ip_address: "10.110.138.33" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.203" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.33" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.1003" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.177" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.1044" + vpn_instance: "OM-3G" + - ip_address: "10.110.182.33" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.1151" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.183.33" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.3751" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.1" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.3" + mac_address: "74c9-9ae5-f147" + expire: "19" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.5" + mac_address: "74c9-9abd-02c9" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.8" + mac_address: "9055-ae48-6b2e" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.10" + mac_address: "74c9-9ac1-91ce" + expire: "12" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.11" + mac_address: "74d0-dcf1-9804" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.12" + mac_address: "74c9-9ae5-84b2" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.13" + mac_address: "ac60-b676-7344" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.14" + mac_address: "9055-ae4c-2fa2" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.201" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.17" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.18" + mac_address: "ac60-b671-bc15" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.19" + mac_address: "346e-9db4-8552" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.21" + mac_address: "74d0-dcef-2b54" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.22" + mac_address: "9038-0943-addf" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.23" + mac_address: "3407-fbf7-f575" + expire: "2" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.24" + mac_address: "3407-fb42-1238" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.30" + mac_address: "3c19-7df0-3966" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.202" + vpn_instance: "Abis_IP" + - ip_address: "10.110.192.193" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.265" + vpn_instance: "Abis_IP" + - ip_address: "10.110.138.129" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.301" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.130" + mac_address: "74c9-9a03-ad10" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.301" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.133" + mac_address: "549b-72a0-f2bb" + expire: "11" + type: "D-0" + interface: "Eth-Trunk1.301" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.134" + mac_address: "74d0-dcc0-488e" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.301" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.137" + mac_address: "987a-10a6-d5cc" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.301" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.145" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.146" + mac_address: "74d0-dcc7-8317" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.147" + mac_address: "74c9-9a01-454f" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.148" + mac_address: "9038-099c-096d" + expire: "10" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.149" + mac_address: "549b-7281-d09d" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.150" + mac_address: "9038-09d6-eb87" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.152" + mac_address: "78d3-4749-894d" + expire: "14" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.153" + mac_address: "549b-7280-dca1" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.154" + mac_address: "549b-7243-4043" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.156" + mac_address: "987a-10aa-5729" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.157" + mac_address: "a4a1-c237-8587" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.158" + mac_address: "346e-9d5c-d9b3" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.302" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.161" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.110" + mac_address: "346e-9d5e-0c92" + expire: "7" + type: "D-0" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.167" + mac_address: "3c19-7dba-8ed3" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.168" + mac_address: "78d3-4749-105c" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.172" + mac_address: "3407-fb1b-2110" + expire: "7" + type: "D-0" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.110" + mac_address: "9055-aee1-934b" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.303" + vpn_instance: "IuB_UP" + - ip_address: "10.110.0.193" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.365" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.97" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.98" + mac_address: "9038-0928-6970" + expire: "14" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.99" + mac_address: "98a4-04a8-3ded" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.100" + mac_address: "9038-092c-aa7b" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.101" + mac_address: "346e-9d5c-b080" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.102" + mac_address: "346e-9d5e-0c92" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.104" + mac_address: "78d3-4749-894d" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.105" + mac_address: "78d3-4749-105c" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.106" + mac_address: "987a-10a6-d5cc" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.107" + mac_address: "ac60-b683-5ac0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.108" + mac_address: "346e-9d3f-4ada" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.109" + mac_address: "549b-72a0-f2bb" + expire: "1" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.110" + mac_address: "a4a1-c2c0-d133" + expire: "10" + type: "D-0" + interface: "Eth-Trunk1.401" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.138.1" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.2" + mac_address: "ac60-b676-7344" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.3" + mac_address: "74c9-9ae5-f147" + expire: "19" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.5" + mac_address: "74c9-9abd-02c9" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.8" + mac_address: "9055-ae48-6b2e" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.10" + mac_address: "74c9-9ac1-91ce" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.11" + mac_address: "74d0-dcf1-9804" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.12" + mac_address: "74c9-9ae5-84b2" + expire: "2" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.14" + mac_address: "9055-ae4c-2fa2" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1001" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.17" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.18" + mac_address: "ac60-b671-bc15" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.19" + mac_address: "346e-9db4-8552" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.21" + mac_address: "74d0-dcef-2b54" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.22" + mac_address: "9038-0943-addf" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.24" + mac_address: "3407-fb42-1238" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.30" + mac_address: "3c19-7df0-3966" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.1002" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.129" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1041" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.130" + mac_address: "74c9-9a03-ad10" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1041" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.134" + mac_address: "74d0-dcc0-488e" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.1041" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.145" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.146" + mac_address: "74d0-dcc7-8317" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.147" + mac_address: "74c9-9a01-454f" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.150" + mac_address: "9038-09d6-eb87" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.156" + mac_address: "987a-10aa-5729" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.157" + mac_address: "a4a1-c237-8587" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.158" + mac_address: "346e-9d5c-d9b3" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1042" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.161" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1043" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.167" + mac_address: "3c19-7dba-8ed3" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.1043" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.172" + mac_address: "3407-fb1b-2110" + expire: "7" + type: "D-0" + interface: "Eth-Trunk1.1043" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.110" + mac_address: "9055-aee1-934b" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.1043" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.97" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.98" + mac_address: "9038-0928-6970" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.99" + mac_address: "98a4-04a8-3ded" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.100" + mac_address: "9038-092c-aa7b" + expire: "19" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.101" + mac_address: "346e-9d5c-b080" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.102" + mac_address: "346e-9d5e-0c92" + expire: "7" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.104" + mac_address: "78d3-4749-894d" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.105" + mac_address: "78d3-4749-105c" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.106" + mac_address: "987a-10a6-d5cc" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.107" + mac_address: "ac60-b683-5ac0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.108" + mac_address: "346e-9d3f-4ada" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.109" + mac_address: "549b-72a0-f2bb" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.138.110" + mac_address: "a4a1-c2c0-d133" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.1081" + vpn_instance: "OM-3G" + - ip_address: "10.110.103.97" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1107" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.103.106" + mac_address: "ac60-b683-2742" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1107" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.107.110" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.107.110" + mac_address: "987a-10aa-5729" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.81" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.84" + mac_address: "ac60-b682-c450" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.85" + mac_address: "549b-7280-dca1" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.86" + mac_address: "98c5-db33-2044" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.88" + mac_address: "346e-9d56-6110" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.92" + mac_address: "9038-099c-096d" + expire: "2" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.93" + mac_address: "549b-7281-d09d" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.170.94" + mac_address: "549b-7243-4043" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.1108" + vpn_instance: "LTE-S1X2" + - ip_address: "10.110.133.1" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.2" + mac_address: "0025-5cb6-ecb0" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.3" + mac_address: "0020-85f8-8753" + expire: "1" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.4" + mac_address: "8cdf-9d60-94e0" + expire: "12" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.5" + mac_address: "0025-5cf9-7240" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.6" + mac_address: "0025-5cf9-7610" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.7" + mac_address: "8cdf-9d25-35c0" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.8" + mac_address: "0025-5c7d-0840" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.9" + mac_address: "0025-5cf9-4c60" + expire: "1" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.10" + mac_address: "0025-5cb2-93c0" + expire: "20" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.12" + mac_address: "0025-5c79-3280" + expire: "1" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.13" + mac_address: "d492-3400-1c80" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.14" + mac_address: "0025-5ce9-4a50" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3100" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.17" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.18" + mac_address: "d492-3400-0ae0" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.19" + mac_address: "0020-85ff-f610" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.20" + mac_address: "0025-5c03-0940" + expire: "10" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.21" + mac_address: "743a-65b4-d720" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.22" + mac_address: "d492-3400-0a40" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.23" + mac_address: "58c2-329f-85e0" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.24" + mac_address: "8cdf-9d60-8740" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.25" + mac_address: "743a-6593-0380" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.26" + mac_address: "8cdf-9d60-99a0" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.27" + mac_address: "743a-65d6-7d40" + expire: "1" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.28" + mac_address: "0025-5c7e-6d00" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.29" + mac_address: "8cdf-9da5-ac60" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3101" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.33" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.35" + mac_address: "8cdf-9d7c-f200" + expire: "11" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.36" + mac_address: "0025-5c92-20c0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.37" + mac_address: "743a-6533-50a0" + expire: "2" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.38" + mac_address: "0025-5c81-b3a0" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.39" + mac_address: "0025-5cdf-4e60" + expire: "6" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.40" + mac_address: "0025-5cb6-f5e0" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.41" + mac_address: "0025-5c69-e140" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.42" + mac_address: "58c2-32a0-ed10" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.43" + mac_address: "0025-5ca9-5e60" + expire: "17" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.44" + mac_address: "0025-5cf2-1f20" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.46" + mac_address: "0025-5ca9-49e0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3102" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.49" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.52" + mac_address: "8cdf-9d60-5ae0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.53" + mac_address: "8cdf-9d60-5000" + expire: "11" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.57" + mac_address: "0025-5ca1-b0c0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.58" + mac_address: "0025-5c79-50e0" + expire: "3" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.59" + mac_address: "58c2-3280-4c20" + expire: "11" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.60" + mac_address: "0025-5c7e-d730" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.61" + mac_address: "0025-5cf2-2290" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.62" + mac_address: "0025-5c7e-65d0" + expire: "4" + type: "D-0" + interface: "Eth-Trunk1.3103" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.65" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.66" + mac_address: "0025-5c59-31c0" + expire: "14" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.67" + mac_address: "0025-5c3f-e780" + expire: "14" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.68" + mac_address: "743a-6583-e470" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.69" + mac_address: "0025-5ce9-9110" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.70" + mac_address: "8cdf-9db6-bf00" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.71" + mac_address: "8cdf-9d27-2110" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.72" + mac_address: "8cdf-9da5-98a0" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.73" + mac_address: "58c2-3277-c440" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.74" + mac_address: "8cdf-9d27-0000" + expire: "15" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.75" + mac_address: "58c2-32b1-1480" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.76" + mac_address: "8cdf-9d34-c940" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.77" + mac_address: "743a-656c-3da0" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.78" + mac_address: "743a-65cb-0be0" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3104" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.102.97" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3707" + vpn_instance: "OM-3G" + - ip_address: "10.110.102.106" + mac_address: "ac60-b683-2742" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3707" + vpn_instance: "OM-3G" + - ip_address: "10.110.106.110" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3708" + vpn_instance: "OM-3G" + - ip_address: "10.110.106.117" + mac_address: "9038-0928-73e2" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.3708" + vpn_instance: "OM-3G" + - ip_address: "10.110.122.177" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3712" + vpn_instance: "OM-3G" + - ip_address: "10.110.122.193" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3713" + vpn_instance: "OM-3G" + - ip_address: "10.110.122.209" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3714" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.81" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.84" + mac_address: "ac60-b682-c450" + expire: "13" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.85" + mac_address: "549b-7280-dca1" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.86" + mac_address: "98c5-db33-2044" + expire: "8" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.88" + mac_address: "346e-9d56-6110" + expire: "18" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.92" + mac_address: "9038-099c-096d" + expire: "2" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.175.93" + mac_address: "549b-7281-d09d" + expire: "16" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.171.94" + mac_address: "549b-7243-4043" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.3738" + vpn_instance: "OM-3G" + - ip_address: "10.110.110.209" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk1.3914" + vpn_instance: "OM-power" + - ip_address: "10.110.110.210" + mac_address: "c8c4-6594-8fc2" + expire: "7" + type: "D-0" + interface: "Eth-Trunk1.3914" + vpn_instance: "OM-power" + - ip_address: "10.110.110.218" + mac_address: "c835-b884-707f" + expire: "5" + type: "D-0" + interface: "Eth-Trunk1.3914" + vpn_instance: "OM-power" + - ip_address: "10.110.110.222" + mac_address: "c835-b885-1ec5" + expire: "9" + type: "D-0" + interface: "Eth-Trunk1.3914" + vpn_instance: "OM-power" + - ip_address: "10.110.21.21" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk50.2400" + vpn_instance: "OM-OLT" + - ip_address: "10.110.21.22" + mac_address: "3ce8-2462-b78e" + expire: "18" + type: "D-0" + interface: "Eth-Trunk50.2400" + vpn_instance: "OM-OLT" + - ip_address: "10.110.178.65" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "VE0/2/1.20" + vpn_instance: "IuB_UP" + - ip_address: "10.110.167.65" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "VE0/2/1.36" + vpn_instance: "IuB_UP" + - ip_address: "10.110.195.81" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "VE0/2/1.80" + vpn_instance: "IuB_UP" + - ip_address: "10.110.195.145" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "VE0/2/1.84" + vpn_instance: "IuB_UP" + - ip_address: "10.110.138.177" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "VE0/2/1.304" + vpn_instance: "IuB_UP" + - ip_address: "10.110.1.9" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk2" + vpn_instance: "" + - ip_address: "10.110.1.10" + mac_address: "4cf5-5b2e-7ee5" + expire: "15" + type: "D-0" + interface: "Eth-Trunk2" + vpn_instance: "" + - ip_address: "10.110.133.81" + mac_address: "4cf5-5b2e-3d18" + expire: "" + type: "I -" + interface: "GE0/2/13.3105" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.133.82" + mac_address: "0025-5c92-57a0" + expire: "3" + type: "D-0" + interface: "GE0/2/13.3105" + vpn_instance: "Inband-IPaso" + - ip_address: "10.110.1.6" + mac_address: "4cf5-5b2e-3d0a" + expire: "" + type: "I -" + interface: "Eth-Trunk0" + vpn_instance: "" + - ip_address: "10.110.1.5" + mac_address: "f41d-6bbc-4cb7" + expire: "2" + type: "D-0" + interface: "Eth-Trunk0" + vpn_instance: "" diff --git a/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.raw b/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.raw new file mode 100644 index 0000000000..d650747907 --- /dev/null +++ b/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.raw @@ -0,0 +1,8 @@ + Peer information for ISIS(1) + + System Id Interface Circuit Id State HoldTime Type PRI +-------------------------------------------------------------------------------- +MA-JK4961-01H Eth-Trunk2 0000000087 Up 25s L2 -- +PAG-JK1401-01H Eth-Trunk0 0000000146 Up 29s L2 -- + +Total Peer(s): 2 diff --git a/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.yml b/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.yml new file mode 100644 index 0000000000..32d891a5c9 --- /dev/null +++ b/tests/huawei_vrp/display_isis_peer/huawei_vrpv8_display_isis_peer.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - system_id: "MA-JK4961-01H" + interface: "Eth-Trunk2" + circuit_id: "0000000087" + state: "Up" + hold_time: "25s" + type: "L2" + pri: "--" + - system_id: "PAG-JK1401-01H" + interface: "Eth-Trunk0" + circuit_id: "0000000146" + state: "Up" + hold_time: "29s" + type: "L2" + pri: "--" From dbef6f4d11e8b732b2ce886edc5e8983bff7de80 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 24 Dec 2022 17:32:47 -0500 Subject: [PATCH 349/412] Add support DLink DS Show ARP (#1267) * Add support DLink DS Show ARP * Updates to dlink * updates Co-authored-by: Carlos Latorre --- .../templates/dlink_ds_show_arpentry.textfsm | 13 +++++++++++++ ntc_templates/templates/index | 2 ++ .../show_arpentry/dlink_ds_show_arpentry.raw | 10 ++++++++++ .../show_arpentry/dlink_ds_show_arpentry.yml | 18 ++++++++++++++++++ tests/test_index_order.py | 1 + 5 files changed, 44 insertions(+) create mode 100644 ntc_templates/templates/dlink_ds_show_arpentry.textfsm create mode 100644 tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.raw create mode 100644 tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.yml diff --git a/ntc_templates/templates/dlink_ds_show_arpentry.textfsm b/ntc_templates/templates/dlink_ds_show_arpentry.textfsm new file mode 100644 index 0000000000..f9e8a30c90 --- /dev/null +++ b/ntc_templates/templates/dlink_ds_show_arpentry.textfsm @@ -0,0 +1,13 @@ +Value INTERFACE (\S+) +Value IP (\d+\.\d+\.\d+\.\d+) +Value MAC (\S+) +Value TYPE (\S+) + +Start + ^\s+ARP\s+Aging\s+Time\s+:\s+\d+ + ^Interface\s+IP Address\s+MAC Address\s+Type + ^\-+\s+\-+\s+\-+\s+\-+$$ + ^Total Entries:\s+\d+ + ^${INTERFACE}\s+${IP}\s+${MAC}\s+${TYPE} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 989ad86358..bebea5fcd8 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -449,6 +449,8 @@ dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] +dlink_ds_show_arpentry.textfsm, .*, dlink_ds, sh[[ow]] arpe[[ntry]] + ericsson_ipos_show_isis_adjacency.textfsm, .*, ericsson_ipos, sh[[ow]] isis adja[[cency]] ericsson_ipos_show_version.textfsm, .*, ericsson_ipos, sh[[ow]] ver[[sion]] ericsson_ipos_show_arp.textfsm, .*, ericsson_ipos, sh[[ow]] ar[[p]] diff --git a/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.raw b/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.raw new file mode 100644 index 0000000000..e638690788 --- /dev/null +++ b/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.raw @@ -0,0 +1,10 @@ + ARP Aging Time : 20 + +Interface IP Address MAC Address Type +------------- --------------- ----------------- --------------- +System 192.168.173.0 FF-FF-FF-FF-FF-FF Local/Broadcast +System 192.168.173.1 00-01-21-01-52-96 Dynamic +System 192.168.173.2 00-AD-24-83-95-F8 Local +System 192.168.173.255 FF-FF-FF-FF-FF-FF Local/Broadcast + +Total Entries: 4 \ No newline at end of file diff --git a/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.yml b/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.yml new file mode 100644 index 0000000000..3a01968b5b --- /dev/null +++ b/tests/dlink_ds/show_arpentry/dlink_ds_show_arpentry.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - interface: "System" + ip: "192.168.173.0" + mac: "FF-FF-FF-FF-FF-FF" + type: "Local/Broadcast" + - interface: "System" + ip: "192.168.173.1" + mac: "00-01-21-01-52-96" + type: "Dynamic" + - interface: "System" + ip: "192.168.173.2" + mac: "00-AD-24-83-95-F8" + type: "Local" + - interface: "System" + ip: "192.168.173.255" + mac: "FF-FF-FF-FF-FF-FF" + type: "Local/Broadcast" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index c0f748b45f..e2571963f7 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -32,6 +32,7 @@ "cisco_xr", "dell_force10", "dell_powerconnect", + "dlink_ds", "enterasys", "ericsson_ipos", "extreme", From bcc35d6c826d6a3ccc8e0d43d72722c027727c5c Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sun, 25 Dec 2022 09:55:40 -0500 Subject: [PATCH 350/412] Add support DLink DS Show ARP (#1267) (#1268) Fix for issue #1034 Template update to fix compatibility issues with show interface status on interfaces that are undergoing cable-diagnostics tdr testing. update Co-Authored-By: Carlos Latorre Co-authored-by: Carlos Latorre --- .../cisco_ios_show_interfaces_status.textfsm | 1 + .../cisco_ios_show_interfaces_status.raw | 2 ++ .../cisco_ios_show_interfaces_status.yml | 16 ++++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm index d131667e07..75477ee6e9 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm @@ -21,6 +21,7 @@ Interfaces ^\s*${PORT}\s+is\s+${STATUS}\s+Port\s+mode\s+is\s+${FC_MODE}\s*$$ -> Record ^\s*${PORT}\s+is\s+${STATUS}\s+\(${TYPE}\)\s*$$ -> Record ^\s*${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record + ^\s*${PORT}\s+${NAME}\s+${STATUS}:\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record ^\s*${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record ^-+ ^\s*$$ diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index 41c5d4cd3d..4235c61622 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -17,5 +17,7 @@ Gi1/0/15 Multi Space to the notconnect 16 a-half auto 10/100BaseTX Gi1/0/16 Multi Space to the err-disabled 16 a-half auto 10/100BaseTX Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT +Gi1/0/19 No Description notconnect: 1 a-full a-100 10/100/1000BaseTX +Gi1/0/20 No Description connected: 1 a-full a-100 10/100/1000BaseTX Fa1/6 test notconnect 1 auto auto 10/100BaseTX Po1 ethchl connected trunk a-full a-1000 diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index f568b6addb..4f037ae335 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -144,6 +144,22 @@ parsed_sample: speed: "auto" type: "10/100/1000BaseT" fc_mode: "" + - port: "Gi1/0/19" + name: "No Description" + status: "notconnect" + vlan: "1" + duplex: "a-full" + speed: "a-100" + type: "10/100/1000BaseTX" + fc_mode: "" + - port: "Gi1/0/20" + name: "No Description" + status: "connected" + vlan: "1" + duplex: "a-full" + speed: "a-100" + type: "10/100/1000BaseTX" + fc_mode: "" - port: "Fa1/6" name: "test" status: "notconnect" From 38c90f257fdf96ed1570a2db8740fe3023991518 Mon Sep 17 00:00:00 2001 From: elavaud Date: Sun, 25 Dec 2022 21:56:25 +0700 Subject: [PATCH 351/412] Zyxel fix sys atsh parsing (#1151) Co-authored-by: Edouard Lavaud --- .../templates/zyxel_os_sys_atsh.textfsm | 4 ++-- tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.raw | 17 +++++++++++++++++ tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.yml | 8 ++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.raw create mode 100644 tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.yml diff --git a/ntc_templates/templates/zyxel_os_sys_atsh.textfsm b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm index 08231399bf..7cf7e9e713 100644 --- a/ntc_templates/templates/zyxel_os_sys_atsh.textfsm +++ b/ntc_templates/templates/zyxel_os_sys_atsh.textfsm @@ -22,6 +22,6 @@ Start ^Romfile\sChecksum\s*:.+ ^Main\sFeature\sBits\s*:.+ ^Other\sFeature\sBits\s*:.* - ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8} - ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{4} + ^[0-9a-f]{1,8}:\s[0-9a-f]{1,8}\s[0-9a-f]{1,8}\s[0-9a-f]{1,8}\s[0-9a-f]{1,8} + ^[0-9a-f]{1,8}:\s[0-9a-f]{1,8}\s[0-9a-f]{1,8}\s[0-9a-f]{1,8}(\s[0-9a-f]{1,8})? ^. -> Error diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.raw b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.raw new file mode 100644 index 0000000000..5c27efcbb5 --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.raw @@ -0,0 +1,17 @@ +Firmware Version : V5.30(ABSB.5)C0 +Bootbase Version : V1.45 | 08/02/2021 17:45:45 +Vendor Name : Zyxel Communications Corp. +Product Model : VMG1312-T20B +Serial Number : S220Y04042350 +First MAC Address : 5C648E88B350 +Last MAC Address : 5C648E88B357 +MAC Address Quantity : 08 +Default Country Code : E1 +Boot Module Debug Flag : 00 +Kernel Checksum : F3A8F377 +RootFS Checksum : A096DA5D +Romfile Checksum : 00001C0D +Main Feature Bits : 00 +Other Feature Bits : +7ffccb71: 04050508 00000100 00000000 00000000 +7ffccb81: 00000000 00000000 00000000 diff --git a/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.yml b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.yml new file mode 100644 index 0000000000..e91ad59e40 --- /dev/null +++ b/tests/zyxel_os/sys_atsh/zyxel_os_sys_atsh2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - version: "V5.30(ABSB.5)C0" + boot_version: "V1.45 | 08/02/2021 17:45:45" + vendor: "Zyxel Communications Corp." + hardware_model: "VMG1312-T20B" + serial_number: "S220Y04042350" + mac_address: "5C648E88B350" From 894025f496b327aa1187874a738df22f2f394f40 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 25 Dec 2022 09:29:56 -0600 Subject: [PATCH 352/412] Fix Cisco NXOS 5K: show forwarding ipv4 route (#1263) authored-by: Tymofii Dmytrenko --- ...co_nxos_show_forwarding_ipv4_route.textfsm | 2 + .../cisco_nxos_show_forwarding_ipv4_route.yml | 1166 ++++++++--------- ..._nxos_show_forwarding_ipv4_route_n5596.raw | 127 ++ ..._nxos_show_forwarding_ipv4_route_n5596.yml | 609 +++++++++ 4 files changed, 1321 insertions(+), 583 deletions(-) create mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.raw create mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.yml diff --git a/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm b/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm index 986b25fdf4..e5be3306c4 100644 --- a/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm @@ -4,6 +4,8 @@ Value List INTERFACE (\S+) Start ^Prefix.*Next.*Interface.*Labels.*Partial.*Install\s*$$ -> FIB + # N5K doesn't have Partial Install field + ^Prefix.*Next.*Interface.*Labels\s*$$ -> FIB FIB # Start Record on encountering a Prefix, don't substitute any values yet diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml index f1c98b4353..5a5b2a1b64 100644 --- a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml @@ -1,1214 +1,1214 @@ --- parsed_sample: - - interface: - - "Null0" + - prefix: "0.0.0.0/32" nexthop: - "Drop" - prefix: "0.0.0.0/32" - - interface: + interface: - "Null0" + - prefix: "127.0.0.0/8" nexthop: - "Drop" - prefix: "127.0.0.0/8" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "255.255.255.255/32" nexthop: - "Receive" - prefix: "255.255.255.255/32" - - interface: - - "Ethernet1/45" + interface: + - "sup-eth1" + - prefix: "0.0.0.0/0" nexthop: - "172.16.90.6" - prefix: "0.0.0.0/0" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.1.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.1.88.0/24" - - interface: [] + interface: + - "Ethernet1/45" + - prefix: "10.1.90.0/24" nexthop: - "Attached" - prefix: "10.1.90.0/24" - - interface: - - "Null0" + interface: [] + - prefix: "10.1.90.0/32" nexthop: - "Drop" - prefix: "10.1.90.0/32" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "10.1.90.1/32" nexthop: - "Receive" - prefix: "10.1.90.1/32" - - interface: + interface: - "sup-eth1" + - prefix: "10.1.90.101/32" nexthop: - "Receive" - prefix: "10.1.90.101/32" - - interface: - - "Vlan1" + interface: + - "sup-eth1" + - prefix: "10.1.90.102/32" nexthop: - "10.1.90.102" - prefix: "10.1.90.102/32" - - interface: + interface: - "Vlan1" + - prefix: "10.1.90.255/32" nexthop: - "Attached" - prefix: "10.1.90.255/32" - - interface: - - "Ethernet1/45" + interface: + - "Vlan1" + - prefix: "10.5.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.5.88.0/24" - - interface: + interface: - "Ethernet1/45" - - "Ethernet1/43" + - prefix: "10.5.90.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.5.90.0/24" - - interface: - - "Ethernet1/46" + interface: + - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.5.99.0/24" nexthop: - "172.16.90.33" - prefix: "10.5.99.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/46" + - prefix: "10.5.224.0/24" nexthop: - "172.16.29.5" - prefix: "10.5.224.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.5.225.0/24" nexthop: - "172.16.29.5" - prefix: "10.5.225.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.5.226.0/24" nexthop: - "172.16.29.5" - prefix: "10.5.226.0/24" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.9.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.9.88.0/24" - - interface: + interface: - "Ethernet1/45" - - "Ethernet1/43" + - prefix: "10.10.10.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.10.10.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.10.15.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.15.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.22.0/25" nexthop: - "172.16.29.5" - prefix: "10.10.22.0/25" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.29.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.29.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.38.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.38.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.39.0/26" nexthop: - "172.16.29.5" - prefix: "10.10.39.0/26" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.39.64/26" nexthop: - "172.16.29.5" - prefix: "10.10.39.64/26" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.39.128/26" nexthop: - "172.16.29.5" - prefix: "10.10.39.128/26" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.39.192/26" nexthop: - "172.16.29.5" - prefix: "10.10.39.192/26" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.10.50.0/24" nexthop: - "172.16.90.6" - prefix: "10.10.50.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.10.55.0/24" nexthop: - "172.16.90.6" - prefix: "10.10.55.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.10.56.0/24" nexthop: - "172.16.90.6" - prefix: "10.10.56.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.10.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.10.88.0/24" - - interface: + interface: - "Ethernet1/45" - - "Ethernet1/43" + - prefix: "10.10.90.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.10.90.0/24" - - interface: - - "Ethernet1/46" + interface: + - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.10.99.0/24" nexthop: - "172.16.90.33" - prefix: "10.10.99.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/46" + - prefix: "10.10.192.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.192.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.224.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.224.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.225.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.225.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.226.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.226.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.254.1/32" nexthop: - "172.16.29.5" - prefix: "10.10.254.1/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.254.2/32" nexthop: - "172.16.29.5" - prefix: "10.10.254.2/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.255.0/24" nexthop: - "172.16.29.5" - prefix: "10.10.255.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.255.7/32" nexthop: - "172.16.29.5" - prefix: "10.10.255.7/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.10.255.8/32" nexthop: - "172.16.29.5" - prefix: "10.10.255.8/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.11.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.11.88.0/24" - - interface: + interface: - "Ethernet1/45" - - "Ethernet1/43" + - prefix: "10.11.90.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.11.90.0/24" - - interface: + interface: - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.15.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.15.88.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.17.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.17.88.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.18.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.18.88.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.20.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.20.88.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.30.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.30.88.0/24" - - interface: - - "Null0" + interface: + - "Ethernet1/45" + - prefix: "10.30.112.0/24" nexthop: - "Drop" - prefix: "10.30.112.0/24" - - interface: - - "Ethernet1/45" + interface: + - "Null0" + - prefix: "10.30.113.0/24" nexthop: - "172.16.90.6" - prefix: "10.30.113.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - prefix: "10.35.29.0/24" nexthop: - "172.16.29.5" - prefix: "10.35.29.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.35.44.0/24" nexthop: - "172.16.29.5" - prefix: "10.35.44.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.35.45.0/24" nexthop: - "172.16.29.5" - prefix: "10.35.45.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.35.46.0/24" nexthop: - "172.16.29.5" - prefix: "10.35.46.0/24" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.35.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.35.88.0/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.35.90.0/24" nexthop: - "172.16.90.6" - prefix: "10.35.90.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - prefix: "10.35.192.0/24" nexthop: - "172.16.29.5" - prefix: "10.35.192.0/24" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.40.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.40.88.0/24" - - interface: - - "Ethernet1/1" + interface: + - "Ethernet1/45" + - prefix: "10.77.100.0/28" nexthop: - "10.249.38.65" - prefix: "10.77.100.0/28" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/1" + - prefix: "10.77.100.96/28" nexthop: - "172.16.90.6" - prefix: "10.77.100.96/28" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.90.88.0/30" nexthop: - "172.16.90.6" - prefix: "10.90.88.0/30" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.100.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.100.88.0/24" - - interface: + interface: - "Ethernet1/45" - - "Ethernet1/43" + - prefix: "10.100.90.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.100.90.0/24" - - interface: - - "Ethernet1/46" + interface: + - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.100.99.0/24" nexthop: - "172.16.90.33" - prefix: "10.100.99.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/46" + - prefix: "10.100.192.0/24" nexthop: - "172.16.29.5" - prefix: "10.100.192.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.100.224.0/24" nexthop: - "172.16.29.5" - prefix: "10.100.224.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.100.225.0/24" nexthop: - "172.16.29.5" - prefix: "10.100.225.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.100.226.0/24" nexthop: - "172.16.29.5" - prefix: "10.100.226.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.119.48.0/27" nexthop: - "172.16.29.5" - prefix: "10.119.48.0/27" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.119.48.32/27" nexthop: - "172.16.29.5" - prefix: "10.119.48.32/27" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.3.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.3.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.4.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.4.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.28.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.28.0/24" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.129.88.0/24" nexthop: - "172.16.90.6" - prefix: "10.129.88.0/24" - - interface: - - "Vlan20" + interface: + - "Ethernet1/45" + - prefix: "10.129.90.0/24" nexthop: - "Attached" - prefix: "10.129.90.0/24" - - interface: - - "Null0" + interface: + - "Vlan20" + - prefix: "10.129.90.0/32" nexthop: - "Drop" - prefix: "10.129.90.0/32" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "10.129.90.1/32" nexthop: - "Receive" - prefix: "10.129.90.1/32" - - interface: - - "Vlan20" + interface: + - "sup-eth1" + - prefix: "10.129.90.10/32" nexthop: - "10.129.90.10" - prefix: "10.129.90.10/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.11/32" nexthop: - "10.129.90.11" - prefix: "10.129.90.11/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.12/32" nexthop: - "10.129.90.12" - prefix: "10.129.90.12/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.13/32" nexthop: - "10.129.90.13" - prefix: "10.129.90.13/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.14/32" nexthop: - "10.129.90.14" - prefix: "10.129.90.14/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.15/32" nexthop: - "10.129.90.15" - prefix: "10.129.90.15/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.16/32" nexthop: - "10.129.90.16" - prefix: "10.129.90.16/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.17/32" nexthop: - "10.129.90.17" - prefix: "10.129.90.17/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.18/32" nexthop: - "10.129.90.18" - prefix: "10.129.90.18/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.19/32" nexthop: - "10.129.90.19" - prefix: "10.129.90.19/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.20/32" nexthop: - "10.129.90.20" - prefix: "10.129.90.20/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.21/32" nexthop: - "10.129.90.21" - prefix: "10.129.90.21/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.22/32" nexthop: - "10.129.90.22" - prefix: "10.129.90.22/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.23/32" nexthop: - "10.129.90.23" - prefix: "10.129.90.23/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.24/32" nexthop: - "10.129.90.24" - prefix: "10.129.90.24/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.25/32" nexthop: - "10.129.90.25" - prefix: "10.129.90.25/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.26/32" nexthop: - "10.129.90.26" - prefix: "10.129.90.26/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.28/32" nexthop: - "10.129.90.28" - prefix: "10.129.90.28/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.29/32" nexthop: - "10.129.90.29" - prefix: "10.129.90.29/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.30/32" nexthop: - "10.129.90.30" - prefix: "10.129.90.30/32" - - interface: + interface: - "Vlan20" + - prefix: "10.129.90.255/32" nexthop: - "Attached" - prefix: "10.129.90.255/32" - - interface: - - "Vlan112" + interface: + - "Vlan20" + - prefix: "10.129.91.0/24" nexthop: - "172.16.90.2" - prefix: "10.129.91.0/24" - - interface: - - "Ethernet1/45" - - "Ethernet1/43" + interface: + - "Vlan112" + - prefix: "10.129.92.0/24" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "10.129.92.0/24" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "10.129.100.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.100.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.192.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.192.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.200.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.200.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.224.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.224.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.225.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.225.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.226.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.226.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.227.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.227.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.228.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.228.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.229.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.229.0/24" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.129.230.0/24" nexthop: - "172.16.29.5" - prefix: "10.129.230.0/24" - - interface: - - "Ethernet1/1" + interface: + - "Ethernet1/3" + - prefix: "10.150.201.130/31" nexthop: - "10.249.38.65" - prefix: "10.150.201.130/31" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.150.202.0/27" nexthop: - "10.249.38.65" - prefix: "10.150.202.0/27" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.150.202.64/27" nexthop: - "10.249.38.65" - prefix: "10.150.202.64/27" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/1" + - prefix: "10.150.202.64/28" nexthop: - "172.16.29.5" - prefix: "10.150.202.64/28" - - interface: - - "Ethernet1/1" + interface: + - "Ethernet1/3" + - prefix: "10.150.202.80/28" nexthop: - "10.249.38.65" - prefix: "10.150.202.80/28" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/1" + - prefix: "10.152.202.16/28" nexthop: - "172.16.29.5" - prefix: "10.152.202.16/28" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.200.130.0/29" nexthop: - "172.16.29.5" - prefix: "10.200.130.0/29" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.222.48.192/26" nexthop: - "172.16.29.5" - prefix: "10.222.48.192/26" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.249.0.8/32" nexthop: - "172.16.90.6" - prefix: "10.249.0.8/32" - - interface: - - "Ethernet1/1" + interface: + - "Ethernet1/45" + - prefix: "10.249.17.0/24" nexthop: - "10.249.38.65" - prefix: "10.249.17.0/24" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.18.0/24" nexthop: - "10.249.38.65" - prefix: "10.249.18.0/24" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.1/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.1/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.2/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.2/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.3/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.3/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.4/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.4/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.5/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.5/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.37.6/32" nexthop: - "10.249.38.65" - prefix: "10.249.37.6/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.5/32" nexthop: - "10.249.38.65" - prefix: "10.249.38.5/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.6/32" nexthop: - "10.249.38.65" - prefix: "10.249.38.6/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.12/30" nexthop: - "10.249.38.65" - prefix: "10.249.38.12/30" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.13/32" nexthop: - "10.249.38.65" - prefix: "10.249.38.13/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.14/32" nexthop: - "10.249.38.65" - prefix: "10.249.38.14/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.64/30" nexthop: - "Attached" - prefix: "10.249.38.64/30" - - interface: - - "Null0" + interface: + - "Ethernet1/1" + - prefix: "10.249.38.64/32" nexthop: - "Drop" - prefix: "10.249.38.64/32" - - interface: - - "Ethernet1/1" + interface: + - "Null0" + - prefix: "10.249.38.65/32" nexthop: - "10.249.38.65" - prefix: "10.249.38.65/32" - - interface: - - "sup-eth1" + interface: + - "Ethernet1/1" + - prefix: "10.249.38.66/32" nexthop: - "Receive" - prefix: "10.249.38.66/32" - - interface: - - "Ethernet1/1" + interface: + - "sup-eth1" + - prefix: "10.249.38.67/32" nexthop: - "Attached" - prefix: "10.249.38.67/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.38.68/30" nexthop: - "10.249.38.65" - prefix: "10.249.38.68/30" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.39.36/30" nexthop: - "10.249.38.65" - prefix: "10.249.39.36/30" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.39.50/31" nexthop: - "10.249.38.65" - prefix: "10.249.39.50/31" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.40.36/30" nexthop: - "10.249.38.65" - prefix: "10.249.40.36/30" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/1" + - prefix: "10.249.56.192/26" nexthop: - "172.16.90.6" - prefix: "10.249.56.192/26" - - interface: - - "Ethernet1/1" + interface: + - "Ethernet1/45" + - prefix: "10.249.250.0/25" nexthop: - "10.249.38.65" - prefix: "10.249.250.0/25" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.219/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.219/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.220/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.220/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.225/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.225/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.226/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.226/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.231/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.231/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.232/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.232/32" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.253.251/32" nexthop: - "10.249.38.65" - prefix: "10.249.253.251/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/1" + - prefix: "10.249.254.1/32" nexthop: - "172.16.90.6" - prefix: "10.249.254.1/32" - - interface: - - "Vlan112" + interface: + - "Ethernet1/45" + - prefix: "10.249.254.64/30" nexthop: - "172.16.90.2" - prefix: "10.249.254.64/30" - - interface: - - "Ethernet1/1" + interface: + - "Vlan112" + - prefix: "10.249.254.68/30" nexthop: - "10.249.38.65" - prefix: "10.249.254.68/30" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.255.120/29" nexthop: - "10.249.38.65" - prefix: "10.249.255.120/29" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.255.240/29" nexthop: - "10.249.38.65" - prefix: "10.249.255.240/29" - - interface: + interface: - "Ethernet1/1" + - prefix: "10.249.255.248/29" nexthop: - "10.249.38.65" - prefix: "10.249.255.248/29" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/1" + - prefix: "10.255.28.1/32" nexthop: - "172.16.29.5" - prefix: "10.255.28.1/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "10.255.88.1/32" nexthop: - "172.16.90.6" - prefix: "10.255.88.1/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "10.255.88.253/32" nexthop: - "172.16.90.6" - prefix: "10.255.88.253/32" - - interface: - - "sup-eth1" + interface: + - "Ethernet1/45" + - prefix: "10.255.90.1/32" nexthop: - "Receive" - prefix: "10.255.90.1/32" - - interface: - - "Vlan112" + interface: + - "sup-eth1" + - prefix: "10.255.90.2/32" nexthop: - "172.16.90.2" - prefix: "10.255.90.2/32" - - interface: - - "Ethernet1/45" + interface: + - "Vlan112" + - prefix: "10.255.90.3/32" nexthop: - "172.16.90.6" - prefix: "10.255.90.3/32" - - interface: - - "Ethernet1/43" + interface: + - "Ethernet1/45" + - prefix: "10.255.90.4/32" nexthop: - "172.16.90.10" - prefix: "10.255.90.4/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/43" + - prefix: "10.255.90.110/32" nexthop: - "172.16.90.6" - prefix: "10.255.90.110/32" - - interface: - - "Ethernet1/46" + interface: + - "Ethernet1/45" + - prefix: "10.255.99.1/32" nexthop: - "172.16.90.33" - prefix: "10.255.99.1/32" - - interface: - - "Vlan112" + interface: + - "Ethernet1/46" + - prefix: "10.255.99.2/32" nexthop: - "172.16.90.2" - prefix: "10.255.99.2/32" - - interface: - - "Ethernet1/3" + interface: + - "Vlan112" + - prefix: "10.255.192.1/32" nexthop: - "172.16.29.5" - prefix: "10.255.192.1/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.255.192.2/32" nexthop: - "172.16.29.5" - prefix: "10.255.192.2/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.255.255.1/32" nexthop: - "172.16.29.5" - prefix: "10.255.255.1/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "10.255.255.2/32" nexthop: - "172.16.29.5" - prefix: "10.255.255.2/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "68.202.118.148/32" nexthop: - "172.16.90.6" - prefix: "68.202.118.148/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "69.203.118.52/24" nexthop: - "172.16.90.6" - prefix: "69.203.118.52/24" - - interface: + interface: - "Ethernet1/45" + - prefix: "113.117.128.2/32" nexthop: - "172.16.90.6" - prefix: "113.117.128.2/32" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - prefix: "117.120.112.118/26" nexthop: - "172.16.29.5" - prefix: "117.120.112.118/26" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "117.121.132.112/26" nexthop: - "172.16.90.6" - prefix: "117.121.132.112/26" - - interface: - - "Ethernet1/3" + interface: + - "Ethernet1/45" + - prefix: "160.44.97.23/32" nexthop: - "172.16.29.5" - prefix: "160.44.97.23/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "160.45.98.45/32" nexthop: - "172.16.29.5" - prefix: "160.45.98.45/32" - - interface: + interface: - "Ethernet1/3" + - prefix: "172.116.129.4/30" nexthop: - "Attached" - prefix: "172.116.129.4/30" - - interface: - - "Null0" + interface: + - "Ethernet1/3" + - prefix: "172.116.129.4/32" nexthop: - "Drop" - prefix: "172.116.129.4/32" - - interface: - - "Ethernet1/3" + interface: + - "Null0" + - prefix: "172.116.129.5/32" nexthop: - "172.16.29.5" - prefix: "172.116.129.5/32" - - interface: - - "sup-eth1" + interface: + - "Ethernet1/3" + - prefix: "172.116.129.6/32" nexthop: - "Receive" - prefix: "172.116.129.6/32" - - interface: - - "Ethernet1/3" + interface: + - "sup-eth1" + - prefix: "172.116.129.7/32" nexthop: - "Attached" - prefix: "172.116.129.7/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/3" + - prefix: "172.116.188.0/30" nexthop: - "172.16.90.6" - prefix: "172.116.188.0/30" - - interface: + interface: - "Ethernet1/45" + - prefix: "172.116.188.4/30" nexthop: - "172.16.90.6" - prefix: "172.116.188.4/30" - - interface: + interface: - "Ethernet1/45" + - prefix: "172.116.188.8/30" nexthop: - "172.16.90.6" - prefix: "172.116.188.8/30" - - interface: - - "Ethernet1/43" + interface: + - "Ethernet1/45" + - prefix: "172.116.188.16/30" nexthop: - "172.16.90.10" - prefix: "172.116.188.16/30" - - interface: [] + interface: + - "Ethernet1/43" + - prefix: "172.116.190.0/30" nexthop: - "Attached" - prefix: "172.116.190.0/30" - - interface: - - "Null0" + interface: [] + - prefix: "172.116.190.0/32" nexthop: - "Drop" - prefix: "172.116.190.0/32" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "172.116.190.1/32" nexthop: - "Receive" - prefix: "172.116.190.1/32" - - interface: - - "Vlan112" + interface: + - "sup-eth1" + - prefix: "172.116.190.2/32" nexthop: - "172.16.90.2" - prefix: "172.116.190.2/32" - - interface: + interface: - "Vlan112" + - prefix: "172.116.190.3/32" nexthop: - "Attached" - prefix: "172.116.190.3/32" - - interface: - - "Ethernet1/45" + interface: + - "Vlan112" + - prefix: "172.116.190.4/30" nexthop: - "Attached" - prefix: "172.116.190.4/30" - - interface: - - "Null0" + interface: + - "Ethernet1/45" + - prefix: "172.116.190.4/32" nexthop: - "Drop" - prefix: "172.116.190.4/32" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "172.116.190.5/32" nexthop: - "Receive" - prefix: "172.116.190.5/32" - - interface: - - "Ethernet1/45" + interface: + - "sup-eth1" + - prefix: "172.116.190.6/32" nexthop: - "172.16.90.6" - prefix: "172.116.190.6/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "172.116.190.7/32" nexthop: - "Attached" - prefix: "172.116.190.7/32" - - interface: - - "Ethernet1/43" + interface: + - "Ethernet1/45" + - prefix: "172.116.190.8/30" nexthop: - "Attached" - prefix: "172.116.190.8/30" - - interface: - - "Null0" + interface: + - "Ethernet1/43" + - prefix: "172.116.190.8/32" nexthop: - "Drop" - prefix: "172.116.190.8/32" - - interface: - - "sup-eth1" + interface: + - "Null0" + - prefix: "172.116.190.9/32" nexthop: - "Receive" - prefix: "172.116.190.9/32" - - interface: - - "Ethernet1/43" + interface: + - "sup-eth1" + - prefix: "172.116.190.10/32" nexthop: - "172.16.90.10" - prefix: "172.116.190.10/32" - - interface: + interface: - "Ethernet1/43" + - prefix: "172.116.190.11/32" nexthop: - "Attached" - prefix: "172.116.190.11/32" - - interface: - - "Vlan112" + interface: + - "Ethernet1/43" + - prefix: "172.116.190.12/30" nexthop: - "172.16.90.2" - prefix: "172.116.190.12/30" - - interface: + interface: - "Vlan112" + - prefix: "172.116.190.16/30" nexthop: - "172.16.90.2" - prefix: "172.116.190.16/30" - - interface: - - "Ethernet1/45" - - "Ethernet1/43" + interface: + - "Vlan112" + - prefix: "172.116.190.20/30" nexthop: - "172.16.90.6" - "172.16.90.10" - prefix: "172.116.190.20/30" - - interface: + interface: - "Ethernet1/45" + - "Ethernet1/43" + - prefix: "172.120.93.24/30" nexthop: - "172.16.90.6" - prefix: "172.120.93.24/30" - - interface: - - "Ethernet1/43" + interface: + - "Ethernet1/45" + - prefix: "172.120.93.28/30" nexthop: - "172.16.90.10" - prefix: "172.120.93.28/30" - - interface: - - "Ethernet1/46" + interface: + - "Ethernet1/43" + - prefix: "172.120.93.32/30" nexthop: - "Attached" - prefix: "172.120.93.32/30" - - interface: - - "Null0" + interface: + - "Ethernet1/46" + - prefix: "172.120.93.32/32" nexthop: - "Drop" - prefix: "172.120.93.32/32" - - interface: - - "Ethernet1/46" + interface: + - "Null0" + - prefix: "172.120.93.33/32" nexthop: - "172.16.90.33" - prefix: "172.120.93.33/32" - - interface: - - "sup-eth1" + interface: + - "Ethernet1/46" + - prefix: "172.120.93.34/32" nexthop: - "Receive" - prefix: "172.120.93.34/32" - - interface: - - "Ethernet1/46" + interface: + - "sup-eth1" + - prefix: "172.120.93.35/32" nexthop: - "Attached" - prefix: "172.120.93.35/32" - - interface: - - "Vlan112" + interface: + - "Ethernet1/46" + - prefix: "172.120.93.36/30" nexthop: - "172.16.90.2" - prefix: "172.120.93.36/30" - - interface: - - "Ethernet1/46" + interface: + - "Vlan112" + - prefix: "172.120.93.0/30" nexthop: - "172.16.90.33" - prefix: "172.120.93.0/30" - - interface: - - "Ethernet1/41" + interface: + - "Ethernet1/46" + - prefix: "172.121.135.16/30" nexthop: - "Attached" - prefix: "172.121.135.16/30" - - interface: - - "Null0" + interface: + - "Ethernet1/41" + - prefix: "172.121.135.16/32" nexthop: - "Drop" - prefix: "172.121.135.16/32" - - interface: - - "Ethernet1/41" + interface: + - "Null0" + - prefix: "172.212.135.17/32" nexthop: - "172.30.135.17" - prefix: "172.212.135.17/32" - - interface: - - "sup-eth1" + interface: + - "Ethernet1/41" + - prefix: "172.213.135.18/32" nexthop: - "Receive" - prefix: "172.213.135.18/32" - - interface: - - "Ethernet1/41" + interface: + - "sup-eth1" + - prefix: "172.214.135.19/32" nexthop: - "Attached" - prefix: "172.214.135.19/32" - - interface: - - "Ethernet1/45" + interface: + - "Ethernet1/41" + - prefix: "172.214.0.0/16" nexthop: - "172.16.90.6" - prefix: "172.214.0.0/16" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.48/28" nexthop: - "172.16.90.6" - prefix: "192.200.54.48/28" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.48/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.48/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.49/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.49/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.50/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.50/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.51/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.51/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.52/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.52/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.53/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.53/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.54/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.54/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.55/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.55/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.56/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.56/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.57/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.57/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.58/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.58/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.59/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.59/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.60/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.60/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.61/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.61/32" - - interface: + interface: - "Ethernet1/45" + - prefix: "192.200.54.62/32" nexthop: - "172.16.90.6" - prefix: "192.200.54.62/32" - - interface: - - "Ethernet1/41" + interface: + - "Ethernet1/45" + - prefix: "203.45.179.33/32" nexthop: - "172.30.135.17" - prefix: "203.45.179.33/32" - - interface: + interface: - "Ethernet1/41" + - prefix: "203.46.179.34/32" nexthop: - "172.30.135.17" - prefix: "203.46.179.34/32" - - interface: + interface: - "Ethernet1/41" + - prefix: "203.72.179.0/25" nexthop: - "172.30.135.17" - prefix: "203.72.179.0/25" - - interface: + interface: - "Ethernet1/41" + - prefix: "203.72.179.128/25" nexthop: - "172.30.135.17" - prefix: "203.72.179.128/25" + interface: + - "Ethernet1/41" diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.raw b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.raw new file mode 100644 index 0000000000..6dbd46e721 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.raw @@ -0,0 +1,127 @@ +IPv4 routes for table default/base + +------------------+------------------+----------------------+----------------- +Prefix | Next-hop | Interface | Labels +------------------+------------------+----------------------+----------------- +0.0.0.0/32 Drop Null0 +127.0.0.0/8 Drop Null0 +255.255.255.255/32 Receive sup-eth1 +0.0.0.0/0 10.100.100.178 Ethernet1/8 + 10.100.100.186 Ethernet1/9 +10.0.0.0/16 10.100.100.230 Ethernet1/14 +10.0.120.0/24 10.100.100.230 Ethernet1/14 +10.0.210.0/24 10.100.100.230 Ethernet1/14 +10.0.251.0/24 10.100.100.230 Ethernet1/14 +10.1.0.0/16 10.100.100.230 Ethernet1/14 +10.2.0.0/16 10.100.100.230 Ethernet1/14 +10.5.0.0/16 10.100.100.230 Ethernet1/14 +10.6.0.0/16 10.100.100.230 Ethernet1/14 +10.7.0.0/16 10.100.100.230 Ethernet1/14 +10.8.0.0/16 10.100.100.230 Ethernet1/14 +10.12.0.0/16 10.100.100.230 Ethernet1/14 +10.13.0.0/16 10.100.100.230 Ethernet1/14 +10.14.0.0/16 10.100.100.230 Ethernet1/14 +10.27.0.0/16 10.100.100.230 Ethernet1/14 +10.29.0.0/16 10.100.100.230 Ethernet1/14 +10.30.0.0/16 10.100.100.230 Ethernet1/14 +10.31.0.0/16 10.100.100.230 Ethernet1/14 +10.32.0.0/16 10.100.100.230 Ethernet1/14 +10.33.0.0/16 10.100.100.230 Ethernet1/14 +10.34.0.0/16 10.100.100.230 Ethernet1/14 +10.36.0.0/16 10.100.100.230 Ethernet1/14 +10.38.0.0/16 10.100.100.230 Ethernet1/14 +10.39.0.0/16 10.100.100.230 Ethernet1/14 +10.40.0.0/16 10.100.100.230 Ethernet1/14 +10.42.0.0/16 10.100.100.230 Ethernet1/14 +10.43.0.0/16 10.100.100.230 Ethernet1/14 +10.44.0.0/16 10.100.100.230 Ethernet1/14 +10.46.0.0/16 10.100.100.230 Ethernet1/14 +10.48.0.0/16 10.100.100.230 Ethernet1/14 +10.49.0.0/16 10.100.100.230 Ethernet1/14 +10.50.0.0/16 10.100.100.230 Ethernet1/14 +10.51.0.0/16 10.100.100.230 Ethernet1/14 +10.52.0.0/16 10.100.100.230 Ethernet1/14 +10.53.0.0/16 10.100.100.230 Ethernet1/14 +10.54.0.0/16 10.100.100.230 Ethernet1/14 +10.55.0.0/16 10.100.100.230 Ethernet1/14 +10.57.0.0/16 10.100.100.230 Ethernet1/14 +10.62.0.0/16 10.100.100.230 Ethernet1/14 +10.63.0.0/16 10.100.100.230 Ethernet1/14 +10.64.0.0/16 10.100.100.230 Ethernet1/14 +10.66.0.0/16 10.100.100.230 Ethernet1/14 +10.67.0.0/16 10.100.100.230 Ethernet1/14 +10.69.192.0/19 10.100.100.230 Ethernet1/14 +10.69.224.0/19 10.100.100.230 Ethernet1/14 +10.70.0.0/16 10.100.100.230 Ethernet1/14 +10.70.0.0/24 10.100.100.230 Ethernet1/14 +10.70.7.0/24 10.100.100.230 Ethernet1/14 +10.70.8.0/24 10.100.100.230 Ethernet1/14 +10.70.12.0/24 10.100.100.230 Ethernet1/14 +10.70.14.0/24 10.100.100.230 Ethernet1/14 +10.70.27.0/24 10.100.100.230 Ethernet1/14 +10.70.29.0/24 10.100.100.230 Ethernet1/14 +10.70.30.0/24 10.100.100.230 Ethernet1/14 +10.70.32.0/24 10.100.100.230 Ethernet1/14 +10.70.34.0/24 10.100.100.230 Ethernet1/14 +10.70.38.0/24 10.100.100.230 Ethernet1/14 +10.70.40.0/24 10.100.100.230 Ethernet1/14 +10.70.42.0/24 10.100.100.230 Ethernet1/14 +10.70.43.0/24 10.100.100.230 Ethernet1/14 +10.70.44.0/24 10.100.100.230 Ethernet1/14 +10.70.46.0/24 10.100.100.230 Ethernet1/14 +10.70.48.0/24 10.100.100.230 Ethernet1/14 +10.70.49.0/24 10.100.100.230 Ethernet1/14 +10.70.50.0/24 10.100.100.230 Ethernet1/14 +10.70.51.0/24 10.100.100.230 Ethernet1/14 +10.70.52.0/24 10.100.100.230 Ethernet1/14 +10.70.64.0/24 10.100.100.230 Ethernet1/14 +10.70.66.0/24 10.100.100.230 Ethernet1/14 +10.70.67.0/24 10.100.100.230 Ethernet1/14 +10.70.112.0/24 10.100.100.230 Ethernet1/14 +10.71.0.0/16 10.100.100.230 Ethernet1/14 +10.72.150.0/24 10.100.100.230 Ethernet1/14 +10.72.151.0/24 10.100.100.230 Ethernet1/14 +10.73.0.0/16 10.100.100.230 Ethernet1/14 +10.74.0.0/16 10.100.100.230 Ethernet1/14 +10.75.0.0/16 10.100.100.230 Ethernet1/14 +10.76.0.0/16 10.100.100.230 Ethernet1/14 +10.77.0.0/16 10.100.100.230 Ethernet1/14 +10.78.0.0/16 10.100.100.230 Ethernet1/14 +10.79.0.0/16 10.100.100.230 Ethernet1/14 +10.80.0.0/16 10.100.100.230 Ethernet1/14 +10.82.20.0/24 10.100.100.142 Vlan1800 +10.82.21.0/24 10.100.100.142 Vlan1800 +10.82.22.0/24 10.100.100.142 Vlan1800 +10.82.22.0/26 10.100.100.142 Vlan1800 +10.82.22.64/26 10.100.100.142 Vlan1800 +10.82.22.80/32 10.100.100.142 Vlan1800 +10.82.22.192/26 10.100.100.142 Vlan1800 +10.82.22.231/32 10.100.100.142 Vlan1800 +10.82.22.240/32 10.100.100.142 Vlan1800 +10.82.22.242/32 10.100.100.142 Vlan1800 +10.82.22.243/32 10.100.100.142 Vlan1800 +10.82.22.244/32 10.100.100.142 Vlan1800 +10.82.22.245/32 10.100.100.142 Vlan1800 +10.82.23.0/24 10.100.100.142 Vlan1800 +10.91.9.0/24 10.100.100.230 Ethernet1/14 +10.92.0.0/19 10.100.100.230 Ethernet1/14 +10.92.254.0/24 10.100.100.230 Ethernet1/14 +10.100.32.0/21 10.100.100.230 Ethernet1/14 +10.100.40.0/21 10.100.100.230 Ethernet1/14 +10.100.112.0/21 10.100.100.230 Ethernet1/14 +10.100.120.0/21 10.100.100.230 Ethernet1/14 +10.101.174.0/23 10.100.100.230 Ethernet1/14 +10.102.174.0/23 10.100.100.230 Ethernet1/14 +10.112.0.0/16 10.100.100.230 Ethernet1/14 +10.122.0.0/16 10.100.100.230 Ethernet1/14 +10.123.0.0/16 10.100.100.230 Ethernet1/14 +*10.128.0.0/17 10.100.100.114 Ethernet1/47 +10.130.0.0/16 10.100.100.186 Ethernet1/9 +*10.131.0.0/16 10.100.100.114 Ethernet1/47 +*10.132.0.0/18 10.100.100.114 Ethernet1/47 +*10.132.101.0/24 10.100.100.114 Ethernet1/47 +*10.132.102.0/24 10.100.100.114 Ethernet1/47 +*10.132.103.0/24 10.100.100.114 Ethernet1/47 +*10.132.104.0/24 10.100.100.114 Ethernet1/47 +*10.132.150.0/24 10.100.100.114 Ethernet1/47 +*10.132.170.0/24 10.100.100.114 Ethernet1/47 diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.yml b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.yml new file mode 100644 index 0000000000..7148844259 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route_n5596.yml @@ -0,0 +1,609 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/32" + nexthop: + - "Drop" + interface: + - "Null0" + - prefix: "127.0.0.0/8" + nexthop: + - "Drop" + interface: + - "Null0" + - prefix: "255.255.255.255/32" + nexthop: + - "Receive" + interface: + - "sup-eth1" + - prefix: "0.0.0.0/0" + nexthop: + - "10.100.100.178" + - "10.100.100.186" + interface: + - "Ethernet1/8" + - "Ethernet1/9" + - prefix: "10.0.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.0.120.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.0.210.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.0.251.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.1.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.2.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.5.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.6.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.7.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.8.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.12.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.13.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.14.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.27.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.29.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.30.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.31.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.32.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.33.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.34.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.36.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.38.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.39.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.40.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.42.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.43.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.44.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.46.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.48.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.49.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.50.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.51.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.52.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.53.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.54.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.55.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.57.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.62.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.63.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.64.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.66.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.67.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.69.192.0/19" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.69.224.0/19" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.0.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.7.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.8.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.12.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.14.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.27.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.29.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.30.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.32.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.34.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.38.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.40.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.42.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.43.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.44.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.46.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.48.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.49.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.50.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.51.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.52.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.64.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.66.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.67.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.70.112.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.71.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.72.150.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.72.151.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.73.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.74.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.75.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.76.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.77.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.78.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.79.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.80.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.82.20.0/24" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.21.0/24" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.0/24" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.0/26" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.64/26" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.80/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.192/26" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.231/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.240/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.242/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.243/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.244/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.22.245/32" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.82.23.0/24" + nexthop: + - "10.100.100.142" + interface: + - "Vlan1800" + - prefix: "10.91.9.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.92.0.0/19" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.92.254.0/24" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.100.32.0/21" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.100.40.0/21" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.100.112.0/21" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.100.120.0/21" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.101.174.0/23" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.102.174.0/23" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.112.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.122.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.123.0.0/16" + nexthop: + - "10.100.100.230" + interface: + - "Ethernet1/14" + - prefix: "10.128.0.0/17" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.130.0.0/16" + nexthop: + - "10.100.100.186" + interface: + - "Ethernet1/9" + - prefix: "10.131.0.0/16" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.0.0/18" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.101.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.102.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.103.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.104.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.150.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" + - prefix: "10.132.170.0/24" + nexthop: + - "10.100.100.114" + interface: + - "Ethernet1/47" From 5824f3f647e4986b2103eccc92d15175edac4363 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 25 Dec 2022 16:55:08 +0100 Subject: [PATCH 353/412] Hp comware displ vpn inst det (#1259) * implement hp comware displ vpn detail * add error management --- ...play_ip_vpn-instance_instance-name.textfsm | 113 ++++++++++++++++++ ntc_templates/templates/index | 1 + ..._display_ip_vpn-instance_instance-name.raw | 8 ++ ..._display_ip_vpn-instance_instance-name.yml | 21 ++++ ...display_ip_vpn-instance_instance-name1.raw | 18 +++ ...display_ip_vpn-instance_instance-name1.yml | 22 ++++ ...display_ip_vpn-instance_instance-name2.raw | 9 ++ ...display_ip_vpn-instance_instance-name2.yml | 23 ++++ 8 files changed, 215 insertions(+) create mode 100644 ntc_templates/templates/hp_comware_display_ip_vpn-instance_instance-name.textfsm create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.raw create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.yml create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.raw create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.yml create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.raw create mode 100644 tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.yml diff --git a/ntc_templates/templates/hp_comware_display_ip_vpn-instance_instance-name.textfsm b/ntc_templates/templates/hp_comware_display_ip_vpn-instance_instance-name.textfsm new file mode 100644 index 0000000000..547bc7edde --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_ip_vpn-instance_instance-name.textfsm @@ -0,0 +1,113 @@ +Value Required NAME ([^,]+) +Value Required ID (\d+) +Value RD (\d+:\d+) +Value List IPV4_EXPORT_RTS (\d+:\d+) +Value List IPV4_IMPORT_RTS (\d+:\d+) +Value List IPV6_EXPORT_RTS (\d+:\d+) +Value List IPV6_IMPORT_RTS (\d+:\d+) +Value DESCRIPTION (.*) +Value IPV4_EXPORT_POLICY (\S+) +Value IPV4_IMPORT_POLICY (\S+) +Value IPV4_TUNNEL_POLICY (\S+) +Value IPV6_EXPORT_POLICY (\S+) +Value IPV6_IMPORT_POLICY (\S+) +Value IPV6_TUNNEL_POLICY (\S+) +Value List INTERFACES ([^,]+) + + +Start + ^\s*VPN-Instance\s+Name\s+and\s+(Index|ID)\s*:\s+${NAME}, ${ID} + ^\s*Route\s+Distinguisher\s*:\s+${RD} + ^\s*Description\s*:\s*${DESCRIPTION} + # IPv4 targets (block) + ^\s*Address-family|s+IPv4 -> AFIPv4 + # Export IPv4 targets (inline) + ^\s*Export\s+VPN\s+Targets\s*:\s+${IPV4_EXPORT_RTS} -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){1}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){2}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){3}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){4}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){5}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){6}\s+${IPV4_EXPORT_RTS},* -> Continue + ^\s*Export\s+VPN\s+Targets\s*: + # Import IPv4 targets + ^\s*Import\s+VPN\s+Targets\s*:\s+${IPV4_IMPORT_RTS} -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){1}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){2}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){3}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){4}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){5}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){6}\s+${IPV4_IMPORT_RTS},* -> Continue + ^\s*Import\s+VPN\s+Targets\s*: + # IPv4 policies + ^\s*Import\s+Route\s+Policy\s*:\s+${IPV4_IMPORT_POLICY} + ^\s*Export\s+Route\s+Policy\s*:\s+${IPV4_EXPORT_POLICY} + ^\s*Tunnel\s+Policy\s*:\s+${IPV4_TUNNEL_POLICY} + # Export IPv6 targets + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:\s+${IPV6_EXPORT_RTS} -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){1}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){2}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){3}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){4}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){5}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){6}\s+${IPV6_EXPORT_RTS},* -> Continue + ^\s*IPv6\s+Export\s+VPN\s+Targets\s*: + # Import IPv6 targets + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:\s+${IPV6_IMPORT_RTS} -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){1}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){2}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){3}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){4}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){5}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*:(?:\s+\d+:\d+){6}\s+${IPV6_IMPORT_RTS},* -> Continue + ^\s*IPv6\s+Import\s+VPN\s+Targets\s*: + # IPv6 policies + ^\s*IPv6\s+Import\s+Route\s+Policy\s*:\s+${IPV6_IMPORT_POLICY} + ^\s*IPv6\s+Export\s+Route\s+Policy\s*:\s+${IPV6_EXPORT_POLICY} + ^\s*IPv6\s+Tunnel\s+Policy\s*:\s+${IPV6_TUNNEL_POLICY} + # Interfaces + ^\s*Interfaces\s*:\s+${INTERFACES},* -> Continue + ^\s*Interfaces\s*:(?:\s+[^,]+,){1}\s+${INTERFACES},* -> Continue + ^\s*Interfaces\s*:(?:\s+[^,]+,){2}\s+${INTERFACES},* -> Continue + ^\s*Interfaces\s*:(?:\s+[^,]+,){3}\s+${INTERFACES},* -> Continue + ^\s*Interfaces\s*:(?:\s+[^,]+,){4}\s+${INTERFACES},* -> Continue + ^\s{12,}${INTERFACES},* -> Continue + ^\s{12,}(?:\s+[^,]+,){1}\s+${INTERFACES},* -> Continue + ^\s{12,}(?:\s+[^,]+,){2}\s+${INTERFACES},* -> Continue + ^\s{12,}(?:\s+[^,]+,){3}\s+${INTERFACES},* -> Continue + ^\s{12,}(?:\s+[^,]+,){4}\s+${INTERFACES},* -> Continue + # End of Interfaces + ^\s*Interfaces\s*: + ^\s{12,} + # Drop + ^\s*Create\s+time + ^\s*Up\s+time + ^\s*.*Maximum\s+Routes\s+Limit + ^\s{4,} + ^. -> Error + +AFIPv4 + ^\s*Export\s+VPN\s+Targets -> ExportIPv4Targets + +ExportIPv4Targets + ^\s{4,}${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){1}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){2}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){3}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){4}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){5}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){6}\s+${IPV4_EXPORT_RTS} -> Continue + ^\s{4,}\d+:\d+ + ^\s*Import\s+VPN\s+Targets -> ImportIPv4Targets + ^. -> Error + +ImportIPv4Targets + ^\s{4,}${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){1}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){2}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){3}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){4}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){5}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}(?:\s+\d+:\d+){6}\s+${IPV4_IMPORT_RTS} -> Continue + ^\s{4,}\d+:\d+ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index bebea5fcd8..537a12d074 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -463,6 +463,7 @@ fortinet_get_system_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] stat[[us]] fortinet_get_system_arp.textfsm, .*, fortinet, g[[et]] sy[[stem]] arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] +hp_comware_display_ip_vpn-instance_instance-name.textfsm, .*, hp_comware, di[[splay]] ip vpn[[-instance]] in[[instance-name]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_ip_routing-table.textfsm, .*, hp_comware, di[[splay]] ip r[[outing-table]] hp_comware_display_device_manuinfo.textfsm, .*, hp_comware, di[[splay]] dev[[ice]] m[[anuinfo]] diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.raw b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.raw new file mode 100644 index 0000000000..c9334c7e11 --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.raw @@ -0,0 +1,8 @@ + VPN-Instance Name and Index : vpna, 1 + Route Distinguisher : 100:1 + Interfaces : Vlan-interface10 + Address-family IPv4: + Export VPN Targets : + 111:1 + Import VPN Targets : + 111:1 222:2 diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.yml b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.yml new file mode 100644 index 0000000000..eb1e7f6158 --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name.yml @@ -0,0 +1,21 @@ +--- +parsed_sample: + - name: "vpna" + id: "1" + rd: "100:1" + description: "" + ipv4_export_rts: + - "111:1" + ipv4_import_rts: + - "111:1" + - "222:2" + ipv4_export_policy: "" + ipv4_import_policy: "" + ipv4_tunnel_policy: "" + ipv6_export_rts: [] + ipv6_import_rts: [] + ipv6_export_policy: "" + ipv6_import_policy: "" + ipv6_tunnel_policy: "" + interfaces: + - "Vlan-interface10" diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.raw b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.raw new file mode 100644 index 0000000000..7fdbb3e3ad --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.raw @@ -0,0 +1,18 @@ + VPN-Instance Name and ID : vpn1, 1 + Create time : 2022/12/21 0520:27:29 + Up time : 0 days, 00 hours, 07 minutes and 39 seconds + Route Distinguisher : 101:1 + Description : This is vpn1 + Export VPN Targets : 1:1 + Import VPN Targets : 1:2 + Import Route Policy : policy3 + Export Route Policy : policy2 + Tunnel Policy : policy1 + Maximum Routes Limit : 600 + IPv6 Export VPN Targets : 2:1 + IPv6 Import VPN Targets : 2:2 + IPv6 Import Route Policy : policy4 + IPv6 Export Route Policy : policy1 + IPv6 Tunnel Policy : policy1 + IPv6 Maximum Routes Limit : 600 + Interfaces : Ten-GigabitEthernet1/0/52 diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.yml b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.yml new file mode 100644 index 0000000000..2d48426898 --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name1.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - name: "vpn1" + id: "1" + rd: "101:1" + description: "This is vpn1" + ipv4_export_rts: + - "1:1" + ipv4_import_rts: + - "1:2" + ipv4_export_policy: "policy2" + ipv4_import_policy: "policy3" + ipv4_tunnel_policy: "policy1" + ipv6_export_rts: + - "2:1" + ipv6_import_rts: + - "2:2" + ipv6_export_policy: "policy1" + ipv6_import_policy: "policy4" + ipv6_tunnel_policy: "policy1" + interfaces: + - "Ten-GigabitEthernet1/0/52" diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.raw b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.raw new file mode 100644 index 0000000000..fd921b7fe3 --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.raw @@ -0,0 +1,9 @@ + VPN-Instance Name and Index : vpnb, 2 + Route Distinguisher : 100:2 + Interfaces : Vlan-interface20, FortyGigE1/0/53, + GigabitEthernet1/0/25 + Address-family IPv4: + Export VPN Targets : + 222:2 + Import VPN Targets : + 222:2 111:1 diff --git a/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.yml b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.yml new file mode 100644 index 0000000000..693743e12b --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance_instance-name/hp_comware_display_ip_vpn-instance_instance-name2.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - name: "vpnb" + id: "2" + rd: "100:2" + description: "" + ipv4_export_rts: + - "222:2" + ipv4_import_rts: + - "222:2" + - "111:1" + ipv4_export_policy: "" + ipv4_import_policy: "" + ipv4_tunnel_policy: "" + ipv6_export_rts: [] + ipv6_import_rts: [] + ipv6_export_policy: "" + ipv6_import_policy: "" + ipv6_tunnel_policy: "" + interfaces: + - "Vlan-interface20" + - "FortyGigE1/0/53" + - "GigabitEthernet1/0/25" From 1dbb432b84c4ca0ee42d515aa1a829664d12cbc0 Mon Sep 17 00:00:00 2001 From: yucai100 Date: Sun, 25 Dec 2022 23:57:43 +0800 Subject: [PATCH 354/412] Update hp_comware_display_device_manuinfo.textfsm (#1132) Update hp_comware_display_device_manuinfo.textfsm --- .../hp_comware_display_device_manuinfo.textfsm | 4 ++-- .../hp_comware_display_device_manuinfo4.raw | 9 +++++++++ .../hp_comware_display_device_manuinfo4.yml | 18 ++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.yml diff --git a/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm b/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm index 53c3494893..d2be589016 100644 --- a/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm +++ b/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm @@ -1,7 +1,7 @@ Value Filldown CHASSIS_ID (\d+) Value Required SLOT_TYPE (Slot|Subslot|Fan|Power|Chassis) Value SLOT_ID (\d+|self) -Value DEVICE_NAME (\S+) +Value DEVICE_NAME (.+) Value DEVICE_SERIAL_NUMBER (\S+) Value MANUFACTURING_DATE (\S+) Value VENDOR_NAME (\S+) @@ -19,4 +19,4 @@ Start ^\s*MANUFACTURING_DATE\s*:\s*${MANUFACTURING_DATE} ^\s*VENDOR_NAME\s*:\s*${VENDOR_NAME} -> Record Start ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.raw new file mode 100644 index 0000000000..ed1384102b --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.raw @@ -0,0 +1,9 @@ + + Slot 1 CPU 0: + DEVICE_NAME : SecPath F1000-AK115 + DEVICE_SERIAL_NUMBER : 219801A1C39214Q00075 + MAC_ADDRESS : 1451-7EB8-D4DE + MANUFACTURING_DATE : 2021-04-14 + VENDOR_NAME : H3C +Power 0: +The operation is not supported on the specified power. diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.yml new file mode 100644 index 0000000000..e00405ae0f --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo4.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "SecPath F1000-AK115" + device_serial_number: "219801A1C39214Q00075" + manufacturing_date: "2021-04-14" + vendor_name: "H3C" + mac_address: "1451-7EB8-D4DE" + - chassis_id: "" + slot_type: "Power" + slot_id: "0" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" From caa00fdd70364420700424cf901feb91d3a21b18 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sun, 25 Dec 2022 13:07:41 -0500 Subject: [PATCH 355/412] fix: huawei_vrf_display_version (#1269) Co-authored-by: Elin <365433079@qq.com> --- .../huawei_vrp_display_version.textfsm | 9 +++- .../huawei_vrp_display_version5.raw | 53 +++++++++++++++++++ .../huawei_vrp_display_version5.yml | 7 +++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version5.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version5.yml diff --git a/ntc_templates/templates/huawei_vrp_display_version.textfsm b/ntc_templates/templates/huawei_vrp_display_version.textfsm index ff69f73b39..a2d688e56f 100644 --- a/ntc_templates/templates/huawei_vrp_display_version.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_version.textfsm @@ -6,6 +6,11 @@ Value PATCH_VERSION (\S+) Start + ^Huawei\s+Versatile\s+Routing\s+Platform\s+Software + ^Copyright.+(Huawei|HUAWEI).+ ^.*software,\s+Version\s+${VRP_VERSION}\s+\(${PRODUCT_VERSION}\) - ^H(UAWEI|uawei)\s+${MODEL}\s+(Router\s+)?uptime\s+is\s+${UPTIME}$$ - ^Patch\s+[Vv]ersion\s*:\s+${PATCH_VERSION} + ^Patch\s+[Vv]ersion\s*:\s+${PATCH_VERSION}\s*$$ + ^(HUAWEI|Huawei|Quidway)\s+${MODEL}\s+(Router\s+)?uptime\s+is\s+${UPTIME}$$ + ^BKP\s+\d+\s+version\s+information -> EOF + ^\s*$$ -> EOF + ^. -> Error diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version5.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version5.raw new file mode 100644 index 0000000000..edb8c09705 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version5.raw @@ -0,0 +1,53 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 5.170 (S7700 V200R010C00SPC600) +Copyright (C) 2000-2016 HUAWEI TECH CO., LTD +Quidway S7706 Terabit Routing Switch uptime is 85 weeks, 4 days, 0 hour, 10 minutes +BKP 0 version information: +1. PCB Version : LE02BAKI VER.E +2. Support PoE : No +3. Board Type : ES0B00770600 +4. MPU Slot Quantity : 2 +5. LPU Slot Quantity : 6 + +MPU 7(Master) : uptime is 85 weeks, 4 days, 0 hour, 9 minutes +SDRAM Memory Size : 1024 M bytes +Flash Memory Size : 64 M bytes +NVRAM Memory Size : 512 K bytes +CF Card1 Memory Size : 488 M bytes +MPU version information : +1. PCB Version : LE02SRUA VER.D +2. MAB Version : 8 +3. Board Type : ES0D00SRUA00 +4. CPLD0 Version : 1411.2116 +5. BootROM Version : 020a.010f +6. BootLoad Version : 020a.012d + +MPU 8(Slave) : uptime is 85 weeks, 4 days, 0 hour, 8 minutes +SDRAM Memory Size : 1024 M bytes +Flash Memory Size : 64 M bytes +NVRAM Memory Size : 512 K bytes +CF Card1 Memory Size : 488 M bytes +MPU version information : +1. PCB Version : LE02SRUA VER.D +2. MAB Version : 8 +3. Board Type : ES0D00SRUA00 +4. CPLD0 Version : 1411.2116 +5. BootROM Version : 020a.010f +6. BootLoad Version : 020a.012d + +LPU 1 : uptime is 85 weeks, 4 days, 0 hour, 7 minutes +SDRAM Memory Size : 1024 M bytes +Flash Memory Size : 64 M bytes +LPU version information : +1. PCB Version : SWC02X32SX2S VER.A +2. MAB Version : 1 +3. Board Type : ES1D2S16SX2S +4. CPLD0 Version : 1609.0516 +5. BootROM Version : 020a.0065 +6. BootLoad Version : 020a.0079 + +CMU 9(Master) : uptime is 85 weeks, 4 days, 0 hour, 9 minutes +CMU version information : +1. PCB Version : LE02CMUA VER.B +2. MAB Version : 8 +3. Board Type : EH1D200CMU00 \ No newline at end of file diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version5.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version5.yml new file mode 100644 index 0000000000..6e9ce34187 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version5.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - vrp_version: "5.170" + product_version: "S7700 V200R010C00SPC600" + model: "S7706 Terabit Routing Switch" + uptime: "85 weeks, 4 days, 0 hour, 10 minutes" + patch_version: "" From 490a20918604b65ee8c8abd95483ba5bbc8999c5 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Mon, 26 Dec 2022 11:47:27 -0500 Subject: [PATCH 356/412] Fix Mikrotik interface ethernet monitor name once when no link partner advertising (#1270) Co-authored-by: Edouard Lavaud --- ...teros_interface_ethernet_monitor_name_once.textfsm | 3 ++- ...routeros_interface_ethernet_monitor_name_once2.raw | 5 +++++ ...routeros_interface_ethernet_monitor_name_once2.yml | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.raw create mode 100644 tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.yml diff --git a/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm index db705d6b0c..3372d7e527 100644 --- a/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm @@ -17,6 +17,7 @@ Start ^\s*tx-flow-control:\s${tx_flow_control} ^\s*rx-flow-control:\s${rx_flow_control} ^\s*advertising:\s${advertising} - ^\s*link-partner-advertising:\s${link_partner_advertising} + ^\s*link-partner-advertising:\s*$$ + ^\s*link-partner-advertising:\s${link_partner_advertising}$$ ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.raw b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.raw new file mode 100644 index 0000000000..cdd9e6ef4b --- /dev/null +++ b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.raw @@ -0,0 +1,5 @@ + name: ether30 + status: no-link + auto-negotiation: done + advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full + link-partner-advertising: diff --git a/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.yml b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.yml new file mode 100644 index 0000000000..aa4c281042 --- /dev/null +++ b/tests/mikrotik_routeros/interface_ethernet_monitor_name_once/mikrotik_routeros_interface_ethernet_monitor_name_once2.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - name: "ether30" + status: "no-link" + auto_negotiation: "done" + rate: "" + full_duplex: "" + tx_flow_control: "" + rx_flow_control: "" + advertising: "10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full" + link_partner_advertising: "" From e1b644a73942035c602241fcda9121a75bb25c32 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Tue, 27 Dec 2022 16:42:10 +0100 Subject: [PATCH 357/412] Add HPE templates (#1246) --- .../hp_comware_display_interface.textfsm | 156 ++++++++++++++++++ ...hp_comware_display_ip_vpn-instance.textfsm | 11 ++ ...e_display_link-aggregation_verbose.textfsm | 33 ++++ ntc_templates/templates/index | 3 + .../hp_comware_display_interface.raw | 145 ++++++++++++++++ .../hp_comware_display_interface.yml | 79 +++++++++ .../hp_comware_display_interface1.raw | 32 ++++ .../hp_comware_display_interface1.yml | 57 +++++++ .../hp_comware_display_ip_vpn-instance.raw | 6 + .../hp_comware_display_ip_vpn-instance.yml | 10 ++ ...mware_display_link-aggregation_verbose.raw | 63 +++++++ ...mware_display_link-aggregation_verbose.yml | 44 +++++ ...ware_display_link-aggregation_verbose1.raw | 20 +++ ...ware_display_link-aggregation_verbose1.yml | 12 ++ 14 files changed, 671 insertions(+) create mode 100644 ntc_templates/templates/hp_comware_display_interface.textfsm create mode 100644 ntc_templates/templates/hp_comware_display_ip_vpn-instance.textfsm create mode 100644 ntc_templates/templates/hp_comware_display_link-aggregation_verbose.textfsm create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface.yml create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface1.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface1.yml create mode 100644 tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.raw create mode 100644 tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.yml create mode 100644 tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.raw create mode 100644 tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.yml create mode 100644 tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.raw create mode 100644 tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.yml diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm new file mode 100644 index 0000000000..998daf0520 --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -0,0 +1,156 @@ +Value Required INTF (\S+) +Value LINE_STATUS (UP|DOWN|Administratively DOWN) +Value PROTOCOL_STATUS (UP(\(spoofing\))?|DOWN) +Value List IP_ADDRESS (\S+) +Value MTU (\d+) +Value L2MTU (\d+) +Value List HW_ADDRESS ([a-zA-Z0-9]+-[a-zA-Z0-9]+-[a-zA-Z0-9]+) +Value DESCRIPTION (.*) +Value BANDWIDTH (.*) +Value DUPLEX (\S+) +Value SPEED (\S+) +Value PORT_LINK_TYPE (\S+) +Value VLAN_NATIVE (\d+) +Value List VLAN_PASSING ([^,]+) +Value List VLAN_PERMITTED ([^,]+) + +Start + #^\S+$$.Record + ^${INTF}$$ + ^Current\s+state:\s+${LINE_STATUS} + ^Line\s+protocol\s+state:\s+${PROTOCOL_STATUS} + ^Description:\s+${DESCRIPTION} + ^Bandwidth:\s+${BANDWIDTH} + ^Maximum\s+transmission\s+unit:\s+${MTU} + ^Maximum\s+frame\s+length:\s+${L2MTU} + ^Internet\s+address:\s+${IP_ADDRESS}\s+\(Primary\) + ^Internet\s+address:\s+${IP_ADDRESS}\s+\(Sub\) + ^IP\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} + ^IPv6\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} + ^${SPEED}\s+mode,\s+${DUPLEX}\s+mode + ^PVID:\s+${VLAN_NATIVE} + ^Port\s+link-type:\s+${PORT_LINK_TYPE} + # Trunk - Passing VLANs (parsing multiple times with Continue) + ^\s+VLAN\s+Passing:\s+${VLAN_PASSING},* -> Continue + # Skip initial VLANs and read the Nth + 1 + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){1}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){2}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){3}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){4}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){5}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){6}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){7}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){8}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){9}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){10}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){11}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){12}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){13}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){14}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){15}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){16}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){17}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){18}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){19}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+Passing:(?:\s+[^,]+,){20}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){1}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){2}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){3}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){4}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){5}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){6}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){7}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){8}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){9}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){10}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){11}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){12}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){13}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){14}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){15}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){16}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){17}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){18}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){19}\s+${VLAN_PASSING},* -> Continue + ^\s{14,}(?:\s+[^,]+,){20}\s+${VLAN_PASSING},* -> Continue + # End od VLAN Passing + ^\s+VLAN\s+Passing: + ^\s{14,} + # Trunk - Permitted VLANs (parsing multiple times with Continue) + ^\s+VLAN\s+permitted:\s+${VLAN_PERMITTED},* -> Continue + # Skip initial VLANs and read the Nth + 1 + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){1}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){2}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){3}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){4}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){5}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){6}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){7}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){8}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){9}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){10}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){11}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){12}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){13}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){14}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){15}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){16}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){17}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){18}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){19}\s+${VLAN_PERMITTED},* -> Continue + ^\s+VLAN\s+permitted:(?:\s+[^,]+,){20}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){1}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){2}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){3}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){4}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){5}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){6}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){7}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){8}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){9}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){10}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){11}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){12}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){13}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){14}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){15}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){16}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){17}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){18}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){19}\s+${VLAN_PERMITTED},* -> Continue + ^\s{14,}(?:\s+[^,]+,){20}\s+${VLAN_PERMITTED},* -> Continue + # End od VLAN Passing + ^\s+VLAN\s+permitted: + ^\s{14,} + # Next + ^$$ -> Next.Record + # Drop + ^\s*Link + ^\s*Last + ^\s*Trunk\s+port + ^\s*Loopback + ^\s*Media + ^\s*Flow + ^\s*Allow\s+jumbo + ^\s*Broadcast + ^\s*Multicast + ^\s*Unicast + ^\s*MDI\s+type + ^\s*Port\s+priority + ^\s*Current\s*system + ^\s*Peak + ^\s*IPv4\s+traffic + ^\s*IPv6\s+traffic + ^\s+Tagged\s+VLAN + ^\s+UnTagged\s+VLAN + ^\s*Input + ^\s*Output + ^\s{6,}\d+\s+unicasts + ^\s{6,}\d+\s+CRC + ^\s{6,}\d+\s+aborts + ^\s{6,}\d+\s+lost + ^\s{6,}.*ignored + ^. -> Error + ^\s*$$ ^. -> Error diff --git a/ntc_templates/templates/hp_comware_display_ip_vpn-instance.textfsm b/ntc_templates/templates/hp_comware_display_ip_vpn-instance.textfsm new file mode 100644 index 0000000000..f7e9ce232b --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_ip_vpn-instance.textfsm @@ -0,0 +1,11 @@ +Value Required NAME (\S+) +Value RD (\d+:\d+) + +Start + ^\s*VPN-Instance Name -> VPNInstances + +VPNInstances + ^\s*${NAME}\s+${RD}\s+.* -> Record + ^\s*${NAME}\s+.* -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/hp_comware_display_link-aggregation_verbose.textfsm b/ntc_templates/templates/hp_comware_display_link-aggregation_verbose.textfsm new file mode 100644 index 0000000000..dd13c21631 --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_link-aggregation_verbose.textfsm @@ -0,0 +1,33 @@ +Value Required INTERFACE (\S+) +Value CREATION_MODE (.+) +Value AGGREGATION_MODE (.+) +Value LOADSHARING (.+) +Value List LOCAL_INTERFACES (\S+) +Value List REMOTE_INTERFACES (\S+) + +Start + ^Aggregat\S+\s+Interface:\s+${INTERFACE} + ^Creation\s+Mode:\s+${CREATION_MODE} + ^Aggregation\s+Mode:\s+${AGGREGATION_MODE} + ^Loadsharing\s+Type:\s+${LOADSHARING} + ^Local: -> LocalPorts + ^\s*$$ ^. -> Error + +LocalPorts + ^\s+Port + ^\s*--- + ^\s+${LOCAL_INTERFACES}\s+.* + # Start of remote block port + ^Remote: -> RemotePorts + ^. -> Error + ^\s*$$ ^. -> Error + +RemotePorts + ^\s+Actor + ^\s*--- + ^\s+${REMOTE_INTERFACES}\s+.* + # New item, restart from the beginning + ^Aggregat -> Continue.Record + ^Aggregat\S+\s+Interface:\s+${INTERFACE} -> Start + ^. -> Error + ^\s*$$ ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 537a12d074..ae59b847c9 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -465,11 +465,14 @@ fortinet_get_system_arp.textfsm, .*, fortinet, g[[et]] sy[[stem]] arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_ip_vpn-instance_instance-name.textfsm, .*, hp_comware, di[[splay]] ip vpn[[-instance]] in[[instance-name]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] +hp_comware_display_link-aggregation_verbose.textfsm, .*, hp_comware, di[[splay]] link[[-aggregation]] v[[erbose]] hp_comware_display_ip_routing-table.textfsm, .*, hp_comware, di[[splay]] ip r[[outing-table]] hp_comware_display_device_manuinfo.textfsm, .*, hp_comware, di[[splay]] dev[[ice]] m[[anuinfo]] +hp_comware_display_ip_vpn-instance.textfsm, .*, hp_comware, di[[splay]] ip vpn[[-instance]] hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] +hp_comware_display_interface.textfsm, .*, hp_comware, dis[[play]] int[[erface]] hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface.raw b/tests/hp_comware/display_interface/hp_comware_display_interface.raw new file mode 100644 index 0000000000..425d14fbd5 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface.raw @@ -0,0 +1,145 @@ +Vlan-interface2000 +Current state: UP +Line protocol state: UP +Description: Servers-VLAN +Bandwidth: 10000000 kbps +Maximum transmission unit: 1500 +Internet address: 10.1.200.1/24 (Primary) +IP packet frame type: Ethernet II, hardware address: abab-cdcd-6486 +IPv6 packet frame type: Ethernet II, hardware address: abab-cdcd-6486 +Last clearing of counters: Never +Last 300 seconds input rate: 7 bytes/sec, 56 bits/sec, 0 packets/sec +Last 300 seconds output rate: 16 bytes/sec, 128 bits/sec, 0 packets/sec +Input: 9103 packets, 611444 bytes, 0 drops +Output: 18587 packets, 1143610 bytes, 0 drops + +Bridge-Aggregation20 +Current state: UP +Line protocol state: UP +IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 +Description: TO_DIST_02_3rd_FLOOR +Bandwidth: 40000000 kbps +40Gbps-speed mode, full-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +PVID: 1 +Port link-type: Trunk + VLAN Passing: 1(default vlan), 4001-4002 + VLAN permitted: 1(default vlan), 2001-2020, 2190, 4001-4002 + Trunk port encapsulation: IEEE 802.1q +Last clearing of counters: Never +Last 300 seconds input: 3143 packets/sec 929430 bytes/sec 0% +Last 300 seconds output: 5674 packets/sec 5945156 bytes/sec 0% +Input (total): 80274398 packets, 24384580165 bytes + 80218843 unicasts, 12 broadcasts, 55543 multicasts, 0 pauses +Input (normal): 80274398 packets, - bytes + 80218843 unicasts, 12 broadcasts, 55543 multicasts, 0 pauses +Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors +Output (total): 110103849 packets, 90115617821 bytes + 109953707 unicasts, 9 broadcasts, 150133 multicasts, 0 pauses +Output (normal): 110103849 packets, - bytes + 109953707 unicasts, 9 broadcasts, 150133 multicasts, 0 pauses +Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier + +GigabitEthernet1/1/0/31 +Current state: DOWN +Line protocol state: DOWN +IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 +Description: Aruba-WLC +Bandwidth: 1000000 kbps +Loopback is not set +Media type is twisted pair, port hardware type is 1000_BASE_T +Unknown-speed mode, unknown-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +Flow-control is not enabled +Maximum frame length: 9216 +Allow jumbo frames to pass +Broadcast max-ratio: 100% +Multicast max-ratio: 100% +Unicast max-ratio: 100% +PVID: 2190 +MDI type: Automdix +Port link-type: Trunk + VLAN Passing: 2000, 3230, 4001-4005, 4049-4052 + VLAN permitted: 2-4094 + Trunk port encapsulation: IEEE 802.1q +Port priority: 0 +Last link flapping: Never +Last clearing of counters: Never +Current system time:2022-12-04 09:59:42 SAR+03:00:00 +Last time when physical state changed to up:- +Last time when physical state changed to down:2022-12-03 14:48:11 SAR+03:00:00 +Peak input rate: 0 bytes/sec, at 2022-12-03 14:48:40 +Peak output rate: 0 bytes/sec, at 2022-12-03 14:48:40 +Last 300 seconds input: 0 packets/sec 0 bytes/sec -% +Last 300 seconds output: 0 packets/sec 0 bytes/sec -% +Input (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Input (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors +Output (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Output (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier +IPv4 traffic statistics: + Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec + Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec + Input: 0 packets, 0 bytes + Output: 0 packets, 0 bytes +IPv6 traffic statistics: + Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec + Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec + Input: 0 packets, 0 bytes + Output: 0 packets, 0 bytes + +Ten-GigabitEthernet1/0/1 +Current state: DOWN +Line protocol state: DOWN +IP packet frame type: Ethernet II, hardware address: 000c-2963-b767 +Description: Ten-GigabitEthernet1/0/1 Interface +Bandwidth: 100000 kbps +Loopback is not set +Media type is twisted pair, port hardware type is 1000_BASE_T_AN_SFP +Unknown-speed mode, unknown-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +Flow-control is not enabled +Maximum frame length: 9216 +Allow jumbo frame to pass +Broadcast max-ratio: 100% +Multicast max-ratio: 100% +Unicast max-ratio: 100% +PVID: 1 +MDI type: Automdix +Port link-type: Access + Tagged VLANs: None + UnTagged VLANs: 1 +Port priority: 2 +Last link flapping: 6 hours 39 minutes 25 seconds +Last clearing of counters: 14:34:09 Tue 11/01/2011 +Peak input rate: 0 bytes/sec, at 2013-07-17 22:06:19 +Peak output rate: 0 bytes/sec, at 2013-07-17 22:06:19 +Last 300 second input: 0 packets/sec 0 bytes/sec -% +Last 300 second output: 0 packets/sec 0 bytes/sec -% +Input (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Input (normal): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, 0 overruns, 0 aborts + 0 ignored, 0 parity errors +Output (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Output (normal): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses +Output: 0 output errors, 0 underruns, 0 buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, 0 no carrier diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface.yml b/tests/hp_comware/display_interface/hp_comware_display_interface.yml new file mode 100644 index 0000000000..3db00c4a29 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface.yml @@ -0,0 +1,79 @@ +--- +parsed_sample: + - intf: "Vlan-interface2000" + line_status: "UP" + protocol_status: "UP" + ip_address: + - "10.1.200.1/24" + mtu: "1500" + l2mtu: "" + hw_address: + - "abab-cdcd-6486" + - "abab-cdcd-6486" + description: "Servers-VLAN" + bandwidth: "10000000 kbps" + duplex: "" + speed: "" + port_link_type: "" + vlan_native: "" + vlan_passing: [] + vlan_permitted: [] + - intf: "Bridge-Aggregation20" + line_status: "UP" + protocol_status: "UP" + ip_address: [] + mtu: "" + l2mtu: "" + hw_address: + - "abab-cdcd-6485" + description: "TO_DIST_02_3rd_FLOOR" + bandwidth: "40000000 kbps" + duplex: "full-duplex" + speed: "40Gbps-speed" + port_link_type: "Trunk" + vlan_native: "1" + vlan_passing: + - "1(default vlan)" + - "4001-4002" + vlan_permitted: + - "1(default vlan)" + - "2001-2020" + - "2190" + - "4001-4002" + - intf: "GigabitEthernet1/1/0/31" + line_status: "DOWN" + protocol_status: "DOWN" + ip_address: [] + hw_address: + - "abab-cdcd-6485" + mtu: "" + l2mtu: "9216" + description: "Aruba-WLC" + bandwidth: "1000000 kbps" + duplex: "unknown-duplex" + speed: "Unknown-speed" + vlan_native: "2190" + port_link_type: "Trunk" + vlan_passing: + - "2000" + - "3230" + - "4001-4005" + - "4049-4052" + vlan_permitted: + - "2-4094" + - intf: "Ten-GigabitEthernet1/0/1" + line_status: "DOWN" + protocol_status: "DOWN" + ip_address: [] + hw_address: + - "000c-2963-b767" + mtu: "" + l2mtu: "9216" + description: "Ten-GigabitEthernet1/0/1 Interface" + bandwidth: "100000 kbps" + duplex: "unknown-duplex" + speed: "Unknown-speed" + vlan_native: "1" + port_link_type: "Access" + vlan_passing: [] + vlan_permitted: [] diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface1.raw b/tests/hp_comware/display_interface/hp_comware_display_interface1.raw new file mode 100644 index 0000000000..1227a02f7d --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface1.raw @@ -0,0 +1,32 @@ +Bridge-Aggregation41 +Current state: UP +IP packet frame type: Ethernet II, hardware address: aaaa-bbbb-0200 +Description: Agg41-to-VBLOCK-14 +Bandwidth: 160000000 kbps +160Gbps-speed mode, full-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +PVID: 1 +Port link-type: Trunk + VLAN Passing: 2-31, 40-45, 49, 60-64, 66, 80-81, 98-104, 107, 110, 119-127 + 140-144, 160-164, 180, 182-193, 200-201, 213-222, 225-240, 243 + 250, 255, 411-413, 460, 555, 702, 777, 825, 829, 832, 836-837 + 845, 849, 852, 856-857, 865, 869, 872, 876-877, 1000-1002 + VLAN permitted: 2-4094 + Trunk port encapsulation: IEEE 802.1q +Last clearing of counters: 13:42:38 Sun 11/27/2022 +Last 300 seconds input: 653795 packets/sec 620328920 bytes/sec 3% +Last 300 seconds output: 752413 packets/sec 767574527 bytes/sec 3% +Input (total): 1378318211088 packets, 1485686536611046 bytes + 1378272321334 unicasts, 43421092 broadcasts, 2468662 multicasts, 0 pauses +Input (normal): 1378318204300 packets, - bytes + 1378272321256 unicasts, 43421092 broadcasts, 2468662 multicasts, 0 pauses +Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors +Output (total): 1492615088260 packets, 1670292936644909 bytes + 1492073645475 unicasts, 395257295 broadcasts, 146185490 multicasts, 0 pauses +Output (normal): 1492615087837 packets, - bytes + 1492073645355 unicasts, 395257296 broadcasts, 146185490 multicasts, 0 pauses +Output: 0 output errors, - underruns, 0 buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface1.yml b/tests/hp_comware/display_interface/hp_comware_display_interface1.yml new file mode 100644 index 0000000000..a579d90a87 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface1.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - intf: "Bridge-Aggregation41" + line_status: "UP" + protocol_status: "" + hw_address: + - "aaaa-bbbb-0200" + description: "Agg41-to-VBLOCK-14" + bandwidth: "160000000 kbps" + speed: "160Gbps-speed" + duplex: "full-duplex" + mtu: "" + l2mtu: "" + vlan_native: "1" + ip_address: [] + port_link_type: "Trunk" + vlan_passing: + - "2-31" + - "40-45" + - "49" + - "60-64" + - "66" + - "80-81" + - "98-104" + - "107" + - "110" + - "119-127" + - "140-144" + - "160-164" + - "180" + - "182-193" + - "200-201" + - "213-222" + - "225-240" + - "243" + - "250" + - "255" + - "411-413" + - "460" + - "555" + - "702" + - "777" + - "825" + - "829" + - "832" + - "836-837" + - "845" + - "849" + - "852" + - "856-857" + - "865" + - "869" + - "872" + - "876-877" + - "1000-1002" + vlan_permitted: + - "2-4094" diff --git a/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.raw b/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.raw new file mode 100644 index 0000000000..9809b0853d --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.raw @@ -0,0 +1,6 @@ + Total VPN-Instances configured : 1 + VPN-Instance Name RD Create time + red 1:1 2017/05/18 05:48:17 + green 2:4 2017/05/18 05:48:21 + blue 5:7 2017/05/18 05:48:47 + black 2017/05/18 05:48:53 diff --git a/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.yml b/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.yml new file mode 100644 index 0000000000..8b6d326da1 --- /dev/null +++ b/tests/hp_comware/display_ip_vpn-instance/hp_comware_display_ip_vpn-instance.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - name: "red" + rd: "1:1" + - name: "green" + rd: "2:4" + - name: "blue" + rd: "5:7" + - name: "black" + rd: "" diff --git a/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.raw b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.raw new file mode 100644 index 0000000000..b8b41cefb6 --- /dev/null +++ b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.raw @@ -0,0 +1,63 @@ +Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing +Port Status: S -- Selected, U -- Unselected, I -- Individual +Port: A -- Auto port, M -- Management port, R -- Reference port +Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, + D -- Synchronization, E -- Collecting, F -- Distributing, + G -- Defaulted, H -- Expired + +Aggregate Interface: Bridge-Aggregation10 +Creation Mode: Manual +Aggregation Mode: Dynamic +Loadsharing Type: Shar +Management VLANs: None +System ID: 0x8000, 7848-5933-6485 +Local: + Port Status Priority Index Oper-Key Flag + XGE1/0/0/1(R) S 32768 1 1 {ACDEF} + XGE1/0/0/2 S 32768 6 1 {ACDEF} + XGE2/0/0/1 S 32768 11 1 {ACDEF} + XGE2/0/0/2 S 32768 16 1 {ACDEF} +Remote: + Actor Priority Index Oper-Key SystemID Flag + XGE1/0/0/1 32768 47 9 0x8000, aaaa-bbbb-8be8 {ACDEF} + XGE1/0/0/2 32768 252 9 0x8000, aaaa-bbbb-8be8 {ACDEF} + XGE2/0/0/1 32768 48 9 0x8000, aaaa-bbbb-8be8 {ACDEF} + XGE2/0/0/2 32768 253 9 0x8000, aaaa-bbbb-8be8 {ACDEF} + +Aggregate Interface: Bridge-Aggregation20 +Creation Mode: Manual +Aggregation Mode: Dynamic +Loadsharing Type: Shar +Management VLANs: None +System ID: 0x8000, 7848-5933-6485 +Local: + Port Status Priority Index Oper-Key Flag + XGE1/0/0/5(R) S 32768 2 2 {ACDEF} + XGE1/0/0/6 S 32768 7 2 {ACDEF} + XGE2/0/0/5 S 32768 12 2 {ACDEF} + XGE2/0/0/6 S 32768 17 2 {ACDEF} +Remote: + Actor Priority Index Oper-Key SystemID Flag + XGE1/0/0/5 32768 47 13 0x8000, bcea-fa0d-b0e0 {ACDEF} + XGE1/0/0/6 32768 48 13 0x8000, bcea-fa0d-b0e0 {ACDEF} + XGE2/0/0/5 32768 252 13 0x8000, bcea-fa0d-b0e0 {ACDEF} + XGE2/0/0/6 32768 253 13 0x8000, bcea-fa0d-b0e0 {ACDEF} + +Aggregate Interface: Bridge-Aggregation30 +Creation Mode: Manual +Aggregation Mode: Dynamic +Loadsharing Type: Shar +Management VLANs: None +System ID: 0x8000, 7848-5933-6485 +Local: + Port Status Priority Index Oper-Key Flag + XGE1/0/0/9(R) S 32768 3 3 {ACDEF} + XGE1/0/0/10 S 32768 8 3 {ACDEF} + XGE2/0/0/9 S 32768 13 3 {ACDEF} + XGE2/0/0/10 S 32768 18 3 {ACDEF} +Remote: + Actor Priority Index Oper-Key SystemID Flag + XGE1/0/0/9 32768 252 13 0x8000, bcea-fa0d-c7d8 {ACDEF} + XGE1/0/0/10 32768 253 13 0x8000, bcea-fa0d-c7d8 {ACDEF} + XGE2/0/0/9 32768 47 13 0x8000, bcea-fa0d-c7d8 {ACDEF} + XGE2/0/0/10 32768 48 13 0x8000, bcea-fa0d-c7d8 {ACDEF} diff --git a/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.yml b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.yml new file mode 100644 index 0000000000..12c073b4b7 --- /dev/null +++ b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - interface: "Bridge-Aggregation10" + creation_mode: "Manual" + aggregation_mode: "Dynamic" + loadsharing: "Shar" + local_interfaces: + - "XGE1/0/0/1(R)" + - "XGE1/0/0/2" + - "XGE2/0/0/1" + - "XGE2/0/0/2" + remote_interfaces: + - "XGE1/0/0/1" + - "XGE1/0/0/2" + - "XGE2/0/0/1" + - "XGE2/0/0/2" + - interface: "Bridge-Aggregation20" + creation_mode: "Manual" + aggregation_mode: "Dynamic" + loadsharing: "Shar" + local_interfaces: + - "XGE1/0/0/5(R)" + - "XGE1/0/0/6" + - "XGE2/0/0/5" + - "XGE2/0/0/6" + remote_interfaces: + - "XGE1/0/0/5" + - "XGE1/0/0/6" + - "XGE2/0/0/5" + - "XGE2/0/0/6" + - interface: "Bridge-Aggregation30" + creation_mode: "Manual" + aggregation_mode: "Dynamic" + loadsharing: "Shar" + local_interfaces: + - "XGE1/0/0/9(R)" + - "XGE1/0/0/10" + - "XGE2/0/0/9" + - "XGE2/0/0/10" + remote_interfaces: + - "XGE1/0/0/9" + - "XGE1/0/0/10" + - "XGE2/0/0/9" + - "XGE2/0/0/10" diff --git a/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.raw b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.raw new file mode 100644 index 0000000000..6059fe5ae2 --- /dev/null +++ b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.raw @@ -0,0 +1,20 @@ +Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing +Port Status: S -- Selected, U -- Unselected +Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation, + D -- Synchronization, E -- Collecting, F -- Distributing, + G -- Defaulted, H -- Expired + +Aggregation Interface: Route-Aggregation1 +Aggregation Mode: Dynamic +Loadsharing Type: Shar +System ID: 0x8000, aaaa-bbbb-75bc +Local: + Port Status Priority Oper-Key Flag +-------------------------------------------------------------------------------- + GE0/0/0 S 32768 1 {ACDEF} + GE0/0/1 S 32768 1 {ACDEF} +Remote: + Actor Partner Priority Oper-Key SystemID Flag +-------------------------------------------------------------------------------- + GE0/0/0 21 32768 7 0x8000, aaaa-bbbb-6485 {ACDEF} + GE0/0/1 23 32768 7 0x8000, aaaa-bbbb-6485 {ACDEF} diff --git a/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.yml b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.yml new file mode 100644 index 0000000000..f170ca0738 --- /dev/null +++ b/tests/hp_comware/display_link-aggregation_verbose/hp_comware_display_link-aggregation_verbose1.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - interface: "Route-Aggregation1" + creation_mode: "" + aggregation_mode: "Dynamic" + loadsharing: "Shar" + local_interfaces: + - "GE0/0/0" + - "GE0/0/1" + remote_interfaces: + - "GE0/0/0" + - "GE0/0/1" From b79f7cb08ee05f2d23b4034ae14672bb4521bdaf Mon Sep 17 00:00:00 2001 From: Klaus Mark Date: Wed, 28 Dec 2022 16:14:50 +0100 Subject: [PATCH 358/412] Add support for fortigate 7.0 (#1227) --- .../fortinet_get_system_status.textfsm | 9 +++-- .../fortinet_get_system_status.yml | 2 ++ .../fortinet_get_system_status_6.2.yml | 2 ++ .../fortinet_get_system_status_7.0.raw | 27 +++++++++++++++ .../fortinet_get_system_status_7.0.yml | 34 +++++++++++++++++++ 5 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_7.0.raw create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_7.0.yml diff --git a/ntc_templates/templates/fortinet_get_system_status.textfsm b/ntc_templates/templates/fortinet_get_system_status.textfsm index ca67ce0f1a..cb747c42b2 100644 --- a/ntc_templates/templates/fortinet_get_system_status.textfsm +++ b/ntc_templates/templates/fortinet_get_system_status.textfsm @@ -9,6 +9,8 @@ # CLUSTER MODE: AP # VDOMS : ENABLED # +# 2022-11-27: Update for 7.0 by Klaus +# Value Required HOSTNAME (\S+) Value VERSION (.*) Value SIGNATURE (.*) @@ -39,12 +41,15 @@ Value BRANCH_POINT (\S+) Value RELEASE_VERSION_INFORMATION (\S+) Value FORTIOS_X86_64 (\S+) Value SYSTEM_TIME (.*) +Value AV_AI_ML_MODEL (.+) +Value LAST_REBOOT_REASON (.+) Start ^Version:\s+${VERSION} ^Firmware Signature:\s+${SIGNATURE} ^Virus-DB:\s+${VIRUS_DB} ^Extended\s+DB:\s+${EXTENDED_DB} + ^AV\s+AI/ML\s+Model:\s+${AV_AI_ML_MODEL} ^Extreme\s+DB:\s+${EXTREME_DB} ^IPS-DB:\s+${IPS_DB} ^IPS-ETDB:\s+${IPS_ETDB} @@ -70,7 +75,7 @@ Start ^Branch\s+point:\s+${BRANCH_POINT} ^Release\s+Version\s+Information:\s+${RELEASE_VERSION_INFORMATION} ^FortiOS\s+x86-64:\s+${FORTIOS_X86_64} - ^System\s+time:\s+${SYSTEM_TIME} -> Record + ^System\s+time:\s+${SYSTEM_TIME} + ^Last\s+reboot\s+reason:\s+${LAST_REBOOT_REASON} ^\s*$$ ^. -> Error - diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status.yml b/tests/fortinet/get_system_status/fortinet_get_system_status.yml index 1c309a1c9b..12c4670ebb 100644 --- a/tests/fortinet/get_system_status/fortinet_get_system_status.yml +++ b/tests/fortinet/get_system_status/fortinet_get_system_status.yml @@ -30,3 +30,5 @@ parsed_sample: release_version_information: "GA" fortios_x86_64: "Yes" system_time: "Fri Jan 10 23:10:02 2020" + av_ai_ml_model: "" + last_reboot_reason: "" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml index f63d2f7186..86986f17e3 100644 --- a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml @@ -30,3 +30,5 @@ parsed_sample: release_version_information: "GA" fortios_x86_64: "Yes" system_time: "Fri Jan 8 13:22:01 2021" + av_ai_ml_model: "" + last_reboot_reason: "" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.raw b/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.raw new file mode 100644 index 0000000000..83bdb4b39f --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.raw @@ -0,0 +1,27 @@ +Version: FortiGate-60F v7.0.7,build0367,221005 (GA.F) +Firmware Signature: certified +Virus-DB: 90.02571(2022-05-23 20:26) +Extended DB: 90.02571(2022-05-23 20:26) +AV AI/ML Model: 2.05720(2022-05-23 11:45) +IPS-DB: 22.00446(2022-11-24 01:49) +IPS-ETDB: 0.00000(2001-01-01 00:00) +APP-DB: 22.00444(2022-11-22 02:49) +INDUSTRIAL-DB: 6.00741(2015-12-01 02:30) +IPS Malicious URL Database: 4.00542(2022-11-26 11:33) +Serial-Number: FGT60xxxxxxxxxxx +BIOS version: 05000009 +System Part-Number: P24286-03 +Log hard disk: Not available +Hostname: fw1 +Private Encryption: Disable +Operation Mode: NAT +Current virtual domain: root +Max number of virtual domains: 10 +Virtual domains status: 1 in NAT mode, 0 in TP mode +Virtual domain configuration: disable +FIPS-CC mode: disable +Current HA mode: standalone +Branch point: 0367 +Release Version Information: GA +System time: Sun Nov 27 00:26:34 2022 +Last reboot reason: warm reboot diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.yml b/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.yml new file mode 100644 index 0000000000..0b9052f194 --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_7.0.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - hostname: "fw1" + version: "FortiGate-60F v7.0.7,build0367,221005 (GA.F)" + signature: "certified" + virus_db: "90.02571(2022-05-23 20:26)" + extended_db: "90.02571(2022-05-23 20:26)" + extreme_db: "" + ips_db: "22.00446(2022-11-24 01:49)" + ips_etdb: "0.00000(2001-01-01 00:00)" + app_db: "22.00444(2022-11-22 02:49)" + industrial_db: "6.00741(2015-12-01 02:30)" + serial_number: "FGT60xxxxxxxxxxx" + ips_malicious_url_database: "4.00542(2022-11-26 11:33)" + botnet_db: "" + bios_version: "05000009" + system_part_number: "P24286-03" + log_hard_disk: "Not" + private_encryption: "Disable" + operation_mode: "NAT" + current_virtual_domain: "root" + max_number_of_virtual_domains: "10" + virtual_domains_status: "1 in NAT mode, 0 in TP mode" + virtual_domain_configuration: "disable" + fips_cc_mode: "disable" + current_ha_mode: "standalone" + cluster_uptime: "" + cluster_state_change_time: "" + branch_point: "0367" + release_version_information: "GA" + fortios_x86_64: "" + system_time: "Sun Nov 27 00:26:34 2022" + last_reboot_reason: "warm reboot" + av_ai_ml_model: "2.05720(2022-05-23 11:45)" From ab09355e37adf147b98183d66699e5a202072e53 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Thu, 29 Dec 2022 20:32:24 +0100 Subject: [PATCH 359/412] Fix case sensitivity for HP Comware (#1272) --- .../hp_comware_display_interface.textfsm | 20 +++-- .../hp_comware_display_interface2.raw | 79 +++++++++++++++++++ .../hp_comware_display_interface2.yml | 50 ++++++++++++ 3 files changed, 143 insertions(+), 6 deletions(-) create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface2.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface2.yml diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm index 998daf0520..6a52da6b72 100644 --- a/ntc_templates/templates/hp_comware_display_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -23,8 +23,8 @@ Start ^Bandwidth:\s+${BANDWIDTH} ^Maximum\s+transmission\s+unit:\s+${MTU} ^Maximum\s+frame\s+length:\s+${L2MTU} - ^Internet\s+address:\s+${IP_ADDRESS}\s+\(Primary\) - ^Internet\s+address:\s+${IP_ADDRESS}\s+\(Sub\) + ^Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Pp]rimary\) + ^Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Ss]ub\) ^IP\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} ^IPv6\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} ^${SPEED}\s+mode,\s+${DUPLEX}\s+mode @@ -144,13 +144,21 @@ Start ^\s*IPv4\s+traffic ^\s*IPv6\s+traffic ^\s+Tagged\s+VLAN - ^\s+UnTagged\s+VLAN - ^\s*Input - ^\s*Output + ^\s+Un[tT]agged\s+VLAN + ^\s*[Ii]nput + ^\s*[Oo]utput + ^\s*Physical + ^\s*Internet\s+protocol + ^\s*Port\s+hardware ^\s{6,}\d+\s+unicasts ^\s{6,}\d+\s+CRC ^\s{6,}\d+\s+aborts ^\s{6,}\d+\s+lost - ^\s{6,}.*ignored + ^\s{6,}\d+\s+broadcasts + ^\s{6,}\d+\s+ignored + ^\s{6,}-\s+ignored + ^\s{6,}-\s+frame + ^\s{6,}-\s+aborts + ^\s{6,}-\s+lost\s+carrier ^. -> Error ^\s*$$ ^. -> Error diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface2.raw b/tests/hp_comware/display_interface/hp_comware_display_interface2.raw new file mode 100644 index 0000000000..5111253cb7 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface2.raw @@ -0,0 +1,79 @@ +FortyGigE1/0/49 +Current state: DOWN +Line protocol state: DOWN +IP packet frame type: Ethernet II, hardware address: bcea-fa19-5f8c +Description: FortyGigE1/0/49 Interface +Bandwidth: 40000000 kbps +Loopback is not set +Media type is not sure, port hardware type is No connector +Unknown-speed mode, unknown-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +Flow-control is not enabled +Maximum frame length: 10000 +Allow jumbo frames to pass +Broadcast max-ratio: 100% +Multicast max-ratio: 100% +Unicast max-ratio: 100% +PVID: 1 +MDI type: Automdix +Port link-type: Access + Tagged VLANs: None + Untagged VLANs: 1 +Port priority: 0 +Last link flapping: Never +Last clearing of counters: Never + Peak input rate: 0 bytes/sec, at 2011-01-01 03:03:20 + Peak output rate: 0 bytes/sec, at 2011-01-01 03:03:20 + Last 300 second input: 0 packets/sec 0 bytes/sec -% + Last 300 second output: 0 packets/sec 0 bytes/sec -% + Input (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Input (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors + Output (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Output (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier + +InLoopBack0 +Current state: UP +Line protocol state: UP(spoofing) +Description: InLoopBack0 Interface +Bandwidth: 0 kbps +Maximum transmission unit: 1536 +Physical: InLoopBack +Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec +Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec +Input: 0 packets, 0 bytes, 0 drops +Output: 5 packets, 420 bytes, 0 drops + +M-GigabitEthernet0/0/0 +Current state: DOWN +Line protocol state: DOWN +Description: M-GigabitEthernet0/0/0 Interface +Bandwidth: 1000000 kbps +Maximum transmission unit: 1500 +Internet protocol processing: Disabled +IP packet frame type: Ethernet II, hardware address: bcea-fa19-8bec +IPv6 packet frame type: Ethernet II, hardware address: bcea-fa19-8bec +Last link flapping: Never +Last clearing of counters: Never +Media type is twisted pair, loopback not set +Port hardware type is 1000_BASE_T +Unknown-speed mode, unknown-duplex mode +Link speed type is autonegotiation , Link duplex type is autonegotiation +input: 0 packets, 0 bytes + 0 broadcasts,0 multicasts +input: - input errors,- runts,- giants,- throttles,0 CRC + - frame,- overruns,- aborts,- ignored,- parity errors +output: 0 packets, 0 bytes + 0 broadcasts,0 multicasts +output: - output errors,- underruns,- buffer failures + - aborts,- deferred,0 collisions,0 late collisions + - lost carrier,- no carrier diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface2.yml b/tests/hp_comware/display_interface/hp_comware_display_interface2.yml new file mode 100644 index 0000000000..c18c6acb2c --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface2.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - intf: "FortyGigE1/0/49" + line_status: "DOWN" + protocol_status: "DOWN" + hw_address: + - "bcea-fa19-5f8c" + description: "FortyGigE1/0/49 Interface" + bandwidth: "40000000 kbps" + speed: "Unknown-speed" + duplex: "unknown-duplex" + mtu: "" + l2mtu: "10000" + vlan_native: "1" + ip_address: [] + port_link_type: "Access" + vlan_passing: [] + vlan_permitted: [] + - intf: "InLoopBack0" + line_status: "UP" + protocol_status: "UP(spoofing)" + hw_address: [] + description: "InLoopBack0 Interface" + bandwidth: "0 kbps" + speed: "" + duplex: "" + mtu: "1536" + l2mtu: "" + vlan_native: "" + ip_address: [] + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] + - intf: "M-GigabitEthernet0/0/0" + line_status: "DOWN" + protocol_status: "DOWN" + hw_address: + - "bcea-fa19-8bec" + - "bcea-fa19-8bec" + description: "M-GigabitEthernet0/0/0 Interface" + bandwidth: "1000000 kbps" + speed: "Unknown-speed" + duplex: "unknown-duplex" + mtu: "1500" + l2mtu: "" + vlan_native: "" + ip_address: [] + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] From cbea753010304602d2a7a34d13414fae31334621 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Tue, 3 Jan 2023 16:16:47 +0100 Subject: [PATCH 360/412] HP Comware fix spacing allowances Fix templates if output contain tabs. --- .../hp_comware_display_interface.textfsm | 20 ++++++------- .../hp_comware_display_interface3.raw | 29 +++++++++++++++++++ .../hp_comware_display_interface3.yml | 28 ++++++++++++++++++ 3 files changed, 67 insertions(+), 10 deletions(-) create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface3.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface3.yml diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm index 6a52da6b72..d45d5b34f9 100644 --- a/ntc_templates/templates/hp_comware_display_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -150,15 +150,15 @@ Start ^\s*Physical ^\s*Internet\s+protocol ^\s*Port\s+hardware - ^\s{6,}\d+\s+unicasts - ^\s{6,}\d+\s+CRC - ^\s{6,}\d+\s+aborts - ^\s{6,}\d+\s+lost - ^\s{6,}\d+\s+broadcasts - ^\s{6,}\d+\s+ignored - ^\s{6,}-\s+ignored - ^\s{6,}-\s+frame - ^\s{6,}-\s+aborts - ^\s{6,}-\s+lost\s+carrier + ^\s+\d+\s+unicasts + ^\s+\d+\s+CRC + ^\s+\d+\s+aborts + ^\s+\d+\s+lost + ^\s+\d+\s+broadcasts + ^\s+\d+\s+ignored + ^\s+-\s+ignored + ^\s+-\s+frame + ^\s+-\s+aborts + ^\s+-\s+lost\s+carrier ^. -> Error ^\s*$$ ^. -> Error diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface3.raw b/tests/hp_comware/display_interface/hp_comware_display_interface3.raw new file mode 100644 index 0000000000..ebbd18db6d --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface3.raw @@ -0,0 +1,29 @@ +Bridge-Aggregation1 +Current state: UP +IP packet frame type: Ethernet II, hardware address: bcea-fa19-5f6c +Description: FL00-Z01 +Bandwidth: 20000000 kbps +20Gbps-speed mode, full-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +PVID: 1 +Port link-type: Trunk + VLAN Passing: 1(default vlan), 1000-1002, 1031, 1051, 1100, 2191, 3231, 4001 + VLAN permitted: 1(default vlan), 2-4094 + Trunk port encapsulation: IEEE 802.1q +Last clearing of counters: Never +Last 300 seconds input: 1 packets/sec 495 bytes/sec 0% +Last 300 seconds output: 4 packets/sec 606 bytes/sec 0% +Input (total): 5540021 packets, 1395572601 bytes + 3138997 unicasts, 1270 broadcasts, 2399754 multicasts, 0 pauses +Input (normal): 5540021 packets, - bytes + 3138997 unicasts, 1270 broadcasts, 2399754 multicasts, 0 pauses +Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors +Output (total): 18114817 packets, 5095908012 bytes + 4250899 unicasts, 2347877 broadcasts, 11516041 multicasts, 0 pauses +Output (normal): 18114817 packets, - bytes + 4250899 unicasts, 2347877 broadcasts, 11516041 multicasts, 0 pauses +Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface3.yml b/tests/hp_comware/display_interface/hp_comware_display_interface3.yml new file mode 100644 index 0000000000..40a4556a9b --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface3.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - intf: "Bridge-Aggregation1" + line_status: "UP" + protocol_status: "" + hw_address: + - "bcea-fa19-5f6c" + description: "FL00-Z01" + bandwidth: "20000000 kbps" + speed: "20Gbps-speed" + duplex: "full-duplex" + mtu: "" + l2mtu: "" + vlan_native: "1" + ip_address: [] + port_link_type: "Trunk" + vlan_passing: + - "1(default vlan)" + - "1000-1002" + - "1031" + - "1051" + - "1100" + - "2191" + - "3231" + - "4001" + vlan_permitted: + - "1(default vlan)" + - "2-4094" From dafa7ff22a14982f7bf5f97ba5cee0c578209429 Mon Sep 17 00:00:00 2001 From: Patryk Szulczewski Date: Tue, 3 Jan 2023 16:30:30 +0100 Subject: [PATCH 361/412] Fix cisco_xr_show_version.template (#1276) Co-authored-by: Anubha Sewlani --- .../templates/cisco_xr_show_version.textfsm | 4 +++- .../show_version/cisco_xr_show_version.yml | 1 + .../show_version/cisco_xr_show_version2.yml | 1 + .../show_version/cisco_xr_show_version_crs.yml | 1 + .../show_version/cisco_xr_show_version_label.raw | 15 +++++++++++++++ .../show_version/cisco_xr_show_version_label.yml | 8 ++++++++ 6 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_label.raw create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_label.yml diff --git a/ntc_templates/templates/cisco_xr_show_version.textfsm b/ntc_templates/templates/cisco_xr_show_version.textfsm index 4aab8eeb8c..07f47e33b4 100644 --- a/ntc_templates/templates/cisco_xr_show_version.textfsm +++ b/ntc_templates/templates/cisco_xr_show_version.textfsm @@ -3,6 +3,7 @@ Value UPTIME (.+?) Value LOCATION (\S+) Value HARDWARE (.+) Value BUILD_HOST (\S+) +Value LABEL (\S+) Start ^Cisco.+Software.+Version\s+${VERSION} @@ -21,7 +22,7 @@ Start ^hfr-doc -> CRS ^\s*$$ ^. -> Error - + # A VARIATION OF THE OUTPUT, EX. NCS PLATFORM Build_Info ^\s+Built\sBy.+ @@ -30,6 +31,7 @@ Build_Info ^\s+Workspace\s+:\s\S+ ^\s+Version\s+: ^\s+Location\s+:\s${LOCATION} + ^\s+Label\s+:\s${LABEL} ^\s*$$ -> Start ^.* -> Error diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.yml b/tests/cisco_xr/show_version/cisco_xr_show_version.yml index 74d9d46ddc..1bf479119b 100644 --- a/tests/cisco_xr/show_version/cisco_xr_show_version.yml +++ b/tests/cisco_xr/show_version/cisco_xr_show_version.yml @@ -5,3 +5,4 @@ parsed_sample: version: "6.1.4" location: "/opt/cisco/XR/packages/" build_host: "iox-lnx-032" + label: "" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.yml b/tests/cisco_xr/show_version/cisco_xr_show_version2.yml index d8c1f36ec9..290ac5b776 100644 --- a/tests/cisco_xr/show_version/cisco_xr_show_version2.yml +++ b/tests/cisco_xr/show_version/cisco_xr_show_version2.yml @@ -5,3 +5,4 @@ parsed_sample: location: "/opt/cisco/XR/packages/" hardware: "IOS-XRv 9000" build_host: "iox-ucs-019" + label: "" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml index e85ff168a0..58026dab16 100644 --- a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml @@ -5,3 +5,4 @@ parsed_sample: location: "" hardware: "CRS-8/S" build_host: "" + label: "" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_label.raw b/tests/cisco_xr/show_version/cisco_xr_show_version_label.raw new file mode 100644 index 0000000000..d8473c4078 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_label.raw @@ -0,0 +1,15 @@ +Thu Jul 29 16:12:10.154 UTC +Cisco IOS XR Software, Version 6.6.3 +Copyright (c) 2013-2020 by Cisco Systems, Inc. + +Build Information: + Built By : hlo + Built On : Fri Dec 13 17:40:12 PST 2019 + Built Host : iox-lnx-029 + Workspace : /auto/srcarchive15/prod/6.6.3/ncs5500/ws + Version : 6.6.3 + Location : /opt/cisco/XR/packages/ + Label : 6.6.3-80 + +cisco NCS-5500 () processor +System uptime is 23 hours 3 minutes diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_label.yml b/tests/cisco_xr/show_version/cisco_xr_show_version_label.yml new file mode 100644 index 0000000000..48faf6ca8c --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_label.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - version: "6.6.3" + uptime: "23 hours 3 minutes" + location: "/opt/cisco/XR/packages/" + hardware: "NCS-5500" + build_host: "iox-lnx-029" + label: "6.6.3-80" From 9fefccf2d755906cffc449dd6c6333730edd37c8 Mon Sep 17 00:00:00 2001 From: Patryk Szulczewski Date: Tue, 3 Jan 2023 16:34:05 +0100 Subject: [PATCH 362/412] Added input and output pps for cisco_ios_show_interfaces (#1277) Co-authored-by: Lamoni Finlayson Co-authored-by: patryk --- .../cisco_ios_show_interfaces.textfsm | 6 +- .../cisco_ios_show_interfaces.yml | 16 +++ .../cisco_ios_show_interfaces2.yml | 112 ++++++++++++++++++ .../cisco_ios_show_interfaces3.yml | 28 +++++ .../cisco_ios_show_interfaces4.yml | 32 +++++ .../cisco_ios_show_interfaces5.yml | 4 + 6 files changed, 196 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm index d6d568dc6e..1282df7c0a 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm @@ -19,6 +19,8 @@ Value LAST_OUTPUT_HANG (.+?) Value QUEUE_STRATEGY (.+) Value INPUT_RATE (\d+) Value OUTPUT_RATE (\d+) +Value INPUT_PPS (\d+) +Value OUTPUT_PPS (\d+) Value INPUT_PACKETS (\d+) Value OUTPUT_PACKETS (\d+) Value INPUT_ERRORS (\d+) @@ -43,8 +45,8 @@ Start ^\s+Last\s+input\s+${LAST_INPUT},\s+output\s+${LAST_OUTPUT},\s+output\s+hang\s+${LAST_OUTPUT_HANG}\s*$$ ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ ^\s+${DUPLEX},\s+${SPEED},.+media\stype\sis\s${MEDIA_TYPE}$$ - ^.*input\s+rate\s+${INPUT_RATE}.+$$ - ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ + ^.*input\s+rate\s+${INPUT_RATE}\s+\w+/sec,\s+${INPUT_PPS}\s+packets.+$$ + ^.*output\s+rate\s+${OUTPUT_RATE}\s+\w+/sec,\s+${OUTPUT_PPS}\s+packets.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+${ABORT}\s+abort\s*$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index e903673769..902ac12a94 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -21,6 +21,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "324" output_packets: "703" input_errors: "0" @@ -51,6 +53,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "83" output_packets: "15513" input_errors: "0" @@ -81,6 +85,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "1000" + input_pps: "0" + output_pps: "2" input_packets: "8677" output_packets: "420798" input_errors: "0" @@ -111,6 +117,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "1000" + input_pps: "0" + output_pps: "2" input_packets: "8638" output_packets: "420819" input_errors: "0" @@ -141,6 +149,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "2000" + input_pps: "0" + output_pps: "2" input_packets: "8627" output_packets: "420790" input_errors: "0" @@ -171,6 +181,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "85" output_packets: "0" input_errors: "0" @@ -201,6 +213,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -231,6 +245,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "4" input_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 0451a02434..864475c334 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -21,6 +21,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "37453340" output_packets: "0" input_errors: "0" @@ -51,6 +53,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "3772" output_packets: "3804" input_errors: "0" @@ -81,6 +85,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "2000" output_rate: "2000" + input_pps: "2" + output_pps: "2" input_packets: "6313297" output_packets: "10453439" input_errors: "0" @@ -111,6 +117,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "7881502" output_packets: "47843" input_errors: "0" @@ -141,6 +149,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "182000" output_rate: "38883000" + input_pps: "334" + output_pps: "10094" input_packets: "8647579827" output_packets: "86941746207" input_errors: "1" @@ -171,6 +181,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "38882000" output_rate: "182000" + input_pps: "10093" + output_pps: "334" input_packets: "86697408651" output_packets: "8485702870" input_errors: "0" @@ -201,6 +213,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "1000" + input_pps: "0" + output_pps: "1" input_packets: "233361378" output_packets: "246128007" input_errors: "0" @@ -231,6 +245,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -261,6 +277,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -291,6 +309,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -321,6 +341,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -351,6 +373,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -381,6 +405,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "38871000" output_rate: "174000" + input_pps: "10083" + output_pps: "327" input_packets: "86293954347" output_packets: "8120676183" input_errors: "0" @@ -411,6 +437,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "85011546" output_packets: "118427887" input_errors: "0" @@ -441,6 +469,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "13503663" output_packets: "96706284" input_errors: "0" @@ -471,6 +501,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "566684" output_packets: "10387099" input_errors: "0" @@ -501,6 +533,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "5093298" output_packets: "35059143" input_errors: "0" @@ -531,6 +565,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "4381776" output_packets: "33579140" input_errors: "0" @@ -561,6 +597,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "6095906" output_packets: "31933579" input_errors: "0" @@ -591,6 +629,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "3048741" output_packets: "23191458" input_errors: "0" @@ -621,6 +661,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "515815" output_packets: "3364092" input_errors: "0" @@ -651,6 +693,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "56335" output_packets: "2263838" input_errors: "0" @@ -681,6 +725,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "2154038" output_packets: "15816478" input_errors: "0" @@ -711,6 +757,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "2238092" output_packets: "15877977" input_errors: "0" @@ -741,6 +789,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "4942593" output_packets: "43723513" input_errors: "1" @@ -771,6 +821,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "6201152" output_packets: "43660027" input_errors: "1" @@ -801,6 +853,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "56" input_errors: "0" @@ -831,6 +885,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "2397801" output_packets: "45635335" input_errors: "0" @@ -861,6 +917,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -891,6 +949,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -921,6 +981,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "288816" output_packets: "55357995" input_errors: "0" @@ -951,6 +1013,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "295313" output_packets: "55364859" input_errors: "2" @@ -981,6 +1045,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "1000" output_rate: "2000" + input_pps: "1" + output_pps: "2" input_packets: "39214781" output_packets: "90202230" input_errors: "28898" @@ -1011,6 +1077,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "4811284" output_packets: "55162378" input_errors: "0" @@ -1041,6 +1109,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "2255624" output_packets: "15969856" input_errors: "0" @@ -1071,6 +1141,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "5743877" output_packets: "20133314" input_errors: "0" @@ -1101,6 +1173,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "11086568" output_packets: "46398900" input_errors: "1" @@ -1131,6 +1205,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "1071483" output_packets: "11192764" input_errors: "0" @@ -1161,6 +1237,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "3000" output_rate: "2000" + input_pps: "3" + output_pps: "3" input_packets: "252774135" output_packets: "136849790" input_errors: "0" @@ -1191,6 +1269,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "30561744" output_packets: "25816556" input_errors: "0" @@ -1221,6 +1301,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "23" output_packets: "110" input_errors: "0" @@ -1251,6 +1333,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1281,6 +1365,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1311,6 +1397,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1341,6 +1429,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1371,6 +1461,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1401,6 +1493,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "33944" output_packets: "52215" input_errors: "0" @@ -1431,6 +1525,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1461,6 +1557,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "1103" output_packets: "10099477" input_errors: "0" @@ -1491,6 +1589,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1521,6 +1621,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1551,6 +1653,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "180000" output_rate: "38881000" + input_pps: "332" + output_pps: "10093" input_packets: "8407299374" output_packets: "86731716396" input_errors: "0" @@ -1581,6 +1685,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1611,6 +1717,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1641,6 +1749,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -1671,6 +1781,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index 2e6878074b..78e1073218 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -21,6 +21,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "95000" output_rate: "90000" + input_pps: "57" + output_pps: "54" input_packets: "338297234" output_packets: "336857668" input_errors: "0" @@ -51,6 +53,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" @@ -81,6 +85,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" @@ -111,6 +117,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" @@ -141,6 +149,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" @@ -171,6 +181,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -201,6 +213,8 @@ parsed_sample: queue_strategy: "Class-based queueing" input_rate: "96000" output_rate: "111000" + input_pps: "63" + output_pps: "67" input_packets: "" output_packets: "350115018" input_errors: "0" @@ -231,6 +245,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" @@ -261,6 +277,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "" output_packets: "0" input_errors: "0" @@ -291,6 +309,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "2292" output_packets: "0" input_errors: "0" @@ -321,6 +341,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -351,6 +373,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -381,6 +405,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -411,6 +437,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml index f033467881..be8283614c 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml @@ -21,6 +21,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "" output_packets: "0" input_errors: "0" @@ -51,6 +53,8 @@ parsed_sample: queue_strategy: "Class-based queueing" input_rate: "1180000" output_rate: "38000" + input_pps: "131" + output_pps: "33" input_packets: "4035758153" output_packets: "956714742" input_errors: "0" @@ -81,6 +85,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "6000" output_rate: "6000" + input_pps: "10" + output_pps: "10" input_packets: "237748374" output_packets: "237747059" input_errors: "0" @@ -111,6 +117,8 @@ parsed_sample: queue_strategy: "Class-based queueing" input_rate: "196000" output_rate: "11000" + input_pps: "50" + output_pps: "16" input_packets: "9594383489" output_packets: "814075627" input_errors: "0" @@ -141,6 +149,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "419000" output_rate: "1582000" + input_pps: "173" + output_pps: "261" input_packets: "21777507643" output_packets: "37553221421" input_errors: "0" @@ -171,6 +181,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -201,6 +213,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "1261000" output_rate: "1582000" + input_pps: "243" + output_pps: "200" input_packets: "9295308398" output_packets: "8107505603" input_errors: "0" @@ -231,6 +245,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "169728331" output_packets: "242553619" input_errors: "0" @@ -261,6 +277,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "15804107" output_packets: "13861965" input_errors: "0" @@ -291,6 +309,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -321,6 +341,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -351,6 +373,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "289000" output_rate: "7166000" + input_pps: "170" + output_pps: "714" input_packets: "33070723737" output_packets: "36245627794" input_errors: "0" @@ -381,6 +405,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -411,6 +437,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "128000" output_rate: "897000" + input_pps: "48" + output_pps: "126" input_packets: "2706943013" output_packets: "5030894569" input_errors: "0" @@ -441,6 +469,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" @@ -471,6 +501,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "0" output_rate: "0" + input_pps: "0" + output_pps: "0" input_packets: "0" output_packets: "0" input_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml index b280688990..19f783bbf9 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml @@ -21,6 +21,8 @@ parsed_sample: queue_strategy: "fifo" input_rate: "1792809000" output_rate: "1798430000" + input_pps: "172855" + output_pps: "172826" input_packets: "301005604249" output_packets: "300823114354" input_errors: "179928" @@ -51,6 +53,8 @@ parsed_sample: queue_strategy: "" input_rate: "" output_rate: "" + input_pps: "" + output_pps: "" input_packets: "" output_packets: "" input_errors: "" From 1c1158ec63d6abd00dd07ac6ca52982f8af58353 Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Tue, 12 Apr 2022 22:28:57 +0200 Subject: [PATCH 363/412] added cisco_ios_show_ip_http_server_status.textfsm --- ...sco_ios_show_ip_http_server_status.textfsm | 86 +++++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_ip_http_server_status.raw | 35 ++++++++ .../cisco_ios_show_ip_http_server_status.yml | 39 +++++++++ 4 files changed, 161 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ip_http_server_status.textfsm create mode 100644 tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.raw create mode 100644 tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_http_server_status.textfsm b/ntc_templates/templates/cisco_ios_show_ip_http_server_status.textfsm new file mode 100644 index 0000000000..12fad74416 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ip_http_server_status.textfsm @@ -0,0 +1,86 @@ +Value SERVER_STATUS (\S+) +Value SERVER_PORT (\d+) +Value AUTH_METHOD (\S+) +Value AUTH_RETRY (\d+) +Value TIME_WINDOW (\d+) +Value SERVER_DIGEST (\S+) +Value ACCESS_CLASS (\S+) +Value IPV4_ACCESS_CLASS (\S+) +Value IPV6_ACCESS_CLASS (\S+) +Value FILE_UPLOAD_STATUS (\S+) +Value CONCURRENT_CONNECTIONS_ALLOWED (\d+) +Value SECONDARY_CONNECTIONS_ALLOWED (\d+) +Value SERVER_IDLE_TIMEOUT (.*) +Value SERVER_LIFE_TIMEOUT (.*) +Value SERVER_SESSION_TIMEOUT (.*) +Value MAX_REQUESTS_PER_CONNECTION (\d+) +Value SERVER_LINGER_TIME (.*) +Value ACTIVE_SESSION_MODULES (\S+) +Value SECURE_SERVER_CAPABILITY (\S+) +Value SECURE_SERVER_STATUS (\S+) +Value SECURE_SERVER_PORT (\d+) +Value List SECURE_CIPHERSUITE (\S+) +Value List TLS_VERSIONS (\S+) +Value SECURE_CLIENT_AUTH (\S+) +Value SECURE_PIV_AUTHN (\S+) +Value SECURE_PIV_AUTHZ (\S+) +Value SECURE_ECDHE_CURVE (\S+) +Value SECURE_ACTIVE_SESSION_MODULES (.+) + + +Start + ^HTTP\s+server\s+status:\s+${SERVER_STATUS} + ^HTTP\s+server\s+port:\s+${SERVER_PORT} + ^HTTP\s+server\s+active\s+supplementary\s+listener\s+ports: + ^HTTP\s+server\s+authentication\s+method:\s+${AUTH_METHOD} + ^HTTP\s+server\s+auth-retry\s+${AUTH_RETRY}\s+time-window\s+${TIME_WINDOW} + ^HTTP\s+server\s+digest\s+algorithm:\s+${SERVER_DIGEST} + ^HTTP\s+server\s+access\s+class:\s+${ACCESS_CLASS} + ^HTTP\s+server\s+IPv4\s+access\s+class:\s+${IPV4_ACCESS_CLASS} + ^HTTP\s+server\s+IPv6\s+access\s+class:\s+${IPV6_ACCESS_CLASS} + ^HTTP\s+server\s+base\s+path: + ^HTTP\s+File\s+Upload\s+status:\s+${FILE_UPLOAD_STATUS} + ^HTTP\s+server\s+upload\s+path: + ^HTTP\s+server\s+help\s+root: + ^Maximum\s+number\s+of\s+concurrent\s+server\s+connections\s+allowed:\s+${CONCURRENT_CONNECTIONS_ALLOWED} + ^Maximum\s+number\s+of\s+secondary\s+server\s+connections\s+allowed:\s+${SECONDARY_CONNECTIONS_ALLOWED} + ^Server\s+idle\s+time-out:\s+${SERVER_IDLE_TIMEOUT} + ^Server\s+life\s+time-out:\s+${SERVER_LIFE_TIMEOUT} + ^Server\s+session\s+idle\s+time-out:\s+${SERVER_SESSION_TIMEOUT} + ^Maximum\s+number\s+of\s+requests\s+allowed\s+on\s+a\s+connection:\s+${MAX_REQUESTS_PER_CONNECTION} + ^Server\s+linger\s+time\s+:\s+${SERVER_LINGER_TIME} + ^HTTP\s+server\s+active\s+session\s+modules:\s+${ACTIVE_SESSION_MODULES} + ^HTTP\s+secure\s+server\s+capability:\s+${SECURE_SERVER_CAPABILITY} + ^HTTP\s+secure\s+server\s+status:\s+${SECURE_SERVER_STATUS} + ^HTTP\s+secure\s+server\s+port:\s+${SECURE_SERVER_PORT} + ^HTTP\s+secure\s+server\s+ciphersuite:\s+${SECURE_CIPHERSUITE}\s*$$ + ^HTTP\s+secure\s+server\s+ciphersuite:\s+${SECURE_CIPHERSUITE} -> Continue + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+)${SECURE_CIPHERSUITE}\s*$$ + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+)${SECURE_CIPHERSUITE} -> Continue + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+){2}${SECURE_CIPHERSUITE}\s*$$ + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+){2}${SECURE_CIPHERSUITE} -> Continue + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+){3}${SECURE_CIPHERSUITE}\s*$$ + ^HTTP\s+secure\s+server\s+ciphersuite:\s+(?:\S+\s+){3}${SECURE_CIPHERSUITE} -> Continue + ^\s+${SECURE_CIPHERSUITE}\s*$$ + ^\s+${SECURE_CIPHERSUITE} -> Continue + ^\s+(?:\S+\s+)${SECURE_CIPHERSUITE}\s*$$ + ^\s+(?:\S+\s+)${SECURE_CIPHERSUITE} -> Continue + ^\s+(?:\S+\s+){2}${SECURE_CIPHERSUITE}\s*$$ + ^\s+(?:\S+\s+){2}${SECURE_CIPHERSUITE} -> Continue + ^\s+(?:\S+\s+){3}${SECURE_CIPHERSUITE}\s*$$ + ^\s+(?:\S+\s+){3}${SECURE_CIPHERSUITE} -> Continue + ^\s+(?:\S+\s+){4}${SECURE_CIPHERSUITE}\s*$$ + ^\s+(?:\S+\s+){4}${SECURE_CIPHERSUITE} -> Continue + ^\s+(?:\S+\s+){5}${SECURE_CIPHERSUITE}\s*$$ + ^\s+(?:\S+\s+){5}${SECURE_CIPHERSUITE} -> Continue + ^HTTP\s+secure\s+server\s+TLS\s+version:\s+${TLS_VERSIONS} -> Continue + ^HTTP\s+secure\s+server\s+TLS\s+version:\s+(?:\S+\s+)${TLS_VERSIONS} + ^HTTP\s+secure\s+server\s+client\s+authentication:\s+${SECURE_CLIENT_AUTH} + ^HTTP\s+secure\s+server\s+PIV\s+authentication:\s+${SECURE_PIV_AUTHN} + ^HTTP\s+secure\s+server\s+PIV\s+authorization\s+only:\s+${SECURE_PIV_AUTHZ} + ^HTTP\s+secure\s+server\s+trustpoint: + ^HTTP\s+secure\s+server\s+peer\s+validation\s+trustpoint: + ^HTTP\s+secure\s+server\s+ECDHE\s+curve:\s+${SECURE_ECDHE_CURVE} + ^HTTP\s+secure\s+server\s+active\s+session\s+modules:\s+${SECURE_ACTIVE_SESSION_MODULES} + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ae59b847c9..6c8ff9e0b9 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -218,6 +218,7 @@ cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]](?: (?:\S+))? sw[[itchport]] +cisco_ios_show_ip_http_server_status.textfsm, .*, cisco_ios, sh[[ow]] ip http ser[[ver]] statu[[s]] cisco_ios_show_lldp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_etherchannel_summary.textfsm, .*, cisco_ios, sh[[ow]] etherchann[[el]] summ[[ary]] diff --git a/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.raw b/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.raw new file mode 100644 index 0000000000..582e904a73 --- /dev/null +++ b/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.raw @@ -0,0 +1,35 @@ +HTTP server status: Enabled +HTTP server port: 80 +HTTP server active supplementary listener ports: 21111 +HTTP server authentication method: local +HTTP server auth-retry 0 time-window 0 +HTTP server digest algorithm: md5 +HTTP server access class: 0 +HTTP server IPv4 access class: None +HTTP server IPv6 access class: None +HTTP server base path: +HTTP File Upload status: Disabled +HTTP server upload path: +HTTP server help root: +Maximum number of concurrent server connections allowed: 300 +Maximum number of secondary server connections allowed: 50 +Server idle time-out: 180 seconds +Server life time-out: 180 seconds +Server session idle time-out: 600 seconds +Maximum number of requests allowed on a connection: 25 +Server linger time : 60 seconds +HTTP server active session modules: ALL +HTTP secure server capability: Present +HTTP secure server status: Enabled +HTTP secure server port: 443 +HTTP secure server ciphersuite: rsa-aes-cbc-sha2 rsa-aes-gcm-sha2 + dhe-aes-cbc-sha2 dhe-aes-gcm-sha2 ecdhe-rsa-aes-cbc-sha2 + ecdhe-rsa-aes-gcm-sha2 ecdhe-ecdsa-aes-gcm-sha2 +HTTP secure server TLS version: TLSv1.2 TLSv1.1 +HTTP secure server client authentication: Disabled +HTTP secure server PIV authentication: Disabled +HTTP secure server PIV authorization only: Disabled +HTTP secure server trustpoint: TP-self-signed-4212509801 +HTTP secure server peer validation trustpoint: +HTTP secure server ECDHE curve: secp256r1 +HTTP secure server active session modules: ALL diff --git a/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.yml b/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.yml new file mode 100644 index 0000000000..3c9a8c5a03 --- /dev/null +++ b/tests/cisco_ios/show_ip_http_server_status/cisco_ios_show_ip_http_server_status.yml @@ -0,0 +1,39 @@ +--- +parsed_sample: + - server_status: "Enabled" + server_port: "80" + auth_method: "local" + auth_retry: "0" + time_window: "0" + server_digest: "md5" + access_class: "0" + ipv4_access_class: "None" + ipv6_access_class: "None" + file_upload_status: "Disabled" + concurrent_connections_allowed: "300" + secondary_connections_allowed: "50" + server_idle_timeout: "180 seconds" + server_life_timeout: "180 seconds" + server_session_timeout: "600 seconds" + max_requests_per_connection: "25" + server_linger_time: "60 seconds" + active_session_modules: "ALL" + secure_server_capability: "Present" + secure_server_status: "Enabled" + secure_server_port: "443" + secure_ciphersuite: + - "rsa-aes-cbc-sha2" + - "rsa-aes-gcm-sha2" + - "dhe-aes-cbc-sha2" + - "dhe-aes-gcm-sha2" + - "ecdhe-rsa-aes-cbc-sha2" + - "ecdhe-rsa-aes-gcm-sha2" + - "ecdhe-ecdsa-aes-gcm-sha2" + tls_versions: + - "TLSv1.2" + - "TLSv1.1" + secure_client_auth: "Disabled" + secure_piv_authn: "Disabled" + secure_piv_authz: "Disabled" + secure_ecdhe_curve: "secp256r1" + secure_active_session_modules: "ALL" From 491965a7cb1ded0e675cdd821bb8bd5df9361ac1 Mon Sep 17 00:00:00 2001 From: Justin Oeder Date: Fri, 15 Apr 2022 15:47:39 -0400 Subject: [PATCH 364/412] Added FPM to the Start and XCVR States --- ...uniper_junos_show_chassis_hardware.textfsm | 4 ++-- .../juniper_junos_show_chassis_hardware4.raw | 23 +++++++++++++++++++ .../juniper_junos_show_chassis_hardware4.yml | 9 ++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.raw create mode 100644 tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.yml diff --git a/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm index dcd775e537..ad7f92964d 100644 --- a/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm +++ b/ntc_templates/templates/juniper_junos_show_chassis_hardware.textfsm @@ -9,7 +9,7 @@ Value DESCRIPTION (\S+) Start ^Hardware.* ^Item\s+Version\s+Part\s+number\s+Serial\s+number\s+Description\s*$$ - ^\s*(Chassis|Midplane|Pseudo|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* + ^\s*(Chassis|Midplane|Pseudo|FPM|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* ^.*FPC\s+${FPC}.*$$ -> FPC ^{master ^\s*$$ @@ -28,7 +28,7 @@ XCVR ^\s*FPC\s+${FPC} -> FPC ^\s*MIC\s+${MIC} -> FPC ^\s*PIC\s+${PIC} - ^\s*(Chassis|Midplane|Pseudo|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* -> Start + ^\s*(Chassis|Midplane|Pseudo|FPM|Routing\s+Engine|Mi\S+|CB|AFEB|Routing|PEM|TFEB|CPU|QXM|Power\s+Supply|Fan\s+Tray).* -> Start ^\s*$$ ^. -> Error diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.raw b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.raw new file mode 100644 index 0000000000..f420cb3516 --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.raw @@ -0,0 +1,23 @@ +Hardware inventory: +Item Version Part number Serial number Description +Chassis JN1111111 MX480 +Midplane REV 40 750-047862 A111111 Enhanced MX480 Midplane +FPM Board REV 04 760-059208 1111111 Front Panel Display +PEM 0 Rev 01 740-063046 Q111111111 PS 1.4-2.52kW; 90-264V AC in +PEM 1 Rev 01 740-063046 QC11111111 PS 1.4-2.52kW; 90-264V AC in +PEM 2 Rev 01 740-063046 QC11111111 PS 1.4-2.52kW; 90-264V AC in +PEM 3 Rev 01 740-063046 QC11111111 PS 1.4-2.52kW; 90-264V AC in +Routing Engine 0 REV 03 740-051822 911111111 RE-S-1800x4 +Routing Engine 1 REV 03 740-051822 901111111 RE-S-1800x4 +CB 0 REV 07 750-062572 C1111111 Enhanced MX SCB 2 +CB 1 REV 08 750-055976 C1111111 Enhanced MX SCB 2 +FPC 0 REV 24 750-054902 C1111111 MPC3E NG PQ & Flex Q + CPU REV 13 711-045719 C1111111 RMPC PMB + MIC 0 REV 35 750-028392 C111111 3D 20x 1GE(LAN) SFP + PIC 0 BUILTIN BUILTIN 10x 1GE(LAN) SFP + Xcvr 0 REV 02 740-013111 1111111 SFP-T +PEM 0 REV 04 740-000000 XXXXX000003 AC AFO 650W PSU +PEM 1 REV 04 740-000000 XXXXX000004 AC AFO 650W PSU +Fan Tray 0 Fan Tray, Front to Back Airflow - AFO +Fan Tray 1 Fan Tray, Front to Back Airflow - AFO +Fan Tray 2 Fan Tray, Front to Back Airflow - AFO diff --git a/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.yml b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.yml new file mode 100644 index 0000000000..4845c6d79e --- /dev/null +++ b/tests/juniper_junos/show_chassis_hardware/juniper_junos_show_chassis_hardware4.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - fpc: "0" + mic: "0" + pic: "0" + xcvr: "0" + part: "740-013111" + serial: "1111111" + description: "SFP-T" From 67cf50fbf9e95eb53fd2580b4a324d872cffe6aa Mon Sep 17 00:00:00 2001 From: Michael Lorincz Date: Sat, 14 Jan 2023 08:21:09 -0800 Subject: [PATCH 365/412] Added RUNTS, GIANTS, FRAME, and OVERRUN (#1284) --- .../cisco_ios_show_interfaces.textfsm | 9 +- .../cisco_ios_show_interfaces.yml | 32 +++ .../cisco_ios_show_interfaces2.yml | 224 ++++++++++++++++++ .../cisco_ios_show_interfaces3.yml | 56 +++++ .../cisco_ios_show_interfaces4.yml | 64 +++++ .../cisco_ios_show_interfaces5.yml | 8 + 6 files changed, 391 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm index 1282df7c0a..efdeab8ba5 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm @@ -23,8 +23,12 @@ Value INPUT_PPS (\d+) Value OUTPUT_PPS (\d+) Value INPUT_PACKETS (\d+) Value OUTPUT_PACKETS (\d+) +Value RUNTS (\d+) +Value GIANTS (\d+) Value INPUT_ERRORS (\d+) Value CRC (\d+) +Value FRAME (\d+) +Value OVERRUN (\d+) Value ABORT (\d+) Value OUTPUT_ERRORS (\d+) Value VLAN_ID (\d+) @@ -48,8 +52,9 @@ Start ^.*input\s+rate\s+${INPUT_RATE}\s+\w+/sec,\s+${INPUT_PPS}\s+packets.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}\s+\w+/sec,\s+${OUTPUT_PPS}\s+packets.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ - ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ - ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+${ABORT}\s+abort\s*$$ + ^\s+${RUNTS}\s+runts,\s+${GIANTS}\s+giants,\s+\d+\s+throttles\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+${FRAME}\s+frame,\s+${OVERRUN}\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+${FRAME}\s+frame,\s+${OVERRUN}\s+overrun,\s+\d+\s+ignored,\s+${ABORT}\s+abort\s*$$ ^\s+${OUTPUT_PACKETS}\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns\s*$$ ^\s+${OUTPUT_ERRORS}\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 902ac12a94..a61b5de707 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -25,8 +25,12 @@ parsed_sample: output_pps: "0" input_packets: "324" output_packets: "703" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -57,8 +61,12 @@ parsed_sample: output_pps: "0" input_packets: "83" output_packets: "15513" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -89,8 +97,12 @@ parsed_sample: output_pps: "2" input_packets: "8677" output_packets: "420798" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -121,8 +133,12 @@ parsed_sample: output_pps: "2" input_packets: "8638" output_packets: "420819" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -153,8 +169,12 @@ parsed_sample: output_pps: "2" input_packets: "8627" output_packets: "420790" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -185,8 +205,12 @@ parsed_sample: output_pps: "0" input_packets: "85" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -217,8 +241,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" @@ -249,8 +277,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "4" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "" vlan_id: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 864475c334..f9e156b5c7 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -25,8 +25,12 @@ parsed_sample: output_pps: "0" input_packets: "37453340" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "" vlan_id: "" @@ -57,8 +61,12 @@ parsed_sample: output_pps: "0" input_packets: "3772" output_packets: "3804" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "" vlan_id: "" @@ -89,8 +97,12 @@ parsed_sample: output_pps: "2" input_packets: "6313297" output_packets: "10453439" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "" vlan_id: "" @@ -121,8 +133,12 @@ parsed_sample: output_pps: "0" input_packets: "7881502" output_packets: "47843" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "" vlan_id: "" @@ -153,8 +169,12 @@ parsed_sample: output_pps: "10094" input_packets: "8647579827" output_packets: "86941746207" + runts: "0" + giants: "0" input_errors: "1" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -185,8 +205,12 @@ parsed_sample: output_pps: "334" input_packets: "86697408651" output_packets: "8485702870" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -217,8 +241,12 @@ parsed_sample: output_pps: "1" input_packets: "233361378" output_packets: "246128007" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -249,8 +277,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -281,8 +313,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -313,8 +349,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -345,8 +385,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -377,8 +421,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -409,8 +457,12 @@ parsed_sample: output_pps: "327" input_packets: "86293954347" output_packets: "8120676183" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -441,8 +493,12 @@ parsed_sample: output_pps: "0" input_packets: "85011546" output_packets: "118427887" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -473,8 +529,12 @@ parsed_sample: output_pps: "0" input_packets: "13503663" output_packets: "96706284" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -505,8 +565,12 @@ parsed_sample: output_pps: "0" input_packets: "566684" output_packets: "10387099" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -537,8 +601,12 @@ parsed_sample: output_pps: "0" input_packets: "5093298" output_packets: "35059143" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -569,8 +637,12 @@ parsed_sample: output_pps: "0" input_packets: "4381776" output_packets: "33579140" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -601,8 +673,12 @@ parsed_sample: output_pps: "0" input_packets: "6095906" output_packets: "31933579" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -633,8 +709,12 @@ parsed_sample: output_pps: "0" input_packets: "3048741" output_packets: "23191458" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -665,8 +745,12 @@ parsed_sample: output_pps: "0" input_packets: "515815" output_packets: "3364092" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -697,8 +781,12 @@ parsed_sample: output_pps: "0" input_packets: "56335" output_packets: "2263838" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -729,8 +817,12 @@ parsed_sample: output_pps: "0" input_packets: "2154038" output_packets: "15816478" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -761,8 +853,12 @@ parsed_sample: output_pps: "0" input_packets: "2238092" output_packets: "15877977" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -793,8 +889,12 @@ parsed_sample: output_pps: "0" input_packets: "4942593" output_packets: "43723513" + runts: "0" + giants: "0" input_errors: "1" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -825,8 +925,12 @@ parsed_sample: output_pps: "0" input_packets: "6201152" output_packets: "43660027" + runts: "0" + giants: "0" input_errors: "1" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -857,8 +961,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "56" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -889,8 +997,12 @@ parsed_sample: output_pps: "0" input_packets: "2397801" output_packets: "45635335" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -921,8 +1033,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -953,8 +1069,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -985,8 +1105,12 @@ parsed_sample: output_pps: "0" input_packets: "288816" output_packets: "55357995" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1017,8 +1141,12 @@ parsed_sample: output_pps: "0" input_packets: "295313" output_packets: "55364859" + runts: "0" + giants: "0" input_errors: "2" crc: "1" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1049,8 +1177,12 @@ parsed_sample: output_pps: "2" input_packets: "39214781" output_packets: "90202230" + runts: "0" + giants: "39" input_errors: "28898" crc: "14167" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1081,8 +1213,12 @@ parsed_sample: output_pps: "0" input_packets: "4811284" output_packets: "55162378" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1113,8 +1249,12 @@ parsed_sample: output_pps: "0" input_packets: "2255624" output_packets: "15969856" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1145,8 +1285,12 @@ parsed_sample: output_pps: "0" input_packets: "5743877" output_packets: "20133314" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1177,8 +1321,12 @@ parsed_sample: output_pps: "0" input_packets: "11086568" output_packets: "46398900" + runts: "0" + giants: "0" input_errors: "1" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1209,8 +1357,12 @@ parsed_sample: output_pps: "0" input_packets: "1071483" output_packets: "11192764" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1241,8 +1393,12 @@ parsed_sample: output_pps: "3" input_packets: "252774135" output_packets: "136849790" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1273,8 +1429,12 @@ parsed_sample: output_pps: "0" input_packets: "30561744" output_packets: "25816556" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1305,8 +1465,12 @@ parsed_sample: output_pps: "0" input_packets: "23" output_packets: "110" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1337,8 +1501,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1369,8 +1537,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1401,8 +1573,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1433,8 +1609,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1465,8 +1645,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1497,8 +1681,12 @@ parsed_sample: output_pps: "0" input_packets: "33944" output_packets: "52215" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1529,8 +1717,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1561,8 +1753,12 @@ parsed_sample: output_pps: "0" input_packets: "1103" output_packets: "10099477" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1593,8 +1789,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1625,8 +1825,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1657,8 +1861,12 @@ parsed_sample: output_pps: "10093" input_packets: "8407299374" output_packets: "86731716396" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1689,8 +1897,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1721,8 +1933,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1753,8 +1969,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -1785,8 +2005,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index 78e1073218..e36855698b 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -25,8 +25,12 @@ parsed_sample: output_pps: "54" input_packets: "338297234" output_packets: "336857668" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "1" @@ -57,8 +61,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "6" @@ -89,8 +97,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "44" @@ -121,8 +133,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "188" @@ -153,8 +169,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "888" @@ -185,8 +205,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -217,8 +241,12 @@ parsed_sample: output_pps: "67" input_packets: "" output_packets: "350115018" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "1" @@ -249,8 +277,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "50" @@ -281,8 +313,12 @@ parsed_sample: output_pps: "0" input_packets: "" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -313,8 +349,12 @@ parsed_sample: output_pps: "0" input_packets: "2292" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" @@ -345,8 +385,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" @@ -377,8 +421,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" @@ -409,8 +457,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" @@ -441,8 +493,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "0" output_errors: "0" vlan_id: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml index be8283614c..e1b5f984f1 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml @@ -25,8 +25,12 @@ parsed_sample: output_pps: "0" input_packets: "" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -57,8 +61,12 @@ parsed_sample: output_pps: "33" input_packets: "4035758153" output_packets: "956714742" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -89,8 +97,12 @@ parsed_sample: output_pps: "10" input_packets: "237748374" output_packets: "237747059" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -121,8 +133,12 @@ parsed_sample: output_pps: "16" input_packets: "9594383489" output_packets: "814075627" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -153,8 +169,12 @@ parsed_sample: output_pps: "261" input_packets: "21777507643" output_packets: "37553221421" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -185,8 +205,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -217,8 +241,12 @@ parsed_sample: output_pps: "200" input_packets: "9295308398" output_packets: "8107505603" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -249,8 +277,12 @@ parsed_sample: output_pps: "0" input_packets: "169728331" output_packets: "242553619" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -281,8 +313,12 @@ parsed_sample: output_pps: "0" input_packets: "15804107" output_packets: "13861965" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -313,8 +349,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -345,8 +385,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -377,8 +421,12 @@ parsed_sample: output_pps: "714" input_packets: "33070723737" output_packets: "36245627794" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -409,8 +457,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -441,8 +493,12 @@ parsed_sample: output_pps: "126" input_packets: "2706943013" output_packets: "5030894569" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -473,8 +529,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" @@ -505,8 +565,12 @@ parsed_sample: output_pps: "0" input_packets: "0" output_packets: "0" + runts: "0" + giants: "0" input_errors: "0" crc: "0" + frame: "0" + overrun: "0" abort: "" output_errors: "0" vlan_id: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml index 19f783bbf9..d01a5d40df 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces5.yml @@ -25,8 +25,12 @@ parsed_sample: output_pps: "172826" input_packets: "301005604249" output_packets: "300823114354" + runts: "0" + giants: "158509" input_errors: "179928" crc: "21419" + frame: "87" + overrun: "0" abort: "" output_errors: "0" vlan_id: "1" @@ -57,8 +61,12 @@ parsed_sample: output_pps: "" input_packets: "" output_packets: "" + runts: "" + giants: "" input_errors: "" crc: "" + frame: "" + overrun: "" abort: "" output_errors: "" vlan_id: "" From 5670683af7f113645591dae8b0d90c31c9af0f66 Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:26:55 +0100 Subject: [PATCH 366/412] Ubiquiti: Add show ipv6 route template (#1274) --- ntc_templates/templates/index | 1 + ...biquiti_edgerouter_show_ipv6_route.textfsm | 17 +++++++ .../ubiquiti_edgerouter_show_ipv6_route.raw | 15 ++++++ .../ubiquiti_edgerouter_show_ipv6_route.yml | 50 +++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw create mode 100644 tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6c8ff9e0b9..f5bc11f248 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -571,6 +571,7 @@ ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edge ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcpv6 server leases ubiquiti_edgerouter_show_ipv6_neighbors.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ipv6 neighbors ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases +ubiquiti_edgerouter_show_ipv6_route.textfsm, .*, ubiquiti_edgerouter, show ipv6 route ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] ubiquiti_edgerouter_show_arp.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] arp diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm new file mode 100644 index 0000000000..bef85b0b21 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm @@ -0,0 +1,17 @@ +Value CODE (\w{1,2}) +Value IP ([A-Za-z0-9:]+) +Value PREFIX_LENGTH (\d{1,3}) +Value DISTANCE (\d+) +Value METRIC (\d+) +Value NEXTHOP_IP ([A-F0-9:]+) +Value INTERFACE (\w+) +Value UPTIME (\d[\w:\.]+) + +Start + ^.*IP\sRoute\sTable -> IP + +IP + ^${CODE}\s+${IP}/${PREFIX_LENGTH}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP},\s${INTERFACE},\s${UPTIME}\s* -> Record + ^${CODE}\s+${IP}/${PREFIX_LENGTH}\svia\s${NEXTHOP_IP},\s${INTERFACE},\s${UPTIME}\s* -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw new file mode 100644 index 0000000000..f2cf2596ce --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw @@ -0,0 +1,15 @@ +IPv6 Routing Table +Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, + IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type 2, B - BGP +Timers: Uptime + +IP Route Table for VRF "default" +S ::/0 [50/0] via ::, pppoe4, 01w0d05h +C ::1/128 via ::, lo, 01w0d05h +C 2a05:b780:0:1d::/64 via ::, pppoe4, 01w0d05h +C 2a05:c100:1d::/64 via ::, eth1, 01:11:26 +C fe80::/10 via ::, pppoe4, 01w0d05h +C fe80::/64 via ::, eth1, 01:11:25 + diff --git a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml new file mode 100644 index 0000000000..04e072285f --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - code: "S" + ip: "::" + prefix_length: "0" + distance: "50" + metric: "0" + nexthop_ip: "::" + interface: "pppoe4" + uptime: "01w0d05h" + - code: "C" + ip: "::1" + prefix_length: "128" + distance: "" + metric: "" + nexthop_ip: "::" + interface: "lo" + uptime: "01w0d05h" + - code: "C" + ip: "2a05:b780:0:1d::" + prefix_length: "64" + distance: "" + metric: "" + nexthop_ip: "::" + interface: "pppoe4" + uptime: "01w0d05h" + - code: "C" + ip: "2a05:c100:1d::" + prefix_length: "64" + distance: "" + metric: "" + nexthop_ip: "::" + interface: "eth1" + uptime: "01:11:26" + - code: "C" + ip: "fe80::" + prefix_length: "10" + distance: "" + metric: "" + nexthop_ip: "::" + interface: "pppoe4" + uptime: "01w0d05h" + - code: "C" + ip: "fe80::" + prefix_length: "64" + distance: "" + metric: "" + nexthop_ip: "::" + interface: "eth1" + uptime: "01:11:25" From 557b31ca953784c316924b5e76eec76796ae2a64 Mon Sep 17 00:00:00 2001 From: "Keith E. Truesdell" <2074768+KeithETruesdell@users.noreply.github.com> Date: Wed, 18 Jan 2023 13:40:51 -0500 Subject: [PATCH 367/412] Add template for cisco ios ping (#1282) --- .gitignore | 1 + .../templates/cisco_ios_ping.textfsm | 23 +++++++++++++++++++ ntc_templates/templates/index | 1 + tests/cisco_ios/ping/cisco_ios_ping.raw | 4 ++++ tests/cisco_ios/ping/cisco_ios_ping.yml | 14 +++++++++++ tests/cisco_ios/ping/cisco_ios_ping_200.raw | 6 +++++ tests/cisco_ios/ping/cisco_ios_ping_200.yml | 16 +++++++++++++ tests/cisco_ios/ping/cisco_ios_ping_df.raw | 5 ++++ tests/cisco_ios/ping/cisco_ios_ping_df.yml | 14 +++++++++++ .../cisco_ios/ping/cisco_ios_ping_df_fail.raw | 5 ++++ .../cisco_ios/ping/cisco_ios_ping_df_fail.yml | 14 +++++++++++ tests/cisco_ios/ping/cisco_ios_ping_fail.raw | 4 ++++ tests/cisco_ios/ping/cisco_ios_ping_fail.yml | 14 +++++++++++ .../cisco_ios/ping/cisco_ios_ping_source.raw | 5 ++++ .../cisco_ios/ping/cisco_ios_ping_source.yml | 14 +++++++++++ .../ping/cisco_ios_ping_source_df.raw | 6 +++++ .../ping/cisco_ios_ping_source_df.yml | 14 +++++++++++ .../ping/cisco_ios_ping_source_df_fail.raw | 6 +++++ .../ping/cisco_ios_ping_source_df_fail.yml | 14 +++++++++++ .../ping/cisco_ios_ping_source_fail.raw | 5 ++++ .../ping/cisco_ios_ping_source_fail.yml | 14 +++++++++++ 21 files changed, 199 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_ping.textfsm create mode 100644 tests/cisco_ios/ping/cisco_ios_ping.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_200.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_200.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_df.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_df.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_df_fail.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_df_fail.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_fail.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_fail.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_df.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_df.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.yml create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_fail.raw create mode 100644 tests/cisco_ios/ping/cisco_ios_ping_source_fail.yml diff --git a/.gitignore b/.gitignore index cbb9133b68..1b1e55d7e5 100644 --- a/.gitignore +++ b/.gitignore @@ -290,6 +290,7 @@ fabric.properties # CodeStream plugin # https://plugins.jetbrains.com/plugin/12206-codestream .idea/codestream.xml +.idea/ ### vscode ### .vscode/* diff --git a/ntc_templates/templates/cisco_ios_ping.textfsm b/ntc_templates/templates/cisco_ios_ping.textfsm new file mode 100644 index 0000000000..815546879c --- /dev/null +++ b/ntc_templates/templates/cisco_ios_ping.textfsm @@ -0,0 +1,23 @@ +Value Required SENT_QTY (\d+) +Value Required SENT_TYPE (.*) +Value Required DESTINATION (\S+) +Value Required TIMEOUT (\d+) +Value SOURCE (\S+) +Value List RESPONSE_STREAM ([\.\!]+) +Value Required SUCCESS_PCT (\d+) +Value Required SUCCESS_QTY (\d+) +Value RTT_MIN (\d+) +Value RTT_AVG (\d+) +Value RTT_MAX (\d+) + + +Start + ^Type\s+escape\s+sequence\s+to\s+abort. + ^Sending\s+${SENT_QTY},\s+${SENT_TYPE}\s+to\s+${DESTINATION},\s+timeout\s+is\s+${TIMEOUT}\s+seconds: + ^Packet\s+sent\s+with\s+a\s+source\s+address\s+of\s+${SOURCE} + ^Packet\s+sent\s+with\s+the\s+DF\s+bit\s+set + ^${RESPONSE_STREAM} + ^Success\s+rate\s+is\s+${SUCCESS_PCT}\s+percent\s+\(${SUCCESS_QTY}\/\d+\)(?:,\s+round-trip\s+min/avg/max\s+\=\s+)?(?:${RTT_MIN}/${RTT_AVG}/${RTT_MAX})?(?:\sms)? + ^\s*$$ + # Error out if raw data does not match any above rules. + ^.* -> Error "Could not parse line:" diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index f5bc11f248..4fe90116df 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -293,6 +293,7 @@ cisco_ios_traceroute.textfsm, .*, cisco_ios, tr[[aceroute]] cisco_ios_show_boot.textfsm, .*, cisco_ios, sh[[ow]] boot cisco_ios_show_vlan.textfsm, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.textfsm, .*, cisco_ios, sh[[ow]] vrf +cisco_ios_ping.textfsm, .*, cisco_ios, ping cisco_ios_dir.textfsm, .*, cisco_ios, dir cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]] diff --git a/tests/cisco_ios/ping/cisco_ios_ping.raw b/tests/cisco_ios/ping/cisco_ios_ping.raw new file mode 100644 index 0000000000..75eba41c9b --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +!!!!! +Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping.yml b/tests/cisco_ios/ping/cisco_ios_ping.yml new file mode 100644 index 0000000000..a1ee5d8e29 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "" + response_stream: + - "!!!!!" + success_pct: "100" + success_qty: "5" + rtt_min: "1" + rtt_avg: "2" + rtt_max: "10" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_200.raw b/tests/cisco_ios/ping/cisco_ios_ping_200.raw new file mode 100644 index 0000000000..ff81b8589a --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_200.raw @@ -0,0 +1,6 @@ +Type escape sequence to abort. +Sending 200, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +Success rate is 100 percent (200/200), round-trip min/avg/max = 1/7/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_200.yml b/tests/cisco_ios/ping/cisco_ios_ping_200.yml new file mode 100644 index 0000000000..8e6bdb8684 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_200.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - sent_qty: "200" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "" + response_stream: + - "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + - "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + - "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + success_pct: "100" + success_qty: "200" + rtt_min: "1" + rtt_avg: "7" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_df.raw b/tests/cisco_ios/ping/cisco_ios_ping_df.raw new file mode 100644 index 0000000000..ab32b3472a --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_df.raw @@ -0,0 +1,5 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with the DF bit set +!!!! +Success rate is 100 percent (4/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_df.yml b/tests/cisco_ios/ping/cisco_ios_ping_df.yml new file mode 100644 index 0000000000..698a686af3 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_df.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "" + response_stream: + - "!!!!" + success_pct: "100" + success_qty: "4" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_df_fail.raw b/tests/cisco_ios/ping/cisco_ios_ping_df_fail.raw new file mode 100644 index 0000000000..eac6f2517f --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_df_fail.raw @@ -0,0 +1,5 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with the DF bit set +.... +Success rate is 0 percent (0/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_df_fail.yml b/tests/cisco_ios/ping/cisco_ios_ping_df_fail.yml new file mode 100644 index 0000000000..976d224b77 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_df_fail.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "" + response_stream: + - "...." + success_pct: "0" + success_qty: "0" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_fail.raw b/tests/cisco_ios/ping/cisco_ios_ping_fail.raw new file mode 100644 index 0000000000..86719caa83 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_fail.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +..... +Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/10 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_fail.yml b/tests/cisco_ios/ping/cisco_ios_ping_fail.yml new file mode 100644 index 0000000000..0570e179af --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_fail.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "" + response_stream: + - "....." + success_pct: "0" + success_qty: "0" + rtt_min: "1" + rtt_avg: "2" + rtt_max: "10" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source.raw b/tests/cisco_ios/ping/cisco_ios_ping_source.raw new file mode 100644 index 0000000000..dfe9634538 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source.raw @@ -0,0 +1,5 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with a source address of 192.168.0.10 +!!!! +Success rate is 100 percent (4/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source.yml b/tests/cisco_ios/ping/cisco_ios_ping_source.yml new file mode 100644 index 0000000000..2e0d2d7aa5 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "192.168.0.10" + response_stream: + - "!!!!" + success_pct: "100" + success_qty: "4" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_df.raw b/tests/cisco_ios/ping/cisco_ios_ping_source_df.raw new file mode 100644 index 0000000000..357c64226c --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_df.raw @@ -0,0 +1,6 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with a source address of 192.168.0.10 +Packet sent with the DF bit set +!!!! +Success rate is 100 percent (4/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_df.yml b/tests/cisco_ios/ping/cisco_ios_ping_source_df.yml new file mode 100644 index 0000000000..2e0d2d7aa5 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_df.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "192.168.0.10" + response_stream: + - "!!!!" + success_pct: "100" + success_qty: "4" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.raw b/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.raw new file mode 100644 index 0000000000..5427546394 --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.raw @@ -0,0 +1,6 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with a source address of 192.168.0.10 +Packet sent with the DF bit set +.... +Success rate is 0 percent (0/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.yml b/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.yml new file mode 100644 index 0000000000..ee6838b45b --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_df_fail.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "192.168.0.10" + response_stream: + - "...." + success_pct: "0" + success_qty: "0" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_fail.raw b/tests/cisco_ios/ping/cisco_ios_ping_source_fail.raw new file mode 100644 index 0000000000..935ca8dcac --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_fail.raw @@ -0,0 +1,5 @@ +Type escape sequence to abort. +Sending 4, 1500-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: +Packet sent with a source address of 192.168.0.10 +.... +Success rate is 0 percent (0/4), round-trip min/avg/max = 1/8/17 ms \ No newline at end of file diff --git a/tests/cisco_ios/ping/cisco_ios_ping_source_fail.yml b/tests/cisco_ios/ping/cisco_ios_ping_source_fail.yml new file mode 100644 index 0000000000..ee6838b45b --- /dev/null +++ b/tests/cisco_ios/ping/cisco_ios_ping_source_fail.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - sent_qty: "4" + sent_type: "1500-byte ICMP Echos" + destination: "192.168.0.1" + timeout: "2" + source: "192.168.0.10" + response_stream: + - "...." + success_pct: "0" + success_qty: "0" + rtt_min: "1" + rtt_avg: "8" + rtt_max: "17" From d967f996c85340b3b699abf437cee3338f137d47 Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Fri, 20 Jan 2023 15:35:21 +0100 Subject: [PATCH 368/412] Ubiquiti - add show ip route template (#1275) --- ntc_templates/templates/index | 1 + .../ubiquiti_edgerouter_show_ip_route.textfsm | 17 +++++++ .../ubiquiti_edgerouter_show_ip_route.raw | 14 +++++ .../ubiquiti_edgerouter_show_ip_route.yml | 51 +++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw create mode 100644 tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 4fe90116df..26daa7c8b3 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -573,6 +573,7 @@ ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm, .*, ubiquiti_edgerouter, ubiquiti_edgerouter_show_ipv6_neighbors.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ipv6 neighbors ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases ubiquiti_edgerouter_show_ipv6_route.textfsm, .*, ubiquiti_edgerouter, show ipv6 route +ubiquiti_edgerouter_show_ip_route.textfsm, .*, ubiquiti_edgerouter, show ip route ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] ubiquiti_edgerouter_show_arp.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] arp diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm new file mode 100644 index 0000000000..e69031d7bf --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm @@ -0,0 +1,17 @@ +Value CODE (\w{1,2}) +Value IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value CIDR (\d{1,2}) +Value DISTANCE (\d+) +Value METRIC (\d+) +Value NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value INTERFACE (\w+) + +Start + ^.*IP\sRoute\sTable -> IP + +IP + ^${CODE}\s+\*>\s${IP}/${CIDR}\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record + ^${CODE}\s+\*>\s${IP}/${CIDR}\sis\sdirectly\sconnected\s* -> Record + ^${CODE}\s+\*>\s${IP}/${CIDR}\s\[${DISTANCE}/${METRIC}\]\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record + ^${CODE}\s+\*>\s${IP}/${CIDR}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}\s\(recursive is directly connected,\s${INTERFACE}\)\s* -> Record + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw new file mode 100644 index 0000000000..8c1d9b77ab --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw @@ -0,0 +1,14 @@ +Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP + O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2 + > - selected route, * - FIB route, p - stale info + +IP Route Table for VRF "default" +S *> 0.0.0.0/0 [50/0] is directly connected, pppoe4 +S *> 22.22.23.0/24 [1/0] via 198.168.0.1 (recursive is directly connected, pppoe4) ) +S *> 23.23.23.0/24 [1/0] via 198.168.0.1 (recursive is directly connected, pppoe4) ) +C *> 23.90.232.243/32 is directly connected, pppoe4 +S *> 25.22.23.0/24 [35/0] via 198.168.0.1 (recursive is directly connected, pppoe4) ) +C *> 100.95.11.96/32 is directly connected, pppoe4 +C *> 127.0.0.0/8 is directly connected, lo \ No newline at end of file diff --git a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml new file mode 100644 index 0000000000..d878878b67 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml @@ -0,0 +1,51 @@ +--- +parsed_sample: + - code: "S" + ip: "0.0.0.0" + cidr: "0" + distance: "50" + metric: "0" + nexthop_ip: "" + interface: "pppoe4" + - code: "S" + ip: "22.22.23.0" + cidr: "24" + distance: "1" + metric: "0" + nexthop_ip: "198.168.0.1" + interface: "pppoe4" + - code: "S" + ip: "23.23.23.0" + cidr: "24" + distance: "1" + metric: "0" + nexthop_ip: "198.168.0.1" + interface: "pppoe4" + - code: "C" + ip: "23.90.232.243" + cidr: "32" + distance: "" + metric: "" + nexthop_ip: "" + interface: "pppoe4" + - code: "S" + ip: "25.22.23.0" + cidr: "24" + distance: "35" + metric: "0" + nexthop_ip: "198.168.0.1" + interface: "pppoe4" + - code: "C" + ip: "100.95.11.96" + cidr: "32" + distance: "" + metric: "" + nexthop_ip: "" + interface: "pppoe4" + - code: "C" + ip: "127.0.0.0" + cidr: "8" + distance: "" + metric: "" + nexthop_ip: "" + interface: "lo" From e32f6c388d439c321f4f337ce24c39c88c6b572d Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 20 Jan 2023 14:35:42 +0000 Subject: [PATCH 369/412] Fixed issue with timezones that have a / in them such as GMT/BST (#1285) --- .../templates/cisco_asa_show_failover.textfsm | 2 +- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 2 +- .../cisco_asa_show_failover1.raw | 71 +++++++++++++++ .../cisco_asa_show_failover1.yml | 89 +++++++++++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect4.raw | 46 ++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect4.yml | 82 +++++++++++++++++ 6 files changed, 290 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover1.raw create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover1.yml create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.yml diff --git a/ntc_templates/templates/cisco_asa_show_failover.textfsm b/ntc_templates/templates/cisco_asa_show_failover.textfsm index c71fd69a18..2d57c480dd 100644 --- a/ntc_templates/templates/cisco_asa_show_failover.textfsm +++ b/ntc_templates/templates/cisco_asa_show_failover.textfsm @@ -7,7 +7,7 @@ Value SW_VERSION (\S+) Value SW_VERSION_MATE (\S+) Value List FAILOVER_GROUP (\d+) Value List LAST_FAILOVER_TIME (\d+:\d+:\d+) -Value List LAST_FAILOVER_TIMEZONE (\w+) +Value List LAST_FAILOVER_TIMEZONE (\S+) Value List LAST_FAILOVER_MONTH (\w+) Value List LAST_FAILOVER_DAY (\d+) Value List LAST_FAILOVER_YEAR (\d+) diff --git a/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 826c7e7cf3..3bddec0415 100644 --- a/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -13,7 +13,7 @@ Value BYTES_RX (\d+) Value GROUP_POLICY (\S+) Value TUNNEL_GROUP (\S+) Value LOGIN_TIME (\d+:\d+:\d+) -Value LOGIN_TIME_ZONE (\w+) +Value LOGIN_TIME_ZONE (\S+) Value LOGIN_WEEKDAY (\w+) Value LOGIN_MONTH (\w+) Value LOGIN_DAY (\d+) diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover1.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover1.raw new file mode 100644 index 0000000000..bf1f2c893c --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover1.raw @@ -0,0 +1,71 @@ +Failover On +Failover unit Primary +Failover LAN Interface: HA-Control-Failover GigabitEthernet0/7 (up) +Reconnect timeout 0:00:00 +Unit Poll frequency 1 seconds, holdtime 15 seconds +Interface Poll frequency 5 seconds, holdtime 25 seconds +Interface Policy 1 +Monitored Interfaces 5 of 1299 maximum +MAC Address Move Notification Interval not set +Version: Ours 9.12(4)37, Mate 9.12(4)37 +Serial Number: Ours JAD123456Q7, Mate JAD123456EW +Last Failover at: 19:05:55 GMT/BST Jan 26 2022 + This host: Primary - Active + Active time: 29083269 (sec) + slot 0: ASA5585-SSP-10 hw/sw rev (2.2/9.12(4)37) status (Up Sys) + Interface Outside (10.10.100.2): Normal (Waiting) + Interface Security-Management (10.20.10.10): Normal (Monitored) + Interface DMZ_Trunk (0.0.0.0): Normal (Waiting) + Interface Inside (10.30.1.17): Normal (Not-Monitored) + slot 1: ASA5585-SSP-IPS10 hw/sw rev (2.2/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + slot 1: ASA5585-SSP-IPS10 hw/sw rev (2.2/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + Other host: Secondary - Standby Ready + Active time: 258 (sec) + slot 0: ASA5585-SSP-10 hw/sw rev (2.2/9.12(4)37) status (Up Sys) + Interface Outside (0.0.0.0): Normal (Waiting) + Interface Security-Management (10.20.10.11): Normal (Monitored) + Interface DMZ_Trunk (0.0.0.0): Normal (Waiting) + Interface Inside (0.0.0.0): Normal (Not-Monitored) + slot 1: ASA5585-SSP-IPS10 hw/sw rev (2.0/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + slot 1: ASA5585-SSP-IPS10 hw/sw rev (2.0/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + +Stateful Failover Logical Update Statistics + Link : HA-State-Sync-Data TenGigabitEthernet0/9 (up) + Stateful Obj xmit xerr rcv rerr + General 22111809051 0 4156242 70 + sys cmd 3877955 0 3877954 0 + up time 0 0 0 0 + RPC services 0 0 0 0 + TCP conn 13524250579 0 214505 0 + UDP conn 8064826558 0 55238 70 + ARP tbl 34413697 0 517 0 + Xlate_Timeout 0 0 0 0 + IPv6 ND tbl 0 0 0 0 + VPN IKEv1 SA 0 0 0 0 + VPN IKEv1 P2 0 0 0 0 + VPN IKEv2 SA 3560749 0 45 0 + VPN IKEv2 P2 121119 0 0 0 + VPN CTCP upd 0 0 0 0 + VPN SDI upd 0 0 0 0 + VPN DHCP upd 0 0 0 0 + SIP Session 273713991 0 3614 0 + SIP Tx 205219097 0 2790 0 + SIP Pinhole 1244619 0 521 0 + Route Session 580685 0 1056 0 + Router ID 1 0 1 0 + User-Identity 1 0 1 0 + CTS SGTNAME 0 0 0 0 + CTS PAC 0 0 0 0 + TrustSec-SXP 0 0 0 0 + IPv6 Route 0 0 0 0 + STS Table 0 0 0 0 + Umbrella Device-ID 0 0 0 0 + + Logical Update Queue Information + Cur Max Total + Recv Q: 0 28 33235360 + Xmit Q: 0 206 21746731593 diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover1.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover1.yml new file mode 100644 index 0000000000..e19e8a9846 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover1.yml @@ -0,0 +1,89 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "HA-Control-Failover" + lan_intf: "GigabitEthernet0/7" + lan_intf_state: "up" + sw_version: "9.12(4)37" + sw_version_mate: "9.12(4)37" + failover_group: + - "None" + last_failover_time: + - "19:05:55" + last_failover_timezone: + - "GMT/BST" + last_failover_month: + - "Jan" + last_failover_day: + - "26" + last_failover_year: + - "2022" + service_state: + - "Active" + service_state_mate: + - "Standby Ready" + ssp_slot: + - "0" + - "1" + - "1" + ssp_model: + - "ASA5585-SSP-10" + - "ASA5585-SSP-IPS10" + - "ASA5585-SSP-IPS10" + ssp_status: + - "Up" + - "Up/Up" + - "Up/Up" + ssp_slot_mate: + - "0" + - "1" + - "1" + ssp_model_mate: + - "ASA5585-SSP-10" + - "ASA5585-SSP-IPS10" + - "ASA5585-SSP-IPS10" + ssp_status_mate: + - "Up" + - "Up/Up" + - "Up/Up" + interfaces_context: + - "None" + - "None" + - "None" + - "None" + interfaces: + - "Outside" + - "Security-Management" + - "DMZ_Trunk" + - "Inside" + interfaces_status: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state: + - "Waiting" + - "Monitored" + - "Waiting" + - "Not-Monitored" + interfaces_context_mate: + - "None" + - "None" + - "None" + - "None" + interfaces_mate: + - "Outside" + - "Security-Management" + - "DMZ_Trunk" + - "Inside" + interfaces_status_mate: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state_mate: + - "Waiting" + - "Monitored" + - "Waiting" + - "Not-Monitored" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.raw new file mode 100644 index 0000000000..287eddd026 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.raw @@ -0,0 +1,46 @@ +Session Type: AnyConnect + +Username : smithj Index : 46288 +Assigned IP : 10.1.8.12 Public IP : 3.4.5.6 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES-GCM-256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384 +Bytes Tx : 70238287 Bytes Rx : 22509086 +Group Policy : GRP_VPN_PROD Tunnel Group : TUN_VPN_PROD +Login Time : 02:21:42 GMT/BST Thu Dec 29 2022 +Duration : 13h:56m:11s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0afd01120b4d000063acf9b6 +Security Grp : none + +Username : smithj1 Index : 46293 +Assigned IP : 10.1.0.14 Public IP : 3.4.5.7 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES-GCM-256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384 +Bytes Tx : 561459791 Bytes Rx : 187047288 +Group Policy : GRP_VPN_PROD Tunnel Group : TUN_VPN_PROD +Login Time : 06:56:43 GMT/BST Thu Dec 29 2022 +Duration : 9h:21m:10s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0afd01120b4d500063ad3a2b +Security Grp : none + +Username : smithj2 Index : 46297 +Assigned IP : 10.1.0.15 Public IP : 3.4.5.8 +Protocol : AnyConnect-Parent +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none +Hashing : AnyConnect-Parent: (1)none +Bytes Tx : 82630105 Bytes Rx : 32277920 +Group Policy : GRP_VPN_PROD Tunnel Group : TUN_VPN_PROD +Login Time : 07:18:16 GMT/BST Thu Dec 29 2022 +Duration : 8h:59m:37s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0afd01120b4d900063ad3f38 +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.yml new file mode 100644 index 0000000000..9d919c93d0 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect4.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "smithj" + index: "46288" + assigned_ip: "10.1.8.12" + public_ip: "3.4.5.6" + assigned_ipv6: "" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES-GCM-256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384" + bytes_tx: "70238287" + bytes_rx: "22509086" + group_policy: "GRP_VPN_PROD" + tunnel_group: "TUN_VPN_PROD" + login_time: "02:21:42" + login_time_zone: "GMT/BST" + login_weekday: "Thu" + login_month: "Dec" + login_day: "29" + login_year: "2022" + duration: "13h:56m:11s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0afd01120b4d000063acf9b6" + security_grp: "none" + - session_type: "AnyConnect" + username: "smithj1" + index: "46293" + assigned_ip: "10.1.0.14" + public_ip: "3.4.5.7" + assigned_ipv6: "" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES-GCM-256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384" + bytes_tx: "561459791" + bytes_rx: "187047288" + group_policy: "GRP_VPN_PROD" + tunnel_group: "TUN_VPN_PROD" + login_time: "06:56:43" + login_time_zone: "GMT/BST" + login_weekday: "Thu" + login_month: "Dec" + login_day: "29" + login_year: "2022" + duration: "9h:21m:10s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0afd01120b4d500063ad3a2b" + security_grp: "none" + - session_type: "AnyConnect" + username: "smithj2" + index: "46297" + assigned_ip: "10.1.0.15" + public_ip: "3.4.5.8" + assigned_ipv6: "" + protocol: "AnyConnect-Parent" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none" + hashing: "AnyConnect-Parent: (1)none" + bytes_tx: "82630105" + bytes_rx: "32277920" + group_policy: "GRP_VPN_PROD" + tunnel_group: "TUN_VPN_PROD" + login_time: "07:18:16" + login_time_zone: "GMT/BST" + login_weekday: "Thu" + login_month: "Dec" + login_day: "29" + login_year: "2022" + duration: "8h:59m:37s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0afd01120b4d900063ad3f38" + security_grp: "none" From 918498cf9b57628d9b7dc637a04a2f65461e2ba7 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Mon, 23 Jan 2023 00:55:08 +0000 Subject: [PATCH 370/412] Fixed issue with timezones and support for IPsecOverNatT (#1289) --- ..._asa_show_vpn-sessiondb_detail_l2l.textfsm | 12 +- ...sco_asa_show_vpn-sessiondb_detail_l2l4.raw | 81 +++++ ...sco_asa_show_vpn-sessiondb_detail_l2l4.yml | 332 ++++++++++++++++++ 3 files changed, 420 insertions(+), 5 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.yml diff --git a/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm index e81dc22939..4c7faed53c 100644 --- a/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm +++ b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm @@ -8,7 +8,7 @@ Value Filldown HASHING (.+?) Value Filldown TOTAL_BYTES_TRANSMITTED (\d+) Value Filldown TOTAL_BYTES_RECEIVED (\d+) Value Filldown LOGIN_TIME (\d+:\d+:\d+) -Value Filldown LOGIN_TIME_ZONE (\w+) +Value Filldown LOGIN_TIME_ZONE (\S+) Value Filldown LOGIN_WEEKDAY (\w+) Value Filldown LOGIN_MONTH (\w+) Value Filldown LOGIN_DAY (\d+) @@ -25,7 +25,7 @@ Value NEGOTIAION_MODE (\w+) Value AUTHENTICATION_MODE (\w+) Value REMOTE_AUTHENTICATION_MODE (\S+|) Value LOCAL_AUTHENTICATION_MODE (\S+|) -Value ENCRYPTION_METHOD (\w+) +Value ENCRYPTION_METHOD (\S+) Value HASH_METHOD (\w+) Value REKEY_INTERVAL (\d+) Value REKEY_INTERVAL_UNIT (\S+) @@ -83,6 +83,7 @@ Connection ^\s*IKE(?:[Vv]\d|)\s+Sessions:\s+${TOTAL_IKE_SESSIONS}\s+IPSec\s+Sessions:\s+${TOTAL_IPSEC_SESSIONS}\s*$$ ^\s*IKE(?:[Vv]\d|)\s+Tunnels:\s*${TOTAL_IKE_SESSIONS}\s*$$ ^\s*IP[Ss]ec\s+Tunnels:\s*${TOTAL_IPSEC_SESSIONS}\s*$$ + ^\s*IP[Ss]ecOverNatT\s+Tunnels:\s*${TOTAL_IPSEC_SESSIONS}\s*$$ ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue ^\s*IKE(?:[Vv]\d|): -> IKE ^\s*IP[Ss]ec: -> IPSec @@ -111,7 +112,7 @@ IKE ^\s*\S+:\s*$$ -> Continue.Record ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue ^\s*IKE(?:[Vv]\d|): -> IKE - ^\s*IP[Ss]ec: -> IPSec + ^\s*IP[Ss]ec(?:OverNatT|): -> IPSec ^\s*NAC: -> NAC ^\s*Connection\s*: -> Continue.Record ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection @@ -135,7 +136,7 @@ IPSec ^\s*\S+:\s*$$ -> Continue.Record ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue ^\s*IKE(?:[Vv]\d|): -> IKE - ^\s*IP[Ss]ec: -> IPSec + ^\s*IP[Ss]ec(?:OverNatT|): -> IPSec ^\s*NAC: -> NAC ^\s*Connection\s*: -> Continue.Record ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection @@ -153,7 +154,7 @@ NAC ^\s*\S+:\s*$$ -> Continue.Record ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue ^\s*IKE(?:[Vv]\d|): -> IKE - ^\s*IP[Ss]ec: -> IPSec + ^\s*IP[Ss]ec(?:OverNatT|): -> IPSec ^\s*NAC: -> NAC ^\s*Connection\s*: -> Continue.Record ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection @@ -162,3 +163,4 @@ NAC ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ -> Connection ^\s*$$ ^. -> Error + \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.raw b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.raw new file mode 100644 index 0000000000..e716a4a7cb --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.raw @@ -0,0 +1,81 @@ +Session Type: LAN-to-LAN Detailed + +Connection : 169.254.107.100 +Index : 26386 IP Addr : 169.254.107.100 +Protocol : IKEv2 IPsecOverNatT +Encryption : IKEv2: (1)AES-GCM-256 IPsecOverNatT: (1)AES-GCM-256 +Hashing : IKEv2: (1)none IPsecOverNatT: (1)none +Bytes Tx : 1280775975169 Bytes Rx : 574642385274 +Login Time : 07:30:58 GMT/BST Mon Nov 7 2022 +Duration : 52d 6h:35m:23s + +IKEv2 Tunnels: 1 +IPsecOverNatT Tunnels: 1 + +IKEv2: + Tunnel ID : 26386.1 + UDP Src Port : 4500 UDP Dst Port : 4500 + Rem Auth Mode: preSharedKeys + Loc Auth Mode: preSharedKeys + Encryption : AES-GCM-256 Hashing : none + Rekey Int (T): 86400 Seconds Rekey Left(T): 59552 Seconds + PRF : SHA512 D/H Group : 21 + Filter Name : + +IPsecOverNatT: + Tunnel ID : 26386.2 + Local Addr : 0.0.0.0/0.0.0.0/0/0 + Remote Addr : 0.0.0.0/0.0.0.0/0/0 + Encryption : AES-GCM-256 Hashing : none + Encapsulation: Tunnel PFS Group : 21 + Rekey Int (T): 28800 Seconds Rekey Left(T): 27490 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 0 K-Bytes + Idle Time Out: 0 Minutes Idle TO Left : 0 Minutes + Bytes Tx : 1280775975169 Bytes Rx : 574642385274 + Pkts Tx : 1906513623 Pkts Rx : 1363147628 + +Connection : 169.254.107.101 +Index : 27194 IP Addr : 169.254.107.101 +Protocol : IKEv2 IPsecOverNatT +Encryption : IKEv2: (1)AES256 IPsecOverNatT: (2)AES-GCM-128 +Hashing : IKEv2: (1)SHA256 IPsecOverNatT: (2)none +Bytes Tx : 10244425635 Bytes Rx : 512502763 +Login Time : 11:52:46 GMT/BST Mon Dec 12 2022 +Duration : 17d 2h:13m:35s + +IKEv2 Tunnels: 1 +IPsecOverNatT Tunnels: 2 + +IKEv2: + Tunnel ID : 27194.1 + UDP Src Port : 4500 UDP Dst Port : 4500 + Rem Auth Mode: preSharedKeys + Loc Auth Mode: preSharedKeys + Encryption : AES256 Hashing : SHA256 + Rekey Int (T): 86400 Seconds Rekey Left(T): 73172 Seconds + PRF : SHA256 D/H Group : 19 + Filter Name : + +IPsecOverNatT: + Tunnel ID : 27194.3 + Local Addr : 10.20.10.0/255.255.255.0/0/0 + Remote Addr : 10.40.10.248/255.255.255.248/0/0 + Encryption : AES-GCM-128 Hashing : none + Encapsulation: Tunnel PFS Group : 19 + Rekey Int (T): 28800 Seconds Rekey Left(T): 4953 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 0 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 10244425635 Bytes Rx : 512502763 + Pkts Tx : 11516820 Pkts Rx : 6090406 + +IPsecOverNatT: + Tunnel ID : 27194.810 + Local Addr : 10.30.120.0/255.255.255.0/0/0 + Remote Addr : 10.40.10.248/255.255.255.248/0/0 + Encryption : AES-GCM-128 Hashing : none + Encapsulation: Tunnel PFS Group : 19 + Rekey Int (T): 28800 Seconds Rekey Left(T): 28794 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4608000 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 0 Bytes Rx : 0 + Pkts Tx : 0 Pkts Rx : 0 \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.yml b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.yml new file mode 100644 index 0000000000..93296518ec --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l4.yml @@ -0,0 +1,332 @@ +--- +parsed_sample: + - session_type: "LAN-to-LAN" + connection: "169.254.107.100" + index: "26386" + ip_address: "169.254.107.100" + protocol: "IKEv2 IPsecOverNatT" + encryption: "IKEv2: (1)AES-GCM-256 IPsecOverNatT: (1)AES-GCM-256" + hashing: "IKEv2: (1)none IPsecOverNatT: (1)none" + total_bytes_transmitted: "1280775975169" + total_bytes_received: "574642385274" + login_time: "07:30:58" + login_time_zone: "GMT/BST" + login_weekday: "Mon" + login_month: "Nov" + login_day: "7" + login_year: "2022" + duration: "52d 6h:35m:23s" + filter_name: "" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + connection_type: "IKEv2" + session_id: "1" + udp_src_port: "4500" + udp_dst_port: "4500" + negotiaion_mode: "" + authentication_mode: "" + remote_authentication_mode: "preSharedKeys" + local_authentication_mode: "preSharedKeys" + encryption_method: "AES-GCM-256" + hash_method: "none" + rekey_interval: "86400" + rekey_interval_unit: "Seconds" + rekey_time_left: "59552" + rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "SHA512" + dh_group: "21" + ipv6_filter_name: "" + local_address_network: "" + local_address_mask: "" + remote_address_network: "" + remote_address_mask: "" + encapsulation: "" + pfs_group: "" + bytes_transmitted: "" + bytes_received: "" + packets_transmitted: "" + packets_received: "" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + - session_type: "LAN-to-LAN" + connection: "169.254.107.100" + index: "26386" + ip_address: "169.254.107.100" + protocol: "IKEv2 IPsecOverNatT" + encryption: "IKEv2: (1)AES-GCM-256 IPsecOverNatT: (1)AES-GCM-256" + hashing: "IKEv2: (1)none IPsecOverNatT: (1)none" + total_bytes_transmitted: "1280775975169" + total_bytes_received: "574642385274" + login_time: "07:30:58" + login_time_zone: "GMT/BST" + login_weekday: "Mon" + login_month: "Nov" + login_day: "7" + login_year: "2022" + duration: "52d 6h:35m:23s" + filter_name: "" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + connection_type: "IPsecOverNatT" + session_id: "2" + udp_src_port: "" + udp_dst_port: "" + negotiaion_mode: "" + authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" + encryption_method: "AES-GCM-256" + hash_method: "none" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "27490" + rekey_time_left_unit: "Seconds" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "0" + rekey_data_remaining_unit: "K-Bytes" + idle_timeout_interval: "0" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "0" + idle_timeout_remaining_unit: "Minutes" + prf: "" + dh_group: "" + ipv6_filter_name: "" + local_address_network: "0.0.0.0" + local_address_mask: "0.0.0.0" + remote_address_network: "0.0.0.0" + remote_address_mask: "0.0.0.0" + encapsulation: "Tunnel" + pfs_group: "21" + bytes_transmitted: "1280775975169" + bytes_received: "574642385274" + packets_transmitted: "1906513623" + packets_received: "1363147628" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + - session_type: "LAN-to-LAN" + connection: "169.254.107.101" + index: "27194" + ip_address: "169.254.107.101" + protocol: "IKEv2 IPsecOverNatT" + encryption: "IKEv2: (1)AES256 IPsecOverNatT: (2)AES-GCM-128" + hashing: "IKEv2: (1)SHA256 IPsecOverNatT: (2)none" + total_bytes_transmitted: "10244425635" + total_bytes_received: "512502763" + login_time: "11:52:46" + login_time_zone: "GMT/BST" + login_weekday: "Mon" + login_month: "Dec" + login_day: "12" + login_year: "2022" + duration: "17d 2h:13m:35s" + filter_name: "" + total_ike_sessions: "1" + total_ipsec_sessions: "2" + connection_type: "IKEv2" + session_id: "1" + udp_src_port: "4500" + udp_dst_port: "4500" + negotiaion_mode: "" + authentication_mode: "" + remote_authentication_mode: "preSharedKeys" + local_authentication_mode: "preSharedKeys" + encryption_method: "AES256" + hash_method: "SHA256" + rekey_interval: "86400" + rekey_interval_unit: "Seconds" + rekey_time_left: "73172" + rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "SHA256" + dh_group: "19" + ipv6_filter_name: "" + local_address_network: "" + local_address_mask: "" + remote_address_network: "" + remote_address_mask: "" + encapsulation: "" + pfs_group: "" + bytes_transmitted: "" + bytes_received: "" + packets_transmitted: "" + packets_received: "" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + - session_type: "LAN-to-LAN" + connection: "169.254.107.101" + index: "27194" + ip_address: "169.254.107.101" + protocol: "IKEv2 IPsecOverNatT" + encryption: "IKEv2: (1)AES256 IPsecOverNatT: (2)AES-GCM-128" + hashing: "IKEv2: (1)SHA256 IPsecOverNatT: (2)none" + total_bytes_transmitted: "10244425635" + total_bytes_received: "512502763" + login_time: "11:52:46" + login_time_zone: "GMT/BST" + login_weekday: "Mon" + login_month: "Dec" + login_day: "12" + login_year: "2022" + duration: "17d 2h:13m:35s" + filter_name: "" + total_ike_sessions: "1" + total_ipsec_sessions: "2" + connection_type: "IPsecOverNatT" + session_id: "3" + udp_src_port: "" + udp_dst_port: "" + negotiaion_mode: "" + authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" + encryption_method: "AES-GCM-128" + hash_method: "none" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "4953" + rekey_time_left_unit: "Seconds" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "0" + rekey_data_remaining_unit: "K-Bytes" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + prf: "" + dh_group: "" + ipv6_filter_name: "" + local_address_network: "10.20.10.0" + local_address_mask: "255.255.255.0" + remote_address_network: "10.40.10.248" + remote_address_mask: "255.255.255.248" + encapsulation: "Tunnel" + pfs_group: "19" + bytes_transmitted: "10244425635" + bytes_received: "512502763" + packets_transmitted: "11516820" + packets_received: "6090406" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + - session_type: "LAN-to-LAN" + connection: "169.254.107.101" + index: "27194" + ip_address: "169.254.107.101" + protocol: "IKEv2 IPsecOverNatT" + encryption: "IKEv2: (1)AES256 IPsecOverNatT: (2)AES-GCM-128" + hashing: "IKEv2: (1)SHA256 IPsecOverNatT: (2)none" + total_bytes_transmitted: "10244425635" + total_bytes_received: "512502763" + login_time: "11:52:46" + login_time_zone: "GMT/BST" + login_weekday: "Mon" + login_month: "Dec" + login_day: "12" + login_year: "2022" + duration: "17d 2h:13m:35s" + filter_name: "" + total_ike_sessions: "1" + total_ipsec_sessions: "2" + connection_type: "IPsecOverNatT" + session_id: "810" + udp_src_port: "" + udp_dst_port: "" + negotiaion_mode: "" + authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" + encryption_method: "AES-GCM-128" + hash_method: "none" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "28794" + rekey_time_left_unit: "Seconds" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4608000" + rekey_data_remaining_unit: "K-Bytes" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + prf: "" + dh_group: "" + ipv6_filter_name: "" + local_address_network: "10.30.120.0" + local_address_mask: "255.255.255.0" + remote_address_network: "10.40.10.248" + remote_address_mask: "255.255.255.248" + encapsulation: "Tunnel" + pfs_group: "19" + bytes_transmitted: "0" + bytes_received: "0" + packets_transmitted: "0" + packets_received: "0" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" From b8134a3d2700237c3643b3b7f5f4d7d54039f49a Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Tue, 31 Jan 2023 22:44:37 +0000 Subject: [PATCH 371/412] Added Process ID to parsed data (#1297) --- .../cisco_ios_show_ip_ospf_interface_brief.textfsm | 3 ++- .../cisco_ios_show_ip_ospf_interface_brief.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm index f8fbe4b2e6..cecd0fe4ac 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm @@ -1,4 +1,5 @@ Value INTERFACE (\S+) +Value PROCESS (\d+) Value AREA (\d+) Value IP_ADDRESS_MASK (\d+\.\d+\.\d+\.\d+/\d+) Value COST (\d+) @@ -6,7 +7,7 @@ Value STATE (\S+) Value NEIGHBORS_FC (\d+/\d+) Start - ^${INTERFACE}\s+\d+\s+${AREA}\s+${IP_ADDRESS_MASK}\s+${COST}\s+${STATE}\s+${NEIGHBORS_FC} -> Record + ^${INTERFACE}\s+${PROCESS}\s+${AREA}\s+${IP_ADDRESS_MASK}\s+${COST}\s+${STATE}\s+${NEIGHBORS_FC} -> Record # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is diff --git a/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml b/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml index ad02573841..ab90026d8a 100644 --- a/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml +++ b/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml @@ -1,72 +1,84 @@ --- parsed_sample: - interface: "Lo0" + process: "1" area: "0" ip_address_mask: "172.16.0.11/32" cost: "1" state: "LOOP" neighbors_fc: "0/0" - interface: "Se0/0/0.100" + process: "1" area: "0" ip_address_mask: "172.16.1.1/30" cost: "50" state: "P2P" neighbors_fc: "1/1" - interface: "Fa0/0" + process: "1" area: "0" ip_address_mask: "10.0.0.5/24" cost: "1" state: "BDR" neighbors_fc: "1/1" - interface: "Fa0/1" + process: "1" area: "11" ip_address_mask: "10.1.2.1/24" cost: "1" state: "DR" neighbors_fc: "0/0" - interface: "Tu1610" + process: "1" area: "0" ip_address_mask: "0.0.0.0/0" cost: "50" state: "P2P" neighbors_fc: "0/0" - interface: "Lo5" + process: "1" area: "0" ip_address_mask: "10.48.8.5/32" cost: "1" state: "LOOP" neighbors_fc: "0/0" - interface: "Lo4" + process: "1" area: "0" ip_address_mask: "10.48.8.4/32" cost: "1" state: "LOOP" neighbors_fc: "0/0" - interface: "Tu1603" + process: "1" area: "0" ip_address_mask: "0.0.0.0/0" cost: "50" state: "DOWN" neighbors_fc: "0/0" - interface: "Tu1602" + process: "1" area: "0" ip_address_mask: "0.0.0.0/0" cost: "50" state: "P2P" neighbors_fc: "0/0" - interface: "PO4/0" + process: "1" area: "0" ip_address_mask: "10.1.232.6/30" cost: "6" state: "P2P" neighbors_fc: "1/1" - interface: "Se3/2:0" + process: "1" area: "0" ip_address_mask: "10.1.224.218/30" cost: "6" state: "P2P" neighbors_fc: "1/1" - interface: "Se3/1:0" + process: "1" area: "0" ip_address_mask: "10.1.225.150/30" cost: "6" From 807179dd5c611873384c5ea448f382c3f4d1958a Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 3 Feb 2023 19:00:13 +0000 Subject: [PATCH 372/412] Added nxos show ip bgp summary address family to parsed data (#1300) --- ...cisco_nxos_show_ip_bgp_summary_vrf.textfsm | 3 +- .../cisco_nxos_show_ip_bgp_summary_vrf.yml | 108 +++++----- .../cisco_nxos_show_ip_bgp_summary_vrf1.raw | 108 ++++++++++ .../cisco_nxos_show_ip_bgp_summary_vrf1.yml | 198 ++++++++++++++++++ 4 files changed, 368 insertions(+), 49 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.raw create mode 100644 tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm index 216b50e7e6..cb33dbb66f 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm @@ -1,4 +1,5 @@ Value Filldown VRF (\S+) +Value Filldown ADDRESS_FAMILY (\S+\s\S+) Value Filldown ROUTER_ID (\d+?\.\d+?\.\d+?\.\d+?) Value Filldown LOCAL_AS (\d+) Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) @@ -14,7 +15,7 @@ Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start # Match BGP VRF - ^BGP summary information for VRF ${VRF}, address family IPv4 Unicast + ^BGP summary information for VRF ${VRF}, address family ${ADDRESS_FAMILY} # Match RID and Local AS ^BGP router identifier ${ROUTER_ID}, local AS number ${LOCAL_AS} # Match Neighbor lines diff --git a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml index 30e6146d9b..c615a4ad11 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml @@ -1,157 +1,169 @@ --- parsed_sample: - - router_id: "192.168.1.1" + - vrf: "RED" + address_family: "IPv4 Unicast" + router_id: "192.168.1.1" local_as: "65001" - vrf: "RED" - bgp_ver: "4" - tblver: "110" bgp_neigh: "192.168.1.2" + bgp_ver: "4" neigh_as: "65002" msg_rcvd: "1143238" msg_sent: "1065438" + tblver: "110" in_queue: "0" out_queue: "0" up_down: "10w4d" state_pfxrcd: "7" - - router_id: "192.168.2.1" + - vrf: "WHITE" + address_family: "IPv4 Unicast" + router_id: "192.168.2.1" local_as: "65011" - vrf: "WHITE" - bgp_ver: "4" - tblver: "114" bgp_neigh: "192.168.2.2" + bgp_ver: "4" neigh_as: "65012" msg_rcvd: "1142321" msg_sent: "1065438" + tblver: "114" in_queue: "0" out_queue: "0" up_down: "10w4d" state_pfxrcd: "7" - - router_id: "192.168.3.1" + - vrf: "BLUE" + address_family: "IPv4 Unicast" + router_id: "192.168.3.1" local_as: "65021" - vrf: "BLUE" - bgp_ver: "4" - tblver: "16" bgp_neigh: "192.168.3.2" + bgp_ver: "4" neigh_as: "65022" msg_rcvd: "672804" msg_sent: "639789" + tblver: "16" in_queue: "0" out_queue: "0" up_down: "10w4d" state_pfxrcd: "1" - - router_id: "192.168.3.1" + - vrf: "BLUE" + address_family: "IPv4 Unicast" + router_id: "192.168.3.1" local_as: "65021" - vrf: "BLUE" - bgp_ver: "4" - tblver: "16" bgp_neigh: "192.168.3.3" + bgp_ver: "4" neigh_as: "65023" msg_rcvd: "672792" msg_sent: "639791" + tblver: "16" in_queue: "0" out_queue: "0" up_down: "10w4d" state_pfxrcd: "1" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "10.101.1.1" + bgp_ver: "4" neigh_as: "4233316914" msg_rcvd: "14111081" msg_sent: "14037706" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "5w1d" state_pfxrcd: "100" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "10.101.1.4" + bgp_ver: "4" neigh_as: "4255544594" msg_rcvd: "14124621" msg_sent: "14051162" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "5w1d" state_pfxrcd: "0" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "111.111.111.111" + bgp_ver: "4" neigh_as: "4244433330" msg_rcvd: "57508" msg_sent: "53320" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "2w4d" state_pfxrcd: "28" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "144.144.144.144" + bgp_ver: "4" neigh_as: "33331" msg_rcvd: "888166" msg_sent: "836265" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "8w1d" state_pfxrcd: "8" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "155.155.155.155" + bgp_ver: "4" neigh_as: "33331" msg_rcvd: "887898" msg_sent: "835708" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "8w1d" state_pfxrcd: "8" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "192.168.111.1" + bgp_ver: "4" neigh_as: "11112" msg_rcvd: "652276" msg_sent: "570942" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "1w0d" state_pfxrcd: "4" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "192.168.111.2" + bgp_ver: "4" neigh_as: "11111" msg_rcvd: "502385" msg_sent: "501240" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "3d03h" state_pfxrcd: "1" - - router_id: "1.1.1.1" + - vrf: "PURPLE" + address_family: "IPv4 Unicast" + router_id: "1.1.1.1" local_as: "65001" - vrf: "PURPLE" - bgp_ver: "4" - tblver: "1922" bgp_neigh: "192.168.111.6" + bgp_ver: "4" neigh_as: "11111" msg_rcvd: "124617" msg_sent: "124458" + tblver: "1922" in_queue: "0" out_queue: "0" up_down: "2w2d" diff --git a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.raw b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.raw new file mode 100644 index 0000000000..6277030de2 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.raw @@ -0,0 +1,108 @@ +BGP summary information for VRF AMB, address family IPv4 Unicast + +BGP summary information for VRF AMB, address family IPv6 Unicast + +BGP summary information for VRF BLU, address family IPv4 Unicast +BGP router identifier 172.16.101.101, local AS number 65161 +BGP table version is 2301549, IPv4 Unicast config peers 1, capable peers 1 +827 network entries and 1406 paths using 105308 bytes of memory +BGP attribute entries [107/18404], BGP AS path entries [26/272] +BGP community entries [0/0], BGP clusterlist entries [6/24] + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.25.113.1 4 65001 21968368 22451737 2301549 0 0 24w2d 0 + +BGP summary information for VRF BLU, address family IPv6 Unicast + +BGP summary information for VRF GRN, address family IPv4 Unicast + +BGP summary information for VRF GRN, address family IPv6 Unicast + +BGP summary information for VRF GRY, address family IPv4 Unicast + +BGP summary information for VRF GRY, address family IPv6 Unicast + +BGP summary information for VRF NPE, address family IPv4 Unicast + +BGP summary information for VRF NPE, address family IPv6 Unicast + +BGP summary information for VRF RED, address family IPv4 Unicast + +BGP summary information for VRF RED, address family IPv6 Unicast + +BGP summary information for VRF TRI, address family IPv4 Unicast +BGP router identifier 172.16.101.123, local AS number 65161 +BGP table version is 8526, IPv4 Unicast config peers 1, capable peers 1 +55 network entries and 102 paths using 9940 bytes of memory +BGP attribute entries [11/1892], BGP AS path entries [8/80] +BGP community entries [0/0], BGP clusterlist entries [6/24] + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.23.1.74 4 65171 3078819 3074406 8526 0 0 2w5d 24 + +BGP summary information for VRF TRI, address family IPv6 Unicast + +BGP summary information for VRF default, address family IPv4 Unicast +BGP router identifier 172.16.101.37, local AS number 65161 +BGP table version is 14450, IPv4 Unicast config peers 5, capable peers 5 +36 network entries and 56 paths using 11184 bytes of memory +BGP attribute entries [24/4128], BGP AS path entries [13/102] +BGP community entries [0/0], BGP clusterlist entries [6/24] + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +172.16.14.2 4 65164 8429603 8531693 14450 0 0 1d08h 2 +172.16.31.1 4 65191 8081582 8260415 14450 0 0 1w0d 2 +172.16.31.17 4 65193 8167842 8348036 14450 0 0 1w0d 2 +172.16.102.2 4 65161 1166456 1165743 14450 0 0 2y0w 28 +172.16.151.2 4 65162 1074723 1073151 14450 0 0 1w1d 18 + +BGP summary information for VRF default, address family IPv6 Unicast + +BGP summary information for VRF default, address family VPNv4 Unicast + +BGP summary information for VRF default, address family VPNv6 Unicast + +BGP summary information for VRF default, address family IPv4 MVPN + +BGP summary information for VRF default, address family IPv6 MVPN + +BGP summary information for VRF default, address family L2VPN EVPN +BGP router identifier 172.16.101.37, local AS number 65161 +BGP table version is 63025110, L2VPN EVPN config peers 7, capable peers 7 +4630 network entries and 8017 paths using 1210960 bytes of memory +BGP attribute entries [796/136912], BGP AS path entries [31/334] +BGP community entries [0/0], BGP clusterlist entries [6/24] + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +172.23.129.240 4 65191 8081498 8246843 63025110 0 0 1w0d 6 +172.23.133.240 4 65193 8167863 8334538 63025110 0 0 1w0d 6 +172.16.101.33 4 65161 40997672 23273121 63025110 0 0 2y11w 1782 +172.16.101.34 4 65161 40992491 23273008 63025110 0 0 2y11w 1782 +172.16.201.37 4 65162 23261970 26520909 63025110 0 0 1w1d 698 +172.16.201.38 4 65162 23309853 26564632 63025110 0 0 2y2w 698 +172.16.255.42 4 65164 20901792 21346308 63025110 0 0 1d08h 14 + +Neighbor T AS PfxRcd Type-2 Type-3 Type-4 Type-5 +172.23.129.240 I 65191 6 0 0 0 6 +172.23.133.240 I 65193 6 0 0 0 6 +172.16.101.33 I 65161 1782 1434 14 0 334 +172.16.101.34 I 65161 1782 1434 14 0 334 +172.16.201.37 E 65162 698 481 7 0 210 +172.16.201.38 E 65162 698 481 7 0 210 +172.16.255.42 I 65164 14 0 0 0 14 + + +Value Filldown VRF (\S+) +Value Filldown ADDRESS_FAMILY (\S+\s\S+) +Value Filldown ROUTER_ID (\d+?\.\d+?\.\d+?\.\d+?) +Value Filldown LOCAL_AS (\d+) +Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value BGP_VER (\d) +Value Required NEIGH_AS (\S+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value TBLVER (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) diff --git a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.yml b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.yml new file mode 100644 index 0000000000..b569199cbb --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf1.yml @@ -0,0 +1,198 @@ +--- +parsed_sample: + - vrf: "BLU" + address_family: "IPv4 Unicast" + router_id: "172.16.101.101" + local_as: "65161" + bgp_neigh: "10.25.113.1" + bgp_ver: "4" + neigh_as: "65001" + msg_rcvd: "21968368" + msg_sent: "22451737" + tblver: "2301549" + in_queue: "0" + out_queue: "0" + up_down: "24w2d" + state_pfxrcd: "0" + - vrf: "TRI" + address_family: "IPv4 Unicast" + router_id: "172.16.101.123" + local_as: "65161" + bgp_neigh: "10.23.1.74" + bgp_ver: "4" + neigh_as: "65171" + msg_rcvd: "3078819" + msg_sent: "3074406" + tblver: "8526" + in_queue: "0" + out_queue: "0" + up_down: "2w5d" + state_pfxrcd: "24" + - vrf: "default" + address_family: "IPv4 Unicast" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.14.2" + bgp_ver: "4" + neigh_as: "65164" + msg_rcvd: "8429603" + msg_sent: "8531693" + tblver: "14450" + in_queue: "0" + out_queue: "0" + up_down: "1d08h" + state_pfxrcd: "2" + - vrf: "default" + address_family: "IPv4 Unicast" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.31.1" + bgp_ver: "4" + neigh_as: "65191" + msg_rcvd: "8081582" + msg_sent: "8260415" + tblver: "14450" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "2" + - vrf: "default" + address_family: "IPv4 Unicast" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.31.17" + bgp_ver: "4" + neigh_as: "65193" + msg_rcvd: "8167842" + msg_sent: "8348036" + tblver: "14450" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "2" + - vrf: "default" + address_family: "IPv4 Unicast" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.102.2" + bgp_ver: "4" + neigh_as: "65161" + msg_rcvd: "1166456" + msg_sent: "1165743" + tblver: "14450" + in_queue: "0" + out_queue: "0" + up_down: "2y0w" + state_pfxrcd: "28" + - vrf: "default" + address_family: "IPv4 Unicast" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.151.2" + bgp_ver: "4" + neigh_as: "65162" + msg_rcvd: "1074723" + msg_sent: "1073151" + tblver: "14450" + in_queue: "0" + out_queue: "0" + up_down: "1w1d" + state_pfxrcd: "18" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.23.129.240" + bgp_ver: "4" + neigh_as: "65191" + msg_rcvd: "8081498" + msg_sent: "8246843" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "6" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.23.133.240" + bgp_ver: "4" + neigh_as: "65193" + msg_rcvd: "8167863" + msg_sent: "8334538" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "6" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.101.33" + bgp_ver: "4" + neigh_as: "65161" + msg_rcvd: "40997672" + msg_sent: "23273121" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "2y11w" + state_pfxrcd: "1782" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.101.34" + bgp_ver: "4" + neigh_as: "65161" + msg_rcvd: "40992491" + msg_sent: "23273008" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "2y11w" + state_pfxrcd: "1782" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.201.37" + bgp_ver: "4" + neigh_as: "65162" + msg_rcvd: "23261970" + msg_sent: "26520909" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "1w1d" + state_pfxrcd: "698" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.201.38" + bgp_ver: "4" + neigh_as: "65162" + msg_rcvd: "23309853" + msg_sent: "26564632" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "2y2w" + state_pfxrcd: "698" + - vrf: "default" + address_family: "L2VPN EVPN" + router_id: "172.16.101.37" + local_as: "65161" + bgp_neigh: "172.16.255.42" + bgp_ver: "4" + neigh_as: "65164" + msg_rcvd: "20901792" + msg_sent: "21346308" + tblver: "63025110" + in_queue: "0" + out_queue: "0" + up_down: "1d08h" + state_pfxrcd: "14" From 80057c95bcf258fd754439aa0b7c3902276ce44f Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 3 Feb 2023 19:02:45 +0000 Subject: [PATCH 373/412] Added support for port-channels, tunnels and a few 5585 output fixes (#1288) --- .../cisco_asa_show_interface.textfsm | 23 ++++- .../cisco_asa_show_interface.yml | 42 ++++++++ .../cisco_asa_show_interface1.yml | 42 ++++++++ .../cisco_asa_show_interface2.yml | 7 ++ .../cisco_asa_show_interface3.yml | 7 ++ .../cisco_asa_show_interface_10gig.raw | 29 ++++++ .../cisco_asa_show_interface_10gig.yml | 34 +++++++ .../cisco_asa_show_interface_po.raw | 50 ++++++++++ .../cisco_asa_show_interface_po.yml | 98 +++++++++++++++++++ .../cisco_asa_show_interface_tun.raw | 15 +++ .../cisco_asa_show_interface_tun.yml | 66 +++++++++++++ .../cisco_asa_show_interface_vlans.yml | 7 ++ 12 files changed, 419 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.yml create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_po.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_po.yml create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.yml diff --git a/ntc_templates/templates/cisco_asa_show_interface.textfsm b/ntc_templates/templates/cisco_asa_show_interface.textfsm index f26fad54cd..1f41a2d6b3 100644 --- a/ntc_templates/templates/cisco_asa_show_interface.textfsm +++ b/ntc_templates/templates/cisco_asa_show_interface.textfsm @@ -2,12 +2,14 @@ Value Required INTERFACE (\S+) Value INTERFACE_ZONE (.+?) Value LINK_STATUS (.+?) Value PROTOCOL_STATUS (.*) -Value HARDWARE_TYPE ([\w ]+) +Value HARDWARE_TYPE (Virtual Tunnel|EtherChannel/LACP|[\w ]+) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\w+) Value DUPLEX (\w+\-\w+) Value SPEED (\d+\w+\s\w+) Value DESCRIPTION (.*) +Value BONDED_PORT (.+?) +Value BONDED_PORT_MEMBERS (.*) Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) Value MTU (\d+) Value VLAN (\d+) @@ -23,8 +25,14 @@ Value FIVEMIN_IN_RATE (\d+) Value FIVEMIN_OUT_PPS (\d+) Value FIVEMIN_OUT_RATE (\d+) Value FIVEMIN_DROP_RATE (\d+) +Value TUNNEL_SOURCE_INTERFACE (\w+|\w+\s\w+) +Value TUNNEL_SOURCE_IP (\d+\.\d+\.\d+\.\d+) +Value TUNNEL_DESTINATION_IP (\d+\.\d+\.\d+\.\d+) +Value TUNNEL_MODE (\w+|\w+\s\w+) +Value TUNNEL_IPSEC_PROFILE (.*) Start + ^\s+Tunnel\s+Interface\s+Information: ^.*Interface\s+ -> Continue.Record ^.*Interface\s+${INTERFACE}\s+"${INTERFACE_ZONE}",\s+is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} ^.*Interface\s+${INTERFACE}.*is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} @@ -32,11 +40,14 @@ Start ^.*BW\s+${BANDWIDTH},\s+DLY\s+${DELAY} ^.*\(${DUPLEX}\),\s+Auto-Speed\(${SPEED}\) ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) + ^.*\(${DUPLEX}\),\s+\(${SPEED}\) ^.*Duplex,\s+Auto-Speed ^.*Description:\s+${DESCRIPTION} ^.*VLAN\s+identifier\s+${VLAN} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set + ^\s+Available\s+but\s+not\s+configured\s+via\s+nameif + ^.*MAC\s+address\s+N/A,\s+MTU\s+${MTU} ^.*IP\s+address\s+${IP_ADDRESS},\s+subnet\s+mask\s+${NET_MASK} ^.*1\s+minute\s+input\s+rate\s+${ONEMIN_IN_PPS}\s+pkts/sec,\s+${ONEMIN_IN_RATE}\s+bytes/sec ^.*1\s+minute\s+output\s+rate\s+${ONEMIN_OUT_PPS}\s+pkts/sec,\s+${ONEMIN_OUT_RATE}\s+bytes/sec @@ -44,6 +55,11 @@ Start ^.*5\s+minute\s+input\s+rate\s+${FIVEMIN_IN_PPS}\s+pkts/sec,\s+${FIVEMIN_IN_RATE}\s+bytes/sec ^.*5\s+minute\s+output\s+rate\s+${FIVEMIN_OUT_PPS}\s+pkts/sec,\s+${FIVEMIN_OUT_RATE}\s+bytes/sec ^.*5\s+minute\s+drop\s+rate,\s+${FIVEMIN_DROP_RATE} + ^\s+Active\s+member\s+of\s+${BONDED_PORT}\s*$$ + ^\s+Active:\s+${BONDED_PORT_MEMBERS} + ^\s+Source\s+interface:\s+${TUNNEL_SOURCE_INTERFACE}\s+IP\s+address:\s+${TUNNEL_SOURCE_IP} + ^\s+Destination\s+IP\s+address:\s+${TUNNEL_DESTINATION_IP} + ^\s+Mode:\s+${TUNNEL_MODE}\s+IPsec\s+profile:\s+${TUNNEL_IPSEC_PROFILE} ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+off ^.*\d+\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer ^.*Received\s+\d+\s+broadcasts,\s+\d+\s+runts,\s+\d+\s+giants @@ -68,5 +84,10 @@ Start ^\s*\d+\s+lost\s+carrier,\s+\d+\s+no\s+carrier ^\s*(input|output)\s+queue\s+\(curr\/max\s+packets\):\s+hardware\s+\(\d+\/\d+\)\s+software\s+\(\d+\/\d+\) ^.*input\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) + ^\s+Members\s+in\s+this\s+channel: + ^.*MAC\s+address\s+N/A,\s+MTU\s+not\s+set + ^.*\d+\s+pause/resume\s+(input|output) + ^.*\d+\s+switch\s+(ingress|egress)\s+policy\s+drops + ^.*\d+\s+rate\s+limit\s+drops ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml index ee72115017..a094dca2cc 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml @@ -10,6 +10,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "to iosv-1" + bonded_port: "" + bonded_port_members: "" address: "fa16.3eb0.c3d3" mtu: "1500" vlan: "" @@ -25,6 +27,11 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "0" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "GigabitEthernet0/1" interface_zone: "outside-1" link_status: "up" @@ -35,6 +42,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "to iosv-2" + bonded_port: "" + bonded_port_members: "" address: "fa16.3ed1.7e26" mtu: "1500" vlan: "" @@ -50,6 +59,11 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "0" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "Management0/0" interface_zone: "mgmt" link_status: "up" @@ -60,6 +74,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "OOB Management" + bonded_port: "" + bonded_port_members: "" address: "fa16.3e1c.d1c3" mtu: "1500" vlan: "" @@ -75,6 +91,11 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "11" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "DMZ" interface_zone: "DMZ" link_status: "up" @@ -85,6 +106,8 @@ parsed_sample: duplex: "" speed: "" description: "DMZ (Vl3)" + bonded_port: "" + bonded_port_members: "" address: "fa16.3eb0.c3d3" mtu: "1500" vlan: "" @@ -100,6 +123,11 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "outside" interface_zone: "outside-3" link_status: "up" @@ -110,6 +138,8 @@ parsed_sample: duplex: "" speed: "" description: "outside(Vl2)" + bonded_port: "" + bonded_port_members: "" address: "fa16.3eb0.c3d3" mtu: "1500" vlan: "" @@ -125,6 +155,11 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "inside" interface_zone: "inside" link_status: "up" @@ -135,6 +170,8 @@ parsed_sample: duplex: "" speed: "" description: "" + bonded_port: "" + bonded_port_members: "" address: "fa16.3eb0.c3d3" mtu: "1500" vlan: "" @@ -150,3 +187,8 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml index c4ee2a83f8..9ba18f4e73 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml @@ -10,6 +10,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "to iosv-1" + bonded_port: "" + bonded_port_members: "" address: "5254.000d.da4c" mtu: "1500" vlan: "" @@ -25,6 +27,11 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "0" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "GigabitEthernet0/1" interface_zone: "inside" link_status: "up" @@ -35,6 +42,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "" + bonded_port: "" + bonded_port_members: "" address: "5254.0005.1b55" mtu: "1500" vlan: "" @@ -50,6 +59,11 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "0" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "GigabitEthernet0/2" interface_zone: "" link_status: "administratively down" @@ -60,6 +74,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "" + bonded_port: "" + bonded_port_members: "" address: "5254.0017.e9c0" mtu: "" vlan: "" @@ -75,6 +91,11 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "GigabitEthernet0/3" interface_zone: "" link_status: "administratively down" @@ -85,6 +106,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "" + bonded_port: "" + bonded_port_members: "" address: "5254.001c.5b3a" mtu: "" vlan: "" @@ -100,6 +123,11 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "GigabitEthernet0/4" interface_zone: "" link_status: "administratively down" @@ -110,6 +138,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "" + bonded_port: "" + bonded_port_members: "" address: "5254.0008.9da4" mtu: "" vlan: "" @@ -125,6 +155,11 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" - interface: "Management0/0" interface_zone: "management" link_status: "up" @@ -135,6 +170,8 @@ parsed_sample: duplex: "Full-duplex" speed: "1000 Mbps" description: "" + bonded_port: "" + bonded_port_members: "" address: "5254.0006.b468" mtu: "1500" vlan: "" @@ -150,3 +187,8 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "18" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml index 0a30f81e76..aebb7e5c5d 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml @@ -10,6 +10,8 @@ parsed_sample: duplex: "" speed: "" description: "to iosv-1" + bonded_port: "" + bonded_port_members: "" address: "fa16.3eb0.c3d3" mtu: "1500" vlan: "" @@ -25,3 +27,8 @@ parsed_sample: fivemin_out_pps: "0" fivemin_out_rate: "0" fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml index 1497c10c98..471540a855 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface3.yml @@ -10,6 +10,8 @@ parsed_sample: duplex: "Full-duplex" speed: "100 Mbps" description: "Management interface only, no other traffic" + bonded_port: "" + bonded_port_members: "" address: "11df.0fa6.364c" mtu: "1500" vlan: "" @@ -25,3 +27,8 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.raw new file mode 100644 index 0000000000..369f131bf3 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.raw @@ -0,0 +1,29 @@ +Interface TenGigabitEthernet0/8 "DMZ_Trunk", is up, line protocol is up + Hardware is bcm56801 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is unsupported, output flow control is off + MAC address 885a.9211.8ece, MTU 1500 + IP address unassigned + 420230877961 packets input, 203710605168843 bytes, 0 no buffer + Received 21018519 broadcasts, 0 runts, 0 giants + 94 input errors, 0 CRC, 0 frame, 94 overrun, 0 ignored, 0 abort + 0 pause/resume input + 1913846 L2 decode drops + 0 switch ingress policy drops + 393430143923 packets output, 154435473891464 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Traffic Statistics for "Semi-Trust_DMZ_Trunk": + 0 packets input, 0 bytes + 14 packets output, 392 bytes + 0 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.yml new file mode 100644 index 0000000000..95c5bbf842 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_10gig.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - interface: "TenGigabitEthernet0/8" + interface_zone: "DMZ_Trunk" + link_status: "up" + protocol_status: "up" + hardware_type: "bcm56801 rev 01" + bandwidth: "10000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "10000 Mbps" + description: "" + bonded_port: "" + bonded_port_members: "" + address: "885a.9211.8ece" + mtu: "1500" + vlan: "" + ip_address: "" + net_mask: "" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + onemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + fivemin_drop_rate: "0" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.raw new file mode 100644 index 0000000000..3c57bd3f13 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.raw @@ -0,0 +1,50 @@ +Interface GigabitEthernet1/2 "", is up, line protocol is up + Hardware is Accelerator rev01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: SWI01 - Gi0/2 + Active member of Port-channel1 + MAC address 00ea.bd1c.f7d9, MTU not set + IP address unassigned + 2472564 packets input, 274906603 bytes, 0 no buffer + Received 89 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 15654312 packets output, 16658308355 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (979/803) + output queue (blocks free curr/low): hardware (1023/849) +Interface GigabitEthernet1/3 "", is up, line protocol is up + Hardware is Accelerator rev01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: SWI01 - Gi0/3 + Active member of Port-channel1 + MAC address 00ea.bd1c.f7da, MTU not set + IP address unassigned + 10990481 packets input, 4531931760 bytes, 0 no buffer + Received 17258 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 10453275 packets output, 11970461815 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (969/800) + output queue (blocks free curr/low): hardware (1023/857) +Interface Port-channel1 "", is up, line protocol is up + Hardware is EtherChannel/LACP, BW 2000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: UPLINK > HME-C3560-SWI01 - Po11 + Available but not configured via nameif + MAC address 00ea.bd1c.f7d9, MTU not set + IP address unassigned + Members in this channel: + Active: Gi1/2 Gi1/3 \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.yml new file mode 100644 index 0000000000..9a74e5e6df --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_po.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - interface: "GigabitEthernet1/2" + interface_zone: "" + link_status: "up" + protocol_status: "up" + hardware_type: "Accelerator rev01" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "SWI01 - Gi0/2" + bonded_port: "Port-channel1" + bonded_port_members: "" + address: "00ea.bd1c.f7d9" + mtu: "" + vlan: "" + ip_address: "" + net_mask: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" + - interface: "GigabitEthernet1/3" + interface_zone: "" + link_status: "up" + protocol_status: "up" + hardware_type: "Accelerator rev01" + bandwidth: "1000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "SWI01 - Gi0/3" + bonded_port: "Port-channel1" + bonded_port_members: "" + address: "00ea.bd1c.f7da" + mtu: "" + vlan: "" + ip_address: "" + net_mask: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" + - interface: "Port-channel1" + interface_zone: "" + link_status: "up" + protocol_status: "up" + hardware_type: "EtherChannel/LACP" + bandwidth: "2000 Mbps" + delay: "10 usec" + duplex: "Full-duplex" + speed: "1000 Mbps" + description: "UPLINK > HME-C3560-SWI01 - Po11" + bonded_port: "" + bonded_port_members: "Gi1/2 Gi1/3 " + address: "00ea.bd1c.f7d9" + mtu: "" + vlan: "" + ip_address: "" + net_mask: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.raw new file mode 100644 index 0000000000..53d78d68db --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.raw @@ -0,0 +1,15 @@ +Interface Tunnel0 "", is down, line protocol is down + Hardware is Virtual Tunnel Available but not configured via nameif + MAC address N/A, MTU not set + IP address unassigned + Tunnel Interface Information: + Source interface: Not defined IP address: 0.0.0.0 + Destination IP address: 0.0.0.0 + Mode: Not defined IPsec profile: Not defined +Interface Tunnel11 "VPN to siteA", is up, line protocol is up + Hardware is Virtual Tunnel MAC address N/A, MTU 1500 + IP address 192.168.101.2, subnet mask 255.255.255.252 + Tunnel Interface Information: + Source interface: Outside IP address: 10.10.100.10 + Destination IP address: 1.1.1.1 + Mode: ipsec ipv4 IPsec profile: PFL_AES_GCM256 \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.yml new file mode 100644 index 0000000000..735c1c3f68 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_tun.yml @@ -0,0 +1,66 @@ +--- +parsed_sample: + - interface: "Tunnel0" + interface_zone: "" + link_status: "down" + protocol_status: "down" + hardware_type: "Virtual Tunnel" + bandwidth: "" + delay: "" + duplex: "" + speed: "" + description: "" + bonded_port: "" + bonded_port_members: "" + address: "" + mtu: "" + vlan: "" + ip_address: "" + net_mask: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + tunnel_source_interface: "Not defined" + tunnel_source_ip: "0.0.0.0" + tunnel_destination_ip: "0.0.0.0" + tunnel_mode: "Not defined" + tunnel_ipsec_profile: "Not defined" + - interface: "Tunnel11" + interface_zone: "VPN to siteA" + link_status: "up" + protocol_status: "up" + hardware_type: "Virtual Tunnel" + bandwidth: "" + delay: "" + duplex: "" + speed: "" + description: "" + bonded_port: "" + bonded_port_members: "" + address: "" + mtu: "1500" + vlan: "" + ip_address: "192.168.101.2" + net_mask: "255.255.255.252" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + onemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + fivemin_drop_rate: "" + tunnel_source_interface: "Outside" + tunnel_source_ip: "10.10.100.10" + tunnel_destination_ip: "1.1.1.1" + tunnel_mode: "ipsec ipv4" + tunnel_ipsec_profile: "PFL_AES_GCM256" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml index a8738bf4d6..a213cf3e98 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface_vlans.yml @@ -10,6 +10,8 @@ parsed_sample: duplex: "" speed: "" description: "" + bonded_port: "" + bonded_port_members: "" address: "0c29.a40a.f201" mtu: "1500" vlan: "60" @@ -25,3 +27,8 @@ parsed_sample: fivemin_out_pps: "" fivemin_out_rate: "" fivemin_drop_rate: "" + tunnel_source_interface: "" + tunnel_source_ip: "" + tunnel_destination_ip: "" + tunnel_mode: "" + tunnel_ipsec_profile: "" From 4f38d7934be48b3594847f152fc3ed428654d865 Mon Sep 17 00:00:00 2001 From: "Keith E. Truesdell" <2074768+KeithETruesdell@users.noreply.github.com> Date: Fri, 3 Feb 2023 14:05:32 -0500 Subject: [PATCH 374/412] cisco ios show_version capture software and release (#1292) * added software image and release added software image capture and the release from the initial line of the software * update cisco ios show version to include the software image and release as additional separate fields, tests included --- ntc_templates/templates/cisco_ios_show_version.textfsm | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version.yml | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version1.yml | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version2.yml | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version3.yml | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version4.yml | 4 +++- tests/cisco_ios/show_version/cisco_ios_show_version5.yml | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index b55470ca85..d84ed29d2b 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -1,4 +1,6 @@ +Value SOFTWARE_IMAGE (\S+) Value VERSION (.+?) +Value RELEASE (\S+) Value ROMMON (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) @@ -16,7 +18,7 @@ Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) Value RESTARTED (.+) Start - ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* + ^.*Software\s\(${SOFTWARE_IMAGE}+\),\sVersion\s${VERSION},*\s+RELEASE.*\(${RELEASE}\) ^ROM:\s+${ROMMON} ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} -> Continue ^.*\s+uptime\s+is.*\s+${UPTIME_YEARS}\syear -> Continue diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml index b233140077..57aa51cdf0 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "12.2(54)SG1" + - software_image: "cat4500e-ENTSERVICESK9-M" + version: "12.2(54)SG1" + release: "fc1" rommon: "12.2(44r)SG9" hostname: "router1" uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml index b794d0a135..33951eb93f 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "03.06.05E" + - software_image: "CAT3K_CAA-UNIVERSALK9-M" + version: "03.06.05E" + release: "fc2" rommon: "IOS-XE" hostname: "city-building-4-sw" uptime: "28 weeks, 1 day, 7 hours, 54 minutes" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml index 92098c2e90..12e73d157b 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "15.3(2)S1" + - software_image: "X86_64_LINUX_IOSD-UNIVERSALK9-M" + version: "15.3(2)S1" + release: "fc1" rommon: "IOS-XE" hostname: "my_device" uptime: "1 day, 15 hours, 32 minutes" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml index 32da4c835c..262e83742a 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "15.8(3)M2" + - software_image: "VIOS-ADVENTERPRISEK9-M" + version: "15.8(3)M2" + release: "fc2" rommon: "Bootstrap" hostname: "rtr-01" uptime: "1 week, 3 days, 16 hours, 11 minutes" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml index a0ccd2232c..3ccd657857 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "16.9.3" + - software_image: "CAT9K_IOSXE" + version: "16.9.3" + release: "fc2" rommon: "IOS-XE" hostname: "AKBTESTW01" uptime: "1 year, 22 weeks, 6 days, 9 hours, 38 minutes" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version5.yml b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml index 3bf3d3844c..8713630d46 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version5.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - version: "16.12.4" + - software_image: "CAT9K_IOSXE" + version: "16.12.4" + release: "fc5" rommon: "IOS-XE" hostname: "Switch-Hostname" uptime: "7 weeks, 17 hours, 14 minutes" From 1d7826793d05afc642ee26f3b7892c93246ced83 Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Fri, 3 Feb 2023 20:05:50 +0100 Subject: [PATCH 375/412] Corrected nexthop_ip regex in ubiquiti ipv6 route template (#1294) --- .../templates/ubiquiti_edgerouter_show_ipv6_route.textfsm | 2 +- .../ubiquiti_edgerouter_show_ipv6_route.raw | 1 + .../ubiquiti_edgerouter_show_ipv6_route.yml | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm index bef85b0b21..b3ff20953c 100644 --- a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_route.textfsm @@ -3,7 +3,7 @@ Value IP ([A-Za-z0-9:]+) Value PREFIX_LENGTH (\d{1,3}) Value DISTANCE (\d+) Value METRIC (\d+) -Value NEXTHOP_IP ([A-F0-9:]+) +Value NEXTHOP_IP ([\w:]+) Value INTERFACE (\w+) Value UPTIME (\d[\w:\.]+) diff --git a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw index f2cf2596ce..c4b163612c 100644 --- a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw +++ b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.raw @@ -7,6 +7,7 @@ Timers: Uptime IP Route Table for VRF "default" S ::/0 [50/0] via ::, pppoe4, 01w0d05h +S ::/64 [50/0] via 2a05:c100:1d::2, eth1, 00:00:04 C ::1/128 via ::, lo, 01w0d05h C 2a05:b780:0:1d::/64 via ::, pppoe4, 01w0d05h C 2a05:c100:1d::/64 via ::, eth1, 01:11:26 diff --git a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml index 04e072285f..e4eb7d3441 100644 --- a/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml +++ b/tests/ubiquiti_edgerouter/show_ipv6_route/ubiquiti_edgerouter_show_ipv6_route.yml @@ -8,6 +8,14 @@ parsed_sample: nexthop_ip: "::" interface: "pppoe4" uptime: "01w0d05h" + - code: "S" + ip: "::" + prefix_length: "64" + distance: "50" + metric: "0" + nexthop_ip: "2a05:c100:1d::2" + interface: "eth1" + uptime: "00:00:04" - code: "C" ip: "::1" prefix_length: "128" From e32e1129f2fceb23f03a9b8a713c3da35e2d4895 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 3 Feb 2023 19:06:43 +0000 Subject: [PATCH 376/412] Added support for VRFs (#1296) --- .../templates/cisco_ios_show_ip_route.textfsm | 8 +- ntc_templates/templates/index | 2 +- .../show_ip_route/cisco_ios_show_ip_route.yml | 388 +++++++++++------- .../cisco_ios_show_ip_route_vrf.raw | 52 +++ .../cisco_ios_show_ip_route_vrf.yml | 376 +++++++++++++++++ 5 files changed, 664 insertions(+), 162 deletions(-) create mode 100644 tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.raw create mode 100644 tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_route.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm index 17fbf0c0b7..b41d29b3f7 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_route.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Filldown PROTOCOL (\w) Value Filldown TYPE (\w{0,2}) Value Required,Filldown NETWORK (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) @@ -5,27 +6,30 @@ Value Filldown MASK (\d{1,2}) Value DISTANCE (\d+) Value METRIC (\d+) Value NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value NEXTHOP_VRF (\S+) Value NEXTHOP_IF ([A-Z][\w\-\.:/]+) Value UPTIME (\d[\w:\.]+) Start + ^Routing\sTable:\s${VRF}\s*$$ ^Gateway.* -> Routes # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is Routes + ^\s*$$ # For "is (variably )subnetted" line, capture mask, clear all values. ^\s+\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\/${MASK}\sis -> Clear # # Match directly connected route with explicit mask - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\sis\sdirectly\sconnected,\s${NEXTHOP_IF} -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\sis\sdirectly\sconnected(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record # # Match directly connected route (mask is inherited from "is subnetted") ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\sis\sdirectly\sconnected,\s${NEXTHOP_IF} -> Record # # Match regular routes, with mask, where all data in same line - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}(\s\(${NEXTHOP_VRF}\))?(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record # # Match regular route, all one line, where mask is learned from "is subnetted" line ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOP_IP}(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 26daa7c8b3..ae03abda33 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -275,7 +275,7 @@ cisco_ios_show_inventory.textfsm, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] -cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] +cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]](?: vrf \S+)?\s*$ cisco_ios_show_vrrp_all.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] a[[ll]] cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml index 4623a3689c..bfb0cc6c30 100644 --- a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml @@ -1,317 +1,387 @@ --- parsed_sample: - - network: "1.1.1.1" - distance: "1" + - vrf: "" + protocol: "S" + type: "" + network: "1.1.1.1" mask: "32" + distance: "1" metric: "0" - nexthop_if: "" nexthop_ip: "212.0.0.1" + nexthop_vrf: "" + nexthop_if: "" + uptime: "" + - vrf: "" protocol: "S" type: "" - uptime: "" - - network: "1.1.1.1" - distance: "1" + network: "1.1.1.1" mask: "32" + distance: "1" metric: "0" - nexthop_if: "" nexthop_ip: "192.168.0.1" + nexthop_vrf: "" + nexthop_if: "" + uptime: "" + - vrf: "" protocol: "S" type: "" - uptime: "" - - network: "2.2.2.0" - distance: "" + network: "2.2.2.0" mask: "24" + distance: "" metric: "" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "" - protocol: "S" - type: "" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "" - - network: "4.4.0.0" - distance: "110" + - vrf: "" + protocol: "O" + type: "E2" + network: "4.4.0.0" mask: "16" + distance: "110" metric: "20" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" - protocol: "O" - type: "E2" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "1d18h" - - network: "5.5.5.0" - distance: "170" + - vrf: "" + protocol: "D" + type: "EX" + network: "5.5.5.0" mask: "24" + distance: "170" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" - protocol: "D" - type: "EX" + nexthop_vrf: "" + nexthop_if: "Serial0/0" uptime: "00:12:01" - - network: "6.6.0.0" - distance: "200" + - vrf: "" + protocol: "B" + type: "" + network: "6.6.0.0" mask: "16" + distance: "200" metric: "0" - nexthop_if: "" nexthop_ip: "195.0.0.1" - protocol: "B" - type: "" + nexthop_vrf: "" + nexthop_if: "" uptime: "00:00:04" - - network: "172.16.1.0" - distance: "115" + - vrf: "" + protocol: "i" + type: "L2" + network: "172.16.1.0" mask: "26" + distance: "115" metric: "10" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" - protocol: "i" - type: "L2" + nexthop_vrf: "" + nexthop_if: "Serial0/0" uptime: "" - - network: "172.20.1.1" - distance: "110" + - vrf: "" + protocol: "O" + type: "" + network: "172.20.1.1" mask: "32" + distance: "110" metric: "11" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" + uptime: "00:05:45" + - vrf: "" protocol: "O" type: "" - uptime: "00:05:45" - - network: "172.20.3.1" - distance: "110" + network: "172.20.3.1" mask: "32" + distance: "110" metric: "11" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" + uptime: "00:05:45" + - vrf: "" protocol: "O" type: "" - uptime: "00:05:45" - - network: "172.20.2.1" - distance: "110" + network: "172.20.2.1" mask: "32" + distance: "110" metric: "11" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" - protocol: "O" - type: "" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "00:05:45" - - network: "10.0.1.0" - distance: "" + - vrf: "" + protocol: "C" + type: "" + network: "10.0.1.0" mask: "24" + distance: "" metric: "" - nexthop_if: "Serial0/0" nexthop_ip: "" - protocol: "C" - type: "" + nexthop_vrf: "" + nexthop_if: "Serial0/0" uptime: "" - - network: "10.0.5.0" - distance: "90" + - vrf: "" + protocol: "D" + type: "" + network: "10.0.5.0" mask: "26" + distance: "90" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" + nexthop_vrf: "" + nexthop_if: "Serial0/0" + uptime: "00:12:03" + - vrf: "" protocol: "D" type: "" - uptime: "00:12:03" - - network: "10.0.5.64" - distance: "90" + network: "10.0.5.64" mask: "26" + distance: "90" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" + nexthop_vrf: "" + nexthop_if: "Serial0/0" + uptime: "00:12:03" + - vrf: "" protocol: "D" type: "" - uptime: "00:12:03" - - network: "10.0.5.128" - distance: "90" + network: "10.0.5.128" mask: "26" + distance: "90" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" + nexthop_vrf: "" + nexthop_if: "Serial0/0" + uptime: "00:12:03" + - vrf: "" protocol: "D" type: "" - uptime: "00:12:03" - - network: "10.0.5.192" - distance: "90" + network: "10.0.5.192" mask: "27" + distance: "90" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" - protocol: "D" - type: "" + nexthop_vrf: "" + nexthop_if: "Serial0/0" uptime: "00:12:03" - - network: "11.1.0.0" - distance: "200" + - vrf: "" + protocol: "B" + type: "" + network: "11.1.0.0" mask: "17" + distance: "200" metric: "0" - nexthop_if: "Null0" nexthop_ip: "" - protocol: "B" - type: "" - uptime: "2w0d" - - network: "12.0.0.0" - distance: "" - mask: "16" - metric: "" + nexthop_vrf: "" nexthop_if: "Null0" - nexthop_ip: "" + uptime: "2w0d" + - vrf: "" protocol: "S" type: "" - uptime: "" - - network: "13.14.128.0" + network: "12.0.0.0" + mask: "16" distance: "" - mask: "17" metric: "" - nexthop_if: "Null0" nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" + uptime: "" + - vrf: "" protocol: "O" type: "" + network: "13.14.128.0" + mask: "17" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" uptime: "7w0d" - - network: "192.168.0.1" - distance: "90" + - vrf: "" + protocol: "D" + type: "" + network: "192.168.0.1" mask: "32" + distance: "90" metric: "2297856" - nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" - protocol: "D" - type: "" + nexthop_vrf: "" + nexthop_if: "Serial0/0" uptime: "00:12:03" - - network: "192.168.10.168" - distance: "110" + - vrf: "" + protocol: "O" + type: "E2" + network: "192.168.10.168" mask: "29" + distance: "110" metric: "20" - nexthop_if: "TenGigabitEthernet7/4" nexthop_ip: "7.7.7.170" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet7/4" + uptime: "12:54:35" + - vrf: "" protocol: "O" type: "E2" - uptime: "12:54:35" - - network: "10.63.184.0" - distance: "110" + network: "10.63.184.0" mask: "23" + distance: "110" metric: "20" - nexthop_if: "TenGigabitEthernet1/15" nexthop_ip: "10.62.4.29" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet1/15" + uptime: "12:55:19" + - vrf: "" protocol: "O" type: "E2" - uptime: "12:55:19" - - network: "10.63.184.0" - distance: "110" + network: "10.63.184.0" mask: "23" + distance: "110" metric: "20" - nexthop_if: "TenGigabitEthernet1/16" nexthop_ip: "10.62.3.29" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet1/16" + uptime: "12:55:19" + - vrf: "" protocol: "O" type: "E2" - uptime: "12:55:19" - - network: "192.168.12.0" - distance: "110" + network: "192.168.12.0" mask: "27" + distance: "110" metric: "20" - nexthop_if: "Port-channel202" nexthop_ip: "10.64.3.13" + nexthop_vrf: "" + nexthop_if: "Port-channel202" + uptime: "12:54:36" + - vrf: "" protocol: "O" type: "E2" - uptime: "12:54:36" - - network: "192.168.12.0" - distance: "110" + network: "192.168.12.0" mask: "27" + distance: "110" metric: "20" - nexthop_if: "Port-channel201" nexthop_ip: "10.64.1.9" - protocol: "O" - type: "E2" + nexthop_vrf: "" + nexthop_if: "Port-channel201" uptime: "12:54:36" - - network: "10.64.4.88" - distance: "" + - vrf: "" + protocol: "C" + type: "" + network: "10.64.4.88" mask: "30" + distance: "" metric: "" - nexthop_if: "Serial0/0/0:0" nexthop_ip: "" - protocol: "C" - type: "" + nexthop_vrf: "" + nexthop_if: "Serial0/0/0:0" uptime: "" - - network: "10.6.234.0" - distance: "110" + - vrf: "" + protocol: "O" + type: "E2" + network: "10.6.234.0" mask: "24" + distance: "110" metric: "20" - nexthop_if: "Serial0/0/0:0" nexthop_ip: "10.64.4.90" - protocol: "O" - type: "E2" + nexthop_vrf: "" + nexthop_if: "Serial0/0/0:0" uptime: "12:54:53" - - network: "7.7.7.168" - distance: "" + - vrf: "" + protocol: "C" + type: "" + network: "7.7.7.168" mask: "30" + distance: "" metric: "" - nexthop_if: "TenGigabitEthernet7/4" nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet7/4" + uptime: "" + - vrf: "" protocol: "C" type: "" - uptime: "" - - network: "10.64.3.12" - distance: "" + network: "10.64.3.12" mask: "30" + distance: "" metric: "" - nexthop_if: "Port-channel202" nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Port-channel202" + uptime: "" + - vrf: "" protocol: "C" type: "" - uptime: "" - - network: "10.64.1.8" - distance: "" + network: "10.64.1.8" mask: "30" + distance: "" metric: "" - nexthop_if: "Port-channel201" nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Port-channel201" + uptime: "" + - vrf: "" protocol: "C" type: "" - uptime: "" - - network: "10.62.4.28" - distance: "" + network: "10.62.4.28" mask: "30" + distance: "" metric: "" - nexthop_if: "TenGigabitEthernet1/15" nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet1/15" + uptime: "" + - vrf: "" protocol: "C" type: "" - uptime: "" - - network: "10.62.3.28" - distance: "" + network: "10.62.3.28" mask: "30" + distance: "" metric: "" - nexthop_if: "TenGigabitEthernet1/16" nexthop_ip: "" - protocol: "C" - type: "" + nexthop_vrf: "" + nexthop_if: "TenGigabitEthernet1/16" uptime: "" - - network: "195.0.0.0" - distance: "110" + - vrf: "" + protocol: "O" + type: "IA" + network: "195.0.0.0" mask: "24" + distance: "110" metric: "11" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" - protocol: "O" - type: "IA" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "00:05:45" - - network: "0.0.0.0" - distance: "110" + - vrf: "" + protocol: "O" + type: "E2" + network: "0.0.0.0" mask: "0" + distance: "110" metric: "1" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" + uptime: "00:05:35" + - vrf: "" protocol: "O" type: "E2" - uptime: "00:05:35" - - network: "212.0.0.0" - distance: "110" + network: "212.0.0.0" mask: "8" + distance: "110" metric: "20" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" - protocol: "O" - type: "E2" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "00:05:35" - - network: "194.0.0.0" - distance: "" + - vrf: "" + protocol: "C" + type: "" + network: "194.0.0.0" mask: "16" + distance: "" metric: "" - nexthop_if: "FastEthernet0/0.100" nexthop_ip: "" - protocol: "C" - type: "" + nexthop_vrf: "" + nexthop_if: "FastEthernet0/0.100" uptime: "" diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.raw b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.raw new file mode 100644 index 0000000000..816a469570 --- /dev/null +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.raw @@ -0,0 +1,52 @@ +HME-C3560-SWI01#show ip route vrf TRI + +Routing Table: TRI +Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2 + i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, * - candidate default, U - per-user static route + o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP + a - application route + + - replicated route, % - next hop override, p - overrides from PfR + +Gateway of last resort is 10.10.254.3 to network 0.0.0.0 + +B* 0.0.0.0/0 [200/0] via 10.10.254.3, 1d05h + 10.0.0.0/8 is variably subnetted, 22 subnets, 8 masks +B 10.0.0.0/8 [200/0] via 10.10.254.3, 1d05h +B 10.10.0.0/18 [200/0], 3w4d, Null0 +B 10.10.5.0/24 is directly connected, 3w4d, Vlan5 +L 10.10.5.1/32 is directly connected, Vlan5 +B 10.10.10.0/24 is directly connected, 3w4d, Vlan10 +L 10.10.10.1/32 is directly connected, Vlan10 +B 10.10.20.0/24 is directly connected, 3w4d, Vlan20 +L 10.10.20.1/32 is directly connected, Vlan20 +B 10.10.64.0/19 [200/0], 3w4d, Null0 +B 10.10.64.0/24 is directly connected, 01:04:17, Vlan64 +L 10.10.64.1/32 is directly connected, Vlan64 +B 10.10.96.0/19 [200/0], 3w4d, Null0 +B 10.10.96.0/24 is directly connected, 3w4d, Vlan96 +L 10.10.96.1/32 is directly connected, Vlan96 +B 10.10.128.0/20 [200/0], 3w4d, Null0 +B 10.10.128.0/24 is directly connected, 3w4d, Vlan128 +L 10.10.128.1/32 is directly connected, Vlan128 +C 10.10.254.0/29 is directly connected, Vlan3101 +L 10.10.254.1/32 is directly connected, Vlan3101 +B 10.10.255.11/32 is directly connected, 3w4d, Loopback11 +B 10.10.255.12/32 is directly connected, 3w4d, Loopback12 +B 10.20.0.0/16 [200/0] via 10.10.254.10 (AMB), 3w4d +B 10.30.0.0/16 [200/0] via 10.10.254.2 (BLU), 3w4d +B 10.40.0.0/16 [200/0] via 10.10.254.2 (GRN), 3w4d +B 172.16.0.0/12 [200/0] via 10.10.254.3, 1d05h +B 192.168.0.0/16 [200/0] via 10.10.254.3, 1d05h + 50.0.0.0/32 is subnetted, 1 subnets +C 50.1.1.1 is directly connected, Loopback50 +B 10.12.1.0/27 [200/1000] via 192.168.12.5, 1w1d + [200/1000] via 192.168.12.1, 1w1d +B 10.12.242.64/28 [200/1000] via 192.168.12.5, 1w1d + [200/1000] via 192.168.12.1, 1w1d + 172.16.0.0/24 is subnetted, 2 subnets +B 172.16.10.0 [200/0] via 10.80.10.2, 04:42:57 +B 172.16.20.0 [200/0] via 10.80.10.2, 04:42:52 diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml new file mode 100644 index 0000000000..58e3ca69fc --- /dev/null +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml @@ -0,0 +1,376 @@ +--- +parsed_sample: + - vrf: "TRI" + protocol: "B" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.3" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1d05h" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.0.0.0" + mask: "8" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.3" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1d05h" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.0.0" + mask: "18" + distance: "200" + metric: "0" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.5.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan5" + uptime: "3w4d" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.5.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan5" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.10.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan10" + uptime: "3w4d" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.10.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan10" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.20.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan20" + uptime: "3w4d" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.20.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan20" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.64.0" + mask: "19" + distance: "200" + metric: "0" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.64.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan64" + uptime: "01:04:17" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.64.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan64" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.96.0" + mask: "19" + distance: "200" + metric: "0" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.96.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan96" + uptime: "3w4d" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.96.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan96" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.128.0" + mask: "20" + distance: "200" + metric: "0" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Null0" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.128.0" + mask: "24" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan128" + uptime: "3w4d" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.128.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan128" + uptime: "" + - vrf: "TRI" + protocol: "C" + type: "" + network: "10.10.254.0" + mask: "29" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan3101" + uptime: "" + - vrf: "TRI" + protocol: "L" + type: "" + network: "10.10.254.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Vlan3101" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.255.11" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Loopback11" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.10.255.12" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Loopback12" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.20.0.0" + mask: "16" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.10" + nexthop_vrf: "AMB" + nexthop_if: "" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.30.0.0" + mask: "16" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.2" + nexthop_vrf: "BLU" + nexthop_if: "" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.40.0.0" + mask: "16" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.2" + nexthop_vrf: "GRN" + nexthop_if: "" + uptime: "3w4d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "172.16.0.0" + mask: "12" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.3" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1d05h" + - vrf: "TRI" + protocol: "B" + type: "" + network: "192.168.0.0" + mask: "16" + distance: "200" + metric: "0" + nexthop_ip: "10.10.254.3" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1d05h" + - vrf: "TRI" + protocol: "C" + type: "" + network: "50.1.1.1" + mask: "32" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_vrf: "" + nexthop_if: "Loopback50" + uptime: "" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.12.1.0" + mask: "27" + distance: "200" + metric: "1000" + nexthop_ip: "192.168.12.5" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1w1d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.12.1.0" + mask: "27" + distance: "200" + metric: "1000" + nexthop_ip: "192.168.12.1" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1w1d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.12.242.64" + mask: "28" + distance: "200" + metric: "1000" + nexthop_ip: "192.168.12.5" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1w1d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "10.12.242.64" + mask: "28" + distance: "200" + metric: "1000" + nexthop_ip: "192.168.12.1" + nexthop_vrf: "" + nexthop_if: "" + uptime: "1w1d" + - vrf: "TRI" + protocol: "B" + type: "" + network: "172.16.10.0" + mask: "24" + distance: "200" + metric: "0" + nexthop_ip: "10.80.10.2" + nexthop_vrf: "" + nexthop_if: "" + uptime: "04:42:57" + - vrf: "TRI" + protocol: "B" + type: "" + network: "172.16.20.0" + mask: "24" + distance: "200" + metric: "0" + nexthop_ip: "10.80.10.2" + nexthop_vrf: "" + nexthop_if: "" + uptime: "04:42:52" From 769505da6c84814f5e78986e199590622e872a20 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 3 Feb 2023 19:07:46 +0000 Subject: [PATCH 377/412] added ip ospf intf br and fixed process on ospf nbr (#1298) --- ..._nxos_show_ip_ospf_interface_brief.textfsm | 17 +++++ .../cisco_nxos_show_ip_ospf_neighbor.textfsm | 2 +- ntc_templates/templates/index | 1 + ...isco_nxos_show_ip_ospf_interface_brief.raw | 9 +++ ...isco_nxos_show_ip_ospf_interface_brief.yml | 56 ++++++++++++++++ ...s_show_ip_ospf_interface_brief_vrf_all.raw | 14 ++++ ...s_show_ip_ospf_interface_brief_vrf_all.yml | 65 +++++++++++++++++++ .../cisco_nxos_show_ip_ospf_neighbor.raw | 6 ++ .../cisco_nxos_show_ip_ospf_neighbor.yml | 23 +++++++ ...sco_nxos_show_ip_ospf_neighbor_vrf_all.yml | 40 ++++++------ 10 files changed, 212 insertions(+), 21 deletions(-) create mode 100644 ntc_templates/templates/cisco_nxos_show_ip_ospf_interface_brief.textfsm create mode 100644 tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.raw create mode 100644 tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.yml create mode 100644 tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.raw create mode 100644 tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.yml create mode 100644 tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.raw create mode 100644 tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_interface_brief.textfsm new file mode 100644 index 0000000000..eabb77bfe2 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_ip_ospf_interface_brief.textfsm @@ -0,0 +1,17 @@ +Value Filldown PROCESS (\S+) +Value Filldown VRF (\S+) +Value Filldown INTERFACE_COUNT (\d+) +Value Required INTERFACE (\S+) +Value AREA (\S+) +Value COST (\d+) +Value STATE (\S+) +Value NEIGHBORS_FC (\d+) +Value STATUS (up|down) + +Start + ^\s+OSPF\s+Process\s+ID\s+${PROCESS}\s+VRF\s+${VRF} + ^\s+Total\s+number\s+of\s+interface:\s+${INTERFACE_COUNT} + ^\s+Interface\s+ID\s+Area\s+Cost\s+State\s+Neighbors\s+Status + ^\s+${INTERFACE}\s+\d+\s+${AREA}\s+${COST}\s+${STATE}\s+${NEIGHBORS_FC}\s+${STATUS} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm index 7101c43536..27e92a82c8 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm @@ -1,4 +1,4 @@ -Value Filldown OSPF_PID (\d+) +Value Filldown OSPF_PID (\S+) Value Filldown VRF (\S+) Value NEIGHBOR_IPADDR (\d+\.\d+\.\d+\.\d+) Value STATE (\S+.\/.\S+) diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ae03abda33..a05dbd9ed7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -301,6 +301,7 @@ cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] sn[[ooping]] st[[atistics]] cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] +cisco_nxos_show_ip_ospf_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip ospf int[[erface]] b[[rief]](?: vrf \S+)?\s*$ cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] cisco_nxos_show_interface_description.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] desc[[ription]] cisco_nxos_show_interface_transceiver.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] diff --git a/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.raw b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.raw new file mode 100644 index 0000000000..0e55c0ebaf --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.raw @@ -0,0 +1,9 @@ + OSPF Process ID DC_UNDERLAY VRF default + Total number of interface: 6 + Interface ID Area Cost State Neighbors Status + Vlan2 3 0.0.0.0 100 P2P 1 up + Lo1 1 0.0.0.0 1 LOOPBACK 0 up + Lo2 2 0.0.0.0 1 LOOPBACK 0 up + Lo3 4 0.0.0.0 1 LOOPBACK 0 up + Eth1/1 6 0.0.0.0 1 P2P 1 up + Eth1/2 5 0.0.0.0 1 P2P 1 up \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.yml b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.yml new file mode 100644 index 0000000000..879ac28f63 --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Vlan2" + area: "0.0.0.0" + cost: "100" + state: "P2P" + neighbors_fc: "1" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo1" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo2" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo3" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Eth1/1" + area: "0.0.0.0" + cost: "1" + state: "P2P" + neighbors_fc: "1" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Eth1/2" + area: "0.0.0.0" + cost: "1" + state: "P2P" + neighbors_fc: "1" + status: "up" diff --git a/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.raw b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.raw new file mode 100644 index 0000000000..e078d3d0d9 --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.raw @@ -0,0 +1,14 @@ + OSPF Process ID BLU1 VRF BLU + Total number of interface: 1 + Interface ID Area Cost State Neighbors Status + Vlan10 1 0.0.0.10 10 DR 2 up + + OSPF Process ID DC_UNDERLAY VRF default + Total number of interface: 6 + Interface ID Area Cost State Neighbors Status + Vlan2 3 0.0.0.0 100 P2P 1 up + Lo1 1 0.0.0.0 1 LOOPBACK 0 up + Lo2 2 0.0.0.0 1 LOOPBACK 0 up + Lo3 4 0.0.0.0 1 LOOPBACK 0 up + Eth1/1 6 0.0.0.0 1 P2P 1 up + Eth1/2 5 0.0.0.0 1 P2P 1 up diff --git a/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.yml b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.yml new file mode 100644 index 0000000000..bd9b8a899b --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_interface_brief/cisco_nxos_show_ip_ospf_interface_brief_vrf_all.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - process: "BLU1" + vrf: "BLU" + interface_count: "1" + interface: "Vlan10" + area: "0.0.0.10" + cost: "10" + state: "DR" + neighbors_fc: "2" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Vlan2" + area: "0.0.0.0" + cost: "100" + state: "P2P" + neighbors_fc: "1" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo1" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo2" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Lo3" + area: "0.0.0.0" + cost: "1" + state: "LOOPBACK" + neighbors_fc: "0" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Eth1/1" + area: "0.0.0.0" + cost: "1" + state: "P2P" + neighbors_fc: "1" + status: "up" + - process: "DC_UNDERLAY" + vrf: "default" + interface_count: "6" + interface: "Eth1/2" + area: "0.0.0.0" + cost: "1" + state: "P2P" + neighbors_fc: "1" + status: "up" diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.raw b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.raw new file mode 100644 index 0000000000..899c6a200a --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.raw @@ -0,0 +1,6 @@ + OSPF Process ID DC_UNDERLAY VRF default + Total number of neighbors: 3 + Neighbor ID Pri State Up Time Address Interface + 192.168.1.8 1 FULL/ - 2y0w 192.168.2.2 Vlan2 + 192.168.1.3 1 FULL/ - 2y10w 192.168.1.3 Eth1/1 + 192.168.1.4 1 FULL/ - 2y11w 192.168.1.4 Eth1/2 diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.yml b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.yml new file mode 100644 index 0000000000..8493c66aa8 --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - ospf_pid: "DC_UNDERLAY" + vrf: "default" + neighbor_ipaddr: "192.168.1.8" + state: "FULL/ -" + uptime: "2y0w" + local_ipaddr: "192.168.2.2" + interface: "Vlan2" + - ospf_pid: "DC_UNDERLAY" + vrf: "default" + neighbor_ipaddr: "192.168.1.3" + state: "FULL/ -" + uptime: "2y10w" + local_ipaddr: "192.168.1.3" + interface: "Eth1/1" + - ospf_pid: "DC_UNDERLAY" + vrf: "default" + neighbor_ipaddr: "192.168.1.4" + state: "FULL/ -" + uptime: "2y11w" + local_ipaddr: "192.168.1.4" + interface: "Eth1/2" diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml index 5b2a60e2ee..fa0f40703d 100644 --- a/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml +++ b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml @@ -1,44 +1,44 @@ --- parsed_sample: - - interface: "Vlan999" - local_ipaddr: "11.11.11.11" + - ospf_pid: "1111" + vrf: "CUSTVRF1" neighbor_ipaddr: "10.0.0.1" - ospf_pid: "1111" state: "FULL/ -" uptime: "8w6d" + local_ipaddr: "11.11.11.11" + interface: "Vlan999" + - ospf_pid: "1111" vrf: "CUSTVRF1" - - interface: "Po1" - local_ipaddr: "22.22.22.22" neighbor_ipaddr: "10.0.0.2" - ospf_pid: "1111" state: "FULL/ -" uptime: "5w6d" + local_ipaddr: "22.22.22.22" + interface: "Po1" + - ospf_pid: "1111" vrf: "CUSTVRF1" - - interface: "Po2" - local_ipaddr: "44.44.44.44" neighbor_ipaddr: "10.0.0.3" - ospf_pid: "1111" state: "FULL/ -" uptime: "5w6d" - vrf: "CUSTVRF1" - - interface: "Vlan1000" - local_ipaddr: "55.55.55.55" + local_ipaddr: "44.44.44.44" + interface: "Po2" + - ospf_pid: "2222" + vrf: "CUSTVRF2" neighbor_ipaddr: "10.0.0.4" - ospf_pid: "2222" state: "FULL/ -" uptime: "8w6d" + local_ipaddr: "55.55.55.55" + interface: "Vlan1000" + - ospf_pid: "3333" vrf: "CUSTVRF2" - - interface: "Po3" - local_ipaddr: "66.66.66.66" neighbor_ipaddr: "10.0.0.5" - ospf_pid: "3333" state: "FULL/ -" uptime: "7w2d" + local_ipaddr: "66.66.66.66" + interface: "Po3" + - ospf_pid: "3333" vrf: "CUSTVRF2" - - interface: "Po4" - local_ipaddr: "77.77.77.77" neighbor_ipaddr: "10.0.0.6" - ospf_pid: "3333" state: "INIT/DROTHER" uptime: "-" - vrf: "CUSTVRF2" + local_ipaddr: "77.77.77.77" + interface: "Po4" From 47f483c5e431aa968f956144c4f89fa03068c421 Mon Sep 17 00:00:00 2001 From: jversch6 <114570816+jversch6@users.noreply.github.com> Date: Fri, 3 Feb 2023 20:08:00 +0100 Subject: [PATCH 378/412] Update Cisco AireOS WLC show inventory (#1286) --- .../templates/cisco_wlc_ssh_show_inventory.textfsm | 1 + .../show_inventory/cisco_wlc_ssh_show_inventory2.raw | 6 ++++++ .../show_inventory/cisco_wlc_ssh_show_inventory2.yml | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.raw create mode 100644 tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.yml diff --git a/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm index fbd06a06ea..4c9417b82b 100644 --- a/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm +++ b/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm @@ -8,6 +8,7 @@ Value SN (\w+) Start ^Burned-in\s+MAC\s+Address\.+\s+${BIA_MAC} + ^Power\sSupply\s\d\.*\s(Present|Absent) ^Maximum\s+number\s+of\s+APs\s+supported\.+\s+${MAX_AP_NUM} ^NAME:\s+"${NAME}"\s+,\s*DESCR:\s+"${DESCRIPTION}" ^PID:\s+${PID},\s*VID:\s+${VID},\s*SN:\s+${SN} -> Record diff --git a/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.raw b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.raw new file mode 100644 index 0000000000..221c392d72 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.raw @@ -0,0 +1,6 @@ +Burned-in MAC Address............................ 18:B7:38:F4:CE:40 +Power Supply 1................................... Present, OK +Power Supply 2................................... Absent +Maximum number of APs supported.................. 500 +NAME: "Chassis" , DESCR: "Cisco 5500 Series Wireless LAN Controller" +PID: AIR-CT5508-K9, VID: V03, SN: FCW1234L25Y diff --git a/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.yml b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.yml new file mode 100644 index 0000000000..38b9942bd4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - bia_mac: "18:B7:38:F4:CE:40" + max_ap_num: "500" + name: "Chassis" + description: "Cisco 5500 Series Wireless LAN Controller" + pid: "AIR-CT5508-K9" + vid: "V03" + sn: "FCW1234L25Y" From 6a3256acc9fa9d14f994575c1537182a767eb294 Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Tue, 7 Feb 2023 16:44:02 +0100 Subject: [PATCH 379/412] feat(ubiquiti): Add template ubiquiti edgerouter show interfaces (#1291) --- ntc_templates/templates/index | 1 + ...biquiti_edgerouter_show_interfaces.textfsm | 14 +++++++ .../ubiquiti_edgerouter_show_interfaces.raw | 12 ++++++ .../ubiquiti_edgerouter_show_interfaces.yml | 37 +++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 ntc_templates/templates/ubiquiti_edgerouter_show_interfaces.textfsm create mode 100644 tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.raw create mode 100644 tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a05dbd9ed7..82b4f7ea89 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -573,6 +573,7 @@ ubiquiti_edgerouter_show_interfaces_ethernet_physical.textfsm, .*, ubiquiti_edge ubiquiti_edgerouter_show_dhcpv6_server_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcpv6 server leases ubiquiti_edgerouter_show_ipv6_neighbors.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ipv6 neighbors ubiquiti_edgerouter_show_dhcp_leases.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] dhcp leases +ubiquiti_edgerouter_show_interfaces.textfsm, .*, ubiquiti_edgerouter, show interfaces ubiquiti_edgerouter_show_ipv6_route.textfsm, .*, ubiquiti_edgerouter, show ipv6 route ubiquiti_edgerouter_show_ip_route.textfsm, .*, ubiquiti_edgerouter, show ip route ubiquiti_edgerouter_show_version.textfsm, .*, ubiquiti_edgerouter, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces.textfsm new file mode 100644 index 0000000000..d1a9c72742 --- /dev/null +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_interfaces.textfsm @@ -0,0 +1,14 @@ +Value Required INTERFACE (\w+) +Value List IP (\S+) +Value STATE (\w) +Value LINK_STATUS (\w) +Value DESCRIPTION ([\w\d\-\s]+) + +Start + ^[-\s]+ -> Interfaces + +Interfaces + ^(\w+) -> Continue.Record + ^${INTERFACE}\s+${IP}\s+(${STATE}/${LINK_STATUS})(\s+${DESCRIPTION})? + ^\s+${IP} + ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.raw b/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.raw new file mode 100644 index 0000000000..6489a426d0 --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.raw @@ -0,0 +1,12 @@ +Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down +Interface IP Address S/L Description +--------- ---------- --- ----------- +eth0 - u/u Port +eth1 192.168.1.1/24 u/u Eth 1 + 2a05:c100:1d::1/64 +eth2 - u/D Port +eth3 - u/D Port +lo 127.0.0.1/8 u/u + ::1/128 +eth4 192.168.1.1/24 u/u datas +eth5 2a05:c100:1d::1/64 u/u diff --git a/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.yml b/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.yml new file mode 100644 index 0000000000..1e801255ec --- /dev/null +++ b/tests/ubiquiti_edgerouter/show_interfaces/ubiquiti_edgerouter_show_interfaces.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - interface: "eth0" + description: "Port" + ip: ["-"] + link_status: "u" + state: "u" + - interface: "eth1" + description: "Eth 1" + ip: ["192.168.1.1/24", "2a05:c100:1d::1/64"] + link_status: "u" + state: "u" + - interface: "eth2" + description: "Port" + ip: ["-"] + link_status: "D" + state: "u" + - interface: "eth3" + description: "Port" + ip: ["-"] + link_status: "D" + state: "u" + - interface: "lo" + description: "" + ip: ["127.0.0.1/8", "::1/128"] + link_status: "u" + state: "u" + - interface: "eth4" + description: "datas" + ip: ["192.168.1.1/24"] + link_status: "u" + state: "u" + - interface: "eth5" + description: "" + ip: ["2a05:c100:1d::1/64"] + link_status: "u" + state: "u" From 8c6909566abf388045b9e6bc32830525bc91f297 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Tue, 7 Feb 2023 16:44:58 +0100 Subject: [PATCH 380/412] fix #1301 (#1302) --- .../templates/cisco_ios_show_version.textfsm | 3 +- .../show_version/cisco_ios_show_version6.raw | 41 +++++++++++++++++++ .../show_version/cisco_ios_show_version6.yml | 22 ++++++++++ 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version6.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version6.yml diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index d84ed29d2b..50a7fb8cf0 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -18,7 +18,8 @@ Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) Value RESTARTED (.+) Start - ^.*Software\s\(${SOFTWARE_IMAGE}+\),\sVersion\s${VERSION},*\s+RELEASE.*\(${RELEASE}\) + ^.*Software,*\s+\(${SOFTWARE_IMAGE}\),\sVersion\s${VERSION},*\s+RELEASE.*\(${RELEASE}\) + ^.*Software,*\s+\(${SOFTWARE_IMAGE}\),\sVersion\s${VERSION}, ^ROM:\s+${ROMMON} ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} -> Continue ^.*\s+uptime\s+is.*\s+${UPTIME_YEARS}\syear -> Continue diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version6.raw b/tests/cisco_ios/show_version/cisco_ios_show_version6.raw new file mode 100644 index 0000000000..26ae5706a0 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version6.raw @@ -0,0 +1,41 @@ +Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(4.0.55)E, TEST ENGINEERING ESTG_WEEKLY BUILD, synced to END_OF_FLO_ISP +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2015 by Cisco Systems, Inc. +Compiled Tue 28-Jul-15 18:52 by sasyamal + + +ROM: Bootstrap program is IOSv + +Switch5 uptime is 3 weeks, 6 days, 32 minutes +System returned to ROM by reload +System image file is "flash0:/vios_l2-adventerprisek9-m" +Last reload reason: Unknown reason + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +Cisco IOSv () processor (revision 1.0) with 935161K/111616K bytes of memory. +Processor board ID 9RYX5605M6M +8 Gigabit Ethernet interfaces +DRAM configuration is 72 bits wide with parity disabled. +256K bytes of non-volatile configuration memory. +2097152K bytes of ATA System CompactFlash 0 (Read/Write) +0K bytes of ATA CompactFlash 1 (Read/Write) +0K bytes of ATA CompactFlash 2 (Read/Write) +0K bytes of ATA CompactFlash 3 (Read/Write) + +Configuration register is 0x0 diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version6.yml b/tests/cisco_ios/show_version/cisco_ios_show_version6.yml new file mode 100644 index 0000000000..fd166e6eda --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version6.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - software_image: "vios_l2-ADVENTERPRISEK9-M" + version: "15.2(4.0.55)E" + release: "" + rommon: "Bootstrap" + hostname: "Switch5" + uptime: "3 weeks, 6 days, 32 minutes" + uptime_years: "" + uptime_weeks: "3" + uptime_days: "6" + uptime_hours: "" + uptime_minutes: "32" + reload_reason: "Unknown reason" + running_image: "/vios_l2-adventerprisek9-m" + hardware: + - "IOSv" + serial: + - "9RYX5605M6M" + config_register: "0x0" + mac: [] + restarted: "" From b3e29d374d73810759d5d49757bfad567dacff92 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 17 Feb 2023 22:49:32 +0000 Subject: [PATCH 381/412] Add new cisco asa templates (#1287) --- .../cisco_asa_show_interface_ip_brief.textfsm | 10 +++ ...isco_asa_show_ospf_interface_brief.textfsm | 13 ++++ .../cisco_asa_show_ospf_neighbor.textfsm | 12 +++ ...isco_asa_show_port-channel_summary.textfsm | 30 ++++++++ ntc_templates/templates/index | 4 + .../cisco_asa_show_interface_ip_brief.raw | 20 +++++ .../cisco_asa_show_interface_ip_brief.yml | 74 +++++++++++++++++++ .../cisco_asa_show_ospf_interface_brief.raw | 4 + .../cisco_asa_show_ospf_interface_brief.yml | 23 ++++++ .../cisco_asa_show_ospf_neighbor.raw | 5 ++ .../cisco_asa_show_ospf_neighbor.yml | 26 +++++++ .../cisco_asa_show_port-channel_summary.raw | 11 +++ .../cisco_asa_show_port-channel_summary.yml | 22 ++++++ 13 files changed, 254 insertions(+) create mode 100644 ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm create mode 100644 ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm create mode 100644 ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm create mode 100644 ntc_templates/templates/cisco_asa_show_port-channel_summary.textfsm create mode 100644 tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw create mode 100644 tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml create mode 100644 tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw create mode 100644 tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml create mode 100644 tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.raw create mode 100644 tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.yml create mode 100644 tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.raw create mode 100644 tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.yml diff --git a/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm b/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm new file mode 100644 index 0000000000..c3f8620136 --- /dev/null +++ b/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm @@ -0,0 +1,10 @@ +Value INTF (\S+) +Value IPADDR (\S+) +Value STATUS (up|down|administratively down) +Value PROTO (up|down) + +Start + ^Interface\s+IP-Address\s+Method\s+Status\s+Protocol\s*$$ + ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm new file mode 100644 index 0000000000..cd725cfd21 --- /dev/null +++ b/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm @@ -0,0 +1,13 @@ +Value INTERFACE (\S+) +Value PROCESS (\d+) +Value AREA (\d+) +Value IP_ADDRESS_MASK (\d+\.\d+\.\d+\.\d+/\d+\.\d+\.\d+\.\d+) +Value COST (\d+) +Value STATE (\S+) +Value NEIGHBORS_FC (\d+/\d+) + +Start + ^Interface\s+PID\s+Area\s+IP\s+Address/Mask\s+Cost\s+State\s+Nbrs\s+F/C\s*$$ + ^${INTERFACE}\s+${PROCESS}\s+${AREA}\s+${IP_ADDRESS_MASK}\s+${COST}\s+${STATE}\s+${NEIGHBORS_FC} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm new file mode 100644 index 0000000000..ec6f5c4238 --- /dev/null +++ b/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm @@ -0,0 +1,12 @@ +Value NEIGHBOR_ID (\d+\.\d+\.\d+\.\d+) +Value PRIORITY (\d+) +Value STATE (\S+\/\s+\-|\S+) +Value DEAD_TIME (\d+:\d+:\d+) +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value INTERFACE (\S+) + +Start + ^Neighbor\s+ID\s+Pri\s+State\s+Dead\s+Time\s+Address\s+Interface\s*$$ + ^${NEIGHBOR_ID}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_asa_show_port-channel_summary.textfsm b/ntc_templates/templates/cisco_asa_show_port-channel_summary.textfsm new file mode 100644 index 0000000000..0bcbc82384 --- /dev/null +++ b/ntc_templates/templates/cisco_asa_show_port-channel_summary.textfsm @@ -0,0 +1,30 @@ +Value Required GROUP (\d+) +Value PO_NAME (\S+) +Value PO_STATUS (\D+) +Value PROTOCOL (\S+) +Value List INTERFACES ([\w\.\/]+) +Value List INTERFACES_STATUS (\D+) + +Start + ^Group\s+Port-channel\s+Protocol\s+Span-cluster\s+Ports -> PortChannel + ^\s*$$ + +PortChannel + ^\d+ -> Continue.Record + ^${GROUP}\s+${PO_NAME}\(${PO_STATUS}\)\s+${PROTOCOL}\s* -> Continue + ^.+(-|LACP|PAgP)\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\d+ + ^\s+ + ^-+\++ + ^(RU|SU)\s+-\s+L(2|3)\s+port-channel\s+UP\s+(s|S)tate + ^(P|S)/(bndl|susp)\s+-\s+(Bundled|Suspended) + ^\s*$$ + ^. -> Error + \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 82b4f7ea89..de8a9003b2 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -171,11 +171,15 @@ cisco_asa_show_vpn-sessiondb_anyconnect.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[s cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] +cisco_asa_show_ospf_interface_brief.textfsm, .*, cisco_asa, sh[[ow]] ospf int[[erface]] brief +cisco_asa_show_port-channel_summary.textfsm, .*, cisco_asa, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] cisco_asa_show_cpu_usage_detailed.textfsm, .*, cisco_asa, sh[[ow]] cpu u[[sage]] d[[etailed]] +cisco_asa_show_interface_ip_brief.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] ip br[[ief]] cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] +cisco_asa_show_ospf_neighbor.textfsm, .*, cisco_asa, sh[[ow]] ospf nei[[ghbor]] cisco_asa_show_vpn-sessiondb.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_bgp_summary.textfsm, .*, cisco_asa, sh[[ow]] bg[[p]] s[[ummary]] diff --git a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw new file mode 100644 index 0000000000..2e3960ed9e --- /dev/null +++ b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw @@ -0,0 +1,20 @@ +Interface IP-Address Method Status Protocol +Virtual0 127.1.0.1 YES unset up up +GigabitEthernet1/1 192.168.1.253 YES CONFIG up up +GigabitEthernet1/2 unassigned YES unset up up +GigabitEthernet1/3 unassigned YES unset up up +GigabitEthernet1/4 unassigned YES unset administratively down down +GigabitEthernet1/5 unassigned YES unset administratively down down +GigabitEthernet1/6 unassigned YES unset administratively down down +GigabitEthernet1/7 unassigned YES unset administratively down down +GigabitEthernet1/8 unassigned YES unset administratively down down +Internal-Control1/1 unassigned YES unset up down +Internal-Data1/1 unassigned YES unset up up +Internal-Data1/2 unassigned YES unset down down +Internal-Data1/3 unassigned YES unset up up +Internal-Data1/4 169.254.1.1 YES unset up up +Management1/1 10.10.12.2 YES CONFIG up up +Port-channel1 unassigned YES unset up up +Port-channel1.144 10.10.14.1 YES CONFIG up up +Port-channel1.3101 10.10.25.2 YES CONFIG up up + diff --git a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml new file mode 100644 index 0000000000..db56bea064 --- /dev/null +++ b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - intf: "Virtual0" + ipaddr: "127.1.0.1" + status: "up" + proto: "up" + - intf: "GigabitEthernet1/1" + ipaddr: "192.168.1.253" + status: "up" + proto: "up" + - intf: "GigabitEthernet1/2" + ipaddr: "unassigned" + status: "up" + proto: "up" + - intf: "GigabitEthernet1/3" + ipaddr: "unassigned" + status: "up" + proto: "up" + - intf: "GigabitEthernet1/4" + ipaddr: "unassigned" + status: "administratively down" + proto: "down" + - intf: "GigabitEthernet1/5" + ipaddr: "unassigned" + status: "administratively down" + proto: "down" + - intf: "GigabitEthernet1/6" + ipaddr: "unassigned" + status: "administratively down" + proto: "down" + - intf: "GigabitEthernet1/7" + ipaddr: "unassigned" + status: "administratively down" + proto: "down" + - intf: "GigabitEthernet1/8" + ipaddr: "unassigned" + status: "administratively down" + proto: "down" + - intf: "Internal-Control1/1" + ipaddr: "unassigned" + status: "up" + proto: "down" + - intf: "Internal-Data1/1" + ipaddr: "unassigned" + status: "up" + proto: "up" + - intf: "Internal-Data1/2" + ipaddr: "unassigned" + status: "down" + proto: "down" + - intf: "Internal-Data1/3" + ipaddr: "unassigned" + status: "up" + proto: "up" + - intf: "Internal-Data1/4" + ipaddr: "169.254.1.1" + status: "up" + proto: "up" + - intf: "Management1/1" + ipaddr: "10.10.12.2" + status: "up" + proto: "up" + - intf: "Port-channel1" + ipaddr: "unassigned" + status: "up" + proto: "up" + - intf: "Port-channel1.144" + ipaddr: "10.10.14.1" + status: "up" + proto: "up" + - intf: "Port-channel1.3101" + ipaddr: "10.10.25.2" + status: "up" + proto: "up" diff --git a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw new file mode 100644 index 0000000000..b8cb6ee38d --- /dev/null +++ b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw @@ -0,0 +1,4 @@ +Interface PID Area IP Address/Mask Cost State Nbrs F/C +Outside 101 101 10.10.100.10/255.255.255.248 10 P2P 1/1 +Transit 100 100 10.255.111.1/255.255.255.248 10 BDR 1/1 +Inside 100 110 10.25.1.17/255.255.255.240 10 DR 2/2 diff --git a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml new file mode 100644 index 0000000000..cde46d739f --- /dev/null +++ b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - interface: "Outside" + process: "101" + area: "101" + ip_address_mask: "10.10.100.10/255.255.255.248" + cost: "10" + state: "P2P" + neighbors_fc: "1/1" + - interface: "Transit" + process: "100" + area: "100" + ip_address_mask: "10.255.111.1/255.255.255.248" + cost: "10" + state: "BDR" + neighbors_fc: "1/1" + - interface: "Inside" + process: "100" + area: "110" + ip_address_mask: "10.25.1.17/255.255.255.240" + cost: "10" + state: "DR" + neighbors_fc: "2/2" diff --git a/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.raw b/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.raw new file mode 100644 index 0000000000..ae974abdbc --- /dev/null +++ b/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.raw @@ -0,0 +1,5 @@ +Neighbor ID Pri State Dead Time Address Interface +10.10.100.9 0 FULL/ - 0:00:07 10.255.100.9 Outside +192.168.100.3 1 FULL/DR 0:00:30 192.168.100.3 Transit +10.25.1.18 1 FULL/BDR 0:00:07 10.253.1.18 Inside +10.25.1.19 1 FULL/DROTHER 0:00:07 10.253.1.19 Inside diff --git a/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.yml b/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.yml new file mode 100644 index 0000000000..b4a5c26a4e --- /dev/null +++ b/tests/cisco_asa/show_ospf_neighbor/cisco_asa_show_ospf_neighbor.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - neighbor_id: "10.10.100.9" + priority: "0" + state: "FULL/ -" + dead_time: "0:00:07" + address: "10.255.100.9" + interface: "Outside" + - neighbor_id: "192.168.100.3" + priority: "1" + state: "FULL/DR" + dead_time: "0:00:30" + address: "192.168.100.3" + interface: "Transit" + - neighbor_id: "10.25.1.18" + priority: "1" + state: "FULL/BDR" + dead_time: "0:00:07" + address: "10.253.1.18" + interface: "Inside" + - neighbor_id: "10.25.1.19" + priority: "1" + state: "FULL/DROTHER" + dead_time: "0:00:07" + address: "10.253.1.19" + interface: "Inside" diff --git a/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.raw b/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.raw new file mode 100644 index 0000000000..f69bbc84fb --- /dev/null +++ b/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.raw @@ -0,0 +1,11 @@ +Flags: D - down P - bundled in port-channel + I - stand-alone s - suspended + H - Hot-standby (LACP only) + U - in use N - not in use, no aggregation/nameif + M - not in use, no aggregation due to minimum links not met + w - waiting to be aggregated +Number of channel-groups in use: 3 +Group Port-channel Protocol Span-cluster Ports +------+-------------+---------+------------+------------------------------------ +1 Po1(U) LACP No Gi0/0(P) Gi0/1(P) +2 Po2(U) LACP No Gi0/2(P) Gi0/3(P) diff --git a/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.yml b/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.yml new file mode 100644 index 0000000000..ff4de33fcd --- /dev/null +++ b/tests/cisco_asa/show_port-channel_summary/cisco_asa_show_port-channel_summary.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - group: "1" + po_name: "Po1" + po_status: "U" + protocol: "LACP" + interfaces: + - "Gi0/0" + - "Gi0/1" + interfaces_status: + - "P" + - "P" + - group: "2" + po_name: "Po2" + po_status: "U" + protocol: "LACP" + interfaces: + - "Gi0/2" + - "Gi0/3" + interfaces_status: + - "P" + - "P" From 1aa0d42de2e0151994f2d01a941b6c6c54922087 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Fri, 17 Feb 2023 22:57:23 +0000 Subject: [PATCH 382/412] Add: cisco wlc templates for show flexconnect and interface group summary (#1299) --- ...lc_ssh_show_flexconnect_group_summary.textfsm | 16 ++++++++++++++++ ..._wlc_ssh_show_interface_group_summary.textfsm | 11 +++++++++++ ntc_templates/templates/index | 2 ++ ...co_wlc_ssh_show_flexconnect_group_summary.raw | 8 ++++++++ ...co_wlc_ssh_show_flexconnect_group_summary.yml | 14 ++++++++++++++ ...isco_wlc_ssh_show_interface_group_summary.raw | 5 +++++ ...isco_wlc_ssh_show_interface_group_summary.yml | 14 ++++++++++++++ 7 files changed, 70 insertions(+) create mode 100644 ntc_templates/templates/cisco_wlc_ssh_show_flexconnect_group_summary.textfsm create mode 100644 ntc_templates/templates/cisco_wlc_ssh_show_interface_group_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.yml create mode 100644 tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.yml diff --git a/ntc_templates/templates/cisco_wlc_ssh_show_flexconnect_group_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_flexconnect_group_summary.textfsm new file mode 100644 index 0000000000..118f1ff6b8 --- /dev/null +++ b/ntc_templates/templates/cisco_wlc_ssh_show_flexconnect_group_summary.textfsm @@ -0,0 +1,16 @@ +Value Filldown FLEXCONNECT_GROUP_COUNT (\d+) +Value Required FLEXCONNECT_GROUP_NAME (.*\S) +Value AP_COUNT (\d+) + + +Start + ^\s*FlexConnect\sGroup\s+Summary:\s*Count:\s+${FLEXCONNECT_GROUP_COUNT} + ^\s*Group\s+Name\s+#\s+Aps -> Flexconnect + ^\s*$$ + ^. -> Error + +Flexconnect + ^-+ + ^${FLEXCONNECT_GROUP_NAME}\s+${AP_COUNT} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_wlc_ssh_show_interface_group_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_interface_group_summary.textfsm new file mode 100644 index 0000000000..486cb5bc5e --- /dev/null +++ b/ntc_templates/templates/cisco_wlc_ssh_show_interface_group_summary.textfsm @@ -0,0 +1,11 @@ +Value INTERFACE_GROUP_NAME (\S+) +Value TOTAL_INTERFACES (\d+) +Value TOTAL_WLANS (\d+) +Value TOTAL_AP_GROUPS (\d+) + +Start + ^Interface\s*Group\s*Name\s*Total\s*Interfaces\s*Total\s*Wlans\s*Total\s*AP\s*Groups\s*Quarantine + ^-+ + ^${INTERFACE_GROUP_NAME}\s+${TOTAL_INTERFACES}\s+${TOTAL_WLANS}\s+${TOTAL_AP_GROUPS} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index de8a9003b2..0c65220e70 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -364,8 +364,10 @@ cisco_s300_show_mac_address-table.textfsm, .*, cisco_s300, sh[[ow]] mac address- cisco_s300_show_lldp_neighbors.textfsm, .*, cisco_s300, sh[[ow]] lld[[p]] neig[[hbors]] cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] +cisco_wlc_ssh_show_flexconnect_group_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] fl[[exconnect]] gr[[oup]] s[[ummary]] cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] +cisco_wlc_ssh_show_interface_group_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] gr[[oup]] s[[ummary]] cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] d[[etailed]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_redundancy_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] su[[mmary]] diff --git a/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.raw b/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.raw new file mode 100644 index 0000000000..9046fc30d2 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.raw @@ -0,0 +1,8 @@ +FlexConnect Group Summary: Count: 4 +Group Name # Aps +-------------------- -------- + +FlexCon Group - Grp1 44 +FlexCon Group - Grp2 14 +default-flex-group 0 +default-flex-group-1826280552 0 \ No newline at end of file diff --git a/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.yml b/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.yml new file mode 100644 index 0000000000..3040c2d6cb --- /dev/null +++ b/tests/cisco_wlc_ssh/show_flexconnect_group_summary/cisco_wlc_ssh_show_flexconnect_group_summary.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - flexconnect_group_count: "4" + flexconnect_group_name: "FlexCon Group - Grp1" + ap_count: "44" + - flexconnect_group_count: "4" + flexconnect_group_name: "FlexCon Group - Grp2" + ap_count: "14" + - flexconnect_group_count: "4" + flexconnect_group_name: "default-flex-group" + ap_count: "0" + - flexconnect_group_count: "4" + flexconnect_group_name: "default-flex-group-1826280552" + ap_count: "0" diff --git a/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.raw b/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.raw new file mode 100644 index 0000000000..198c97e2cd --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.raw @@ -0,0 +1,5 @@ +Interface Group Name Total Interfaces Total Wlans Total AP Groups Quarantine +-------------------------------- ---------------- ----------- --------------- ---------- +intgrp_guest 1 1 2 No +intgrp_prod 1 1 6 No +intgrp_byod 1 2 11 No diff --git a/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.yml b/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.yml new file mode 100644 index 0000000000..cdc6c13503 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_group_summary/cisco_wlc_ssh_show_interface_group_summary.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - interface_group_name: "intgrp_guest" + total_interfaces: "1" + total_wlans: "1" + total_ap_groups: "2" + - interface_group_name: "intgrp_prod" + total_interfaces: "1" + total_wlans: "1" + total_ap_groups: "6" + - interface_group_name: "intgrp_byod" + total_interfaces: "1" + total_wlans: "2" + total_ap_groups: "11" From 939810d882f8adb4588b091cc105c842c04e22b9 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 5 Mar 2023 17:29:44 +0100 Subject: [PATCH 383/412] Fix display interface and ip interface (#1313) --- .../hp_comware_display_interface.textfsm | 81 ++++++++++--------- .../hp_comware_display_ip_interface.textfsm | 54 +++++++------ .../hp_comware_display_interface4.raw | 40 +++++++++ .../hp_comware_display_interface4.yml | 41 ++++++++++ .../hp_comware_display_ip_interface1.raw | 2 + .../hp_comware_display_ip_interface1.yml | 7 ++ 6 files changed, 163 insertions(+), 62 deletions(-) create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface4.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface4.yml create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.raw create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm index d45d5b34f9..2135b1d648 100644 --- a/ntc_templates/templates/hp_comware_display_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -16,43 +16,48 @@ Value List VLAN_PERMITTED ([^,]+) Start #^\S+$$.Record - ^${INTF}$$ - ^Current\s+state:\s+${LINE_STATUS} - ^Line\s+protocol\s+state:\s+${PROTOCOL_STATUS} - ^Description:\s+${DESCRIPTION} - ^Bandwidth:\s+${BANDWIDTH} - ^Maximum\s+transmission\s+unit:\s+${MTU} - ^Maximum\s+frame\s+length:\s+${L2MTU} - ^Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Pp]rimary\) - ^Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Ss]ub\) - ^IP\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} - ^IPv6\s+packet\s+frame\s+type:\s+Ethernet\s+II,\s+hardware\s+address:\s+${HW_ADDRESS} - ^${SPEED}\s+mode,\s+${DUPLEX}\s+mode - ^PVID:\s+${VLAN_NATIVE} - ^Port\s+link-type:\s+${PORT_LINK_TYPE} + ^\s*${INTF}$$ + ^\s*Current\s+state:\s+${LINE_STATUS} + ^\s*${INTF}\s+current\s+state\s*:\s*${LINE_STATUS} + ^\s*Line\s+protocol\s+state:\s+${PROTOCOL_STATUS} + ^\s*Line\s+protocol\s+current\s+state:\s+${PROTOCOL_STATUS} + ^\s*Description:\s+${DESCRIPTION} + ^\s*Bandwidth:\s+${BANDWIDTH} + ^\s*Maximum\s+transmission\s+unit:\s+${MTU} + ^\s*The\sMaximum\s+Transmit\s+Unit\sis\s+${MTU} + ^\s*Maximum\s+frame\s+length:\s+${L2MTU} + ^\s*The\sMaximum\s+Frame\s+Length\sis\s+${L2MTU} + ^\s*Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Pp]rimary\) + ^\s*Internet\s+[Aa]ddress\sis\s+${IP_ADDRESS}\s+[Pp]rimary + ^\s*Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Ss]ub\) + ^\s*IP\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype:\s+[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} + ^\s*IPv6\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype:\s+[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} + ^\s*${SPEED}\s+mode,\s+${DUPLEX}\s+mode + ^\s*PVID:\s+${VLAN_NATIVE} + ^\s*Port\s+link-type:\s+${PORT_LINK_TYPE} # Trunk - Passing VLANs (parsing multiple times with Continue) - ^\s+VLAN\s+Passing:\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:\s+${VLAN_PASSING},* -> Continue # Skip initial VLANs and read the Nth + 1 - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){1}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){2}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){3}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){4}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){5}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){6}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){7}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){8}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){9}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){10}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){11}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){12}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){13}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){14}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){15}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){16}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){17}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){18}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){19}\s+${VLAN_PASSING},* -> Continue - ^\s+VLAN\s+Passing:(?:\s+[^,]+,){20}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){1}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){2}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){3}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){4}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){5}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){6}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){7}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){8}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){9}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){10}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){11}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){12}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){13}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){14}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){15}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){16}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){17}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){18}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){19}\s+${VLAN_PASSING},* -> Continue + ^\s+VLAN\s+[Pp]assing\s*:(?:\s+[^,]+,){20}\s+${VLAN_PASSING},* -> Continue ^\s{14,}${VLAN_PASSING},* -> Continue ^\s{14,}(?:\s+[^,]+,){1}\s+${VLAN_PASSING},* -> Continue ^\s{14,}(?:\s+[^,]+,){2}\s+${VLAN_PASSING},* -> Continue @@ -75,7 +80,7 @@ Start ^\s{14,}(?:\s+[^,]+,){19}\s+${VLAN_PASSING},* -> Continue ^\s{14,}(?:\s+[^,]+,){20}\s+${VLAN_PASSING},* -> Continue # End od VLAN Passing - ^\s+VLAN\s+Passing: + ^\s+VLAN\s+[Pp]assing\s*: ^\s{14,} # Trunk - Permitted VLANs (parsing multiple times with Continue) ^\s+VLAN\s+permitted:\s+${VLAN_PERMITTED},* -> Continue @@ -137,7 +142,7 @@ Start ^\s*Broadcast ^\s*Multicast ^\s*Unicast - ^\s*MDI\s+type + ^\s*M[Dd][Ii]\s+type ^\s*Port\s+priority ^\s*Current\s*system ^\s*Peak @@ -153,6 +158,8 @@ Start ^\s+\d+\s+unicasts ^\s+\d+\s+CRC ^\s+\d+\s+aborts + ^\s+\d+\s+packets\s+input + ^\s+\d+\s+packets\s+output ^\s+\d+\s+lost ^\s+\d+\s+broadcasts ^\s+\d+\s+ignored diff --git a/ntc_templates/templates/hp_comware_display_ip_interface.textfsm b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm index 9da45b80bd..6925412e0f 100644 --- a/ntc_templates/templates/hp_comware_display_ip_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm @@ -6,37 +6,41 @@ Value MTU (\d+) Start - ^${INTF}\s+current\s+state:\s+${LINE_STATUS} -> Interface + ^${INTF}\s+current\s+state\s*:\s*${LINE_STATUS} -> Interface ^. -> Error Interface ^\S+\s+current\s+state -> Continue.Record - ^${INTF}\s+current\s+state:\s+${LINE_STATUS} - ^Line\s+protocol\s+current\s+state:\s+${PROTOCOL_STATUS} + ^${INTF}\s+current\s+state\s*:\s*${LINE_STATUS} + ^Line\s+protocol\s+current\s+state\s*:\s*${PROTOCOL_STATUS} ^Internet\s+Address\s+is\s+${IPADDR}\s+Primary ^Internet\s+Address\s+is\s+${IPADDR}\s+Sub - ^Broadcast\s+address:\s\S+ - ^The\s+Maximum\s+Transmit\s+Unit:\s+${MTU}\s+bytes - ^input\spackets\s:\s\d+,\sbytes\s:\s\d+,\smulticasts\s:\s\d+ - ^output\spackets\s:\s\d+,\sbytes\s:\s\d+,\smulticasts\s:\s\d+ - ^TTL\sinvalid\spacket\snumber:\s+\d+ - ^ICMP\spacket\sinput\snumber:\s+\d+ - ^\s+Echo\sreply:\s+\d+ - ^\s+Unreachable:\s+\d+ - ^\s+Source\squench:\s+\d+ - ^\s+Routing\sredirect:\s+\d+ - ^\s+Echo\srequest:\s+\d+ - ^\s+Router\sadvert:\s+\d+ - ^\s+Router\ssolicit:\s+\d+ - ^\s+Time\sexceed:\s+\d+ - ^\s+IP\sheader\sbad:\s+\d+ - ^\s+Timestamp\srequest:\s+\d+ - ^\s+Timestamp\sreply:\s+\d+ - ^\s+Information\srequest:\s+\d+ - ^\s+Information\sreply:\s+\d+ - ^\s+Netmask\srequest:\s+\d+ - ^\s+Netmask\sreply:\s+\d+ - ^\s+Unknown\stype:\s+\d+ + ^Broadcast\s+address\s*:\s*\S+ + ^The\s+Maximum\s+Transmit\s+Unit\s*:\s*${MTU}\s+bytes + ^input\spackets\s*:\s*\d+,\sbytes\s*:\s*\d+,\smulticasts\s*:\s*\d+ + ^output\spackets\s*:\s*\d+,\sbytes\s*:\s*\d+,\smulticasts\s*:\s*\d+ + ^TTL\sinvalid\spacket\snumber\s*:\s*\d+ + ^ICMP\spacket\sinput\snumber\s*:\s*\d+ + ^ARP\spacket\sinput\snumber\s*:\s*\d+ + ^\s+Echo\sreply\s*:\s*\d+ + ^\s+Unreachable\s*:\s*\d+ + ^\s+Source\squench\s*:\s*\d+ + ^\s+Routing\sredirect\s*:\s*\d+ + ^\s+Echo\srequest\s*:\s*\d+ + ^\s+Router\sadvert\s*:\s*\d+ + ^\s+Router\ssolicit\s*:\s*\d+ + ^\s+Time\sexceed\s*:\s*\d+ + ^\s+IP\sheader\sbad\s*:\s*\d+ + ^\s+Timestamp\srequest\s*:\s*\d+ + ^\s+Timestamp\sreply\s*:\s*\d+ + ^\s+Information\srequest\s*:\s*\d+ + ^\s+Information\sreply\s*:\s*\d+ + ^\s+Netmask\srequest\s*:\s*\d+ + ^\s+Netmask\sreply\s*:\s*\d+ + ^\s+Unknown\stype\s*:\s*\d+ + ^\s+Request\spacket\s*:\s*\d+ + ^\s+Reply\spacket\s*:\s*\d+ + ^\s+Unknown\spacket\s*:\s*\d+ ^\s*$$ ^. -> Error diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface4.raw b/tests/hp_comware/display_interface/hp_comware_display_interface4.raw new file mode 100644 index 0000000000..ffade2056c --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface4.raw @@ -0,0 +1,40 @@ + Bridge-Aggregation1 current state: UP + IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 5c8a-3800-0000 + Description: Bridge-Aggregation1 Interface + 20Gbps-speed mode, full-duplex mode + Link speed type is autonegotiation, link duplex type is autonegotiation + PVID: 1 + Port link-type: trunk + VLAN passing : 1(default vlan), 1000, 1100 + VLAN permitted: 1(default vlan), 2-4094 + Trunk port encapsulation: IEEE 802.1q + Last clearing of counters: Never + Last 300 seconds input: 7 packets/sec 1173 bytes/sec 0% + Last 300 seconds output: 2 packets/sec 627 bytes/sec 0% + Input (total): 12780551 packets, 3686268373 bytes + 3708742 unicasts, 1208702 broadcasts, 7863107 multicasts + Input (normal): 12780551 packets, - bytes + 3708742 unicasts, 1208702 broadcasts, 7863107 multicasts + Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors + Output (total): 3188930 packets, 1014669367 bytes + 2841863 unicasts, 4809 broadcasts, 342258 multicasts, 0 pauses + Output (normal): 3188930 packets, - bytes + 2841863 unicasts, 4809 broadcasts, 342258 multicasts, 0 pauses + Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier + +Vlan-interface123 current state: UP +Line protocol current state: UP +Description: Vlan-interface1231 Interface +The Maximum Transmit Unit is 1500 +Internet Address is 10.0.1.1/24 Primary +IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 5c8a-3830-0001 +IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 5c8a-3830-0001 + Last clearing of counters: Never + Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec + Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 drops + 0 packets output, 0 bytes, 0 drops diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface4.yml b/tests/hp_comware/display_interface/hp_comware_display_interface4.yml new file mode 100644 index 0000000000..05e71540a1 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface4.yml @@ -0,0 +1,41 @@ +--- +parsed_sample: + - intf: "Bridge-Aggregation1" + line_status: "UP" + protocol_status: "" + hw_address: + - "5c8a-3800-0000" + description: "Bridge-Aggregation1 Interface" + bandwidth: "" + speed: "20Gbps-speed" + duplex: "full-duplex" + mtu: "" + l2mtu: "" + vlan_native: "1" + ip_address: [] + port_link_type: "trunk" + vlan_passing: + - "1(default vlan)" + - "1000" + - "1100" + vlan_permitted: + - "1(default vlan)" + - "2-4094" + - intf: "Vlan-interface123" + line_status: "UP" + protocol_status: "UP" + hw_address: + - "5c8a-3830-0001" + - "5c8a-3830-0001" + description: "Vlan-interface1231 Interface" + bandwidth: "" + speed: "" + duplex: "" + mtu: "1500" + l2mtu: "" + vlan_native: "" + ip_address: + - "10.0.1.1/24" + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.raw b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.raw new file mode 100644 index 0000000000..3213c8b7ce --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.raw @@ -0,0 +1,2 @@ +GigabitEthernet0/0/1 current state :UP +Line protocol current state :DOWN diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml new file mode 100644 index 0000000000..d7e06a912e --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - intf: "GigabitEthernet0/0/1" + ipaddr: [] + mtu: "" + line_status: "UP" + protocol_status: "DOWN" From 90022f58bf5d8ed3f99f0610afbe9c71b6f03a7f Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 5 Mar 2023 17:32:39 +0100 Subject: [PATCH 384/412] NXOS show ip int fails without WCCP (#1307) * fix template and add test * re-trigger build --- .../cisco_nxos_show_ip_interface.textfsm | 4 +- .../cisco_nxos_show_ip_interface4.raw | 53 +++++++ .../cisco_nxos_show_ip_interface4.yml | 144 ++++++++++++++++++ 3 files changed, 200 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm index 090a333b55..d66a5035ad 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm @@ -71,7 +71,9 @@ Value WCCP_REDIRECT_INBOUND (\S+) Value WCCP_REDIRECT_EXCLUDE (\S+) Start + ^IP\s+Interface\s+Status.*$$ -> Continue.Record ^IP\s+Interface\s+Status\s+for\s+VRF\s+\"${VRF_NAME}\"\s*$$ + ^\S+\s+Interface\s+status.*$$ -> Continue.Record ^${INTERFACE},.*protocol-${PROTOCOL_STATUS}\/link-${LINK_STATUS}\/admin-${ADMIN_STATUS},.*$$ ^\s*IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}(\s+route-preference.+)?$$ # Secondary IP addresses are stored as a list @@ -108,6 +110,6 @@ Start ^\s*Labeled\s+bytes\s+:\s+${LABELED_BYTES_SENT}\/${LABELED_BYTES_RECEIVED}\/${LABELED_BYTES_FORWARDED}\/${LABELED_BYTES_ORIGINATED}\/${LABELED_BYTES_CONSUMED}\s*$$ ^\s*WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND}\s*$$ ^\s*WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND}\s*$$ - ^\s*WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ -> Record + ^\s*WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ ^\s*$$ ^. -> Error diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.raw new file mode 100644 index 0000000000..aafcea45ff --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.raw @@ -0,0 +1,53 @@ +IP Interface Status for VRF "default" +Vlan156, Interface status: protocol-down/link-down/admin-up, iod: 2, + IP address: 155.155.155.1, IP subnet: 155.155.155.0/30 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/0/0/0/0 + Unicast bytes : 0/0/0/0/0 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 +Ethernet1/5, Interface status: protocol-down/link-down/admin-up, iod: 15, + IP address: 10.1.0.1, IP subnet: 10.1.0.0/30 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/0/0/0/0 + Unicast bytes : 0/0/0/0/0 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.yml new file mode 100644 index 0000000000..ea8d54bb10 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface4.yml @@ -0,0 +1,144 @@ +--- +parsed_sample: + - vrf_name: "default" + interface: "Vlan156" + protocol_status: "down" + link_status: "down" + admin_status: "up" + primary_ip_address: "155.155.155.1" + primary_ip_subnet: "155.155.155.0/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + acl_out: "" + unicast_packets_sent: "0" + unicast_packets_received: "0" + unicast_packets_forwarded: "0" + unicast_packets_originated: "0" + unicast_packets_consumed: "0" + unicast_bytes_sent: "0" + unicast_bytes_received: "0" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "0" + unicast_bytes_consumed: "0" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "" + wccp_redirect_inbound: "" + wccp_redirect_exclude: "" + - vrf_name: "default" + interface: "Ethernet1/5" + protocol_status: "down" + link_status: "down" + admin_status: "up" + primary_ip_address: "10.1.0.1" + primary_ip_subnet: "10.1.0.0/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + secondary_route_preference: [] + secondary_route_preference_tag: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + acl_out: "" + unicast_packets_sent: "0" + unicast_packets_received: "0" + unicast_packets_forwarded: "0" + unicast_packets_originated: "0" + unicast_packets_consumed: "0" + unicast_bytes_sent: "0" + unicast_bytes_received: "0" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "0" + unicast_bytes_consumed: "0" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "" + wccp_redirect_inbound: "" + wccp_redirect_exclude: "" From 22fbb572e75ceea65633292cf3a7665e8ba3244b Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 5 Mar 2023 17:41:50 +0100 Subject: [PATCH 385/412] Drop internet prot lines (#1305) --- .../cisco_xr_show_ipv4_interface.textfsm | 1 + .../cisco_xr_show_ipv4_interface1.raw | 18 ++++++++++++++++++ .../cisco_xr_show_ipv4_interface1.yml | 16 ++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100755 tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.raw create mode 100644 tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.yml diff --git a/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm b/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm index 90688c4a3f..c1f56f94dc 100644 --- a/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm +++ b/ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm @@ -17,6 +17,7 @@ Start ^\s+Helper.*$$ ^\s+Multicast.*$$ ^\s+2(?:2[4-9]|3\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d?|0)){3}$$ + ^\s+Internet\s+protocol.*$$ ^\s+Directed.*$$ ^\s+Outgoing.*$$ ^\s+Inbound.*$$ diff --git a/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.raw b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.raw new file mode 100755 index 0000000000..791119edf1 --- /dev/null +++ b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.raw @@ -0,0 +1,18 @@ +Mon Feb 13 17:30:47.464 UTC +MgmtEth0/0/CPU0/0 is Up, ipv4 protocol is Up + Vrf is default (vrfid 0x60000000) + Internet address is 172.25.82.44/24 + MTU is 1514 (1500 is available to IP) + Helper address is not set + Multicast reserved groups joined: 224.0.0.2 224.0.0.1 + Directed broadcast forwarding is disabled + Outgoing access list is not set + Inbound common access list is not set, access list is not set + Proxy ARP is disabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + Table Id is 0xe0000000 +GigabitEthernet0/0/0/0 is Shutdown, ipv4 protocol is Down + Vrf is default (vrfid 0x60000000) + Internet protocol processing disabled diff --git a/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.yml b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.yml new file mode 100644 index 0000000000..463ab1b1b4 --- /dev/null +++ b/tests/cisco_xr/show_ipv4_interface/cisco_xr_show_ipv4_interface1.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - interface: "MgmtEth0/0/CPU0/0" + ip_address: "172.25.82.44/24" + link_status: "Up" + mtu: "1514" + protocol: "ipv4" + protocol_status: "Up" + vrf: "default" + - interface: "GigabitEthernet0/0/0/0" + ip_address: "" + link_status: "Shutdown" + mtu: "" + protocol: "ipv4" + protocol_status: "Down" + vrf: "default" From 4dfca8963ca1bed32dbc1ee332c85b902946537e Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Sun, 5 Mar 2023 17:42:45 +0100 Subject: [PATCH 386/412] Cisco add template ipv6 access-lists (#1312) --- .../cisco_ios_show_ipv6_access-lists.textfsm | 21 ++ ntc_templates/templates/index | 1 + .../cisco_ios_show_ipv6_access-lists.raw | 23 ++ .../cisco_ios_show_ipv6_access-lists.yml | 236 ++++++++++++++++++ .../ubiquiti_edgerouter_show_ip_route.raw | 2 +- 5 files changed, 282 insertions(+), 1 deletion(-) create mode 100644 ntc_templates/templates/cisco_ios_show_ipv6_access-lists.textfsm create mode 100644 tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.raw create mode 100644 tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.yml diff --git a/ntc_templates/templates/cisco_ios_show_ipv6_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_access-lists.textfsm new file mode 100644 index 0000000000..ccdb06d8a6 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ipv6_access-lists.textfsm @@ -0,0 +1,21 @@ +Value Required,Filldown ACL_NAME (\S+) +Value ACTION (permit|deny) +Value PROTOCOL (\S+) +Value IPV6_SOURCE ([A-Za-z0-9:]+(\/(?:\d{1,3})|)) +Value IPV6_DESTINATION ([A-Za-z0-9:]+(\/(?:\d{1,3})|)) +Value SRC_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt|established) +Value SEQUENCE (\d+) +Value PORT_NUMBER (\d+) +Value LOG (log) +Value AUTHENTIFICATION (auth) +Value ROUTING (routing) +Value SRC_PORT_RANGE_START (\S+) +Value SRC_PORT_RANGE_END (\S+) + + +Start + ^IPv6\s+access\s+list\s+${ACL_NAME}\s* -> Continue + ^\s+${ACTION}\s+${PROTOCOL}\s+${IPV6_SOURCE}\s+${IPV6_DESTINATION}\s+(${SRC_PORT_MATCH}\s|)sequence\s${SEQUENCE}\s*$$ -> Record + ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+|)${IPV6_SOURCE}\s+(host\s+|)(${IPV6_DESTINATION}\s+|)(${SRC_PORT_MATCH}\s|range\s${SRC_PORT_RANGE_START}\s${SRC_PORT_RANGE_END}\s|)(${LOG}\s+|)(${AUTHENTIFICATION}\s+|)(${ROUTING}\s+|)(${PORT_NUMBER}\s+|)sequence\s${SEQUENCE}\s*$$ -> Record + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0c65220e70..da56bed884 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -235,6 +235,7 @@ cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] +cisco_ios_show_ipv6_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ipv6 acce[[ss-lists]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] diff --git a/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.raw b/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.raw new file mode 100644 index 0000000000..b04f2b9c3a --- /dev/null +++ b/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.raw @@ -0,0 +1,23 @@ +IPv6 access list ACL2_IPv6 + deny ipv6 2A01:728::/29 any sequence 10 +IPv6 access list ACL3_IPv6 + permit tcp 2A01:720::/29 any log auth routing sequence 10 +IPv6 access list ACL_IPv6 + deny ipv6 2A01:728::/29 any sequence 10 +IPv6 access list WAN_LOCAL + permit tcp AAAA:BBBB::/64 2A05:C100:53::/64 eq 6543 sequence 11 + permit udp AAAA:BBBB::/64 2A05:C100:53::/64 eq 6543 sequence 12 + deny udp host 2A05:C100:53::17 host 2A05:C100:53::145 eq 45 sequence 14 + deny tcp host 2A05:C100:53::14 host 2A05:C100:53::17 range 46 48 sequence 15 + permit tcp any any established sequence 9996 + permit icmp any any sequence 9997 + permit udp any any sequence 9998 + deny ipv6 any any sequence 9999 +IPv6 access list WAN_ROUTEUR + permit ipv6 2A05:C100:53::/64 any sequence 10 + permit ipv6 2A05:C100:53:1::/64 any sequence 20 + permit ipv6 2A05:C100::/48 any sequence 30 + permit ipv6 2A00:41E0::/48 any sequence 40 + permit ipv6 2A05:C100:43::/64 any sequence 45 + deny ipv6 any any sequence 50 + permit tcp any any established sequence 9996 diff --git a/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.yml b/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.yml new file mode 100644 index 0000000000..79f172a277 --- /dev/null +++ b/tests/cisco_ios/show_ipv6_access-lists/cisco_ios_show_ipv6_access-lists.yml @@ -0,0 +1,236 @@ +--- +parsed_sample: + - acl_name: "ACL2_IPv6" + action: "deny" + protocol: "ipv6" + ipv6_source: "2A01:728::/29" + sequence: "10" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "ACL3_IPv6" + action: "permit" + protocol: "tcp" + ipv6_source: "2A01:720::/29" + sequence: "10" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "log" + authentification: "auth" + routing: "routing" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "ACL_IPv6" + action: "deny" + protocol: "ipv6" + ipv6_source: "2A01:728::/29" + sequence: "10" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "permit" + protocol: "tcp" + ipv6_source: "AAAA:BBBB::/64" + sequence: "11" + ipv6_destination: "2A05:C100:53::/64" + src_port_match: "eq" + port_number: "6543" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "permit" + protocol: "udp" + ipv6_source: "AAAA:BBBB::/64" + sequence: "12" + ipv6_destination: "2A05:C100:53::/64" + src_port_match: "eq" + port_number: "6543" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "deny" + protocol: "udp" + ipv6_source: "2A05:C100:53::17" + sequence: "14" + ipv6_destination: "2A05:C100:53::145" + src_port_match: "eq" + port_number: "45" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "deny" + protocol: "tcp" + ipv6_source: "2A05:C100:53::14" + sequence: "15" + ipv6_destination: "2A05:C100:53::17" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "46" + src_port_range_end: "48" + - acl_name: "WAN_LOCAL" + action: "permit" + protocol: "tcp" + ipv6_source: "any" + sequence: "9996" + ipv6_destination: "any" + src_port_match: "established" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "permit" + protocol: "icmp" + ipv6_source: "any" + sequence: "9997" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "permit" + protocol: "udp" + ipv6_source: "any" + sequence: "9998" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_LOCAL" + action: "deny" + protocol: "ipv6" + ipv6_source: "any" + sequence: "9999" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "ipv6" + ipv6_source: "2A05:C100:53::/64" + sequence: "10" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "ipv6" + ipv6_source: "2A05:C100:53:1::/64" + sequence: "20" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "ipv6" + ipv6_source: "2A05:C100::/48" + sequence: "30" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "ipv6" + ipv6_source: "2A00:41E0::/48" + sequence: "40" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "ipv6" + ipv6_source: "2A05:C100:43::/64" + sequence: "45" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "deny" + protocol: "ipv6" + ipv6_source: "any" + sequence: "50" + ipv6_destination: "any" + src_port_match: "" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" + - acl_name: "WAN_ROUTEUR" + action: "permit" + protocol: "tcp" + ipv6_source: "any" + sequence: "9996" + ipv6_destination: "any" + src_port_match: "established" + port_number: "" + log: "" + authentification: "" + routing: "" + src_port_range_start: "" + src_port_range_end: "" diff --git a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw index 8c1d9b77ab..ff23e62982 100644 --- a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw +++ b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.raw @@ -11,4 +11,4 @@ S *> 23.23.23.0/24 [1/0] via 198.168.0.1 (recursive is directly connected, pp C *> 23.90.232.243/32 is directly connected, pppoe4 S *> 25.22.23.0/24 [35/0] via 198.168.0.1 (recursive is directly connected, pppoe4) ) C *> 100.95.11.96/32 is directly connected, pppoe4 -C *> 127.0.0.0/8 is directly connected, lo \ No newline at end of file +C *> 127.0.0.0/8 is directly connected, lo From 706ad9a3d1721f9a218c43d2c6a06a4f437232f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Mon, 6 Mar 2023 00:14:12 +0100 Subject: [PATCH 387/412] Corrected Huawei display_interface template to add Tunnel and Virtuel interface (#1311) --- .../huawei_vrp_display_interface.textfsm | 16 +++++--- .../huawei_vrp_display_interface.raw | 38 +++++++++++++++++-- .../huawei_vrp_display_interface.yml | 34 +++++++++++++++++ 3 files changed, 79 insertions(+), 9 deletions(-) diff --git a/ntc_templates/templates/huawei_vrp_display_interface.textfsm b/ntc_templates/templates/huawei_vrp_display_interface.textfsm index 05266b6db6..203db10f93 100644 --- a/ntc_templates/templates/huawei_vrp_display_interface.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_interface.textfsm @@ -27,16 +27,20 @@ Start ^Internet\s+Address\s+is\s+${INTERNET_ADDRESS}\s*$$ ^.*,\s+Hardware\s+address\s+is\s+${HARDWARE_ADDRESS}\s*$$ ^Internet\s+protocol\s+processing\s+:\s+${INTERNET_PROTOCOL}\s*$$ + ^Encapsulation\sis\s.+\s*$$ + ^Tunnel\ssource\s\S+\s\(.+\),\sdestination\s\S+\s*$$ + ^Tunnel\sprotocol\/transport\sGRE\/IP,\skey\s.+\s*$$ + ^keepalive\s\S+\s*$$ + ^Checksumming\sof\spackets\s\S+\s*$$ ^Last\s+physical\s+up\s+time\s*:\s+${LAST_PHYSICAL_UP_TIME}\s* ^Last\s+physical\s+down\s+time\s+:\s+${LAST_PHYSICAL_DOWN_TIME}\s* ^IP\sSending\sFrames'\sFormat\sis\s\S+\s*,\sHardware\saddress\sis\s\S+\s*$$ ^Current\s+system\s+time:\s+${CURRENT_SYSTEM_TIME}\s* - ^Modem\sState:\s+\S+\s*$$ - ^Model\s=\s+\S+\s*$$ - ^Current\sNetwork\sConnection\s=\sLTE\(LTE\)\s*$$ - ^Current\sNetwork\sConnection\s=\sUnknown\s*$$ + ^Modem\sState:\s+.+\s*$$ + ^Model\s=\s+.+\s*$$ + ^Current\sNetwork\sConnection\s=\s.+\s*$$ ^Current\sRSSI\s])?=\s+(-)?\d+\sdB\s\(.+\)\s*$$ ^\s+Input\sbandwidth\sutilization(\sthreshold)?\s*:.*$$ ^\s+Output\sbandwidth\sutilization(\sthreshold)?\s*:.*$$ ^Port\s+Mode:\s+${PORT_MODE}\s*$$ @@ -50,7 +54,7 @@ Start ^LCP\sinitial\s*$$ ^Physical\sis.*$$ ^Bound\sto.*$$ - ^\s*LCP\s\S+,\s+IPCP\s\S+,\s+IP6CP\s\S+\s*$$ + ^\s*LCP\s\S+,\s+IPCP\s\S+(,\s+IP6CP\s\S+)?\s*$$ ^Packets\sstatistics:\s*$$ ^\s+(Input|Output)\spackets\s*:\s*\d+,\s+\d+\sbytes\s*$$ ^\s+FCS\serror\spackets:\s*\d+\s*$$ diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw index b4cdf3b47c..482162f66d 100644 --- a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.raw @@ -6,11 +6,11 @@ Internet protocol processing : disabled Last physical up time : - Last physical down time : 2022-10-12 15:43:36 Current system time: 2022-10-13 08:58:09 -Modem State: Present +Modem State: Non Present Model = ME909s-120 Current Network Connection = LTE(LTE) Current RSSI = -75 dBm -Current SINR = -1 dB (weak) +Current SINR = -1 dB (normal) Last 300 seconds input rate 0 bytes/sec 0 bits/sec 0 packets/sec Last 300 seconds output rate 0 bytes/sec 0 bits/sec 0 packets/sec Input: 0 packets, 0 bytes @@ -37,7 +37,7 @@ Dialer1:0 current state : UP , Line protocol current state : UP Link layer protocol is PPP -LCP opened, IPCP opened, IP6CP opened +LCP opened, IPCP opened Packets statistics: Input packets:396, 39552 bytes Output packets:560, 41892 bytes @@ -438,3 +438,35 @@ Output: 0 packets, 0 bytes RtsSuccess: 0 , SendFail: 0 Input bandwidth utilization : -- Output bandwidth utilization : -- + +Tunnel0/0/2 current state : UP +Line protocol current state : UP +Description:HUAWEI, AC Series, Tunnel0/0/2 Interface +Route Port,The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +Encapsulation is TUNNEL, loopback not set +Tunnel source 10.10.10.1 (Vlanif10), destination 1.1.1.1 +Tunnel protocol/transport GRE/IP, key disabled +keepalive disabled +Checksumming of packets disabled +Current system time: 2012-08-09 18:53:47 + 300 seconds input rate 0 bits/sec, 0 packets/sec + 300 seconds output rate 0 bits/sec, 0 packets/sec + 15 seconds input rate 0 bits/sec, 0 packets/sec + 15 seconds output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes + 0 input error + 0 packets output, 0 bytes + 0 output error + Input bandwidth utilization : -- + Output bandwidth utilization : -- + +Virtual-Ethernet0/0/1 current state : UP +Line protocol current state : UP +Description:HUAWEI, AC Series, Virtual-Ethernet0/0/1 Interface +Switch Port, PVID : 1, TPID : 8100(Hex), The Maximum Transmit Unit is 1500 +IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is dcd2-fcf9-b5ca +Current system time: 2018-01-25 19:42:36 + + Input bandwidth utilization : 0% + Output bandwidth utilization : 0% \ No newline at end of file diff --git a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml index 8bcf11e052..37a1658620 100644 --- a/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml +++ b/tests/huawei_vrp/display_interface/huawei_vrp_display_interface.yml @@ -306,3 +306,37 @@ parsed_sample: loopback: "" duplex: "" negotiation: "" + - interface: "Tunnel0/0/2" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AC Series, Tunnel0/0/2 Interface" + port_type: "Route" + pvid: "" + internet_address: "" + hardware_address: "" + internet_protocol: "disabled" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2012-08-09 18:53:47" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" + - interface: "Virtual-Ethernet0/0/1" + link_status: "UP" + protocol_status: "UP" + interface_description: "HUAWEI, AC Series, Virtual-Ethernet0/0/1 Interface" + port_type: "Switch" + pvid: "1" + internet_address: "" + hardware_address: "dcd2-fcf9-b5ca" + internet_protocol: "" + last_physical_up_time: "" + last_physical_down_time: "" + current_system_time: "2018-01-25 19:42:36" + port_mode: "" + speed: "" + loopback: "" + duplex: "" + negotiation: "" From cb4b341e5a98adb88c07cefbeb08caf8e3868c6d Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Sun, 5 Mar 2023 23:16:49 +0000 Subject: [PATCH 388/412] Added support for IKEv2 parameters that was causing parsing to fail (#1308) --- ...sco_ios_show_crypto_session_detail.textfsm | 8 +++++- .../cisco_ios_show_crypto_session_detail.yml | 9 ++++++ ...o_ios_show_crypto_session_detail_ikev2.raw | 22 +++++++++++++++ ...o_ios_show_crypto_session_detail_ikev2.yml | 28 +++++++++++++++++++ 4 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.raw create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.yml diff --git a/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm index cd6883aa7b..d96ce1c488 100644 --- a/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm +++ b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm @@ -1,5 +1,6 @@ Value Required INTERFACE (\S+) Value Required SESSION_STATUS (\S+) +Value PROFILE (\S+) Value UPTIME (\S+) Value Required PEER (\S+) Value PORT (\d+) @@ -18,7 +19,9 @@ Value CONN_ID (\d+) Value LIFETIME (\S+) Value PERMIT (\S+) Value SRC_HOST (\S+) +Value SRC_MASK (\S+) Value DST_HOST (\S+) +Value DST_MASK (\S+) Value ACTIVE_SA (\d+) Value ORIGIN (.+) @@ -28,17 +31,20 @@ Start ^K\s+- ^X\s+- ^R\s+- + ^S\s+- ^Interface: -> Continue.Record ^Interface:\s+${INTERFACE} + ^Profile:\s+${PROFILE} ^Session\s+status:\s+${SESSION_STATUS} ^Uptime:\s+${UPTIME} ^Peer:\s+${PEER}\s+port\s+${PORT}\s+fvrf:\s+${FVRF}\s+ivrf:\s+${IVRF} ^\s+Desc:\s+${DESC} ^\s+Phase1_id:\s+${PHASE1_ID} ^\s+Session\s+ID:\s+${SESSION_ID} - ^\s+IKEv1\s+SA:\s+local\s+${LOCAL_IP}/${LOCAL_PORT}\s+remote\s+${REMOTE_IP}/${REMOTE_PORT}\s+${IKEV1_STATUS} + ^\s+IKEv[1|2]\s+SA:\s+local\s+${LOCAL_IP}/${LOCAL_PORT}\s+remote\s+${REMOTE_IP}/${REMOTE_PORT}\s+${IKEV1_STATUS} ^\s+Capabilities:${CAPABILITIES}\s+connid:${CONN_ID}\s+lifetime:${LIFETIME} ^\s+IPSEC\s+FLOW:\s+permit\s+${PERMIT}\s+host\s+${SRC_HOST}\s+host\s+${DST_HOST} + ^\s+IPSEC\s+FLOW:\s+permit\s+${PERMIT}\s+${SRC_HOST}/${SRC_MASK}\s+${DST_HOST}/${DST_MASK} ^\s+Active\s+SAs:\s+${ACTIVE_SA},\s+origin:\s+${ORIGIN} ^\s+Inbound:\s+#.* ^\s+Outbound:\s+#.* diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml index 016a19445e..b42abb928c 100644 --- a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml @@ -2,6 +2,7 @@ parsed_sample: - interface: "Tunnel1201" session_status: "DOWN-NEGOTIATING" + profile: "" uptime: "" peer: "10.161.255.14" port: "500" @@ -20,11 +21,14 @@ parsed_sample: lifetime: "0" permit: "47" src_host: "10.175.200.116" + src_mask: "" dst_host: "10.161.255.14" + dst_mask: "" active_sa: "0" origin: "crypto map" - interface: "Tunnel1101" session_status: "UP-ACTIVE" + profile: "" uptime: "7w0d" peer: "192.168.0.1" port: "4500" @@ -43,11 +47,14 @@ parsed_sample: lifetime: "09:03:41" permit: "47" src_host: "169.0.1.1" + src_mask: "" dst_host: "192.168.0.1" + dst_mask: "" active_sa: "2" origin: "crypto map" - interface: "Tunnel2201" session_status: "DOWN-NEGOTIATING" + profile: "" uptime: "" peer: "10.163.255.14" port: "500" @@ -66,6 +73,8 @@ parsed_sample: lifetime: "0" permit: "47" src_host: "10.175.200.116" + src_mask: "" dst_host: "10.163.255.14" + dst_mask: "" active_sa: "0" origin: "crypto map" diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.raw b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.raw new file mode 100644 index 0000000000..bc55d55870 --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.raw @@ -0,0 +1,22 @@ +Crypto session current status + +Code: C - IKE Configuration mode, D - Dead Peer Detection +K - Keepalives, N - NAT-traversal, T - cTCP encapsulation +X - IKE Extended Authentication, F - IKE Fragmentation +R - IKE Auto Reconnect, U - IKE Dynamic Route Update +S - SIP VPN + +Interface: Tunnel11 +Profile: IKEV2_PFL_AES_GCM256 +Uptime: 11:12:24 +Session status: UP-ACTIVE +Peer: 21.16.95.23 port 4500 fvrf: INET ivrf: (none) + Phase1_id: 10.25.20.2 + Desc: (none) + Session ID: 70 + IKEv2 SA: local 18.81.19.19/4500 remote 21.61.95.23/4500 Active + Capabilities:DN connid:4 lifetime:12:47:36 + IPSEC FLOW: permit ip 0.0.0.0/0.0.0.0 0.0.0.0/0.0.0.0 + Active SAs: 2, origin: crypto map + Inbound: #pkts dec'ed 4033155813 drop 33920 life (KB/Sec) 4607363/2513 + Outbound: #pkts enc'ed 1326659675 drop 0 life (KB/Sec) 4606628/2513 diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.yml b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.yml new file mode 100644 index 0000000000..8bcc0534c9 --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail_ikev2.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - interface: "Tunnel11" + session_status: "UP-ACTIVE" + profile: "IKEV2_PFL_AES_GCM256" + uptime: "11:12:24" + peer: "21.16.95.23" + port: "4500" + fvrf: "INET" + ivrf: "(none)" + desc: "(none)" + phase1_id: "10.25.20.2" + session_id: "70" + local_ip: "18.81.19.19" + local_port: "4500" + remote_ip: "21.61.95.23" + remote_port: "4500" + ikev1_status: "Active" + capabilities: "DN" + conn_id: "4" + lifetime: "12:47:36" + permit: "ip" + src_host: "0.0.0.0" + src_mask: "0.0.0.0" + dst_host: "0.0.0.0" + dst_mask: "0.0.0.0" + active_sa: "2" + origin: "crypto map" From 7e247ffb0975b98140a430a4f3847892f32a749e Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Sun, 5 Mar 2023 23:17:22 +0000 Subject: [PATCH 389/412] added IOS show nve vni and nve peers templates (#1304) --- .../cisco_ios_show_nve_peers.textfsm | 13 +++++++ .../templates/cisco_ios_show_nve_vni.textfsm | 14 +++++++ ntc_templates/templates/index | 2 + .../cisco_ios_show_nve_peers.raw | 7 ++++ .../cisco_ios_show_nve_peers.yml | 38 +++++++++++++++++++ .../show_nve_vni/cisco_ios_show_nve_vni.raw | 5 +++ .../show_nve_vni/cisco_ios_show_nve_vni.yml | 30 +++++++++++++++ 7 files changed, 109 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_nve_peers.textfsm create mode 100644 ntc_templates/templates/cisco_ios_show_nve_vni.textfsm create mode 100644 tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.raw create mode 100644 tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.yml create mode 100644 tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.raw create mode 100644 tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.yml diff --git a/ntc_templates/templates/cisco_ios_show_nve_peers.textfsm b/ntc_templates/templates/cisco_ios_show_nve_peers.textfsm new file mode 100644 index 0000000000..3cb79e86bb --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_nve_peers.textfsm @@ -0,0 +1,13 @@ +Value INTERFACE (\S+) +Value VNI (\d+) +Value TYPE (L2CP|L3CP) +Value PEER (\d+.\d+.\d+.\d+) +Value RMAC ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) +Value STATE (UP|DOWN) + +Start + ^Interface\s+VNI\s+Type\s+Peer-IP\s+RMAC/Num_RTs\s+eVNI\s+state\s+flags\s+UP\s+time\s*$$ + ^${INTERFACE}\s+${VNI}\s+${TYPE}\s+${PEER}\s+${RMAC}\s+\d+\s+${STATE} -> Record + ^\s*$$ + ^. -> Error + \ No newline at end of file diff --git a/ntc_templates/templates/cisco_ios_show_nve_vni.textfsm b/ntc_templates/templates/cisco_ios_show_nve_vni.textfsm new file mode 100644 index 0000000000..8724dbdcef --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_nve_vni.textfsm @@ -0,0 +1,14 @@ +Value INTERFACE (\S+) +Value VNI (\d+) +Value MCAST_GROUP (\S+) +Value STATE (Up|Down) +Value MODE (L2CP|L3CP) +Value BD (\d+) +Value VRF (\S+) + +Start + ^Interface\s+VNI\s+Multicast-group\s+VNI\s+state\s+Mode\s+BD\s+cfg\s+vrf\s*$$ + ^${INTERFACE}\s+${VNI}\s+${MCAST_GROUP}\s+${STATE}\s+${MODE}\s+${BD}\s+CLI\s+${VRF} -> Record + ^\s*$$ + ^. -> Error + \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index da56bed884..2e514182b3 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -278,6 +278,7 @@ cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] cisco_ios_show_inventory.textfsm, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] +cisco_ios_show_nve_peers.textfsm, .*, cisco_ios, sh[[ow]] nv[[e]] p[[eers]] cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]](?: vrf \S+)?\s*$ @@ -286,6 +287,7 @@ cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] cisco_ios_show_license.textfsm, .*, cisco_ios, sh[[ow]] lic[[ense]] cisco_ios_show_logging.textfsm, .*, cisco_ios, sh[[ow]] log[[ging]] +cisco_ios_show_nve_vni.textfsm, .*, cisco_ios, sh[[ow]] nv[[e]] v[[ni]] cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] diff --git a/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.raw b/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.raw new file mode 100644 index 0000000000..8d58615c5b --- /dev/null +++ b/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.raw @@ -0,0 +1,7 @@ +Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time +nve1 1033 L3CP 192.168.111.81 0200.c0a8.433c 1033 UP A/M 6d22h +nve1 1033 L3CP 192.168.111.48 cc7f.76a5.3c56 1033 UP A/M 6d22h +nve1 1031 L3CP 192.168.111.81 0200.c0a8.433c 1031 UP A/M 6d22h +nve1 1031 L3CP 192.168.111.48 cc7f.76a5.3c56 1031 UP A/M 6d22h +nve1 1032 L3CP 192.168.111.48 cc7f.76a5.3c56 1032 UP A/M 6d22h +nve1 1036 L3CP 192.168.111.48 cc7f.76a5.3c56 1036 UP A/M 6d22h diff --git a/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.yml b/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.yml new file mode 100644 index 0000000000..6905f0afd4 --- /dev/null +++ b/tests/cisco_ios/show_nve_peers/cisco_ios_show_nve_peers.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - interface: "nve1" + vni: "1033" + type: "L3CP" + peer: "192.168.111.81" + rmac: "0200.c0a8.433c" + state: "UP" + - interface: "nve1" + vni: "1033" + type: "L3CP" + peer: "192.168.111.48" + rmac: "cc7f.76a5.3c56" + state: "UP" + - interface: "nve1" + vni: "1031" + type: "L3CP" + peer: "192.168.111.81" + rmac: "0200.c0a8.433c" + state: "UP" + - interface: "nve1" + vni: "1031" + type: "L3CP" + peer: "192.168.111.48" + rmac: "cc7f.76a5.3c56" + state: "UP" + - interface: "nve1" + vni: "1032" + type: "L3CP" + peer: "192.168.111.48" + rmac: "cc7f.76a5.3c56" + state: "UP" + - interface: "nve1" + vni: "1036" + type: "L3CP" + peer: "192.168.111.48" + rmac: "cc7f.76a5.3c56" + state: "UP" diff --git a/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.raw b/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.raw new file mode 100644 index 0000000000..682442ad23 --- /dev/null +++ b/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.raw @@ -0,0 +1,5 @@ +Interface VNI Multicast-group VNI state Mode BD cfg vrf +nve1 10306 N/A Up L3CP 306 CLI GRY +nve1 10303 N/A Up L3CP 303 CLI AMB +nve1 10302 N/A Up L3CP 302 CLI GRN +nve1 10301 N/A Up L3CP 301 CLI BLU \ No newline at end of file diff --git a/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.yml b/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.yml new file mode 100644 index 0000000000..81cd6c7609 --- /dev/null +++ b/tests/cisco_ios/show_nve_vni/cisco_ios_show_nve_vni.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - interface: "nve1" + vni: "10306" + mcast_group: "N/A" + state: "Up" + mode: "L3CP" + bd: "306" + vrf: "GRY" + - interface: "nve1" + vni: "10303" + mcast_group: "N/A" + state: "Up" + mode: "L3CP" + bd: "303" + vrf: "AMB" + - interface: "nve1" + vni: "10302" + mcast_group: "N/A" + state: "Up" + mode: "L3CP" + bd: "302" + vrf: "GRN" + - interface: "nve1" + vni: "10301" + mcast_group: "N/A" + state: "Up" + mode: "L3CP" + bd: "301" + vrf: "BLU" From 220698836d30d484d05208e81b7ae6ec91609170 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Sun, 5 Mar 2023 23:17:46 +0000 Subject: [PATCH 390/412] added NXOS show nve vni and nve peers templates (#1303) --- .../cisco_nxos_show_nve_peers.textfsm | 12 ++++ .../templates/cisco_nxos_show_nve_vni.textfsm | 19 ++++++ ntc_templates/templates/index | 2 + .../cisco_nxos_show_nve_peers.raw | 7 +++ .../cisco_nxos_show_nve_peers.yml | 27 +++++++++ .../show_nve_vni/cisco_nxos_show_nve_vni.raw | 15 +++++ .../show_nve_vni/cisco_nxos_show_nve_vni.yml | 58 +++++++++++++++++++ 7 files changed, 140 insertions(+) create mode 100644 ntc_templates/templates/cisco_nxos_show_nve_peers.textfsm create mode 100644 ntc_templates/templates/cisco_nxos_show_nve_vni.textfsm create mode 100644 tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.raw create mode 100644 tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.yml create mode 100644 tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.raw create mode 100644 tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.yml diff --git a/ntc_templates/templates/cisco_nxos_show_nve_peers.textfsm b/ntc_templates/templates/cisco_nxos_show_nve_peers.textfsm new file mode 100644 index 0000000000..0d31a88d22 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_nve_peers.textfsm @@ -0,0 +1,12 @@ +Value INTERFACE (\S+) +Value PEER (\d+.\d+.\d+.\d+) +Value STATE (Up|Down) +Value TYPE (\S+) +Value RMAC (.*) + +Start + ^Interface\s+Peer-IP\s+State\s+LearnType\s+Uptime\s+Router-Mac\s*$$ + ^-+ + ^${INTERFACE}\s+${PEER}\s+${STATE}\s+${TYPE}\s+\S+\s+${RMAC}\s+ -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/cisco_nxos_show_nve_vni.textfsm b/ntc_templates/templates/cisco_nxos_show_nve_vni.textfsm new file mode 100644 index 0000000000..95abbfde23 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_nve_vni.textfsm @@ -0,0 +1,19 @@ +Value INTERFACE (\S+) +Value VNI (\d+) +Value MCAST_GROUP (\S+) +Value STATE (Up|Down) +Value MODE (\S+) +Value TYPE (L2|L3) +Value BD_VRF (\S+) + +Start + ^Codes:\s+CP.* + ^\s+UC\s+-\s+Unconfigured.* + ^\s+SU\s+-\s+Suppress.* + ^\s+Xconn\s+-\s+Crossconnect.* + ^\s+MS-IR\s+-\s+Multisite.* + ^Interface\s+VNI\s+Multicast-group\s+State\s+Mode\s+Type\s+\[BD/VRF\]\s+Flags\s*$$ + ^-+ + ^${INTERFACE}\s+${VNI}\s+${MCAST_GROUP}\s+${STATE}\s+${MODE}\s+${TYPE}\s+\[${BD_VRF}\] -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 2e514182b3..b8b85d23e2 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -345,11 +345,13 @@ cisco_nxos_show_ip_interface.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] cisco_nxos_show_environment.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] +cisco_nxos_show_nve_peers.textfsm, .*, cisco_nxos, sh[[ow]] nv[[e]] p[[eers]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] cisco_nxos_show_hostname.textfsm, .*, cisco_nxos, sh[[ow]] hostn[[ame]] cisco_nxos_show_hsrp_all.textfsm, .*, cisco_nxos, sh[[ow]] hsrp all cisco_nxos_show_ip_route.textfsm, .*, cisco_nxos, sh[[ow]] ip route cisco_nxos_show_feature.textfsm, .*, cisco_nxos, sh[[ow]] feat[[ure]] +cisco_nxos_show_nve_vni.textfsm, .*, cisco_nxos, sh[[ow]] nv[[e]] vn[[i]] cisco_nxos_show_version.textfsm, .*, cisco_nxos, sh[[ow]] ver[[sion]] cisco_nxos_show_fex_id.textfsm, .*, cisco_nxos, sh[[ow]] fex (\S+) cisco_nxos_show_ip_arp.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] diff --git a/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.raw b/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.raw new file mode 100644 index 0000000000..0069702394 --- /dev/null +++ b/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.raw @@ -0,0 +1,7 @@ +Interface Peer-IP State LearnType Uptime Router-Mac +--------- -------------------------------------- ----- --------- -------- ----------------- +nve1 192.168.111.41 Up CP 2y11w 0200.c0a8.5422 +nve1 192.168.111.47 Up CP 2y11w 2416.9dd1.4117 +nve1 192.168.111.48 Up CP 2y11w cc7f.76a5.3a77 +nve1 192.168.111.52 Up CP 2y11w 2416.9dd1.8137 +nve1 192.168.111.81 Up CP 2y11w 0200.c0a8.545b diff --git a/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.yml b/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.yml new file mode 100644 index 0000000000..d0bfac3a39 --- /dev/null +++ b/tests/cisco_nxos/show_nve_peers/cisco_nxos_show_nve_peers.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - interface: "nve1" + peer: "192.168.111.41" + state: "Up" + type: "CP" + rmac: "0200.c0a8.5422 " + - interface: "nve1" + peer: "192.168.111.47" + state: "Up" + type: "CP" + rmac: "2416.9dd1.4117 " + - interface: "nve1" + peer: "192.168.111.48" + state: "Up" + type: "CP" + rmac: "cc7f.76a5.3a77 " + - interface: "nve1" + peer: "192.168.111.52" + state: "Up" + type: "CP" + rmac: "2416.9dd1.8137 " + - interface: "nve1" + peer: "192.168.111.81" + state: "Up" + type: "CP" + rmac: "0200.c0a8.545b " diff --git a/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.raw b/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.raw new file mode 100644 index 0000000000..fca0abe445 --- /dev/null +++ b/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.raw @@ -0,0 +1,15 @@ +Codes: CP - Control Plane DP - Data Plane + UC - Unconfigured SA - Suppress ARP + SU - Suppress Unknown Unicast + Xconn - Crossconnect + MS-IR - Multisite Ingress Replication +Interface VNI Multicast-group State Mode Type [BD/VRF] Flags +--------- -------- ----------------- ----- ---- ------------------ ----- +nve1 1006 UnicastBGP Up CP L2 [6] SA +nve1 1105 UnicastBGP Up CP L2 [1105] SA +nve1 2111 UnicastBGP Up CP L2 [111] SA +nve1 3098 UnicastBGP Up CP L2 [98] SA +nve1 10301 n/a Up CP L3 [BLU] +nve1 10302 n/a Up CP L3 [GRN] +nve1 10303 n/a Up CP L3 [AMB] +nve1 10306 n/a Up CP L3 [GRY] diff --git a/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.yml b/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.yml new file mode 100644 index 0000000000..0593a894cf --- /dev/null +++ b/tests/cisco_nxos/show_nve_vni/cisco_nxos_show_nve_vni.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - interface: "nve1" + vni: "1006" + mcast_group: "UnicastBGP" + state: "Up" + mode: "CP" + type: "L2" + bd_vrf: "6" + - interface: "nve1" + vni: "1105" + mcast_group: "UnicastBGP" + state: "Up" + mode: "CP" + type: "L2" + bd_vrf: "1105" + - interface: "nve1" + vni: "2111" + mcast_group: "UnicastBGP" + state: "Up" + mode: "CP" + type: "L2" + bd_vrf: "111" + - interface: "nve1" + vni: "3098" + mcast_group: "UnicastBGP" + state: "Up" + mode: "CP" + type: "L2" + bd_vrf: "98" + - interface: "nve1" + vni: "10301" + mcast_group: "n/a" + state: "Up" + mode: "CP" + type: "L3" + bd_vrf: "BLU" + - interface: "nve1" + vni: "10302" + mcast_group: "n/a" + state: "Up" + mode: "CP" + type: "L3" + bd_vrf: "GRN" + - interface: "nve1" + vni: "10303" + mcast_group: "n/a" + state: "Up" + mode: "CP" + type: "L3" + bd_vrf: "AMB" + - interface: "nve1" + vni: "10306" + mcast_group: "n/a" + state: "Up" + mode: "CP" + type: "L3" + bd_vrf: "GRY" From c9a1ad868e786d32ccbd99c7df6ab5d46710a435 Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 6 Mar 2023 06:19:45 +0700 Subject: [PATCH 391/412] Mikrotik routeros - firewall filter - Add src mac address, correct ipv6 path and empty log prefix (#1172) Co-authored-by: Edouard Lavaud --- ntc_templates/templates/index | 2 +- ...ll_filter_print_all_without-paging.textfsm | 7 +++--- ...rewall_filter_print_all_without-paging.raw | 4 ++-- ...rewall_filter_print_all_without-paging.yml | 23 +++++++++++++++++++ 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b8b85d23e2..e6f52e4958 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -548,7 +548,7 @@ linux_ip_link_show.textfsm, .*, linux, ip l[[ink]] [[show]] linux_ip_vrf_show.textfsm, .*, linux, ip v[[rf]] [[show]] linux_arp_-a.textfsm, .*, linux, arp -a -mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall filter print all without-paging +mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall filter print( all)? without-paging mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip dhcp-server lease print without-paging mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall nat print all without-paging mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm, .*, mikrotik_routeros, [[/]]interface ethernet monitor (\S+) once diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm index f89d03b7a5..490e56b537 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm @@ -17,15 +17,16 @@ Value ipsec_policy (\S+) Value dst_address ([\w!.:/\d]+) Value dst_address_list (\S+) Value dst_port (\S+) +Value src_mac_address (\S+) Value log (yes|no) -Value log_prefix (\S+[\S ]+) +Value log_prefix ((\S+[\S ]+)?) Start ^Flags:.*$$ -> FirewallTable FirewallTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} - ^\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?\s*(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}")?\s*$$ -> Record - ^\s?${index}\s+(${flags})?\s+chain=${chain}\s(action=${action}\s)?(connection-state=${connection_state}\s)?(connection-nat-state=${connection_nat_state}\s)?(protocol=${protocol}\s)?(src-address=${src_address}\s)?(dst-address=${dst_address}\s)?(src-address-list=${src_address_list}\s)?(dst-address-list=${dst_address_list}\s)?(in-interface-list=${in_interface_list}\s)?(out-interface-list=${out_interface_list}\s)?(src-port=${src_port}\s)?(dst-port=${dst_port}\s)?(in-interface=${in_interface}\s)?(out-interface=${out_interface}\s)?(ipsec-policy=${ipsec_policy}\s)?(log=${log}\s)?(log-prefix="${log_prefix}")?\s*$$ -> Record + ^\s+chain=${chain}(\saction=${action})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?\s*(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}(\saction=${action})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw index 922abfcb8d..cbafb728e1 100644 --- a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw @@ -55,7 +55,7 @@ Flags: X - disabled, I - invalid, D - dynamic 18 ;;; related established chain=input connection-state=established,related -19 chain=forward connection-state=established,related +19 chain=forward connection-state=established,related src-mac-address=67:33:EB:0E:EB:A8 20 ;;; drop invalid connections 17:20:06 echo: system,error,critical login failure for user admin from 65.160.140.13 via ssh @@ -64,4 +64,4 @@ Flags: X - disabled, I - invalid, D - dynamic 21 ;;; Block all entrant chain=input action=drop in-interface=all-ppp -22 chain=input action=drop in-interface=all-ethernet +22 chain=input action=drop in-interface=all-ethernet log-prefix="" diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml index a15ec02c12..25404c538c 100644 --- a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml @@ -19,6 +19,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "1" @@ -40,6 +41,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "2" @@ -61,6 +63,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "3" @@ -82,6 +85,7 @@ parsed_sample: dst_address: "185.163.212.156/30" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "4" @@ -103,6 +107,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "5" @@ -124,6 +129,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "500,1701,4500" + src_mac_address: "" log: "" log_prefix: "Acces VPN" - index: "6" @@ -145,6 +151,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "7" @@ -166,6 +173,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "4430,22,8291" + src_mac_address: "" log: "" log_prefix: "" - index: "8" @@ -187,6 +195,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "161" + src_mac_address: "" log: "" log_prefix: "" - index: "9" @@ -208,6 +217,7 @@ parsed_sample: dst_address: "127.0.0.1" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "10" @@ -229,6 +239,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "11" @@ -250,6 +261,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "12" @@ -271,6 +283,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "13" @@ -292,6 +305,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "14" @@ -313,6 +327,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "15" @@ -334,6 +349,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "16" @@ -355,6 +371,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "17" @@ -376,6 +393,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "18" @@ -397,6 +415,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "19" @@ -418,6 +437,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "67:33:EB:0E:EB:A8" log: "" log_prefix: "" - index: "20" @@ -439,6 +459,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "21" @@ -460,6 +481,7 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" - index: "22" @@ -481,5 +503,6 @@ parsed_sample: dst_address: "" dst_address_list: "" dst_port: "" + src_mac_address: "" log: "" log_prefix: "" From eb15ca000848558a3abfbcc56d61fc7050974387 Mon Sep 17 00:00:00 2001 From: jversch6 <114570816+jversch6@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:57:34 +0100 Subject: [PATCH 392/412] Added new template: show interface link on cisco ios (#1290) --- .../cisco_ios_show_interface_link.textfsm | 32 +++ ntc_templates/templates/index | 1 + .../cisco_ios_show_interface_link.raw | 44 ++++ .../cisco_ios_show_interface_link.yml | 217 ++++++++++++++++++ .../cisco_ios_show_interface_link2.raw | 22 ++ .../cisco_ios_show_interface_link2.yml | 107 +++++++++ 6 files changed, 423 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_interface_link.textfsm create mode 100644 tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.raw create mode 100644 tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.yml create mode 100644 tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.raw create mode 100644 tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.yml diff --git a/ntc_templates/templates/cisco_ios_show_interface_link.textfsm b/ntc_templates/templates/cisco_ios_show_interface_link.textfsm new file mode 100644 index 0000000000..291e90dc7e --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_interface_link.textfsm @@ -0,0 +1,32 @@ +Value PORT ([a-zA-Z]{2,3}[0-9]{1,2}\/[0-9]{1,2}(\/[0-9]{1,2})?) +Value NAME (.+?) +Value DOWNTIME ((00:00:00)|(([0-9]{1,2} year[s]? , )?([0-9]{1,2} week[s]?, )?([0-9]{1,2} day[s]?, )?([0-9]{1,2} hour[s]?, )?([0-9]{1,2} minute[s]? )?([0-9]{1,2} secs))|((([0-9]{1,2}y)?([0-9]{1,2}w)?([0-9]{1,2}d)([0-9]{1,2}h)?|[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}))) +Value SINCE (.+?) +Value UPTIME ((([0-9]{1,2}m)?([0-9]{1,2}w)?([0-9]{1,2}d)|[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2})) + +Start + ^\s*\^\s* -> EOF + ^.*Invalid input detected.* -> EOF + ^Load\s+for\s+ + # Capture time-stamp if vty line has command time-stamping turned on + ^Time\s+source\s+is + ^-+\s*$$ + ^\s*Port\s+Name\s+Down Time\s+Down Since\s*$$ -> DownSince + ^\s*Port\s+Name\s+Down Time\s+Up Time\s*$$ -> UpTime + ^\s*$$ + ^. -> Error + +DownSince + ^\s*${PORT}\s+${DOWNTIME}\s*$$ -> Record + ^\s*${PORT}\s+${DOWNTIME}\s*${SINCE}\s*$$ -> Record + ^\s*${PORT}\s+${NAME}\s*${DOWNTIME}\s*$$ -> Record + ^\s*${PORT}\s+${NAME}\s*${DOWNTIME}\s+${SINCE}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +UpTime + ^\s*${PORT}\s+${NAME}\s+00:00:00\s+${UPTIME}?\s*$$ -> Record + ^\s*${PORT}\s+${DOWNTIME}\s+${UPTIME}?\s*$$ -> Record + ^\s*${PORT}\s+${NAME}\s+${DOWNTIME}\s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index e6f52e4958..6c0c3af6ca 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -246,6 +246,7 @@ cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ce cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_access-session.textfsm, .*, cisco_ios, show access-s[[ession]] cisco_ios_show_alert_counters.textfsm, .*, cisco_ios, sh[[ow]] alert [[counters]] +cisco_ios_show_interface_link.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] li[[nk]] cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] diff --git a/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.raw b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.raw new file mode 100644 index 0000000000..ed6ce34e2b --- /dev/null +++ b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.raw @@ -0,0 +1,44 @@ +Port Name Down Time Up Time +Gi1/0/1 30w6d +Gi1/0/3 0308-ab15mgm0007-d 00:00:00 30w5d +Gi1/0/5 23PD-PDU-a 00:00:00 30w5d +Gi1/0/11 1001-HP3parStorage 30w6d +Gi1/0/15 3201-ab15erp0006-d 00:00:00 5d01h +Gi1/0/20 6502-ab15adc0001-d 30w5d +Gi1/0/21 4512-ab15fil0001-s 00:00:00 30w5d +Te1/0/26 5803-gh01erp8003-d 00:00:00 2w1d +Te1/0/29 53609-ab15sql0001-d 00:00:00 4d08h +Te1/0/30 54024-ab15san009-s 00:00:00 3w0d +Te1/0/31 53PD-PDU-b 00:00:00 30w5d +Te1/0/32 5504-ab15bac0004-d 14w0d +Te1/0/33 56602-ab15mgm0005-d 10w3d +Te1/0/34 5654-ab15msx0005-d 00:00:00 30w5d +Te1/0/35 5665-ghsrv181-d 00:00:00 30w5d +Te1/0/37 5781-ab15srv0006-d 22w3d +Te1/0/38 5902-ab15srv0009-d 00:00:00 6w5d +Te1/0/39 5106-ghsrv548-d 30w6d +Te1/0/41 5835-maintenance-d 00:00:00 4w0d +Te1/0/43 58029-maintenance-d 00:00:00 4w0d +Te1/0/44 Access Port 00:00:00 01:59:13 +Te1/0/45 Access Port 00:00:00 10w3d +Gi2/0/22 Access Port 00:17:18 +Te2/0/25 Access Port 2d06h +Te2/0/26 Access Port 30w6d +Te2/0/27 Access Port 3w4d +Te2/0/29 CRXNLLE1051AP51 00:00:00 6w5d +Gi1/0/13 DI01-ab15ups002-s 30w6d +Gi1/0/19 DPYghZW1234WI001 L 00:00:00 30w5d +Gi1/0/24 GFS-MGMT1 00:00:00 30w5d +Te1/0/31 ICE Port 00:00:00 7w2d +Te1/0/32 ICE Port 46w5d +Te1/0/33 ITSghZW1561FW015-F 00:00:00 30w5d +Te1/0/34 ITSghZWNB10 00:00:00 30w5d +Te1/0/36 ITSghZWTL01.tld.co 00:00:00 4w0d +Te1/0/37 NO POLL 4507-ab15f 00:00:00 14w0d +Te1/0/40 Space Port 00:00:00 2w3d +Te1/0/42 gh20mgm0002-d 5w0d +Te1/0/43 dpyghzwnasc01n1r-i 00:00:00 30w5d +Te1/0/44 itsghzwdd03m 00:00:00 13w1d +Te1/0/45 jnjghllnas02n1.hos 00:00:00 14w0d +Gi2/0/2 to DGYghGF1234BV00 00:00:00 30w5d +Gi2/0/3 wlc-service-port-t 00:00:00 30w5d \ No newline at end of file diff --git a/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.yml b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.yml new file mode 100644 index 0000000000..d517652a25 --- /dev/null +++ b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link.yml @@ -0,0 +1,217 @@ +--- +parsed_sample: + - port: "Gi1/0/1" + name: " " + downtime: "30w6d" + since: "" + uptime: "" + - port: "Gi1/0/3" + name: "0308-ab15mgm0007-d" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Gi1/0/5" + name: "23PD-PDU-a" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Gi1/0/11" + name: "1001-HP3parStorage" + downtime: "30w6d" + since: "" + uptime: "" + - port: "Gi1/0/15" + name: "3201-ab15erp0006-d 00:00:00" + downtime: "5d01h" + since: "" + uptime: "" + - port: "Gi1/0/20" + name: "6502-ab15adc0001-d" + downtime: "30w5d" + since: "" + uptime: "" + - port: "Gi1/0/21" + name: "4512-ab15fil0001-s" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/26" + name: "5803-gh01erp8003-d" + downtime: "" + since: "" + uptime: "2w1d" + - port: "Te1/0/29" + name: "53609-ab15sql0001-d 00:00:00" + downtime: "4d08h" + since: "" + uptime: "" + - port: "Te1/0/30" + name: "54024-ab15san009-s" + downtime: "" + since: "" + uptime: "3w0d" + - port: "Te1/0/31" + name: "53PD-PDU-b" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/32" + name: "5504-ab15bac0004-d" + downtime: "14w0d" + since: "" + uptime: "" + - port: "Te1/0/33" + name: "56602-ab15mgm0005-d" + downtime: "10w3d" + since: "" + uptime: "" + - port: "Te1/0/34" + name: "5654-ab15msx0005-d" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/35" + name: "5665-ghsrv181-d" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/37" + name: "5781-ab15srv0006-d" + downtime: "22w3d" + since: "" + uptime: "" + - port: "Te1/0/38" + name: "5902-ab15srv0009-d" + downtime: "" + since: "" + uptime: "6w5d" + - port: "Te1/0/39" + name: "5106-ghsrv548-d" + downtime: "30w6d" + since: "" + uptime: "" + - port: "Te1/0/41" + name: "5835-maintenance-d" + downtime: "" + since: "" + uptime: "4w0d" + - port: "Te1/0/43" + name: "58029-maintenance-d" + downtime: "" + since: "" + uptime: "4w0d" + - port: "Te1/0/44" + name: "Access Port" + downtime: "" + since: "" + uptime: "01:59:13" + - port: "Te1/0/45" + name: "Access Port" + downtime: "" + since: "" + uptime: "10w3d" + - port: "Gi2/0/22" + name: "Access Port" + downtime: "00:17:18" + since: "" + uptime: "" + - port: "Te2/0/25" + name: "Access Port" + downtime: "2d06h" + since: "" + uptime: "" + - port: "Te2/0/26" + name: "Access Port" + downtime: "30w6d" + since: "" + uptime: "" + - port: "Te2/0/27" + name: "Access Port" + downtime: "3w4d" + since: "" + uptime: "" + - port: "Te2/0/29" + name: "CRXNLLE1051AP51" + downtime: "" + since: "" + uptime: "6w5d" + - port: "Gi1/0/13" + name: "DI01-ab15ups002-s" + downtime: "30w6d" + since: "" + uptime: "" + - port: "Gi1/0/19" + name: "DPYghZW1234WI001 L" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Gi1/0/24" + name: "GFS-MGMT1" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/31" + name: "ICE Port" + downtime: "" + since: "" + uptime: "7w2d" + - port: "Te1/0/32" + name: "ICE Port" + downtime: "46w5d" + since: "" + uptime: "" + - port: "Te1/0/33" + name: "ITSghZW1561FW015-F" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/34" + name: "ITSghZWNB10" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/36" + name: "ITSghZWTL01.tld.co" + downtime: "" + since: "" + uptime: "4w0d" + - port: "Te1/0/37" + name: "NO POLL 4507-ab15f" + downtime: "" + since: "" + uptime: "14w0d" + - port: "Te1/0/40" + name: "Space Port" + downtime: "" + since: "" + uptime: "2w3d" + - port: "Te1/0/42" + name: "gh20mgm0002-d" + downtime: "5w0d" + since: "" + uptime: "" + - port: "Te1/0/43" + name: "dpyghzwnasc01n1r-i" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Te1/0/44" + name: "itsghzwdd03m" + downtime: "" + since: "" + uptime: "13w1d" + - port: "Te1/0/45" + name: "jnjghllnas02n1.hos" + downtime: "" + since: "" + uptime: "14w0d" + - port: "Gi2/0/2" + name: "to DGYghGF1234BV00" + downtime: "" + since: "" + uptime: "30w5d" + - port: "Gi2/0/3" + name: "wlc-service-port-t" + downtime: "" + since: "" + uptime: "30w5d" diff --git a/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.raw b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.raw new file mode 100644 index 0000000000..df21626780 --- /dev/null +++ b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.raw @@ -0,0 +1,22 @@ +Port Name Down Time Down Since +Gi1/1 37 weeks, 3 days, 5 hours, 52 minutes 18 secs 08:07:10 Mon Feb 14 2022 +Gi1/6 15 weeks, 11 minutes 57 secs 13:47:31 Thu Jul 21 2022 +Gi1/10 Fitness 10 weeks, 5 days, 20 hours, 26 minutes 38 secs 17:32:50 Fri Aug 19 2022 +Gi1/11 00 secs +Gi1/24 SV-Service-Office 1 year , 25 weeks, 2 days, 4 hours, 17 minutes 24 secs 09:42:04 Mon May 10 2021 +Gi1/48 WERFBZW5236KARA 00 secs +Gi2/3 00 secs +Gi2/6 4 hours, 58 minutes 17 secs 09:01:11 Thu Nov 3 2022 +Gi2/8 Fitness 00 secs +Gi2/9 Fit area 00 secs +Gi2/10 Guest access 00 secs +Gi2/11 3 weeks, 1 day, 23 hours, 49 minutes 40 secs 14:09:48 Tue Oct 11 2022 +Gi2/12 21 hours, 17 minutes 27 secs 16:42:01 Wed Nov 2 2022 +Gi2/17 1 week, 1 day, 22 hours, 51 minutes 28 secs 15:08:00 Tue Oct 25 2022 +Gi2/23 5 weeks, 1 day, 23 hours, 22 minutes 02 secs 14:37:26 Tue Sep 27 2022 +Gi2/25 00 secs +Gi2/27 1 year , 25 weeks, 2 days, 4 hours, 17 minutes 24 secs 09:42:04 Mon May 10 2021 +Gi2/29 43 weeks, 3 days, 2 hours, 18 minutes 11 secs 11:41:17 Mon Jan 3 2022 +Gi4/47 DOFKYLW5823AP83 00 secs +Tw1/0/48 WERFBZW5236KARA 00 secs +Te6/1 ICN-DOFKYLW5823TV000 secs \ No newline at end of file diff --git a/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.yml b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.yml new file mode 100644 index 0000000000..7f320da2b2 --- /dev/null +++ b/tests/cisco_ios/show_interface_link/cisco_ios_show_interface_link2.yml @@ -0,0 +1,107 @@ +--- +parsed_sample: + - port: "Gi1/1" + name: "" + downtime: "37 weeks, 3 days, 5 hours, 52 minutes 18 secs" + since: "08:07:10 Mon Feb 14 2022" + uptime: "" + - port: "Gi1/6" + name: "" + downtime: "15 weeks, 11 minutes 57 secs" + since: "13:47:31 Thu Jul 21 2022" + uptime: "" + - port: "Gi1/10" + name: "Fitness" + downtime: "10 weeks, 5 days, 20 hours, 26 minutes 38 secs" + since: "17:32:50 Fri Aug 19 2022" + uptime: "" + - port: "Gi1/11" + name: "" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi1/24" + name: "SV-Service-Office" + downtime: "1 year , 25 weeks, 2 days, 4 hours, 17 minutes 24 secs" + since: "09:42:04 Mon May 10 2021" + uptime: "" + - port: "Gi1/48" + name: "WERFBZW5236KARA" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/3" + name: "" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/6" + name: "" + downtime: "4 hours, 58 minutes 17 secs" + since: "09:01:11 Thu Nov 3 2022" + uptime: "" + - port: "Gi2/8" + name: "Fitness" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/9" + name: "Fit area" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/10" + name: "Guest access" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/11" + name: "" + downtime: "3 weeks, 1 day, 23 hours, 49 minutes 40 secs" + since: "14:09:48 Tue Oct 11 2022" + uptime: "" + - port: "Gi2/12" + name: "" + downtime: "21 hours, 17 minutes 27 secs" + since: "16:42:01 Wed Nov 2 2022" + uptime: "" + - port: "Gi2/17" + name: "" + downtime: "1 week, 1 day, 22 hours, 51 minutes 28 secs" + since: "15:08:00 Tue Oct 25 2022" + uptime: "" + - port: "Gi2/23" + name: "" + downtime: "5 weeks, 1 day, 23 hours, 22 minutes 02 secs" + since: "14:37:26 Tue Sep 27 2022" + uptime: "" + - port: "Gi2/25" + name: "" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Gi2/27" + name: "" + downtime: "1 year , 25 weeks, 2 days, 4 hours, 17 minutes 24 secs" + since: "09:42:04 Mon May 10 2021" + uptime: "" + - port: "Gi2/29" + name: "" + downtime: "43 weeks, 3 days, 2 hours, 18 minutes 11 secs" + since: "11:41:17 Mon Jan 3 2022" + uptime: "" + - port: "Gi4/47" + name: "DOFKYLW5823AP83" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Tw1/0/48" + name: "WERFBZW5236KARA" + downtime: "00 secs" + since: "" + uptime: "" + - port: "Te6/1" + name: "ICN-DOFKYLW5823TV0" + downtime: "00 secs" + since: "" + uptime: "" From 8dc17d01e44ecda8782255bed80faba84da47792 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sat, 11 Mar 2023 21:16:54 +0100 Subject: [PATCH 393/412] Hp comware new displ vlan lldp (#1315) * Add display_lldp_neighbor-information_list * Add hp_comware_display_vlan_all * fix for hp_comware_display_interface * one more fix for hp_comware_display_interface * fix for cisco_ios_show_vrf --- .../templates/cisco_ios_show_vrf.textfsm | 5 ++- .../hp_comware_display_interface.textfsm | 18 +++++---- ...lay_lldp_neighbor-information_list.textfsm | 12 ++++++ .../hp_comware_display_vlan_all.textfsm | 22 +++++++++++ ntc_templates/templates/index | 2 + .../show_vrf/cisco_ios_show_vrf3.raw | 3 ++ .../show_vrf/cisco_ios_show_vrf3.yml | 12 ++++++ .../hp_comware_display_interface5.raw | 29 ++++++++++++++ .../hp_comware_display_interface5.yml | 19 ++++++++++ .../hp_comware_display_interface6.raw | 37 ++++++++++++++++++ .../hp_comware_display_interface6.yml | 18 +++++++++ ...display_lldp_neighbor-information_list.raw | 8 ++++ ...display_lldp_neighbor-information_list.yml | 18 +++++++++ .../hp_comware_display_vlan_all.raw | 38 +++++++++++++++++++ .../hp_comware_display_vlan_all.yml | 23 +++++++++++ 15 files changed, 255 insertions(+), 9 deletions(-) create mode 100644 ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm create mode 100644 ntc_templates/templates/hp_comware_display_vlan_all.textfsm create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.raw create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.yml create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface5.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface5.yml create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface6.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface6.yml create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.raw create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.yml create mode 100644 tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.raw create mode 100644 tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.yml diff --git a/ntc_templates/templates/cisco_ios_show_vrf.textfsm b/ntc_templates/templates/cisco_ios_show_vrf.textfsm index d2143bf431..f8fe4ac497 100644 --- a/ntc_templates/templates/cisco_ios_show_vrf.textfsm +++ b/ntc_templates/templates/cisco_ios_show_vrf.textfsm @@ -4,14 +4,15 @@ Value PROTOCOLS (\S+) Value List INTERFACES (\S+) Start - ^\s+Name\s+Default RD\s+Protocols\s+Interfaces -> Start_record + ^\s*Name\s+Default RD\s+Protocols\s+Interfaces -> Start_record # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is + ^. -> Error Start_record ^\s{2}\S+ -> Continue.Record ^\s{60}\s+${INTERFACES} ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS}\s+${INTERFACES} ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS} - + ^. -> Error diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm index 2135b1d648..0bed4e0a98 100644 --- a/ntc_templates/templates/hp_comware_display_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -23,16 +23,17 @@ Start ^\s*Line\s+protocol\s+current\s+state:\s+${PROTOCOL_STATUS} ^\s*Description:\s+${DESCRIPTION} ^\s*Bandwidth:\s+${BANDWIDTH} - ^\s*Maximum\s+transmission\s+unit:\s+${MTU} + ^\s*Maximum\s+[Tt]ransmi\S+\s+[Uu]nit:\s+${MTU} ^\s*The\sMaximum\s+Transmit\s+Unit\sis\s+${MTU} ^\s*Maximum\s+frame\s+length:\s+${L2MTU} ^\s*The\sMaximum\s+Frame\s+Length\sis\s+${L2MTU} ^\s*Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Pp]rimary\) ^\s*Internet\s+[Aa]ddress\sis\s+${IP_ADDRESS}\s+[Pp]rimary ^\s*Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Ss]ub\) - ^\s*IP\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype:\s+[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} - ^\s*IPv6\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype:\s+[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} + ^\s*IP\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype\s*:\s*[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} + ^\s*IPv6\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype\s*:\s*[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} ^\s*${SPEED}\s+mode,\s+${DUPLEX}\s+mode + ^\s*${SPEED},\s+${DUPLEX},\s+link\s+type:\s+\S+, ^\s*PVID:\s+${VLAN_NATIVE} ^\s*Port\s+link-type:\s+${PORT_LINK_TYPE} # Trunk - Passing VLANs (parsing multiple times with Continue) @@ -137,11 +138,12 @@ Start ^\s*Trunk\s+port ^\s*Loopback ^\s*Media - ^\s*Flow + ^\s*[Ff]low ^\s*Allow\s+jumbo ^\s*Broadcast ^\s*Multicast ^\s*Unicast + ^\s*No\sconnector ^\s*M[Dd][Ii]\s+type ^\s*Port\s+priority ^\s*Current\s*system @@ -156,11 +158,13 @@ Start ^\s*Internet\s+protocol ^\s*Port\s+hardware ^\s+\d+\s+unicasts - ^\s+\d+\s+CRC + ^\s+\d+\s+[Cc][Rr][Cc] ^\s+\d+\s+aborts - ^\s+\d+\s+packets\s+input - ^\s+\d+\s+packets\s+output + ^\s+\d+\s+packets,*\s+ + ^\s+\d+\s+errors,*\s+ ^\s+\d+\s+lost + ^\s+\d+\s+drops,*\s+ + ^\s+\d+\s+deferred,*\s+ ^\s+\d+\s+broadcasts ^\s+\d+\s+ignored ^\s+-\s+ignored diff --git a/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm new file mode 100644 index 0000000000..0badb34a7e --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm @@ -0,0 +1,12 @@ +Value Required LOCAL_INTERFACE (\S+) +Value Required CHASSIS_ID (\S+) +Value Required NEIGHBOR_INTERFACE (\S+) +Value Required NEIGHBOR (\S+) + +Start + ^.*Nearest\s+nontpmr\s+bridge\s+neighbor + ^.*Nearest\s+customer\s+bridge\s+neighbor + ^.*Nearest\s+bridge\s+neighbor + ^System\s+Name + ^\s*${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${CHASSIS_ID}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record Start + ^. -> Error diff --git a/ntc_templates/templates/hp_comware_display_vlan_all.textfsm b/ntc_templates/templates/hp_comware_display_vlan_all.textfsm new file mode 100644 index 0000000000..5417d01a06 --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_vlan_all.textfsm @@ -0,0 +1,22 @@ +Value Required VLAN_ID (\d+) +Value Required NAME (.*) +Value DESCRIPTION (.*) +Value TYPE (.*) +Value ROUTE_INTERFACE (.*) +Value IPV4_ADDRESS (\S+) +Value IPV4_SUBNET (\S+) + +Start + ^\s*VLAN\s+ID\s*: -> Continue.Record + ^\s*VLAN\s+ID\s*:\s*${VLAN_ID} + ^\s*VLAN\s+type\s*:\s*${TYPE} + ^\s*Route\s+interface\s*:\s*${ROUTE_INTERFACE} + ^\s*IPv4\s+address\s*:\s*${IPV4_ADDRESS} + ^\s*IPv4\s+subnet\s+mask\s*:\s*${IPV4_SUBNET} + ^\s*Description\s*:\s*${DESCRIPTION} + ^\s*Name\s*:\s*${NAME} + ^\s*Tagged\sports + ^\s*Untagged\sports + ^\s{3,}\S+\s*$$ + ^\s{3,}\S+\s+\S+\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6c0c3af6ca..0281542d39 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -478,6 +478,7 @@ fortinet_get_system_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] stat[[us]] fortinet_get_system_arp.textfsm, .*, fortinet, g[[et]] sy[[stem]] arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] +hp_comware_display_lldp_neighbor-information_list.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] l[[ist]] hp_comware_display_ip_vpn-instance_instance-name.textfsm, .*, hp_comware, di[[splay]] ip vpn[[-instance]] in[[instance-name]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_link-aggregation_verbose.textfsm, .*, hp_comware, di[[splay]] link[[-aggregation]] v[[erbose]] @@ -488,6 +489,7 @@ hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterf hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] hp_comware_display_interface.textfsm, .*, hp_comware, dis[[play]] int[[erface]] +hp_comware_display_vlan_all.textfsm, .*, hp_comware, di[[splay]] v[[lan]] a[[ll]] hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.raw b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.raw new file mode 100644 index 0000000000..322bf2e836 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.raw @@ -0,0 +1,3 @@ +Name Default RD Protocols Interfaces + SUBNET100 100:100 ipv4 Gi0/0.100 + SUBNET120 120:120 ipv4 Gi0/0.120 diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.yml b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.yml new file mode 100644 index 0000000000..16426b50fa --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf3.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - default_rd: "100:100" + interfaces: + - "Gi0/0.100" + name: "SUBNET100" + protocols: "ipv4" + - default_rd: "120:120" + interfaces: + - "Gi0/0.120" + name: "SUBNET120" + protocols: "ipv4" diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface5.raw b/tests/hp_comware/display_interface/hp_comware_display_interface5.raw new file mode 100644 index 0000000000..65b937ddf8 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface5.raw @@ -0,0 +1,29 @@ +GigabitEthernet2/0 +Current state: UP +Line protocol state: UP +Description: GigabitEthernet2/0 Interface +Bandwidth: 1000000kbps +Maximum Transmit Unit: 1500 +Internet protocol processing: disabled +IP Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 5001-0011-0001 +IPv6 Packet Frame Type:PKTFMT_ETHNT_2, Hardware Address: 5001-0011-0001 +Media type: twisted pair, loopback: not set, promiscuous mode: not set +1000Mb/s, Full-duplex, link type: autonegotiation, +flow-control: disabled +Output queue - Urgent queuing: Size/Length/Discards 0/100/0 +Output queue - Protocol queuing: Size/Length/Discards 0/500/0 +Output queue - FIFO queuing: Size/Length/Discards 0/75/0 +Last clearing of counters: Never +Last 300 seconds input rate: 42.74 bytes/sec, 341 bits/sec, 0.58 packets/sec +Last 300 seconds output rate: 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec +Input: + 1183 packets, 90466 bytes + 0 broadcasts, 1183 multicasts, 0 pauses + 0 errors, 0 runts, 0 giants + 0 crc, 0 overruns + 0 drops, 0 no buffers +Output: + 0 packets, 0 bytes + 0 broadcasts, 0 multicasts, 0 pauses + 0 errors, 0 underruns, 0 collisions + 0 deferred, 0 lost carriers diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface5.yml b/tests/hp_comware/display_interface/hp_comware_display_interface5.yml new file mode 100644 index 0000000000..9893e6c450 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface5.yml @@ -0,0 +1,19 @@ +--- +parsed_sample: + - intf: "GigabitEthernet2/0" + line_status: "UP" + protocol_status: "UP" + hw_address: + - "5001-0011-0001" + - "5001-0011-0001" + description: "GigabitEthernet2/0 Interface" + bandwidth: "1000000kbps" + speed: "1000Mb/s" + duplex: "Full-duplex" + mtu: "1500" + l2mtu: "" + vlan_native: "" + ip_address: [] + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface6.raw b/tests/hp_comware/display_interface/hp_comware_display_interface6.raw new file mode 100644 index 0000000000..e0bd53190c --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface6.raw @@ -0,0 +1,37 @@ + Ten-GigabitEthernet1/1/1 current state: DOWN + IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: bcea-fa00-0082 + Description: Ten-GigabitEthernet1/1/1 Interface + Loopback is not set + No connector + 10Gbps-speed mode, full-duplex mode + Link speed type is force link, link duplex type is force link + Flow-control is not enabled + The Maximum Frame Length is 12288 + Broadcast MAX-ratio: 100% + Unicast MAX-ratio: 100% + Multicast MAX-ratio: 100% + Allow jumbo frame to pass + PVID: 1 + Port link-type: access + Tagged VLAN ID : none + Untagged VLAN ID : 1 + Port priority: 0 + Last clearing of counters: Never + Peak value of input: 0 bytes/sec, at 2000-04-26 15:02:16 + Peak value of output: 0 bytes/sec, at 2000-04-26 15:02:16 + Last 300 seconds input: 0 packets/sec 0 bytes/sec 0% + Last 300 seconds output: 0 packets/sec 0 bytes/sec 0% + Input (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Input (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors + Output (total): 0 packets, 0 bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Output (normal): 0 packets, - bytes + 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses + Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface6.yml b/tests/hp_comware/display_interface/hp_comware_display_interface6.yml new file mode 100644 index 0000000000..3c16c5ac01 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface6.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - intf: "Ten-GigabitEthernet1/1/1" + line_status: "DOWN" + protocol_status: "" + hw_address: + - "bcea-fa00-0082" + description: "Ten-GigabitEthernet1/1/1 Interface" + bandwidth: "" + speed: "10Gbps-speed" + duplex: "full-duplex" + mtu: "" + l2mtu: "12288" + vlan_native: "1" + ip_address: [] + port_link_type: "access" + vlan_passing: [] + vlan_permitted: [] diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.raw b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.raw new file mode 100644 index 0000000000..b379891bbe --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.raw @@ -0,0 +1,8 @@ +Chassis ID : * -- -- Nearest nontpmr bridge neighbor + # -- -- Nearest customer bridge neighbor + Default -- -- Nearest bridge neighbor +System Name Local Interface Chassis ID Port ID +SW-TEST-001 XGE1/0/1 bcea-fa00-0001 Ten-GigabitEthernet1/0/30 +SW-TEST-002 XGE1/0/17 5c8a-3800-0002 Ten-GigabitEthernet1/0/29 +SW-TEST-003 XGE1/0/19 bcea-fa00-0003 Ten-GigabitEthernet1/0/54 +SW-TEST-004 XGE1/0/21 bcea-fa00-0004 Ten-GigabitEthernet1/0/32 diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.yml b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.yml new file mode 100644 index 0000000000..396f141f6a --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - local_interface: "XGE1/0/1" + chassis_id: "bcea-fa00-0001" + neighbor_interface: "Ten-GigabitEthernet1/0/30" + neighbor: "SW-TEST-001" + - local_interface: "XGE1/0/17" + chassis_id: "5c8a-3800-0002" + neighbor_interface: "Ten-GigabitEthernet1/0/29" + neighbor: "SW-TEST-002" + - local_interface: "XGE1/0/19" + chassis_id: "bcea-fa00-0003" + neighbor_interface: "Ten-GigabitEthernet1/0/54" + neighbor: "SW-TEST-003" + - local_interface: "XGE1/0/21" + chassis_id: "bcea-fa00-0004" + neighbor_interface: "Ten-GigabitEthernet1/0/32" + neighbor: "SW-TEST-004" diff --git a/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.raw b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.raw new file mode 100644 index 0000000000..9ccb3376fd --- /dev/null +++ b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.raw @@ -0,0 +1,38 @@ + VLAN ID: 1 + VLAN type: Static + Route interface: Not configured + Description: VLAN 0001 + Name: VLAN 0001 + Tagged ports: None + Untagged ports: + Bridge-Aggregation1 Bridge-Aggregation2 + Bridge-Aggregation3 Bridge-Aggregation4 + Ten-GigabitEthernet1/0/1 + Ten-GigabitEthernet1/0/2 + + VLAN ID: 100 + VLAN type: Static + Route interface: Configured + IPv4 address: 10.9.0.1 + IPv4 subnet mask: 255.255.255.0 + Description: User VLAN + Name: VLAN_100 + Tagged ports: + Bridge-Aggregation5 Bridge-Aggregation6 + Ten-GigabitEthernet1/0/1 + Ten-GigabitEthernet1/0/3 + Untagged ports: None + + VLAN ID: 101 + VLAN type: Static + Route interface: Configured + IPv4 address: 10.9.1.1 + IPv4 subnet mask: 255.255.255.0 + Description: VLAN 101 + Name: VLAN_101 + Tagged ports: + Bridge-Aggregation7 Bridge-Aggregation8 + Ten-GigabitEthernet2/0/35 + Ten-GigabitEthernet2/0/37 + Untagged ports: + Ten-GigabitEthernet1/0/46 diff --git a/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.yml b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.yml new file mode 100644 index 0000000000..a304f8631c --- /dev/null +++ b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "VLAN 0001" + description: "VLAN 0001" + type: "Static" + route_interface: "Not configured" + ipv4_address: "" + ipv4_subnet: "" + - vlan_id: "100" + name: "VLAN_100" + description: "User VLAN" + type: "Static" + route_interface: "Configured" + ipv4_address: "10.9.0.1" + ipv4_subnet: "255.255.255.0" + - vlan_id: "101" + name: "VLAN_101" + description: "VLAN 101" + type: "Static" + route_interface: "Configured" + ipv4_address: "10.9.1.1" + ipv4_subnet: "255.255.255.0" From 64190cc84fb6ab599eab57364febcf07a30bd509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Tue, 14 Mar 2023 14:00:08 +0100 Subject: [PATCH 394/412] MikroTik RouterOS add hw-offload management in ip firewall template (#1322) --- ...ll_filter_print_all_without-paging.textfsm | 5 ++-- ...rewall_filter_print_all_without-paging.raw | 2 +- ...rewall_filter_print_all_without-paging.yml | 23 +++++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm index 490e56b537..90c4cc087b 100644 --- a/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm @@ -3,6 +3,7 @@ Value flags ([XID]+) Value comment (\S+[\S ]*\S) Value chain (input|forward|output) Value action (accept|add-dst-to-address-list|add-src-to-address-list|drop|fasttrack-connection|jump|log|passthrough|reject|return|tarpit) +Value hw_offload (yes|no) Value connection_state (\S+) Value connection_nat_state (\S+) Value protocol (!?(dccp|egp|etherip|gre|icmp|idpr-cmtp|ipencap|ipsec-ah|ipv6-encap|ipv6-nonxt|ipv6-route|l2tp|pim|rdp|rsvp|st|udp|vmtp|xns-idp|ddp|encap|ggp|hmp|icmpv6|igmp|ipip|ipsec-esp|ipv6-frag|ipv6-opts|iso-tp4|ospf|pup|rspf|sctp|tcp|udp-lite|vrrp|xtp)) @@ -26,7 +27,7 @@ Start FirewallTable ^\s?${index}\s+(${flags})?\s+;;;\s${comment} - ^\s+chain=${chain}(\saction=${action})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?\s*(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record - ^\s?${index}\s+(${flags})?\s+chain=${chain}(\saction=${action})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record + ^\s+chain=${chain}(\saction=${action})?(\shw-offload=${hw_offload})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?\s*(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record + ^\s?${index}\s+(${flags})?\s+chain=${chain}(\saction=${action})?(\shw-offload=${hw_offload})?(\sconnection-state=${connection_state})?(\sconnection-nat-state=${connection_nat_state})?(\sprotocol=${protocol})?(\ssrc-address=${src_address})?(\sdst-address=${dst_address})?(\ssrc-address-list=${src_address_list})?(\sdst-address-list=${dst_address_list})?(\sin-interface-list=${in_interface_list})?(\sout-interface-list=${out_interface_list})?(\ssrc-port=${src_port})?(\sdst-port=${dst_port})?(\ssrc-mac-address=${src_mac_address})?(\sin-interface=${in_interface})?(\sout-interface=${out_interface})?(\sipsec-policy=${ipsec_policy})?(\slog=${log})?(\slog-prefix="${log_prefix}")?\s*$$ -> Record ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next ^. -> Error diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw index cbafb728e1..cd7d8b4661 100644 --- a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.raw @@ -38,7 +38,7 @@ Flags: X - disabled, I - invalid, D - dynamic chain=forward action=accept ipsec-policy=out,ipsec 13 X ;;; defconf: fasttrack - chain=forward action=fasttrack-connection connection-state=established,related + chain=forward action=fasttrack-connection hw-offload=yes connection-state=established,related 14 ;;; defconf: accept established,related, untracked chain=forward action=accept connection-state=established,related,untracked diff --git a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml index 25404c538c..644d4b855b 100644 --- a/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml +++ b/tests/mikrotik_routeros/ip_firewall_filter_print_all_without-paging/mikrotik_routeros_ip_firewall_filter_print_all_without-paging.yml @@ -5,6 +5,7 @@ parsed_sample: comment: "defconf: accept established,related,untracked" chain: "input" action: "accept" + hw_offload: "" connection_state: "established,related,untracked" connection_nat_state: "" protocol: "" @@ -27,6 +28,7 @@ parsed_sample: comment: "defconf: drop invalid" chain: "input" action: "drop" + hw_offload: "" connection_state: "invalid" connection_nat_state: "" protocol: "" @@ -49,6 +51,7 @@ parsed_sample: comment: "FIREWALL-DMZ-1" chain: "forward" action: "accept" + hw_offload: "" connection_state: "established,related,new" connection_nat_state: "" protocol: "" @@ -71,6 +74,7 @@ parsed_sample: comment: "" chain: "forward" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -93,6 +97,7 @@ parsed_sample: comment: "defconf: accept ICMP" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "icmp" @@ -115,6 +120,7 @@ parsed_sample: comment: "Acces VPN" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "udp" @@ -137,6 +143,7 @@ parsed_sample: comment: "" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "ipsec-esp" @@ -159,6 +166,7 @@ parsed_sample: comment: "Acces WAN" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "tcp" @@ -181,6 +189,7 @@ parsed_sample: comment: "Acces WAN SNMP" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "udp" @@ -203,6 +212,7 @@ parsed_sample: comment: "defconf: accept to local loopback (for CAPsMAN)" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -225,6 +235,7 @@ parsed_sample: comment: "defconf: drop all not coming from LAN" chain: "input" action: "drop" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -247,6 +258,7 @@ parsed_sample: comment: "defconf: accept in ipsec policy" chain: "forward" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -269,6 +281,7 @@ parsed_sample: comment: "defconf: accept out ipsec policy" chain: "forward" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -291,6 +304,7 @@ parsed_sample: comment: "defconf: fasttrack" chain: "forward" action: "fasttrack-connection" + hw_offload: "yes" connection_state: "established,related" connection_nat_state: "" protocol: "" @@ -313,6 +327,7 @@ parsed_sample: comment: "defconf: accept established,related, untracked" chain: "forward" action: "accept" + hw_offload: "" connection_state: "established,related,untracked" connection_nat_state: "" protocol: "" @@ -335,6 +350,7 @@ parsed_sample: comment: "defconf: drop invalid" chain: "forward" action: "drop" + hw_offload: "" connection_state: "invalid" connection_nat_state: "" protocol: "" @@ -357,6 +373,7 @@ parsed_sample: comment: "defconf: drop all from WAN not DSTNATed" chain: "forward" action: "drop" + hw_offload: "" connection_state: "new" connection_nat_state: "!dstnat" protocol: "" @@ -379,6 +396,7 @@ parsed_sample: comment: "Input" chain: "input" action: "accept" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -401,6 +419,7 @@ parsed_sample: comment: "related established" chain: "input" action: "" + hw_offload: "" connection_state: "established,related" connection_nat_state: "" protocol: "" @@ -423,6 +442,7 @@ parsed_sample: comment: "" chain: "forward" action: "" + hw_offload: "" connection_state: "established,related" connection_nat_state: "" protocol: "" @@ -445,6 +465,7 @@ parsed_sample: comment: "drop invalid connections" chain: "forward" action: "drop" + hw_offload: "" connection_state: "invalid" connection_nat_state: "" protocol: "tcp" @@ -467,6 +488,7 @@ parsed_sample: comment: "Block all entrant" chain: "input" action: "drop" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" @@ -489,6 +511,7 @@ parsed_sample: comment: "" chain: "input" action: "drop" + hw_offload: "" connection_state: "" connection_nat_state: "" protocol: "" From 8fa59487febbe3884b7ac936e43b3c0026b18657 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:36:23 +0000 Subject: [PATCH 395/412] Fixed missing OK in header of show int ip brief (#1326) --- .../templates/cisco_asa_show_interface_ip_brief.textfsm | 2 +- .../cisco_asa_show_interface_ip_brief.raw | 5 ++--- .../cisco_asa_show_interface_ip_brief.yml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm b/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm index c3f8620136..cec9e63bb9 100644 --- a/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm +++ b/ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm @@ -4,7 +4,7 @@ Value STATUS (up|down|administratively down) Value PROTO (up|down) Start - ^Interface\s+IP-Address\s+Method\s+Status\s+Protocol\s*$$ + ^Interface\s+IP-Address\s+OK\?\s+Method\s+Status\s+Protocol\s*$$ ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw index 2e3960ed9e..484fc40670 100644 --- a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw +++ b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.raw @@ -1,4 +1,4 @@ -Interface IP-Address Method Status Protocol +Interface IP-Address OK? Method Status Protocol Virtual0 127.1.0.1 YES unset up up GigabitEthernet1/1 192.168.1.253 YES CONFIG up up GigabitEthernet1/2 unassigned YES unset up up @@ -16,5 +16,4 @@ Internal-Data1/4 169.254.1.1 YES unset up up Management1/1 10.10.12.2 YES CONFIG up up Port-channel1 unassigned YES unset up up Port-channel1.144 10.10.14.1 YES CONFIG up up -Port-channel1.3101 10.10.25.2 YES CONFIG up up - +Port-channel1.3101 10.10.54.2 YES CONFIG up up diff --git a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml index db56bea064..6ea2ef50d9 100644 --- a/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml +++ b/tests/cisco_asa/show_interface_ip_brief/cisco_asa_show_interface_ip_brief.yml @@ -69,6 +69,6 @@ parsed_sample: status: "up" proto: "up" - intf: "Port-channel1.3101" - ipaddr: "10.10.25.2" + ipaddr: "10.10.54.2" status: "up" proto: "up" From ed806abef1b069a02555cfb76274d107052bff13 Mon Sep 17 00:00:00 2001 From: sjhloco <33333983+sjhloco@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:36:55 +0000 Subject: [PATCH 396/412] Fixed by adding support for ext comm in asa show bgp summary (#1325) --- .../templates/cisco_asa_show_bgp_summary.textfsm | 1 + .../show_bgp_summary/show_bgp_summary.yml | 4 ++-- .../show_bgp_summary/show_bgp_summary1.raw | 14 ++++++++++++++ .../show_bgp_summary/show_bgp_summary1.yml | 14 ++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary1.raw create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary1.yml diff --git a/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm b/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm index d885dfd2eb..7a385afbfd 100644 --- a/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm +++ b/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm @@ -13,6 +13,7 @@ Start ^\d+\/\d+\s+BGP\s+path\/bestpath\s+attribute\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ ^\d+\s+BGP\s+AS-PATH\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ ^\d+\s+BGP\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+extended\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ ^\d+\s+BGP\s+route-map\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ ^\d+\s+BGP\s+filter-list\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ ^BGP\s+using\s\d+\s+total\s+bytes\s+of\s+memory\s*$$ diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml index 51600caf9d..95fdb6e770 100644 --- a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml @@ -4,11 +4,11 @@ parsed_sample: local_as: "65045" bgp_neigh: "172.16.243.53" neigh_as: "186" - state_pfxrcd: "111" up_down: "4d06h" + state_pfxrcd: "111" - router_id: "172.25.40.2" local_as: "65045" bgp_neigh: "172.16.248.53" neigh_as: "196" - state_pfxrcd: "Idle" up_down: "never" + state_pfxrcd: "Idle" diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.raw b/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.raw new file mode 100644 index 0000000000..8a2fa74fb7 --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.raw @@ -0,0 +1,14 @@ +BGP router identifier 10.10.254.1, local AS number 65101 +BGP table version is 9, main routing table version 9 +8 network entries using 1600 bytes of memory +8 path entries using 640 bytes of memory +8/7 BGP path/bestpath attribute entries using 1664 bytes of memory +4 BGP extended community entries using 96 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 4000 total bytes of memory +BGP activity 8/0 prefixes, 8/0 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.10.254.1 4 65101 961788 961836 9 0 0 4w6d 5 +10.10.254.9 4 65101 961784 961836 9 0 0 4w6d 1 \ No newline at end of file diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.yml b/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.yml new file mode 100644 index 0000000000..e8bde5d9d6 --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary1.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - router_id: "10.10.254.1" + local_as: "65101" + bgp_neigh: "10.10.254.1" + neigh_as: "65101" + up_down: "4w6d" + state_pfxrcd: "5" + - router_id: "10.10.254.1" + local_as: "65101" + bgp_neigh: "10.10.254.9" + neigh_as: "65101" + up_down: "4w6d" + state_pfxrcd: "1" From 1a68699ff5ee4d01d1b10ea13dace8727055caf3 Mon Sep 17 00:00:00 2001 From: Guillaume M'Bali <77588596+guillaume-mbali@users.noreply.github.com> Date: Tue, 21 Mar 2023 14:03:55 +0100 Subject: [PATCH 397/412] Fix Cisco: change the ip nat translations template to make ports non-optional (#1329) --- .../templates/cisco_ios_show_ip_nat_translations.textfsm | 3 +-- .../show_ip_nat_translations.raw | 2 ++ .../show_ip_nat_translations.yml | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm b/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm index a8f50e8707..4522799130 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_nat_translations.textfsm @@ -10,5 +10,4 @@ Value OUTSIDE_GLOBAL_PORT (\S+) Start ^Pro\s+Inside\sglobal\s+Inside\slocal\s+Outside\slocal\s+Outside\sglobal - ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}:${INSIDE_GLOBAL_PORT}\s+${INSIDE_LOCAL_IP}:${INSIDE_LOCAL_PORT}\s+${OUTSIDE_LOCAL_IP}:${OUTSIDE_GLOBAL_PORT}\s+${OUTSIDE_GLOBAL_IP}:${OUTSIDE_LOCAL_PORT} -> Record - ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}\s+${INSIDE_LOCAL_IP}\s+${OUTSIDE_LOCAL_IP}\s+${OUTSIDE_GLOBAL_IP} -> Record + ^${PROTOCOL}\s+${INSIDE_GLOBAL_IP}(:${INSIDE_GLOBAL_PORT})?\s+${INSIDE_LOCAL_IP}(:${INSIDE_LOCAL_PORT})?\s+${OUTSIDE_LOCAL_IP}(:${OUTSIDE_GLOBAL_PORT})?\s+${OUTSIDE_GLOBAL_IP}(:${OUTSIDE_LOCAL_PORT})? -> Record diff --git a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw index 758678953d..4ee6a170b4 100644 --- a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw +++ b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.raw @@ -3,4 +3,6 @@ tcp 10.9.0.0:51776 10.1.0.2:51776 10.2.0.2:21 10.2.0.2:21 tcp 10.9.0.0:51778 10.1.0.2:51778 10.2.0.2:21 10.2.0.2:21 tcp 10.9.0.0:56384 10.1.0.2:56384 10.2.0.2:22 10.2.0.2:22 icmp 10.9.0.0:513 10.1.0.2:512 10.2.0.2:512 10.2.0.2:513 +tcp 100.95.3.180:8080 192.168.1.12:80 --- --- + --- 10.9.0.0 10.1.0.2 --- --- \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml index 91d13fccfb..9d786d0607 100644 --- a/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml +++ b/tests/cisco_ios/show_ip_nat_translations/show_ip_nat_translations.yml @@ -36,6 +36,15 @@ parsed_sample: outside_local_port: "513" outside_global_ip: "10.2.0.2" outside_global_port: "512" + - protocol: "tcp" + inside_global_ip: "100.95.3.180" + inside_global_port: "8080" + inside_local_ip: "192.168.1.12" + inside_local_port: "80" + outside_local_ip: "---" + outside_local_port: "" + outside_global_ip: "---" + outside_global_port: "" - protocol: "---" inside_global_ip: "10.9.0.0" inside_global_port: "" From 7a568ee952f33a56d4aa6361f40bcccd910cccc2 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Tue, 21 Mar 2023 15:54:07 -0400 Subject: [PATCH 398/412] resolves inconsistent leading whitespace issue (#1331) --- ...sco_wlc_ssh_show_redundancy_summary.textfsm | 18 +++++++++--------- ...isco_wlc_ssh_show_redundancy_summary_1.raw} | 0 ...isco_wlc_ssh_show_redundancy_summary_1.yml} | 0 ...cisco_wlc_ssh_show_redundancy_summary_2.raw | 11 +++++++++++ ...cisco_wlc_ssh_show_redundancy_summary_2.yml | 13 +++++++++++++ 5 files changed, 33 insertions(+), 9 deletions(-) rename tests/cisco_wlc_ssh/show_redundancy_summary/{cisco_wlc_ssh_show_redundancy_summary.raw => cisco_wlc_ssh_show_redundancy_summary_1.raw} (100%) rename tests/cisco_wlc_ssh/show_redundancy_summary/{cisco_wlc_ssh_show_redundancy_summary.yml => cisco_wlc_ssh_show_redundancy_summary_1.yml} (100%) create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.raw create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.yml diff --git a/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm index e679922a64..83bb0e4636 100644 --- a/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm +++ b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm @@ -11,14 +11,14 @@ Value AVG_REDUNDANCY_PEER_LATENCY (\d+) Value AVG_MGMT_GW_LATENCY (\d+) Start - ^\s+Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$ - ^\s+Local State\s+=\s+${LOCAL_STATE}\s*$$ - ^\s+Peer State\s+=\s+${PEER_STATE}\s*$$ - ^\s+Unit\s+=\s+${UNIT}\s*$$ - ^\s+Unit ID\s+=\s+${UNIT_ID}\s*$$ - ^\s+Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$ - ^\s+Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$ - ^\s+Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$ - ^\s+BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$ + ^\s*Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$ + ^\s*Local State\s+=\s+${LOCAL_STATE}\s*$$ + ^\s*Peer State\s+=\s+${PEER_STATE}\s*$$ + ^\s*Unit\s+=\s+${UNIT}\s*$$ + ^\s*Unit ID\s+=\s+${UNIT_ID}\s*$$ + ^\s*Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$ + ^\s*Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$ + ^\s*Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$ + ^\s*BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$ ^\s*Average Redundancy Peer Reachability Latency\s+=\s+${AVG_REDUNDANCY_PEER_LATENCY}\s+\S+\s+Seconds\s*$$ ^\s*Average Management Gateway Reachability Latency\s+=\s+${AVG_MGMT_GW_LATENCY}\s+\S+\s+Seconds\s*$$ diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_1.raw similarity index 100% rename from tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw rename to tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_1.raw diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_1.yml similarity index 100% rename from tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml rename to tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_1.yml diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.raw b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.raw new file mode 100644 index 0000000000..3a50c7a054 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.raw @@ -0,0 +1,11 @@ +Redundancy Mode = SSO ENABLED +Local State = ACTIVE +Peer State = STANDBY HOT +Unit = Primary +Unit ID = 00:00:00:00:12:34 +Redundancy State = SSO +Mobility MAC = 00:00:00:00:12:34 +Redundancy Port = UP +BulkSync Status = Complete +Average Redundancy Peer Reachability Latency = 199 Micro Seconds +Average Management Gateway Reachability Latency = 570 Micro Seconds diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.yml b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.yml new file mode 100644 index 0000000000..b646f23b65 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary_2.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - redundancy_mode: "SSO ENABLED" + local_state: "ACTIVE" + peer_state: "STANDBY HOT" + unit: "Primary" + unit_id: "00:00:00:00:12:34" + redundancy_state: "SSO" + mobility_mac: "00:00:00:00:12:34" + redundancy_port: "UP" + bulksync_status: "Complete" + avg_redundancy_peer_latency: "199" + avg_mgmt_gw_latency: "570" From daa43b21f85f28c1267a1e7d022a890d750c7f88 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Tue, 21 Mar 2023 16:28:53 -0400 Subject: [PATCH 399/412] preparing for release (#1332) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b1fd736110..d3cfb6e95a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ntc_templates" -version = "3.2.0" +version = "3.3.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 2cee38b34edab28afbb3abe17ef8027b46a46731 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 21 Mar 2023 18:58:37 -0500 Subject: [PATCH 400/412] Add dependabot settings. (#1335) * Add dependabot settings. --- dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dependabot.yml diff --git a/dependabot.yml b/dependabot.yml new file mode 100644 index 0000000000..114c0e034b --- /dev/null +++ b/dependabot.yml @@ -0,0 +1,12 @@ +--- +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + allow: + - dependency-type: "direct" + versioning-strategy: "increase" + - package-ecosystem: "pip" + directory: "/" + ignore: + - dependency-type: "indirect" From cae4bfd3cc10f81b50f3e0b7504abcc91f253efa Mon Sep 17 00:00:00 2001 From: elavaud Date: Sun, 26 Mar 2023 21:20:17 +0700 Subject: [PATCH 401/412] Fix huawei display acl all - port numbers replaced by names and IPV6 ACL name position (#1222) * Fix huawei display acl all - port numbers replaced by names * Fix Huawei - display acl (ipv6)? all - if name provided, order in IPv6 changes * Huawei - display acl all - add rule description * Huawei - display acl all - separately record ACLs and their rules authored-by: Edouard Lavaud --- .../huawei_vrp_display_acl_all.textfsm | 18 ++- .../huawei_vrp_display_acl_all_1.raw | 10 +- .../huawei_vrp_display_acl_all_1.yml | 104 +++++++++++++++++- .../huawei_vrp_display_acl_ipv6_all_1.raw | 5 + .../huawei_vrp_display_acl_ipv6_all_1.yml | 53 +++++++++ 5 files changed, 181 insertions(+), 9 deletions(-) diff --git a/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm b/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm index 99abc7b538..0143994c7f 100644 --- a/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm +++ b/ntc_templates/templates/huawei_vrp_display_acl_all.textfsm @@ -1,21 +1,27 @@ Value Filldown ACL_NAME (.*?) -Value Filldown ACL_NUMBER (\d+) -Value Required SN (\d+) +Value Filldown,Required ACL_NUMBER (\d+) +Value SN (\d+) Value ACTION (deny|permit) Value PROTOCOL (\d+|icmp(v6)?|tcp|udp|gre|igmp|ip(v6)?|ipinip|ospf) Value SOURCE (((\d+.){3}\d+|[0-9a-fA-F]{1,4}([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4})[\/\s]((\d+.){3}\d+|\d+)) Value SOURCE_PORT_MODIFIER (eq|lt|gt|range) -Value SOURCE_PORT_RANGE ((\d+)(\s(\d+))?) +Value SOURCE_PORT_RANGE ((\S+)(\s(\S+))?) Value DESTINATION (((\d+.){3}\d+|[0-9a-fA-F]{1,4}([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4})[\/\s]((\d+.){3}\d+|\d+)) Value DESTINATION_PORT_MODIFIER (eq|lt|gt|range) -Value DESTINATION_PORT_RANGE ((\d+)(\s(\d+))?) +Value DESTINATION_PORT_RANGE ((\S+)(\s(\S+))?) Value MATCHES (\d+) +Value DESCRIPTION (.*) Start + ^\s*rule\s\d+\s(deny|permit) -> Continue.Record + ^\S+\sIPv6\sACL\s -> Continue.Record + ^\S+\sACL\s -> Continue.Record ^\s*Total\squantity\sof\snonempty\sACL\snumber\sis\s\d+\s*$$ ^\s*Total\snonempty\sacl6\snumber\sis\s\d+\s*$$ - ^\S+(\sIPv6)?\sACL\s(${ACL_NAME}\s)?${ACL_NUMBER},\s\d+.*$$ + ^\S+\sIPv6\sACL\s${ACL_NUMBER}(\sname\s${ACL_NAME})?,\s\d+\srules?.*$$ + ^\S+\sACL\s(${ACL_NAME}\s)?${ACL_NUMBER},\s\d+\srules?.*$$ ^\s*Acl's\sstep\sis\s\d+\s*$$ - ^\s*rule\s${SN}\s${ACTION}(\s${PROTOCOL})?(\ssource\s${SOURCE})?(\ssource-port\s${SOURCE_PORT_MODIFIER}\s${SOURCE_PORT_RANGE})?(\sdestination\s${DESTINATION})?(\sdestination-port\s${DESTINATION_PORT_MODIFIER}\s${DESTINATION_PORT_RANGE})?(\s\(${MATCHES}\smatch(es)?\))?\s*$$ -> Record + ^\s*rule\s${SN}\s${ACTION}(\s${PROTOCOL})?(\ssource\s${SOURCE})?(\ssource-port\s${SOURCE_PORT_MODIFIER}\s${SOURCE_PORT_RANGE})?(\sdestination\s${DESTINATION})?(\sdestination-port\s${DESTINATION_PORT_MODIFIER}\s${DESTINATION_PORT_RANGE})?(\s\(${MATCHES}\smatch(es)?\))?\s*$$ + ^\s*rule\s\d+\sdescription\s"${DESCRIPTION}"\s*$$ ^\s*$$ ^. -> Error diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw index 6ec7cf3945..e9754b9a0e 100644 --- a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.raw @@ -14,11 +14,17 @@ Basic ACL 2500, 1 rule Acl's step is 5 rule 35 permit source 192.168.0.0 0.0.255.255 (5431 matches) +Advanced ACL 3997, 1 rule +Acl's step is 5 + rule 5 permit ip source 192.165.3.5 0 + rule 5 description "qsdqsdqsdqsdqsdqsdqs az" + Advanced ACL REGLE_NAT 3998, 3 rules Acl's step is 5 rule 5 permit tcp source 85.14.167.234 0 destination 192.214.198.156 0 destination-port eq 8022 (18 matches) - rule 10 deny tcp destination 192.214.198.156 0 destination-port eq 8022 (8 matches) - rule 15 permit ip (278450 matches) + rule 10 deny tcp destination 192.214.198.156 0 destination-port eq www (8 matches) + rule 15 deny tcp destination 192.23.26.1 0.0.255.255 destination-port range 50 80 (8 matches) + rule 20 permit ip (278450 matches) Advanced ACL qsdqsd 3999, 0 rule Acl's step is 5 diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml index b3fcf986f2..5d36d7c648 100644 --- a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_all_1.yml @@ -1,5 +1,18 @@ --- parsed_sample: + - acl_name: "" + acl_number: "2000" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" - acl_name: "" acl_number: "2000" sn: "5" @@ -12,6 +25,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "94" + description: "" - acl_name: "" acl_number: "2000" sn: "10" @@ -24,6 +38,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "26939" + description: "" - acl_name: "" acl_number: "2000" sn: "15" @@ -36,6 +51,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "24" + description: "" - acl_name: "" acl_number: "2000" sn: "20" @@ -48,6 +64,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "" + description: "" - acl_name: "" acl_number: "2000" sn: "25" @@ -60,6 +77,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "" + description: "" - acl_name: "" acl_number: "2000" sn: "30" @@ -72,6 +90,7 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "" + description: "" - acl_name: "" acl_number: "2000" sn: "35" @@ -84,6 +103,20 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "" + description: "" + - acl_name: "" + acl_number: "2500" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" - acl_name: "" acl_number: "2500" sn: "35" @@ -96,6 +129,46 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "5431" + description: "" + - acl_name: "" + acl_number: "3997" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" + - acl_name: "" + acl_number: "3997" + sn: "5" + action: "permit" + protocol: "ip" + source: "192.165.3.5 0" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "qsdqsdqsdqsdqsdqsdqs az" + - acl_name: "REGLE_NAT" + acl_number: "3998" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" - acl_name: "REGLE_NAT" acl_number: "3998" sn: "5" @@ -108,6 +181,7 @@ parsed_sample: destination_port_modifier: "eq" destination_port_range: "8022" matches: "18" + description: "" - acl_name: "REGLE_NAT" acl_number: "3998" sn: "10" @@ -118,11 +192,25 @@ parsed_sample: source_port_range: "" destination: "192.214.198.156 0" destination_port_modifier: "eq" - destination_port_range: "8022" + destination_port_range: "www" matches: "8" + description: "" - acl_name: "REGLE_NAT" acl_number: "3998" sn: "15" + action: "deny" + protocol: "tcp" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "192.23.26.1 0.0.255.255" + destination_port_modifier: "range" + destination_port_range: "50 80" + matches: "8" + description: "" + - acl_name: "REGLE_NAT" + acl_number: "3998" + sn: "20" action: "permit" protocol: "ip" source: "" @@ -132,3 +220,17 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "278450" + description: "" + - acl_name: "qsdqsd" + acl_number: "3999" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw index 32cac98cfa..526dd857d1 100644 --- a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.raw @@ -3,3 +3,8 @@ Advanced IPv6 ACL 3344, 1 rule, match-order is auto Acl's step is 5 rule 5 permit ipv6 destination 34::/128 + +Advanced IPv6 ACL 3999 name MyACL_IPv6, 2 rules +Acl's step is 5 + rule 5 deny ipv6 source 2A01:728::/29 + rule 10 permit ipv6 source 1291:3050:f5ed:9760::/23 diff --git a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml index 86c640715f..b826a0c078 100644 --- a/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml +++ b/tests/huawei_vrp/display_acl_all/huawei_vrp_display_acl_ipv6_all_1.yml @@ -1,5 +1,18 @@ --- parsed_sample: + - acl_name: "" + acl_number: "3344" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" - acl_name: "" acl_number: "3344" sn: "5" @@ -12,3 +25,43 @@ parsed_sample: destination_port_modifier: "" destination_port_range: "" matches: "" + description: "" + - acl_name: "MyACL_IPv6" + acl_number: "3999" + sn: "" + action: "" + protocol: "" + source: "" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" + - acl_name: "MyACL_IPv6" + acl_number: "3999" + sn: "5" + action: "deny" + protocol: "ipv6" + source: "2A01:728::/29" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" + - acl_name: "MyACL_IPv6" + acl_number: "3999" + sn: "10" + action: "permit" + protocol: "ipv6" + source: "1291:3050:f5ed:9760::/23" + source_port_modifier: "" + source_port_range: "" + destination: "" + destination_port_modifier: "" + destination_port_range: "" + matches: "" + description: "" From 4acb638fef35d6e23a76a0074206d4d0d03a997c Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Tue, 28 Mar 2023 18:26:29 +0200 Subject: [PATCH 402/412] Fix thp_comware_display_interfacewith productions output (#1338) --- .../hp_comware_display_interface.textfsm | 21 ++++- .../hp_comware_display_interface7.raw | 56 ++++++++++++ .../hp_comware_display_interface7.yml | 20 ++++ .../hp_comware_display_interface8.raw | 91 +++++++++++++++++++ .../hp_comware_display_interface8.yml | 51 +++++++++++ .../hp_comware_display_interface9.raw | 48 ++++++++++ .../hp_comware_display_interface9.yml | 35 +++++++ 7 files changed, 317 insertions(+), 5 deletions(-) create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface7.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface7.yml create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface8.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface8.yml create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface9.raw create mode 100644 tests/hp_comware/display_interface/hp_comware_display_interface9.yml diff --git a/ntc_templates/templates/hp_comware_display_interface.textfsm b/ntc_templates/templates/hp_comware_display_interface.textfsm index 0bed4e0a98..43f6e49bf5 100644 --- a/ntc_templates/templates/hp_comware_display_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_interface.textfsm @@ -26,6 +26,7 @@ Start ^\s*Maximum\s+[Tt]ransmi\S+\s+[Uu]nit:\s+${MTU} ^\s*The\sMaximum\s+Transmit\s+Unit\sis\s+${MTU} ^\s*Maximum\s+frame\s+length:\s+${L2MTU} + ^\s*Forbid\s+jumbo\s+frames\s+to\s+pass ^\s*The\sMaximum\s+Frame\s+Length\sis\s+${L2MTU} ^\s*Internet\s+[Aa]ddress:\s+${IP_ADDRESS}\s+\([Pp]rimary\) ^\s*Internet\s+[Aa]ddress\sis\s+${IP_ADDRESS}\s+[Pp]rimary @@ -33,7 +34,7 @@ Start ^\s*IP\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype\s*:\s*[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} ^\s*IPv6\s+[Pp]acket\s+[Ff]rame\s+[Tt]ype\s*:\s*[^,]+,\s+[Hh]ardware\s+[Aa]ddress:\s+${HW_ADDRESS} ^\s*${SPEED}\s+mode,\s+${DUPLEX}\s+mode - ^\s*${SPEED},\s+${DUPLEX},\s+link\s+type:\s+\S+, + ^\s*${SPEED},\s+${DUPLEX},\s+link\s+type ^\s*PVID:\s+${VLAN_NATIVE} ^\s*Port\s+link-type:\s+${PORT_LINK_TYPE} # Trunk - Passing VLANs (parsing multiple times with Continue) @@ -134,6 +135,8 @@ Start ^$$ -> Next.Record # Drop ^\s*Link + ^\s*Encapsulation\s+is + ^\s*Phy-mru ^\s*Last ^\s*Trunk\s+port ^\s*Loopback @@ -158,18 +161,26 @@ Start ^\s*Internet\s+protocol ^\s*Port\s+hardware ^\s+\d+\s+unicasts + ^\s+-\s+unicasts ^\s+\d+\s+[Cc][Rr][Cc] ^\s+\d+\s+aborts - ^\s+\d+\s+packets,*\s+ - ^\s+\d+\s+errors,*\s+ + ^\s+\d+\s+packets,*\s* + ^\s+\d+\s+errors,*\s* ^\s+\d+\s+lost - ^\s+\d+\s+drops,*\s+ - ^\s+\d+\s+deferred,*\s+ + ^\s+\d+\s+input\s+error + ^\s+\d+\s+output\s+error + ^\s+\d+\s+drops,*\s* + ^\s+\d+\s+deferred,*\s* ^\s+\d+\s+broadcasts ^\s+\d+\s+ignored + ^\s+\d+\s+dribbles + ^\s*Tunnel\s + ^\s*GRE + ^\s*Checksumming\sof\sGRE ^\s+-\s+ignored ^\s+-\s+frame ^\s+-\s+aborts ^\s+-\s+lost\s+carrier + ^\s*DCD: ^. -> Error ^\s*$$ ^. -> Error diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface7.raw b/tests/hp_comware/display_interface/hp_comware_display_interface7.raw new file mode 100644 index 0000000000..1253cea1b3 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface7.raw @@ -0,0 +1,56 @@ +GigabitEthernet1/1/0/48 +Current state: UP +Line protocol state: UP +IP packet frame type: Ethernet II, hardware address: 7848-5900-0085 +Description: Internal-LAN +Bandwidth: 1000000 kbps +Loopback is not set +Media type is twisted pair, port hardware type is 1000_BASE_T +1000Mbps-speed mode, full-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +Flow-control is not enabled +Maximum frame length: 1536 +Forbid jumbo frames to pass +Broadcast max-ratio: 100% +Multicast max-ratio: 100% +Unicast max-ratio: 100% +PVID: 1 +MDI type: Automdix +Port link-type: Trunk + VLAN Passing: 4050 + VLAN permitted: 4050 + Trunk port encapsulation: IEEE 802.1q +Port priority: 0 +Last link flapping: 3 weeks 2 days 12 hours 36 minutes +Last clearing of counters: Never +Current system time:2023-03-12 09:28:20 SAR+03:00:00 +Last time when physical state changed to up:2023-02-16 20:51:25 SAR+03:00:00 +Last time when physical state changed to down:2023-02-16 20:50:56 SAR+03:00:00 + Peak input rate: 31568817 bytes/sec, at 2023-03-05 16:34:23 + Peak output rate: 30891579 bytes/sec, at 2023-03-09 15:45:00 + Last 300 seconds input: 12373 packets/sec 12813386 bytes/sec 10% + Last 300 seconds output: 5850 packets/sec 1754759 bytes/sec 1% + Input (total): 8921849313 packets, 8824002336096 bytes + 8920362260 unicasts, 1148150 broadcasts, 338903 multicasts, 0 pauses + Input (normal): 8921849313 packets, - bytes + 8920362260 unicasts, 1148150 broadcasts, 338903 multicasts, 0 pauses + Input: 0 input errors, 0 runts, 0 giants, 0 throttles + 0 CRC, 0 frame, - overruns, 0 aborts + - ignored, - parity errors + Output (total): 5144360317 packets, 2083476745314 bytes + 5142107281 unicasts, 5 broadcasts, 2185269 multicasts, 0 pauses + Output (normal): 5144292555 packets, - bytes + 5142107281 unicasts, 5 broadcasts, 2185269 multicasts, 0 pauses + Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + 0 lost carrier, - no carrier +IPv4 traffic statistics: + Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec + Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec + Input: 0 packets, 0 bytes + Output: 0 packets, 0 bytes +IPv6 traffic statistics: + Last 300 seconds input rate: 0 packets/sec, 0 bytes/sec + Last 300 seconds output rate: 0 packets/sec, 0 bytes/sec + Input: 0 packets, 0 bytes + Output: 0 packets, 0 bytes diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface7.yml b/tests/hp_comware/display_interface/hp_comware_display_interface7.yml new file mode 100644 index 0000000000..ec99f49658 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface7.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - intf: "GigabitEthernet1/1/0/48" + line_status: "UP" + protocol_status: "UP" + hw_address: + - "7848-5900-0085" + description: "Internal-LAN" + bandwidth: "1000000 kbps" + speed: "1000Mbps-speed" + duplex: "full-duplex" + mtu: "" + l2mtu: "1536" + vlan_native: "1" + ip_address: [] + port_link_type: "Trunk" + vlan_passing: + - "4050" + vlan_permitted: + - "4050" diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface8.raw b/tests/hp_comware/display_interface/hp_comware_display_interface8.raw new file mode 100644 index 0000000000..07971c423e --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface8.raw @@ -0,0 +1,91 @@ +Aux0 +Current state: UP +Description: Aux0 Interface +Bandwidth: 9 kbps +Internet protocol processing: Disabled +Output queue - Urgent queuing: Size/Length/Discards 0/1024/0 +Output queue - Protocol queuing: Size/Length/Discards 0/500/0 +Output queue - FIFO queuing: Size/Length/Discards 0/75/0 +Last link flapping: 62 weeks 4 days 14 hours 41 minutes +Last clearing of counters: Never +Current system time:2023-03-13 14:27:45 SAR+03:00:00 +Last time when physical state changed to up:2021-12-29 23:46:09 SAR+03:00:00 +Last time when physical state changed to down:2021-12-29 23:45:05 SAR+03:00:00 +Physical layer: asynchronous, Baudrate: 9600 bps +Phy-mru: 1700 +Last 300 seconds input rate: 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec +Last 300 seconds output rate: 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec +Input: + 0 packets, 0 bytes + 0 broadcasts, 0 multicasts + 0 errors, 0 runts, 0 giants + 0 CRC, 0 align errors, 0 overruns + 0 aborts, 0 no buffers, 0 frame errors +Output: + 0 packets, 0 bytes + 0 errors, 0 underruns, 0 collisions + 0 deferred +DCD: DOWN, DTR: DOWN, DSR: DOWN, RTS: DOWN, CTS: DOWN + +GigabitEthernet0/0 +Current state: UP +Line protocol state: UP +Description: WAN ZONE +Bandwidth: 300000 kbps +Maximum transmission unit: 1500 +Internet address: 192.168.1.1/24 (Primary) +IP packet frame type: Ethernet II, hardware address: ec9b-8b00-004c +IPv6 packet frame type: Ethernet II, hardware address: ec9b-8b00-004c +Media type: Twisted pair, loopback: Not set, promiscuous mode: Not set +1000Mbps-speed mode, full-duplex mode +Link speed type is autonegotiation, link duplex type is autonegotiation +Flow-control: Disabled +Port priority: 0 +Output queue - Urgent queuing: Size/Length/Discards 0/1024/0 +Output queue - Protocol queuing: Size/Length/Discards 0/500/0 +Output queue - FIFO queuing: Size/Length/Discards 0/75/0 +Last link flapping: 62 weeks 4 days 14 hours 19 minutes +Last clearing of counters: Never +Current system time:2023-03-13 14:27:45 SAR+03:00:00 +Last time when physical state changed to up:2021-12-30 00:08:22 SAR+03:00:00 +Last time when physical state changed to down:2021-12-30 00:07:40 SAR+03:00:00 + Peak input rate: 37521564 bytes/sec, at 2023-03-12 17:41:29 + Peak output rate: 36577892 bytes/sec, at 2022-12-29 10:56:29 + Last 300 second input: 14471 packets/sec 12902049 bytes/sec 11% + Last 300 second output: 6727 packets/sec 2012919 bytes/sec 2% + Input (total): 58477926410 packets, 59087427091503 bytes + - unicasts, - broadcasts, - multicasts, - pauses + Input (normal): 58477926410 packets, - bytes + 58477926391 unicasts, 1 broadcasts, 18 multicasts, 0 pauses + Input: 0 input errors, 0 runts, 0 giants, - throttles + 0 CRC, - frame, - overruns, 0 aborts + - ignored, - parity errors + Output (total): 28469091813 packets, 9710797419692 bytes + - unicasts, - broadcasts, - multicasts, - pauses + Output (normal): 28469091813 packets, - bytes + 28467822832 unicasts, 5760 broadcasts, 1263221 multicasts, 0 pauses + Output: 0 output errors, - underruns, - buffer failures + 0 aborts, 0 deferred, 0 collisions, 0 late collisions + - lost carrier, - no carrier + +Tunnel100 +Current state: UP +Line protocol state: UP +Description: To_FW +Bandwidth: 64 kbps +Maximum transmission unit: 1476 +Internet address: 172.16.1.1/24 (Primary) +Tunnel source 1.2.3.4, destination 5.6.7.8 +Tunnel keepalive disabled +Tunnel TTL 255 +Tunnel protocol/transport GRE/IP + GRE key disabled + Checksumming of GRE packets disabled +Output queue - Urgent queuing: Size/Length/Discards 0/1024/0 +Output queue - Protocol queuing: Size/Length/Discards 0/500/0 +Output queue - FIFO queuing: Size/Length/Discards 0/75/0 +Last clearing of counters: Never +Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec +Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec +Input: 0 packets, 0 bytes, 0 drops +Output: 5644201 packets, 335832962 bytes, 0 drops diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface8.yml b/tests/hp_comware/display_interface/hp_comware_display_interface8.yml new file mode 100644 index 0000000000..1bfae94862 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface8.yml @@ -0,0 +1,51 @@ +--- +parsed_sample: + - intf: "Aux0" + line_status: "UP" + protocol_status: "" + hw_address: [] + description: "Aux0 Interface" + bandwidth: "9 kbps" + speed: "" + duplex: "" + mtu: "" + l2mtu: "" + vlan_native: "" + ip_address: [] + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] + - intf: "GigabitEthernet0/0" + line_status: "UP" + protocol_status: "UP" + hw_address: + - "ec9b-8b00-004c" + - "ec9b-8b00-004c" + description: "WAN ZONE" + bandwidth: "300000 kbps" + speed: "1000Mbps-speed" + duplex: "full-duplex" + mtu: "1500" + l2mtu: "" + vlan_native: "" + ip_address: + - "192.168.1.1/24" + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] + - intf: "Tunnel100" + line_status: "UP" + protocol_status: "UP" + hw_address: [] + description: "To_FW" + bandwidth: "64 kbps" + speed: "" + duplex: "" + mtu: "1476" + l2mtu: "" + vlan_native: "" + ip_address: + - "172.16.1.1/24" + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface9.raw b/tests/hp_comware/display_interface/hp_comware_display_interface9.raw new file mode 100644 index 0000000000..0a4843b91d --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface9.raw @@ -0,0 +1,48 @@ +GigabitEthernet0/0/0 current state: UP +Line protocol current state: DOWN +Description: GigabitEthernet0/0/0 Interface +The Maximum Transmit Unit is 1500 +Internet protocol processing : disabled +IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 7848-5932-0001 +IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 7848-5932-0001 +Media type is twisted pair, loopback not set, promiscuous mode not set +1000M, Full, link type is autonegotiation +Output flow-control is disabled, input flow-control is disabled +Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0 +Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0 +Output queue : (FIFO queuing : Size/Length/Discards) 0/1024/0 +Last clearing of counters: Never + Last 300 seconds input rate 2552703.00 bytes/sec, 20421624 bits/sec, 5670.94 packets/sec + Last 300 seconds output rate 12046604.00 bytes/sec, 96372832 bits/sec, 13608.96 packets/sec + Input: 7568736934 packets, 2754557243319 bytes, 0 no buffers + 7 broadcasts, 3290052 multicasts, 0 pauses + 0 errors, 0 runts, 0 giants + 0 crc, 0 align errors, 0 overruns + 0 dribbles, 0 drops + Output:13614549367 packets, 13897729745246 bytes + 1499499 broadcasts, 176467 multicasts, 0 pauses + 0 errors, 0 underruns, 0 collisions + 0 deferred, 0 lost carriers + +Tunnel100 current state: UP +Line protocol current state: UP +Description: << default route >> +The Maximum Transmit Unit is 1476 +Internet Address is 10.1.1.1/30 Primary +Encapsulation is TUNNEL, service-loopback-group ID not set. +Tunnel source 192.168.1.1, destination 192.168.1.2 +Tunnel bandwidth 64 (kbps) +Tunnel keepalive disabled +Tunnel protocol/transport GRE/IP + GRE key disabled + Checksumming of GRE packets disabled +Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0 +Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0 +Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0 +Last clearing of counters: Never + Last 300 seconds input: 0 bytes/sec, 0 packets/sec + Last 300 seconds output: 10375 bytes/sec, 45 packets/sec + 0 packets input, 0 bytes + 0 input error + 1350253832 packets output, 516083014949 bytes + 0 output error diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface9.yml b/tests/hp_comware/display_interface/hp_comware_display_interface9.yml new file mode 100644 index 0000000000..b903cfcbe7 --- /dev/null +++ b/tests/hp_comware/display_interface/hp_comware_display_interface9.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - intf: "GigabitEthernet0/0/0" + line_status: "UP" + protocol_status: "DOWN" + hw_address: + - "7848-5932-0001" + - "7848-5932-0001" + description: "GigabitEthernet0/0/0 Interface" + bandwidth: "" + speed: "1000M" + duplex: "Full" + mtu: "1500" + l2mtu: "" + vlan_native: "" + ip_address: [] + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] + - intf: "Tunnel100" + line_status: "UP" + protocol_status: "UP" + hw_address: [] + description: "<< default route >>" + bandwidth: "" + speed: "" + duplex: "" + mtu: "1476" + l2mtu: "" + vlan_native: "" + ip_address: + - "10.1.1.1/30" + port_link_type: "" + vlan_passing: [] + vlan_permitted: [] From bc37f9fbcebfdb61fbfd6807b7c628352f5bfa00 Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Wed, 29 Mar 2023 19:58:59 +0200 Subject: [PATCH 403/412] Fix hp_comware_display_vlan_all with production outputs (#1339) --- .../hp_comware_display_vlan_all.textfsm | 13 ++++++----- .../hp_comware_display_vlan_all1.raw | 23 +++++++++++++++++++ .../hp_comware_display_vlan_all1.yml | 16 +++++++++++++ 3 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.raw create mode 100644 tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.yml diff --git a/ntc_templates/templates/hp_comware_display_vlan_all.textfsm b/ntc_templates/templates/hp_comware_display_vlan_all.textfsm index 5417d01a06..f18afc3486 100644 --- a/ntc_templates/templates/hp_comware_display_vlan_all.textfsm +++ b/ntc_templates/templates/hp_comware_display_vlan_all.textfsm @@ -9,14 +9,15 @@ Value IPV4_SUBNET (\S+) Start ^\s*VLAN\s+ID\s*: -> Continue.Record ^\s*VLAN\s+ID\s*:\s*${VLAN_ID} - ^\s*VLAN\s+type\s*:\s*${TYPE} - ^\s*Route\s+interface\s*:\s*${ROUTE_INTERFACE} - ^\s*IPv4\s+address\s*:\s*${IPV4_ADDRESS} - ^\s*IPv4\s+subnet\s+mask\s*:\s*${IPV4_SUBNET} + ^\s*VLAN\s+[Tt]ype\s*:\s*${TYPE} + ^\s*Route\s+[Ii]nterface\s*:\s*${ROUTE_INTERFACE} + ^\s*IPv4\s+[Aa]ddress\s*:\s*${IPV4_ADDRESS} + ^\s*IPv4\s+[Ss]ubnet\s+mask\s*:\s*${IPV4_SUBNET} ^\s*Description\s*:\s*${DESCRIPTION} ^\s*Name\s*:\s*${NAME} - ^\s*Tagged\sports - ^\s*Untagged\sports + ^\s*Tagged\s+[Pp]orts + ^\s*Untagged\s+[Pp]orts ^\s{3,}\S+\s*$$ ^\s{3,}\S+\s+\S+\s*$$ + ^\s{3,}\S+\s+\S+\s+\S+\s*$$ ^. -> Error diff --git a/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.raw b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.raw new file mode 100644 index 0000000000..78b9bc7709 --- /dev/null +++ b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.raw @@ -0,0 +1,23 @@ + VLAN ID: 1 + VLAN Type: static + Route Interface: not configured + Description: VLAN 0001 + Name: VLAN 0001 + Tagged Ports: none + Untagged Ports: + Bridge-Aggregation1 + GigabitEthernet1/0/25 GigabitEthernet1/0/26 GigabitEthernet1/0/27 + GigabitEthernet1/0/28 + + VLAN ID: 1002 + VLAN Type: static + Route Interface: not configured + Description: VLAN 1002 + Name: VLAN 1002 + Tagged Ports: + Bridge-Aggregation1 + Ten-GigabitEthernet1/0/29 + Ten-GigabitEthernet1/0/30 + Untagged Ports: + GigabitEthernet1/0/1 GigabitEthernet1/0/2 GigabitEthernet1/0/3 + GigabitEthernet1/0/4 GigabitEthernet1/0/5 GigabitEthernet1/0/6 diff --git a/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.yml b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.yml new file mode 100644 index 0000000000..78d5c9dd82 --- /dev/null +++ b/tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "VLAN 0001" + description: "VLAN 0001" + type: "static" + route_interface: "not configured" + ipv4_address: "" + ipv4_subnet: "" + - vlan_id: "1002" + name: "VLAN 1002" + description: "VLAN 1002" + type: "static" + route_interface: "not configured" + ipv4_address: "" + ipv4_subnet: "" From bc8151c93ec7df2fbcffd09005f3903d20148bea Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Wed, 29 Mar 2023 19:59:41 +0200 Subject: [PATCH 404/412] =?UTF-8?q?Fix=20hp=5Fcomware=5Fdisplay=5Flldp=5Fn?= =?UTF-8?q?eighbor-information=5Flist=20with=20production=E2=80=A6=20(#134?= =?UTF-8?q?0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix hp_comware_display_lldp_neighbor-information_list with production outputs * cosmetic --- ...isplay_lldp_neighbor-information_list.textfsm | 16 +++++++++++++--- ...e_display_lldp_neighbor-information_list1.raw | 6 ++++++ ...e_display_lldp_neighbor-information_list1.yml | 10 ++++++++++ ...e_display_lldp_neighbor-information_list2.raw | 5 +++++ ...e_display_lldp_neighbor-information_list2.yml | 14 ++++++++++++++ 5 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.raw create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.yml create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.raw create mode 100644 tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.yml diff --git a/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm index 0badb34a7e..5d5f280818 100644 --- a/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm +++ b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_list.textfsm @@ -1,12 +1,22 @@ Value Required LOCAL_INTERFACE (\S+) Value Required CHASSIS_ID (\S+) -Value Required NEIGHBOR_INTERFACE (\S+) +Value Required NEIGHBOR_INTERFACE ((\S+)|(Port\s\d+)) Value Required NEIGHBOR (\S+) Start ^.*Nearest\s+nontpmr\s+bridge\s+neighbor ^.*Nearest\s+customer\s+bridge\s+neighbor ^.*Nearest\s+bridge\s+neighbor - ^System\s+Name - ^\s*${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${CHASSIS_ID}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record Start + ^System\s+Name -> Format1 + ^Local\s+Interface -> Format2 + ^. -> Error + +Format1 + ^\s*${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${CHASSIS_ID}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record Format1 + # Dropping long hostnames + ^\s*\S+\s*$$ + ^. -> Error + +Format2 + ^\s*${LOCAL_INTERFACE}\s+${CHASSIS_ID}\s+${NEIGHBOR_INTERFACE}\s+${NEIGHBOR}\s*$$ -> Record Format2 ^. -> Error diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.raw b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.raw new file mode 100644 index 0000000000..e9bbd50b6e --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.raw @@ -0,0 +1,6 @@ +Chassis ID : * -- -- Nearest nontpmr bridge neighbor + # -- -- Nearest customer bridge neighbor + Default -- -- Nearest bridge neighbor +Local Interface Chassis ID Port ID System Name +XGE1/0/0/1 bcea-fa00-0033 Ten-GigabitEthernet1/0/47 SWITCH01 +XGE1/0/0/2 bcea-fa00-0033 Ten-GigabitEthernet2/0/47 SWITCH01 diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.yml b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.yml new file mode 100644 index 0000000000..661da1cdf0 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list1.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - local_interface: "XGE1/0/0/1" + chassis_id: "bcea-fa00-0033" + neighbor_interface: "Ten-GigabitEthernet1/0/47" + neighbor: "SWITCH01" + - local_interface: "XGE1/0/0/2" + chassis_id: "bcea-fa00-0033" + neighbor_interface: "Ten-GigabitEthernet2/0/47" + neighbor: "SWITCH01" diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.raw b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.raw new file mode 100644 index 0000000000..07b87cd5f5 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.raw @@ -0,0 +1,5 @@ +System Name Local Interface Chassis ID Port ID +SEP0000000000A0.exam GE1/0/24 10.1.2.3 AABBCCDDEEFF:P1 +ple.com +SWITCH01 XGE1/0/29 bcea-fa00-0033 Ten-GigabitEthernet1/0/17 +- GE2/0/45 SEP0000000000A0 Port 1 diff --git a/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.yml b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.yml new file mode 100644 index 0000000000..7b619a80d7 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_list/hp_comware_display_lldp_neighbor-information_list2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - local_interface: "GE1/0/24" + chassis_id: "10.1.2.3" + neighbor_interface: "AABBCCDDEEFF:P1" + neighbor: "SEP0000000000A0.exam" + - local_interface: "XGE1/0/29" + chassis_id: "bcea-fa00-0033" + neighbor_interface: "Ten-GigabitEthernet1/0/17" + neighbor: "SWITCH01" + - local_interface: "GE2/0/45" + chassis_id: "SEP0000000000A0" + neighbor_interface: "Port 1" + neighbor: "-" From a3ddcc409298d9f2798b4608aa8e6b704ee0115e Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Wed, 29 Mar 2023 20:28:17 +0200 Subject: [PATCH 405/412] Fix hp_comware_display_ip_interface with production outputs (#1341) * Fix hp_comware_display_ip_interface with production outputs --- .../hp_comware_display_ip_interface.textfsm | 2 + .../hp_comware_display_interface.raw | 12 ++-- .../hp_comware_display_interface.yml | 8 +-- .../hp_comware_display_interface1.raw | 8 +-- .../hp_comware_display_interface1.yml | 58 ++++++------------- .../hp_comware_display_interface3.raw | 4 +- .../hp_comware_display_interface3.yml | 7 +-- .../hp_comware_display_ip_interface.yml | 5 ++ .../hp_comware_display_ip_interface1.yml | 1 + .../hp_comware_display_ip_interface2.raw | 30 ++++++++++ .../hp_comware_display_ip_interface2.yml | 9 +++ 11 files changed, 82 insertions(+), 62 deletions(-) create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.raw create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.yml diff --git a/ntc_templates/templates/hp_comware_display_ip_interface.textfsm b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm index 6925412e0f..5d48b710b0 100644 --- a/ntc_templates/templates/hp_comware_display_ip_interface.textfsm +++ b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm @@ -1,6 +1,7 @@ Value INTF (\S+) Value LINE_STATUS (UP|DOWN|Administratively DOWN) Value PROTOCOL_STATUS (UP(\(spoofing\))?|DOWN) +Value ROUTE_MAP (\S+) Value List IPADDR (\S+) Value MTU (\d+) @@ -18,6 +19,7 @@ Interface ^Internet\s+Address\s+is\s+${IPADDR}\s+Sub ^Broadcast\s+address\s*:\s*\S+ ^The\s+Maximum\s+Transmit\s+Unit\s*:\s*${MTU}\s+bytes + ^Policy\s+routing\s+is\s+enabled,\s+using\s+route\s+map\s+${ROUTE_MAP} ^input\spackets\s*:\s*\d+,\sbytes\s*:\s*\d+,\smulticasts\s*:\s*\d+ ^output\spackets\s*:\s*\d+,\sbytes\s*:\s*\d+,\smulticasts\s*:\s*\d+ ^TTL\sinvalid\spacket\snumber\s*:\s*\d+ diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface.raw b/tests/hp_comware/display_interface/hp_comware_display_interface.raw index 425d14fbd5..e93412a75b 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface.raw +++ b/tests/hp_comware/display_interface/hp_comware_display_interface.raw @@ -1,10 +1,10 @@ Vlan-interface2000 Current state: UP Line protocol state: UP -Description: Servers-VLAN +Description: Servers Bandwidth: 10000000 kbps Maximum transmission unit: 1500 -Internet address: 10.1.200.1/24 (Primary) +Internet address: 10.1.1.1/24 (Primary) IP packet frame type: Ethernet II, hardware address: abab-cdcd-6486 IPv6 packet frame type: Ethernet II, hardware address: abab-cdcd-6486 Last clearing of counters: Never @@ -17,7 +17,7 @@ Bridge-Aggregation20 Current state: UP Line protocol state: UP IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 -Description: TO_DIST_02_3rd_FLOOR +Description: FIRST_BLOCK Bandwidth: 40000000 kbps 40Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation @@ -48,7 +48,7 @@ GigabitEthernet1/1/0/31 Current state: DOWN Line protocol state: DOWN IP packet frame type: Ethernet II, hardware address: abab-cdcd-6485 -Description: Aruba-WLC +Description: WIFI Bandwidth: 1000000 kbps Loopback is not set Media type is twisted pair, port hardware type is 1000_BASE_T @@ -69,9 +69,9 @@ Port link-type: Trunk Port priority: 0 Last link flapping: Never Last clearing of counters: Never -Current system time:2022-12-04 09:59:42 SAR+03:00:00 +Current system time:2022-12-04 09:59:42 EEST+03:00:00 Last time when physical state changed to up:- -Last time when physical state changed to down:2022-12-03 14:48:11 SAR+03:00:00 +Last time when physical state changed to down:2022-12-03 14:48:11 EEST+03:00:00 Peak input rate: 0 bytes/sec, at 2022-12-03 14:48:40 Peak output rate: 0 bytes/sec, at 2022-12-03 14:48:40 Last 300 seconds input: 0 packets/sec 0 bytes/sec -% diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface.yml b/tests/hp_comware/display_interface/hp_comware_display_interface.yml index 3db00c4a29..2102528fe7 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface.yml +++ b/tests/hp_comware/display_interface/hp_comware_display_interface.yml @@ -4,13 +4,13 @@ parsed_sample: line_status: "UP" protocol_status: "UP" ip_address: - - "10.1.200.1/24" + - "10.1.1.1/24" mtu: "1500" l2mtu: "" hw_address: - "abab-cdcd-6486" - "abab-cdcd-6486" - description: "Servers-VLAN" + description: "Servers" bandwidth: "10000000 kbps" duplex: "" speed: "" @@ -26,7 +26,7 @@ parsed_sample: l2mtu: "" hw_address: - "abab-cdcd-6485" - description: "TO_DIST_02_3rd_FLOOR" + description: "FIRST_BLOCK" bandwidth: "40000000 kbps" duplex: "full-duplex" speed: "40Gbps-speed" @@ -48,7 +48,7 @@ parsed_sample: - "abab-cdcd-6485" mtu: "" l2mtu: "9216" - description: "Aruba-WLC" + description: "WIFI" bandwidth: "1000000 kbps" duplex: "unknown-duplex" speed: "Unknown-speed" diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface1.raw b/tests/hp_comware/display_interface/hp_comware_display_interface1.raw index 1227a02f7d..5de89cec85 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface1.raw +++ b/tests/hp_comware/display_interface/hp_comware_display_interface1.raw @@ -1,16 +1,14 @@ Bridge-Aggregation41 Current state: UP IP packet frame type: Ethernet II, hardware address: aaaa-bbbb-0200 -Description: Agg41-to-VBLOCK-14 +Description: Servers Bandwidth: 160000000 kbps 160Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: Trunk - VLAN Passing: 2-31, 40-45, 49, 60-64, 66, 80-81, 98-104, 107, 110, 119-127 - 140-144, 160-164, 180, 182-193, 200-201, 213-222, 225-240, 243 - 250, 255, 411-413, 460, 555, 702, 777, 825, 829, 832, 836-837 - 845, 849, 852, 856-857, 865, 869, 872, 876-877, 1000-1002 + VLAN Passing: 2-21, 41-42, 43, 45-46, 47, 49-50, 52-101, 103, 105, 107-109 + 111-112, 114-115, 116, 118-119, 121-122, 123-125, 127-129, 131 VLAN permitted: 2-4094 Trunk port encapsulation: IEEE 802.1q Last clearing of counters: 13:42:38 Sun 11/27/2022 diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface1.yml b/tests/hp_comware/display_interface/hp_comware_display_interface1.yml index a579d90a87..cd53fc376e 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface1.yml +++ b/tests/hp_comware/display_interface/hp_comware_display_interface1.yml @@ -5,7 +5,7 @@ parsed_sample: protocol_status: "" hw_address: - "aaaa-bbbb-0200" - description: "Agg41-to-VBLOCK-14" + description: "Servers" bandwidth: "160000000 kbps" speed: "160Gbps-speed" duplex: "full-duplex" @@ -15,43 +15,23 @@ parsed_sample: ip_address: [] port_link_type: "Trunk" vlan_passing: - - "2-31" - - "40-45" - - "49" - - "60-64" - - "66" - - "80-81" - - "98-104" - - "107" - - "110" - - "119-127" - - "140-144" - - "160-164" - - "180" - - "182-193" - - "200-201" - - "213-222" - - "225-240" - - "243" - - "250" - - "255" - - "411-413" - - "460" - - "555" - - "702" - - "777" - - "825" - - "829" - - "832" - - "836-837" - - "845" - - "849" - - "852" - - "856-857" - - "865" - - "869" - - "872" - - "876-877" - - "1000-1002" + - "2-21" + - "41-42" + - "43" + - "45-46" + - "47" + - "49-50" + - "52-101" + - "103" + - "105" + - "107-109" + - "111-112" + - "114-115" + - "116" + - "118-119" + - "121-122" + - "123-125" + - "127-129" + - "131" vlan_permitted: - "2-4094" diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface3.raw b/tests/hp_comware/display_interface/hp_comware_display_interface3.raw index ebbd18db6d..e372a98750 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface3.raw +++ b/tests/hp_comware/display_interface/hp_comware_display_interface3.raw @@ -1,13 +1,13 @@ Bridge-Aggregation1 Current state: UP IP packet frame type: Ethernet II, hardware address: bcea-fa19-5f6c -Description: FL00-Z01 +Description: GROUND-FLOOR Bandwidth: 20000000 kbps 20Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: Trunk - VLAN Passing: 1(default vlan), 1000-1002, 1031, 1051, 1100, 2191, 3231, 4001 + VLAN Passing: 1(default vlan), 1000-1002, 1031 VLAN permitted: 1(default vlan), 2-4094 Trunk port encapsulation: IEEE 802.1q Last clearing of counters: Never diff --git a/tests/hp_comware/display_interface/hp_comware_display_interface3.yml b/tests/hp_comware/display_interface/hp_comware_display_interface3.yml index 40a4556a9b..f58118c792 100644 --- a/tests/hp_comware/display_interface/hp_comware_display_interface3.yml +++ b/tests/hp_comware/display_interface/hp_comware_display_interface3.yml @@ -5,7 +5,7 @@ parsed_sample: protocol_status: "" hw_address: - "bcea-fa19-5f6c" - description: "FL00-Z01" + description: "GROUND-FLOOR" bandwidth: "20000000 kbps" speed: "20Gbps-speed" duplex: "full-duplex" @@ -18,11 +18,6 @@ parsed_sample: - "1(default vlan)" - "1000-1002" - "1031" - - "1051" - - "1100" - - "2191" - - "3231" - - "4001" vlan_permitted: - "1(default vlan)" - "2-4094" diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml index 7804400d0e..b08687a82f 100644 --- a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml @@ -6,26 +6,31 @@ parsed_sample: mtu: "1536" line_status: "UP" protocol_status: "UP(spoofing)" + route_map: "" - intf: "M-GigabitEthernet0/0/0" ipaddr: [] mtu: "" line_status: "Administratively DOWN" protocol_status: "DOWN" + route_map: "" - intf: "Vlan-interface66" ipaddr: - "172.18.69.101/24" mtu: "1500" line_status: "UP" protocol_status: "UP" + route_map: "" - intf: "Vlan-interface89" ipaddr: - "172.18.89.3/24" mtu: "1500" line_status: "UP" protocol_status: "UP" + route_map: "" - intf: "Vlan-interface206" ipaddr: - "172.18.41.22/24" mtu: "1500" line_status: "UP" protocol_status: "UP" + route_map: "" diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml index d7e06a912e..523b777d57 100644 --- a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface1.yml @@ -5,3 +5,4 @@ parsed_sample: mtu: "" line_status: "UP" protocol_status: "DOWN" + route_map: "" diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.raw b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.raw new file mode 100644 index 0000000000..de935f77cc --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.raw @@ -0,0 +1,30 @@ +Route-Aggregation1.4 current state :UP +Line protocol current state :UP +Internet Address is 10.1.1.1/24 Primary +Broadcast address : 10.1.1.255 +The Maximum Transmit Unit : 1500 bytes +input packets : 519880114, bytes : 2114446514, multicasts : 1523365 +output packets : 892477481, bytes : 2635360909, multicasts : 1513360 +ARP packet input number: 4648 + Request packet: 9 + Reply packet: 4639 + Unknown packet: 0 +TTL invalid packet number: 1067079 +ICMP packet input number: 27 + Echo reply: 15 + Unreachable: 0 + Source quench: 0 + Routing redirect: 0 + Echo request: 0 + Router advert: 0 + Router solicit: 0 + Time exceed: 12 + IP header bad: 0 + Timestamp request: 0 + Timestamp reply: 0 + Information request: 0 + Information reply: 0 + Netmask request: 0 + Netmask reply: 0 + Unknown type: 0 +Policy routing is enabled, using route map TO_INTERNET diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.yml new file mode 100644 index 0000000000..9181761445 --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - intf: "Route-Aggregation1.4" + ipaddr: + - "10.1.1.1/24" + mtu: "1500" + line_status: "UP" + protocol_status: "UP" + route_map: "TO_INTERNET" From 6900ce457b5554b4a96a59b9cd2eb9ca4e4ca897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Ribot?= <98583408+k-ribot@users.noreply.github.com> Date: Thu, 30 Mar 2023 03:47:07 +0200 Subject: [PATCH 406/412] Ubiquiti EdgeRouter corrected IPv6 neighbors template without mac address (#1328) --- ...iti_edgerouter_show_ipv6_neighbors.textfsm | 2 +- ...biquiti_edgerouter_show_ipv6_neighbors.raw | 9 +++++ ...biquiti_edgerouter_show_ipv6_neighbors.yml | 36 +++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm index 66b3be51e3..4c33e04d76 100644 --- a/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ipv6_neighbors.textfsm @@ -4,6 +4,6 @@ Value MAC ((?:[0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}) Value STATE (\S+) Start - ^${IP}\sdev\s${INTERFACE}\slladdr\s${MAC}\s(router\s)?${STATE}\s*$$ -> Record + ^${IP}\s+(dev\s${INTERFACE})?\s*(lladdr\s${MAC})?\s*(router\s)?${STATE}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw index 441f77f8ac..23726e7c1d 100644 --- a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw +++ b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.raw @@ -3,3 +3,12 @@ fe80::7e91:22ff:fe87:d336 dev eth0 lladdr 7c:91:22:87:d3:36 STALE fe80::feec:daff:fe47:bf49 dev eth0 lladdr fc:ec:da:47:bf:49 router STALE fe80::250:56ff:fe90:50ee dev eth4.51 lladdr 00:50:56:90:50:ee router REACHABLE fe80::11:32ff:fe2a:c970 dev eth1 lladdr 02:11:32:2a:c9:70 STALE +2a05:c100:37:0:6d40:4b07:e518:9ada dev switch0.1 FAILED +fe80::be16:65ff:fe7e:1cc1 FAILED +2a02:33:44::1 router INCOMPLETE +fe80::d093:e5ff:fe8e:8427 lladdr d2:93:e5:8e:84:27 STALE +2a02:33:44::12 lladdr d2:93:e5:8e:84:27 STALE +fe80::be16:65ff:fe7e:1cc1 lladdr bc:16:65:7e:1c:c1 DELAY +2a02:33:44::1 lladdr bc:16:65:7e:1c:c1 router REACHABLE +fe80::d093:e5ff:fe8e:8427 lladdr d2:93:e5:8e:84:27 STALE +2a02:33:44::12 lladdr d2:93:e5:8e:84:27 STALE diff --git a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml index 0aa40c69b5..e086b751b0 100644 --- a/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml +++ b/tests/ubiquiti_edgerouter/show_ipv6_neighbors/ubiquiti_edgerouter_show_ipv6_neighbors.yml @@ -20,3 +20,39 @@ parsed_sample: interface: "eth1" mac: "02:11:32:2a:c9:70" state: "STALE" + - ip: "2a05:c100:37:0:6d40:4b07:e518:9ada" + interface: "switch0.1" + mac: "" + state: "FAILED" + - ip: "fe80::be16:65ff:fe7e:1cc1" + interface: "" + mac: "" + state: "FAILED" + - ip: "2a02:33:44::1" + interface: "" + mac: "" + state: "INCOMPLETE" + - ip: "fe80::d093:e5ff:fe8e:8427" + interface: "" + mac: "d2:93:e5:8e:84:27" + state: "STALE" + - ip: "2a02:33:44::12" + interface: "" + mac: "d2:93:e5:8e:84:27" + state: "STALE" + - ip: "fe80::be16:65ff:fe7e:1cc1" + interface: "" + mac: "bc:16:65:7e:1c:c1" + state: "DELAY" + - ip: "2a02:33:44::1" + interface: "" + mac: "bc:16:65:7e:1c:c1" + state: "REACHABLE" + - ip: "fe80::d093:e5ff:fe8e:8427" + interface: "" + mac: "d2:93:e5:8e:84:27" + state: "STALE" + - ip: "2a02:33:44::12" + interface: "" + mac: "d2:93:e5:8e:84:27" + state: "STALE" From 2fba0399f23f369833fa49d27f95e624ed45087f Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 2 Apr 2023 17:00:42 +0200 Subject: [PATCH 407/412] Fix output (#1344) --- ...play_lldp_neighbor-information_verbose.raw | 30 +++++++++---------- ...play_lldp_neighbor-information_verbose.yml | 30 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw index 93b90ea516..57dbf0dbb2 100644 --- a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw @@ -3,12 +3,12 @@ LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 457 days, 22 hours, 1 minutes, 46 seconds Chassis type : MAC address - Chassis ID : 70f9-6d6b-e800 + Chassis ID : 70f9-6d6b-1234 Port ID type : Interface name Port ID : GigabitEthernet0/0/1 Time to live : 120 - Port description : To_IDC-CORE-HS125X_T1/0/0/1(group40) - System name : IDC-Extranet-HR8808-1 + Port description : TO_CORE_1 + System name : SW1 System description : H3C Comware software. H3C SR8800 Product Version SR8800-C MW520-R3725P01. Copyright (c) 2004-2014 Hangzhou H3C Tech . Co., Ltd. All rights reserved. @@ -33,12 +33,12 @@ LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 457 days, 22 hours, 1 minutes, 38 seconds Chassis type : MAC address - Chassis ID : 70f9-6d17-ad59 + Chassis ID : 70f9-6d17-1235 Port ID type : Interface name Port ID : Ten-GigabitEthernet1/0/0/5 Time to live : 120 - Port description : To_IDC-CORE_-HS125X_T1/0/0/2(group1) - System name : IDC-Intranet-HS125X + Port description : TO_CORE_2 + System name : SW2 System description : H3C Comware Platform Software, Software Version 7.1.045, Release 1005P09 H3C S12510-X @@ -47,11 +47,11 @@ LLDP agent nearest-bridge: System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 - Management address : 172.16.37.18 + Management address : 10.6.5.4 Management address interface type : IfIndex Management address interface ID : 6576 Management address OID : 0 - Port VLAN ID(PVID) : 1300 + Port VLAN ID(PVID) : 10 Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID : 5 @@ -71,12 +71,12 @@ LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 457 days, 22 hours, 1 minutes, 31 seconds Chassis type : MAC address - Chassis ID : 70f9-6d17-ad59 + Chassis ID : 70f9-6d17-1236 Port ID type : Interface name Port ID : Ten-GigabitEthernet2/0/0/5 Time to live : 120 - Port description : To_IDC-CORE_-HS125X_T1/0/0/3(group1) - System name : IDC-Intranet-HS125X + Port description : TO_SPINE + System name : SW3 System description : H3C Comware Platform Software, Software Version 7.1.045, Release 1005P09 H3C S12510-X @@ -85,11 +85,11 @@ LLDP agent nearest-bridge: System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 - Management address : 172.16.37.18 + Management address : 10.6.5.3 Management address interface type : IfIndex Management address interface ID : 6576 Management address OID : 0 - Port VLAN ID(PVID) : 1300 + Port VLAN ID(PVID) : 10 Link aggregation supported : Yes Link aggregation enabled : Yes Aggregation port ID : 1565 @@ -110,7 +110,7 @@ LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 0 days, 0 hours, 3 minutes, 9 seconds Chassis type : MAC address - Chassis ID : 4c1c-503a-0100 + Chassis ID : 4c1c-503a-1234 Port ID type : Interface name Port ID : GigabitEthernet0/0 Time to live : 121 @@ -124,7 +124,7 @@ LLDP agent nearest-bridge: System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge System capabilities enabled : Bridge, Router, Customer Bridge Management address type : IPv4 - Management address : 12.1.1.2 + Management address : 10.1.1.2 Management address interface type : IfIndex Management address interface ID : 1 Management address OID : 0 diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml index 1f2e778628..aad5753f02 100644 --- a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml @@ -1,30 +1,30 @@ --- parsed_sample: - local_interface: "Ten-GigabitEthernet1/0/0/1" - chassis_id: "70f9-6d6b-e800" + chassis_id: "70f9-6d6b-1234" neighbor_port_id: "GigabitEthernet0/0/1" - neighbor_interface: "To_IDC-CORE-HS125X_T1/0/0/1(group40)" - neighbor: "IDC-Extranet-HR8808-1" + neighbor_interface: "TO_CORE_1" + neighbor: "SW1" management_ip: "" vlan: "" - local_interface: "Ten-GigabitEthernet1/0/0/2" - chassis_id: "70f9-6d17-ad59" + chassis_id: "70f9-6d17-1235" neighbor_port_id: "Ten-GigabitEthernet1/0/0/5" - neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/2(group1)" - neighbor: "IDC-Intranet-HS125X" - management_ip: "172.16.37.18" - vlan: "1300" + neighbor_interface: "TO_CORE_2" + neighbor: "SW2" + management_ip: "10.6.5.4" + vlan: "10" - local_interface: "Ten-GigabitEthernet1/0/0/3" - chassis_id: "70f9-6d17-ad59" + chassis_id: "70f9-6d17-1236" neighbor_port_id: "Ten-GigabitEthernet2/0/0/5" - neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/3(group1)" - neighbor: "IDC-Intranet-HS125X" - management_ip: "172.16.37.18" - vlan: "1300" + neighbor_interface: "TO_SPINE" + neighbor: "SW3" + management_ip: "10.6.5.3" + vlan: "10" - local_interface: "GigabitEthernet0/0" - chassis_id: "4c1c-503a-0100" + chassis_id: "4c1c-503a-1234" neighbor_port_id: "GigabitEthernet0/0" neighbor_interface: "GigabitEthernet0/0 Interface" neighbor: "Test-Router" - management_ip: "12.1.1.2" + management_ip: "10.1.1.2" vlan: "" From 930c1734d622dc58271baffb3901950ef575947f Mon Sep 17 00:00:00 2001 From: elavaud Date: Mon, 3 Apr 2023 22:52:26 +0700 Subject: [PATCH 408/412] Mikrotik routeros - ip firewall address-list print terse (#1160) --- ntc_templates/templates/index | 1 + ..._firewall_address-list_print_terse.textfsm | 11 ++ ..._firewall_address-list_print_terseIPv4.raw | 16 +++ ..._firewall_address-list_print_terseIPv4.yml | 114 ++++++++++++++++++ ..._firewall_address-list_print_terseIPv6.raw | 8 ++ ..._firewall_address-list_print_terseIPv6.yml | 58 +++++++++ 6 files changed, 208 insertions(+) create mode 100644 ntc_templates/templates/mikrotik_routeros_ip_firewall_address-list_print_terse.textfsm create mode 100644 tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.raw create mode 100644 tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.yml create mode 100644 tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.raw create mode 100644 tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0281542d39..b8ab3e425f 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -555,6 +555,7 @@ mikrotik_routeros_ip_firewall_filter_print_all_without-paging.textfsm, .*, mikro mikrotik_routeros_ip_dhcp-server_lease_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip dhcp-server lease print without-paging mikrotik_routeros_ip_firewall_nat_print_all_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall nat print all without-paging mikrotik_routeros_interface_ethernet_monitor_name_once.textfsm, .*, mikrotik_routeros, [[/]]interface ethernet monitor (\S+) once +mikrotik_routeros_ip_firewall_address-list_print_terse.textfsm, .*, mikrotik_routeros, [[/]]ip(v6)? firewall address-list print terse mikrotik_routeros_snmp_community_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]snmp community print without-paging mikrotik_routeros_ipv6_neighbor_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ipv6 neighbor print without-paging mikrotik_routeros_ip_arp_print_without-paging.textfsm, .*, mikrotik_routeros, [[/]]ip arp print without-paging diff --git a/ntc_templates/templates/mikrotik_routeros_ip_firewall_address-list_print_terse.textfsm b/ntc_templates/templates/mikrotik_routeros_ip_firewall_address-list_print_terse.textfsm new file mode 100644 index 0000000000..8b9d6f354d --- /dev/null +++ b/ntc_templates/templates/mikrotik_routeros_ip_firewall_address-list_print_terse.textfsm @@ -0,0 +1,11 @@ +Value Key INDEX (\d+) +Value FLAGS ([XD]) +Value LIST (\S+) +Value ADDRESS (\S+) +Value CREATION_TIME (\S+\s\S+) +Value TIMEOUT (\S+) +Value DYNAMIC (yes|no) + +Start + ^\s*${INDEX}\s+(${FLAGS}\s)?list=${LIST}\saddress=${ADDRESS}(\screation-time=${CREATION_TIME})?(\stimeout=${TIMEOUT})?(\sdynamic=${DYNAMIC})?.*$$ -> Record + ^. -> Error diff --git a/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.raw b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.raw new file mode 100644 index 0000000000..f7ae7e87e2 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.raw @@ -0,0 +1,16 @@ + 0 list=Eqinoxe address=185.48.253.0/27 creation-time=jan/01/2002 01:00:25 + 1 list=Eqinoxe address=185.48.254.0/28 creation-time=jan/01/2002 01:00:25 + 2 list=Eqinoxe address=185.163.212.64/28 creation-time=jan/01/2002 01:00:25 + 3 list=Eqinoxe address=185.163.212.48/28 creation-time=jan/01/2002 01:00:25 + 4 list=Eqinoxe address=185.197.109.16/28 creation-time=jan/01/2002 01:00:25 + 5 list=Supervision address=185.132.66.240 creation-time=jan/01/2002 01:00:25 + 6 list=Supervision address=85.14.167.232/29 creation-time=jan/01/2002 01:00:25 + 7 list=Supervision address=185.48.254.16/29 creation-time=jan/01/2002 01:00:25 + 8 list=Supervision address=5.10.130.152/30 creation-time=jan/01/2002 01:00:25 + 9 list=Supervision address=85.14.167.193 creation-time=jan/01/2002 01:00:25 +10 list=azeazeaze address=192.168.1.1 creation-time=jun/14/2022 06:34:30 +11 list=azeazeaze address=192.168.1.2 creation-time=jun/14/2022 06:44:09 +12 list=azeazeaze address=192.168.1.3 creation-time=jun/14/2022 06:44:51 +13 X list=azeazeaze address=192.168.3.0/24 creation-time=jun/14/2022 07:53:30 +14 D list=azeazeaze address=192.168.3.0/24 creation-time=jun/14/2022 07:53:49 timeout=4m52s +15 list=snmp-monitoring-address-list address=85.14.167.234 creation-time=mar/01/2023 13:59:33 diff --git a/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.yml b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.yml new file mode 100644 index 0000000000..c2b9476013 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv4.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - index: "0" + flags: "" + list: "Eqinoxe" + address: "185.48.253.0/27" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "1" + flags: "" + list: "Eqinoxe" + address: "185.48.254.0/28" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "2" + flags: "" + list: "Eqinoxe" + address: "185.163.212.64/28" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "3" + flags: "" + list: "Eqinoxe" + address: "185.163.212.48/28" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "4" + flags: "" + list: "Eqinoxe" + address: "185.197.109.16/28" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "5" + flags: "" + list: "Supervision" + address: "185.132.66.240" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "6" + flags: "" + list: "Supervision" + address: "85.14.167.232/29" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "7" + flags: "" + list: "Supervision" + address: "185.48.254.16/29" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "8" + flags: "" + list: "Supervision" + address: "5.10.130.152/30" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "9" + flags: "" + list: "Supervision" + address: "85.14.167.193" + creation_time: "jan/01/2002 01:00:25" + timeout: "" + dynamic: "" + - index: "10" + flags: "" + list: "azeazeaze" + address: "192.168.1.1" + creation_time: "jun/14/2022 06:34:30" + timeout: "" + dynamic: "" + - index: "11" + flags: "" + list: "azeazeaze" + address: "192.168.1.2" + creation_time: "jun/14/2022 06:44:09" + timeout: "" + dynamic: "" + - index: "12" + flags: "" + list: "azeazeaze" + address: "192.168.1.3" + creation_time: "jun/14/2022 06:44:51" + timeout: "" + dynamic: "" + - index: "13" + flags: "X" + list: "azeazeaze" + address: "192.168.3.0/24" + creation_time: "jun/14/2022 07:53:30" + timeout: "" + dynamic: "" + - index: "14" + flags: "D" + list: "azeazeaze" + address: "192.168.3.0/24" + creation_time: "jun/14/2022 07:53:49" + timeout: "4m52s" + dynamic: "" + - index: "15" + flags: "" + list: "snmp-monitoring-address-list" + address: "85.14.167.234" + creation_time: "mar/01/2023 13:59:33" + timeout: "" + dynamic: "" diff --git a/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.raw b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.raw new file mode 100644 index 0000000000..2de0040c86 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.raw @@ -0,0 +1,8 @@ + 0 list=Supervision address=2a05:c100::/48 dynamic=no + 1 list=Supervision address=2a00:41e0::/48 dynamic=no + 2 list=azeazeaze address=b620::/11 dynamic=no + 3 D list=azeazeaze address=63b6:67c3:da8b:2848:4a5c:851b:96a5:6b40/124 dynamic=yes + 4 D list=azeazeaze address=d4de:e2c0::/26 timeout=7m49s dynamic=yes + 5 list=azeazeaze address=e7ba:6ba4:5eb9:4014:37f:d1ab:6d74:ad62/128 dynamic=no + 6 X list=azeazeaze address=e7ba:6ba4:5eb9:4014:37f:d1ab:6d74:0/128 dynamic=no + 7 list=ertyhgfgf address=e7bb:6ba4:5eb9:4014:37f:d1ab:6d74:0/128 dynamic=no diff --git a/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.yml b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.yml new file mode 100644 index 0000000000..8698be3678 --- /dev/null +++ b/tests/mikrotik_routeros/ip_firewall_address-list_print_terse/mikrotik_routeros_ip_firewall_address-list_print_terseIPv6.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - index: "0" + flags: "" + list: "Supervision" + address: "2a05:c100::/48" + creation_time: "" + timeout: "" + dynamic: "no" + - index: "1" + flags: "" + list: "Supervision" + address: "2a00:41e0::/48" + creation_time: "" + timeout: "" + dynamic: "no" + - index: "2" + flags: "" + list: "azeazeaze" + address: "b620::/11" + creation_time: "" + timeout: "" + dynamic: "no" + - index: "3" + flags: "D" + list: "azeazeaze" + address: "63b6:67c3:da8b:2848:4a5c:851b:96a5:6b40/124" + creation_time: "" + timeout: "" + dynamic: "yes" + - index: "4" + flags: "D" + list: "azeazeaze" + address: "d4de:e2c0::/26" + creation_time: "" + timeout: "7m49s" + dynamic: "yes" + - index: "5" + flags: "" + list: "azeazeaze" + address: "e7ba:6ba4:5eb9:4014:37f:d1ab:6d74:ad62/128" + creation_time: "" + timeout: "" + dynamic: "no" + - index: "6" + flags: "X" + list: "azeazeaze" + address: "e7ba:6ba4:5eb9:4014:37f:d1ab:6d74:0/128" + creation_time: "" + timeout: "" + dynamic: "no" + - index: "7" + flags: "" + list: "ertyhgfgf" + address: "e7bb:6ba4:5eb9:4014:37f:d1ab:6d74:0/128" + creation_time: "" + timeout: "" + dynamic: "no" From bba75685af9aeed077c43d716e65328d2371034a Mon Sep 17 00:00:00 2001 From: lutfisan Date: Fri, 7 Apr 2023 17:24:22 +0700 Subject: [PATCH 409/412] add support zte_zxros --- ntc_templates/templates/index | 6 + .../templates/zte_zxros_show_arp.textfsm | 17 + .../zte_zxros_show_interface.textfsm | 30 ++ .../zte_zxros_show_interface_brief.textfsm | 14 + .../zte_zxros_show_isis_adjacency.textfsm | 18 ++ .../templates/zte_zxros_show_version.textfsm | 9 + tests/test_index_order.py | 1 + .../zte_zxros/show_arp/zte_zxros_show_arp.raw | 38 +++ .../zte_zxros/show_arp/zte_zxros_show_arp.yml | 204 ++++++++++++ .../zte_zxros_show_interface.raw | 132 ++++++++ .../zte_zxros_show_interface.yml | 73 +++++ .../zte_zxros_show_interface_brief.raw | 37 +++ .../zte_zxros_show_interface_brief.yml | 290 ++++++++++++++++++ .../zte_zxros_show_isis_adjacency.raw | 9 + .../zte_zxros_show_isis_adjacency.yml | 46 +++ .../show_version/zte_zxros_show_version.raw | 59 ++++ .../show_version/zte_zxros_show_version.yml | 5 + 17 files changed, 988 insertions(+) create mode 100644 ntc_templates/templates/zte_zxros_show_arp.textfsm create mode 100644 ntc_templates/templates/zte_zxros_show_interface.textfsm create mode 100644 ntc_templates/templates/zte_zxros_show_interface_brief.textfsm create mode 100644 ntc_templates/templates/zte_zxros_show_isis_adjacency.textfsm create mode 100644 ntc_templates/templates/zte_zxros_show_version.textfsm create mode 100644 tests/zte_zxros/show_arp/zte_zxros_show_arp.raw create mode 100644 tests/zte_zxros/show_arp/zte_zxros_show_arp.yml create mode 100644 tests/zte_zxros/show_interface/zte_zxros_show_interface.raw create mode 100644 tests/zte_zxros/show_interface/zte_zxros_show_interface.yml create mode 100644 tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.raw create mode 100644 tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.yml create mode 100644 tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.raw create mode 100644 tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.yml create mode 100644 tests/zte_zxros/show_version/zte_zxros_show_version.raw create mode 100644 tests/zte_zxros/show_version/zte_zxros_show_version.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b8ab3e425f..579bbbc588 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -610,6 +610,12 @@ watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] +zte_zxros_show_interface_brief.textfsm, .*, zte_zxros, sh[[ow]] inter[[face]] br[[ief]] +zte_zxros_show_isis_adjacency.textfsm, .*, zte_zxros, sh[[ow]] is[[is]] ad[[jacency]] +zte_zxros_show_interface.textfsm, .*, zte_zxros, sh[[ow]] int[[erface]] +zte_zxros_show_version.textfsm, .*, zte_zxros, sh[[ow]] ver[[sion]] +zte_zxros_show_arp.textfsm, .*, zte_zxros, sh[[ow]] arp + zyxel_os_cfg_lan_get_--Name_name.textfsm, .*, zyxel_os, cfg lan get --Name .+ zyxel_os_zycli_Ethctl_media-type.textfsm, .*, zyxel_os, zycli Ethctl media-type(\s\w+)* zyxel_os_cfg_firewall_acl_get.textfsm, .*, zyxel_os, cfg firewall(\s|_)acl get diff --git a/ntc_templates/templates/zte_zxros_show_arp.textfsm b/ntc_templates/templates/zte_zxros_show_arp.textfsm new file mode 100644 index 0000000000..28a0d366dc --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_arp.textfsm @@ -0,0 +1,17 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value AGE (\S+) +Value MAC (\S+) +Value List INTERFACE (\S+) +Value STATE (\S+) +Value EVLAN (\d+|N/A) +Value IVLAN (\d+|N/A) +Value List SINTERFACE (\S+) + +Start + ^The\s+count\s+is\d+ + ^IP\s+Hardware\s+Exter\s+Inter\s+Sub + ^Address\s+Age\s+Address\s+Interface\s+VlanID\s+VlanID\s+Interface + ^-+ + ^\d+\.\d+\.\d+\.\d+ -> Continue.Record + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE}\s+${EVLAN}\s+${IVLAN}\s+${SINTERFACE}\s*$$ + ^\s+${INTERFACE}(\s+${SINTERFACE})?\s*$$ diff --git a/ntc_templates/templates/zte_zxros_show_interface.textfsm b/ntc_templates/templates/zte_zxros_show_interface.textfsm new file mode 100644 index 0000000000..a6f31305e1 --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_interface.textfsm @@ -0,0 +1,30 @@ +Value Required INTERFACE (\S+) +Value LINK_STATUS (.+?) +Value INTFINDEX (\d+) +Value DESCRIPTION (.*?) +Value PROTOCOL_STATUS (.+?) +Value IPV4PROTOCOL (.+?) +Value IPV6PROTOCOL (.+?) +Value DETECT_STATUS (\S+) +Value UPTIME (.+?) +Value HARDWARE_TYPE (.+?) +Value MAC (\S+) +Value IPADDR (\S+?) +Value MASK (\d*) +Value BANDWITH (.+?) +Value List MTU (\d+) + +Start + ^\S -> Continue.Record + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+ifindex:\s+${INTFINDEX}\s*$$ + ^\s+Description:\s+${DESCRIPTION}\s*$$ + ^\s+Line\s+protocol\s+is\s+${PROTOCOL_STATUS},\s+IPv4\s+protocol\s+is\s+${IPV4PROTOCOL},\s+IPv6\s+protocol\s+is\s+${IPV6PROTOCOL},\s*$$ + ^\s+detected\s+status\s+is\s+${DETECT_STATUS}\s*$$ + ^\s+Last\s+line\s+protocol\s+up\s+time\s+:\s+${UPTIME}\s*$$ + ^\s+Hardware\s+is\s+${HARDWARE_TYPE},\s+address\s+is\s+${MAC}\s*$$ + ^\s+Internet\s+address\s+is\s+${IPADDR}/?${MASK}\s*$$ + ^\s+BW\s+${BANDWITH}\s*$$ + ^\s+IP\s+MTU\s+${MTU}\s+bytes + ^\s+MTU\s+${MTU}\s+bytes + ^\s+IPv6\s+MTU\s+${MTU}\s+bytes + ^\s+MPLS\s+MTU\s+${MTU}\s+bytes diff --git a/ntc_templates/templates/zte_zxros_show_interface_brief.textfsm b/ntc_templates/templates/zte_zxros_show_interface_brief.textfsm new file mode 100644 index 0000000000..485f15878e --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_interface_brief.textfsm @@ -0,0 +1,14 @@ +Value INTERFACE (\S+) +Value ATTR (\S+) +Value MODE (\S+) +Value BW (\S+) +Value ADMIN (up|down|administratively down) +Value PHY (up|down|administratively down) +Value PROT (up|down|administratively down) +Value DESCRIPTION (\S.*?) + +Start + ^Interface\s+Attribute\s+Mode\s+BW\s+Admin\s+Phy\s+Prot\s+Description + ^${INTERFACE}\s+${ATTR}\s+${MODE}\s+${BW}\s+${ADMIN}\s+${PHY}\s+${PROT}(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/zte_zxros_show_isis_adjacency.textfsm b/ntc_templates/templates/zte_zxros_show_isis_adjacency.textfsm new file mode 100644 index 0000000000..d31dbc56cd --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_isis_adjacency.textfsm @@ -0,0 +1,18 @@ +Value Filldown CONTEXT (\d+) +Value Required INTERFACE (\S+) +Value SYSTEM_ID ((\d+.\d+.\d+)|\S+) +Value STATE (\S+) +Value LEV (\S+) +Value HOLD_TIME (\d+) +Value SNPA ((\d+.\d+.\d+)|\S+) +Value PRI (\S+) +Value MT (\S+) +Value NSF (\S+) +Value AF (\S+) + +Start + ^Process\s+ID:\s+${CONTEXT}\s*$$ + ^Interface\s+System\s+id\s+State\s+Lev\s+Holds\s+SNPA\S*\s+Pri\s+MT\s+NSF\s+AF\s*$$ + ^${INTERFACE}\s+${SYSTEM_ID}\s+${STATE}\s+${LEV}\s+${HOLD_TIME}\s+${SNPA}\s+${PRI}\s+${MT}?\s+${NSF}\s+${AF}\s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/zte_zxros_show_version.textfsm b/ntc_templates/templates/zte_zxros_show_version.textfsm new file mode 100644 index 0000000000..2376d0f6ed --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_version.textfsm @@ -0,0 +1,9 @@ +Value HARDWARE (.+) +Value VERSION (.+) +Value UPTIME (.+?) + + +Start + ^ZXCTN${HARDWARE} + ^ZTE.+Software,\s+Version:\s+${VERSION},\s+Release\s+software + ^.+uptime\s+is\s+${UPTIME}\s*$$ diff --git a/tests/test_index_order.py b/tests/test_index_order.py index e2571963f7..ed716c4a1e 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -58,6 +58,7 @@ "vyos", "watchguard_firebox", "yamaha", + "zte_zxros", "zyxel_os", ] CHOICES_STRING = "|".join(OS_CHOICES) diff --git a/tests/zte_zxros/show_arp/zte_zxros_show_arp.raw b/tests/zte_zxros/show_arp/zte_zxros_show_arp.raw new file mode 100644 index 0000000000..7c5589efa1 --- /dev/null +++ b/tests/zte_zxros/show_arp/zte_zxros_show_arp.raw @@ -0,0 +1,38 @@ +Arp protect whole is disabled +The count is 17 +IP Hardware Exter Inter Sub +Address Age Address Interface VlanID VlanID Interface +-------------------------------------------------------------------------------- +10.10.255.1 H 744a.a42b.2010 xgei-1/1/0/1 201 N/A N/A + .201 +10.10.255.2 00:14:17 0427.5873.0b65 xgei-1/1/0/1 201 N/A xgei-1/1/0/1. + .201 201 +10.10.10.249 H 744a.a42b.2010 xgei-1/1/0/1 301 N/A N/A + .301 +10.10.10.250 00:14:17 0427.5873.0b65 xgei-1/1/0/1 301 N/A xgei-1/1/0/1. + .301 301 +10.10.10.25 H 744a.a42b.2010 xgei-1/1/0/1 401 N/A N/A + .401 +10.10.10.26 00:14:17 0427.5873.0b65 xgei-1/1/0/1 401 N/A xgei-1/1/0/1. + .401 401 +10.10.10.253 H 744a.a42b.2010 xgei-1/1/0/1 1001 N/A N/A + .1001 +10.10.10.254 00:14:17 0427.5873.0b65 xgei-1/1/0/1 1001 N/A xgei-1/1/0/1. + .1001 1001 +10.102.195.181 H 744a.a42b.2010 xgei-1/1/0/2 3100 N/A N/A + .3100 +10.102.195.182 00:00:39 8cdf.9d27.35c0 xgei-1/1/0/2 3100 N/A xgei-1/1/0/2. + .3100 3100 +10.89.255.201 H 744a.a42b.2010 xgei-1/1/0/2 3901 N/A N/A + .3901 +10.89.255.202 00:15:00 0020.85f8.5d58 xgei-1/1/0/2 3901 N/A xgei-1/1/0/2. + .3901 3901 +10.10.184.255 H 744a.a42b.2010 xxvgei-1/1/0 N/A N/A N/A + /20 +10.10.184.254 01:20:43 744a.a42b.1fe8 xxvgei-1/1/0 N/A N/A xxvgei-1/1/0/ + /20 20 +10.10.185.2 H 744a.a42b.2010 xxvgei-1/1/0 N/A N/A N/A + /24 +10.10.185.3 03:09:39 744a.a42b.d358 xxvgei-1/1/0 N/A N/A xxvgei-1/1/0/ + /24 24 +192.168.1.11 H 744a.a42b.2011 mgmt_eth N/A N/A N/A \ No newline at end of file diff --git a/tests/zte_zxros/show_arp/zte_zxros_show_arp.yml b/tests/zte_zxros/show_arp/zte_zxros_show_arp.yml new file mode 100644 index 0000000000..850380f001 --- /dev/null +++ b/tests/zte_zxros/show_arp/zte_zxros_show_arp.yml @@ -0,0 +1,204 @@ +--- +parsed_sample: + - address: "10.10.255.1" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/1" + - ".201" + state: "" + evlan: "201" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.255.2" + age: "00:14:17" + mac: "0427.5873.0b65" + interface: + - "xgei-1/1/0/1" + - ".201" + state: "" + evlan: "201" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/1." + - "201" + - address: "10.10.10.249" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/1" + - ".301" + state: "" + evlan: "301" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.10.250" + age: "00:14:17" + mac: "0427.5873.0b65" + interface: + - "xgei-1/1/0/1" + - ".301" + state: "" + evlan: "301" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/1." + - "301" + - address: "10.10.10.25" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/1" + - ".401" + state: "" + evlan: "401" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.10.26" + age: "00:14:17" + mac: "0427.5873.0b65" + interface: + - "xgei-1/1/0/1" + - ".401" + state: "" + evlan: "401" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/1." + - "401" + - address: "10.10.10.253" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/1" + - ".1001" + state: "" + evlan: "1001" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.10.254" + age: "00:14:17" + mac: "0427.5873.0b65" + interface: + - "xgei-1/1/0/1" + - ".1001" + state: "" + evlan: "1001" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/1." + - "1001" + - address: "10.102.195.181" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/2" + - ".3100" + state: "" + evlan: "3100" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.102.195.182" + age: "00:00:39" + mac: "8cdf.9d27.35c0" + interface: + - "xgei-1/1/0/2" + - ".3100" + state: "" + evlan: "3100" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/2." + - "3100" + - address: "10.89.255.201" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xgei-1/1/0/2" + - ".3901" + state: "" + evlan: "3901" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.89.255.202" + age: "00:15:00" + mac: "0020.85f8.5d58" + interface: + - "xgei-1/1/0/2" + - ".3901" + state: "" + evlan: "3901" + ivlan: "N/A" + sinterface: + - "xgei-1/1/0/2." + - "3901" + - address: "10.10.184.255" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xxvgei-1/1/0" + - "/20" + state: "" + evlan: "N/A" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.184.254" + age: "01:20:43" + mac: "744a.a42b.1fe8" + interface: + - "xxvgei-1/1/0" + - "/20" + state: "" + evlan: "N/A" + ivlan: "N/A" + sinterface: + - "xxvgei-1/1/0/" + - "20" + - address: "10.10.185.2" + age: "H" + mac: "744a.a42b.2010" + interface: + - "xxvgei-1/1/0" + - "/24" + state: "" + evlan: "N/A" + ivlan: "N/A" + sinterface: + - "N/A" + - "None" + - address: "10.10.185.3" + age: "03:09:39" + mac: "744a.a42b.d358" + interface: + - "xxvgei-1/1/0" + - "/24" + state: "" + evlan: "N/A" + ivlan: "N/A" + sinterface: + - "xxvgei-1/1/0/" + - "24" + - address: "192.168.1.11" + age: "H" + mac: "744a.a42b.2011" + interface: + - "mgmt_eth" + state: "" + evlan: "N/A" + ivlan: "N/A" + sinterface: + - "N/A" diff --git a/tests/zte_zxros/show_interface/zte_zxros_show_interface.raw b/tests/zte_zxros/show_interface/zte_zxros_show_interface.raw new file mode 100644 index 0000000000..fb8e6578d0 --- /dev/null +++ b/tests/zte_zxros/show_interface/zte_zxros_show_interface.raw @@ -0,0 +1,132 @@ +xxvgei-1/1/0/24 is up, ifindex: 8225 + Description: R-xxxxx-01Z_xxvgei-1/1/0/24_to_R-xxxxx02-01Z_xxvgei-1/1/0/20;by:XXX;CID:XXXXXXX + Line protocol is up, IPv4 protocol is up, IPv6 protocol is down, + detected status is RX-OK/TX-OK + Last line protocol up time : 2023-04-02 15:42:13 + Hardware is XXVGigabit Ethernet, address is 744a.a42b.2010 + Internet address is 10.206.185.2/31 + BW 10 Gbit/s + IP MTU 9178 bytes + MTU 9192 bytes + MPLS MTU 9178 bytes + + Fec-eth : N/A + Fec-bypass : disable + ARP type ARP + ARP Timeout 04:00:00 + Last Clear Time : 2023-03-15 00:23:16 Last Refresh Time: 2023-04-07 11:17:50 + Rate period : 30 s + Input : 54070488 bit/s 17263 packet/s + Output : 181452736 bit/s 19848 packet/s + Peak rate: + Input : 193604816 bit/s peak time 2023-03-18 19:13:50 + Output : 1832230896 bit/s peak time 2023-03-18 20:36:40 + Intf utilization: input 0.54% output 1.81% + HardwareCounters: + In_Bytes 9284060783182 In_Packets 37909098091 + In_Broadcasts 3 In_Multicasts 1009767 + In_Unicasts 37908088321 In_CRC_ERROR 0 + In_Fragments 0 In_64B 39549 + In_65_127B 23801374871 In_128_255B 7867332105 + In_256_511B 1669025875 In_512_1023B 1998802757 + In_1024_1518B 2559890154 In_1519_MaxB 12632780 + In_Undersize 0 In_Oversize 0 + E_Bytes 91949543490869 E_Packets 79122043711 + E_Broadcasts 5 E_Multicasts 1086970 + E_Unicasts 79120956747 E_CRC_ERROR 0 + E_64B 20521174 E_65_127B 7788975586 + E_128_255B 5664052345 E_256_511B 1768390101 + E_512_1023B 1247046702 E_1024_1518B 62105204361 + E_1519_MaxB 527853452 E_Oversize 0 + StreamCounters : + In_Bytes 9284060783182 In_Packets 37909098091 + E_Bytes 91949543490869 E_Packets 79122043711 +xxvgei-1/1/0/32 is administratively down, ifindex: 8233 + The interface is configured shutdown + Line protocol is down, IPv4 protocol is down, IPv6 protocol is down, + detected status is RX-OK/TX-OK + Last line protocol up time : - + Hardware is XXVGigabit Ethernet, address is 744a.a42b.2010 + Internet address is unassigned + BW 25 Gbit/s + IP MTU 1500 bytes + MTU 1600 bytes + MPLS MTU 1550 bytes + + Fec-eth : enable + Fec-bypass : disable + ARP type ARP + ARP Timeout 04:00:00 + Last Clear Time : 2023-03-15 00:23:16 Last Refresh Time: 2023-03-15 00:23:16 + Rate period : 30 s + Input : 0 bit/s 0 packet/s + Output : 0 bit/s 0 packet/s + Peak rate: + Input : 0 bit/s peak time N/A + Output : 0 bit/s peak time N/A + Intf utilization: input 0% output 0% + HardwareCounters: + In_Bytes 0 In_Packets 0 + In_Broadcasts 0 In_Multicasts 0 + In_Unicasts 0 In_CRC_ERROR 0 + In_Fragments 0 In_64B 0 + In_65_127B 0 In_128_255B 0 + In_256_511B 0 In_512_1023B 0 + In_1024_1518B 0 In_1519_MaxB 0 + In_Undersize 0 In_Oversize 0 + E_Bytes 0 E_Packets 0 + E_Broadcasts 0 E_Multicasts 0 + E_Unicasts 0 E_CRC_ERROR 0 + E_64B 0 E_65_127B 0 + E_128_255B 0 E_256_511B 0 + E_512_1023B 0 E_1024_1518B 0 + E_1519_MaxB 0 E_Oversize 0 + StreamCounters : + In_Bytes 0 In_Packets 0 + E_Bytes 0 E_Packets 0 +mgmt_eth is down, ifindex: 262145 + Line protocol is down, IPv4 protocol is down, IPv6 protocol is down, + detected status is RX-OK/TX-OK + Last line protocol up time : 2023-03-15 00:21:14 + Hardware is Management Ethernet, address is 744a.a42b.2011 + Internet address is 192.168.1.11/24 + BW 100 Mbit/s + IP MTU 1500 bytes + MTU 1514 bytes + ARP type ARP + ARP Timeout 04:00:00 + Last Clear Time : 2023-03-15 00:21:14 Last Refresh Time: 2023-03-15 00:21:20 + Rate period : 30 s + Input : 0 bit/s 0 packet/s + Output : 0 bit/s 0 packet/s + Peak rate: + Input : 0 bit/s peak time N/A + Output : 0 bit/s peak time N/A + Intf utilization: input 0% output 0% + HardwareCounters: + In_Bytes 0 In_Packets 0 + In_Broadcasts N/A In_Multicasts 0 + In_Unicasts N/A In_CRC_ERROR N/A + In_Fragments N/A In_64B N/A + In_65_127B N/A In_128_255B N/A + In_256_511B N/A In_512_1023B N/A + In_1024_1518B N/A In_1519_MaxB N/A + In_Undersize N/A In_Oversize 0 + E_Bytes 836 E_Packets 11 + E_Broadcasts N/A E_Multicasts N/A + E_Unicasts N/A E_CRC_ERROR N/A + E_64B N/A E_65_127B N/A + E_128_255B N/A E_256_511B N/A + E_512_1023B N/A E_1024_1518B N/A + E_1519_MaxB N/A E_Oversize 0 +loopback0 is up, ifindex: 8234 + Description: Management&Traffic address + Line protocol is up, IPv4 protocol is up, IPv6 protocol is up, + detected status is RX-OK/TX-OK + Last line protocol up time : 2023-03-15 00:21:12 + Hardware is Loopback, address is 744a.a42b.2010 + Internet address is 10.10.10.108/32 + BW 8 Gbit/s + IP MTU 1500 bytes + IPv6 MTU 1500 bytes + MPLS MTU 1550 bytes diff --git a/tests/zte_zxros/show_interface/zte_zxros_show_interface.yml b/tests/zte_zxros/show_interface/zte_zxros_show_interface.yml new file mode 100644 index 0000000000..c22159ad2d --- /dev/null +++ b/tests/zte_zxros/show_interface/zte_zxros_show_interface.yml @@ -0,0 +1,73 @@ +--- +parsed_sample: + - interface: "xxvgei-1/1/0/24" + link_status: "up" + intfindex: "8225" + description: "R-xxxxx-01Z_xxvgei-1/1/0/24_to_R-xxxxx02-01Z_xxvgei-1/1/0/20;by:XXX;CID:XXXXXXX" + protocol_status: "up" + ipv4protocol: "up" + ipv6protocol: "down" + detect_status: "RX-OK/TX-OK" + uptime: "2023-04-02 15:42:13" + hardware_type: "XXVGigabit Ethernet" + mac: "744a.a42b.2010" + ipaddr: "10.206.185.2" + mask: "31" + bandwith: "10 Gbit/s" + mtu: + - "9178" + - "9192" + - "9178" + - interface: "xxvgei-1/1/0/32" + link_status: "administratively down" + intfindex: "8233" + description: "" + protocol_status: "down" + ipv4protocol: "down" + ipv6protocol: "down" + detect_status: "RX-OK/TX-OK" + uptime: "-" + hardware_type: "XXVGigabit Ethernet" + mac: "744a.a42b.2010" + ipaddr: "unassigned" + mask: "" + bandwith: "25 Gbit/s" + mtu: + - "1500" + - "1600" + - "1550" + - interface: "mgmt_eth" + link_status: "down" + intfindex: "262145" + description: "" + protocol_status: "down" + ipv4protocol: "down" + ipv6protocol: "down" + detect_status: "RX-OK/TX-OK" + uptime: "2023-03-15 00:21:14" + hardware_type: "Management Ethernet" + mac: "744a.a42b.2011" + ipaddr: "192.168.1.11" + mask: "24" + bandwith: "100 Mbit/s" + mtu: + - "1500" + - "1514" + - interface: "loopback0" + link_status: "up" + intfindex: "8234" + description: "Management&Traffic address" + protocol_status: "up" + ipv4protocol: "up" + ipv6protocol: "up" + detect_status: "RX-OK/TX-OK" + uptime: "2023-03-15 00:21:12" + hardware_type: "Loopback" + mac: "744a.a42b.2010" + ipaddr: "10.10.10.108" + mask: "32" + bandwith: "8 Gbit/s" + mtu: + - "1500" + - "1500" + - "1550" diff --git a/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.raw b/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.raw new file mode 100644 index 0000000000..c79dd68e5a --- /dev/null +++ b/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.raw @@ -0,0 +1,37 @@ +Interface Attribute Mode BW Admin Phy Prot Description +xgei-1/1/0/1 optical Duplex/full 1G up up up Link_to_XXXXXX +xgei-1/1/0/2 optical Duplex/full 1G up up up Link_to_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... +xgei-1/1/0/3 optical Duplex/full 1G down down down +xgei-1/1/0/4 optical Duplex/full 1G down down down +xgei-1/1/0/5 optical Duplex/full 10G down down down +xgei-1/1/0/6 optical Duplex/full 10G down down down +xgei-1/1/0/7 optical Duplex/full 10G down down down +xgei-1/1/0/8 optical Duplex/full 10G down down down +xgei-1/1/0/9 optical Duplex/full 10G down down down +xgei-1/1/0/10 optical Duplex/full 10G down down down +cgei-1/1/0/33 optical Duplex/full 100G down down down +cgei-1/1/0/34 optical Duplex/full 100G down down down +cgei-1/1/0/35 optical Duplex/full 100G down down down +cgei-1/1/0/36 optical Duplex/full 100G down down down +xxvgei-1/1/0/11 optical Duplex/full 25G down down down +xxvgei-1/1/0/12 optical Duplex/full 25G down down down +xxvgei-1/1/0/13 optical Duplex/full 25G down down down +xxvgei-1/1/0/14 optical Duplex/full 25G down down down +xxvgei-1/1/0/15 optical Duplex/full 25G down down down +xxvgei-1/1/0/16 optical Duplex/full 25G down down down +xxvgei-1/1/0/17 optical Duplex/full 25G down down down +xxvgei-1/1/0/18 optical Duplex/full 25G down down down +xxvgei-1/1/0/19 optical Duplex/full 25G down down down +xxvgei-1/1/0/20 optical Duplex/full 10G up up up R-xxxx-01Z_xxvgei-1/1/0/20_to_C-XXXXXX-02Z_... +xxvgei-1/1/0/21 optical Duplex/full 25G down down down +xxvgei-1/1/0/22 optical Duplex/full 25G down down down +xxvgei-1/1/0/23 optical Duplex/full 25G down down down +xxvgei-1/1/0/24 optical Duplex/full 10G up up up R-xxxx01-01Z_xxvgei-1/1/0/24_to_R-XXXXX02-01Z_x... +xxvgei-1/1/0/25 optical Duplex/full 25G down down down +xxvgei-1/1/0/26 optical Duplex/full 25G down down down +xxvgei-1/1/0/27 optical Duplex/full 25G down down down +xxvgei-1/1/0/28 optical Duplex/full 25G down down down +xxvgei-1/1/0/29 optical Duplex/full 25G down down down +xxvgei-1/1/0/30 optical Duplex/full 25G down down down +xxvgei-1/1/0/31 optical Duplex/full 25G down down down +xxvgei-1/1/0/32 optical Duplex/full 25G down down down \ No newline at end of file diff --git a/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.yml b/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.yml new file mode 100644 index 0000000000..213f3a491b --- /dev/null +++ b/tests/zte_zxros/show_interface_brief/zte_zxros_show_interface_brief.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - interface: "xgei-1/1/0/1" + attr: "optical" + mode: "Duplex/full" + bw: "1G" + admin: "up" + phy: "up" + prot: "up" + description: "Link_to_XXXXXX" + - interface: "xgei-1/1/0/2" + attr: "optical" + mode: "Duplex/full" + bw: "1G" + admin: "up" + phy: "up" + prot: "up" + description: "Link_to_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..." + - interface: "xgei-1/1/0/3" + attr: "optical" + mode: "Duplex/full" + bw: "1G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/4" + attr: "optical" + mode: "Duplex/full" + bw: "1G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/5" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/6" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/7" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/8" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/9" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xgei-1/1/0/10" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "cgei-1/1/0/33" + attr: "optical" + mode: "Duplex/full" + bw: "100G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "cgei-1/1/0/34" + attr: "optical" + mode: "Duplex/full" + bw: "100G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "cgei-1/1/0/35" + attr: "optical" + mode: "Duplex/full" + bw: "100G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "cgei-1/1/0/36" + attr: "optical" + mode: "Duplex/full" + bw: "100G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/11" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/12" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/13" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/14" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/15" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/16" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/17" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/18" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/19" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/20" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "up" + phy: "up" + prot: "up" + description: "R-xxxx-01Z_xxvgei-1/1/0/20_to_C-XXXXXX-02Z_..." + - interface: "xxvgei-1/1/0/21" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/22" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/23" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/24" + attr: "optical" + mode: "Duplex/full" + bw: "10G" + admin: "up" + phy: "up" + prot: "up" + description: "R-xxxx01-01Z_xxvgei-1/1/0/24_to_R-XXXXX02-01Z_x..." + - interface: "xxvgei-1/1/0/25" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/26" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/27" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/28" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/29" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/30" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/31" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" + - interface: "xxvgei-1/1/0/32" + attr: "optical" + mode: "Duplex/full" + bw: "25G" + admin: "down" + phy: "down" + prot: "down" + description: "" diff --git a/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.raw b/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.raw new file mode 100644 index 0000000000..ff8ebf5114 --- /dev/null +++ b/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.raw @@ -0,0 +1,9 @@ +Process ID: 0 +Interface System id State Lev Holds SNPA(802.2) Pri MT NSF AF +xxvgei-1/1/0/20 RAW-KSBJB0072... UP L2 28 PPP - Disable IPv4 +xxvgei-1/1/0/24 RR-KSMTP1445-01Z UP L2 22 PPP - Disable IPv4 + +Process ID: 1 +Interface System id State Lev Holds SNPA(802.2) Pri MT NSF AF +xxvgei-1/1/0/2... RAW-KSBJB0072... UP L2 30 PPP - M Disable IPv6 +xxvgei-1/1/0/2... RR-KSMTP1445-01Z UP L2 22 PPP - M Disable IPv6 \ No newline at end of file diff --git a/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.yml b/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.yml new file mode 100644 index 0000000000..74fab8c2fb --- /dev/null +++ b/tests/zte_zxros/show_isis_adjacency/zte_zxros_show_isis_adjacency.yml @@ -0,0 +1,46 @@ +--- +parsed_sample: + - context: "0" + interface: "xxvgei-1/1/0/20" + system_id: "RAW-KSBJB0072..." + state: "UP" + lev: "L2" + hold_time: "28" + snpa: "PPP" + pri: "-" + mt: "" + nsf: "Disable" + af: "IPv4" + - context: "0" + interface: "xxvgei-1/1/0/24" + system_id: "RR-KSMTP1445-01Z" + state: "UP" + lev: "L2" + hold_time: "22" + snpa: "PPP" + pri: "-" + mt: "" + nsf: "Disable" + af: "IPv4" + - context: "1" + interface: "xxvgei-1/1/0/2..." + system_id: "RAW-KSBJB0072..." + state: "UP" + lev: "L2" + hold_time: "30" + snpa: "PPP" + pri: "-" + mt: "M" + nsf: "Disable" + af: "IPv6" + - context: "1" + interface: "xxvgei-1/1/0/2..." + system_id: "RR-KSMTP1445-01Z" + state: "UP" + lev: "L2" + hold_time: "22" + snpa: "PPP" + pri: "-" + mt: "M" + nsf: "Disable" + af: "IPv6" diff --git a/tests/zte_zxros/show_version/zte_zxros_show_version.raw b/tests/zte_zxros/show_version/zte_zxros_show_version.raw new file mode 100644 index 0000000000..96927f463a --- /dev/null +++ b/tests/zte_zxros/show_version/zte_zxros_show_version.raw @@ -0,0 +1,59 @@ +ZXCTN 6120H-S +ZTE ZXCTN Software, Version: 6120H-S V5.10.00.50, Release software +Copyright (c) 2022 by ZTE Corporation +System image file is , file size is 629,753,128 Bytes +System image is loaded from local +System uptime is 23 day(s), 10 hour(s), 59 minute(s) + +[SMGD, shelf 1, slot 1]: +Board Name : SMGD +Description : 6120H-S System Main Board D +Board License : LCS +System BaudRate : 115,200 bps +MPU-1/1/0, MSC: +Bootrom Version : V5.10.00B21 +Soft Version : N/A +Creation Date : 2022/10/20 14:05:00 +System Nvram : 8,192 bytes +System Memory : 8,192 Mbytes +System Flash : 0 Mbytes +Uptime is 23 day(s), 10 hour(s), 59 minute(s) + +[FAN, shelf 1, slot 2]: +Board Name : FAN +Description : Fan Control Board +Board License : N/A +FCP-1/2/0: +Bootrom Version : N/A +Soft Version : N/A +Creation Date : N/A +System Nvram : 0 bytes +System Memory : 0 Mbytes +System Flash : 0 Mbytes +Uptime is N/A + +[PW1DC, shelf 1, slot 3]: +Board Name : PW1DC +Description : Integrated DC Power Board +Board License : N/A +PWR-1/3/0: +Bootrom Version : N/A +Soft Version : N/A +Creation Date : N/A +System Nvram : 0 bytes +System Memory : 0 Mbytes +System Flash : 0 Mbytes +Uptime is N/A + +[PW1DC, shelf 1, slot 4]: +Board Name : PW1DC +Description : Integrated DC Power Board +Board License : N/A +PWR-1/4/0: +Bootrom Version : N/A +Soft Version : N/A +Creation Date : N/A +System Nvram : 0 bytes +System Memory : 0 Mbytes +System Flash : 0 Mbytes +Uptime is N/A \ No newline at end of file diff --git a/tests/zte_zxros/show_version/zte_zxros_show_version.yml b/tests/zte_zxros/show_version/zte_zxros_show_version.yml new file mode 100644 index 0000000000..5c6f5471a3 --- /dev/null +++ b/tests/zte_zxros/show_version/zte_zxros_show_version.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - hardware: " 6120H-S" + version: "6120H-S V5.10.00.50" + uptime: "23 day(s), 10 hour(s), 59 minute(s)" From f76f4dcbf2d1b69d4e2af7a07c94f08f3d5504d2 Mon Sep 17 00:00:00 2001 From: lutfisan Date: Sat, 8 Apr 2023 12:47:17 +0700 Subject: [PATCH 410/412] add zte_zxros_show_mpls_traffic-eng_tunnels --- ntc_templates/templates/index | 1 + ...xros_show_mpls_traffic-eng_tunnels.textfsm | 24 + ...te_zxros_show_mpls_traffic-eng_tunnels.raw | 495 ++++++++++++++++++ ...te_zxros_show_mpls_traffic-eng_tunnels.yml | 132 +++++ 4 files changed, 652 insertions(+) create mode 100644 ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm create mode 100644 tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw create mode 100644 tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 579bbbc588..477ec8b18b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -610,6 +610,7 @@ watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] +zte_zxros_show_mpls_traffic-eng_tunnels.textfsm, .*, zte_zxros, sh[[ow]] mpls traffic-eng tunnels zte_zxros_show_interface_brief.textfsm, .*, zte_zxros, sh[[ow]] inter[[face]] br[[ief]] zte_zxros_show_isis_adjacency.textfsm, .*, zte_zxros, sh[[ow]] is[[is]] ad[[jacency]] zte_zxros_show_interface.textfsm, .*, zte_zxros, sh[[ow]] int[[erface]] diff --git a/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm new file mode 100644 index 0000000000..3b89b58e24 --- /dev/null +++ b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm @@ -0,0 +1,24 @@ +Value Required NAME (\S+) +Value DESC (\S+) +Value DEST (\S+) +Value ADMIN (\S+) +Value OPER (\S+) +Value PATH (\S+) +Value SIGNAL (\S+) +Value INLABEL (\S+) +Value OUTLABEL (\S+) +Value SRC (\S+) +Value DST (\S+) +Value ID (\d+) +Value INSTANCE (\d+) + + +Start + ^Name: -> Continue.Record + ^Name:\s+${NAME}\s*$$ + ^\s+${DESC}\s+Destination:\s+${DEST}\s*$$ + ^\s+Admin:\s+${ADMIN}\s+Oper:\s+${OPER}\s+Path:\s+${PATH}\s+Signalling:\s+${SIGNAL}\s*$$ + ^\s+Signalling:\s+${SIGNAL}\s*$$ + ^\s+InLabel:\s+${INLABEL}(,\s+\d+)?\s*$$ + ^\s+OutLabel:\s+${OUTLABEL}(,\s+\d+)?\s*$$ + ^\s+Src\s+${SRC},\s+Dst\s+${DST},\s+Tun-ID\s+${ID},\s+Tun-Instance\s+${INSTANCE}\s*$$ diff --git a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw new file mode 100644 index 0000000000..2fa942371f --- /dev/null +++ b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw @@ -0,0 +1,495 @@ + +Name: tunnel_1 + (Tunnel1) Destination: 10.10.10.87 + Status: + Admin: up Oper: up Path: valid Signalling: connected + Path option: 1, type explicit name: Tunnel_RAW-XXXXX0056-01Z_to_R-PTABR-01 (Basis for Setup) + Path option: 2, type explicit name: Tunnel_RAW-XXXXX0056-01Z_to_R-PTABR-01-hsb + Pre-setup Path: none + Actual Bandwidth: N/A Tunnel Utilize: N/A + Actual Bandwidth In: N/A Tunnel Utilize In: N/A + Hot-standby protection: + protect option: 1, type dynamic (Basis for Setup) + PCE-authorized: NO + PCE-auto-init tunnel: NO + Active-MPLS-binding-SID: none + Config Parameters: + Resv-Style: SE + Metric Type: IGP (default) Upper Limit: 4294967295 + Hop Prior: disabled Upper Limit: - + Hot Hop Limit: - + Record-Route: enabled + Facility Fast-reroute: disabled + Detour Fast-reroute: disabled + Protect Coexist: disabled + Protect Nest: disabled + Main LSP Fast-reroute Block: disabled + Bandwidth Protection: disabled + Hot-standby-lsp Fast-reroute: disabled + E2E: disabled + BFD: disabled + Policy Class: N/A + Track Name: + Auto-reoptimize: enabled Time remaining:(3600/1198) + Hot-standby-lsp Auto-reoptimize: enabled Time remaining:(3600/1193) + Reference Hot-standby: enabled + Tunnel-Status: enabled + Bandwidth: 0 kbps (Global) Priority: 7 7 + CBS: 0 byte EIR: 0 kbps EBS: 0 byte + Main affinity: + Exclude-any: None + Include-any: None + Include-all: None + HSB affinity: + Exclude-any: None + Include-any: None + Include-all: None + FRR affinity: + Exclude-any: None + Include-any: None + Include-all: None + AutoRoute: disabled + AUTO-BW: disabled + Forwarding-adjacency: disabled + Co-routed Bidirect: disabled + Associated Bidirect: disabled + Rate-limit: disabled + Crankback: disabled + Soft Preemption: disabled + Soft Preemption Status: not pending + Addresses of preempting links: 0.0.0.0 + Graceful shutdown address: NULL + Without-CSPF: disabled + Ultralimit discard: disabled + PCEP slave name: + PCE-initiate: disabled + Advertise None-null: disabled + InLabel: - + OutLabel: smartgroup2, 282291 + LSP recoverd from GR: NO + RSVP Signalling Info : + Src 10.10.10.1, Dst 10.10.10.87, Tun-ID 1, Tun-Instance 335 + RSVP Path Info: + Explicit Route: 10.10.10.22 10.10.10.23 10.10.10.194 + 10.10.10195 10.10.10.87 + Exclude Route: NULL + Record Route: NULL + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + RSVP Resv Info: + Record Route: 10.10.10.23(282291) 10.10.10.195(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 3 days, 17 hours, 21 minutes, 25 seconds + Time Since Up : 3 days, 17 hours, 18 minutes, 17 seconds + Prior LSP(main): path option 1 + Current LSP: Uptime:2 days, 1 hours, 49 minutes, 41 seconds + Last LSP Error Information: + Cspf failed(lspid:762,errcode:1,errvalue:44). + Cspf failed(lspid:761,errcode:1,errvalue:44). + Cspf failed(lspid:760,errcode:1,errvalue:44). + +Name: tunnel_1 + (hot)(Tunnel1) Destination: 10.10.10.87 + Status: + Signalling: up + Actual Bandwidth: N/A Tunnel Utilize: N/A + Actual Bandwidth In: N/A Tunnel Utilize In: N/A + Hot-standby protection: + PCE-authorized: NO + PCE-auto-init tunnel: NO + Active-MPLS-binding-SID: none + Config Parameters: + BFD: disabled + Hot-standby-lsp Fast-reroute: disabled + Hot-standby-lsp Auto-reoptimize: enabled Time remaining:(3600/1192) + Bandwidth: 0 kbps (Global) Priority: 7 7 + CBS: 0 byte EIR: 0 kbps EBS: 0 byte + Main affinity: + Exclude-any: None + Include-any: None + Include-all: None + HSB affinity: + Exclude-any: None + Include-any: None + Include-all: None + FRR affinity: + Exclude-any: None + Include-any: None + Include-all: None + AutoRoute: disabled + AUTO-BW: disabled + Forwarding-adjacency: disabled + Co-routed Bidirect: disabled + Associated Bidirect: disabled + Rate-limit: disabled + Crankback: disabled + Soft Preemption: disabled + Soft Preemption Status: not pending + Addresses of preempting links: 0.0.0.0 + Graceful shutdown address: NULL + Without-CSPF: disabled + Ultralimit discard: disabled + PCEP slave name: + PCE-initiate: disabled + Advertise None-null: disabled + InLabel: - + OutLabel: smartgroup1, 475765 + LSP recoverd from GR: NO + RSVP Signalling Info : + Src 10.10.10.1, Dst 10.10.10.87, Tun-ID 1, Tun-Instance 336 + RSVP Path Info: + Explicit Route: 10.10.10.21 10.10.10.20 10.10.10.24 + 10.10.10.25 10.10.10.87 + Exclude Route: NULL + Record Route: NULL + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + RSVP Resv Info: + Record Route: 10.10.10.10(475765) 10.10.10.20(475765) + 10.10.10.25(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 3 days, 17 hours, 21 minutes, 26 seconds + Time Since Up : 3 days, 17 hours, 18 minutes, 18 seconds + Prior LSP(HSB): path option 1 + Current LSP: Uptime:2 days, 1 hours, 49 minutes, 42 seconds + Last LSP Error Information: + Cspf failed(lspid:762,errcode:1,errvalue:44). + Cspf failed(lspid:761,errcode:1,errvalue:44). + Cspf failed(lspid:760,errcode:1,errvalue:44). + +Name: tunnel_2 + (Tunnel2) Destination: 10.10.10.117 + Status: + Admin: up Oper: up Path: valid Signalling: connected + Path option: 1, type explicit name: Tunnel_RAW-XXXXX0056-01Z_to_AG-PTPMK-01 (Basis for Setup) + Path option: 2, type explicit name: Tunnel_RAW-XXXXX0056-01Z_to_AG-PTPMK-01-hsb + Pre-setup Path: none + Actual Bandwidth: N/A Tunnel Utilize: N/A + Actual Bandwidth In: N/A Tunnel Utilize In: N/A + Hot-standby protection: + protect option: 1, type dynamic (Basis for Setup) + PCE-authorized: NO + PCE-auto-init tunnel: NO + Active-MPLS-binding-SID: none + Config Parameters: + Resv-Style: SE + Metric Type: IGP (default) Upper Limit: 4294967295 + Hop Prior: disabled Upper Limit: - + Hot Hop Limit: - + Record-Route: enabled + Facility Fast-reroute: disabled + Detour Fast-reroute: disabled + Protect Coexist: disabled + Protect Nest: disabled + Main LSP Fast-reroute Block: disabled + Bandwidth Protection: disabled + Hot-standby-lsp Fast-reroute: disabled + E2E: disabled + BFD: disabled + Policy Class: N/A + Track Name: + Auto-reoptimize: enabled Time remaining:(3600/1197) + Hot-standby-lsp Auto-reoptimize: enabled Time remaining:(3600/1192) + Reference Hot-standby: enabled + Tunnel-Status: enabled + Bandwidth: 0 kbps (Global) Priority: 7 7 + CBS: 0 byte EIR: 0 kbps EBS: 0 byte + Main affinity: + Exclude-any: None + Include-any: None + Include-all: None + HSB affinity: + Exclude-any: None + Include-any: None + Include-all: None + FRR affinity: + Exclude-any: None + Include-any: None + Include-all: None + AutoRoute: disabled + AUTO-BW: disabled + Forwarding-adjacency: disabled + Co-routed Bidirect: disabled + Associated Bidirect: disabled + Rate-limit: disabled + Crankback: disabled + Soft Preemption: disabled + Soft Preemption Status: not pending + Addresses of preempting links: 0.0.0.0 + Graceful shutdown address: NULL + Without-CSPF: disabled + Ultralimit discard: disabled + PCEP slave name: + PCE-initiate: disabled + Advertise None-null: disabled + InLabel: - + OutLabel: smartgroup2, 3 + LSP recoverd from GR: NO + RSVP Signalling Info : + Src 10.10.10.1, Dst 10.10.10.117, Tun-ID 2, Tun-Instance 336 + RSVP Path Info: + Explicit Route: 10.10.10.22 10.10.10.23 10.10.10.117 + Exclude Route: NULL + Record Route: NULL + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + RSVP Resv Info: + Record Route: 10.10.10.23(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 3 days, 17 hours, 21 minutes, 26 seconds + Time Since Up : 2 days, 1 hours, 52 minutes, 11 seconds + Prior LSP(main): path option 1 + Current LSP: Uptime:2 days, 1 hours, 50 minutes, 34 seconds + Last LSP Error Information: + Cspf failed(lspid:765,errcode:1,errvalue:44). + Cspf failed(lspid:764,errcode:1,errvalue:44). + Cspf failed(lspid:763,errcode:1,errvalue:44). + +Name: tunnel_2 + (hot)(Tunnel2) Destination: 10.10.10.117 + Status: + Signalling: up + Actual Bandwidth: N/A Tunnel Utilize: N/A + Actual Bandwidth In: N/A Tunnel Utilize In: N/A + Hot-standby protection: + PCE-authorized: NO + PCE-auto-init tunnel: NO + Active-MPLS-binding-SID: none + Config Parameters: + BFD: disabled + Hot-standby-lsp Fast-reroute: disabled + Hot-standby-lsp Auto-reoptimize: enabled Time remaining:(3600/1192) + Bandwidth: 0 kbps (Global) Priority: 7 7 + CBS: 0 byte EIR: 0 kbps EBS: 0 byte + Main affinity: + Exclude-any: None + Include-any: None + Include-all: None + HSB affinity: + Exclude-any: None + Include-any: None + Include-all: None + FRR affinity: + Exclude-any: None + Include-any: None + Include-all: None + AutoRoute: disabled + AUTO-BW: disabled + Forwarding-adjacency: disabled + Co-routed Bidirect: disabled + Associated Bidirect: disabled + Rate-limit: disabled + Crankback: disabled + Soft Preemption: disabled + Soft Preemption Status: not pending + Addresses of preempting links: 0.0.0.0 + Graceful shutdown address: NULL + Without-CSPF: disabled + Ultralimit discard: disabled + PCEP slave name: + PCE-initiate: disabled + Advertise None-null: disabled + InLabel: - + OutLabel: smartgroup1, 475764 + LSP recoverd from GR: NO + RSVP Signalling Info : + Src 10.10.10.1, Dst 10.10.10.117, Tun-ID 2, Tun-Instance 337 + RSVP Path Info: + Explicit Route: 10.10.10.21 10.10.10.20 10.10.10.24 + 10.10.10.25 10.10.10.195 10.10.10.194 + 10.10.10.117 + Exclude Route: NULL + Record Route: NULL + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + RSVP Resv Info: + Record Route: 10.10.10.10(475764) 10.10.10.20(475764) + 10.10.10.25(269025) 10.10.10.194(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 3 days, 17 hours, 21 minutes, 26 seconds + Time Since Up : 2 days, 1 hours, 52 minutes, 11 seconds + Prior LSP(HSB): path option 1 + Current LSP: Uptime:2 days, 1 hours, 50 minutes, 33 seconds + Last LSP Error Information: + Cspf failed(lspid:765,errcode:1,errvalue:44). + Cspf failed(lspid:764,errcode:1,errvalue:44). + Cspf failed(lspid:763,errcode:1,errvalue:44). + +Name: tunnel_1 + (remote)(Tunnel1) Destination: 10.10.10.87 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: smartgroup1, 205844 + OutLabel: smartgroup2, 282288 + LSP recoverd from GR: NO + Src 10.10.10.10, Dst 10.10.10.87, Tun-ID 1, Tun-Instance 35831 + RSVP Path Info: + Explicit Route: 10.10.10.21 10.10.10.22 10.10.10.23 + 10.10.10.194 10.10.10.195 10.10.10.87 + Exclude Route: NULL + Record Route: 10.10.10.10 10.10.10.20 + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: 10.10.10.23(282288) 10.10.10.195(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 2 days, 1 hours, 50 minutes, 45 seconds + Current LSP: Uptime:2 days, 1 hours, 50 minutes, 41 seconds + +Name: tunnel_2 + (remote)(Tunnel2) Destination: 10.10.10.117 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: smartgroup1, 205845 + OutLabel: smartgroup2, 3 + LSP recoverd from GR: NO + Src 10.10.10.10, Dst 10.10.10.117, Tun-ID 2, Tun-Instance 35956 + RSVP Path Info: + Explicit Route: 10.10.10.21 10.10.10.22 10.10.10.23 + 10.10.10.117 + Exclude Route: NULL + Record Route: 10.10.10.10 10.10.10.20 + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: 10.10.10.23(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 2 days, 1 hours, 49 minutes, 14 seconds + Current LSP: Uptime:2 days, 1 hours, 49 minutes, 13 seconds + +Name: tunnel_101 + (remote)(Tunnel101) Destination: 10.169.120.220 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: xxvgei-1/1/0/20, 205926 + OutLabel: smartgroup2, 283792 + LSP recoverd from GR: NO + Src 10.10.10.4, Dst 10.169.120.220, Tun-ID 101, Tun-Instance 24849 + RSVP Path Info: + Explicit Route: 10.10.10.2 10.10.10.22 10.10.10.23 + 10.10.10.194 10.10.10.195 10.10.10.57 + 10.10.10.56 10.169.120.220 + Exclude Route: NULL + Record Route: 10.10.10.2 10.10.10.3 10.10.10.3 + 10.10.10.5 10.10.10.4 10.10.10.7 + Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: 10.10.10.23(283792) 10.10.10.195(270881) + 10.10.10.56(3) + Fspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb + + History: + Tunnel: + Time Since Created: 0 days, 18 hours, 6 minutes, 44 seconds + Current LSP: Uptime:0 days, 18 hours, 6 minutes, 43 seconds + +Name: AG-PTPMK-01-to-RAW-XXXXX0056-01Z + (remote)(Tunnel8011) Destination: 10.10.10.1 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: smartgroup2, 3 + OutLabel: - + LSP recoverd from GR: NO + Src 10.10.10.117, Dst 10.10.10.1, Tun-ID 8011, Tun-Instance 103 + RSVP Path Info: + Explicit Route: NULL + Exclude Route: NULL + Record Route: 10.10.10.23 + Tspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: NULL + Fspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + + History: + Tunnel: + Time Since Created: 2 days, 1 hours, 40 minutes, 56 seconds + Current LSP: Uptime:2 days, 1 hours, 40 minutes, 56 seconds + +Name: Bypass->10.10.10.78->10.10.10.242 + (remote)(Tunnel14243) Destination: 10.10.10.73 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: smartgroup1, 205843 + OutLabel: smartgroup2, 282252 + LSP recoverd from GR: NO + Src 10.10.10.87, Dst 10.10.10.73, Tun-ID 14243, Tun-Instance 1 + RSVP Path Info: + Explicit Route: 10.10.10.21 10.10.10.22 10.10.10.23 + 10.10.10.246 10.10.10.249 + Exclude Route: NULL + Record Route: 10.10.10.10 10.10.10.20 10.10.10.25 + Tspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: 10.10.10.23(282252) 10.10.10.74(397) + 10.10.10.250(397) 10.10.10.73(3) + 10.10.10.249(3) + Fspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + + History: + Tunnel: + Time Since Created: 2 days, 1 hours, 51 minutes, 26 seconds + Current LSP: Uptime:2 days, 1 hours, 51 minutes, 23 seconds + +Name: R-PTABR-01-to-RAW-XXXXX0056-01Z + (remote)(Tunnel53991) Destination: 10.10.10.1 + Status: + Signalling: up + RSVP Signalling Info : + InLabel: smartgroup2, 3 + OutLabel: - + LSP recoverd from GR: NO + Src 10.10.10.87, Dst 10.10.10.1, Tun-ID 53991, Tun-Instance 80 + RSVP Path Info: + Explicit Route: NULL + Exclude Route: NULL + Record Route: 10.10.10.23 10.10.10.195 + Tspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + Affinity(Bit position): + Exclude-any: None + Include-any: None + Include-all: None + RSVP Resv Info: + Record Route: NULL + Fspec: ave rate= 0 kb, burst= 0 byte, peak rate= inf kb + + History: + Tunnel: + Time Since Created: 2 days, 1 hours, 51 minutes, 13 seconds + Current LSP: Uptime:2 days, 1 hours, 51 minutes, 13 seconds \ No newline at end of file diff --git a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml new file mode 100644 index 0000000000..12459e8d41 --- /dev/null +++ b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml @@ -0,0 +1,132 @@ +--- +parsed_sample: + - name: "tunnel_1" + desc: "(Tunnel1)" + dest: "10.10.10.87" + admin: "up" + oper: "up" + path: "valid" + signal: "connected" + inlabel: "-" + outlabel: "smartgroup2" + src: "10.10.10.1" + dst: "10.10.10.87" + id: "1" + instance: "335" + - name: "tunnel_1" + desc: "(hot)(Tunnel1)" + dest: "10.10.10.87" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "-" + outlabel: "smartgroup1" + src: "10.10.10.1" + dst: "10.10.10.87" + id: "1" + instance: "336" + - name: "tunnel_2" + desc: "(Tunnel2)" + dest: "10.10.10.117" + admin: "up" + oper: "up" + path: "valid" + signal: "connected" + inlabel: "-" + outlabel: "smartgroup2" + src: "10.10.10.1" + dst: "10.10.10.117" + id: "2" + instance: "336" + - name: "tunnel_2" + desc: "(hot)(Tunnel2)" + dest: "10.10.10.117" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "-" + outlabel: "smartgroup1" + src: "10.10.10.1" + dst: "10.10.10.117" + id: "2" + instance: "337" + - name: "tunnel_1" + desc: "(remote)(Tunnel1)" + dest: "10.10.10.87" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "smartgroup1" + outlabel: "smartgroup2" + src: "10.10.10.10" + dst: "10.10.10.87" + id: "1" + instance: "35831" + - name: "tunnel_2" + desc: "(remote)(Tunnel2)" + dest: "10.10.10.117" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "smartgroup1" + outlabel: "smartgroup2" + src: "10.10.10.10" + dst: "10.10.10.117" + id: "2" + instance: "35956" + - name: "tunnel_101" + desc: "(remote)(Tunnel101)" + dest: "10.169.120.220" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "xxvgei-1/1/0/20" + outlabel: "smartgroup2" + src: "10.10.10.4" + dst: "10.169.120.220" + id: "101" + instance: "24849" + - name: "AG-PTPMK-01-to-RAW-XXXXX0056-01Z" + desc: "(remote)(Tunnel8011)" + dest: "10.10.10.1" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "smartgroup2" + outlabel: "-" + src: "10.10.10.117" + dst: "10.10.10.1" + id: "8011" + instance: "103" + - name: "Bypass->10.10.10.78->10.10.10.242" + desc: "(remote)(Tunnel14243)" + dest: "10.10.10.73" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "smartgroup1" + outlabel: "smartgroup2" + src: "10.10.10.87" + dst: "10.10.10.73" + id: "14243" + instance: "1" + - name: "R-PTABR-01-to-RAW-XXXXX0056-01Z" + desc: "(remote)(Tunnel53991)" + dest: "10.10.10.1" + admin: "" + oper: "" + path: "" + signal: "up" + inlabel: "smartgroup2" + outlabel: "-" + src: "10.10.10.87" + dst: "10.10.10.1" + id: "53991" + instance: "80" From 5061da3c3a5004493366d41ec8896f4a104ae04b Mon Sep 17 00:00:00 2001 From: lutfisan Date: Sat, 8 Apr 2023 16:37:35 +0700 Subject: [PATCH 411/412] add inlabel_id and outlabel_id --- ...xros_show_mpls_traffic-eng_tunnels.textfsm | 6 ++++-- ...te_zxros_show_mpls_traffic-eng_tunnels.yml | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm index 3b89b58e24..b9f51d99e2 100644 --- a/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm +++ b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm @@ -6,7 +6,9 @@ Value OPER (\S+) Value PATH (\S+) Value SIGNAL (\S+) Value INLABEL (\S+) +Value INLABEL_ID (\d+) Value OUTLABEL (\S+) +Value OUTLABEL_ID (\d+) Value SRC (\S+) Value DST (\S+) Value ID (\d+) @@ -19,6 +21,6 @@ Start ^\s+${DESC}\s+Destination:\s+${DEST}\s*$$ ^\s+Admin:\s+${ADMIN}\s+Oper:\s+${OPER}\s+Path:\s+${PATH}\s+Signalling:\s+${SIGNAL}\s*$$ ^\s+Signalling:\s+${SIGNAL}\s*$$ - ^\s+InLabel:\s+${INLABEL}(,\s+\d+)?\s*$$ - ^\s+OutLabel:\s+${OUTLABEL}(,\s+\d+)?\s*$$ + ^\s+InLabel:\s+${INLABEL}(,\s+${INLABEL_ID})?\s*$$ + ^\s+OutLabel:\s+${OUTLABEL}(,\s+${OUTLABEL_ID})?\s*$$ ^\s+Src\s+${SRC},\s+Dst\s+${DST},\s+Tun-ID\s+${ID},\s+Tun-Instance\s+${INSTANCE}\s*$$ diff --git a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml index 12459e8d41..cd0178892a 100644 --- a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml +++ b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml @@ -8,7 +8,9 @@ parsed_sample: path: "valid" signal: "connected" inlabel: "-" + inlabel_id: "" outlabel: "smartgroup2" + outlabel_id: "282291" src: "10.10.10.1" dst: "10.10.10.87" id: "1" @@ -21,7 +23,9 @@ parsed_sample: path: "" signal: "up" inlabel: "-" + inlabel_id: "" outlabel: "smartgroup1" + outlabel_id: "475765" src: "10.10.10.1" dst: "10.10.10.87" id: "1" @@ -34,7 +38,9 @@ parsed_sample: path: "valid" signal: "connected" inlabel: "-" + inlabel_id: "" outlabel: "smartgroup2" + outlabel_id: "3" src: "10.10.10.1" dst: "10.10.10.117" id: "2" @@ -47,7 +53,9 @@ parsed_sample: path: "" signal: "up" inlabel: "-" + inlabel_id: "" outlabel: "smartgroup1" + outlabel_id: "475764" src: "10.10.10.1" dst: "10.10.10.117" id: "2" @@ -60,7 +68,9 @@ parsed_sample: path: "" signal: "up" inlabel: "smartgroup1" + inlabel_id: "205844" outlabel: "smartgroup2" + outlabel_id: "282288" src: "10.10.10.10" dst: "10.10.10.87" id: "1" @@ -73,7 +83,9 @@ parsed_sample: path: "" signal: "up" inlabel: "smartgroup1" + inlabel_id: "205845" outlabel: "smartgroup2" + outlabel_id: "3" src: "10.10.10.10" dst: "10.10.10.117" id: "2" @@ -86,7 +98,9 @@ parsed_sample: path: "" signal: "up" inlabel: "xxvgei-1/1/0/20" + inlabel_id: "205926" outlabel: "smartgroup2" + outlabel_id: "283792" src: "10.10.10.4" dst: "10.169.120.220" id: "101" @@ -99,7 +113,9 @@ parsed_sample: path: "" signal: "up" inlabel: "smartgroup2" + inlabel_id: "3" outlabel: "-" + outlabel_id: "" src: "10.10.10.117" dst: "10.10.10.1" id: "8011" @@ -112,7 +128,9 @@ parsed_sample: path: "" signal: "up" inlabel: "smartgroup1" + inlabel_id: "205843" outlabel: "smartgroup2" + outlabel_id: "282252" src: "10.10.10.87" dst: "10.10.10.73" id: "14243" @@ -125,7 +143,9 @@ parsed_sample: path: "" signal: "up" inlabel: "smartgroup2" + inlabel_id: "3" outlabel: "-" + outlabel_id: "" src: "10.10.10.87" dst: "10.10.10.1" id: "53991" From 7ba4f1eab84511e2b51cdbaab32b6db5c1e47918 Mon Sep 17 00:00:00 2001 From: lutfisan Date: Thu, 22 Jun 2023 10:21:36 +0700 Subject: [PATCH 412/412] add IP_ROUTE --- ...xros_show_mpls_traffic-eng_tunnels.textfsm | 11 ++++ ...te_zxros_show_mpls_traffic-eng_tunnels.raw | 2 +- ...te_zxros_show_mpls_traffic-eng_tunnels.yml | 61 +++++++++++++++++++ 3 files changed, 73 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm index b9f51d99e2..0fa0ef33c9 100644 --- a/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm +++ b/ntc_templates/templates/zte_zxros_show_mpls_traffic-eng_tunnels.textfsm @@ -13,6 +13,7 @@ Value SRC (\S+) Value DST (\S+) Value ID (\d+) Value INSTANCE (\d+) +Value List IP_ROUTE (\d+\.\d+\.\d+\.\d+|NONE) Start @@ -24,3 +25,13 @@ Start ^\s+InLabel:\s+${INLABEL}(,\s+${INLABEL_ID})?\s*$$ ^\s+OutLabel:\s+${OUTLABEL}(,\s+${OUTLABEL_ID})?\s*$$ ^\s+Src\s+${SRC},\s+Dst\s+${DST},\s+Tun-ID\s+${ID},\s+Tun-Instance\s+${INSTANCE}\s*$$ + ^\s+Explicit\s+Route:\s+${IP_ROUTE},* -> Continue + ^\s+Explicit\s+(?:\S+\s+){2}${IP_ROUTE},* -> Continue + ^\s+Explicit\s+(?:\S+\s+){3}${IP_ROUTE},* -> Continue + ^\s+Explicit\s+(?:\S+\s+){4}${IP_ROUTE},* -> Continue + ^\s+Explicit\s+(?:\S+\s+){5}${IP_ROUTE},* -> Continue + ^\s+${IP_ROUTE},* -> Continue + ^\s+\d+\.\d+\.\d+\.\d+\s+${IP_ROUTE},* -> Continue + ^\s+(?:\d+\.\d+\.\d+\.\d+\s+){2}${IP_ROUTE},* -> Continue + ^\s+(?:\d+\.\d+\.\d+\.\d+\s+){3}${IP_ROUTE},* -> Continue + ^\s+(?:\d+\.\d+\.\d+\.\d+\s+){4}${IP_ROUTE},* -> Continue diff --git a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw index 2fa942371f..821c376917 100644 --- a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw +++ b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.raw @@ -71,7 +71,7 @@ Name: tunnel_1 Src 10.10.10.1, Dst 10.10.10.87, Tun-ID 1, Tun-Instance 335 RSVP Path Info: Explicit Route: 10.10.10.22 10.10.10.23 10.10.10.194 - 10.10.10195 10.10.10.87 + 10.10.10.195 10.10.10.87 Exclude Route: NULL Record Route: NULL Tspec: ave rate= 0 kb, burst= 1000 byte, peak rate= 0 kb diff --git a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml index cd0178892a..db44f644c8 100644 --- a/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml +++ b/tests/zte_zxros/show_mpls_traffic-eng_tunnels/zte_zxros_show_mpls_traffic-eng_tunnels.yml @@ -15,6 +15,12 @@ parsed_sample: dst: "10.10.10.87" id: "1" instance: "335" + ip_route: + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.194" + - "10.10.10.195" + - "10.10.10.87" - name: "tunnel_1" desc: "(hot)(Tunnel1)" dest: "10.10.10.87" @@ -30,6 +36,13 @@ parsed_sample: dst: "10.10.10.87" id: "1" instance: "336" + ip_route: + - "10.10.10.21" + - "10.10.10.20" + - "10.10.10.24" + - "10.10.10.25" + - "10.10.10.87" + - "10.10.10.25" - name: "tunnel_2" desc: "(Tunnel2)" dest: "10.10.10.117" @@ -45,6 +58,10 @@ parsed_sample: dst: "10.10.10.117" id: "2" instance: "336" + ip_route: + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.117" - name: "tunnel_2" desc: "(hot)(Tunnel2)" dest: "10.10.10.117" @@ -60,6 +77,15 @@ parsed_sample: dst: "10.10.10.117" id: "2" instance: "337" + ip_route: + - "10.10.10.21" + - "10.10.10.20" + - "10.10.10.24" + - "10.10.10.25" + - "10.10.10.195" + - "10.10.10.194" + - "10.10.10.117" + - "10.10.10.25" - name: "tunnel_1" desc: "(remote)(Tunnel1)" dest: "10.10.10.87" @@ -75,6 +101,13 @@ parsed_sample: dst: "10.10.10.87" id: "1" instance: "35831" + ip_route: + - "10.10.10.21" + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.194" + - "10.10.10.195" + - "10.10.10.87" - name: "tunnel_2" desc: "(remote)(Tunnel2)" dest: "10.10.10.117" @@ -90,6 +123,11 @@ parsed_sample: dst: "10.10.10.117" id: "2" instance: "35956" + ip_route: + - "10.10.10.21" + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.117" - name: "tunnel_101" desc: "(remote)(Tunnel101)" dest: "10.169.120.220" @@ -105,6 +143,19 @@ parsed_sample: dst: "10.169.120.220" id: "101" instance: "24849" + ip_route: + - "10.10.10.2" + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.194" + - "10.10.10.195" + - "10.10.10.57" + - "10.10.10.56" + - "10.169.120.220" + - "10.10.10.5" + - "10.10.10.4" + - "10.10.10.7" + - "10.10.10.56" - name: "AG-PTPMK-01-to-RAW-XXXXX0056-01Z" desc: "(remote)(Tunnel8011)" dest: "10.10.10.1" @@ -120,6 +171,7 @@ parsed_sample: dst: "10.10.10.1" id: "8011" instance: "103" + ip_route: [] - name: "Bypass->10.10.10.78->10.10.10.242" desc: "(remote)(Tunnel14243)" dest: "10.10.10.73" @@ -135,6 +187,14 @@ parsed_sample: dst: "10.10.10.73" id: "14243" instance: "1" + ip_route: + - "10.10.10.21" + - "10.10.10.22" + - "10.10.10.23" + - "10.10.10.246" + - "10.10.10.249" + - "10.10.10.250" + - "10.10.10.249" - name: "R-PTABR-01-to-RAW-XXXXX0056-01Z" desc: "(remote)(Tunnel53991)" dest: "10.10.10.1" @@ -150,3 +210,4 @@ parsed_sample: dst: "10.10.10.1" id: "53991" instance: "80" + ip_route: []