Module: check_mk
Branch: master
Commit: 0ea33c707cd57c12c0acf3c8f77a7a59e367b199
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0ea33c707cd57c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Dec 1 22:23:27 2018 +0100
Prepare for splitting up check_parameters.py by check groups
* The very large check_parameters.py is a problem for the check development
workflow. On one hand it slows down editor features and on the other
it complicates building MKP packages of individual developments.
* Each checkgroup parameters should now be put to a dedicated module in
cmk.gui.plugins.wato.check_parameters.
* The existing rules and parameters have been moved to the unsorted.py
file. These will be moved to dedicated files soon.
CMK-1302
Change-Id: I054e138e53152aaf982f2d3ae6d312d9fcd3284a
---
cmk/gui/plugins/wato/__init__.py | 2 +
cmk/gui/plugins/wato/check_parameters/__init__.py | 28 +++++
.../wato/check_parameters/brocade_optical.py | 58 +++++++++
.../wato/check_parameters/fortinet_signatures.py | 76 ++++++++++++
.../wato/check_parameters/huawei_osn_laser.py | 65 ++++++++++
cmk/gui/plugins/wato/check_parameters/mtr.py | 90 ++++++++++++++
.../wato/check_parameters/palo_alto_sessions.py | 53 ++++++++
.../unsorted.py} | 137 ---------------------
.../cmk/gui/plugins/wato/test_check_parameters.py | 4 +-
tests/unit/cmk/gui/test_watolib.py | 16 +--
10 files changed, 382 insertions(+), 147 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=0ea33c707c…