Skip to content

Add vip_v4 and vip_v6 to DPU DASH_HA_SCOPE_TABLE#96

Merged
r12f merged 1 commit intosonic-net:masterfrom
yue-fred-gao:vip_in_ha_scope
Aug 5, 2025
Merged

Add vip_v4 and vip_v6 to DPU DASH_HA_SCOPE_TABLE#96
r12f merged 1 commit intosonic-net:masterfrom
yue-fred-gao:vip_in_ha_scope

Conversation

@yue-fred-gao
Copy link
Collaborator

why

There is a mismatch between DASH_HA_SCOPE_TABLE in DPU sonic-db and SAI HA_SCOPE definition. vip_v4 and vip_v6 exist in the latter but not in DASH_HA_SCOPE_TABLE. DashHaOrch has to implement complicated logic to get vip_v4 and vip_v6 from DASH_HA_SET_TABLE. To simplify DashHaOrch design, vip_v4 and vip_v6 are added to DASH_HA_SCOPE_TABLE. Accordingly, hamgrd needs to adapt to it.

what this PR does

  1. Update DASH_HA_SCOPE_TABLE until it receives DASH_HA_SET_CONFIG from corresponding ha_set actor
  2. Copy vip_v4 and vip_v6 from DASH_HA_SET_CONFIG to DASH_HA_SCOPE_TABLE
  3. Update UT

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

Cherry-pick PR to msft-202506: Azure/sonic-dash-ha.msft#15

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.

5 participants