[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 05:30:20 UTC 2015


On Tue, Jan 27, 2015 at 10:34:47AM +0800, Jay Lau wrote:
> 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.

Are you considering propose a spec to add that kind of a resource type
to Heat? Or you can try generating such a pool using ResourceGroup?
Then the question becomes referencing a member from a ResourceGroup, I
think.

Regards,
  Qiming

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

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