Skip to content

[ssw][ha] consume new ha_scope fields#3825

Merged
prsunny merged 4 commits intosonic-net:masterfrom
zjswhhh:ha_scope_table_new_field
Aug 26, 2025
Merged

[ssw][ha] consume new ha_scope fields#3825
prsunny merged 4 commits intosonic-net:masterfrom
zjswhhh:ha_scope_table_new_field

Conversation

@zjswhhh
Copy link
Contributor

@zjswhhh zjswhhh commented Aug 13, 2025

What I did
Address the minor changes in HA HLD:

  1. reject ha_scope object createion if ha_set is not created first.
  2. get ha_set_id mapping from ha_scope table
  3. get vip from ha_scope table

Dependency: sonic-net/sonic-dash-api#44

Why I did it
To align with HLD change.

How I verified it

  • UTs.
  • load on DPU, program objects (pending)

Details if related

@zjswhhh zjswhhh requested a review from prsunny as a code owner August 13, 2025 06:46
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh zjswhhh requested a review from yue-fred-gao August 13, 2025 06:48
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh
Copy link
Contributor Author

zjswhhh commented Aug 26, 2025

Hi @prsunny - please help merge.

@prsunny prsunny merged commit 656c8aa into sonic-net:master Aug 26, 2025
15 checks passed
@zjswhhh zjswhhh deleted the ha_scope_table_new_field branch August 26, 2025 17:52
@zjswhhh zjswhhh restored the ha_scope_table_new_field branch August 28, 2025 15:57
@zjswhhh zjswhhh deleted the ha_scope_table_new_field branch August 28, 2025 16:38
a114j0y pushed a commit to a114j0y/sonic-swss that referenced this pull request Aug 28, 2025
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44
a114j0y added a commit to a114j0y/sonic-swss that referenced this pull request Aug 28, 2025
* upstream/master:
  [ssw][ha] set `SAI_HA_SCOPE_ATTR_ADMIN_STATE`   (sonic-net#3841)
  Fix DPU restart message drop by Zmq lazy bind. (sonic-net#3837)
  [ssw][ha] consume new ha_scope fields (sonic-net#3825)
  Add PFC historical statistics estimation to the PFCWD Orch (sonic-net#3533)
a114j0y added a commit to a114j0y/sonic-swss that referenced this pull request Aug 28, 2025
* upstream/master:
  [ssw][ha] set `SAI_HA_SCOPE_ATTR_ADMIN_STATE`   (sonic-net#3841)
  Fix DPU restart message drop by Zmq lazy bind. (sonic-net#3837)
  [ssw][ha] consume new ha_scope fields (sonic-net#3825)
  Add PFC historical statistics estimation to the PFCWD Orch (sonic-net#3533)
a114j0y pushed a commit to a114j0y/sonic-swss that referenced this pull request Aug 29, 2025
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202506: Azure/sonic-swss.msft#150

Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44
balanokia pushed a commit to balanokia/sonic-swss that referenced this pull request Nov 17, 2025
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44
theasianpianist pushed a commit to theasianpianist/sonic-swss that referenced this pull request Feb 4, 2026
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
baorliu pushed a commit to baorliu/sonic-swss that referenced this pull request Feb 23, 2026
* What I did
Address the minor changes in HA HLD:

reject ha_scope object createion if ha_set is not created first.
get ha_set_id mapping from ha_scope table
get vip from ha_scope table
Dependency: sonic-net/sonic-dash-api#44

Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com>
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.

6 participants