On Tue, Jul 14, 2015 at 05:59:26PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
...that will be used to set the minimal delay time for the maintenance
daemon between rounds.
Signed-off-by: Klaus Aehlig <[email protected]>
---
lib/cli_opts.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/cli_opts.py b/lib/cli_opts.py
index a6126e9..c0bd234 100644
--- a/lib/cli_opts.py
+++ b/lib/cli_opts.py
@@ -135,6 +135,7 @@ __all__ = [
"IPOLICY_VCPU_RATIO",
"LONG_SLEEP_OPT",
"MAC_PREFIX_OPT",
+ "MAINT_INTERVAL_OPT",
"MAINTAIN_NODE_HEALTH_OPT",
"MASTER_NETDEV_OPT",
"MASTER_NETMASK_OPT",
@@ -1096,6 +1097,11 @@ COMPRESSION_TOOLS_OPT = \
help="Comma-separated list of compression tools which are"
" allowed to be used by Ganeti in various operations")
+MAINT_INTERVAL_OPT = \
+ cli_option("--maintenance-interval", dest="maint_round_delay", type="int",
+ default=None, help="Minimal time in seconds, the maintenance"
+ " daemon waits between rounds")
+
VG_NAME_OPT = cli_option("--vg-name", dest="vg_name",
help=("Enables LVM and specifies the volume group"
" name (cluster-wide) for disk allocation"
--
2.4.3.573.g4eafbef
LGTM