[Python-modules-commits] [pyiosxr] 01/06: New upstream release.

Vincent Bernat bernat at moszumanska.debian.org
Sun Nov 12 19:33:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to annotated tag debian/0.52-1
in repository pyiosxr.

commit 20fca973737297a5d8e2e855f8545da700359b1e
Author: Vincent Bernat <bernat at debian.org>
Date:   Sun Nov 12 20:18:06 2017 +0100

    New upstream release.
---
 PKG-INFO                      | 4 ++--
 pyIOSXR.egg-info/PKG-INFO     | 4 ++--
 pyIOSXR.egg-info/requires.txt | 2 +-
 pyIOSXR/iosxr.py              | 8 ++++++--
 requirements.txt              | 2 +-
 setup.cfg                     | 1 -
 setup.py                      | 2 +-
 7 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index a4bb64a..dae7fe0 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: pyIOSXR
-Version: 0.41
+Version: 0.52
 Summary: Python API to interact with network devices running IOS-XR
 Home-page: https://github.com/fooelisa/pyiosxr/
 Author: Elisa Jasinska, Mircea Ulinic
 Author-email: elisa at bigwaveit.org, mircea at cloudflare.com
 License: UNKNOWN
-Download-URL: https://github.com/fooelisa/pyiosxr/tarball/0.41
+Download-URL: https://github.com/fooelisa/pyiosxr/tarball/0.52
 Description: UNKNOWN
 Keywords: IOS-XR,IOSXR,Cisco,networking
 Platform: UNKNOWN
diff --git a/pyIOSXR.egg-info/PKG-INFO b/pyIOSXR.egg-info/PKG-INFO
index a4bb64a..dae7fe0 100644
--- a/pyIOSXR.egg-info/PKG-INFO
+++ b/pyIOSXR.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: pyIOSXR
-Version: 0.41
+Version: 0.52
 Summary: Python API to interact with network devices running IOS-XR
 Home-page: https://github.com/fooelisa/pyiosxr/
 Author: Elisa Jasinska, Mircea Ulinic
 Author-email: elisa at bigwaveit.org, mircea at cloudflare.com
 License: UNKNOWN
-Download-URL: https://github.com/fooelisa/pyiosxr/tarball/0.41
+Download-URL: https://github.com/fooelisa/pyiosxr/tarball/0.52
 Description: UNKNOWN
 Keywords: IOS-XR,IOSXR,Cisco,networking
 Platform: UNKNOWN
diff --git a/pyIOSXR.egg-info/requires.txt b/pyIOSXR.egg-info/requires.txt
index 64230ca..eead75f 100644
--- a/pyIOSXR.egg-info/requires.txt
+++ b/pyIOSXR.egg-info/requires.txt
@@ -1,2 +1,2 @@
-netmiko>=0.5.2
+netmiko>=1.4.1
 lxml>=3.2.4
diff --git a/pyIOSXR/iosxr.py b/pyIOSXR/iosxr.py
index 2f43324..cc9b41c 100644
--- a/pyIOSXR/iosxr.py
+++ b/pyIOSXR/iosxr.py
@@ -68,7 +68,8 @@ class IOSXR(object):
                  port=22,
                  timeout=60,
                  logfile=None,
-                 lock=True):
+                 lock=True,
+                 **netmiko_kwargs):
         """
         IOS-XR device constructor.
 
@@ -80,6 +81,7 @@ class IOSXR(object):
         :param logfile:   File-like object to save device communication to or None to disable logging
         :param lock:      (bool) Auto-lock config upon open() if set to True, connect without locking if False
                           (default: True)
+        :netmiko_kwargs   (kwargs) Key-value args to forward to Netmiko.
         """
         self.hostname = str(hostname)
         self.username = str(username)
@@ -89,6 +91,7 @@ class IOSXR(object):
         self.logfile = logfile
         self.lock_on_connect = lock
         self.locked = False
+        self.netmiko_kwargs = netmiko_kwargs
         self._cli_prompt = None
         self._xml_agent_locker = Lock()
         self._xml_agent_alive = False
@@ -159,7 +162,8 @@ class IOSXR(object):
                                          ip=self.hostname,
                                          port=self.port,
                                          username=self.username,
-                                         password=self.password)
+                                         password=self.password,
+                                         **self.netmiko_kwargs)
             self.device.timeout = self.timeout
             self._xml_agent_alive = True  # successfully open thus alive
         except NetMikoTimeoutException as t_err:
diff --git a/requirements.txt b/requirements.txt
index ff86190..eead75f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
-netmiko >= 0.5.2
+netmiko>=1.4.1
 lxml>=3.2.4
diff --git a/setup.cfg b/setup.cfg
index 8c9157d..9f88734 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,5 +4,4 @@ description-file = README.md
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 5ae34ad..b1f7568 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
 # e.g. ['django==1.5.1', 'mezzanine==1.4.6']
 reqs = [str(ir.req) for ir in install_reqs]
 
-version = '0.41'
+version = '0.52'
 
 setup(
     name='pyIOSXR',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyiosxr.git



More information about the Python-modules-commits mailing list