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

Jay Lau jay.lau.513 at gmail.com
Tue Jan 27 02:34:47 UTC 2015


2015-01-27 10:28 GMT+08:00 Qiming Teng <tengqim at linux.vnet.ibm.com>:

> 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?
>
The pool was created by a tenant user as heat do not have such kind of
resource type for now.  Once the pool was created, I want to use the ports
in my stack resources.

>
> 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
>
>
> __________________________________________________________________________
> 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
>



-- 
Thanks,

Jay Lau (Guangya Liu)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150127/ef2467e3/attachment.html>


More information about the OpenStack-dev mailing list