Revision 7ea7bcf6 scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
807 | 807 |
|
808 | 808 |
op = opcodes.OpReplaceDisks(instance_name=args[0], disks=disks, |
809 | 809 |
remote_node=new_2ndary, mode=mode, |
810 |
iallocator=iallocator) |
|
810 |
iallocator=iallocator, |
|
811 |
early_release=opts.early_release) |
|
811 | 812 |
SubmitOrSend(op, opts) |
812 | 813 |
return 0 |
813 | 814 |
|
... | ... | |
1400 | 1401 |
"<instance> <new_name>", "Rename the instance"), |
1401 | 1402 |
'replace-disks': ( |
1402 | 1403 |
ReplaceDisks, ARGS_ONE_INSTANCE, |
1403 |
[AUTO_REPLACE_OPT, DISKIDX_OPT, IALLOCATOR_OPT, |
|
1404 |
[AUTO_REPLACE_OPT, DISKIDX_OPT, IALLOCATOR_OPT, EARLY_RELEASE_OPT,
|
|
1404 | 1405 |
NEW_SECONDARY_OPT, ON_PRIMARY_OPT, ON_SECONDARY_OPT, SUBMIT_OPT], |
1405 | 1406 |
"[-s|-p|-n NODE|-I NAME] <instance>", |
1406 | 1407 |
"Replaces all disks for the instance"), |
Also available in: Unified diff