<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Using a /32 has use cases. When trying
to build a L3 only routed network /32 routes are required. While
it can be inconvenient for the more generic L2 network use case, I
wouldn't remove it since there are other use cases where it is
useful.<br>
<br>
-Carl<br>
<br>
On 01/21/2014 12:35 PM, Paul Ward wrote:<br>
</div>
<blockquote
cite="mid:OF021391EA.CE7CD9DE-ON86257C67.00701FF2-86257C67.007116F4@us.ibm.com"
type="cite">
<p><font face="sans-serif" size="2">Currently,
NeutronDbPluginV2._validate_allocation_pools() does some very
basic checking to be sure the specified subnet is valid. One
thing that's missing is checking for a CIDR of /32. A subnet
with one IP address in it is unusable as the sole IP address
will be allocated to the gateway, and thus no IPs are left
over to be allocated to VMs.</font><br>
<br>
<font face="sans-serif" size="2">The fix for this is simple. In
NeutronDbPluginV2._validate_allocation_pools(), we'd check for
start_ip == end_ip and raise an exception if that's true.</font><br>
<br>
<font face="sans-serif" size="2">I've opened lauchpad bug report
1271311 (<a moz-do-not-send="true"
href="https://bugs.launchpad.net/neutron/+bug/1271311">https://bugs.launchpad.net/neutron/+bug/1271311</a>)
for this, but wanted to start a discussion here to see if
others find this enhancement to be a valuable addition.</font>
<br>
</p>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>