Skip to content

[orchagent] Remove DTEL orch - #4975

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 of PR

Summary:
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 DTelOrch and all DTEL handling from orchagent. The SAI DTEL API itself is unchanged; orchagent simply stops calling it.

Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation update
  • Test improvement

Approach

What is the motivation for this PR?

With Barefoot Tofino end-of-life, DTelOrch has no supported hardware and is dead code in orchagent.

How did you do it?

  • Delete orchagent/dtelorch.cpp and orchagent/dtelorch.h, and drop them from orchagent/Makefile.am and tests/mock_tests/Makefile.am.
  • orchdaemon.cpp: remove the DTEL table set and the DTelOrch initialization.
  • aclorch.{h,cpp}: remove the DTEL ACL actions, AclRuleDTelWatchListEntry, the internal DTEL_FLOW_WATCHLIST ACL table, the INT session observer handling, and the DTelOrch * parameters of AclOrch::AclOrch() and AclRule::makeShared().
  • Remove TABLE_TYPE_DTEL_FLOW_WATCHLIST (acltable.h), SUBJECT_TYPE_INT_SESSION_CHANGE (observer.h) and the sai_dtel_api handle (saihelper.cpp).
  • Tests: delete tests/test_dtel.py; update the AclOrch constructor callers in p4orch/tests and mock_tests.

Behavior changes:

  • On the vs platform (the only non-Barefoot platform that enabled DTelOrch), AclOrch no longer creates the internal DTEL_FLOW_WATCHLIST ACL table at startup.
  • STATE_DB SWITCH_CAPABILITY|switch no longer publishes ACL_ACTION|FLOW_OP or the DTEL ACL actions in ACL_ACTIONS|INGRESS/ACL_ACTIONS|EGRESS.
  • An ACL_RULE or ACL_TABLE_TYPE that uses a DTEL action is rejected as an unknown action.

How did you verify/test it?

  • Compiled every orchagent, p4orch/tests and mock_tests source with -fsyntax-only and the repository's warning flags, before and after the change: no new errors or warnings.
  • No DTEL symbols remain apart from the SAI object-type mirror in crates/countersyncd, which tracks the SAI API.
  • DVS tests that count ACL tables subtract the default tables captured at startup (default_acl_tables), so they are not affected by the removed internal table.

Any platform specific information?

DTelOrch was only instantiated on the barefoot and vs platforms.

Documentation

The DTEL design documents are removed in the SONiC repository PR listed below. The sonic-swss-common PR below must merge after this one.

Related PRs

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

Remove DTelOrch, its AclOrch integration (the DTEL_FLOW_WATCHLIST ACL
table and watchlist rules), the SAI DTEL API handle in saihelper, and
test_dtel.py. Update AclOrch constructor callers in the unit tests.
The SAI DTEL API itself is unchanged.

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 that referenced this pull request Oct 7, 2026
rebuild-source: sonic-net/pull/4975 @ nexthop-ai/sonic-swss 7fc50f6 [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