[TEST] Added support for multi-vnf macro instantiation 36/123136/16
authorJulien Fontaine <julien.fontaine@bell.ca>
Wed, 4 Aug 2021 19:52:02 +0000 (15:52 -0400)
committerOleg Mitsura <oleg.mitsura@amdocs.com>
Tue, 19 Oct 2021 10:44:23 +0000 (06:44 -0400)
commitc3ef82f489b915095b7464fb119daf43b84f67f8
tree5d6ce5b4896e4b0b0844dfccb0ebd59f2c72f244
parent062f7ed7f73ed61dc3990c3a23403fd544ae6261
[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
30 files changed:
run_multi_vnf_ubuntu.py [new file with mode: 0644]
setup.cfg
src/onaptests/configuration/basic_clamp_settings.py
src/onaptests/configuration/basic_cnf_yaml_settings.py
src/onaptests/configuration/basic_network_nomulticloud_settings.py
src/onaptests/configuration/basic_onboard_settings.py
src/onaptests/configuration/basic_vm_macro_settings.py
src/onaptests/configuration/basic_vm_macro_stability_settings.py
src/onaptests/configuration/basic_vm_multicloud_yaml_settings.py
src/onaptests/configuration/basic_vm_settings.py
src/onaptests/configuration/clearwater_ims_nomulticloud_settings.py
src/onaptests/configuration/multi_vnf_ubuntu_settings.py [new file with mode: 0644]
src/onaptests/configuration/pnf_macro_settings.py
src/onaptests/scenario/basic_vm_macro.py
src/onaptests/scenario/multi_vnf_macro.py [new file with mode: 0644]
src/onaptests/scenario/pnf_macro.py
src/onaptests/steps/base.py
src/onaptests/steps/instantiate/service_ala_carte.py
src/onaptests/steps/instantiate/service_macro.py
src/onaptests/steps/instantiate/vf_module_ala_carte.py
src/onaptests/steps/instantiate/vl_ala_carte.py
src/onaptests/steps/instantiate/vnf_ala_carte.py
src/onaptests/steps/loop/clamp.py
src/onaptests/steps/onboard/clamp.py
src/onaptests/steps/onboard/pnf.py
src/onaptests/steps/onboard/service.py
src/onaptests/steps/onboard/vf.py
src/onaptests/steps/onboard/vsp.py
src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 [new file with mode: 0644]
src/onaptests/templates/vnf-services/multi-vnf-ubuntu-service.yaml.j2 [new file with mode: 0644]