summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r--windriver/titanium_cloud/resource/views/infra_workload.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/windriver/titanium_cloud/resource/views/infra_workload.py b/windriver/titanium_cloud/resource/views/infra_workload.py
index e4b4b0b5..dcc5615c 100644
--- a/windriver/titanium_cloud/resource/views/infra_workload.py
+++ b/windriver/titanium_cloud/resource/views/infra_workload.py
@@ -155,8 +155,8 @@ class InfraWorkload(APIView):
# return error messsages
resp_template['workload_response'] = content
- if ('CREATE_COMPLETE' == stack_status):
- self.heatbridge_update(request, vimid, stack_id)
+ # if ('CREATE_COMPLETE' == stack_status):
+ # self.heatbridge_update(request, vimid, stack_id)
self._logger.info("RESP with data> result:%s" % resp_template)
return Response(data=resp_template, status=os_status)
@@ -213,10 +213,10 @@ class InfraWorkload(APIView):
self._logger.info("delete stack, URI:%s" % resource_uri)
retcode, content, os_status = helper.MultiCloudServiceHelper(cloud_owner, regionid, v2_token_resp_json,
service_type, resource_uri, None, "DELETE")
- if retcode == 0:
- stack_status = "DELETE_IN_PROCESS"
- # and update AAI inventory by heatbridge-delete
- self.heatbridge_delete(request, vimid, stack1['id'])
+ # if retcode == 0:
+ # stack_status = "DELETE_IN_PROCESS"
+ # # and update AAI inventory by heatbridge-delete
+ # self.heatbridge_delete(request, vimid, stack1['id'])
# stub response
resp_template = {