Commit d22ddfbd authored by Klaus Aehlig's avatar Klaus Aehlig

Add an option --maintenance-interval

...that will be used to set the minimal delay time for the maintenance
daemon between rounds.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent 521e45a3
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment