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

Changes to persist TSA/B state across reloads #11257

Merged
merged 13 commits into from
Jul 12, 2022
Merged

Changes to persist TSA/B state across reloads #11257

merged 13 commits into from
Jul 12, 2022

Conversation

tjchadaga
Copy link
Contributor

@tjchadaga tjchadaga commented Jun 26, 2022

Why I did it

Changes to save TSA state in configDB and persist TSA/B across reboots

How I did it

  • Added cfgdb table to hold TSA/B state
  • Added handling in bgpcfg to subscribe to TSA state change
  • Added test code and data files

How to verify it

  • Execute TSA, config save, reboot or config reload. After system comes up, check TSC to ensure the system is in Maintenance

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)

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

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

as comments

dockers/docker-fpm-frr/base_image_files/TS Show resolved Hide resolved
dockers/docker-fpm-frr/base_image_files/TSA Show resolved Hide resolved
dockers/docker-fpm-frr/base_image_files/TSB Show resolved Hide resolved
src/sonic-bgpcfgd/bgpcfgd/managers_device_global.py Outdated Show resolved Hide resolved
@tjchadaga tjchadaga requested a review from abdosi July 2, 2022 00:19
Copy link
Contributor

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@tjchadaga tjchadaga merged commit 849eb4b into sonic-net:master Jul 12, 2022
@tjchadaga tjchadaga deleted the tsa_reload branch July 12, 2022 07:23
@qiluo-msft
Copy link
Collaborator

This commit could not be cleanly cherry-picked to 202012. Please submit another PR.

skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
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.

5 participants