Commit 2039321f authored by Klaus Aehlig's avatar Klaus Aehlig

Add an option --force-failover

...to be added to gnt-group evacuate forcing evacuation by
means for failovers instead of migrations.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
parent 8ddee5b6
......@@ -87,6 +87,7 @@ __all__ = [
"FIELDS_OPT",
"FILESTORE_DIR_OPT",
"FILESTORE_DRIVER_OPT",
"FORCE_FAILOVER_OPT",
"FORCE_FILTER_OPT",
"FORCE_OPT",
"FORCE_VARIANT_OPT",
......@@ -1058,6 +1059,12 @@ ALLOW_FAILOVER_OPT = cli_option("--allow-failover",
help="If migration is not possible fallback to"
" failover")
FORCE_FAILOVER_OPT = cli_option("--force-failover",
dest="force_failover",
action="store_true", default=False,
help="Do not use migration, always use"
" failover")
NONLIVE_OPT = cli_option("--non-live", dest="live",
default=True, action="store_false",
help="Do a non-live migration (this usually means"
......
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