summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJohn Tran <jtran@attinteractive.com>2011-08-14 04:10:26 +0000
committerTarmac <>2011-08-14 04:10:26 +0000
commita538f400b5ced8357fa0e892fffd5a01b8e63cec (patch)
tree103c701d706f63962eac1c6501757b91270907c8 /nova/api
parent452b343811311acbe35ccb5a896569127647f613 (diff)
parent353fa4871069cf0b926f09aa00496002f65584cb (diff)
downloadnova-a538f400b5ced8357fa0e892fffd5a01b8e63cec.tar.gz
nova-a538f400b5ced8357fa0e892fffd5a01b8e63cec.tar.xz
nova-a538f400b5ced8357fa0e892fffd5a01b8e63cec.zip
added logic to make the creation of networks (IPv4 only) validation a bit smarter:
- detects if the cidr is already in use - detects if any existing smaller networks are within the range of requested cidr(s) - detects if splitting a supernet into # of num_networks && network_size will fit - detects if requested cidr(s) are within range of already existing supernet (larger cidr). IPv6 logic remains intact yet had not been improved by this code.
Diffstat (limited to 'nova/api')
0 files changed, 0 insertions, 0 deletions