-
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.
Update huawei_vrp_display_interface.textfsm (#1608)
- Loading branch information
Showing
3 changed files
with
347 additions
and
0 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
192 changes: 192 additions & 0 deletions
192
tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dhcp.raw
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 |
---|---|---|
@@ -0,0 +1,192 @@ | ||
GigabitEthernet0/0/0 current state : UP | ||
Line protocol current state : UP | ||
Last line protocol up time : 2024-02-08 16:30:21 | ||
Description:WAN | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet Address is allocated by DHCP, 192.168.77.54/24 | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0000 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:46 | ||
Last 300 seconds input rate 40 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 552 bits/sec,Record time: 2024-02-08 16:30:36 | ||
Output peak rate 832 bits/sec,Record time: 2024-02-08 16:30:36 | ||
|
||
Input: 24 packets, 4936 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 8 packets, 1012 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/1 current state : UP | ||
Line protocol current state : UP | ||
Last line protocol up time : 2024-02-08 16:30:16 | ||
Description:LAN | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet Address is 10.1.1.2/30 | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0001 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:47 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 48 bits/sec,Record time: 2024-02-08 16:30:36 | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 1 packets, 56 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/2 current state : UP | ||
Line protocol current state : DOWN | ||
Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0002 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:50 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 0 bits/sec,Record time: - | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/3 current state : UP | ||
Line protocol current state : DOWN | ||
Description:HUAWEI, AR Series, GigabitEthernet0/0/3 Interface | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0003 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:51 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 0 bits/sec,Record time: - | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/4 current state : UP | ||
Line protocol current state : DOWN | ||
Description:HUAWEI, AR Series, GigabitEthernet0/0/4 Interface | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0004 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:51 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 0 bits/sec,Record time: - | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/5 current state : UP | ||
Line protocol current state : DOWN | ||
Description:HUAWEI, AR Series, GigabitEthernet0/0/5 Interface | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 5000-001c-0005 | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:51 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 0 bits/sec,Record time: - | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
GigabitEthernet0/0/6 current state : UP | ||
Line protocol current state : DOWN | ||
Description:VirtualPort | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc03-02ee | ||
Last physical up time : 2024-02-08 16:30:16 | ||
Last physical down time : 2024-02-08 16:30:03 | ||
Current system time: 2024-02-08 16:38:51 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input peak rate 0 bits/sec,Record time: - | ||
Output peak rate 0 bits/sec,Record time: - | ||
|
||
Input: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Output: 0 packets, 0 bytes | ||
Discard: 0, Total Error: 0 | ||
|
||
Input bandwidth utilization threshold : 100.00% | ||
Output bandwidth utilization threshold: 100.00% | ||
Input bandwidth utilization : -- | ||
Output bandwidth utilization : -- | ||
|
||
NULL0 current state : UP | ||
Line protocol current state : UP (spoofing) | ||
Description:HUAWEI, AR Series, NULL0 Interface | ||
Route Port,The Maximum Transmit Unit is 1500 | ||
Internet protocol processing : disabled | ||
Physical is NULL DEV | ||
Current system time: 2024-02-08 16:38:51 | ||
Last 300 seconds input rate 0 bits/sec, 0 packets/sec | ||
Last 300 seconds output rate 0 bits/sec, 0 packets/sec | ||
Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec | ||
Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec | ||
Input: 0 bytes | ||
Output:0 bytes | ||
Input bandwidth utilization : 0% | ||
Output bandwidth utilization : 0% |
154 changes: 154 additions & 0 deletions
154
tests/huawei_vrp/display_interface/huawei_vrp_display_interface_dhcp.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 |
---|---|---|
@@ -0,0 +1,154 @@ | ||
--- | ||
parsed_sample: | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:46" | ||
duplex: "" | ||
hardware_address: "5000-001c-0000" | ||
interface: "GigabitEthernet0/0/0" | ||
interface_description: "WAN" | ||
internet_address: "192.168.77.54/24" | ||
internet_protocol: "" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "UP" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:47" | ||
duplex: "" | ||
hardware_address: "5000-001c-0001" | ||
interface: "GigabitEthernet0/0/1" | ||
interface_description: "LAN" | ||
internet_address: "10.1.1.2/30" | ||
internet_protocol: "" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "UP" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:50" | ||
duplex: "" | ||
hardware_address: "5000-001c-0002" | ||
interface: "GigabitEthernet0/0/2" | ||
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/2 Interface" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "DOWN" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:51" | ||
duplex: "" | ||
hardware_address: "5000-001c-0003" | ||
interface: "GigabitEthernet0/0/3" | ||
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/3 Interface" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "DOWN" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:51" | ||
duplex: "" | ||
hardware_address: "5000-001c-0004" | ||
interface: "GigabitEthernet0/0/4" | ||
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/4 Interface" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "DOWN" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:51" | ||
duplex: "" | ||
hardware_address: "5000-001c-0005" | ||
interface: "GigabitEthernet0/0/5" | ||
interface_description: "HUAWEI, AR Series, GigabitEthernet0/0/5 Interface" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "DOWN" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:51" | ||
duplex: "" | ||
hardware_address: "00e0-fc03-02ee" | ||
interface: "GigabitEthernet0/0/6" | ||
interface_description: "VirtualPort" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "2024-02-08 16:30:03" | ||
last_physical_up_time: "2024-02-08 16:30:16" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "DOWN" | ||
pvid: "" | ||
speed: "" | ||
- aggregated_interfaces: [] | ||
current_system_time: "2024-02-08 16:38:51" | ||
duplex: "" | ||
hardware_address: "" | ||
interface: "NULL0" | ||
interface_description: "HUAWEI, AR Series, NULL0 Interface" | ||
internet_address: "" | ||
internet_protocol: "disabled" | ||
last_physical_down_time: "" | ||
last_physical_up_time: "" | ||
link_status: "UP" | ||
loopback: "" | ||
mtu: "1500" | ||
negotiation: "" | ||
port_mode: "" | ||
port_type: "Route" | ||
protocol_status: "UP (spoofing)" | ||
pvid: "" | ||
speed: "" |