Skip to content

add eni attribute to get ha flow owner (DPU-driven HA)#698

Draft
zjswhhh wants to merge 1 commit intosonic-net:mainfrom
zjswhhh:add-eni-operational-ha-flow-owner
Draft

add eni attribute to get ha flow owner (DPU-driven HA)#698
zjswhhh wants to merge 1 commit intosonic-net:mainfrom
zjswhhh:add-eni-operational-ha-flow-owner

Conversation

@zjswhhh
Copy link
Copy Markdown

@zjswhhh zjswhhh commented Apr 28, 2026

Today for DPU-driven HA, there is no way to tell which side is the actual operational owner of HA, both sides will show as HA state active. Adding an attribute to get the flow owner, aka. the actual active.

SAI: opencomputeproject/SAI#2278

sign-off: Jing Zhang zhangjing@microsoft.com

Signed-off-by: Jing Zhang <zhangjing@microsoft.com>
@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@zjswhhh zjswhhh marked this pull request as draft April 28, 2026 22:39
| -------------- | ---- | ----------- |
| SAI_ENI_ATTR_HA_SCOPE_ID | `sai_object_id_t` | The HA scope ID of the ENI. |
| SAI_ENI_ATTR_IS_HA_FLOW_OWNER | `bool` | Determines which DPU in the pair creates flows belonging to this ENI in steady-state. Typically this is set to True for the ENIs on the Active DPU and False for the Standby DPU. |
| SAI_ENI_ATTR_IS_OPERATIONAL_HA_FLOW_OWNER | `bool` | Read-only. Returns the operational HA flow ownership status of the ENI. |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is at eni level. How are you planning to report ha-state which is at dpu level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants