Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare tables for Event and Alarm Framework. #490

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spenugondaa
Copy link

@spenugondaa spenugondaa commented Jun 7, 2021

Signed-off-by: spenugondaa srinadh.penugondaa@dell.com

This PR follows the HLD.
It defines various tables used by Event and Alarm Framework.

Dependent PRs:
sonic-buildimage
sonic-mgmt-common
sonic-mgmt-framework

Signed-off-by: spenugondaa <srinadh.penugondaa@dell.com>
@@ -374,6 +374,17 @@ namespace swss {
#define STATE_PORT_PERIPHERAL_TABLE "PORT_PERIPHERAL_TABLE"
#define STATE_BUFFER_POOL_TABLE_NAME "BUFFER_POOL_TABLE"
#define STATE_BUFFER_PROFILE_TABLE_NAME "BUFFER_PROFILE_TABLE"

Choose a reason for hiding this comment

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

Remove this line

prgeor pushed a commit to prgeor/sonic-swss-common that referenced this pull request Feb 27, 2025
sonic-net#490)

* [CMIS] Add lane_mask parameter to set_loopback_mode() to enable setting loopback mode for individual lanes rather than the entire physical port

Signed-off-by: xinyu <xinyu0123@gmail.com>

* [CMIS] Add options to individually clear host/media, input/output loopback modes and log errors for all rejection cases

Signed-off-by: xinyu <xinyu0123@gmail.com>

* [CMIS] Reject the loopback mode request if simultaneous host and media loopback is not supported or per-lane loopback is not supported

Signed-off-by: xinyu <xinyu0123@gmail.com>

* [CMIS] Log errors for all set loopback mode rejection cases

Signed-off-by: xinyu <xinyu0123@gmail.com>

* [CMIS] Improve readability by using individual functions for setting host, media, input, and output loopback modes

Signed-off-by: xinyu <xinyu0123@gmail.com>

* [CMIS] Add an enable parameter to eliminate the need for loopback modes with the -none suffix

Signed-off-by: xinyu <xinyu0123@gmail.com>

---------

Signed-off-by: xinyu <xinyu0123@gmail.com>
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