Skip to content

Commit

Permalink
Issue networktocode#1923 Optional Flag values ignored (networktocode#…
Browse files Browse the repository at this point in the history
…1928)

Co-authored-by: Kyle Phillipson <[email protected]>
Co-authored-by: Michael Bear <[email protected]>
  • Loading branch information
3 people authored Dec 6, 2024
1 parent aee4973 commit c22240d
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ Start
^. -> Error

Data
^${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}\s*$$ -> Record
^${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}(?:\s+[#*+])?\s*$$ -> Record
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Flags: * - Adjacencies learnt on non-active FHRP router
+ - Adjacencies synced via CFSoE
# - Adjacencies Throttled for Glean

IP ARP Table for context default
Total number of entries: 1725
Address Age MAC Address Interface Physical Interface
10.10.10.194 00:03:10 aaaa.bbbb.cccc Ethernet1/9 Ethernet1/9
10.10.10.190 00:03:18 aaaa.bbbb.cccc Ethernet2/9 Ethernet2/9
10.10.10.81 00:02:14 aaaa.bbbb.cccc Ethernet2/12 Ethernet2/12
192.168.1.1 00:02:06 aaaa.bbbb.cccc Ethernet7/47 Ethernet7/47
10.10.11.2 00:03:12 aaaa.bbbb.cccc Vlan11 port-channel1 *
10.10.11.20 00:00:18 aaaa.bbbb.cccc Vlan11 port-channel3 +
10.10.11.21 00:00:06 aaaa.bbbb.cccc Vlan11 port-channel3 #
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
parsed_sample:
- age: "00:03:10"
interface: "Ethernet1/9"
ip_address: "10.10.10.194"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "Ethernet1/9"
- age: "00:03:18"
interface: "Ethernet2/9"
ip_address: "10.10.10.190"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "Ethernet2/9"
- age: "00:02:14"
interface: "Ethernet2/12"
ip_address: "10.10.10.81"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "Ethernet2/12"
- age: "00:02:06"
interface: "Ethernet7/47"
ip_address: "192.168.1.1"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "Ethernet7/47"
- age: "00:03:12"
interface: "Vlan11"
ip_address: "10.10.11.2"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "port-channel1"
- age: "00:00:18"
interface: "Vlan11"
ip_address: "10.10.11.20"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "port-channel3"
- age: "00:00:06"
interface: "Vlan11"
ip_address: "10.10.11.21"
mac_address: "aaaa.bbbb.cccc"
physical_interface: "port-channel3"

0 comments on commit c22240d

Please sign in to comment.