Merge "[cli-ref] Update python-senlinclient to 0.4.1"
This commit is contained in:
commit
79a479166f
@ -9,7 +9,7 @@ Clustering service command-line client
|
|||||||
The senlin client is the command-line interface (CLI) for
|
The senlin client is the command-line interface (CLI) for
|
||||||
the Clustering service API and its extensions.
|
the Clustering service API and its extensions.
|
||||||
|
|
||||||
This chapter documents :command:`senlin` version ``0.4.0``.
|
This chapter documents :command:`senlin` version ``0.4.1``.
|
||||||
|
|
||||||
For help on a specific :command:`senlin` command, enter:
|
For help on a specific :command:`senlin` command, enter:
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ senlin usage
|
|||||||
[--os-api-name <service>=<name>]
|
[--os-api-name <service>=<name>]
|
||||||
[--os-api-region <service>=<region>]
|
[--os-api-region <service>=<region>]
|
||||||
[--os-api-version <service>=<version>]
|
[--os-api-version <service>=<version>]
|
||||||
[--os-api-interface <service>=<interface>] [--profile HMAC_KEY]
|
[--os-api-interface <service>=<interface>]
|
||||||
<subcommand> ...
|
<subcommand> ...
|
||||||
|
|
||||||
**Subcommands:**
|
**Subcommands:**
|
||||||
@ -55,6 +55,9 @@ senlin usage
|
|||||||
``build-info``
|
``build-info``
|
||||||
Retrieve build information.
|
Retrieve build information.
|
||||||
|
|
||||||
|
``cluster-check``
|
||||||
|
Check the cluster(s).
|
||||||
|
|
||||||
``cluster-create``
|
``cluster-create``
|
||||||
Create the cluster.
|
Create the cluster.
|
||||||
|
|
||||||
@ -89,6 +92,9 @@ senlin usage
|
|||||||
``cluster-policy-update``
|
``cluster-policy-update``
|
||||||
Update a policy's properties on a cluster.
|
Update a policy's properties on a cluster.
|
||||||
|
|
||||||
|
``cluster-recover``
|
||||||
|
Recover the cluster(s).
|
||||||
|
|
||||||
``cluster-resize``
|
``cluster-resize``
|
||||||
Resize a cluster.
|
Resize a cluster.
|
||||||
|
|
||||||
@ -110,6 +116,9 @@ senlin usage
|
|||||||
``event-show``
|
``event-show``
|
||||||
Describe the event.
|
Describe the event.
|
||||||
|
|
||||||
|
``node-check``
|
||||||
|
Check the node(s).
|
||||||
|
|
||||||
``node-create``
|
``node-create``
|
||||||
Create the node.
|
Create the node.
|
||||||
|
|
||||||
@ -119,6 +128,9 @@ senlin usage
|
|||||||
``node-list``
|
``node-list``
|
||||||
Show list of nodes.
|
Show list of nodes.
|
||||||
|
|
||||||
|
``node-recover``
|
||||||
|
Recover the node(s).
|
||||||
|
|
||||||
``node-show``
|
``node-show``
|
||||||
Show detailed info about the specified node.
|
Show detailed info about the specified node.
|
||||||
|
|
||||||
@ -294,15 +306,6 @@ senlin optional arguments
|
|||||||
``--os-api-interface <service>=<interface>``
|
``--os-api-interface <service>=<interface>``
|
||||||
Desired API interface, defaults to ``env[OS_INTERFACE]``
|
Desired API interface, defaults to ``env[OS_INTERFACE]``
|
||||||
|
|
||||||
``--profile HMAC_KEY``
|
|
||||||
HMAC key to use for encrypting context data for
|
|
||||||
performance profiling of operation. This key should be
|
|
||||||
the value of HMAC key configured in osprofiler
|
|
||||||
middleware in senlin, it is specified in the paste
|
|
||||||
deploy configuration (/etc/senlin/api-paste.ini).
|
|
||||||
Without the key, profiling will not be triggered even
|
|
||||||
if osprofiler is enabled on server side.
|
|
||||||
|
|
||||||
.. _senlin_action-list:
|
.. _senlin_action-list:
|
||||||
|
|
||||||
senlin action-list
|
senlin action-list
|
||||||
@ -365,6 +368,22 @@ senlin build-info
|
|||||||
Retrieve build information. :param sc: Instance of senlinclient. :param args:
|
Retrieve build information. :param sc: Instance of senlinclient. :param args:
|
||||||
Additional command line arguments, if any.
|
Additional command line arguments, if any.
|
||||||
|
|
||||||
|
.. _senlin_cluster-check:
|
||||||
|
|
||||||
|
senlin cluster-check
|
||||||
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
usage: senlin cluster-check <CLUSTER> [<CLUSTER> ...]
|
||||||
|
|
||||||
|
Check the cluster(s).
|
||||||
|
|
||||||
|
**Positional arguments:**
|
||||||
|
|
||||||
|
``<CLUSTER>``
|
||||||
|
ID or name of cluster(s) to operate on.
|
||||||
|
|
||||||
.. _senlin_cluster-create:
|
.. _senlin_cluster-create:
|
||||||
|
|
||||||
senlin cluster-create
|
senlin cluster-create
|
||||||
@ -665,6 +684,22 @@ Update a policy's properties on a cluster.
|
|||||||
``-e <BOOLEAN>, --enabled <BOOLEAN>``
|
``-e <BOOLEAN>, --enabled <BOOLEAN>``
|
||||||
Whether the policy should be enabled.
|
Whether the policy should be enabled.
|
||||||
|
|
||||||
|
.. _senlin_cluster-recover:
|
||||||
|
|
||||||
|
senlin cluster-recover
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
usage: senlin cluster-recover <CLUSTER> [<CLUSTER> ...]
|
||||||
|
|
||||||
|
Recover the cluster(s).
|
||||||
|
|
||||||
|
**Positional arguments:**
|
||||||
|
|
||||||
|
``<CLUSTER>``
|
||||||
|
ID or name of cluster(s) to operate on.
|
||||||
|
|
||||||
.. _senlin_cluster-resize:
|
.. _senlin_cluster-resize:
|
||||||
|
|
||||||
senlin cluster-resize
|
senlin cluster-resize
|
||||||
@ -862,6 +897,22 @@ Describe the event.
|
|||||||
``<EVENT>``
|
``<EVENT>``
|
||||||
ID of event to display details for.
|
ID of event to display details for.
|
||||||
|
|
||||||
|
.. _senlin_node-check:
|
||||||
|
|
||||||
|
senlin node-check
|
||||||
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
usage: senlin node-check <NODE> [<NODE> ...]
|
||||||
|
|
||||||
|
Check the node(s).
|
||||||
|
|
||||||
|
**Positional arguments:**
|
||||||
|
|
||||||
|
``<NODE>``
|
||||||
|
ID of node(s) to check.
|
||||||
|
|
||||||
.. _senlin_node-create:
|
.. _senlin_node-create:
|
||||||
|
|
||||||
senlin node-create
|
senlin node-create
|
||||||
@ -954,6 +1005,22 @@ Show list of nodes.
|
|||||||
``-F, --full-id``
|
``-F, --full-id``
|
||||||
Print full IDs in list.
|
Print full IDs in list.
|
||||||
|
|
||||||
|
.. _senlin_node-recover:
|
||||||
|
|
||||||
|
senlin node-recover
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
usage: senlin node-recover <NODE> [<NODE> ...]
|
||||||
|
|
||||||
|
Recover the node(s).
|
||||||
|
|
||||||
|
**Positional arguments:**
|
||||||
|
|
||||||
|
``<NODE>``
|
||||||
|
ID of node(s) to recover.
|
||||||
|
|
||||||
.. _senlin_node-show:
|
.. _senlin_node-show:
|
||||||
|
|
||||||
senlin node-show
|
senlin node-show
|
||||||
|
Loading…
Reference in New Issue
Block a user