diff options
author | Julien Fontaine <julien.fontaine@bell.ca> | 2021-08-04 15:52:02 -0400 |
---|---|---|
committer | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2021-10-19 06:44:23 -0400 |
commit | c3ef82f489b915095b7464fb119daf43b84f67f8 (patch) | |
tree | 5d6ce5b4896e4b0b0844dfccb0ebd59f2c72f244 /src/onaptests/scenario/basic_vm_macro.py | |
parent | 062f7ed7f73ed61dc3990c3a23403fd544ae6261 (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
Diffstat (limited to 'src/onaptests/scenario/basic_vm_macro.py')
-rw-r--r-- | src/onaptests/scenario/basic_vm_macro.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/onaptests/scenario/basic_vm_macro.py b/src/onaptests/scenario/basic_vm_macro.py index f22ee12..67dded9 100644 --- a/src/onaptests/scenario/basic_vm_macro.py +++ b/src/onaptests/scenario/basic_vm_macro.py @@ -72,6 +72,10 @@ class BasicVmMacroStep(YamlTemplateBaseStep): return self._yaml_template @property + def model_yaml_template(self) -> dict: + return {} + + @property def service_name(self) -> dict: """Service name. |