Skip to content

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

Merged
Pterosaur merged 1 commit intosonic-net:masterfrom
byu343:enable-macsec
Nov 16, 2021
Merged

[macsec] Wait for port up before enabling macsec#2032
Pterosaur merged 1 commit intosonic-net:masterfrom
byu343:enable-macsec

Conversation

@byu343
Copy link
Copy Markdown
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