diff options
| author | John Tran <jtran@attinteractive.com> | 2011-08-01 12:37:12 -0700 |
|---|---|---|
| committer | John Tran <jtran@attinteractive.com> | 2011-08-01 12:37:12 -0700 |
| commit | e72fafbf76ed456039426a96dd65d2c148dffa29 (patch) | |
| tree | 85b024a062157933d3e980b5ce1f4c51053c2155 /bin/stack | |
| parent | 5072bce5102d94ed07b3475d0ace107d45b86a6c (diff) | |
adding a function with logic to make the creation of networks validation a bit smarter:
- detects if the cidr is already in use
- when specifying a supernet to be split into smaller subnets via num_networks && network_size, ensures none of the returned subnets are in use by either a subnet of the same size and range, nor a SMALLER size within the same range.
- detects if splitting a supernet into # of num_networks && network_size will fit
- detects if the supernet/cidr specified is conflicting with a network cidr that currently exists that may be a larger supernet already encompassing the specified cidr.
"
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
