forked from pool/python-junos-eznc
- Update to 2.7.0:
- Support added for Python 3.10 and above version.
- 2.6.8:
- Introduced optional argument routing instance for fs.cp() API
- Introduced optional argument member_id for installation of pkg on
specific member id of EX-VC
- Changed the VlanTable field name to vlan-name and BfdSessionTable
field name to client-name #423
- Fixed the port details in StartShell to use the port from Device
object instead of default Port 22 #573
- Fixed the sw.install to use Windows file path for package copy
#1206
- Fixed the sw.install to install the vc_master after the other
vc_members gets installed for EX-3400 where unlink is set by
default #1247
- Removed Unused Dependency: Netaddr #1257
- Fixed "object": version_info(re_version) emits ValueError: invalid
literal for int() with base 10: '17-EVO' for EVO version
X50.17-EVO#1264
- Drop python-junos-eznc-remove-nose.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=28
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Index: py-junos-eznc-2.6.7/lib/jnpr/junos/device.py
|
||||
Index: py-junos-eznc-2.7.0/lib/jnpr/junos/device.py
|
||||
===================================================================
|
||||
--- py-junos-eznc-2.6.7.orig/lib/jnpr/junos/device.py
|
||||
+++ py-junos-eznc-2.6.7/lib/jnpr/junos/device.py
|
||||
@@ -43,6 +43,11 @@ from jnpr.junos.exception import JSONLoa
|
||||
--- py-junos-eznc-2.7.0.orig/lib/jnpr/junos/device.py
|
||||
+++ py-junos-eznc-2.7.0/lib/jnpr/junos/device.py
|
||||
@@ -43,6 +43,12 @@ from jnpr.junos.exception import JSONLoa
|
||||
from ncclient.operations.third_party.juniper.rpc import ExecuteRpc
|
||||
import inspect
|
||||
|
||||
@@ -11,13 +11,14 @@ Index: py-junos-eznc-2.6.7/lib/jnpr/junos/device.py
|
||||
+if not hasattr(inspect, "getargspec"):
|
||||
+ inspect.getargspec = inspect.getfullargspec
|
||||
+
|
||||
if sys.version_info.major >= 3:
|
||||
+
|
||||
if sys.version_info[0] >= 3:
|
||||
NCCLIENT_FILTER_XML = len(inspect.signature(ExecuteRpc.request).parameters) == 3
|
||||
else:
|
||||
Index: py-junos-eznc-2.6.7/lib/jnpr/junos/utils/scp.py
|
||||
Index: py-junos-eznc-2.7.0/lib/jnpr/junos/utils/scp.py
|
||||
===================================================================
|
||||
--- py-junos-eznc-2.6.7.orig/lib/jnpr/junos/utils/scp.py
|
||||
+++ py-junos-eznc-2.6.7/lib/jnpr/junos/utils/scp.py
|
||||
--- py-junos-eznc-2.7.0.orig/lib/jnpr/junos/utils/scp.py
|
||||
+++ py-junos-eznc-2.7.0/lib/jnpr/junos/utils/scp.py
|
||||
@@ -1,6 +1,11 @@
|
||||
from __future__ import absolute_import
|
||||
import inspect
|
||||
|
||||
Reference in New Issue
Block a user