Increase network range

This commit is contained in:
vic 2012-09-26 17:10:30 +04:00
parent 979fe862f9
commit 06bebc5db7

View File

@ -12,7 +12,7 @@ class NetworkPoolException(Exception):
class IpNetworksPool:
def __init__(self, net_addresses=None, prefix=24):
if not net_addresses:
net_addresses = ['10.0.0.0/20']
net_addresses = ['10.0.0.0/16']
networks = []
for address in net_addresses:
if not isinstance(address, IPv4Network):