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

nxos_show_interface_status: Allows capture of Fabric Exte type #427

Merged
merged 1 commit into from
Jul 23, 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
2 changes: 1 addition & 1 deletion templates/cisco_nxos_show_interface_status.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Value STATUS (\S+)
Value VLAN (\d+|routed|trunk|--)
Value DUPLEX (\S+)
Value SPEED (\S+)
Value TYPE (\S+)
Value TYPE (\S+|\S+\s+\S+)

Start
^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record
Expand Down
Original file line number Diff line number Diff line change
@@ -1,75 +1,66 @@
---
parsed_sample:

- port: "mgmt0"
name: "--"
status: "connected"
vlan: "routed"
duplex: "full"
speed: "1000"
type: "--"

- port: "Eth1/1"
name: "interface1"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- port: "Eth1/2"
name: "interface2"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- port: "Eth1/3"
name: "interface3"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR"

- port: "Eth1/4"
name: "interface4"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR"

- port: "Eth1/5"
name: "interface5"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- port: "Eth1/6"
name: "interface6"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- port: Eth1/7
name: "interface7"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- port: "Eth1/8"
name: "interface8"
status: "connected"
vlan: "trunk"
duplex: "full"
speed: "10G"
type: "10Gbase-SR-S"

- duplex: full
name: --
port: mgmt0
speed: '1000'
status: connected
type: --
vlan: routed
- duplex: full
name: interface1
port: Eth1/1
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
- duplex: full
name: interface2
port: Eth1/2
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
- duplex: full
name: interface3
port: Eth1/3
speed: 10G
status: connected
type: 10Gbase-SR
vlan: trunk
- duplex: full
name: interface4
port: Eth1/4
speed: 10G
status: connected
type: 10Gbase-SR
vlan: trunk
- duplex: full
name: interface5
port: Eth1/5
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
- duplex: full
name: interface6
port: Eth1/6
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
- duplex: full
name: interface7
port: Eth1/7
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
- duplex: full
name: interface8
port: Eth1/8
speed: 10G
status: connected
type: 10Gbase-SR-S
vlan: trunk
Loading