Skip to content
Snippets Groups Projects
Commit 745dae57 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

gnt-cluster modify: Add "--submit" option


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent f5c0c206
No related branches found
No related tags found
No related merge requests found
...@@ -1069,7 +1069,7 @@ def SetClusterParams(opts, args): ...@@ -1069,7 +1069,7 @@ def SetClusterParams(opts, args):
hv_state=hv_state, hv_state=hv_state,
disk_state=disk_state, disk_state=disk_state,
) )
SubmitOpCode(op, opts=opts) SubmitOrSend(op, opts)
return 0 return 0
...@@ -1550,7 +1550,7 @@ commands = { ...@@ -1550,7 +1550,7 @@ commands = {
DRBD_HELPER_OPT, NODRBD_STORAGE_OPT, DEFAULT_IALLOCATOR_OPT, DRBD_HELPER_OPT, NODRBD_STORAGE_OPT, DEFAULT_IALLOCATOR_OPT,
RESERVED_LVS_OPT, DRY_RUN_OPT, PRIORITY_OPT, PREALLOC_WIPE_DISKS_OPT, RESERVED_LVS_OPT, DRY_RUN_OPT, PRIORITY_OPT, PREALLOC_WIPE_DISKS_OPT,
NODE_PARAMS_OPT, USE_EXTERNAL_MIP_SCRIPT, DISK_PARAMS_OPT, HV_STATE_OPT, NODE_PARAMS_OPT, USE_EXTERNAL_MIP_SCRIPT, DISK_PARAMS_OPT, HV_STATE_OPT,
DISK_STATE_OPT] + DISK_STATE_OPT, SUBMIT_OPT] +
INSTANCE_POLICY_OPTS, INSTANCE_POLICY_OPTS,
"[opts...]", "[opts...]",
"Alters the parameters of the cluster"), "Alters the parameters of the cluster"),
......
...@@ -554,7 +554,7 @@ be 1. ...@@ -554,7 +554,7 @@ be 1.
MODIFY MODIFY
~~~~~~ ~~~~~~
| **modify** | **modify** [\--submit]
| [\--vg-name *vg-name*] | [\--vg-name *vg-name*]
| [\--no-lvm-storage] | [\--no-lvm-storage]
| [\--enabled-hypervisors *hypervisors*] | [\--enabled-hypervisors *hypervisors*]
...@@ -596,7 +596,7 @@ The ``--vg-name``, ``--no-lvm-storarge``, ``--enabled-hypervisors``, ...@@ -596,7 +596,7 @@ The ``--vg-name``, ``--no-lvm-storarge``, ``--enabled-hypervisors``,
command. command.
The ``--hypervisor-state`` and ``--disk-state`` options are described in The ``--hypervisor-state`` and ``--disk-state`` options are described in
detail in **ganeti**(7). detail in **ganeti(7)**.
The ``--add-uids`` and ``--remove-uids`` options can be used to The ``--add-uids`` and ``--remove-uids`` options can be used to
modify the user-id pool by adding/removing a list of user-ids or modify the user-id pool by adding/removing a list of user-ids or
...@@ -621,6 +621,9 @@ command. To clear the default iallocator, just pass an empty string ...@@ -621,6 +621,9 @@ command. To clear the default iallocator, just pass an empty string
The ``--specs-...`` and ``--ipol-disk-templates`` options are described The ``--specs-...`` and ``--ipol-disk-templates`` options are described
in the **init** command. in the **init** command.
See **ganeti(7)** for a description of ``--submit`` and other common
options.
QUEUE QUEUE
~~~~~ ~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment