Uploaded image for project: 'Command Line Interface'
  1. Command Line Interface
  2. CLI-132

Associate Cloud Region With a Cloud Complex

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Highest Highest
    • Dublin Release
    • None

      In ONAP, a cloud complex consists of one or more cloud. The ONAP CLI has no means of associating a cloud region with a cloud complex. Currently this can be done via REST in the following way;

       

      curl -X PUT \
      https://$ONAP_AAI_IP:$ONAP_AAI_PORT/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/${CLOUD_OWNER}/${CLOUD_REGION_ID}/relationship-list/relationship \
      -H 'Authorization: Basic QUFJOkFBSQ==' \
      -H 'Cache-Control: no-cache' \
      -H 'Content-Type: application/json' \
      -H 'Postman-Token: 7407d60c-8ce7-45de-ada3-4a7a9e88ebd4' \
      -H 'Real-Time: true' \
      -H 'X-FromAppId: jimmy-postman' \
      -H 'X-TransactionId: 9999' \
      -d '{
      "related-to": "complex",
      "related-link": "/aai/v13/cloud-infrastructure/complexes/complex/clli1",
      "relationship-data": [

      { "relationship-key": "complex.physical-location-id", "relationship-value": "clli1" }

      ]
      }'

            itohan itohan
            itohan itohan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: