summaryrefslogtreecommitdiffstats
path: root/docs/Multicloud-Fake_Cloud-Guide.rst
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2017-10-20 13:52:45 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2017-10-20 13:53:25 +0800
commit42fbfdc598d852e24c17edf2dfa89f73bdbf217e (patch)
tree16de31c726956ac3408a623d1c90e6c636323bd6 /docs/Multicloud-Fake_Cloud-Guide.rst
parent4a45e6eede206262a1f42e1c7157834eb2725a5d (diff)
Fix docs errors
Change-Id: I730a0edf20a0c8641649f6d2a97319c22d41e846 issue-id: MULTICLOUD-117 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'docs/Multicloud-Fake_Cloud-Guide.rst')
-rw-r--r--docs/Multicloud-Fake_Cloud-Guide.rst61
1 files changed, 30 insertions, 31 deletions
diff --git a/docs/Multicloud-Fake_Cloud-Guide.rst b/docs/Multicloud-Fake_Cloud-Guide.rst
index 58d7a5a..dc8af4c 100644
--- a/docs/Multicloud-Fake_Cloud-Guide.rst
+++ b/docs/Multicloud-Fake_Cloud-Guide.rst
@@ -21,36 +21,35 @@ Register vio information into AAI service with region name "vmware" and region i
.. code-block:: console
-$ curl -X PUT -H "X-TransactionId":"get_aai_subr" -H "X-FromAppId":"AAI" -H "Accept":"application/json" \
- -H "Content-Type:"application/json" \
- https://aai_ip:aai_port/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/vmware/fake \
-
- -d "{
- "cloud-owner": "vmware",
- "cloud-region-id": "vio",
- "cloud-type": "vmware",
- "cloud-region-version": "4.0",
- "identity-url": "http://MSB_IP:MSB_PORT/api/multicloud-vio/v0/vmware_fake/identity/v3",
- "sriov-automation": false,
- "resource-version": "1505892661724",
- "esr-system-info-list": {
- "esr-system-info": [
- {
- "esr-system-info-id": "62e17285-c207-42b0-9d55-b472b274c254",
- "system-name": "vim-fake-cloud",
- "type": "vim",
- "service-url": "http://127.0.0.1:5000/v3",
- "user-name": "admin",
- "password": "vmware",
- "system-type": "vim",
- "ssl-insecure": false,
- "cloud-domain": "default",
- "default-tenant": "admin",
- "resource-version": "1505892661819"
- }
- ]
- }
- }"
+ $ curl -X PUT -H "X-TransactionId":"get_aai_subr" -H "X-FromAppId":"AAI" -H "Accept":"application/json" \
+ -H "Content-Type:"application/json" \
+ https://aai_ip:aai_port/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/vmware/fake \
+ -d "{
+ "cloud-owner": "vmware",
+ "cloud-region-id": "vio",
+ "cloud-type": "vmware",
+ "cloud-region-version": "4.0",
+ "identity-url": "http://MSB_IP:MSB_PORT/api/multicloud-vio/v0/vmware_fake/identity/v3",
+ "sriov-automation": false,
+ "resource-version": "1505892661724",
+ "esr-system-info-list": {
+ "esr-system-info": [
+ {
+ "esr-system-info-id": "62e17285-c207-42b0-9d55-b472b274c254",
+ "system-name": "vim-fake-cloud",
+ "type": "vim",
+ "service-url": "http://127.0.0.1:5000/v3",
+ "user-name": "admin",
+ "password": "vmware",
+ "system-type": "vim",
+ "ssl-insecure": false,
+ "cloud-domain": "default",
+ "default-tenant": "admin",
+ "resource-version": "1505892661819"
+ }
+ ]
+ }
+ }"
the identity url reprent the fake cloud identity url.
@@ -58,7 +57,7 @@ the identity url reprent the fake cloud identity url.
Test Examples
-~~~~~~~~~~~~
+~~~~~~~~~~~~~
the ${fake_identiy_url}= "http://MSB_IP:MSB_PORT/api/multicloud-vio/v0/vmware_fake/identity/v3"
the ${msb_address} = "MSB_IP:MSB_PORT"