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

Revert "Update include_macsec flag if type is SpineRouter (#11141)" #11306

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

judyjoseph
Copy link
Contributor

@judyjoseph judyjoseph commented Jul 1, 2022

Why I did it

This PR #11141 introduced the template specific check for macsec feature to be enabled if 'type' is 'SpineRouter'. The rendering of init_cfg.json.j2 file is done by hostcfgd daemon.

Currently hostcfgd does update the feature state by template rendering only only in host config db. This fix was earlier verified only on single asic platforms.

Close issue #11302

How I did it

Removed the earlier fix and setting macsec to be disabled by default. Need to explicitly enable.

Will plan to bring this change in along with fixes in hostcfgd to update the feature state after rendeding in namespace config_db also. Need more testing in hostcfgd to add full namespace support there

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@judyjoseph judyjoseph requested a review from lguohan as a code owner July 1, 2022 02:06
@judyjoseph judyjoseph requested a review from arlakshm July 1, 2022 02:06
@judyjoseph judyjoseph merged commit baaf8b0 into master Jul 1, 2022
yxieca pushed a commit that referenced this pull request Jul 5, 2022
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
@lguohan lguohan deleted the revert-11141-feature_tbl_macsec branch December 20, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants