-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hp comware display ip interface update (#2014)
- Loading branch information
1 parent
2d15142
commit f0d6a8f
Showing
5 changed files
with
217 additions
and
2 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
86 changes: 86 additions & 0 deletions
86
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface_release_0615P16.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,86 @@ | ||
Aux0 current state: UP | ||
Line protocol current state: DOWN | ||
|
||
Eth-channel2/0:0 current state: UP | ||
Line protocol current state: UP | ||
Internet Address is 1.2.3.4/32 CELLULAR-Allocated | ||
The Maximum Transmit Unit: 1500 bytes | ||
input packets : 23367835, bytes : 1413874673, multicasts : 0 | ||
output packets : 34966062, bytes : 2316469473, multicasts : 0 | ||
TTL invalid packet number: 0 | ||
ICMP packet input number: 823870 | ||
Echo reply: 70 | ||
Unreachable: 6335 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 491210 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 326252 | ||
IP header bad: 0 | ||
Timestamp request: 0 | ||
Timestamp reply: 0 | ||
Information request: 0 | ||
Information reply: 0 | ||
Netmask request: 0 | ||
Netmask reply: 0 | ||
Unknown type: 3 | ||
|
||
GigabitEthernet0/0 current state: Administratively DOWN | ||
Line protocol current state: DOWN | ||
|
||
GigabitEthernet0/1 current state: UP | ||
Line protocol current state: UP | ||
Internet Address is 5.6.7.10/30 Primary | ||
Broadcast address: 5.6.7.11 | ||
The Maximum Transmit Unit: 1500 bytes | ||
input packets : 4195331629, bytes : 3133177734, multicasts : 0 | ||
output packets : 918509741, bytes : 2093433955, multicasts : 0 | ||
TTL invalid packet number: 3716 | ||
ICMP packet input number: 2449183 | ||
Echo reply: 165 | ||
Unreachable: 18290 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 2430380 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 342 | ||
IP header bad: 0 | ||
Timestamp request: 0 | ||
Timestamp reply: 0 | ||
Information request: 0 | ||
Information reply: 0 | ||
Netmask request: 0 | ||
Netmask reply: 0 | ||
Unknown type: 6 | ||
|
||
GigabitEthernet0/2 current state: Administratively DOWN | ||
Line protocol current state: DOWN | ||
|
||
Vlan-interface1 current state: UP | ||
Line protocol current state: UP | ||
Internet Address is 1.2.3.65/29 Primary | ||
Broadcast address: 1.2.3.71 | ||
The Maximum Transmit Unit: 1500 bytes | ||
input packets : 882770572, bytes : 3680182010, multicasts : 1 | ||
output packets : 4143569939, bytes : 491084805, multicasts : 0 | ||
TTL invalid packet number: 263 | ||
ICMP packet input number: 0 | ||
Echo reply: 0 | ||
Unreachable: 0 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 0 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 0 | ||
IP header bad: 0 | ||
Timestamp request: 0 | ||
Timestamp reply: 0 | ||
Information request: 0 | ||
Information reply: 0 | ||
Netmask request: 0 | ||
Netmask reply: 0 | ||
Unknown type: 0 | ||
|
41 changes: 41 additions & 0 deletions
41
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface_release_0615P16.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,41 @@ | ||
--- | ||
parsed_sample: | ||
- interface: "Aux0" | ||
ip_address: [] | ||
line_status: "UP" | ||
mtu: "" | ||
protocol_status: "DOWN" | ||
route_map: "" | ||
- interface: "Eth-channel2/0:0" | ||
ip_address: | ||
- "1.2.3.4/32" | ||
line_status: "UP" | ||
mtu: "1500" | ||
protocol_status: "UP" | ||
route_map: "" | ||
- interface: "GigabitEthernet0/0" | ||
ip_address: [] | ||
line_status: "Administratively DOWN" | ||
mtu: "" | ||
protocol_status: "DOWN" | ||
route_map: "" | ||
- interface: "GigabitEthernet0/1" | ||
ip_address: | ||
- "5.6.7.10/30" | ||
line_status: "UP" | ||
mtu: "1500" | ||
protocol_status: "UP" | ||
route_map: "" | ||
- interface: "GigabitEthernet0/2" | ||
ip_address: [] | ||
line_status: "Administratively DOWN" | ||
mtu: "" | ||
protocol_status: "DOWN" | ||
route_map: "" | ||
- interface: "Vlan-interface1" | ||
ip_address: | ||
- "1.2.3.65/29" | ||
line_status: "UP" | ||
mtu: "1500" | ||
protocol_status: "UP" | ||
route_map: "" |
59 changes: 59 additions & 0 deletions
59
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface_sub.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,59 @@ | ||
Aux0 current state: UP | ||
Line protocol current state: DOWN | ||
|
||
GigabitEthernet0/0 current state: UP | ||
Line protocol current state: UP | ||
Internet Address is 1.2.3.218/30 Primary | ||
Broadcast address: 1.2.3.219 | ||
The Maximum Transmit Unit: 1500 bytes | ||
input packets : 3630628677, bytes : 3530327189888, multicasts : 0 | ||
output packets : 2789163179, bytes : 1952895304430, multicasts : 0 | ||
TTL invalid packet number: 1304 | ||
ICMP packet input number: 1112080 | ||
Echo reply: 58 | ||
Unreachable: 1518 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 1110479 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 25 | ||
IP header bad: 0 | ||
Timestamp request: 0 | ||
Timestamp reply: 0 | ||
Information request: 0 | ||
Information reply: 0 | ||
Netmask request: 0 | ||
Netmask reply: 0 | ||
Unknown type: 0 | ||
|
||
GigabitEthernet0/1 current state: Administratively DOWN | ||
Line protocol current state: DOWN | ||
|
||
Vlan-interface1 current state: UP | ||
Line protocol current state: UP | ||
Internet Address is 5.6.7.194/29 Primary | ||
Internet Address is 5.6.7.179/29 Sub | ||
Internet Address is 8.9.10.221/27 Sub | ||
Broadcast address: 5.6.7.199 | ||
The Maximum Transmit Unit: 1500 bytes | ||
input packets : 2788236164, bytes : 1952740685995, multicasts : 3451747 | ||
output packets : 3629098304, bytes : 3530157189482, multicasts : 6913848 | ||
TTL invalid packet number: 8280 | ||
ICMP packet input number: 197889 | ||
Echo reply: 7 | ||
Unreachable: 248 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 197628 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 6 | ||
IP header bad: 0 | ||
Timestamp request: 0 | ||
Timestamp reply: 0 | ||
Information request: 0 | ||
Information reply: 0 | ||
Netmask request: 0 | ||
Netmask reply: 0 | ||
Unknown type: 0 |
30 changes: 30 additions & 0 deletions
30
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface_sub.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,30 @@ | ||
--- | ||
parsed_sample: | ||
- interface: "Aux0" | ||
ip_address: [] | ||
line_status: "UP" | ||
mtu: "" | ||
protocol_status: "DOWN" | ||
route_map: "" | ||
- interface: "GigabitEthernet0/0" | ||
ip_address: | ||
- "1.2.3.218/30" | ||
line_status: "UP" | ||
mtu: "1500" | ||
protocol_status: "UP" | ||
route_map: "" | ||
- interface: "GigabitEthernet0/1" | ||
ip_address: [] | ||
line_status: "Administratively DOWN" | ||
mtu: "" | ||
protocol_status: "DOWN" | ||
route_map: "" | ||
- interface: "Vlan-interface1" | ||
ip_address: | ||
- "5.6.7.194/29" | ||
- "5.6.7.179/29" | ||
- "8.9.10.221/27" | ||
line_status: "UP" | ||
mtu: "1500" | ||
protocol_status: "UP" | ||
route_map: "" |