From 014835930d50130a2efca0786920876efc60a8eb Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Wed, 15 Jun 2016 13:34:15 +0800 Subject: Add "--project" option to the "flavor create" command. Add ``--project`` and ``--project-domain`` options to the ``flavor create`` command. We can use these options to add the flavor access to a givin project when we create the flavor. Change-Id: Ic1907272c1d1ae526f9c9e86f32ba06c6da147c0 --- doc/source/command-objects/flavor.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/flavor.rst b/doc/source/command-objects/flavor.rst index a30bedec..11efaa6f 100644 --- a/doc/source/command-objects/flavor.rst +++ b/doc/source/command-objects/flavor.rst @@ -21,6 +21,8 @@ Create new flavor [--vcpus ] [--rxtx-factor ] [--public | --private] + [--project ] + [--project-domain ] .. option:: --id @@ -59,6 +61,16 @@ Create new flavor Flavor is not available to other projects +.. option:: --project + + Allow to access private flavor (name or ID) + (Must be used with :option:`--private` option) + +.. option:: --project-domain + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + .. _flavor_create-flavor-name: .. describe:: -- cgit v1.2.1