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

ygnmi.Watch should handle implicit deletions via time expiry in SAMPLE mode #145

Open
wenovus opened this issue Mar 25, 2024 · 0 comments
Open

Comments

@wenovus
Copy link
Contributor

wenovus commented Mar 25, 2024

Spec: https://github.com/openconfig/reference/pull/201/files

Currently ygnmi.Watch maintains state regardless of STREAM subscription mode, which would represent the wrong value. This is not determinable via timestamps due to having a single timestamp for the entire query object rather than per-leaf timestamps.

I think handling this within ygnmi is the more intuitive option. This is possible via an internal expiry timer. The easier solution of using sync_response is not available because they're not mandatory per the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant