This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from napalm-automation/develop
napalm-ios release 0.6.2
- Loading branch information
Showing
34 changed files
with
1,290 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,3 +67,4 @@ test/unit/ios/cleanup.sh | |
test/unit/ios/prep_test.sh | ||
|
||
report.json | ||
tags |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
napalm_base>=0.21.0 | ||
netmiko>=1.2.7 | ||
napalm_base>=0.23.2 | ||
netmiko>=1.4.0 |
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
setup( | ||
name="napalm-ios", | ||
version="0.6.1", | ||
version="0.6.2", | ||
packages=find_packages(), | ||
author="Kirk Byers", | ||
author_email="[email protected]", | ||
|
@@ -24,5 +24,6 @@ | |
], | ||
url="https://github.com/napalm-automation/napalm-ios", | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=reqs, | ||
) |
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
60 changes: 37 additions & 23 deletions
60
test/unit/mocked_data/test_get_interfaces_counters/normal/expected_result.json
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,44 +1,58 @@ | ||
{ | ||
"GigabitEthernet1": { | ||
"tx_discards": -1, | ||
"tx_broadcast_packets": -1, | ||
"rx_multicast_packets": 0, | ||
"tx_unicast_packets": 9297, | ||
"rx_octets": 2, | ||
"rx_unicast_packets": 297, | ||
"rx_octets": 25963, | ||
"rx_broadcast_packets": 0, | ||
"rx_multicast_packets": 0, | ||
"rx_errors": 0, | ||
"tx_octets": 1, | ||
"rx_discards": -1, | ||
"rx_discards": 0, | ||
"tx_unicast_packets": 160, | ||
"tx_octets": 26812, | ||
"tx_broadcast_packets": -1, | ||
"tx_multicast_packets": -1, | ||
"tx_errors": 0, | ||
"rx_unicast_packets": 13799 | ||
"tx_discards": 0 | ||
}, | ||
"GigabitEthernet2": { | ||
"tx_discards": -1, | ||
"tx_broadcast_packets": -1, | ||
"rx_multicast_packets": 0, | ||
"tx_unicast_packets": 154, | ||
"rx_octets": 3, | ||
"rx_unicast_packets": 0, | ||
"rx_octets": 0, | ||
"rx_broadcast_packets": 0, | ||
"rx_multicast_packets": 0, | ||
"rx_errors": 0, | ||
"tx_octets": 7, | ||
"rx_discards": -1, | ||
"rx_discards": 0, | ||
"tx_unicast_packets": 0, | ||
"tx_octets": 0, | ||
"tx_broadcast_packets": -1, | ||
"tx_multicast_packets": -1, | ||
"tx_errors": 0, | ||
"rx_unicast_packets": 105 | ||
"tx_discards": 0 | ||
}, | ||
"GigabitEthernet3": { | ||
"tx_discards": -1, | ||
"tx_broadcast_packets": -1, | ||
"rx_unicast_packets": 0, | ||
"rx_octets": 0, | ||
"rx_broadcast_packets": 0, | ||
"rx_multicast_packets": 0, | ||
"tx_unicast_packets": 3, | ||
"rx_errors": 0, | ||
"rx_discards": 0, | ||
"tx_unicast_packets": 0, | ||
"tx_octets": 0, | ||
"tx_broadcast_packets": -1, | ||
"tx_multicast_packets": -1, | ||
"tx_errors": 0, | ||
"tx_discards": 0 | ||
}, | ||
"GigabitEthernet4": { | ||
"rx_unicast_packets": 0, | ||
"rx_octets": 0, | ||
"rx_broadcast_packets": 0, | ||
"rx_multicast_packets": 0, | ||
"rx_errors": 0, | ||
"tx_octets": 8, | ||
"rx_discards": -1, | ||
"rx_discards": 0, | ||
"tx_unicast_packets": 0, | ||
"tx_octets": 0, | ||
"tx_broadcast_packets": -1, | ||
"tx_multicast_packets": -1, | ||
"tx_errors": 0, | ||
"rx_unicast_packets": 0 | ||
"tx_discards": 0 | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
test/unit/mocked_data/test_get_interfaces_counters/normal/show_interface_summary.txt
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,14 @@ | ||
|
||
*: interface is up | ||
IHQ: pkts in input hold queue IQD: pkts dropped from input queue | ||
OHQ: pkts in output hold queue OQD: pkts dropped from output queue | ||
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec) | ||
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec) | ||
TRTL: throttle count | ||
|
||
Interface IHQ IQD OHQ OQD RXBS RXPS TXBS TXPS TRTL | ||
----------------------------------------------------------------------------------------------------------------- | ||
* GigabitEthernet1 0 0 0 0 0 0 0 0 0 | ||
GigabitEthernet2 0 0 0 0 0 0 0 0 0 | ||
GigabitEthernet3 0 0 0 0 0 0 0 0 0 | ||
GigabitEthernet4 0 0 0 0 0 0 0 0 0 |
Oops, something went wrong.