summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorReedip <reedip14@gmail.com>2016-12-28 01:45:42 -0500
committerDean Troyer <dtroyer@gmail.com>2017-02-13 15:16:09 +0000
commit6a3c7c2a68dd2aeb8a0a05143de3b14e4beea99d (patch)
tree8557966775e9d0dd2d4484977365dd2b90ffc70c /doc
parent1e3dc48c64304eb378660ceb531aab3d42ac0710 (diff)
downloadpython-openstackclient-6a3c7c2a68dd2aeb8a0a05143de3b14e4beea99d.tar.gz
Overwrite/Clear Flavor property
This patch adds support to overwrite/clear the flavor's property using the new ``--no-property`` option in the ``flavor set`` command. Change-Id: I873c96fcf223bbd638a19b908766d904a84e8431 Implements: blueprint allow-overwrite-set-options Co-Authored By: zhiyong.dai@easystack.cn
Diffstat (limited to 'doc')
-rw-r--r--doc/source/command-objects/flavor.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/command-objects/flavor.rst b/doc/source/command-objects/flavor.rst
index 971628d7..a9f8262e 100644
--- a/doc/source/command-objects/flavor.rst
+++ b/doc/source/command-objects/flavor.rst
@@ -144,6 +144,7 @@ Set flavor properties
.. code:: bash
openstack flavor set
+ [--no-property]
[--property <key=value> [...] ]
[--project <project>]
[--project-domain <project-domain>]
@@ -162,6 +163,11 @@ Set flavor properties
Domain the project belongs to (name or ID).
This can be used in case collisions between project names exist.
+.. option:: --no-property
+
+ Remove all properties from this flavor (specify both --no-property and --property
+ to remove the current properties before setting new properties.)
+
.. describe:: <flavor>
Flavor to modify (name or ID)