diff options
author | 2019-03-19 02:58:32 +0000 | |
---|---|---|
committer | 2019-03-19 02:58:32 +0000 | |
commit | eacb658bc442fe30d07a7971a12be917fb8cd692 (patch) | |
tree | f79eefd38c0a0935bebcc881fad74d9f11dab9c0 /docs/specs | |
parent | 2d2c6649e9bb823a82df2195f92e57b525dfe45b (diff) | |
parent | 4b6680fde7fccf7627035a032b80ebe90612aa12 (diff) |
Merge "Add create of workload update in AAI"
Diffstat (limited to 'docs/specs')
-rw-r--r-- | docs/specs/multicloud_infra_workload.rst | 47 |
1 files changed, 46 insertions, 1 deletions
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":"<generic-vnf-id>", + "vf-module-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":"<heat/tosca/etc.>", "workload_id": "<The ID of infrastructure workload resource>", - "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 |