Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix issue #929 #934

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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,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
Expand All @@ -21,5 +21,3 @@ Interface

Port_ID
^\s+Port ID\s+:(\s+\"|\s+)${REMOTE_PORT}(\"|$$) -> Interface

EOF
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"