-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SmartSwitch-BFD] Update sections of SmartSwitchDpuLivenessUsingBfd HLD #1859
base: master
Are you sure you want to change the base?
Conversation
abdbaig
commented
Dec 1, 2024
- BFD sessions in FRR are no longer statically set to passive. This indication will directly from BFD_SESSION_TABLE using "type" field.
- Remove key DPU_ID from DASH_BFD_PROBE_STATE. This is not required since the table exists on individual DPUs.
- BfdOrch will use switch_type dpu to check if software BFD session needs to be programmed in FRR, rather than use SAI API to query for HW offload.
-BFD sessions in FRR are no longer statically set to passive. This indication will directly from BFD_SESSION_TABLE using "type" field. -Remove key DPU_ID from DASH_BFD_PROBE_STATE. This is not required since the table exists on individual DPUs. -BfdOrch will use switch_type dpu to check if software BFD session needs to be programmed in FRR, rather than use SAI API to query for HW offload.
/azp run |
No pipelines are associated with this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
SOFTWARE_BFD_SESSION_TABLE entry in STATE_DB has all the key fields and values from BFD_SESSION_TABLE. | ||
HA manager also creates another BFD passive multihop session in DPU using BFD_SESSION_TABLE in APP_DB with local DPU PA and peer NPU PAs. BfdOrch checks switch_type in DEVICE_METADATA table of CONFIG_DB and if it's dpu, FRR is configured to trigger BFD sessions. BfdOrch creates BFD_SOFTWARE_SESSION_TABLE entry in STATE_DB with same field-value as passed from BFD_SESSION_TABLE. This allows flexibiliy in setting session type and other parameters from hamgrd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this section as the software bfd must be based on capability query in bfdorch. Rest of the changes regarding bgpcfgd looks fine. Can you please create a new PR to check capability since I merged the current swss PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do - will update this PR once new PR is raised.