Commit d307d38c authored by Bernardo Dal Seno's avatar Bernardo Dal Seno

Document all --ipolicy-... options

They were missing from the man pages.
Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent bbfa259c
...@@ -184,6 +184,8 @@ INIT ...@@ -184,6 +184,8 @@ INIT
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--ipolicy-spindle-ratio *ratio*]
| [\--ipolicy-vcpu-ratio *ratio*]
| [\--disk-state *diskstate*] | [\--disk-state *diskstate*]
| [\--hypervisor-state *hvstate*] | [\--hypervisor-state *hvstate*]
| [\--enabled-disk-templates *template* [,*template*...]] | [\--enabled-disk-templates *template* [,*template*...]]
...@@ -489,13 +491,16 @@ The ``-C (--candidate-pool-size)`` option specifies the ...@@ -489,13 +491,16 @@ The ``-C (--candidate-pool-size)`` option specifies the
that the master will try to keep as master\_candidates. For more that the master will try to keep as master\_candidates. For more
details about this role and other node roles, see the **ganeti**\(7). details about this role and other node roles, see the **ganeti**\(7).
The ``--specs-...`` and ``--ipolicy-disk-templates`` options specify The ``--specs-...`` and ``--ipolicy-...`` options specify the instance
instance policy on the cluster. For the ``--specs-...`` options, each policy on the cluster. For the ``--specs-...`` options, each option can
option can have three values: ``min``, ``max`` and ``std``, which can have three values: ``min``, ``max`` and ``std``, which can also be
also be modified on group level (except for ``std``, which is defined modified on group level (except for ``std``, which is defined once for
once for the entire cluster). Please note, that ``std`` values are not the entire cluster). Please note, that ``std`` values are not the same
the same as defaults set by ``--beparams``, but they are used for the as defaults set by ``--beparams``, but they are used for the capacity
capacity calculations. The ``--ipolicy-disk-templates`` option takes a calculations.
The ``--ipolicy-disk-templates`` and ``--ipolicy-spindle-ratio`` options
take a decimal number. The ``--ipolicy-disk-templates`` option takes a
comma-separated list of disk templates. comma-separated list of disk templates.
- ``--specs-cpu-count`` limits the number of VCPUs that can be used by an - ``--specs-cpu-count`` limits the number of VCPUs that can be used by an
...@@ -505,6 +510,8 @@ comma-separated list of disk templates. ...@@ -505,6 +510,8 @@ comma-separated list of disk templates.
- ``--specs-mem-size`` limits the amount of memory available - ``--specs-mem-size`` limits the amount of memory available
- ``--specs-nic-count`` sets limits on the number of NICs used - ``--specs-nic-count`` sets limits on the number of NICs used
- ``--ipolicy-disk-templates`` limits the allowed disk templates - ``--ipolicy-disk-templates`` limits the allowed disk templates
- ``--ipolicy-spindle-ratio`` limits the instances-spindles ratio
- ``--ipolicy-vcpu-ratio`` limits the vcpu-cpu ratio
For details about how to use ``--hypervisor-state`` and ``--disk-state`` For details about how to use ``--hypervisor-state`` and ``--disk-state``
have a look at **ganeti**\(7). have a look at **ganeti**\(7).
...@@ -583,6 +590,8 @@ MODIFY ...@@ -583,6 +590,8 @@ MODIFY
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--ipolicy-spindle-ratio *ratio*]
| [\--ipolicy-vcpu-ratio *ratio*]
| [\--enabled-disk-templates *template* [,*template*...]] | [\--enabled-disk-templates *template* [,*template*...]]
...@@ -620,8 +629,8 @@ The ``-I (--default-iallocator)`` is described in the **init** ...@@ -620,8 +629,8 @@ The ``-I (--default-iallocator)`` is described in the **init**
command. To clear the default iallocator, just pass an empty string command. To clear the default iallocator, just pass an empty string
(''). ('').
The ``--specs-...`` and ``--ipolicy-disk-templates`` options are The ``--specs-...`` and ``--ipolicy-...`` options are described in the
described in the **init** command. **init** command.
See **ganeti**\(7) for a description of ``--submit`` and other common See **ganeti**\(7) for a description of ``--submit`` and other common
options. options.
......
...@@ -33,6 +33,8 @@ ADD ...@@ -33,6 +33,8 @@ ADD
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--ipolicy-spindle-ratio *ratio*]
| [\--ipolicy-vcpu-ratio *ratio*]
| [\--disk-state *diskstate*] | [\--disk-state *diskstate*]
| [\--hypervisor-state *hvstate*] | [\--hypervisor-state *hvstate*]
| {*group*} | {*group*}
...@@ -67,8 +69,8 @@ parameters for the node group; please see the section about ...@@ -67,8 +69,8 @@ parameters for the node group; please see the section about
**gnt-cluster add** in **gnt-cluster**\(8) for more information about **gnt-cluster add** in **gnt-cluster**\(8) for more information about
disk parameters disk parameters
The ``--specs-...`` and ``--ipolicy-disk-templates`` options specify The ``--specs-...`` and ``--ipolicy-...`` options specify instance
instance policies on the node group, and are documented in the policies on the node group, and are documented in the
**gnt-cluster**\(8) man page. **gnt-cluster**\(8) man page.
See **ganeti**\(7) for a description of ``--submit`` and other common See **ganeti**\(7) for a description of ``--submit`` and other common
...@@ -108,6 +110,8 @@ MODIFY ...@@ -108,6 +110,8 @@ MODIFY
| [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-mem-size *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]] | [\--specs-nic-count *spec-param*=*value* [,*spec-param*=*value*...]]
| [\--ipolicy-disk-templates *template* [,*template*...]] | [\--ipolicy-disk-templates *template* [,*template*...]]
| [\--ipolicy-spindle-ratio *ratio*]
| [\--ipolicy-vcpu-ratio *ratio*]
| {*group*} | {*group*}
Modifies some parameters from the node group. Modifies some parameters from the node group.
...@@ -120,8 +124,8 @@ The ``--node-parameters``, ``--alloc-policy``, ``-D ...@@ -120,8 +124,8 @@ The ``--node-parameters``, ``--alloc-policy``, ``-D
(--disk-parameters)`` options are documented in the **add** command (--disk-parameters)`` options are documented in the **add** command
above. above.
The ``--specs-...`` and ``--ipolicy-disk-templates`` options specify The ``--specs-...`` and ``--ipolicy-...`` options specify instance
instance policies on the node group, and are documented in the policies on the node group, and are documented in the
**gnt-cluster**\(8) man page. **gnt-cluster**\(8) man page.
See **ganeti**\(7) for a description of ``--submit`` and other common See **ganeti**\(7) for a description of ``--submit`` and other common
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment