sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

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

Open mint570 opened this issue 1 year ago • 0 comments

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 avatar May 22 '24 01:05 mint570