Skip to content
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

Add new software bfd state db table in schema #957

Merged
merged 10 commits into from
Jan 27, 2025

Conversation

abdbaig
Copy link
Contributor

@abdbaig abdbaig commented Dec 1, 2024

According this HDL, add a new definition for software BFD table in state DB in schema header file: https://github.com/kperumalbfn/SONiC/blob/kperumal/bfd/doc/smart-switch/BFD/SmartSwitchDpuLivenessUsingBfd.md

liuh-80
liuh-80 previously approved these changes Dec 3, 2024
@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss-common

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

FengPan-Frank
FengPan-Frank previously approved these changes Dec 3, 2024
@abdbaig
Copy link
Contributor Author

abdbaig commented Dec 5, 2024

/AzurePipelines run Azure.sonic-swss-common

Copy link

Commenter does not have sufficient privileges for PR 957 in repo sonic-net/sonic-swss-common

@abdbaig
Copy link
Contributor Author

abdbaig commented Dec 5, 2024

Hi @liuh-80, can you please re-run the automation and merge when successful? Looks like I don't have permission.

kperumalbfn
kperumalbfn previously approved these changes Dec 5, 2024
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dypet
Copy link

dypet commented Jan 13, 2025

@kperumalbfn can the azure pipeline be re-run? It looks like it timed out

common/schema.h Outdated
@@ -557,6 +557,7 @@ namespace swss {
#define STATE_TUNNEL_DECAP_TERM_TABLE_NAME "TUNNEL_DECAP_TERM_TABLE"

#define STATE_BFD_SESSION_TABLE_NAME "BFD_SESSION_TABLE"
#define STATE_BFD_SOFTWARE_SESSION_TABLE_NAME "SOFTWARE_BFD_SESSION_TABLE"
Copy link
Contributor

Choose a reason for hiding this comment

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

To be consistent with naming, can you rename to BFD_SOFTWARE_SESSION_TABLE

Copy link

Choose a reason for hiding this comment

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

In the HLD it's named as "SOFTWARE_BFD_SESSION_TABLE": https://github.com/sonic-net/SONiC/blob/master/doc/smart-switch/BFD/SmartSwitchDpuLivenessUsingBfd.md#23-bfd-active-passive-mode should it be updated everywhere or should the variable be changed to STATE_SOFTWARE_BFD_SESSION_TABLE_NAME ?

Choose a reason for hiding this comment

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

@dypet we could update the HLD as well to keep consistent with other TABLES.

Copy link

Choose a reason for hiding this comment

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

Updated

@kperumalbfn
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dypet dypet dismissed stale reviews from liuh-80, FengPan-Frank, and kperumalbfn via 7f283d9 January 14, 2025 16:39
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dypet
Copy link

dypet commented Jan 15, 2025

Not sure why Azure.sonic-swss-common failed, can it be re-run @prsunny ?

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dypet
Copy link

dypet commented Jan 23, 2025

@kperumalbfn it looks like the azure pipeline is stalled, can it be re-started?

@qiluo-msft qiluo-msft merged commit e64d2b9 into sonic-net:master Jan 27, 2025
15 checks passed
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.

8 participants