Revision 783a6c0b lib/cli.py

b/lib/cli.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
87 87
  "MAINTAIN_NODE_HEALTH_OPT",
88 88
  "MASTER_NETDEV_OPT",
89 89
  "MC_OPT",
90
  "MIGRATION_TYPE_OPT",
90
  "MIGRATION_MODE_OPT",
91 91
  "NET_OPT",
92 92
  "NEW_CLUSTER_CERT_OPT",
93 93
  "NEW_CLUSTER_DOMAIN_SECRET_OPT",
......
699 699
                         " freeze the instance, save the state, transfer and"
700 700
                         " only then resume running on the secondary node)")
701 701

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

  
708 708
NODE_PLACEMENT_OPT = cli_option("-n", "--node", dest="node",

Also available in: Unified diff