diff options
| author | John Tran <jtran@attinteractive.com> | 2011-08-14 04:10:26 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-08-14 04:10:26 +0000 |
| commit | a538f400b5ced8357fa0e892fffd5a01b8e63cec (patch) | |
| tree | 103c701d706f63962eac1c6501757b91270907c8 /nova/api | |
| parent | 452b343811311acbe35ccb5a896569127647f613 (diff) | |
| parent | 353fa4871069cf0b926f09aa00496002f65584cb (diff) | |
| download | nova-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
