Add OTN alarm and notification support - #1
Closed
jjin62 wants to merge 2 commits into
Closed
Conversation
1. Support attenuator, oa, ocm, osc OTN objects. 2. Improve OTN flex counter feature. 3. Support OTN config manager. Signed-off-by: oplklum <lu.mao@molex.com>
jjin62
force-pushed
the
feature-otn-notification
branch
from
April 1, 2026 02:25
13d356a to
d5b9bdc
Compare
jjin62
force-pushed
the
otn-dev
branch
4 times, most recently
from
June 11, 2026 17:50
848d810 to
5d57f40
Compare
Collaborator
Author
|
do it later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the OtnDeviceOrch and associated configuration management within sonic-swss to support OTN alarm event notifications.
By adding a specialized orchestrator for OTN devices, this change allows the system to register for SAI notifications and handle the lifecycle of OTN device objects. This is a key part of the sonic-buildimage issue #18 implementation.
Dependencies
This PR has a multi-layer dependency chain:
Key Changes
OtnDeviceOrch: Introduced a new orchestrator class in orchagent/otn/otndeviceorch.cpp that:
Config Management: Updated OtnMgr in cfgmgr/otnmgr.cpp to support writing OTN device configurations from ConfigDB to AppDB.
Daemon Integration: Updated otnorchdaemon and otnmgrd to initialize and include the new OTN device tables and orchestrators.
Refactoring: Standardized ObjectOrch constructors to better support varied SAI object types.