Skip to content

Commit

Permalink
Adjust VLAN_ID pattern to match additional keyword to fix issue that …
Browse files Browse the repository at this point in the history
…resulted from a fix for #1397 (#1580)
  • Loading branch information
cdorbert authored Dec 26, 2023
1 parent 6c722dd commit 3df54dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Value PORT (\S+)
Value NAME (.+?)
Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring|suspended)
Value VLAN_ID (\d+|trunk|routed)
Value VLAN_ID (\d+|trunk|routed|unassigned)
Value DUPLEX (\S+)
Value SPEED (\S+)
Value TYPE (.*)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX
Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT
Gi1/0/19 No Description notconnect: 1 a-full a-100 10/100/1000BaseTX
Gi1/0/20 No Description connected: 1 a-full a-100 10/100/1000BaseTX
Gi1/0/21 Monitoring Port monitoring unassigned a-full auto 10/100/1000BaseT
Fa1/6 test notconnect 1 auto auto 10/100BaseTX
Po1 ethchl connected trunk a-full a-1000
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ parsed_sample:
status: "connected"
type: "10/100/1000BaseTX"
vlan_id: "1"
- duplex: "a-full"
fc_mode: ""
name: "Monitoring Port"
port: "Gi1/0/21"
speed: "auto"
status: "monitoring"
type: "10/100/1000BaseT"
vlan_id: "unassigned"
- duplex: "auto"
fc_mode: ""
name: "test"
Expand Down

0 comments on commit 3df54dd

Please sign in to comment.