Increase network range
This commit is contained in:
parent
979fe862f9
commit
06bebc5db7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user