forked from sonic-net/sonic-platform-daemons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(xcvrd): handle port add/remove events in CmisManagerTask
This commit fixes DPB support with CMIS transceivers. CmisManagerTask's port_dict and port_mapping must be updated according to the port add/remove events. Sinse CmisManagerTask uses PortChangeObserver, which emits PORT_SET/PORT_DEL events, not PORT_ADD/PORT_REMOVE, PortMapping is updated to handle these events. fixes sonic-net/sonic-buildimage#18893 Signed-off-by: Wataru Ishida <[email protected]>
- Loading branch information
1 parent
82d734b
commit 83b4c35
Showing
3 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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