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 #116 from napalm-automation/develop
Release 0.6.1
- Loading branch information
Showing
23 changed files
with
327 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
setup( | ||
name="napalm-ios", | ||
version="0.6.0", | ||
version="0.6.1", | ||
packages=find_packages(), | ||
author="Kirk Byers", | ||
author_email="[email protected]", | ||
|
16 changes: 8 additions & 8 deletions
16
test/unit/mocked_data/test_get_arp_table/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,41 +1,41 @@ | ||
[{ | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.1", | ||
"mac": "84b8.0276.ac0e", | ||
"mac": "84:B8:02:76:AC:0E", | ||
"age": 8.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.2", | ||
"mac": "0019.0725.344a", | ||
"mac": "00:19:07:25:34:4A", | ||
"age": 221.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.3", | ||
"mac": "0024.f7dd.7741", | ||
"mac": "00:24:F7:DD:77:41", | ||
"age": 0.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.10", | ||
"mac": "6805.ca12.71c2", | ||
"mac": "68:05:CA:12:71:C2", | ||
"age": 37.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.33", | ||
"mac": "84b8.0276.ac0e", | ||
"mac": "84:B8:02:76:AC:0E", | ||
"age": 61.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.34", | ||
"mac": "0024.f7dd.7743", | ||
"mac": "00:24:F7:DD:77:43", | ||
"age": 0.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.40", | ||
"mac": "a099.9b1c.dfa7", | ||
"mac": "A0:99:9B:1C:DF:A7", | ||
"age": 3.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "192.168.81.34", | ||
"mac": "0024.f7dd.7743", | ||
"mac": "00:24:F7:DD:77:43", | ||
"age": 0.0 | ||
}] |
16 changes: 8 additions & 8 deletions
16
test/unit/mocked_data/test_get_arp_table/static_arp_entry/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,41 +1,41 @@ | ||
[{ | ||
"interface": "", | ||
"ip": "172.29.50.1", | ||
"mac": "84b8.0276.ac0e", | ||
"mac": "84:B8:02:76:AC:0E", | ||
"age": 8.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.2", | ||
"mac": "0019.0725.344a", | ||
"mac": "00:19:07:25:34:4A", | ||
"age": 221.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.3", | ||
"mac": "0024.f7dd.7741", | ||
"mac": "00:24:F7:DD:77:41", | ||
"age": 0.0 | ||
}, { | ||
"interface": "Vlan20", | ||
"ip": "172.29.50.10", | ||
"mac": "6805.ca12.71c2", | ||
"mac": "68:05:CA:12:71:C2", | ||
"age": 37.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.33", | ||
"mac": "84b8.0276.ac0e", | ||
"mac": "84:B8:02:76:AC:0E", | ||
"age": 61.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.34", | ||
"mac": "0024.f7dd.7743", | ||
"mac": "00:24:F7:DD:77:43", | ||
"age": 0.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "172.29.52.40", | ||
"mac": "a099.9b1c.dfa7", | ||
"mac": "A0:99:9B:1C:DF:A7", | ||
"age": 3.0 | ||
}, { | ||
"interface": "Vlan41", | ||
"ip": "192.168.81.34", | ||
"mac": "0024.f7dd.7743", | ||
"mac": "00:24:F7:DD:77:43", | ||
"age": 0.0 | ||
}] |
6 changes: 3 additions & 3 deletions
6
test/unit/mocked_data/test_get_interfaces/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
10 changes: 10 additions & 0 deletions
10
test/unit/mocked_data/test_get_lldp_neighbors/long_names/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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"GigabitEthernet1": [{ | ||
"port": "17", | ||
"hostname": "twb-sf-hpsw1.local.domain" | ||
}], | ||
"GigabitEthernet2": [{ | ||
"port": "18", | ||
"hostname": "twb-sf-hpsw2" | ||
}] | ||
} |
28 changes: 28 additions & 0 deletions
28
test/unit/mocked_data/test_get_lldp_neighbors/long_names/show_int_Gi1.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,28 @@ | ||
GigabitEthernet1 is up, line protocol is up | ||
Hardware is CSR vNIC, address is 0800.27f8.e842 (bia 0800.27f8.e842) | ||
Internet address is 10.0.2.15/24 | ||
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, | ||
reliability 255/255, txload 1/255, rxload 1/255 | ||
Encapsulation ARPA, loopback not set | ||
Keepalive set (10 sec) | ||
Full Duplex, 1000Mbps, link type is auto, media type is RJ45 | ||
output flow-control is unsupported, input flow-control is unsupported | ||
ARP type: ARPA, ARP Timeout 04:00:00 | ||
Last input 00:42:01, output 00:00:05, output hang never | ||
Last clearing of "show interface" counters never | ||
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0 | ||
Queueing strategy: fifo | ||
Output queue: 0/40 (size/max) | ||
5 minute input rate 1000 bits/sec, 1 packets/sec | ||
5 minute output rate 1000 bits/sec, 1 packets/sec | ||
14028 packets input, 1766902 bytes, 0 no buffer | ||
Received 0 broadcasts (0 IP multicasts) | ||
0 runts, 0 giants, 0 throttles | ||
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored | ||
0 watchdog, 0 multicast, 0 pause input | ||
9446 packets output, 1379617 bytes, 0 underruns | ||
0 output errors, 0 collisions, 0 interface resets | ||
0 unknown protocol drops | ||
0 babbles, 0 late collision, 0 deferred | ||
0 lost carrier, 0 no carrier, 0 pause output | ||
0 output buffer failures, 0 output buffers swapped out |
30 changes: 30 additions & 0 deletions
30
test/unit/mocked_data/test_get_lldp_neighbors/long_names/show_int_Gi2.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,30 @@ | ||
GigabitEthernet2 is up, line protocol is up | ||
Hardware is CSR vNIC, address is 0800.2779.e896 (bia 0800.2779.e896) | ||
Description: blah bleh | ||
Internet address is 192.168.0.1/24 | ||
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, | ||
reliability 255/255, txload 1/255, rxload 1/255 | ||
Encapsulation ARPA, loopback not set | ||
Keepalive set (10 sec) | ||
Full Duplex, 1000Mbps, link type is auto, media type is RJ45 | ||
output flow-control is unsupported, input flow-control is unsupported | ||
ARP type: ARPA, ARP Timeout 04:00:00 | ||
Last input 00:00:04, output 00:00:05, output hang never | ||
Last clearing of "show interface" counters never | ||
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0 | ||
Queueing strategy: fifo | ||
Output queue: 0/40 (size/max) | ||
5 minute input rate 0 bits/sec, 0 packets/sec | ||
5 minute output rate 0 bits/sec, 0 packets/sec | ||
118 packets input, 11502 bytes, 0 no buffer | ||
Received 0 broadcasts (0 IP multicasts) | ||
0 runts, 0 giants, 0 throttles | ||
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored | ||
0 watchdog, 0 multicast, 0 pause input | ||
177 packets output, 19267 bytes, 0 underruns | ||
0 output errors, 0 collisions, 1 interface resets | ||
0 unknown protocol drops | ||
0 babbles, 0 late collision, 0 deferred | ||
0 lost carrier, 0 no carrier, 0 pause output | ||
0 output buffer failures, 0 output buffers swapped out | ||
|
9 changes: 9 additions & 0 deletions
9
test/unit/mocked_data/test_get_lldp_neighbors/long_names/show_lldp_neighbors.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,9 @@ | ||
Capability codes: | ||
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device | ||
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other | ||
|
||
Device ID Local Intf Hold-time Capability Port ID | ||
twb-sf-hpsw1.local.dGi1 120 B 17 | ||
twb-sf-hpsw2 Gi2 120 B 18 | ||
|
||
Total entries displayed: 2 |
Oops, something went wrong.