1 heat_template_version: 2013-05-23
3 description: nested heat template that creates a PCRF OAM node stack
8 label: PCRF OAM server name
9 description: PCRF OAM server name
13 description: PCRF OAM image name
16 label: PCRF OAM flavor name
17 description: flavor name of PCRF OAM 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 Arbiter LB VIP
37 description: OAM Arbiter LB VIP
40 label: OAM network name
41 description: OAM network name
45 description: OAM network ip
48 label: CPS network gateway
49 description: CPS network gateway
52 label: CPS network mask
53 description: CPS network mask
56 label: CPS OAM Cinder Volume
57 description: CPS OAM Cinder Volume
58 pcrf_security_group_name:
60 label: security group name
61 description: the name of security group
65 description: PCRF VNF Id
69 type: OS::Heat::CloudConfig
73 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
77 template: { get_file: nimbus-ethernet }
80 $ip: { get_param: pcrf_cps_net_ip }
81 $netmask: { get_param: pcrf_cps_net_mask }
82 - path: /etc/sysconfig/network-scripts/ifcfg-eth1
86 template: { get_file: nimbus-ethernet-gw }
89 $ip: { get_param: pcrf_oam_net_ip }
90 $netmask: { get_param: pcrf_oam_net_mask }
91 $gateway: { get_param: pcrf_oam_net_gw }
93 - ifdown eth0 && ifup eth0
94 - ifdown eth1 && ifup eth1
96 type: OS::Heat::SoftwareConfig
101 template: { get_file: cloud-nimbus.sh }
103 $vm_name: { get_param: pcrf_oam_server_name }
105 type: OS::Heat::MultipartMime
108 - config: { get_resource: network}
109 - config: { get_resource: script_init}
112 type: OS::Nova::Server
115 name: { get_param: pcrf_oam_server_name }
116 image: { get_param: pcrf_oam_image_name }
117 flavor: { get_param: pcrf_oam_flavor_name }
118 availability_zone: { get_param: availabilityzone_name }
120 - port: { get_resource: pcrf_oam_port_0}
121 - port: { get_resource: pcrf_oam_port_1}
122 user_data_format: RAW
124 get_resource: pcrf_server_init
126 vnf_id: {get_param: pcrf_vnf_id}
129 type: OS::Neutron::Port
131 network: { get_param: pcrf_cps_net_name }
133 - ip_address: { get_param: pcrf_cps_net_ip }
134 allowed_address_pairs:
135 - ip_address: { get_param: pcrf_arbiter_vip }
136 security_groups: [{ get_param: pcrf_security_group_name }]
139 type: OS::Neutron::Port
141 network: { get_param: pcrf_oam_net_name }
143 - ip_address: { get_param: pcrf_oam_net_ip }
144 security_groups: [{ get_param: pcrf_security_group_name }]
146 pcrf_oam_vol_attachment:
147 type: OS::Cinder::VolumeAttachment
149 volume_id: { get_param: pcrf_oam_volume_id }
151 instance_uuid: { get_resource: pcrf_server_oam }
154 pcrf_oam_vol_attachment_id:
155 description: the pcrf_oam_vol_attachment_id id
156 value: { get_resource: pcrf_oam_vol_attachment }