Skip to content

Changes to persist TSA/B state across reloads#11257

Merged
tjchadaga merged 13 commits intosonic-net:masterfrom
tjchadaga:tsa_reload
Jul 12, 2022
Merged

Changes to persist TSA/B state across reloads#11257
tjchadaga merged 13 commits intosonic-net:masterfrom
tjchadaga:tsa_reload

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

@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