X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2FMultiCloud-Deployment-Guide.rst;h=11c1e5fd3f35b802c3c64c18a4aa402db936509a;hb=42fbfdc598d852e24c17edf2dfa89f73bdbf217e;hp=0160e1c58b33892e02b3d5259a17a3032da66b1f;hpb=6b0e4fdb6b3c47f5995729deb9ba41b0bd3e3064;p=multicloud%2Fframework.git 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": ""}, "import_from_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:' http://$HOST_IP/api/multicloud-vio/v0//glance/v2/tasks/ 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:' http://$HOST_IP/api/multicloud-vio/v0//glance/v2/images/