Prevent the user from creating a single IP address sized network
If the user doesn't specify a mask when creating a subnet, the mask
defaults to /32 (IPv4) or /128 (IPv6) making it impossible to allocate
an IP address when later launching an instance. This patch prevents
creating a subnet with such a small mask.
Reviewed: https:/ /review. openstack. org/21120 github. com/openstack/ horizon/ commit/ 1af5e786ae37c7b 65cb9384738465b 87d851000a
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 1af5e786ae37c7b 65cb9384738465b 87d851000a
Author: Julie Pichon <email address hidden>
Date: Fri Jan 25 16:26:20 2013 +0000
Prevent the user from creating a single IP address sized network
If the user doesn't specify a mask when creating a subnet, the mask
defaults to /32 (IPv4) or /128 (IPv6) making it impossible to allocate
an IP address when later launching an instance. This patch prevents
creating a subnet with such a small mask.
Fixes bug #1102504
Change-Id: I4962e0a416b8ec 9aca013e4178399 4f65c22a989