How to modify hot template to allocate my own ip in the created instances.My Testbed lies on nimbus.

asked 2014-04-07 05:53:30 -0600

Santosh_HCL Technologies gravatar image

I have a heat template which creates instance automatically on nimbus(cisco cloud) with our given image.But it allocates the ip for the instances automatically.I want to give user defined ip to created instances.Please suggested me steps how to give my ip,so that it will create stack and allocate my defined ips.

edit retag flag offensive close merge delete


You'll need to provide enough template snippets to provide some suggestions here.

Steve Baker gravatar imageSteve Baker ( 2014-04-13 21:49:42 -0600 )edit

heat_template_version: 2013-05-23

description: Simple template to deploy a single compute instance

resources: my_instance: type: OS::Nova::Server properties: image: pam_sarsivas flavor: GP-Large networks: - uuid: 9b5e09f7-1be3-4d1a-a65b-4cca1433ca79 - port: { get_resource: server2_port }

This is my demo Template.Which takes image pam_sarsivas and flavor is GP-Large and create an instance on its own. The sample command to invoke would be as follows:- heat stack-create $stack-name --template-file="$template-file"

Santosh_HCL Technologies gravatar imageSantosh_HCL Technologies ( 2014-04-13 23:52:51 -0600 )edit

you are not providing a template that can be diagnosed. Where is 'server2_port' defined?

Qiming gravatar imageQiming ( 2014-04-26 11:39:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-04-02 13:45:01 -0600

Axiom gravatar image

Check out using the 'fixed_ips' parameter for OS::Neutron::Port, It may get you what you are looking for. (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-07 05:53:30 -0600

Seen: 174 times

Last updated: Apr 07 '14