Skip to content

Commit fcd7a92

Browse files
authored
Merge pull request #878 from ktbyers/develop
Release Version 2.2.2
2 parents 7ded3a2 + bf1cf69 commit fcd7a92

File tree

4 files changed

+30
-32
lines changed

4 files changed

+30
-32
lines changed

README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Cisco IOS-XE
2727
Cisco IOS-XR
2828
Cisco NX-OS
2929
Cisco SG300
30-
Dell OS10
3130
HP Comware7
3231
HP ProCurve
3332
Juniper Junos
@@ -36,12 +35,14 @@ Linux
3635
###### Limited testing
3736

3837
Alcatel AOS6/AOS8
38+
Apresia Systems AEOS
3939
Avaya ERS
4040
Avaya VSP
4141
Brocade VDX
4242
Brocade MLX/NetIron
4343
Calix B6
4444
Cisco WLC
45+
Dell OS10
4546
Dell-Force10
4647
Dell PowerConnect
4748
Huawei
@@ -63,7 +64,7 @@ Citrix Netscaler
6364
Cisco Telepresence
6465
Check Point GAiA
6566
Coriant
66-
Dell Isilon
67+
Dell EMC Isilon
6768
Eltex
6869
Enterasys
6970
Extreme EXOS
@@ -130,25 +131,6 @@ FastEthernet4 10.10.10.10 YES manual up up
130131
Vlan1 unassigned YES unset down down
131132
```
132133

133-
#### For long-running commands, use `send_command_expect()`
134-
135-
`send_command_expect` waits for the trailing prompt (or for an optional pattern)
136-
```py
137-
net_connect.send_command_expect('write memory')
138-
```
139-
140-
```
141-
Building configuration...
142-
[OK]
143-
```
144-
145-
#### Enter and exit enable mode.
146-
147-
```py
148-
net_connect.enable()
149-
net_connect.exit_enable_mode()
150-
```
151-
152134
#### Execute configuration change commands (will automatically enter into config mode)
153135

154136
```py

netmiko/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
NetmikoAuthError = NetMikoAuthenticationException
2424
Netmiko = ConnectHandler
2525

26-
__version__ = '2.2.0'
26+
__version__ = '2.2.2'
2727
__all__ = ('ConnectHandler', 'ssh_dispatcher', 'platforms', 'SCPConn', 'FileTransfer',
2828
'NetMikoTimeoutException', 'NetMikoAuthenticationException',
2929
'NetmikoTimeoutError', 'NetmikoAuthError', 'InLineTransfer', 'redispatch',

requirements-dev.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
pytest>=3.2.5
2-
pylama
3-
tox
1+
pytest==2.9.1
2+
pylama==7.4.3
3+
tox==2.5.0
4+
twine==1.11.0
45
pysnmp
56
-r requirements.txt

setup.py

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
from setuptools import find_packages
33
import os
44
import re
5+
import sys
6+
7+
8+
requirements = [
9+
'paramiko>=2.0.0',
10+
'scp>=0.10.0',
11+
'pyyaml',
12+
'pyserial',
13+
'textfsm',
14+
]
15+
16+
# Cryptography library makes this necessary as older versions of PIP (PIP7 and less)
17+
# will not auto_install enum34 from extras_require.
18+
if sys.version_info < (3,):
19+
requirements.append("enum34")
20+
requirements.append("ipaddress")
21+
22+
with open("README.md", "r") as fs:
23+
long_description = fs.read()
524

625

726
def find_version(*file_paths):
@@ -26,6 +45,8 @@ def find_version(*file_paths):
2645
name='netmiko',
2746
version=find_version('netmiko', '__init__.py'),
2847
description='Multi-vendor library to simplify Paramiko SSH connections to network devices',
48+
long_description=long_description,
49+
long_description_content_type="text/markdown",
2950
url='https://github.com/ktbyers/netmiko',
3051
author='Kirk Byers',
3152
author_email='[email protected]',
@@ -40,13 +61,7 @@ def find_version(*file_paths):
4061
'Programming Language :: Python :: 3.6',
4162
],
4263
packages=find_packages(exclude=("test*", )),
43-
install_requires=[
44-
'paramiko>=2.0.0',
45-
'scp>=0.10.0',
46-
'pyyaml',
47-
'pyserial',
48-
'textfsm'
49-
],
64+
install_requires=requirements,
5065
extras_require={
5166
'test': ['pytest>=3.2.5', ]
5267
},

0 commit comments

Comments
 (0)