-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added OR operator and regex to type to be able to capture Fabric Exte in output for nxos_show_interface_status template
- Loading branch information
1 parent
13339d1
commit fb9f7e1
Showing
5 changed files
with
559 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 63 additions & 72 deletions
135
tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.