sonic-net / DASH

Disaggregated APIs for SONiC Hosts
Apache License 2.0
78 stars 88 forks source link

[doc] Add bulk sync support in HA session API. #548

Closed r12f closed 2 months ago

r12f commented 3 months ago

The initial HA session API added the support of HA state machine management and support of configurating data plane channel for inline sync. And this change added the API to support bulk sync.

From SAI point of view, the bulk sync works as below:

  1. On the source side, a flow API will be called to create the bulk sync session with specified conditions, which points to a certain destination, which can either be the swbusd in the control plane for flow relay or the paired DPU directly.
  2. Once session is created, the source DPU will start to connect to the destination w/ a gRPC server and send the flow record across.
  3. Once session is done, optionally the connection can be closed.

Hence, in the API, we will see 2 major things being added:

r12f commented 2 months ago

@marian-pritsak , please let us know if you have any new concerns. We will first move on first and adjust later with your comments.