X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftest_data%2Fsoftwire%2Fmap_e_domains.py;h=44cb661b0168dd5d8a0e5312edecd87ebbda3364;hb=fa14d9f454a7248a71135375bfb0758cdb532ca7;hp=3637b4e1e521e01cd98645172b0d043433bef88a;hpb=a1316b18443ca5360f1304fc74dee33872dd95eb;p=csit.git diff --git a/resources/test_data/softwire/map_e_domains.py b/resources/test_data/softwire/map_e_domains.py index 3637b4e1e5..44cb661b01 100644 --- a/resources/test_data/softwire/map_e_domains.py +++ b/resources/test_data/softwire/map_e_domains.py @@ -33,7 +33,10 @@ def get_variables(count): domain_sets = [] ip_sets = [] - for n1, n2 in sample(list(product(xrange(2, 224), xrange(0, 256))), count): + ip_product = [x for x in list(product(xrange(2, 224), xrange(0, 256))) + if x[0] != 127] + + for n1, n2 in sample(ip_product, count): v4_pfx = '{}.{}.0.0/16'.format(n1, n2) v6_pfx = '2001:{:x}{:x}::/48'.format(n1, n2) ipv6_br = '2001:ffff::1'