for data diagnose collector
Signed-off-by: BSRK Aditya <[email protected]>
---
lib/cli_opts.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/lib/cli_opts.py b/lib/cli_opts.py
index 00d722b..231f9de 100644
--- a/lib/cli_opts.py
+++ b/lib/cli_opts.py
@@ -82,6 +82,7 @@ __all__ = [
"DST_NODE_OPT",
"EARLY_RELEASE_OPT",
"ENABLED_DATA_COLLECTORS_OPT",
+ "DIAGNOSE_DATA_COLLECTOR_FILENAME_OPT",
"ENABLED_DISK_TEMPLATES_OPT",
"ENABLED_HV_OPT",
"ENABLED_USER_SHUTDOWN_OPT",
@@ -1602,6 +1603,17 @@ ENABLED_DATA_COLLECTORS_OPT = \
"in the format collector=bool, where collector is one of %s."
% ", ".join(constants.DATA_COLLECTOR_NAMES))
+DIAGNOSE_DATA_COLLECTOR_FILENAME_OPT = \
+ cli_option("--diagnose-data-collector-filename",
+ dest="diagnose_data_collector_filename",
+ help=("Set's the file name of the script"
+ " diagnose data collector should run"
+ " If this value is empty string, the collector"
+ " will return a success value"
+ " without running anything"),
+ type="string")
+
+
VERIFY_CLUTTER_OPT = cli_option(
"--verify-ssh-clutter", default=False, dest="verify_clutter",
help="Verify that Ganeti did not clutter"
--
1.7.10.4