On Thu, Oct 02, 2014 at 10:11:42AM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
This option will be used to tell Ganeti to not error out if a
migration between nodes with incompatible hypervisor versions
is attempted.

Signed-off-by: Klaus Aehlig <[email protected]>
---
lib/cli.py | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/lib/cli.py b/lib/cli.py
index f7a4b0a..5d0a10a 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -124,6 +124,7 @@ __all__ = [
  "IGNORE_CONSIST_OPT",
  "IGNORE_ERRORS_OPT",
  "IGNORE_FAILURES_OPT",
+  "IGNORE_HVVERSIONS_OPT",
  "IGNORE_OFFLINE_OPT",
  "IGNORE_REMOVE_FAILURES_OPT",
  "IGNORE_SECONDARIES_OPT",
@@ -1129,6 +1130,12 @@ IGNORE_CONSIST_OPT = cli_option("--ignore-consistency",
                                help="Ignore the consistency of the disks on"
                                " the secondary")

+IGNORE_HVVERSIONS_OPT = cli_option("--ignore-hvversions",
+                                   dest="ignore_hvversions",
+                                   action="store_true", default=False,
+                                   help="Ignore imcompatible hypervisor"
+                                   " versions between source and target")
+
ALLOW_FAILOVER_OPT = cli_option("--allow-failover",
                                dest="allow_failover",
                                action="store_true", default=False,
--
2.1.0.rc2.206.gedb03e5


LGTM

Reply via email to