forked from networktocode/ntc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added VLAN value and search pattern (networktocode#1002)
* Add VLAN value for Cisco ASA `show interface`
- Loading branch information
1 parent
8d54be8
commit 03902c1
Showing
6 changed files
with
224 additions
and
173 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
164 changes: 85 additions & 79 deletions
164
tests/cisco_asa/show_interface/cisco_asa_show_interface.yml
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,146 +1,152 @@ | ||
--- | ||
parsed_sample: | ||
- address: "fa16.3eb0.c3d3" | ||
- interface: "GigabitEthernet0/0" | ||
interface_zone: "outside" | ||
link_status: "up" | ||
protocol_status: "up" | ||
hardware_type: "i82540EM rev03" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
description: "to iosv-1" | ||
duplex: "Full-duplex" | ||
fivemin_drop_rate: "0" | ||
fivemin_in_pps: "0" | ||
fivemin_in_rate: "0" | ||
fivemin_out_pps: "0" | ||
fivemin_out_rate: "0" | ||
hardware_type: "i82540EM rev03" | ||
interface: "GigabitEthernet0/0" | ||
interface_zone: "outside" | ||
ip_address: "10.0.0.5" | ||
link_status: "up" | ||
speed: "1000 Mbps" | ||
description: "to iosv-1" | ||
address: "fa16.3eb0.c3d3" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "10.0.0.5" | ||
net_mask: "255.255.255.252" | ||
onemin_drop_rate: "0" | ||
onemin_in_pps: "0" | ||
onemin_in_rate: "0" | ||
onemin_out_pps: "0" | ||
onemin_out_rate: "0" | ||
protocol_status: "up" | ||
speed: "1000 Mbps" | ||
- address: "fa16.3ed1.7e26" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
description: "to iosv-2" | ||
duplex: "Full-duplex" | ||
fivemin_drop_rate: "0" | ||
onemin_drop_rate: "0" | ||
fivemin_in_pps: "0" | ||
fivemin_in_rate: "0" | ||
fivemin_out_pps: "0" | ||
fivemin_out_rate: "0" | ||
hardware_type: "i82540EM rev03" | ||
interface: "GigabitEthernet0/1" | ||
fivemin_drop_rate: "0" | ||
- interface: "GigabitEthernet0/1" | ||
interface_zone: "outside-1" | ||
ip_address: "10.0.0.13" | ||
link_status: "up" | ||
protocol_status: "up" | ||
hardware_type: "i82540EM rev03" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
duplex: "Full-duplex" | ||
speed: "1000 Mbps" | ||
description: "to iosv-2" | ||
address: "fa16.3ed1.7e26" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "10.0.0.13" | ||
net_mask: "255.255.255.252" | ||
onemin_drop_rate: "0" | ||
onemin_in_pps: "0" | ||
onemin_in_rate: "0" | ||
onemin_out_pps: "0" | ||
onemin_out_rate: "0" | ||
protocol_status: "up" | ||
speed: "1000 Mbps" | ||
- address: "fa16.3e1c.d1c3" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
description: "OOB Management" | ||
duplex: "Full-duplex" | ||
fivemin_drop_rate: "0" | ||
onemin_drop_rate: "0" | ||
fivemin_in_pps: "0" | ||
fivemin_in_rate: "91" | ||
fivemin_in_rate: "0" | ||
fivemin_out_pps: "0" | ||
fivemin_out_rate: "11" | ||
hardware_type: "i82540EM rev03" | ||
interface: "Management0/0" | ||
fivemin_out_rate: "0" | ||
fivemin_drop_rate: "0" | ||
- interface: "Management0/0" | ||
interface_zone: "mgmt" | ||
ip_address: "172.16.1.222" | ||
link_status: "up" | ||
protocol_status: "up" | ||
hardware_type: "i82540EM rev03" | ||
bandwidth: "1000 Mbps" | ||
delay: "10 usec" | ||
duplex: "Full-duplex" | ||
speed: "1000 Mbps" | ||
description: "OOB Management" | ||
address: "fa16.3e1c.d1c3" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "172.16.1.222" | ||
net_mask: "255.255.255.0" | ||
onemin_drop_rate: "0" | ||
onemin_in_pps: "1" | ||
onemin_in_rate: "79" | ||
onemin_out_pps: "1" | ||
onemin_out_rate: "117" | ||
onemin_drop_rate: "0" | ||
fivemin_in_pps: "0" | ||
fivemin_in_rate: "91" | ||
fivemin_out_pps: "0" | ||
fivemin_out_rate: "11" | ||
fivemin_drop_rate: "0" | ||
- interface: "DMZ" | ||
interface_zone: "DMZ" | ||
link_status: "up" | ||
protocol_status: "up" | ||
speed: "1000 Mbps" | ||
- address: "fa16.3eb0.c3d3" | ||
hardware_type: "" | ||
bandwidth: "" | ||
delay: "" | ||
description: "DMZ (Vl3)" | ||
duplex: "" | ||
fivemin_drop_rate: "" | ||
fivemin_in_pps: "" | ||
fivemin_in_rate: "" | ||
fivemin_out_pps: "" | ||
fivemin_out_rate: "" | ||
hardware_type: "" | ||
interface: "DMZ" | ||
interface_zone: "DMZ" | ||
ip_address: "10.6.2.1" | ||
link_status: "up" | ||
speed: "" | ||
description: "DMZ (Vl3)" | ||
address: "fa16.3eb0.c3d3" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "10.6.2.1" | ||
net_mask: "255.255.255.0" | ||
onemin_drop_rate: "" | ||
onemin_in_pps: "" | ||
onemin_in_rate: "" | ||
onemin_out_pps: "" | ||
onemin_out_rate: "" | ||
protocol_status: "up" | ||
speed: "" | ||
- address: "fa16.3eb0.c3d3" | ||
bandwidth: "" | ||
delay: "" | ||
description: "outside(Vl2)" | ||
duplex: "" | ||
fivemin_drop_rate: "" | ||
onemin_drop_rate: "" | ||
fivemin_in_pps: "" | ||
fivemin_in_rate: "" | ||
fivemin_out_pps: "" | ||
fivemin_out_rate: "" | ||
hardware_type: "" | ||
interface: "outside" | ||
fivemin_drop_rate: "" | ||
- interface: "outside" | ||
interface_zone: "outside-3" | ||
ip_address: "10.12.16.237" | ||
link_status: "up" | ||
protocol_status: "up" | ||
hardware_type: "" | ||
bandwidth: "" | ||
delay: "" | ||
duplex: "" | ||
speed: "" | ||
description: "outside(Vl2)" | ||
address: "fa16.3eb0.c3d3" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "10.12.16.237" | ||
net_mask: "255.255.255.248" | ||
onemin_drop_rate: "" | ||
onemin_in_pps: "" | ||
onemin_in_rate: "" | ||
onemin_out_pps: "" | ||
onemin_out_rate: "" | ||
protocol_status: "up" | ||
speed: "" | ||
- address: "fa16.3eb0.c3d3" | ||
bandwidth: "" | ||
delay: "" | ||
description: "" | ||
duplex: "" | ||
fivemin_drop_rate: "" | ||
onemin_drop_rate: "" | ||
fivemin_in_pps: "" | ||
fivemin_in_rate: "" | ||
fivemin_out_pps: "" | ||
fivemin_out_rate: "" | ||
hardware_type: "" | ||
interface: "inside" | ||
fivemin_drop_rate: "" | ||
- interface: "inside" | ||
interface_zone: "inside" | ||
ip_address: "10.6.10.1" | ||
link_status: "up" | ||
protocol_status: "up" | ||
hardware_type: "" | ||
bandwidth: "" | ||
delay: "" | ||
duplex: "" | ||
speed: "" | ||
description: "" | ||
address: "fa16.3eb0.c3d3" | ||
mtu: "1500" | ||
vlan: "" | ||
ip_address: "10.6.10.1" | ||
net_mask: "255.255.255.0" | ||
onemin_drop_rate: "" | ||
onemin_in_pps: "" | ||
onemin_in_rate: "" | ||
onemin_out_pps: "" | ||
onemin_out_rate: "" | ||
protocol_status: "up" | ||
speed: "" | ||
onemin_drop_rate: "" | ||
fivemin_in_pps: "" | ||
fivemin_in_rate: "" | ||
fivemin_out_pps: "" | ||
fivemin_out_rate: "" | ||
fivemin_drop_rate: "" |
Oops, something went wrong.