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

[macsec] Wait for port up before enabling macsec #2032

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

byu343
Copy link
Contributor

@byu343 byu343 commented Nov 15, 2021

What I did
Change the prerequisite of enabling macsec to port up

Why I did it
The macsec-related API calls have to be executed after the API calls for gearbox port setup have been done. For that reason, before this change, enabling macsec through config_db.json after reboot cannot succeed. To fix it by this change, the API calls for enabling macsec are executed only after the port is up.

How I verified it

Details if related

@byu343 byu343 requested a review from prsunny as a code owner November 15, 2021 19:42
@Pterosaur Pterosaur merged commit 8f1d035 into sonic-net:master Nov 16, 2021
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