Skip to content

[Bugfix][QoS] Add port index fix for t0 backend#12358

Merged
yxieca merged 1 commit intosonic-net:masterfrom
developfast:dojha/bugfix/port_index_keyerror_fix_t0_backend
Apr 9, 2024
Merged

[Bugfix][QoS] Add port index fix for t0 backend#12358
yxieca merged 1 commit intosonic-net:masterfrom
developfast:dojha/bugfix/port_index_keyerror_fix_t0_backend

Conversation

@developfast
Copy link
Contributor

@developfast developfast commented Apr 9, 2024

Description of PR

Summary: Port indexing error was occurring on backend T0 devices since the test port IDs (based off of regular VLAN ports) are set before the port IPs which are vlan subinterfaces. Therefore, the port IDs need to be updated after the appropriate port IPs are set.
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

bugfix for qos sai backend t0 test

How did you do it?

update the correct port IDs to match port IPs

How did you verify/test it?

tested on backend + frontend testbed

Any platform specific information?

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

Documentation

add port index fix for t0 backend
@developfast developfast requested a review from neethajohn April 9, 2024 03:25
@developfast developfast changed the title Update qos_sai_base.py [Bugfix][QoS] Add port index fix for t0 backend Apr 9, 2024
@developfast
Copy link
Contributor Author

@yxieca can you pls help merge?

@yxieca yxieca merged commit 433d6e9 into sonic-net:master Apr 9, 2024
@neethajohn
Copy link
Contributor

@StormLiangMS, please help with the cherry-pick

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Apr 25, 2024
add port index fix for t0 backend
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Apr 25, 2024
add port index fix for t0 backend
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #12592

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #12593

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #12594

mssonicbld pushed a commit that referenced this pull request Apr 26, 2024
add port index fix for t0 backend
mssonicbld pushed a commit that referenced this pull request Apr 26, 2024
add port index fix for t0 backend
mssonicbld pushed a commit that referenced this pull request Apr 26, 2024
add port index fix for t0 backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants