Revision b6aaf437 lib/client/gnt_instance.py
b/lib/client/gnt_instance.py | ||
---|---|---|
791 | 791 |
ignore_consistency=opts.ignore_consistency, |
792 | 792 |
shutdown_timeout=opts.shutdown_timeout, |
793 | 793 |
iallocator=iallocator, |
794 |
target_node=target_node) |
|
794 |
target_node=target_node, |
|
795 |
ignore_ipolicy=opts.ignore_ipolicy) |
|
795 | 796 |
SubmitOrSend(op, opts, cl=cl) |
796 | 797 |
return 0 |
797 | 798 |
|
... | ... | |
1436 | 1437 |
"failover": ( |
1437 | 1438 |
FailoverInstance, ARGS_ONE_INSTANCE, |
1438 | 1439 |
[FORCE_OPT, IGNORE_CONSIST_OPT, SUBMIT_OPT, SHUTDOWN_TIMEOUT_OPT, |
1439 |
DRY_RUN_OPT, PRIORITY_OPT, DST_NODE_OPT, IALLOCATOR_OPT], |
|
1440 |
DRY_RUN_OPT, PRIORITY_OPT, DST_NODE_OPT, IALLOCATOR_OPT, |
|
1441 |
IGNORE_IPOLICY_OPT], |
|
1440 | 1442 |
"[-f] <instance>", "Stops the instance, changes its primary node and" |
1441 | 1443 |
" (if it was originally running) starts it on the new node" |
1442 | 1444 |
" (the secondary for mirrored instances or any node" |
Also available in: Unified diff