diff options
author | arun chapagain <arun.chapagain@huawei.com> | 2020-11-10 01:01:36 +0530 |
---|---|---|
committer | arun chapagain <arun.chapagain@huawei.com> | 2020-11-10 11:10:53 +0530 |
commit | a7d1aca6ecae49687a4c8ea4b6c5d09e09188a4e (patch) | |
tree | a7088c254854162b7c1b7d822fee6db9fc399178 /asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml | |
parent | db17dd3511b757cb4d5b0a63cfdcda3bb60b51a0 (diff) |
adding test case for Csar distribution
Issue-ID: SO-3080
Signed-off-by: arun chapagain <arun.chapagain@huawei.com>
Change-Id: I7d734dfffe5b216a4b1fddc9a3bb2a076715b94f
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.yaml | 49 |
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 |