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 / resource_group_invalid_type / 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_1:
57     type: OS::Heat::ResourceGroup
58     properties:
59       count: { get_param: num_instances }
60       resource_def:
61         type: {get_param: pcrf_vnf_id}
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
66
67
68
69   resource_with_resources_group_2:
70     type: OS::Heat::ResourceGroup
71     properties:
72       count: { get_param: num_instances }
73       resource_def:
74         type: OS::Nova::Server
75         properties:
76           cloud_zone_id: { get_param: pcrf_pps_server_names }
77           vf_name:  { get_param: pcrf_pps_image_name }
78
79
80
81   resource_with_resources_group_3:
82       type: OS::Heat::ResourceGroup
83       properties:
84         count: { get_param: num_instances }
85         resource_def:
86           type:
87           properties:
88             cloud_zone_id: { get_param: pcrf_pps_server_names }
89             vf_name:  { get_param: pcrf_pps_image_name }
90
91
92   resource_with_resources_group_4:
93       type: OS::Heat::ResourceGroup
94       properties:
95         count: { get_param: num_instances }
96         resource_def:
97           type: yamlFile.yaml
98
99
100
101
102