summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJohn Tran <jtran@attinteractive.com>2011-08-01 12:37:12 -0700
committerJohn Tran <jtran@attinteractive.com>2011-08-01 12:37:12 -0700
commite72fafbf76ed456039426a96dd65d2c148dffa29 (patch)
tree85b024a062157933d3e980b5ce1f4c51053c2155 /bin
parent5072bce5102d94ed07b3475d0ace107d45b86a6c (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')
0 files changed, 0 insertions, 0 deletions