[openstack-dev] [api][neutron] Best API for generating subnets from pool

Dean Troyer dtroyer at gmail.com
Fri Mar 20 18:58:04 UTC 2015


On Fri, Mar 20, 2015 at 1:51 PM, Carl Baldwin <carl at ecbaldwin.net> wrote:

> On Fri, Mar 20, 2015 at 12:18 PM, Jay Pipes <jaypipes at gmail.com> wrote:
> > {
> >   'network_id': 'meh',
> >   'gateway_ip_template': '*.*.*.1'
> >   'prefix_len': 24,
> >   'pool_id': 'some_pool'
> > }
>


> I thought about doing *s but in the world of Classless Inter-Domain
> Routing where not all networks are /24, /16, or /8 it seemed a bit
> imprecise.  But, maybe that doesn't matter.
>

So do a CIDR host address:  0.0.0.1/24 can be merged into a subnet just as
easily as it can be masked out.

dt

-- 

Dean Troyer
dtroyer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150320/a31ba81c/attachment.html>


More information about the OpenStack-dev mailing list