[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 / fulltest / singleSubstitution / computeWithDiffPortTypeNodeConnectedOut / in / hot-mog-0108-bs1271.yml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates MOG stack
4
5 parameters:
6   pd_server_names:
7     type: comma_delimited_list
8     label: PD server names
9     description: name of the PD instance
10   pd_image_name:
11     type: string
12     label: image name
13     description: PD image name
14   pd_flavor_name:
15     type: string
16     label: PD flavor name
17     description: flavor name of PD instance
18   oam_flavor_name:
19     type: string
20     label: OAM flavor name
21     description: flavor name of OAM instance
22   availabilityzone_name:
23     type: string
24     label: availabilityzone name
25     description: availabilityzone name
26   oam_net_name:
27     type: string
28     label: oam network name
29     description: name of the oam network
30   packet_mirror_network_name:
31     type: string
32     label: packet mirror network name
33     description: name of the network
34   pd01_volume_type:
35     type: string
36     label: volume type
37     description: volume type
38   pd01_cinder_volume_size:
39     type: string
40     label: volume size
41     description: volume size
42
43 resources:
44   server_pd_01:
45     depends_on:
46       - packet_mirror_network
47     type: OS::Nova::Server
48     properties:
49       name: {get_param: [pd_server_names, 0]}
50       image: {get_param: pd_image_name}
51       flavor: {get_param: pd_flavor_name}
52       availability_zone: {get_param: availabilityzone_name}
53       networks:
54         - port: {get_resource: pd01_port_0}
55         - port: {get_resource: pd02_port_0}
56       user_data_format:  RAW
57   packet_mirror_network:
58     type: OS::Neutron::Net
59     properties:
60       name:
61         get_param: packet_mirror_network_name
62   pd01_port_0:
63     type: OS::Neutron::Port
64     properties:
65       network: { get_resource: packet_mirror_network }
66       replacement_policy: AUTO
67   pd02_port_0:
68     type: OS::Neutron::Port
69     properties:
70       network: { get_resource: packet_mirror_network }
71       replacement_policy: AUTO
72   pd01_volume:
73      type: OS::Cinder::Volume
74      properties:
75        size: {get_param: pd01_cinder_volume_size}
76        volume_type: {get_param: pd01_volume_type}
77   pd01_volume_attachment:
78      type: OS::Cinder::VolumeAttachment
79      properties:
80        volume_id: {get_resource: pd01_volume}
81        instance_uuid: {get_resource: server_pd_01}