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 #460 #488

Merged
merged 1 commit into from
Oct 9, 2019
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
4 changes: 2 additions & 2 deletions templates/arista_eos_show_interfaces_status.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Value PORT (\S+)
Value NAME (\w.*\w)
Value STATUS (connected|notconnect|inactive|errdisabled)
Value NAME (\S.*(?<!\s))
Value STATUS (connected|notconnect|inactive|errdisabled|disabled)
Value VLAN (\S+)
Value DUPLEX (\S+)
Value SPEED (\S+)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,19 @@ parsed_sample:
duplex: "a-full"
speed: "a-10G"
type: "40GBASE-SR"

- port: "Et3/2/4"
name: "- DISABLED routed ("
status: "disabled"
vlan: "routed"
duplex: "a-full"
speed: "a-10G"
type: "40GBASE-SR"

- port: "Et3/2/5"
name: "-"
status: "disabled"
vlan: "routed"
duplex: "a-full"
speed: "a-10G"
type: "40GBASE-SR"
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Et3/1/1 I am a 40G port !! Hi connected trunk a-full a-40G 40GBASE
Et3/1/4 inactive 1 unconf unconf 40GBASE-CR4
Et3/2/1 PORTNAME notconnect trunk a-full a-10G 40GBASE-SR
Et3/2/2 I am a 10G port errdisabled 10 a-full a-10G 40GBASE-SR
Et3/2/4 - DISABLED routed ( disabled routed a-full a-10G 40GBASE-SR
Et3/2/5 - disabled routed a-full a-10G 40GBASE-SR