Skip to content

[action] [PR:3770] Accept detailed SAI status codes in dashportmaporch#116

Merged
prabhataravind merged 1 commit intoAzure:202506from
mssonicbld:cherry/msft-202506/3770
Jul 31, 2025
Merged

[action] [PR:3770] Accept detailed SAI status codes in dashportmaporch#116
prabhataravind merged 1 commit intoAzure:202506from
mssonicbld:cherry/msft-202506/3770

Conversation

@mssonicbld
Copy link
Collaborator

What I did
Check for specific SAI status codes instead of just SAI_STATUS_NOT_EXECUTED and respond accordingly

Why I did it
sonic-net/sonic-sairedis#1613 means that SAI should return accurate states codes for each entry in a bulk operation. Prior to this change, any failure in a bulk op meant the status for all objects involved was set to SAI_STATUS_NOT_EXECUTED.

How I verified it

Details if related

<!--
Please make sure you have read and understood the contribution guildlines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

1. Make sure your commit includes a signature generted with `git commit -s`
2. Make sure your commit title follows the correct format: [component]: description
3. Make sure your commit message contains enough details about the change and related tests
4. Make sure your pull request adds related reviewers, asignees, labels

Please also provide the following information in this pull request:
-->

**What I did**
Check for specific SAI status codes instead of just `SAI_STATUS_NOT_EXECUTED` and respond accordingly

**Why I did it**
sonic-net/sonic-sairedis#1613 means that SAI should return accurate states codes for each entry in a bulk operation. Prior to this change, any failure in a bulk op meant the status for all objects involved was set to `SAI_STATUS_NOT_EXECUTED`.

**How I verified it**

**Details if related**
@mssonicbld
Copy link
Collaborator Author

Original PR: sonic-net/sonic-swss#3770

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind prabhataravind merged commit 0294360 into Azure:202506 Jul 31, 2025
5 of 8 checks passed
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.

2 participants