push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-validation-lib / openecomp-sdc-validation-core / src / test / resources / heatTreeValidationOutput / hot-nimbus-psm_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   pcrf_images:
48     type: string
49     label: PCRF VNF Id
50     description: PCRF VNF Id
51   pcrf_network_v0_ips:
52     type: string
53     label: PCRF VNF Id
54     description: PCRF VNF Id
55   network_net_id:
56     type: string
57     label: PCRF VNF Id
58     description: PCRF VNF Id
59
60
61 resources:
62   server_pcrf_pps_001:
63     type: nested-pps_v1.0.yaml
64     properties:
65       pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
66       pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
67       pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
68       availabilityzone_name: { get_param: availabilityzone_name }
69       pcrf_security_group_name: { get_param: pcrf_security_group_name }
70       pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
71       pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
72       pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
73       pcrf_vnf_id: {get_param: pcrf_vnf_id}
74
75
76   resource_illegal_image:
77     type: OS::Nova::Server
78     properties:
79       name: { get_param: [pcrf_pps_server_names, 0] }
80       image: {get_param: pcrf_images}
81       flavor: {get_param: pcrf_flavor_11}
82       metadata:
83         vnf_id: { get_param: pcrf_vnf_id }
84         vf_module_id: { get_param: pcrf_vnf_module_id }
85
86   resource_illegal_network_1:
87     type: OS::Neutron::Port
88     properties:
89       name: { get_param: [pcrf_pps_server_names, 0] }
90       network: {get_param: network_net_id}
91
92   resource_illegal_network_2:
93     type: OS::Neutron::Port
94     properties:
95       name: { get_param: [pcrf_pps_server_names, 0] }
96       network: {get_param: network_net_id}
97       fixed_ips:
98         - ip_address: {get_param: pcrf_network_v0_ips}
99
100   availability_zone_illegal_name_2:
101     type: OS::Nova::Server
102     properties:
103       name: { get_param: [pcrf_pps_server_names, 0] }
104       availability_zone: {get_param: availability_zone}
105       metadata:
106         vnf_id: { get_param: pcrf_vnf_id }
107         vf_module_id: { get_param: pcrf_vnf_module_id }
108
109