-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hp_comware_display_ip_interface with production outputs (#1341)
* Fix hp_comware_display_ip_interface with production outputs
- Loading branch information
Showing
5 changed files
with
47 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
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
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ parsed_sample: | |
mtu: "" | ||
line_status: "UP" | ||
protocol_status: "DOWN" | ||
route_map: "" |
30 changes: 30 additions & 0 deletions
30
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.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,30 @@ | ||
Route-Aggregation1.4 current state :UP | ||
Line protocol current state :UP | ||
Internet Address is 10.1.1.1/24 Primary | ||
Broadcast address : 10.1.1.255 | ||
The Maximum Transmit Unit : 1500 bytes | ||
input packets : 519880114, bytes : 2114446514, multicasts : 1523365 | ||
output packets : 892477481, bytes : 2635360909, multicasts : 1513360 | ||
ARP packet input number: 4648 | ||
Request packet: 9 | ||
Reply packet: 4639 | ||
Unknown packet: 0 | ||
TTL invalid packet number: 1067079 | ||
ICMP packet input number: 27 | ||
Echo reply: 15 | ||
Unreachable: 0 | ||
Source quench: 0 | ||
Routing redirect: 0 | ||
Echo request: 0 | ||
Router advert: 0 | ||
Router solicit: 0 | ||
Time exceed: 12 | ||
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 | ||
Policy routing is enabled, using route map TO_INTERNET |
9 changes: 9 additions & 0 deletions
9
tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface2.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,9 @@ | ||
--- | ||
parsed_sample: | ||
- intf: "Route-Aggregation1.4" | ||
ipaddr: | ||
- "10.1.1.1/24" | ||
mtu: "1500" | ||
line_status: "UP" | ||
protocol_status: "UP" | ||
route_map: "TO_INTERNET" |