summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml
diff options
context:
space:
mode:
authorByung-Woo Jun <byung-woo.jun@est.tech>2021-01-27 19:33:26 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-27 19:33:26 +0000
commit7eb6a14401d9decdf4e5ca72ba5cedd4f7f67e24 (patch)
tree5bc752f9b31b862520506caa8cb6537ab0538bef /asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml
parentd1d4a11973a54033329c4823ccb03a560b7333b6 (diff)
parenta7d1aca6ecae49687a4c8ea4b6c5d09e09188a4e (diff)
Merge "adding test case for Csar distribution Issue-ID: SO-3080"
Diffstat (limited to 'asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml')
-rw-r--r--asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml
new file mode 100644
index 0000000000..8aeaf6f63d
--- /dev/null
+++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml
@@ -0,0 +1,49 @@
+# #==================LICENSE_START==========================================
+# #
+# # Copyright (C) 2019 Intel Corporation
+# # SPDX-License-Identifier: Apache-2.0
+# #
+# #==================LICENSE_END============================================
+
+heat_template_version: 2016-10-14
+description: Heat template to deploy dummy VNF
+
+parameters:
+ dummy_name_0:
+ type: string
+ label: name of vm
+ description: Dummy name
+
+ vnf_id:
+ type: string
+ label: id of vnf
+ description: Provided by ONAP
+
+ vnf_name:
+ type: string
+ label: name of vnf
+ description: Provided by ONAP
+
+ vf_module_id:
+ type: string
+ label: vnf module id
+ description: Provided by ONAP
+
+ dummy_image_name:
+ type: string
+ label: Image name or ID
+ description: Dummy image name
+
+ dummy_flavor_name:
+ type: string
+ label: flavor
+ description: Dummy flavor
+
+resources:
+ dummy_0:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: dummy_name_0 }
+ image: { get_param: dummy_image_name }
+ flavor: { get_param: dummy_flavor_name }
+ metadata: { vnf_name: { get_param: vnf_name }, vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} \ No newline at end of file