[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 / mixPatterns / oneAppearancePerPattern / in / nested-no_vfc_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   cps_net_name:
23     type: string
24     label: CPS network name
25     description: CPS network name
26   cps_net_ip:
27     type: string
28     label: CPS network ip
29     description: CPS network ip
30   cps_net_mask:
31     type: string
32     label: CPS network mask
33     description: CPS network mask
34   oam_net_name:
35     type: string
36     label: OAM network name
37     description: OAM network name
38   oam_net_ip:
39     type: string
40     label: OAM network ip
41     description: OAM network ip
42   oam_net_gw:
43     type: string
44     label: CPS network gateway
45     description: CPS network gateway
46   oam_net_mask:
47     type: string
48     label: CPS network mask
49     description: CPS network mask
50   pcm_vol:
51     type: string
52     label: CPS Cluman Cinder Volume
53     description: CPS Cluman Cinder Volume
54   security_group_name:
55     type: string
56     label: security group name
57     description: the name of security group
58   pcma_server_name:
59     type: string
60   pcma_image_name:
61     type: string
62   pcma_flavor_name:
63     type: string
64   server_group:
65     type: string
66
67 resources:
68   server_pcma1:
69     type: OS::Nova::Server
70     properties:
71       config_drive: "True"
72       name: { get_param: pcma_server_name }
73       image: { get_param: pcma_image_name }
74       flavor: { get_param: pcma_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   server_pcma2:
85     type: OS::Nova::Server
86     properties:
87       config_drive: "True"
88       name: { get_param: pcma_server_name }
89       image: { get_param: pcma_image_name }
90       flavor: { get_param: pcma_flavor_name }
91       availability_zone: { get_param: availabilityzone_name }
92       networks:
93         - port: { get_resource: pcm_port_2}
94         - port: { get_resource: pcm_port_3}
95       block_device_mapping:
96         - device_name: vdb
97           volume_id: { get_param: pcm_vol}
98       user_data_format: RAW
99       scheduler_hints: { group: { get_param: server_group }  }
100
101   pcm_port_0:
102     type: OS::Neutron::Port
103     properties:
104       network: { get_param: cps_net_name }
105       fixed_ips:
106         - ip_address: { get_param: cps_net_ip }
107       security_groups: [{ get_param: security_group_name }]
108
109   pcm_port_1:
110     type: OS::Neutron::Port
111     properties:
112       network: { get_param: oam_net_name }
113       fixed_ips:
114         - ip_address: { get_param: oam_net_ip }
115       security_groups: [{ get_param: security_group_name }]
116
117   pcm_port_2:
118     type: OS::Neutron::Port
119     properties:
120       network: { get_param: cps_net_name }
121       fixed_ips:
122         - ip_address: { get_param: cps_net_ip }
123       security_groups: [{ get_param: security_group_name }]
124
125   pcm_port_3:
126     type: OS::Neutron::Port
127     properties:
128       network: { get_param: oam_net_name }
129       fixed_ips:
130         - ip_address: { get_param: oam_net_ip }
131       security_groups: [{ get_param: security_group_name }]
132
133 outputs:
134   portId:
135     value: { get_resource: pcm_port_3 }