Revision e71b9ef4 lib/cli.py

b/lib/cli.py
87 87
  "MAINTAIN_NODE_HEALTH_OPT",
88 88
  "MASTER_NETDEV_OPT",
89 89
  "MC_OPT",
90
  "MIGRATION_TYPE_OPT",
90 91
  "NET_OPT",
91 92
  "NEW_CLUSTER_CERT_OPT",
92 93
  "NEW_CLUSTER_DOMAIN_SECRET_OPT",
......
698 699
                         " freeze the instance, save the state, transfer and"
699 700
                         " only then resume running on the secondary node)")
700 701

  
702
MIGRATION_TYPE_OPT = cli_option("--migration-type", dest="migration_type",
703
                                default=None,
704
                                choices=list(constants.HT_MIGRATION_TYPES),
705
                                help="Override default migration type (choose"
706
                                " either live or non-live")
707

  
701 708
NODE_PLACEMENT_OPT = cli_option("-n", "--node", dest="node",
702 709
                                help="Target node and optional secondary node",
703 710
                                metavar="<pnode>[:<snode>]",

Also available in: Unified diff