1 heat_template_version: 2013-05-23
3 description: heat template that creates PCRF Cluman stack
8 label: PCRF CM server name
9 description: PCRF CM server name
13 description: PCRF CM image name
16 label: PCRF CM flavor name
17 description: flavor name of PCRF CM 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: OAM network name
37 description: OAM network name
41 description: OAM network ip
44 label: CPS network gateway
45 description: CPS network gateway
48 label: CPS network mask
49 description: CPS network mask
52 label: CPS Cluman Cinder Volume
53 description: CPS Cluman Cinder Volume
54 pcrf_security_group_name:
56 label: security group name
57 description: the name of security group
61 description: PCRF VNF Id
65 type: OS::Heat::CloudConfig
69 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
73 template: { get_file: nimbus-ethernet }
76 $ip: { get_param: pcrf_cps_net_ip }
77 $netmask: { get_param: pcrf_cps_net_mask }
78 - path: /etc/sysconfig/network-scripts/ifcfg-eth1
82 template: { get_file: nimbus-ethernet-gw }
85 $ip: { get_param: pcrf_oam_net_ip }
86 $netmask: { get_param: pcrf_oam_net_mask }
87 $gateway: { get_param: pcrf_oam_net_gw }
89 - ifdown eth0 && ifup eth0
90 - ifdown eth1 && ifup eth1
92 type: OS::Heat::SoftwareConfig
97 template: { get_file: cloud-nimbus.sh }
99 $vm_name: { get_param: pcrf_pcm_server_name }
101 type: OS::Heat::MultipartMime
104 - config: { get_resource: network}
105 - config: { get_resource: script_init}
108 type: OS::Nova::Server
111 name: { get_param: pcrf_pcm_server_name }
112 image: { get_param: pcrf_pcm_image_name }
113 flavor: { get_param: pcrf_pcm_flavor_name }
114 availability_zone: { get_param: availabilityzone_name }
116 - port: { get_resource: pcrf_pcm_port_0}
117 - port: { get_resource: pcrf_pcm_port_1}
118 user_data_format: RAW
120 get_resource: pcrf_server_init
122 vnf_id: {get_param: pcrf_vnf_id}
125 type: OS::Neutron::Port
127 network: { get_param: pcrf_cps_net_name }
129 - ip_address: { get_param: pcrf_cps_net_ip }
130 security_groups: [{ get_param: pcrf_security_group_name }]
133 type: OS::Neutron::Port
135 network: { get_param: pcrf_oam_net_name }
137 - ip_address: { get_param: pcrf_oam_net_ip }
138 security_groups: [{ get_param: pcrf_security_group_name }]
141 type: OS::Cinder::VolumeAttachment
143 volume_id: { get_param: pcrf_pcm_volume_id }
145 instance_uuid: { get_resource: pcrf_server_pcm }
149 description: the pcm server id
150 value: { get_resource: pcrf_server_pcm }