Skip to content
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: 2 additions & 0 deletions ntc_templates/templates/aruba_aoscx_show_interface.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ Statistic
^\s*Bytes\s+${RX_TOTAL_BYTES}\s+${TX_TOTAL_BYTES}\s+\d+
^\s*Jumbos
^\s*Pause\s+Frames
^\s*L3\s+Packets
^\s*L3\s+Bytes
^\s*Dropped\s+${RX_DROPPED}\s+${TX_DROPPED}\s+\d+
^\s*Filtered\s+${RX_FILTERED}\s+${TX_FILTERED}\s+\d+
^\s*Errors\s+${RX_ERRORS}\s+${TX_ERRORS}\s+\d+
Expand Down
45 changes: 45 additions & 0 deletions tests/aruba_aoscx/show_interface/show_interface10.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Interface 1/1/6 is down (Administratively down)
Admin state is down
State information: Administratively down
Link state: down
Link transitions: 0
Description:
Hardware: Ethernet, MAC Address: 08:00:09:f8:a0:5c
MTU 1500
Type --
Half-duplex
qos trust none
Speed 0 Mb/s
L3 Counters: Rx Disabled, Tx Disabled
Auto-negotiation is off
Flow-control: off
Error-control: off
MDI mode: none
Rate collection interval: 300 seconds

Rate RX TX Total (RX+TX)
---------------- -------------------- -------------------- --------------------
Mbits / sec 0.00 0.00 0.00
KPkts / sec 0.00 0.00 0.00
Unicast 0.00 0.00 0.00
Multicast 0.00 0.00 0.00
Broadcast 0.00 0.00 0.00
Utilization 0.00 0.00 0.00

Statistic RX TX Total
---------------- -------------------- -------------------- --------------------
Packets 0 0 0
Unicast 0 0 0
Multicast 0 0 0
Broadcast 0 0 0
Bytes 0 0 0
Jumbos 0 0 0
Dropped 0 0 0
Pause Frames 0 0 0
L3 Packets 0 0 0
L3 Bytes 0 0 0
Errors 0 0 0
CRC/FCS 0 n/a 0
Collision n/a 0 0
Runts 0 n/a 0
Giants 0 n/a 0
45 changes: 45 additions & 0 deletions tests/aruba_aoscx/show_interface/show_interface10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
parsed_sample:
- aggregated_interfaces: []
auto_neg: "off"
duplex: "Half"
error_control: "off"
flow_control: "off"
hw_type: "Ethernet"
if_type: "--"
interface_desc: ""
interface: "1/1/6"
ip_address: ""
link_admin: "down"
link_state_info: ""
link_status: "down"
link_transitions: "0"
mac_address: "08:00:09:f8:a0:5c"
mtu: "1500"
qos_trust: "none"
rx_broadcast_packets: "0"
rx_crc_fcs: "0"
rx_dropped: "0"
rx_errors: "0"
rx_filtered: ""
rx_mcast_packets: "0"
rx_total_bytes: "0"
rx_total_packets: "0"
rx_unicast_packets: "0"
secondary_ip_address: []
speed: "0 Mb/s"
tx_broadcast_packets: "0"
tx_collision: "0"
tx_crc_fcs: "n/a"
tx_dropped: "0"
tx_errors: "0"
tx_filtered: ""
tx_mcast_packets: "0"
tx_total_bytes: "0"
tx_total_packets: "0"
tx_unicast_packets: "0"
vlan_access: ""
vlan_mode: ""
vlan_native: ""
vlan_trunk: []
vrf: ""
Loading