-
Notifications
You must be signed in to change notification settings - Fork 7
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 #17 from napalm-automation-community/develop
Release 3.0.0
- Loading branch information
Showing
14 changed files
with
658 additions
and
52 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
napalm==2.5.0 | ||
napalm>=3.0.0 | ||
pyeapi>=0.8.1 |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
setup( | ||
name="napalm-mos", | ||
version="2.5.0", | ||
version="3.0.0", | ||
packages=find_packages(), | ||
author="Benny Holmgren, Brandon Ewing", | ||
author_email="[email protected], [email protected]", | ||
|
@@ -22,4 +22,5 @@ | |
url="https://github.com/napalm-automation-community/napalm-mos", | ||
include_package_data=True, | ||
install_requires=reqs, | ||
python_requires=">=3.6", | ||
) |
1 change: 1 addition & 0 deletions
1
test/unit/mocked_data/test_get_config_sanitized/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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"running":"! command: show running-config\n! time: Fri 02 Jun 2017 00:15:54 UTC\n! device: test (C16-B2, MOS-0.14.0alpha2)\n!\n\nhostname test\nusername admin secret sha512 $6$01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABC\ntacacs-server host 192.0.1.10 key <removed>\ntacacs-server host 192.0.1.11 key <removed>\ntacacs-server host 192.0.1.12 key <removed>\n\nntp server 192.0.1.100\nntp server 192.0.1.101\n\nlogging host 192.0.1.101\nalias wrm copy running-config startup-config\n\ninterface et1\n source et2\n\ninterface et2\n source et1\n\ninterface ma1\n ip address 192.0.2.201 255.255.255.0\n ip default-gateway 192.0.2.254\n\nmanagement api\n no shutdown\n\nmanagement snmp\n snmp-server community publ1c ro\n\nend\n", "startup":"! device: test (C16-B2, MOS-0.14.0alpha1)\n!\n\nhostname test\nusername admin secret sha512 $6$01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABC\ntacacs-server host 192.0.1.10 key <removed>\ntacacs-server host 192.0.1.11 key <removed>\ntacacs-server host 192.0.1.12 key <removed>\n\nntp server 192.0.1.100\nntp server 192.0.1.101\n\nlogging host 192.0.1.101\nalias wrm copy running-config startup-config\n\ninterface et1\n source et2\n\ninterface et2\n source et1\n\ninterface ma1\n ip address 192.0.2.201 255.255.255.0\n ip default-gateway 192.0.2.254\n\nmanagement snmp\n snmp-server community publ1c ro\n\nend\n\n", "candidate": ""} |
34 changes: 34 additions & 0 deletions
34
test/unit/mocked_data/test_get_config_sanitized/normal/show_running_config.text
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,34 @@ | ||
! command: show running-config | ||
! time: Fri 02 Jun 2017 00:15:54 UTC | ||
! device: test (C16-B2, MOS-0.14.0alpha2) | ||
! | ||
|
||
hostname test | ||
username admin secret sha512 $6$01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABC | ||
tacacs-server host 192.0.1.10 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
tacacs-server host 192.0.1.11 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
tacacs-server host 192.0.1.12 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
|
||
ntp server 192.0.1.100 | ||
ntp server 192.0.1.101 | ||
|
||
logging host 192.0.1.101 | ||
alias wrm copy running-config startup-config | ||
|
||
interface et1 | ||
source et2 | ||
|
||
interface et2 | ||
source et1 | ||
|
||
interface ma1 | ||
ip address 192.0.2.201 255.255.255.0 | ||
ip default-gateway 192.0.2.254 | ||
|
||
management api | ||
no shutdown | ||
|
||
management snmp | ||
snmp-server community publ1c ro | ||
|
||
end |
30 changes: 30 additions & 0 deletions
30
test/unit/mocked_data/test_get_config_sanitized/normal/show_startup_config.text
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 @@ | ||
! device: test (C16-B2, MOS-0.14.0alpha1) | ||
! | ||
|
||
hostname test | ||
username admin secret sha512 $6$01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABCDEF01234567890ABC | ||
tacacs-server host 192.0.1.10 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
tacacs-server host 192.0.1.11 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
tacacs-server host 192.0.1.12 key 7 01234567890ABCDEF0123456789ABCDEF0123456789A | ||
|
||
ntp server 192.0.1.100 | ||
ntp server 192.0.1.101 | ||
|
||
logging host 192.0.1.101 | ||
alias wrm copy running-config startup-config | ||
|
||
interface et1 | ||
source et2 | ||
|
||
interface et2 | ||
source et1 | ||
|
||
interface ma1 | ||
ip address 192.0.2.201 255.255.255.0 | ||
ip default-gateway 192.0.2.254 | ||
|
||
management snmp | ||
snmp-server community publ1c ro | ||
|
||
end | ||
|
Oops, something went wrong.