aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/IPv4NodeAddress.py
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-03-01 16:34:52 +0100
committerStefan Kobza <skobza@cisco.com>2016-03-04 16:13:00 +0000
commit3ea531a687827454360659f91aaa026001e75d4e (patch)
treebd9296c545264b21cdb7098b8f30f6425c04f65e /resources/libraries/python/IPv4NodeAddress.py
parent8adf454177cc4df3335a26cc7567add8a40870c4 (diff)
Add more IP networks to IPV4_NETWORKS and IPV6_NETWORKS
Change-Id: If340a21aac02f94aaf8a282f7b689c0f5d9aa438 Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/python/IPv4NodeAddress.py')
-rw-r--r--resources/libraries/python/IPv4NodeAddress.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/resources/libraries/python/IPv4NodeAddress.py b/resources/libraries/python/IPv4NodeAddress.py
index 49ce41b25c..67599359c8 100644
--- 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
-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):