Integrate WBB proxy Functional Translator (FT) support#156
Merged
robshakir merged 9 commits intoopenconfig:mainfrom Jun 19, 2025
Merged
Integrate WBB proxy Functional Translator (FT) support#156robshakir merged 9 commits intoopenconfig:mainfrom
robshakir merged 9 commits intoopenconfig:mainfrom
Conversation
This enables ygnmi clients to validate telemetry data that needs to be translated from alternative sources to OpenConfig in production use. - Add FunctionalTranslator interface with the FT methods for translating subscriptions and notifications. - Add ygnmi.WithFT() option to apply an FT to queries matching the FT when calling ygnmi methods such as ygnmi.Get, etc Caveats: - ygnmi.WithFT only supports leaf queries. - When using queries that set specific keys (e.g. name=Optics0/0/0/16) with ygnmi.WithFT, we strip the key before passing it to the functional translator’s subscription translation method OutputToInput. This usually results in excess data from other keys being sent. We filter out notifications that don't match the original query after translation. Such queries may then have linear time performance when FNT authors expected constant time.
Pull Request Test Coverage Report for Build 15755819894Details
💛 - Coveralls |
robshakir
reviewed
Jun 13, 2025
…o doesn't dupe the definition
Member
|
Looks like just a |
robshakir
approved these changes
Jun 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enables ygnmi clients to validate telemetry data that needs to be translated from alternative sources to OpenConfig in production use.
Caveats: