From 7bb459837bf8023cbc71cbf41007f8aa4c4725fb Mon Sep 17 00:00:00 2001 From: chengkunye Date: Thu, 16 Jul 2015 17:32:42 +0800 Subject: add image member commands for image API This commit adds the following commands: image project add image project remove Closes-Bug: 1402420 Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b --- doc/source/command-objects/image.rst | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst index 824d4930..c4b24233 100644 --- a/doc/source/command-objects/image.rst +++ b/doc/source/command-objects/image.rst @@ -322,3 +322,57 @@ Display image details .. describe:: Image to display (name or ID) + +image add project +----------------- + +*Only supported for Image v2* + +Associate project with image + +.. progran:: image add project +.. code:: bash + + os image add project + [--project-domain ] + + +.. option:: --project-domain + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + +.. describe:: + + Image to share (name or ID). + +.. describe:: + + Project to associate with image (name or ID) + +image remove project +-------------------- + +*Only supported for Image v2* + +Disassociate project with image + +.. progran:: image remove project +.. code:: bash + + os image remove remove + [--project-domain ] + + +.. option:: --project-domain + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + +.. describe:: + + Image to unshare (name or ID). + +.. describe:: + + Project to disassociate with image (name or ID) -- cgit v1.2.1