1 heat_template_version: 2013-05-23
3 description: heat template that creates PCRF Policy Server stack
9 label: PCRF PS server name
10 description: PCRF PS server name
13 label: PCRF PS image name
14 description: PCRF PS image name
17 label: PCRF PS flavor name
18 description: flavor name of PCRF PS instance
21 label: availabilityzone name
22 description: availabilityzone name
25 label: CPS network name
26 description: CPS network name
30 description: CPS network ip
33 label: CPS network mask
34 description: CPS network mask
35 pcrf_security_group_name:
37 label: security group name
38 description: the name of security group
42 description: PCRF VNF Id
46 type: OS::Heat::SoftwareConfig
52 $vm_name: { get_param: pcrf_pps_server_name }
54 type: OS::Heat::CloudConfig
58 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
64 $ip: { get_param: pcrf_cps_net_ip }
65 $netmask: { get_param: pcrf_cps_net_mask }
67 - ifdown eth0 && ifup eth0
70 type: OS::Heat::MultipartMime
73 - config: { get_resource: network}
74 - config: { get_resource: script_init}
77 type: OS::Nova::Server
80 name: { get_param: pcrf_pps_server_name }
81 image: { get_param: pcrf_pps_image_name }
82 flavor: { get_param: pcrf_pps_flavor_name }
83 availability_zone: { get_param: availability_zone_0 }
85 - port: { get_resource: pcrf_pps_port_0}
88 get_resource: pcrf_server_init
90 vnf_id: {get_param: pcrf_vnf_id}
93 type: OS::Neutron::Port
95 network: { get_param: pcrf_cps_net_name }
97 - ip_address: { get_param: pcrf_cps_net_ip }
98 security_groups: [{ get_param: pcrf_security_group_name }]