aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_cnf_yaml_settings.py
diff options
context:
space:
mode:
authorJulien Fontaine <julien.fontaine@bell.ca>2021-08-04 15:52:02 -0400
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-11-08 17:20:12 +0000
commit17fd4b701a3ba21b656719a5991190d02eb51dc2 (patch)
tree5d6ce5b4896e4b0b0844dfccb0ebd59f2c72f244 /src/onaptests/configuration/basic_cnf_yaml_settings.py
parent3eb2f52a40c0f420ada67c03fc58307237d764fa (diff)
[TEST] Added support for multi-vnf macro instantiation
Decoupled service YAML template into a model YAML template and a (SO) service YAML template. Model YAML template will be used during the onboarding steps and service YAML template will be used to generate payload when sending instantiation request to SO. Service YAML template reference model name to use for its VNF/VF-Modules using "model_name" field. This provide more flexibility to design the testcase and enables to setup more complex testcases like instantiating several VNF/VF-MOdules using the same SDC model infos. This patch aims to provide backward compatibility for existing testcases based on YAML template. Issue-ID: TEST-358 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I69d370eff4d383d5af135206476c65e4a56e4ee5 (cherry picked from commit c3ef82f489b915095b7464fb119daf43b84f67f8)
Diffstat (limited to 'src/onaptests/configuration/basic_cnf_yaml_settings.py')
-rw-r--r--src/onaptests/configuration/basic_cnf_yaml_settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/onaptests/configuration/basic_cnf_yaml_settings.py b/src/onaptests/configuration/basic_cnf_yaml_settings.py
index b68b7df..38e551c 100644
--- a/src/onaptests/configuration/basic_cnf_yaml_settings.py
+++ b/src/onaptests/configuration/basic_cnf_yaml_settings.py
@@ -79,3 +79,5 @@ VIM_PASSWORD = cloud.config.auth.get('password','dummy123')
VIM_SERVICE_URL = cloud.config.auth.get('auth_url','http://10.12.25.2:5000/v3')
TENANT_ID = cloud.config.auth.get('project_id','123456')
TENANT_NAME = cloud.config.auth.get('project_name','dummy_test')
+
+MODEL_YAML_TEMPLATE = None