Open mgheorghe opened 5 months ago
Sairedis.rec is savers in order that API is called in or haven't,.each API is called under muted się at given time only one single API is executed and recorded, so if you are seeing order like you are not expecting that means this is the order that or haven't executed it. Be aware that if your are loading config int appdb then or haven't is picking that up but execute that inorder that it will pick up forom selectable event, so not necessary in order it was put in appdb, so if there are many events waiting orhagent can pick that up in random order, that's because selectable event is implemented using system poll api
From recording you attached I see no problems with oids, so a given pod is created like vent, and then it's used in pa entry, that's correct order that vip entry does not have any dependency on previous objects so at this point everything is done correctly, only issue is as I described above that OA is picking config in random order and that's by design, and not fault of recording
i load a DASH config via
gnmi_client.py
from the NPU on the DPU i see the config is properi take the sairedis.rec file from the DPU and do the steps from https://github.com/sonic-net/SONiC/wiki/How-to-Use-SAI-Player to load the config back in same exact DPU after a fresh power on
at this time we observe the dash config is not properly loaded into DPU ASIC investigating further we observed that
SAI_OBJECT_TYPE_OUTBOUND_CA_TO_PA_ENTRY
was recorded beforeSAI_OBJECT_TYPE_VIP_ENTRY