Skip to content

[schema] Remove CFG_DTEL_* table name macros - #1256

Open
spandan-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:spandan.sonic_security_dtel_removal.0
Open

spandan-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:spandan.sonic_security_dtel_removal.0

Conversation

@spandan-nexthop

@spandan-nexthop spandan-nexthop commented Oct 5, 2026 •

Copy link
Copy Markdown

Description

Deprecating DTEL (data-plane telemetry), since Barefoot Tofino, the only hardware platform that supported it, is end-of-life. This change is made per item 7.1.3 of the SONiC 202611 EOL and deprecation plan.

Remove the CFG_DTEL_* table name macros, which have no users once DTelOrch is removed from orchagent.

How I did it

  • Remove CFG_DTEL_TABLE_NAME, CFG_DTEL_REPORT_SESSION_TABLE_NAME, CFG_DTEL_INT_SESSION_TABLE_NAME, CFG_DTEL_QUEUE_REPORT_TABLE_NAME and CFG_DTEL_EVENT_TABLE_NAME from common/schema.h.
  • Remove the same names from the allowlist in .github/workflows/prevent-cfg.yml.

How I verified it

  • The prevent-cfg check script passes against the updated schema.h.
  • No remaining users of these macros in sonic-swss (after the sonic-swss PR below), the other sonic-buildimage submodules, or sonic-mgmt.

Dependencies

This PR must merge after the sonic-swss PR below; until then orchagent still references these macros and fails to compile.

Related PRs

We are deprecating DTEL (data-plane telemetry) because Barefoot
Tofino, the only hardware platform that supported it, is end-of-life.

With DTelOrch removed from orchagent, these CONFIG_DB table names have
no users. Remove them from schema.h and from the prevent-cfg allowlist.

Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
@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).

@mssonicbld

Copy link
Copy Markdown
Collaborator

Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks!

---Powered by SONiC BuildBot

@spandan-nexthop
spandan-nexthop marked this pull request as ready for review October 6, 2026 20:55
@spandan-nexthop

Copy link
Copy Markdown
Author

nh-grecs Bot pushed a commit to nexthop-ai/sonic-swss-common that referenced this pull request Oct 7, 2026
rebuild-source: sonic-net/pull/1256 @ nexthop-ai/sonic-swss-common 203986a [case: upstream:open]
nh-grecs Bot pushed a commit to nexthop-ai/sonic-swss-common that referenced this pull request Oct 9, 2026
rebuild-source: sonic-net/pull/1256 @ nexthop-ai/sonic-swss-common 203986a [case: upstream:open]
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.

2 participants