Fix user document bindings.rst policy attach specify status

Change-Id: I1df3637d092432a87013fdd0f415540192fcb7a9
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This commit is contained in:
Yuanbin.Chen 2018-02-05 15:30:56 +08:00
parent b9161e5f38
commit 72026cc269
1 changed files with 4 additions and 2 deletions

View File

@ -96,9 +96,11 @@ The following options are supported for the command
once attached.
For example, the following command attaches a policy named ``up01`` to the
cluster ``c3``, with its enabled status set to ``True``::
cluster ``c3``, When a policy is attached to a cluster, it is enabled by
default. To keep it disabled, the user can use the parameter ``--enabled False``.
For example::
$ openstack cluster policy attach --enabled True --policy up01 c3
$ openstack cluster policy attach --policy up01 --enabled False c3
Note that most of the time, Senlin doesn't allow more than one policy of the
same type to be attached to the same cluster. This restriction is relaxed for