diff --git a/tests/acl/templates/acltb_test_rules.j2 b/tests/acl/templates/acltb_test_rules.j2 index bddddd82ada..a654dbd21a9 100644 --- a/tests/acl/templates/acltb_test_rules.j2 +++ b/tests/acl/templates/acltb_test_rules.j2 @@ -31,7 +31,7 @@ }, "ip": { "config": { - "destination-ip-address": "192.168.0.16/32" + "destination-ip-address": "192.168.8.1/32" } } }, @@ -46,7 +46,7 @@ }, "ip": { "config": { - "destination-ip-address": "172.16.2.0/32" + "destination-ip-address": "192.168.136.1/32" } } }, @@ -228,7 +228,7 @@ }, "ip": { "config": { - "destination-ip-address": "192.168.0.17/32" + "destination-ip-address": "192.168.16.1/32" } } }, @@ -243,7 +243,7 @@ }, "ip": { "config": { - "destination-ip-address": "172.16.3.0/32" + "destination-ip-address": "192.168.144.1/32" } } }, diff --git a/tests/acl/templates/acltb_test_rules_part_2.j2 b/tests/acl/templates/acltb_test_rules_part_2.j2 index bddddd82ada..a654dbd21a9 100644 --- a/tests/acl/templates/acltb_test_rules_part_2.j2 +++ b/tests/acl/templates/acltb_test_rules_part_2.j2 @@ -31,7 +31,7 @@ }, "ip": { "config": { - "destination-ip-address": "192.168.0.16/32" + "destination-ip-address": "192.168.8.1/32" } } }, @@ -46,7 +46,7 @@ }, "ip": { "config": { - "destination-ip-address": "172.16.2.0/32" + "destination-ip-address": "192.168.136.1/32" } } }, @@ -228,7 +228,7 @@ }, "ip": { "config": { - "destination-ip-address": "192.168.0.17/32" + "destination-ip-address": "192.168.16.1/32" } } }, @@ -243,7 +243,7 @@ }, "ip": { "config": { - "destination-ip-address": "172.16.3.0/32" + "destination-ip-address": "192.168.144.1/32" } } }, diff --git a/tests/acl/test_acl.py b/tests/acl/test_acl.py index 78c4426e04b..19bf5a285a8 100644 --- a/tests/acl/test_acl.py +++ b/tests/acl/test_acl.py @@ -32,12 +32,12 @@ ACL_RULES_PART_TEMPLATES = tuple('acltb_test_rules_part_{}.j2'.format(i) for i in xrange(1, 3)) ACL_REMOVE_RULES_FILE = 'acl_rules_del.json' -DST_IP_TOR = '172.16.1.0' -DST_IP_TOR_FORWARDED = '172.16.2.0' -DST_IP_TOR_BLOCKED = '172.16.3.0' -DST_IP_SPINE = '192.168.0.0' -DST_IP_SPINE_FORWARDED = '192.168.0.16' -DST_IP_SPINE_BLOCKED = '192.168.0.17' +DST_IP_TOR = '192.168.0.1' +DST_IP_TOR_FORWARDED = '192.168.8.1' +DST_IP_TOR_BLOCKED = '192.168.16.1' +DST_IP_SPINE = '192.168.128.1' +DST_IP_SPINE_FORWARDED = '192.168.136.1' +DST_IP_SPINE_BLOCKED = '192.168.144.1' LOG_EXPECT_ACL_TABLE_CREATE_RE = '.*Created ACL table.*' LOG_EXPECT_ACL_TABLE_REMOVE_RE = '.*Successfully deleted ACL table.*'