push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-impl / src / test / resources / openecomp / org / validation / validators / heat_validator / resources_group_with_nested / negative_test / input / hot-nimbus-psm_v1.0.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Session Manager stack
4
5 parameters:
6   num_instances:
7     type: comma_delimited_list
8     label: PCRF SM server names
9     description: name of the PCRF SM instance
10   pcrf_psm_server_names:
11     type: comma_delimited_list
12     label: PCRF SM server names
13     description: name of the PCRF SM instance
14   pcrf_psm_image_name:
15     type: string
16     label: PCRF SM image name
17     description: PCRF SM image name
18   pcrf_psm_flavor_name:
19     type: string
20     label: PCRF SM flavor name
21     description: flavor name of PCRF SM instance 
22   availabilityzone_name:
23     type: string
24     label: availabilityzone name
25     description: availabilityzone name
26   pcrf_cps_net_name:
27     type: string
28     label: CPS network name
29     description: CPS network name
30   pcrf_cps_net_ips:
31     type: comma_delimited_list
32     label: CPS network ips
33     description: CPS network ips
34   pcrf_cps_net_mask:
35     type: string
36     label: CPS network mask
37     description: CPS network mask
38   pcrf_security_group_name:
39     type: string
40     label: security group name
41     description: the name of security group
42   pcrf_vnf_id:
43     type: string
44     label: PCRF VNF Id
45     description: PCRF VNF Id
46   pcrf_pps_server_names:
47     type: string
48
49   pcrf_pps_image_name:
50     type: string
51   pcrf_pps_flavor_name:
52     type: string
53   availability_zone_0:
54     type: string
55 resources:
56   resource_with_resources_group:
57     type: OS::Heat::ResourceGroup
58     properties:
59       count: { get_param: num_instances }
60       resource_def:
61         type: nested-from-resources-group.yaml
62         properties:
63           pcrf_psm_server_name: { get_param: pcrf_pps_server_names }
64           pcrf_psm_image_name:  { get_param: pcrf_pps_image_name }
65           property_not_in_nested: { get_param: availabilityzone_name }
66           pcrf_cps_net_name: { get_param: availabilityzone_name }
67           pcrf_cps_net_ip: { get_param: pcrf_vnf_id }
68           pcrf_cps_net_mask: { get_param: pcrf_vnf_id }
69           pcrf_security_group_name: { get_param: pcrf_pps_image_name }
70           pcrf_vnf_id: { get_param: pcrf_pps_flavor_name }
71
72           availabilityzone_name: { get_param: availability_zone_0 }
73
74
75
76   resource_without_resources_group:
77     type: OS::Heat::ResourceGroup
78     properties:
79       count: { get_param: num_instances }
80       resource_def:
81         type: OS::Nova::Server
82         properties:
83           cloud_zone_id: { get_param: pcrf_pps_server_names }
84           vf_name:  { get_param: pcrf_pps_image_name }
85           vf_instance_num: { get_param: pcrf_pps_image_name }
86           vf_component: { get_param: availabilityzone_name }
87           vm_instance_num: { get_param: availabilityzone_name }
88           vnf_id: { get_param: pcrf_vnf_id }
89           vf_module_id: { get_param: pcrf_vnf_id }
90           bootimage: { get_param: pcrf_pps_image_name }
91           flavor: { get_param: pcrf_pps_flavor_name }
92           key_name: { get_param: pcrf_cps_net_mask }
93
94           availability_zone_0: { get_param: availability_zone_0 }
95
96
97
98