1 heat_template_version: 2013-05-23
\r
3 description: heat template that creates PCRF Policy Server stack
\r
6 pcrf_pps_server_name:
\r
8 label: PCRF PS server name
\r
9 description: PCRF PS server name
\r
10 pcrf_pps_image_name:
\r
12 label: PCRF PS image name
\r
13 description: PCRF PS image name
\r
14 pcrf_pps_flavor_name:
\r
16 label: PCRF PS flavor name
\r
17 description: flavor name of PCRF PS instance
\r
18 availabilityzone_name:
\r
20 label: availabilityzone name
\r
21 description: availabilityzone name
\r
24 label: CPS network name
\r
25 description: CPS network name
\r
28 label: CPS network ip
\r
29 description: CPS network ip
\r
32 label: CPS network mask
\r
33 description: CPS network mask
\r
34 pcrf_security_group_name:
\r
36 label: security group name
\r
37 description: the name of security group
\r
41 description: PCRF VNF Id
\r
45 type: OS::Heat::SoftwareConfig
\r
50 template: { get_file: cloud-nimbus.sh }
\r
52 $vm_name: { get_param: pcrf_pps_server_name }
\r
54 type: OS::Heat::CloudConfig
\r
58 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
\r
62 template: { get_file: nimbus-ethernet }
\r
65 $ip: { get_param: pcrf_cps_net_ip }
\r
66 $netmask: { get_param: pcrf_cps_net_mask }
\r
68 - ifdown eth0 && ifup eth0
\r
71 type: OS::Heat::MultipartMime
\r
74 - config: { get_resource: network}
\r
75 - config: { get_resource: script_init}
\r
78 type: OS::Nova::Server
\r
80 config_drive: "True"
\r
81 name: { get_param: pcrf_pps_server_name }
\r
82 image: { get_param: pcrf_pps_image_name }
\r
83 flavor: { get_param: pcrf_pps_flavor_name }
\r
84 availability_zone: { get_param: availabilityzone_name }
\r
86 - port: { get_resource: pcrf_pps_port_0}
\r
87 user_data_format: RAW
\r
89 get_resource: pcrf_server_init
\r
91 vnf_id: {get_param: pcrf_vnf_id}
\r
94 type: OS::Neutron::Port
\r
96 network: { get_param: pcrf_cps_net_name }
\r
98 - ip_address: { get_param: pcrf_cps_net_ip }
\r
99 security_groups: [{ get_param: pcrf_security_group_name }]
\r