1 heat_template_version: 2013-05-23
3 description: heat template that creates PCRF Policy Server stack
8 label: PCRF PS server name
9 description: PCRF PS server name
12 label: PCRF PS image name
13 description: PCRF PS image name
16 label: PCRF PS flavor name
17 description: flavor name of PCRF PS instance
18 availabilityzone_name:
20 label: availabilityzone name
21 description: availabilityzone name
24 label: CPS network name
25 description: CPS network name
29 description: CPS network ip
32 label: CPS network mask
33 description: CPS network mask
34 pcrf_security_group_name:
36 label: security group name
37 description: the name of security group
41 description: PCRF VNF Id
45 type: OS::Heat::SoftwareConfig
51 $vm_name: { get_param: pcrf_pps_server_name }
53 type: OS::Heat::CloudConfig
57 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
63 $ip: { get_param: pcrf_cps_net_ip }
64 $netmask: { get_param: pcrf_cps_net_mask }
66 - ifdown eth0 && ifup eth0
69 type: OS::Heat::MultipartMime
72 - config: { get_resource: network}
73 - config: { get_resource: script_init}
76 type: OS::Nova::Server
79 name: { get_param: pcrf_pps_server_name }
80 image: { get_param: pcrf_pps_image_name }
81 flavor: { get_param: pcrf_pps_flavor_name }
82 availability_zone: { get_param: availabilityzone_name }
84 - port: { get_resource: pcrf_pps_port_0}
87 get_resource: pcrf_server_init
89 vnf_id: {get_param: pcrf_vnf_id}
92 type: OS::Nova::ServerGroup
96 name: { get_param: pcrf_pps_server_name }
97 image: { get_param: pcrf_pps_image_name }
98 flavor: { get_param: pcrf_pps_flavor_name }
99 availability_zone: { get_param: availabilityzone_name }
101 - port: { get_resource: pcrf_pps_port_0}
102 user_data_format: RAW
104 get_resource: pcrf_server_init
106 vnf_id: {get_param: pcrf_vnf_id}
109 type: OS::Neutron::Port
111 network: { get_param: pcrf_cps_net_name }
113 - ip_address: { get_param: pcrf_cps_net_ip }
114 security_groups: [{ get_param: pcrf_security_group_name }]