push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-core / src / test / resources / heatTreeValidationOutput / 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     default: True
13     label: PCRF PS image name
14     description: PCRF PS image name
15   pcrf_pps_flavor_name:
16     type: string
17     label: PCRF PS flavor name
18     description: flavor name of PCRF PS instance
19   availabilityzone_name:
20     type: string
21     label: availabilityzone name
22     description: availabilityzone name
23   pcrf_cps_net_name:
24     type: string
25     label: CPS network name
26     description: CPS network name
27   pcrf_cps_net_ips:
28     type: comma_delimited_list
29     label: CPS network ips
30     description: CPS network ips
31   pcrf_cps_net_mask:
32     type: string
33     label: CPS network mask
34     description: CPS network mask
35   pcrf_security_group_name:
36     type: string
37     label: security group name
38     description: the name of security group
39   pcrf_vnf_id:
40     type: string
41     label: PCRF VNF Id
42     description: PCRF VNF Id
43   availability_zone_1:
44     type: string
45     label: PCRF VNF Id
46     description: PCRF VNF Id
47
48
49 resources:
50   server_pcrf_pps_001:
51     type: nested-pps_v1.0.yaml
52     properties:
53       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
54       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
55       pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
56       availabilityzone_name: { get_param: availabilityzone_name }
57       pcrf_security_group_name: { get_param: pcrf_security_group_name }
58       pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
59       pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
60       pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
61       pcrf_vnf_id: {get_param: pcrf_vnf_id}
62
63
64   availability_zone_legal_name_1:
65     type: OS::Nova::Server
66     properties:
67       name: { get_param: [pcrf_pps_server_names, 0] }
68       availability_zone: {get_param: availability_zone_1}
69       metadata:
70         vnf_id: { get_param: pcrf_vnf_id }
71         vf_module_id: { get_param: pcrf_vnf_module_id }
72
73   availability_zone_illegal_name_1:
74     type: OS::Nova::Server
75     properties:
76       name: { get_param: [pcrf_pps_server_names, 0] }
77       availability_zone: {get_param: availability_zone_name}
78       metadata:
79         vnf_id: { get_param: pcrf_vnf_id }
80         vf_module_id: { get_param: pcrf_vnf_module_id }
81
82   availability_zone_illegal_name_2:
83     type: OS::Nova::Server
84     properties:
85       name: { get_param: [pcrf_pps_server_names, 0] }
86       availability_zone: {get_param: availability_zone}
87       metadata:
88         vnf_id: { get_param: pcrf_vnf_id }
89         vf_module_id: { get_param: pcrf_vnf_module_id }
90
91   SecurityGroup_expose:
92     type: OS::Neutron::SecurityGroup
93
94