Skip to content

[Cherry-pick] [26777] [acl]: Exclude PortChannel members from LT2 ACL bindings - #1345

Merged
bingwang-ms merged 1 commit into
202512from
deerao/cherry-pick-26777-202512
Aug 5, 2026
Merged

[Cherry-pick] [26777] [acl]: Exclude PortChannel members from LT2 ACL bindings#1345
bingwang-ms merged 1 commit into
202512from
deerao/cherry-pick-26777-202512

Conversation

@deerao02

@deerao02 deerao02 commented Aug 5, 2026

Copy link
Copy Markdown

Description of PR

Summary:
Backport sonic-net/sonic-mgmt#26777 to the internal 202512 branch. Prevent LT2 ACL table creation from binding physical interfaces that are already members of PortChannels.
Fixes sonic-net/sonic-mgmt#26777

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512

Approach

What is the motivation for this PR?

LT2 ACL setup can include physical interfaces that are already PortChannel members, causing invalid duplicate ACL bindings.

How did you do it?

Collected PortChannel members by namespace and excluded those interfaces when adding standalone upstream RIFs to the ACL table.

How did you verify/test it?

Resolved the 202512 cherry-pick conflict by retaining only the intended LT2 change. Verified the resulting diff and Python syntax.

Any platform specific information?

Applies to LT2 topologies.

Supported testbed topology if it's a new test case?

N/A; this is a fix to an existing ACL test.

Documentation

N/A.

Summary:
Prevent LT2 ACL table creation from binding physical interfaces that are
already members of PortChannels.

Signed-off-by: Deeksha Rao <deerao@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 23dd5670957614e10f0165f1d29439e75ba6ed10)
@deerao02
deerao02 requested a review from bingwang-ms as a code owner August 5, 2026 18:39
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@bingwang-ms
bingwang-ms merged commit 5e8f39d into 202512 Aug 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants