aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/so/service_instance.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/so/service_instance.py')
-rw-r--r--onap-client/onap_client/so/service_instance.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/onap-client/onap_client/so/service_instance.py b/onap-client/onap_client/so/service_instance.py
index 5441d84..2b1774d 100644
--- a/onap-client/onap_client/so/service_instance.py
+++ b/onap-client/onap_client/so/service_instance.py
@@ -194,12 +194,14 @@ def delete_service_instance(service_instance_name, api_type="GR_API", oc=None):
si_id = si.get("service-instance-id")
invariant_id = si.get("service-data").get("service-information").get("onap-model-information").get("model-invariant-uuid")
version = si.get("service-data").get("service-information").get("onap-model-information").get("model-version")
+ version_id = si.get("service-data").get("service-information").get("onap-model-information").get("model-uuid")
return oc.so.service_instantiation.delete_service_instance(
service_invariant_id=invariant_id,
service_name=service_instance_name,
service_version=version,
service_instance_id=si_id,
+ service_model_version_id=version_id,
api_type=api_type,
).response_data