diff --git a/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/expected_result.json b/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/expected_result.json new file mode 100644 index 0000000..b3849df --- /dev/null +++ b/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/expected_result.json @@ -0,0 +1,14 @@ +{ + "gi7": [ + { + "hostname": "switchcffeedd", + "port": "gi8" + } + ], + "gi8": [ + { + "hostname": "test-pc1", + "port": "9c:eb:e8:c3:b2:a1" + } + ] +} diff --git a/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/show_lldp_neighbors.txt b/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/show_lldp_neighbors.txt new file mode 100644 index 0000000..31fc656 --- /dev/null +++ b/test/unit/mocked_data/test_get_lldp_neighbors/SG300-10-long_portid/show_lldp_neighbors.txt @@ -0,0 +1,11 @@ + +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 +--------- ----------------- ------------- ----------------- ------------ ----- +gi7 00:a5:bf:ff:ee:dd gi8 switchcffeedd B, R 96 +gi8 f2:18:98:aa:bb:cc 9c:eb:e8:c3:b test-pc1 B, W 118 + 2:a1