summaryrefslogtreecommitdiffstats
path: root/docs/specs
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2019-03-13 22:49:38 -0700
committerEric Multanen <eric.w.multanen@intel.com>2019-03-13 22:53:46 -0700
commit4b6680fde7fccf7627035a032b80ebe90612aa12 (patch)
tree53ad428ad4848a621a5a9f9f9e1a330019323551 /docs/specs
parent771d3a4cc273f8ddea2a4bb4de09b9ef7c855058 (diff)
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 <eric.w.multanen@intel.com>
Diffstat (limited to 'docs/specs')
-rw-r--r--docs/specs/multicloud_infra_workload.rst47
1 files changed, 46 insertions, 1 deletions
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":"<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
------------------------------
@@ -250,7 +295,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