aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates
diff options
context:
space:
mode:
authorThierry Hardy <thierry.hardy@orange.com>2020-10-14 08:51:57 +0000
committerThierry Hardy <thierry.hardy@orange.com>2020-10-16 17:11:00 +0200
commite050624faa3a4b792a7325241457eed68785bd19 (patch)
treee52e7991ed4eacfbb841f8ff9191fe229c685be3 /src/onaptests/templates
parent8642324e0b95b9efef53a7d62b419d72aed617b6 (diff)
Revert "Revert "Create basic_cnf test leveraging onapsdk""
This reverts commit ded9ae3b507b9687a68cc00dfc75e13130be13ff. Reason for revert: ONAP SDK 7.1 version is released Correction hardcode value (k8s) and onapsdk version to 7.1.0 Issue-ID: TEST-243 Change-Id: I535af4298f79a34476074612079dc479d2fc0b61 Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Diffstat (limited to 'src/onaptests/templates')
-rw-r--r--src/onaptests/templates/artifacts/k8sprof.tar.gzbin0 -> 199 bytes
-rw-r--r--src/onaptests/templates/heat-files/basic_cnf/basic_cnf.zipbin0 -> 4005 bytes
-rw-r--r--src/onaptests/templates/vnf-services/basic_cnf-service.yaml19
3 files changed, 19 insertions, 0 deletions
diff --git a/src/onaptests/templates/artifacts/k8sprof.tar.gz b/src/onaptests/templates/artifacts/k8sprof.tar.gz
new file mode 100644
index 0000000..fdfa8c8
--- /dev/null
+++ b/src/onaptests/templates/artifacts/k8sprof.tar.gz
Binary files differ
diff --git a/src/onaptests/templates/heat-files/basic_cnf/basic_cnf.zip b/src/onaptests/templates/heat-files/basic_cnf/basic_cnf.zip
new file mode 100644
index 0000000..6d6e81e
--- /dev/null
+++ b/src/onaptests/templates/heat-files/basic_cnf/basic_cnf.zip
Binary files differ
diff --git a/src/onaptests/templates/vnf-services/basic_cnf-service.yaml b/src/onaptests/templates/vnf-services/basic_cnf-service.yaml
new file mode 100644
index 0000000..c3c701f
--- /dev/null
+++ b/src/onaptests/templates/vnf-services/basic_cnf-service.yaml
@@ -0,0 +1,19 @@
+---
+basic_cnf:
+ tosca_file_from_SDC: service-basic_cnf-template
+ version: "1.0"
+ subscription_type: "basic_cnf"
+ vnfs:
+ - vnf_name: basic_cnf
+ heat_files_to_upload: onaptests/templates/heat-files/basic_cnf/basic_cnf.zip
+ vnf_parameters: [
+ {"name": "dummy_name_0",
+ "value": "dummy_name"
+ },
+ {"name": "k8s-rb-profile-name",
+ "value": "cnftest"
+ },
+ {"name": "k8s-rb-profile-namespace",
+ "value": "k8s"
+ }
+ ]