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
50 template: { get_file: cloud-nimbus.sh }
52 $vm_name: { get_param: pcrf_pps_server_name }
54 type: OS::Heat::CloudConfig
58 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
62 template: { get_file: nimbus-ethernet }
65 $ip: { get_param: pcrf_cps_net_ip }
66 $netmask: { get_param: pcrf_cps_net_mask }
68 - ifdown eth0 && ifup eth0
71 type: OS::Heat::MultipartMime
74 - config: { get_resource: network}
75 - config: { get_resource: script_init}
78 type: OS::Nova::Server
81 name: { get_param: pcrf_pps_server_name }
82 image: { get_param: pcrf_pps_image_name }
83 flavor: { get_param: pcrf_pps_flavor_name }
84 availability_zone: { get_param: availabilityzone_name }
86 - port: { get_resource: pcrf_pps_port_0}
89 get_resource: pcrf_server_init
91 vnf_id: {get_param: pcrf_vnf_id}
94 type: OS::Neutron::Port
96 network: { get_param: pcrf_cps_net_name }
98 - ip_address: { get_param: pcrf_cps_net_ip }
99 security_groups: [{ get_param: pcrf_security_group_name }]