From: Eric Multanen Date: Thu, 14 Mar 2019 05:49:38 +0000 (-0700) Subject: Add create of workload update in AAI X-Git-Tag: 1.3.0~24^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=commitdiff_plain;h=4b6680fde7fccf7627035a032b80ebe90612aa12 Add create of workload update in AAI Add call to multicloud to update AAI with workload detailed information (aka Heatbridge for OpenStack). Add AAI update status responses to the workload query call. Change-Id: I6f9ab74e0090f0fbf170b1f0e0c40c65fd928b70 Issue-ID: MULTICLOUD-486 Signed-off-by: Eric Multanen --- diff --git a/docs/specs/multicloud_infra_workload.rst b/docs/specs/multicloud_infra_workload.rst index ba1c312..bbc88fa 100644 --- a/docs/specs/multicloud_infra_workload.rst +++ b/docs/specs/multicloud_infra_workload.rst @@ -167,6 +167,51 @@ Response Body } } +Update infrastructure workload information in AAI (i.e. Heatbridge) +------------------------------------------------------------------- + +API URL: POST http://{msb IP}:{msb port}/api/multicloud/v1/{cloud-owner}/{cloud-region-id}/infra_workload/{workload-id} + +Request Body: +>>>>>>>>>>>>> +:: + + { + "generic-vnf-id":"", + "vf-module-id":"" + } + +Response: +>>>>>>>>> + +Response Codes +:::::::::::::: +Success +....... + ++--------------------+----------------------------------------------------------------------+ +| Code | Reason | ++====================+======================================================================+ +| 202 - Accepted | The request was accepted. | ++--------------------+----------------------------------------------------------------------+ + +Error +..... + ++--------------------+----------------------------------------------------------------------+ +| Code | Reason | ++====================+======================================================================+ +| 400 - Bad Request | Some content in the request was invalid. | ++--------------------+----------------------------------------------------------------------+ +| 401 - Unauthorized | User must authenticate before making a request. | ++--------------------+----------------------------------------------------------------------+ +| 409 - Conflict | This operation conflicted with another operation on this resource. | ++--------------------+----------------------------------------------------------------------+ + +Response Body +::::::::::::: + + Delete infrastructure workload ------------------------------ @@ -250,7 +295,7 @@ Response Body { "template_type":"", "workload_id": "", - "workload_status":"CREATE_IN_PROCESS/CREATE_COMPLETE/DELETE_IN_PROCESS/etc" + "workload_status":"CREATE_IN_PROCESS/CREATE_COMPLETE/DELETE_IN_PROCESS/AAI_IN_PROGRESS/AAI_COMPLETE/etc" } Work Items