aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-12-23 13:40:11 +0100
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-01-12 22:09:13 +0000
commit22664610f99038223f996ef1c1661872a92e4ee4 (patch)
tree081ea2904008e25718f4bf5cf4ed17f73d3a4782 /src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml
parent2bd16f8898e6fd74e64b1500eb5fbc4448517d1a (diff)
[TEST] Basic CNF macro
Basic CNF macro added with refactoring that enables debugging under IDE Also SDK upgraded to 9.2 what required adaptation in existing tests Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I697857bc0c13e86b88b71c3b46e0c4b59751939c Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml')
-rw-r--r--src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml b/src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml
new file mode 100644
index 0000000..3660e2b
--- /dev/null
+++ b/src/onaptests/templates/vnf-services/basic_cnf_macro-service.yaml
@@ -0,0 +1,68 @@
+---
+basic_cnf_macro:
+ tosca_file_from_SDC: service-basic_cnf_macro-template
+ version: "1.0"
+ subscription_type: "basic_cnf_macro"
+ vnfs:
+ - vnf_name: basic_cnf_macro
+ properties:
+ controller_actor: "CDS"
+ skip_post_instantiation_configuration: False
+ sdnc_artifact_name: "vnf"
+ sdnc_model_version: "1.0.0"
+ sdnc_model_name: "APACHE"
+ vnf_artifact_type: "CONTROLLER_BLUEPRINT_ARCHIVE"
+ vnf_artifact_name: "basic_cnf_cba_enriched.zip"
+ vnf_artifact_label: "vnfcba"
+ vnf_artifact_file_path: templates/artifacts/basic_cnf_cba_enriched.zip
+ heat_files_to_upload: templates/heat-files/basic_cnf_macro/basic_cnf_macro.zip
+ vnf_parameters: [
+ {
+ "name": "k8s-rb-profile-namespace",
+ "value": "apache"
+ },
+ {
+ "name": "k8s-rb-profile-k8s-version",
+ "value": "1.19.0"
+ }
+ ]
+ vf_module_parameters:
+ - vf_module_name: helm_apache
+ parameters: [
+ {
+ "name": "vf_module_label",
+ "value": "helm_apache"
+ },
+ {
+ "name": "k8s-rb-profile-name",
+ "value": "node-port-profile"
+ },
+ {
+ "name": "k8s-rb-profile-source",
+ "value": "node-port-profile"
+ },
+ {
+ "name": "k8s-rb-profile-namespace",
+ "value": "apache"
+ },
+ {
+ "name": "k8s-rb-instance-release-name",
+ "value": "rel-1-apache"
+ },
+ {
+ "name": "k8s-rb-config-template-name",
+ "value": "replica-count-template"
+ },
+ {
+ "name": "k8s-rb-config-template-source",
+ "value": "deployment-config"
+ },
+ {
+ "name": "k8s-rb-config-name",
+ "value": "replica-count-change"
+ },
+ {
+ "name": "k8s-rb-config-value-source",
+ "value": "custom-values"
+ }
+ ]