[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / novatovolumeconnection / nestedMultiLevels / inputfiles / main.yml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
5
6 parameters:
7   cmaui_cinder_volume_size:
8     type: string
9   CMAUI_volume_type:
10     type: string
11   jsa_name:
12     type: string
13     description: network name of jsa log network
14   contrail_net_name:
15     type: string
16     description: network name of jsa log network
17
18 resources:
19   test_vol1:
20      type: OS::Cinder::Volume
21      properties:
22        size: {get_param: cmaui_cinder_volume_size}
23        volume_type: {get_param: CMAUI_volume_type}
24
25   test_vol2:
26      type: OS::Cinder::Volume
27      properties:
28        size: {get_param: cmaui_cinder_volume_size}
29        volume_type: {get_param: CMAUI_volume_type}
30
31   test_nova:
32     type: OS::Nova::Server
33     properties:
34       name: {get_param: jsa_name}
35       image: image
36
37   test_nested1Level:
38     type: nested1.yml
39     properties:
40       p1: { get_resource: test_vol1 }
41       p2: { get_resource: test_vol2 }
42
43   test_resourceGroup:
44     type: OS::Heat::ResourceGroup
45     properties:
46       count: 9
47       resource_def:
48         type: nested3.yml
49         properties:
50           p1: { get_resource: test_vol1 }
51           indx: "%index%"
52
53   test_nestedInvalidConnectionToNova:
54     type: nested1.yml
55     properties:
56       p1: { get_resource: test_nova}