-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Passing -M option to orchange to enable SAI MACSec POST #24492
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
base: master
Are you sure you want to change the base?
Conversation
- FIPS is enabled in SONiC; AND - MACSec is enabled on platform.
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| # - FIPS is enabled in SONiC (either in /proc/cmdline or /etc/fips/fips_enable); AND | ||
| # - MACSec is enabled on platform. | ||
| if grep -q "sonic_fips=1" /proc/cmdline || grep -q "1" /etc/fips/fips_enable ; then | ||
| if grep -q "macsec_enabled=1" /usr/share/sonic/platform/platform_env.conf 2>/dev/null ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use source platform_env.conf or something line this https://github.com/criteo-forks/sonic-buildimage/blob/a9caf1152e1ed3d91cf7adf390dd89dfeb8602c5/files/scripts/asic_status.sh#L5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @judyjoseph update review to source platform_env.conf as suggested.
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Passing -M option to orchange to enable SAI MACSec POST when:
Why I did it
sonic-net/sonic-swss#3836 adds
-Moption to orchagent to enable SAI MACSec POST. This PR passes the option to orchagent when:Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)