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 / server_groups_defined_correctly / negative_test / input / hot-nimbus-pps_v1.0.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates PCRF Policy Server stack
4
5 parameters:
6   pcrf_pps_server_names:
7     type: comma_delimited_list
8     label: PCRF PS server names
9     description: PCRF PS server names
10   pcrf_pps_image_name:
11     type: string
12     label: PCRF PS image name
13     description: PCRF PS image name
14   pcrf_pps_flavor_name:
15     type: string
16     label: PCRF PS flavor name
17     description: flavor name of PCRF PS instance
18   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   pcrf_cps_net_name:
23     type: string
24     label: CPS network name
25     description: CPS network name
26   pcrf_cps_net_ips:
27     type: comma_delimited_list
28     label: CPS network ips
29     description: CPS network ips
30   pcrf_cps_net_mask:
31     type: string
32     label: CPS network mask
33     description: CPS network mask
34   pcrf_security_group_name:
35     type: string
36     label: security group name
37     description: the name of security group
38   pcrf_vnf_id:
39     type: string
40     label: PCRF VNF Id
41     description: PCRF VNF Id
42
43 resources:
44   nova_server_1:
45     type: OS::Nova::Server
46     properties:
47       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] }
48       image: { get_param: pcrf_pps_image_name }
49       flavor: { get_param: pcrf_pps_flavor_name }
50       scheduler_hints: { group_1: { get_resource: BE_Affinity_1 }, group_2: { get_resource: BE_Affinity_2 } }
51       networks:
52         - port: {get_resource: BE_Affinity_2}
53
54
55   nova_server_2:
56     type: OS::Nova::Server
57     properties:
58       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] }
59       image: { get_param: pcrf_pps_image_name }
60       flavor: { get_param: pcrf_pps_flavor_name }
61       scheduler_hints: { group_1:  , group_2: { get_resource: BE_Affinity_2 } }
62
63   BE_Affinity_2:
64     type: OS::Neutron::Port
65     properties:
66       network: { get_param: pcrf_pps_server_names }
67
68
69
70