[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 / nested4.yml
1 heat_template_version: 2013-05-23
2
3 description: nested4
4
5 parameters:
6   p1:
7     type: string
8     description: UID of OAM network
9   p2:
10     type: string
11   security_group_name:
12     type: comma_delimited_list
13     description: CMAUI1, CMAUI2 server names
14   cmaui_names:
15     type: comma_delimited_list
16     description: CMAUI1, CMAUI2 server names
17   cmaui_image:
18     type: string
19     description: Image for CMAUI server
20   availability_zone_0:
21     type: string
22     label: availabilityzone name
23     description: availabilityzone name
24   cmaui_flavor:
25     type: string
26     description: Flavor for CMAUI server
27   cmaui_oam_ips:
28       type: string
29 resources:
30
31   cmaui_volume_attachment10:
32      type: OS::Cinder::VolumeAttachment
33      properties:
34        volume_id: {get_param: p1}
35        instance_uuid: {get_resource: server_cmaui7}
36
37   cmaui_volume_attachment11:
38      type: OS::Cinder::VolumeAttachment
39      properties:
40        volume_id: {get_param: p2}
41        instance_uuid: {get_resource: server_cmaui7}
42
43   cmaui_volume_attachment12:
44      type: OS::Cinder::VolumeAttachment
45      properties:
46        volume_id: {get_param: p2}
47        instance_uuid: {get_resource: server_cmaui8}
48
49   cmaui_port_7:
50     type: OS::Neutron::Port
51     properties:
52       network: { get_param: p2 }
53       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
54       security_groups: [{get_param: security_group_name}]
55       replacement_policy: AUTO
56
57   cmaui_port_8:
58     type: OS::Neutron::Port
59     properties:
60       network: { get_param: p1 }
61       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
62       security_groups: [{get_param: security_group_name}]
63       replacement_policy: AUTO
64
65   server_cmaui7:
66     type: OS::Nova::Server
67     properties:
68       name: { get_param: [cmaui_names, 0]}
69       image: { get_param: cmaui_image }
70       availability_zone: { get_param: availability_zone_0 }
71       flavor: { get_param: cmaui_flavor }
72       networks:
73       - port: { get_resource: cmaui_port_7 }
74
75   server_cmaui8:
76     type: OS::Nova::Server
77     properties:
78       name: { get_param: [cmaui_names, 0]}
79       image: { get_param: cmaui_image }
80       availability_zone: { get_param: availability_zone_0 }
81       flavor: { get_param: cmaui_flavor }
82       networks:
83       - port: { get_resource: cmaui_port_8 }