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 index 2200351ae7..fe3a11b9b1 100644 --- a/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm +++ b/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm @@ -11,10 +11,8 @@ Value NEIGHBOR_INTERFACE (\S+) Start ^Port\s*:\s*${LOCAL_INTERFACE} - ^Neighbor\s*Chassis-Name\s*:\s*${NEIGHBOR_NAME} - ^Neighbor\s+System-Name\s*:\s*${NEIGHBOR_NAME} - ^Neighbor\s*Chassis-Description\s*:\s*${NEIGHBOR_DESCRIPTION} - ^Neighbor\s+System-Description\s*:\s*${NEIGHBOR_DESCRIPTION} + ^Neighbor\s*(Chassis|System)-Name\s*:\s*${NEIGHBOR_NAME} + ^Neighbor\s*(Chassis|System)-Description\s*:\s*${NEIGHBOR_DESCRIPTION} ^Neighbor\s*Chassis-ID\s*:\s*${CHASSIS_ID} ^Neighbor\s*Management-Address\s*:\s*${MGMT_ADDRESS} ^Chassis\s*Capabilities\s*Available\s*:\s*${CAPABILITIES_SUPPORTED} diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.raw b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.raw new file mode 100644 index 0000000000..ec6e94444a --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.raw @@ -0,0 +1,131 @@ +-------------------------------------------------------------------------------- +LLDP Neighbor Information +========================= + +Total Neighbor Entries : 3 +Total Neighbor Entries Deleted : 0 +Total Neighbor Entries Dropped : 0 +Total Neighbor Entries Aged-Out : 0 + +-------------------------------------------------------------------------------- + +Port : 1/1/10 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor System-Name : SYSNAME_TEXT +Neighbor System-Description : ArubaOS (MODEL: 503H), Version Aruba AP +Neighbor Chassis-ID : xx:xx:xx:xx:xx:xx +Neighbor Management-Address : 12.3123.123.123 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : xx:xx:xx:xx:xx:xx +Neighbor Port-Desc : eth0 +Neighbor Port VLAN ID : 1 +TTL : 120 + +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, 100 BASE_TXFD, 100 BASE_TX, 10 BASET_FD, 10 BASE_T +Neighbor MAU type : 1000 BASETFD + +Neighbor EEE information : DOT3 +Neighbor TX Wake time : 0 us +Neighbor RX Wake time : 0 us +Neighbor Fallback time : 0 us +Neighbor TX Echo time : 0 us +Neighbor RX Echo time : 0 us + +-------------------------------------------------------------------------------- + +Port : 1/1/11 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor System-Name : AP3-4-3 +Neighbor System-Description : ArubaOS (MODEL: 315), Version Aruba AP +Neighbor Chassis-ID : xx:xx:xx:xx:xx:xx +Neighbor Management-Address : 123.123.123.123 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : xx:xx:xx:xx:xx:xx +Neighbor Port-Desc : bond0 +Neighbor Port VLAN ID : 1 +TTL : 120 + +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 2 PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 20.80 W +PSE Allocated Power Value : 20.80 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class4 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Power Down Request : +PD Associated TLV : dot3 +PD Requested TLV types : dot3 + +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, 100 BASE_TXFD, 100 BASE_TX, 10 BASET_FD, 10 BASE_T +Neighbor MAU type : 1000 BASETFD + +Neighbor EEE information : DOT3 +Neighbor TX Wake time : 0 us +Neighbor RX Wake time : 0 us +Neighbor Fallback time : 0 us +Neighbor TX Echo time : 0 us +Neighbor RX Echo time : 0 us + +-------------------------------------------------------------------------------- + +Port : 1/1/12 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor System-Name : SYSNAME_TEXT +Neighbor System-Description : HP J9851A Switch 5412Rzl2, revision KB.16.10.0020, ROM KB.16.01.0009 (/ws/swbuildm/rel_ajanta_qaoff/code/build/bom(swbuildm_rel_ajanta_qaoff_rel_ajanta)) +Neighbor Chassis-ID : xx:xx:xx:xx:xx:xx +Neighbor Management-Address : 123.123.123.123 +Chassis Capabilities Available : Bridge, Router +Chassis Capabilities Enabled : Bridge +Neighbor Port-ID : 106 +Neighbor Port-Desc : D10 +Neighbor Port VLAN ID : 61 +TTL : 120 + +Neighbor PoE information : DOT3 +Neighbor Power Type : PSE +Neighbor Power Priority : Unknown +Neighbor Power Source : Unknown +PD Requested Power Value : 0.00 W +PSE Allocated Power Value : 0.00 W +Neighbor Power Supported : Yes +Neighbor Power Enabled : Yes +Neighbor Power Class : Class0 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Power Down Request : +PD Associated TLV : dot3 +PD Requested TLV types : None + +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, 100 BASE_TXFD, 100 BASE_TX, 10 BASET_FD, 10 BASE_T +Neighbor MAU type : 1000 BASETFD + +Neighbor EEE information : DOT3 +Neighbor TX Wake time : 0 us +Neighbor RX Wake time : 0 us +Neighbor Fallback time : 0 us +Neighbor TX Echo time : 0 us +Neighbor RX Echo time : 0 us diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.yml b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.yml new file mode 100644 index 0000000000..2b8cd4e5f5 --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail_issue1453.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - capabilities: "WLAN" + capabilities_supported: "Bridge, WLAN" + chassis_id: "xx:xx:xx:xx:xx:xx" + local_interface: "1/1/10" + mgmt_address: "12.3123.123.123" + neighbor_description: "ArubaOS (MODEL: 503H), Version Aruba AP" + neighbor_interface: "eth0" + neighbor_name: "SYSNAME_TEXT" + neighbor_port_id: "xx:xx:xx:xx:xx:xx" + - capabilities: "WLAN" + capabilities_supported: "Bridge, WLAN" + chassis_id: "xx:xx:xx:xx:xx:xx" + local_interface: "1/1/11" + mgmt_address: "123.123.123.123" + neighbor_description: "ArubaOS (MODEL: 315), Version Aruba AP" + neighbor_interface: "bond0" + neighbor_name: "AP3-4-3" + neighbor_port_id: "xx:xx:xx:xx:xx:xx" + - capabilities: "Bridge" + capabilities_supported: "Bridge, Router" + chassis_id: "xx:xx:xx:xx:xx:xx" + local_interface: "1/1/12" + mgmt_address: "123.123.123.123" + neighbor_description: "HP J9851A Switch 5412Rzl2, revision KB.16.10.0020, ROM\ + \ KB.16.01.0009 (/ws/swbuildm/rel_ajanta_qaoff/code/build/bom(swbuildm_rel_ajanta_qaoff_rel_ajanta))" + neighbor_interface: "D10" + neighbor_name: "SYSNAME_TEXT" + neighbor_port_id: "106"