Skip to content

[schema]: Add MACsec MKA state table names - #1251

Open
liamkearney-msft wants to merge 1 commit into
sonic-net:masterfrom
liamkearney-msft:liamkearney-microsoft-cleanroom-mka-schema
Open

liamkearney-msft wants to merge 1 commit into
sonic-net:masterfrom
liamkearney-msft:liamkearney-microsoft-cleanroom-mka-schema

Conversation

@liamkearney-msft

@liamkearney-msft liamkearney-msft commented Sep 17, 2026

Copy link
Copy Markdown

Summary

Add shared schema constants for the two namespace-local STATE_DB tables used to publish MACsec MKA operational state:

  • STATE_MACSEC_MKA_SESSION_TABLE_NAME (MACSEC_MKA_SESSION_TABLE)
  • STATE_MACSEC_MKA_PARTICIPANT_TABLE_NAME (MACSEC_MKA_PARTICIPANT_TABLE)

Design and companion changes

Dependency order: this PR → sonic-net/sonic-swss#4827sonic-net/sonic-buildimage#29102. The WPA PR supplies the frozen interface consumed by the SWSS implementation.

Validation

  • Verified both macro names and exact table-name values.
  • Verified each definition is unique.
  • git diff --check passed.
  • The repository defines literal table-name constants directly in common/schema.h; there is no dedicated unit-test surface for these declarations.

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 02:04
@liamkearney-msft liamkearney-msft self-assigned this Sep 17, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The reviewed schema additions have no unresolved issues.

Pull request overview

Adds State DB table-name macros for MACsec MKA session and participant state.

Changes:

  • Defines STATE_MACSEC_MKA_SESSION_TABLE_NAME.
  • Defines STATE_MACSEC_MKA_PARTICIPANT_TABLE_NAME.
File summaries
File Description
common/schema.h Adds MACsec MKA State DB table-name constants.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants