Ask Your Question
0

Heat template to create VMs and assign Floating IPs to each VMs

asked 2015-09-04 03:11:18 -0500

Nitish Kumar gravatar image

Hi,

I need a heat template which will take number of VMs as input parameter. Based on this input parameter, VMs will be created and floating IPs will be assigned to each VMs. If I pass 5 as input parameter, then 5 VMs has to be created and floating IPs has to be assigned to each VM. How can i write such heat template?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-04 17:29:30 -0500

Hi, check this resource type http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Heat::ResourceGroup

You can use it with get_ param to select the number of instances to deploy.

Regards

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-04 03:11:18 -0500

Seen: 163 times

Last updated: Sep 04 '15