From c6a41645ceb2736513348727951623721ff596f2 Mon Sep 17 00:00:00 2001 From: lucas Date: Mon, 18 Mar 2024 07:18:35 -0300 Subject: [PATCH] 8.2.2 --- changelog.md | 4 ++++ setup.py | 2 +- src/taskAutom/__init__.py | 2 +- src/taskAutom/taskAutom.py | 7 ++++--- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index fab049e..07938ee 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Versions # +## [8.2.2] - 2024-03-18 + +- The HwType is now added to the json file per router as a new key. + ## [8.2.1] - 2024-03-16 - Update of libraries: diff --git a/setup.py b/setup.py index 463a209..7b805df 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='taskAutom', - version='8.2.1', + version='8.2.2', description='A simple task automation tool', long_description='A simple task automation tool for NOKIA SROS based routers', long_description_content_type='text/x-rst', diff --git a/src/taskAutom/__init__.py b/src/taskAutom/__init__.py index 0b331ab..a712ceb 100644 --- a/src/taskAutom/__init__.py +++ b/src/taskAutom/__init__.py @@ -1,2 +1,2 @@ -__version__ = "8.2.1" +__version__ = "8.2.2" __author__ = 'Lucas Aimaretto' \ No newline at end of file diff --git a/src/taskAutom/taskAutom.py b/src/taskAutom/taskAutom.py index d201769..dd3aa93 100755 --- a/src/taskAutom/taskAutom.py +++ b/src/taskAutom/taskAutom.py @@ -38,7 +38,7 @@ from docx.shared import Pt -LATEST_VERSION = '8.2.1' +LATEST_VERSION = '8.2.2' # Constants IP_LOCALHOST = "127.0.0.1" @@ -1564,9 +1564,10 @@ def logData(self, connInfo, logInfo, logsDirTimestamp, plugin, logsDirectory): if not os.path.isfile(aluFileOutRxJson): try: with open(aluFileOutRxJson,'w') as fj: - outRxJson['name'] = connInfo['hostname'] - outRxJson['ip'] = connInfo['systemIP'] + outRxJson['name'] = connInfo['hostname'] + outRxJson['ip'] = connInfo['systemIP'] outRxJson['version'] = connInfo['timos'] + outRxJson['hwType'] = connInfo['hwType'] json.dump(outRxJson,fj) fj.close() writeJson = 'yes'