diff options
| author | jichenjc <jichenjc@cn.ibm.com> | 2016-02-22 13:38:44 +0800 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2016-03-09 05:19:41 +0000 |
| commit | b711c3a0ca622389b7f41021eb8ecd5d633b81d7 (patch) | |
| tree | bfc1c8c18ab4d58e91c3a4c9bc78614269ce269a /doc/source/command-objects | |
| parent | f9add0559c52bf3d0866cfbd320982c5143f6ef6 (diff) | |
| download | python-openstackclient-b711c3a0ca622389b7f41021eb8ecd5d633b81d7.tar.gz | |
Add --reason for disable service
disbale service allow a reason to be input as disable reason.
This patch add support for it.
Change-Id: I59622c3970e055ebd46bf03c33c864b6d064db28
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/compute-service.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/source/command-objects/compute-service.rst b/doc/source/command-objects/compute-service.rst index 7bcab4d6..25a133d9 100644 --- a/doc/source/command-objects/compute-service.rst +++ b/doc/source/command-objects/compute-service.rst @@ -50,19 +50,24 @@ Set service command .. program:: compute service set .. code:: bash - os compute service list + os compute service set [--enable | --disable] + [--disable-reason <reason>] <host> <service> .. _compute-service-set: -.. describe:: --enable +.. option:: --enable Enable service (default) -.. describe:: --disable +.. option:: --disable Disable service +.. option:: --disable-reason <reason> + + Reason for disabling the service (in quotes) + .. describe:: <host> Name of host |
