From 63715569160785ffeac05e34b604136440a9f865 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 26 Apr 2016 19:34:13 +0800 Subject: 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 --- doc/source/command-objects/aggregate.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--zone ] [--property [...] ] + [--no-property] .. option:: --name @@ -131,6 +132,12 @@ Set aggregate properties Property to set on :ref:`\ ` (repeat option to set multiple properties) +.. option:: --no-property + + Remove all properties from :ref:`\ ` + (specify both --property and --no-property to + overwrite the current properties) + .. _aggregate_set-aggregate: .. describe:: -- cgit v1.2.1