[TEST] Added support for multi-vnf macro instantiation 29/125629/1
authorJulien Fontaine <julien.fontaine@bell.ca>
Wed, 4 Aug 2021 19:52:02 +0000 (15:52 -0400)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Mon, 8 Nov 2021 17:20:12 +0000 (17:20 +0000)
commit17fd4b701a3ba21b656719a5991190d02eb51dc2
tree5d6ce5b4896e4b0b0844dfccb0ebd59f2c72f244
parent3eb2f52a40c0f420ada67c03fc58307237d764fa
[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)
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]