Module: check_mk
Branch: master
Commit: 319de297a03975810fdf46389c39d9f1dbd3f248
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=319de297a03975…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 16 08:41:15 2019 +0200
Cleanup all direct config.all_{configured,active}_{hosts,clusters,realhosts} calls
Change-Id: I7b2b5c3920ae870345cba53f2df7a7821437c7cd
---
cmk_base/automations/check_mk.py | 15 +-
cmk_base/config.py | 194 ++++++++++++------------
cmk_base/core_config.py | 2 +-
cmk_base/core_nagios.py | 7 +-
cmk_base/discovery.py | 10 +-
cmk_base/ip_lookup.py | 2 +-
cmk_base/modes/__init__.py | 8 +-
cmk_base/modes/check_mk.py | 17 ++-
cmk_base/parent_scan.py | 12 +-
cmk_base/snmp.py | 2 +-
tests/integration/cmk_base/test_data_sources.py | 13 +-
tests/unit/cmk_base/test_config.py | 34 +++++
tests/unit/cmk_base/test_rulesets.py | 5 -
13 files changed, 183 insertions(+), 138 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=319de297a0…