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

Improve GNMI full config update #312

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ganglyu
Copy link
Contributor

@ganglyu ganglyu commented Oct 30, 2024

Why I did it

Microsoft ADO: 27225139
For now, we use 1 gnmi request and 1 gnoi request together to support full config update.
We should not use GNOI request for config reload.

How I did it

Use single GNMI request to support full config update.
Mask gnmi service to prevent this service to restart after config reload.
Rollback config db if config reload failed.
Save config db if config reload passed.

How to verify it

Run unit test and run end to end test.

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

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

Description for the changelog

Link to config_db schema for YANG module changes

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

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.

1 participant