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

Adjust VLAN_ID pattern to match additional keyword to fix issue that resulted from a fix for #1397 #1580

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,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