summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorsunyajing <yajing.sun@easystack.cn>2016-06-13 10:37:10 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-11 18:07:34 +0800
commit25bdf6811c71413921777cad73b6d039444600ff (patch)
treeb38ab497ca95a987543d88d6e387d0988302b1cb /doc/source/command-objects
parent4b61efe3f9f6158c6062ff3c56bb5116b7f08d87 (diff)
downloadpython-openstackclient-25bdf6811c71413921777cad73b6d039444600ff.tar.gz
Modify compute agent set command
Migrate ``compute agent set`` arguments: version, url, md5hash to be optional. BackwardsIncompatibleImpact Change-Id: I092b7ed24274bafa548f0537c4586504be3a2825 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/compute-agent.rst21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/source/command-objects/compute-agent.rst b/doc/source/command-objects/compute-agent.rst
index ae057dc9..56294770 100644
--- a/doc/source/command-objects/compute-agent.rst
+++ b/doc/source/command-objects/compute-agent.rst
@@ -80,21 +80,24 @@ Set compute agent properties
.. code:: bash
os compute agent set
- <id> <version> <url> <md5hash>
+ [--agent-version <version>]
+ [--url <url]
+ [--md5hash <md5hash>]
+ <id>
.. _compute_agent-set:
-.. describe:: <id>
+.. option:: --agent-version <version>
- ID of the agent
+ Version of the agent
-.. describe:: <version>
+.. option:: --url <url>
- Version of the agent
+ URL of the agent
-.. describe:: <url>
+.. option:: --md5hash <md5hash>
- URL
+ MD5 hash of the agent
-.. describe:: <md5hash>
+.. describe:: <id>
- MD5 hash
+ Agent to modify (ID only)