Module: check_mk
Branch: master
Commit: 46986b6dc8688772f2ae7a9f6870ae140fcd3e01
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=46986b6dc86887…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 21 10:51:38 2019 +0100
Refactored SNMP access_data to SNMPHostConfig named tuple
Change-Id: I7d990d57f99dde0ddac95360ce6c7c8b84aa2a01
---
cmk_base/automations/check_mk.py | 25 ++---
cmk_base/classic_snmp.py | 76 +++++++-------
cmk_base/data_sources/snmp.py | 21 ++--
cmk_base/inventory.py | 4 +-
cmk_base/snmp.py | 141 ++++++++++++--------------
cmk_base/snmp_scan.py | 26 +++--
cmk_base/snmp_utils.py | 22 ++++
tests/integration/cmk_base/snmp/test_snmp.py | 132 ++++++++++++------------
tests/unit/cmk_base/snmp/test_classic_snmp.py | 55 +++++-----
9 files changed, 260 insertions(+), 242 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=46986b6dc8…