1 heat_template_version: 2013-05-23
\r
3 description: heat template that creates PCRF Session Manager stack
\r
6 pcrf_psm_server_name:
\r
8 label: PCRF SM server name
\r
9 description: PCRF SM server name
\r
10 pcrf_psm_image_name:
\r
13 description: PCRF SM image name
\r
14 pcrf_psm_flavor_name:
\r
16 label: PCRF SM flavor name
\r
17 description: flavor name of PCRF SM 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::CloudConfig
\r
49 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
\r
53 template: { get_file: nimbus-ethernet }
\r
56 $ip: { get_param: pcrf_cps_net_ip }
\r
57 $netmask: { get_param: pcrf_cps_net_mask }
\r
59 - ifdown eth0 && ifup eth0
\r
61 type: OS::Heat::SoftwareConfig
\r
66 template: { get_file: cloud-nimbus.sh }
\r
68 $vm_name: { get_param: pcrf_psm_server_name }
\r
70 type: OS::Heat::MultipartMime
\r
73 - config: { get_resource: network}
\r
74 - config: { get_resource: script_init}
\r
77 type: OS::Nova::Server
\r
79 config_drive: "True"
\r
80 name: { get_param: pcrf_psm_server_name }
\r
81 image: { get_param: pcrf_psm_image_name }
\r
82 flavor: { get_param: pcrf_psm_flavor_name }
\r
83 availability_zone: { get_param: availabilityzone_name }
\r
85 - port: { get_resource: psm01_port_0}
\r
86 user_data_format: RAW
\r
88 get_resource: pcrf_server_init
\r
90 vnf_id: {get_param: pcrf_vnf_id}
\r
91 #scheduler_hints: {group: { get_resource: servergroup_nimbus }}
\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 }]