Commit 923d3082 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'noc-19.4.2-release-notes' into 'master'

NOC 19.4.2 Release Notes

See merge request noc/noc!3775

(cherry picked from commit 1353cf32)

608f27a8 NOC 19.4.2 Release Notes
10e906d3 Fix
parent ea5ac183
......@@ -23,6 +23,7 @@ from noc.core.management.base import BaseCommand
from noc.fm.models.mib import MIB
from noc.config import config
from noc.core.mongo.connection import connect
from noc.core.comp import smart_text
class Command(BaseCommand):
......@@ -65,16 +66,16 @@ class Command(BaseCommand):
else:
f = open(path, "r")
if mib:
data = f.read(4096)
data = smart_text(f.read(4096))
match = self.rx_last_updated.search(data)
if not match:
# Not in first chunk. Read rest
data += f.read()
data += smart_text(f.read())
match = self.rx_last_updated.search(data)
last_updated = self.decode_date(match.group(1))
if (last_updated > mib.last_updated) or force:
self.print(" updating %s" % mib_name)
self.update_mib(mib, data + f.read(), version=0)
self.update_mib(mib, data + smart_text(f.read()), version=0)
elif last_updated == mib.last_updated:
# Check internal version
match = self.rx_version.search(data)
......@@ -82,7 +83,7 @@ class Command(BaseCommand):
version = int(match.group(1))
else:
# Read rest
data += f.read()
data += smart_text(f.read())
match = self.rx_version.search(data)
if match:
version = int(match.group(1))
......@@ -90,10 +91,10 @@ class Command(BaseCommand):
version = 0
if version > mib.version:
self.print(" updating %s" % mib_name)
self.update_mib(mib, data + f.read(), version=version)
self.update_mib(mib, data + smart_text(f.read()), version=version)
else:
self.print(" creating %s" % mib_name)
self.create_mib(f.read())
self.create_mib(smart_text(f.read()))
f.close()
def decode_date(self, s):
......
......@@ -9,4 +9,6 @@
/releases/release-19.4
/releases/release-19.4.1
/releases/release-19.4.2
.. _release-19.4.2:
================
NOC 19.4.2
================
19.4.2 release contains `40 <https://code.getnoc.com/noc/noc/merge_requests?scope=all&state=merged&milestone_title=19.4.2>`_ bugfixes, optimisations and improvements.
.. _release-19.4.2-improvements:
Improvements
------------
+------------+-------------------------------------+
| MR | Title |
+------------+-------------------------------------+
| :mr:`3139` | Interface threshold handling fixes |
+------------+-------------------------------------+
| :mr:`3187` | Update Search by MAC in MO Inteface |
+------------+-------------------------------------+
| :mr:`3322` | add new report - load metric max |
+------------+-------------------------------------+
| :mr:`3476` | Fix report max load metrics 2 |
+------------+-------------------------------------+
.. _release-19.4.2-bugs:
Bugfixes
--------
+------------+------------------------------------------------------------------------------------------------------+
| MR | Title |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`1571` | Fix Qtech.QSW profile for lldp |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3143` | Fix object datastream iter_changed managed_object check. |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3152` | Fix object iter_changed_datastream typo. |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3161` | Fix Segment MAC Discovery when the object links to itself |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3162` | Fix interface_flap field on ReportMetrics. |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3205` | Fix delay escalation when start time < now time |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3207` | #1227: Filter out duplicated metric measurements |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3221` | Rebuild credential cache when change ManagedObjectProfile beef_storage and beef_path_template field. |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3258` | py3: Fix whois client |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3263` | Add MO queue for maintenance escalation |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3267` | Fix Alarms class filter |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3291` | Add raise_privileges and access_preference params when call login script on suggestcli discovery. |
+------------+------------------------------------------------------------------------------------------------------+
| :mr:`3292` | Add ldap3 escape filter chars 19.4 |
+------------+------------------------------------------------------------------------------------------------------+
.. _release-19.4.2-cleanup:
Code Cleanup
------------
+------------+------------------------+
| MR | Title |
+------------+------------------------+
| :mr:`3390` | Fix DDash sensorstatus |
+------------+------------------------+
.. _release-19.4.2-profiles:
Profile Changes
---------------
.. _release-19.4.2-profile-Cisco.IOS:
Cisco.IOS
^^^^^^^^^
+------------+------------------------------------------------------------------+
| MR | Title |
+------------+------------------------------------------------------------------+
| :mr:`3173` | Cisco.IOS.get_lacp_neighbors, get_version. Small fixes encoding. |
+------------+------------------------------------------------------------------+
| :mr:`3185` | Cisco.IOS.get_lacp_neighbors. Fix rx_sys_id regex. |
+------------+------------------------------------------------------------------+
.. _release-19.4.2-profile-Dahua.DH:
Dahua.DH
^^^^^^^^
+------------+------------------------------------------------+
| MR | Title |
+------------+------------------------------------------------+
| :mr:`3142` | Dahua.DH. Fix getting config from RVi web cam. |
+------------+------------------------------------------------+
.. _release-19.4.2-profile-Eltex.MES:
Eltex.MES
^^^^^^^^^
+------------+-----------------------------------------+
| MR | Title |
+------------+-----------------------------------------+
| :mr:`3177` | fix_Environment_Sensor_Status_Eltex_MES |
+------------+-----------------------------------------+
.. _release-19.4.2-profile-Eltex.MES24xx:
Eltex.MES24xx
^^^^^^^^^^^^^
+------------+--------------------------------------+
| MR | Title |
+------------+--------------------------------------+
| :mr:`3164` | fix_get_lldp_neighbors_Eltex_MES24xx |
+------------+--------------------------------------+
.. _release-19.4.2-profile-Generic:
Generic
^^^^^^^
+------------+---------------------------------------------------------+
| MR | Title |
+------------+---------------------------------------------------------+
| :mr:`3149` | Generic.get_beef. Catch SNMP error when collected beef. |
+------------+---------------------------------------------------------+
.. _release-19.4.2-profile-H3C.VRP:
H3C.VRP
^^^^^^^
+------------+--------------------------------------------------------+
| MR | Title |
+------------+--------------------------------------------------------+
| :mr:`3240` | H3C.VRP. Fix get_version and add SNMP scripts. |
+------------+--------------------------------------------------------+
| :mr:`3300` | H3C.VRP.get_version. Fix regex for S3100-8TP-EI model. |
+------------+--------------------------------------------------------+
.. _release-19.4.2-profile-Huawei.MA5600T:
Huawei.MA5600T
^^^^^^^^^^^^^^
+------------+------------------------------+
| MR | Title |
+------------+------------------------------+
| :mr:`3337` | Huawei. Disable CLI metrics. |
+------------+------------------------------+
.. _release-19.4.2-profile-Juniper.JUNOS:
Juniper.JUNOS
^^^^^^^^^^^^^
+------------+----------------------------------------------------------------------------------+
| MR | Title |
+------------+----------------------------------------------------------------------------------+
| :mr:`3256` | add snmp oid jnxVirtualChassisMemberMacAddBase. fix get_chassis_id Juniper_JUNOS |
+------------+----------------------------------------------------------------------------------+
.. _release-19.4.2-profile-Qtech.QSW2800:
Qtech.QSW2800
^^^^^^^^^^^^^
+------------+-------------------------------------------------------------------------------------------+
| MR | Title |
+------------+-------------------------------------------------------------------------------------------+
| :mr:`3222` | Qtech.QSW2800.get_capabilities. Fix not supported operation on 'NoneType' and 'int' type. |
+------------+-------------------------------------------------------------------------------------------+
.. _release-19.4.2-profile-rare:
rare
^^^^
+------------+--------------------------------------------------------------------------+
| MR | Title |
+------------+--------------------------------------------------------------------------+
| :mr:`3150` | fix_AlliedTelesis.AT9900_profile |
+------------+--------------------------------------------------------------------------+
| :mr:`3160` | add_get_ifindexes_AlliedTelesis.AT9900_profile |
+------------+--------------------------------------------------------------------------+
| :mr:`3167` | add_get_lldp_neighbors_AlliedTelesis.AT9900 |
+------------+--------------------------------------------------------------------------+
| :mr:`3180` | add_cli_get_lldp_neighbors_AlliedTelesis.AT9900 |
+------------+--------------------------------------------------------------------------+
| :mr:`3196` | Fix get_interfaces for BDCOM.xPON profile |
+------------+--------------------------------------------------------------------------+
| :mr:`3245` | Fix get_interfaces NSN.TIMOS |
+------------+--------------------------------------------------------------------------+
| :mr:`3298` | fix_get_interfaces - port-channel no has iftype |
+------------+--------------------------------------------------------------------------+
| :mr:`3306` | NSN.TIMOS Fix get_intefaces script |
+------------+--------------------------------------------------------------------------+
| :mr:`3308` | Iscratel.ESCOM fix profile |
+------------+--------------------------------------------------------------------------+
| :mr:`3332` | Iskratel.ESCOM fix lldp neigborg script |
+------------+--------------------------------------------------------------------------+
| :mr:`3495` | noc/noc#1175 Huawei.MA5300.get_version. Add MA5303 to detecting profile. |
+------------+--------------------------------------------------------------------------+
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment