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: CPS Cluman Cinder Volume
37 description: CPS Cluman Cinder Volume
40 label: security group name
41 description: the name of security group
44 label: OAM network name
45 description: OAM network name
50 type: OS::Heat::CloudConfig
54 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
58 template: { get_file: "file:///nimbus-ethernet" }
61 $ip: { get_param: cps_net_ip }
62 $netmask: { get_param: cps_net_mask }
64 - ifdown eth0 && ifup eth0
65 - ifdown eth1 && ifup eth1
67 type: OS::Heat::SoftwareConfig
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: pcm_server_name }
82 image: { get_param: pcm_image_name }
83 flavor: { get_param: pcm_flavor_name }
84 availability_zone: { get_param: availabilityzone_name }
86 - port: { get_resource: pcm_port_0}
87 - port: { get_resource: pcm_port_1}
90 volume_id: { get_param: pcm_vol}
93 get_resource: server_init
96 type: OS::Neutron::Port
98 network: { get_param: cps_net_name }
100 - ip_address: { get_param: cps_net_ip }
101 security_groups: [{ get_param: security_group_name }]
104 type: OS::Neutron::Port
106 network: { get_param: oam_net_name }
108 - ip_address: { get_param: oam_net_ip }
109 security_groups: [{ get_param: security_group_name }]
112 # type: OS:: Cinder::VolumeAttachment
114 # volume_id: { get_param: pcm_vol }
115 # mountpoint: /dev/vdb
116 # instance_uuid: { get_resource: server_pcm }
119 description: the pcm nova service id
120 value: { get_resource: server_pcm }