From 9420f203c9b7853f6ea8213f6ad762d492bbe7da Mon Sep 17 00:00:00 2001 From: Andrea Dainese Date: Sun, 2 Apr 2023 14:37:19 +0000 Subject: [PATCH] Fix output --- ...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: ""