[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 / computeWithSamePortTypeNodeConnectedOut / 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   packet_internal_network_name:
35     type: string
36     label: packet internal network name
37     description: name of the network
38   pd01_volume_type:
39     type: string
40     label: volume type
41     description: volume type
42   pd01_cinder_volume_size:
43     type: string
44     label: volume size
45     description: volume size
46
47 resources:
48   server_pd_01:
49     depends_on:
50       - packet_mirror_network
51     type: OS::Nova::Server
52     properties:
53       name: {get_param: [pd_server_names, 0]}
54       image: {get_param: pd_image_name}
55       flavor: {get_param: pd_flavor_name}
56       availability_zone: {get_param: availabilityzone_name}
57       networks:
58         - port: {get_resource: pd01_port_0}
59         - port: {get_resource: pd01_port_1}
60       user_data_format:  RAW
61   packet_mirror_network:
62     type: OS::Neutron::Net
63     properties:
64       name:
65         get_param: packet_mirror_network_name
66   packet_internal_network:
67     type: OS::Neutron::Net
68     properties:
69       name:
70         get_param: packet_internal_network_name
71   pd01_port_0:
72     type: OS::Neutron::Port
73     properties:
74       network: { get_resource: packet_mirror_network }
75       replacement_policy: AUTO
76   pd01_port_1:
77     type: OS::Neutron::Port
78     properties:
79       network: { get_resource: packet_internal_network }
80       replacement_policy: AUTO
81   pd01_volume:
82      type: OS::Cinder::Volume
83      properties:
84        size: {get_param: pd01_cinder_volume_size}
85        volume_type: {get_param: pd01_volume_type}
86   pd01_volume_attachment:
87      type: OS::Cinder::VolumeAttachment
88      properties:
89        volume_id: {get_resource: pd01_volume}
90        instance_uuid: {get_resource: server_pd_01}