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
36 label: CPS network mask
37 description: CPS network mask
38 pcrf_security_group_name:
40 label: security group name
41 description: the name of security group
45 description: PCRF VNF Id
49 type: OS::Heat::SoftwareConfig
54 template: { get_file: cloud-nimbus.sh }
56 $vm_name: { get_param: pcrf_pps_server_name }
58 type: OS::Heat::CloudConfig
62 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
66 template: { get_file: nimbus-ethernet }
69 $ip: { get_param: pcrf_cps_net_ip }
70 $netmask: { get_param: pcrf_cps_net_mask }
72 - ifdown eth0 && ifup eth0
75 type: OS::Heat::MultipartMime
78 - config: { get_resource: network}
79 - config: { get_resource: script_init}
82 type: OS::Nova::Server
85 name: { get_param: pcrf_pps_server_name }
86 image: { get_param: pcrf_pps_image_name }
87 flavor: { get_param: pcrf_pps_flavor_name }
88 availability_zone: { get_param: availabilityzone_name }
90 - port: { get_resource: pcrf_pps_port_0}
93 get_resource: pcrf_server_init
95 vnf_id: {get_param: pcrf_vnf_id}
98 type: OS::Neutron::Port
100 network: { get_param: pcrf_cps_net_name }
102 - ip_address: { get_param: pcrf_cps_net_ip }
103 security_groups: [{ get_param: pcrf_security_group_name }]