diff options
author | Julien Fontaine <julien.fontaine@bell.ca> | 2021-08-04 15:52:02 -0400 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-11-08 17:20:12 +0000 |
commit | 17fd4b701a3ba21b656719a5991190d02eb51dc2 (patch) | |
tree | 5d6ce5b4896e4b0b0844dfccb0ebd59f2c72f244 /src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 | |
parent | 3eb2f52a40c0f420ada67c03fc58307237d764fa (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/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2')
-rw-r--r-- | src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 b/src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 new file mode 100644 index 0000000..96037c9 --- /dev/null +++ b/src/onaptests/templates/vnf-services/multi-vnf-ubuntu-model.yaml.j2 @@ -0,0 +1,16 @@ +--- +{{ service_name }}: + instantiation_type: "Macro" + vnfs: + - vnf_name: {{ service_name }}VF0 + properties: + controller_actor: "CDS" + skip_post_instantiation_configuration: False + sdnc_artifact_name: "UbuntuVNF" + sdnc_model_version: "1.0.0" + sdnc_model_name: "UbuntuVNF" + vnf_artifact_type: "CONTROLLER_BLUEPRINT_ARCHIVE" + vnf_artifact_name: "UBUNTUVNF_enriched.zip" + vnf_artifact_label: "UbuntuVNF" + vnf_artifact_file_path: "/tmp/UBUNTUVNF_enriched.zip" + heat_files_to_upload: onaptests/templates/heat-files/nso_ubuntu/nso_ubuntu.zip |