diff options
author | 2017-10-20 13:52:45 +0800 | |
---|---|---|
committer | 2017-10-20 13:53:25 +0800 | |
commit | 42fbfdc598d852e24c17edf2dfa89f73bdbf217e (patch) | |
tree | 16de31c726956ac3408a623d1c90e6c636323bd6 /docs/MultiCloud-Deployment-Guide.rst | |
parent | 4a45e6eede206262a1f42e1c7157834eb2725a5d (diff) |
Fix docs errors
Change-Id: I730a0edf20a0c8641649f6d2a97319c22d41e846
issue-id: MULTICLOUD-117
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'docs/MultiCloud-Deployment-Guide.rst')
-rw-r--r-- | docs/MultiCloud-Deployment-Guide.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/MultiCloud-Deployment-Guide.rst b/docs/MultiCloud-Deployment-Guide.rst index 0160e1c..11c1e5f 100644 --- a/docs/MultiCloud-Deployment-Guide.rst +++ b/docs/MultiCloud-Deployment-Guide.rst @@ -325,6 +325,7 @@ Upload Image Task create uploading image task by image url: .. code-block:: console + $ curl -X POST -d '{"input": {"image_properties": {"container_format": "bare", "name": "<image_name>"}, "import_from_format": "<disk_format>", @@ -335,6 +336,7 @@ create uploading image task by image url: get the taskid from response body,then query the task status by taskid. .. code-block:: console + $ curl -X GET -H 'X-Auth-Token:<token>' http://$HOST_IP/api/multicloud-vio/v0/<vimid>/glance/v2/tasks/<taskid> You can see the description and properties of task in response body,if 'status' is success, it will show image_id in @@ -343,6 +345,7 @@ result block. query the image status by image_id .. code-block:: console + $ curl -X GET -H 'X-Auth-Token:<token>' http://$HOST_IP/api/multicloud-vio/v0/<vimid>/glance/v2/images/<image_id> |