Skip to content

Commit

Permalink
Merge pull request #1637 from ktbyers/develop
Browse files Browse the repository at this point in the history
Netmiko release 3.1.0
  • Loading branch information
ktbyers authored Mar 23, 2020
2 parents 41b8827 + 362ffb4 commit 6e564c4
Show file tree
Hide file tree
Showing 152 changed files with 5,557 additions and 518 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ matrix:
- python: 3.8-dev
- python: nightly
install:
- pip install tox==3.13.2 tox-travis==0.12
- pip install tox==3.14.5 tox-travis==0.12
script:
- tox
4 changes: 3 additions & 1 deletion PLATFORMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
- Fortinet
- MRV Communications OptiSwitch
- MRV LX
- Nokia/Alcatel SR-OS
- QuantaMesh
- Rad ETX
- Sophos SFOS
- Versa Networks FlexVNF

- Watchguard Firebox
26 changes: 13 additions & 13 deletions _release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

cd /home/gituser/netmiko/
cd /home/kbyers/netmiko/
echo

VERSION=`cat netmiko/__init__.py | grep version | sed "s/^__version__ = \"//"`
Expand Down Expand Up @@ -58,8 +58,8 @@ sleep 1

echo
echo "Testing in new virtual environment"
if [ -d "/home/gituser/VENV" ]; then
cd /home/gituser/VENV
if [ -d "/home/kbyers/VENV" ]; then
cd /home/kbyers/VENV
if [ -d "netmiko_packaging" ]; then
rm -r netmiko_packaging
fi
Expand All @@ -71,9 +71,9 @@ else
echo "Create virtualenv"
/usr/bin/virtualenv-3.6 -p /usr/bin/python3.6 --no-site-packages netmiko_packaging
echo "Source virtualenv"
source /home/gituser/VENV/netmiko_packaging/bin/activate
source /home/kbyers/VENV/netmiko_packaging/bin/activate
which python
cd /home/gituser/netmiko
cd /home/kbyers/netmiko
pip install --upgrade pip
pip install --upgrade setuptools
pip install dist/$WHL_PACKAGE
Expand Down Expand Up @@ -102,11 +102,11 @@ while true; do
esac
done
deactivate
source /home/gituser/VENV/py36_netmiko/bin/activate
source /home/kbyers/VENV/py3_netmiko/bin/activate
echo `which python`
cd /home/gituser/netmiko
cd /home/kbyers/netmiko
### FIX: Uncomment
# twine upload -r pypitest $DIR_PACKAGE $DIR_WHL_PACKAGE
twine upload -r pypitest $DIR_PACKAGE $DIR_WHL_PACKAGE

echo
echo
Expand All @@ -122,14 +122,14 @@ done
echo

### FIX: NEED TO ADD
# twine upload $DIR_PACKAGE $DIR_WHL_PACKAGE
twine upload $DIR_PACKAGE $DIR_WHL_PACKAGE


sleep 90
echo
echo "Test clean install from pypi"
if [ -d "/home/gituser/VENV" ]; then
cd /home/gituser/VENV
if [ -d "/home/kbyers/VENV" ]; then
cd /home/kbyers/VENV
if [ -d "netmiko_packaging" ]; then
rm -r netmiko_packaging
fi
Expand All @@ -144,9 +144,9 @@ else
/usr/bin/virtualenv-3.6 -p /usr/bin/python3.6 --no-site-packages netmiko_packaging
echo "Source virtualenv"
deactivate
source /home/gituser/VENV/netmiko_packaging/bin/activate
source /home/kbyers/VENV/netmiko_packaging/bin/activate
which python
cd /home/gituser
cd /home/kbyers
pip install --upgrade pip
pip install --upgrade setuptools
pip install netmiko
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/a10/a10_ssh.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.a10.a10_ssh.A10SSH"><code class="flex name class">
<span>class <span class="ident">A10SSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>A10 support.</p>
Expand Down Expand Up @@ -185,6 +185,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/a10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.a10.A10SSH"><code class="flex name class">
<span>class <span class="ident">A10SSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>A10 support.</p>
Expand Down Expand Up @@ -169,6 +169,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/accedian/accedian_ssh.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.accedian.accedian_ssh.AccedianSSH"><code class="flex name class">
<span>class <span class="ident">AccedianSSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>Base Class for cisco-like behavior.</p>
Expand Down Expand Up @@ -206,6 +206,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/accedian/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.accedian.AccedianSSH"><code class="flex name class">
<span>class <span class="ident">AccedianSSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>Base Class for cisco-like behavior.</p>
Expand Down Expand Up @@ -169,6 +169,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/alcatel/alcatel_aos_ssh.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.alcatel.alcatel_aos_ssh.AlcatelAosSSH"><code class="flex name class">
<span>class <span class="ident">AlcatelAosSSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>Alcatel-Lucent Enterprise AOS support (AOS6 and AOS8).</p>
Expand Down Expand Up @@ -207,6 +207,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
7 changes: 6 additions & 1 deletion docs/netmiko/alcatel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="netmiko.alcatel.AlcatelAosSSH"><code class="flex name class">
<span>class <span class="ident">AlcatelAosSSH</span></span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
<span>(</span><span>ip='', host='', username='', password=None, secret='', port=None, device_type='', verbose=False, global_delay_factor=1, global_cmd_verify=None, use_keys=False, key_file=None, pkey=None, passphrase=None, allow_agent=False, ssh_strict=False, system_host_keys=False, alt_host_keys=False, alt_key_file='', ssh_config_file=None, timeout=100, session_timeout=60, auth_timeout=None, blocking_timeout=20, banner_timeout=15, keepalive=0, default_enter=None, response_return=None, serial_settings=None, fast_cli=False, session_log=None, session_log_record_writes=False, session_log_file_mode='write', allow_auto_change=False, encoding='ascii', sock=None)</span>
</code></dt>
<dd>
<section class="desc"><p>Alcatel-Lucent Enterprise AOS support (AOS6 and AOS8).</p>
Expand Down Expand Up @@ -169,6 +169,11 @@ <h2 class="section-title" id="header-classes">Classes</h2>
:param sock: An open socket or socket-like object (such as a `.Channel`) to use for
communication to the target host (default: None).
:type sock: socket

:param global_cmd_verify: Control whether command echo verification is enabled or disabled
(default: None). Global attribute takes precedence over function `cmd_verify`
argument. Value of `None` indicates to use function `cmd_verify` argument.
:type global_cmd_verify: bool|None
</code></pre></section>
<details class="source">
<summary>Source code</summary>
Expand Down
Loading

0 comments on commit 6e564c4

Please sign in to comment.