<div dir="ltr">TLDR I fixed it by manually changing database, not sure about consequences yet, but it's working.<div><br></div><div>I first went ahead to check the neutron source code and noticed that the datamodel actually supports multiple allocation pools. Just the apis don't support it?</div><div><br></div><div>So by manually changing the database I could get my desired result multiple allocation pools in a single subnet.</div><div>The following mysql statements were executed:</div><div>use neutron;</div><div>insert into ipallocationpools VALUES (UUID(), "c58d4e69-d614-4d05-91e5-95b5cc48b670", "192.168.1.15", "192.168.1.15");<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 12, 2014 at 3:35 AM, Sławek Kapłoński <span dir="ltr"><<a href="mailto:slawek@kaplonski.pl" target="_blank">slawek@kaplonski.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I don't know if it is possible to add such fragmented allocation pool to one<br>
subnet but You can add two subnets to Your network and maybe that will solve<br>
Your problem?<br>
<br>
---<br>
Pozdrawiam<br>
Sławek Kapłoński<br>
<a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a><br>
<br>
Dnia środa, 10 września 2014 14:26:15 Sam Stoelinga pisze:<br>
<div><div class="h5">> Hi,<br>
><br>
> How can I setup neutron so that it supports a range of fragmented ips<br>
> within a subnet? Version: Icehouse<br>
><br>
> For example I have the following floating ips available for use:<br>
> 192.168.1.10 192.168.1.15<br>
> but 192.168.1.11-14 can't be used as floating ips. With nova-network we<br>
> could add them 1 by 1.<br>
><br>
> I tried to do this:<br>
> neutron subnet-update c58d4e69-d614-4d05-91e5-95b5cc48b670<br>
> --allocation-pools start=192.168.1.10,end=192.168.1.10 --allocation-pools<br>
> start=192.168.1.15,end=192.168.1.15<br>
><br>
> The environment is a lab environment where they gave a limited amount of<br>
> floating ips to use. As example I used a private ip space, but in the<br>
> actual lab environment I am using a public internet routable ipv4 addresses<br>
> as floating ip, hence the restriction and fragmentation of the ip range.<br>
><br>
> Regards,<br>
> Sam<br>
<br>
</div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>