Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add more IP networks to IPV4_NETWORKS and IPV6_NETWORKS
[csit.git]
/
resources
/
libraries
/
python
/
IPv4NodeAddress.py
diff --git
a/resources/libraries/python/IPv4NodeAddress.py
b/resources/libraries/python/IPv4NodeAddress.py
index
49ce41b
..
6759935
100644
(file)
--- a/
resources/libraries/python/IPv4NodeAddress.py
+++ b/
resources/libraries/python/IPv4NodeAddress.py
@@
-21,9
+21,7
@@
from ipaddress import IPv4Network
from resources.libraries.python.topology import Topology
# Default list of IPv4 subnets
from resources.libraries.python.topology import Topology
# Default list of IPv4 subnets
-IPV4_NETWORKS = ['20.20.20.0/24',
- '10.10.10.0/24',
- '1.1.1.0/30']
+IPV4_NETWORKS = ['192.168.{}.0/24'.format(i) for i in range(1, 100)]
class IPv4NetworkGenerator(object):
class IPv4NetworkGenerator(object):