diff options
| author | Rui Chen <chenrui.momo@gmail.com> | 2016-04-26 19:34:13 +0800 |
|---|---|---|
| committer | Rui Chen <chenrui.momo@gmail.com> | 2016-09-24 15:59:13 +0800 |
| commit | 63715569160785ffeac05e34b604136440a9f865 (patch) | |
| tree | 1e7521dd17ce5e9dd0a0159704d39b4a609e377e /doc/source/command-objects/aggregate.rst | |
| parent | 2731fc3912aa8392179ca2d870e9daa76e1410e4 (diff) | |
| download | python-openstackclient-63715569160785ffeac05e34b604136440a9f865.tar.gz | |
Support "--no" option in aggregate set
Supporting "--no-property" option will apply user a convenience
way to clean all properties of aggregate in a short command,
and this kind of behavior is the recommended way to devref.
The patch add "--no-property" option in "aggregate set" command,
and update related test cases and devref document.
Change-Id: I7614a23c0db05144562330dc600dbab7d003d5d8
Implements: blueprint support-no-property-in-aggregate
Diffstat (limited to 'doc/source/command-objects/aggregate.rst')
| -rw-r--r-- | doc/source/command-objects/aggregate.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/command-objects/aggregate.rst b/doc/source/command-objects/aggregate.rst index 25c7041a..642942d4 100644 --- a/doc/source/command-objects/aggregate.rst +++ b/doc/source/command-objects/aggregate.rst @@ -116,6 +116,7 @@ Set aggregate properties [--name <new-name>] [--zone <availability-zone>] [--property <key=value> [...] ] + [--no-property] <aggregate> .. option:: --name <name> @@ -131,6 +132,12 @@ Set aggregate properties Property to set on :ref:`\<aggregate\> <aggregate_set-aggregate>` (repeat option to set multiple properties) +.. option:: --no-property + + Remove all properties from :ref:`\<aggregate\> <aggregate_set-aggregate>` + (specify both --property and --no-property to + overwrite the current properties) + .. _aggregate_set-aggregate: .. describe:: <aggregate> |
