diff options
author | Julien Danjou <julien.danjou@enovance.com> | 2012-02-14 16:31:46 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2012-03-07 17:26:52 +0100 |
commit | e430c8424a62d9d397980899ae0458a5e947704e (patch) | |
tree | 093912f7191f8af8691d4adb6e96e3eaf0aa8786 /nova/context.py | |
parent | d8324bb3d089acd444bd1639a3efc07e89556f69 (diff) | |
download | nova-e430c8424a62d9d397980899ae0458a5e947704e.tar.gz nova-e430c8424a62d9d397980899ae0458a5e947704e.tar.xz nova-e430c8424a62d9d397980899ae0458a5e947704e.zip |
nova-manage: allow use of /32 IP range
The current code does not allow to add an IP range which is /32, because
netaddr considers that there's no host in such a network. While this is
probably debatable, it disallow to add specific IP address in a pool, which
is really handy and was possible before.
This patch fix that by treating the /32 subnet as a special case.
Change-Id: I38685e6f1a3541519d1f2a9ec8d3b00dd522b44a
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions