diff options
author | 2019-10-24 09:23:25 +0200 | |
---|---|---|
committer | 2019-10-24 09:23:25 +0200 | |
commit | aa9be1c8230a62adc11b99296e43209b158d7b37 (patch) | |
tree | 4f125a7cf0f7c94bbb93942b03928ce011a554c2 /docs/guides/onap-user/cloud_site/openstack/index.rst | |
parent | 53b1bbd6de10c8b91c3c72c59156ff2d96ba525a (diff) |
updates for ElAlto in User-Guides
Issue-ID: DOC-566
Signed-off-by: Rene_Robert <rene.robert@orange.com>
Change-Id: Ib5a0509a4a9e8a63a473040a2a4757264bd3b24a
Diffstat (limited to 'docs/guides/onap-user/cloud_site/openstack/index.rst')
-rw-r--r-- | docs/guides/onap-user/cloud_site/openstack/index.rst | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/guides/onap-user/cloud_site/openstack/index.rst b/docs/guides/onap-user/cloud_site/openstack/index.rst index d7df9e697..8688ff396 100644 --- a/docs/guides/onap-user/cloud_site/openstack/index.rst +++ b/docs/guides/onap-user/cloud_site/openstack/index.rst @@ -318,6 +318,38 @@ Check the Cloud Site creation in ONAP AAI: -H 'cache-control: no-cache' -k +Associate an Availability zone to a Cloud site in ONAP AAI: + +:: + + curl -X PUT \ + https://aai.api.sparky.simpledemo.onap.org:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/MyCompanyName/INTEGRATION_CENTER/availability-zones/availability-zone/brittany \ + -H 'Accept: application/json' \ + -H 'Authorization: Basic QUFJOkFBSQ==' \ + -H 'Content-Type: application/json' \ + -H 'X-FromAppId: AAI' \ + -H 'X-TransactionId: get_aai_subscr' \ + -H 'cache-control: no-cache' \ + -d '{ + "availability-zone-name": "brittany", + "hypervisor-type": "KVM" + }' + + +Check the operation: + +:: + + curl -X GET \ + https://aai.api.sparky.simpledemo.onap.org:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/MyCompanyName/INTEGRATION_CENTER/availability-zones \ + -H 'Accept: application/json' \ + -H 'Authorization: Basic QUFJOkFBSQ==' \ + -H 'Content-Type: application/json' \ + -H 'X-FromAppId: AAI' \ + -H 'X-TransactionId: 808b54e3-e563-4144-a1b9-e24e2ed93d4f' \ + -H 'cache-control: no-cache' + + STEP 3 : Register the Cloud Site in ONAP Multicloud ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |