diff options
Diffstat (limited to 'onap-client/onap_client/so')
-rw-r--r-- | onap-client/onap_client/so/catalog/service_instantiation.py | 1 | ||||
-rw-r--r-- | onap-client/onap_client/so/service_instance.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/onap-client/onap_client/so/catalog/service_instantiation.py b/onap-client/onap_client/so/catalog/service_instantiation.py index e18aca1..cab0443 100644 --- a/onap-client/onap_client/so/catalog/service_instantiation.py +++ b/onap-client/onap_client/so/catalog/service_instantiation.py @@ -97,6 +97,7 @@ class ServiceInstantiationClient(SOClient): "service_invariant_id", "service_name", "service_version", + "service_model_version_id", "api_type", ], "header-parameters": ["X-TransactionId"], 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 |