Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bulk SAI calls in order for non-OID objects in the bulker API #3159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mint570
Copy link
Contributor

@mint570 mint570 commented May 22, 2024

What I did
Today, the bulker library does not maintain order for non-OID objects. This PR changes it to keep the requested order.

Why I did it
As part of the performance improvement effort, we updated P4Orch route manager to use bulk SAI API. With the current bulker library, it does not maintain the order. For the SDN use case, keeping the route programming order is important (for example, the default route needs to be programmed first to avoid packet drop).

How I verified it
Unit test

Details if related
N/A

@mint570 mint570 requested a review from prsunny as a code owner May 22, 2024 01:58
@mint570 mint570 force-pushed the bulker_order_upstream branch from b6a1d65 to 0068129 Compare June 1, 2024 00:12
@prsunny prsunny requested a review from qiluo-msft June 1, 2024 03:27
mint570 added 3 commits June 4, 2024 15:15
Change-Id: I96be784198e1b0456491c52707d204c4af1c1c85
Bug: 242672938

This changes has certain limitations, such as we cannot add and delete
the same entry multiple times.

http://fusion2/05d0fb67-6234-3703-ac25-80fd3da474ef

Change-Id: I133f3836046460172609a07895ccd8c41c4e67cf
Change-Id: I97737074a696adf1856d13a94c2bfa34bb8020a0
@mint570 mint570 force-pushed the bulker_order_upstream branch from 0068129 to 28d9bf3 Compare June 4, 2024 22:18
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.

1 participant