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