X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=blobdiff_plain;f=docs%2Fspecs%2Fmulticloud_infra_workload.rst;fp=docs%2Fspecs%2Fmulticloud_infra_workload.rst;h=d8ada144091454c4109395c9e9506c096fbdac66;hp=57b3f7c1c611e6210f89705dcbe1bab69727f450;hb=eacb658bc442fe30d07a7971a12be917fb8cd692;hpb=2d2c6649e9bb823a82df2195f92e57b525dfe45b diff --git a/docs/specs/multicloud_infra_workload.rst b/docs/specs/multicloud_infra_workload.rst index 57b3f7c..d8ada14 100644 --- a/docs/specs/multicloud_infra_workload.rst +++ b/docs/specs/multicloud_infra_workload.rst @@ -206,6 +206,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 ------------------------------ @@ -289,7 +334,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