From 6a3c7c2a68dd2aeb8a0a05143de3b14e4beea99d Mon Sep 17 00:00:00 2001 From: Reedip Date: Wed, 28 Dec 2016 01:45:42 -0500 Subject: 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 --- doc/source/command-objects/flavor.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/source/command-objects') 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 [...] ] [--project ] [--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 to modify (name or ID) -- cgit v1.2.1