Revision e9c487be lib/client/gnt_instance.py
b/lib/client/gnt_instance.py | ||
---|---|---|
829 | 829 |
|
830 | 830 |
op = opcodes.OpInstanceMigrate(instance_name=instance_name, mode=mode, |
831 | 831 |
cleanup=opts.cleanup, iallocator=iallocator, |
832 |
target_node=target_node) |
|
832 |
target_node=target_node, |
|
833 |
allow_failover=opts.allow_failover) |
|
833 | 834 |
SubmitOpCode(op, cl=cl, opts=opts) |
834 | 835 |
return 0 |
835 | 836 |
|
... | ... | |
1365 | 1366 |
'migrate': ( |
1366 | 1367 |
MigrateInstance, ARGS_ONE_INSTANCE, |
1367 | 1368 |
[FORCE_OPT, NONLIVE_OPT, MIGRATION_MODE_OPT, CLEANUP_OPT, DRY_RUN_OPT, |
1368 |
PRIORITY_OPT, DST_NODE_OPT, IALLOCATOR_OPT], |
|
1369 |
PRIORITY_OPT, DST_NODE_OPT, IALLOCATOR_OPT, ALLOW_FAILOVER_OPT],
|
|
1369 | 1370 |
"[-f] <instance>", "Migrate instance to its secondary node" |
1370 | 1371 |
" (only for mirrored instances)"), |
1371 | 1372 |
'move': ( |
Also available in: Unified diff