[openstack-dev] [Neutron][Heat] How to bind IP&MAC for a stack VM resources

Qiming Teng tengqim at linux.vnet.ibm.com
Tue Jan 27 02:28:52 UTC 2015


On Tue, Jan 27, 2015 at 10:13:59AM +0800, Jay Lau wrote:
> Greetings,
> 
> I have a question related to MAC and IP binding, I know that we can create
> a port to bind a private IP and MAC together then create VM using this
> specified port to make sure the VM can use the the IP and MAC in this port.
> This can make sure one VM can have IP and MAC as customer required.
> 
> The problem is how to handle this in HEAT, I can create a pool of neutron
> ports which have a list of MAC&IP biniding, then I want to create a stack

Who maintains that pool? Is the maintainer providing an API for port
allocation? Or ... the pool itself is a new resource type?

Regards,
  Qiming

> with heat to use the ports that I created before to make sure all VMs in
> the stack can have the IP&MAC specified in my port pool, I did not find a
> solution for this, does anyone can give some suggestions for how to
> configure this in heat template to achieve this goal?
> 
> -- 
> Thanks,
> 
> Jay Lau (Guangya Liu)

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list