[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 / nestedSingleCompute / nestedOutputParamGetAttrIn / in / nested-pcm_v0.1.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Cluman stack
4
5 parameters:
6   pcm_server_name:
7     type: string
8     label: PCRF CM server name
9     description: PCRF CM server name
10   pcm_image_name:
11     type: string
12     label: image name
13     description: PCRF CM image name
14   pcm_flavor_name:
15     type: string
16     label: PCRF CM flavor name
17     description: flavor name of PCRF CM instance
18   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   user_data_format:
23     type: string
24     label: user_data_format
25     description: user_data_format
26   metadata:
27     type: string
28     label: metadata
29     description: metadata
30   cps_net_name:
31     type: string
32     label: CPS network name
33     description: CPS network name
34   cps_net_ip:
35     type: string
36     label: CPS network ip
37     description: CPS network ip
38   cps_net_mask:
39     type: string
40     label: CPS network mask
41     description: CPS network mask
42   oam_net_name:
43     type: string
44     label: OAM network name
45     description: OAM network name
46   oam_net_ip:
47     type: string
48     label: OAM network ip
49     description: OAM network ip
50   oam_net_gw:
51     type: string
52     label: CPS network gateway
53     description: CPS network gateway
54   oam_net_mask:
55     type: string
56     label: CPS network mask
57     description: CPS network mask
58   pcm_vol:
59     type: string
60     label: CPS Cluman Cinder Volume
61     description: CPS Cluman Cinder Volume
62   security_group_name:
63     type: string
64     label: security group name
65     description: the name of security group
66
67 resources:
68   server_pcm:
69     type: OS::Nova::Server
70     properties:
71       config_drive: "True"
72       name: { get_param: pcm_server_name }
73       image: { get_param: pcm_image_name }
74       flavor: { get_param: pcm_flavor_name }
75       availability_zone: { get_param: availabilityzone_name }
76       networks:
77         - port: { get_resource: pcm_port_0}
78         - port: { get_resource: pcm_port_1}
79       block_device_mapping:
80         - device_name: vdb
81           volume_id: { get_param: pcm_vol}
82       user_data_format: RAW
83
84   pcm_port_0:
85     type: OS::Neutron::Port
86     properties:
87       network: { get_param: cps_net_name }
88       fixed_ips:
89         - ip_address: { get_param: cps_net_ip }
90       security_groups: [{ get_param: security_group_name }]
91
92   pcm_port_1:
93     type: OS::Neutron::Port
94     properties:
95       network: { get_param: oam_net_name }
96       fixed_ips:
97         - ip_address: { get_param: oam_net_ip }
98       security_groups: [{ get_param: security_group_name }]
99
100   #pcm_vol_attachment:
101   #  type: OS::Cinder::VolumeAttachment
102   #  properties:
103   #    volume_id: { get_param: pcm_vol }
104   #    mountpoint: /dev/vdb
105   #    instance_uuid: { get_resource: server_pcm }
106 outputs:
107   server_pcm_id:
108     description: the pcm nova service id
109     value: { get_resource: server_pcm }