Skip to content

Commit

Permalink
Added support for capturing the "Local Intf service instance" field i…
Browse files Browse the repository at this point in the history
…n the template. (#1957)
  • Loading branch information
RandyRozo authored Jan 7, 2025
1 parent aaf6cb7 commit 9a3e8d2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Start
^.*Invalid input detected -> EOF
^.*LLDP is not enabled -> EOF
^Local\s+Intf:\s+${LOCAL_INTERFACE}\s*$$
^Local\s+Intf\s+service\s+instance
^Chassis\s+id:\s+${CHASSIS_ID}\s*$$
^Port\s+id:\s+${NEIGHBOR_PORT_ID}\s*$$
^Port\s+Description:\s+${NEIGHBOR_INTERFACE}\s*$$
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
------------------------------------------------
Local Intf: Et0/0
Local Intf service instance: -
Chassis id: aabb.cc00.0300
Port id: Et0/1
Port Description: Ethernet0/1
System Name: SW-MGMT.cisco.com

System Description:
Cisco IOS Software [IOSXE], Linux Software (X86_64BI_LINUX_L2-ADVENTERPRISEK9-M), Version 17.15.1, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2024 by Cisco Systems, Inc.
Compiled Sun 11-Aug-24 22:06 by mc

Time remaining: 102 seconds
System Capabilities: B,R
Enabled Capabilities: B,R
Management Addresses:
IP: 192.168.128.102
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
Media Attachment Unit type - not advertised
Vlan ID: 1
Peer Source MAC: aabb.cc00.0310


Total entries displayed: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
parsed_sample:
- capabilities: "B,R"
chassis_id: "aabb.cc00.0300"
fw_revision: ""
hw_revision: ""
local_interface: "Et0/0"
mac_address: "aabb.cc00.0310"
manufacturer: ""
mgmt_address: "192.168.128.102"
neighbor_description: "Cisco IOS Software [IOSXE], Linux Software\
\ (X86_64BI_LINUX_L2-ADVENTERPRISEK9-M), Version 17.15.1, RELEASE SOFTWARE (fc4)"
neighbor_interface: "Ethernet0/1"
neighbor_name: "SW-MGMT.cisco.com"
neighbor_port_id: "Et0/1"
platform: ""
power_class: ""
power_device_type: ""
power_pair: ""
power_priority: ""
power_requested: ""
power_source: ""
serial: ""
sw_revision: ""
vlan_id: "1"

0 comments on commit 9a3e8d2

Please sign in to comment.