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

Add support of heartbeat interval in "ON_CHANGE" subscription #159

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FengPan-Frank
Copy link
Collaborator

Add support of heartbeat interval in "on change" subscription so that full sync would happen periodically when hb is triggered.

Why I did it

https://github.com/openconfig/gnmi/blob/5473f2ef722ee45c3f26eee3f4a44a7d827e3575/proto/gnmi/gnmi.proto#L309, gnmi protobuf already reserved for this support, we need this for periodically full sync from StreamTelemetry subscriber perspective.

How I did it

File ticker and re-sync all the updates, the minimal hb value should be assigned after existing bgp route monitoring benchmark is done.

How to verify it

On Image and unit 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)

@FengPan-Frank FengPan-Frank marked this pull request as draft October 11, 2023 11:40
@FengPan-Frank FengPan-Frank changed the title Add support of heartbeat interval in "on change" subscription Add support of heartbeat interval in "OnChange" subscription Oct 11, 2023
@FengPan-Frank FengPan-Frank changed the title Add support of heartbeat interval in "OnChange" subscription Add support of heartbeat interval in "ON_CHANGE" subscription Oct 11, 2023
full sync would happen periodically when hb is triggered.
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