Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

support for case of unassigned ipv6 address as chassis ID #1887

Merged
merged 28 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d8cddea
case unassigned ipv6 address as chassis ID
mcn29 Oct 28, 2024
0d5f247
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 28, 2024
851ddb4
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 28, 2024
b12e0de
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
62d23e7
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
8a90914
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
344ec58
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
81c7321
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
9d7b18c
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
163c99d
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
778d0da
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
cf1c960
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
b45916b
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
150f734
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
83738a7
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
24309fa
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
a8ea3c4
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
f107bc1
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
ac2f0b6
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
b0265fa
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
f446ffc
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
42031ff
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
88a48db
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
eabbf15
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
7a3defb
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
mcn29 Oct 29, 2024
e2fb991
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
jmcgill298 Oct 29, 2024
30ea8ab
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
jmcgill298 Oct 29, 2024
7af1440
Update tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp…
jmcgill298 Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Value LOCAL_INTERFACE (\S+)
Value CHASSIS_ID ([^:]+)
Value CHASSIS_ID (([^:]+|::))
Value NEIGHBOR_PORT_ID (.*)
Value NEIGHBOR_INTERFACE (.*)
Value NEIGHBOR_NAME (.+?)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
------------------------------------------------
Local Intf: Gi1/0/22
Chassis id: ::
Port id: aabbccddeeff:P1
Port Description: SW PORT
System Name: SEPaabbccddeeff.phones.company.domain

System Description:
Cisco IP Phone 6901,SCCP6901.9-3-1-SR2-2

Time remaining: 44 seconds
System Capabilities: T
Enabled Capabilities: T
Management Addresses:
IP: 10.20.30.40
IPV6: ::
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: 999
Peer Source MAC: aabb.ccdd.eeff

MED Information:

MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory

H/W revision: 1.0
F/W revision: 6901.0-0-0-01-05
S/W revision: SCCP6901.9-3-1-SR2-2
Serial number: FCH12345GVM
Manufacturer: Cisco Systems, Inc.
Model: CP-6901
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN data, untagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN data, untagged, Layer-2 priority: 3, DSCP: 46
PD device, Power source: Unknown, Power Priority: Unknown, Wattage: 2.6
Location - not advertised
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
parsed_sample:
- capabilities: "T"
chassis_id: "::"
fw_revision: "6901.0-0-0-01-05"
hw_revision: "1.0"
local_interface: "Gi1/0/22"
mac_address: "aabb.ccdd.eeff"

Check failure on line 8 in tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail6.yml

View workflow job for this annotation

GitHub Actions / yamllint

8:4 syntax error: expected <block end>, but found '<block mapping start>' (syntax)
manufacturer: "Cisco Systems, Inc."

Check failure on line 9 in tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail6.yml

View workflow job for this annotation

GitHub Actions / yamllint

9:5 [indentation] wrong indentation: expected 3 but found 4
mgmt_address: "10.20.30.40"
neighbor_description: "Cisco IP Phone 6901,SCCP6901.9-3-1-SR2-2"
neighbor_interface: "SW PORT"
neighbor_name: "SEPaabbccddeeff.phones.company.domain"
neighbor_port_id: "aabbccddeeff:P1"
platform: "CP-6901"
power_class: ""
power_device_type: ""
power_pair: ""
power_priority: ""
power_requested: ""
power_source: ""
serial: "FCH12345GVM"
sw_revision: "SCCP6901.9-3-1-SR2-2"
vlan_id: "999"
Loading