add eni attribute to get ha flow owner (DPU-driven HA)#698
Draft
zjswhhh wants to merge 1 commit intosonic-net:mainfrom
Draft
add eni attribute to get ha flow owner (DPU-driven HA)#698zjswhhh wants to merge 1 commit intosonic-net:mainfrom
zjswhhh wants to merge 1 commit intosonic-net:mainfrom
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
| | -------------- | ---- | ----------- | | ||
| | 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. | |
There was a problem hiding this comment.
This is at eni level. How are you planning to report ha-state which is at dpu level?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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