aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-07-27 18:02:25 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-07-27 18:04:14 +0200
commite8c09bbe5a1fd278718ef772c521057ccc3a23d0 (patch)
treeaa647c89633301d1fcbe1a704715d346707e5c77 /src/onaptests
parentf8e444d725207e538875fb25f6637a80f0b34c44 (diff)
Change rb-definition-version identifier
Change rb-definition-version identifier. As a consequnece the vf-module-model-customization-uuid will be used to identify the version of the rb definition. In consequence the profiling mechanism use may be affected. Issue-ID: MULTICLOUD-1377 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib7fd12be4b728e7bed79513a2008a28a61e12482
Diffstat (limited to 'src/onaptests')
-rw-r--r--src/onaptests/steps/instantiate/k8s_profile_create.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/steps/instantiate/k8s_profile_create.py b/src/onaptests/steps/instantiate/k8s_profile_create.py
index d555d46..fab61a4 100644
--- a/src/onaptests/steps/instantiate/k8s_profile_create.py
+++ b/src/onaptests/steps/instantiate/k8s_profile_create.py
@@ -125,7 +125,7 @@ class K8SProfileStep(BaseStep):
# Define profile (rb_profile) for resource bundle definition
# Retrieve resource bundle definition (rbdef) corresponding to vf module
rbdef_name = vf_module.metadata["vfModuleModelInvariantUUID"]
- rbdef_version = vf_module.metadata["vfModuleModelUUID"]
+ rbdef_version = vf_module.metadata["vfModuleModelCustomizationUUID"]
rbdef = Definition.get_definition_by_name_version(rbdef_name, rbdef_version)
# Get k8s profile name from yaml service template
vnf_parameters = self.get_vnf_parameters(vnf_instance.vnf.name)
@@ -161,7 +161,7 @@ class K8SProfileStep(BaseStep):
for vf_module in vnf_instance.vnf.vf_modules:
# Retrieve resource bundle definition (rbdef) corresponding to vf module
rbdef_name = vf_module.metadata["vfModuleModelInvariantUUID"]
- rbdef_version = vf_module.metadata["vfModuleModelUUID"]
+ rbdef_version = vf_module.metadata["vfModuleModelCustomizationUUID"]
rbdef = Definition.get_definition_by_name_version(rbdef_name, rbdef_version)
# Get k8s profile name from yaml service template
vnf_parameters = self.get_vnf_parameters(vnf_instance.vnf.name)