On Tue, Jan 27, 2015 at 10:34:47AM +0800, Jay Lau wrote: > 2015-01-27 10:28 GMT+08:00 Qiming Teng <[email protected]>: > > > 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: > > [email protected]?subject:unsubscribe > > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > > __________________________________________________________________________ > > OpenStack Development Mailing List (not for usage questions) > > Unsubscribe: [email protected]?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: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
