Module: check_mk
Branch: master
Commit: 951e6e5bd0bbd41236079109b164b1fc2d14b30d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=951e6e5bd0bbd4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Nov 21 09:41:23 2017 +0100
Moved functions to better places
* Now that the data structure is getting clearer the main function
for gathering the data of a host get_host_sections() can be
moved to the DataSources() object.
* Moved get_section_content_for_check() that prepares the section_content
for a check/inventory plugin to MultiHostSections() object.
Change-Id: I068be0c614c5087200f19b920fad6a5d207088b4
---
cmk_base/checking.py | 10 +-
cmk_base/data_sources/__init__.py | 275 +++++++--------------------------
cmk_base/data_sources/host_sections.py | 181 ++++++++++++++++++++++
cmk_base/discovery.py | 8 +-
cmk_base/inventory.py | 6 +-
5 files changed, 246 insertions(+), 234 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=951e6e5bd0…