Skip to content

Commit 80af66e

Browse files
committed
0.6.8
1 parent dae949f commit 80af66e

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

MANIFEST

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pygnmi/__init__.py
55
pygnmi/arg_parser.py
66
pygnmi/client.py
77
pygnmi/path_generator.py
8+
pygnmi/tools.py
89
pygnmi/artefacts/messages.py
910
pygnmi/spec/gnmi_ext_pb2.py
1011
pygnmi/spec/gnmi_ext_pb2_grpc.py

README.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Contributors
7878
Dev Log
7979
=======
8080

81+
Release **0.6.8**:
82+
83+
- Minor bug-fixing.
84+
8185
Release **0.6.7**:
8286

8387
- Added new ``show_diff`` key to ``gNMIclient`` object (supported values ``print`` and ``get``). When applied, it shows the changes happened to all keys following XPath from all arguments to ``Set()`` RPC at the network devices. It is so fair tailored to OpenConfig YANG modules as it uses some architectural principles of OpenConfig YANG module to re-construct XPath.
@@ -320,9 +324,9 @@ Release **0.1.0**:
320324

321325
- The first release.
322326

323-
(c)2020-2021, karneliuk.com
327+
(c)2020-2022, karneliuk.com
324328

325-
.. |version| image:: https://img.shields.io/static/v1?label=latest&message=v0.6.7&color=success
329+
.. |version| image:: https://img.shields.io/static/v1?label=latest&message=v0.6.8&color=success
326330
.. _version: https://pypi.org/project/pygnmi/
327331
.. |tag| image:: https://img.shields.io/static/v1?label=status&message=stable&color=success
328332
.. _tag: https://pypi.org/project/pygnmi/

pygnmi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#(c)2019-2021, karneliuk.com
22

3-
__version__ = "0.6.7"
3+
__version__ = "0.6.8"

pygnmi/client.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ def __init__(self, target: tuple, username: str = None, password: str = None,
6464
else:
6565
self.__target = target
6666

67-
if 'interval_ms' in kwargs:
67+
if 'keepalive_time_ms' in kwargs:
6868
self.configureKeepalive(**kwargs)
6969

70+
7071
def configureKeepalive(self, keepalive_time_ms: int, keepalive_timeout_ms: int = 20000,
7172
max_pings_without_data: int = 0,
7273
keepalive_permit_without_calls: bool = True):
@@ -85,6 +86,7 @@ def configureKeepalive(self, keepalive_time_ms: int, keepalive_timeout_ms: int =
8586
("grpc.http2.max_pings_without_data", max_pings_without_data),
8687
]
8788

89+
8890
def __enter__(self):
8991
"""
9092
Building the connectivity towards network element over gNMI (used in the with ... as ... context manager)

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
from distutils.core import setup
22

3-
with open('README.rst') as fh:
3+
with open('README.rst', encoding="utf-8") as fh:
44
long_description = fh.read()
55

66
setup(
77
name = 'pygnmi',
88
packages = ['pygnmi', 'pygnmi.spec', 'pygnmi.artefacts', 'pygnmi'],
9-
version = '0.6.7',
9+
version = '0.6.8',
1010
license='bsd-3-clause',
1111
description = 'This repository contains pure Python implementation of the gNMI client to interact with the network functions.',
1212
long_description = long_description,
1313
long_description_content_type = 'text/x-rst',
1414
author = 'Anton Karneliuk',
1515
author_email = 'anton@karneliuk.com',
1616
url = 'https://github.com/akarneliuk/pygnmi',
17-
download_url = 'https://github.com/akarneliuk/pygnmi/archive/v0.6.7.tar.gz',
17+
download_url = 'https://github.com/akarneliuk/pygnmi/archive/v0.6.8.tar.gz',
1818
keywords = ['gnmi', 'automation', 'grpc', 'network'],
1919
install_requires=[
2020
'grpcio',

0 commit comments

Comments
 (0)