Skip to content

Commit

Permalink
[action] [PR:16727] Prevent T2 BGP neighbors going down during ACL tests
Browse files Browse the repository at this point in the history
Description of PR
Summary:
Fixes sonic-net/sonic-buildimage#21183

Approach
What is the motivation for this PR?
Prevent T2 BGP neighbors going down during ACL tests

How did you do it?
Prevent last 64 bits of a DROP rule IP from being the same as a BGP neighbor

How did you verify/test it?
Run on T2 devices
T1 regression test: https://elastictest.org/scheduler/testplan/679c3507f5a74203a8e1b10b
  • Loading branch information
arlakshm authored Feb 1, 2025
2 parents 29caf31 + ce87b05 commit 8ca36f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/acl/templates/acltb_v6_test_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
},
"ip": {
"config": {
"destination-ip-address": "20c0:a800::9/128"
"destination-ip-address": "20c0:a800::11ac:d765:2523:e5e4/128"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/acl/templates/acltb_v6_test_rules_part_2.j2
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
},
"ip": {
"config": {
"destination-ip-address": "20c0:a800::9/128"
"destination-ip-address": "20c0:a800::11ac:d765:2523:e5e4/128"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/acl/test_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}
DOWNSTREAM_IP_TO_BLOCK = {
"ipv4": "192.168.0.251",
"ipv6": "20c0:a800::9"
"ipv6": "20c0:a800::11ac:d765:2523:e5e4"
}

# Below M0_L3 IPs are announced to DUT by annouce_route.py, it point to neighbor mx
Expand Down

0 comments on commit 8ca36f2

Please sign in to comment.