-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support for bytes encoding for "gnmi" input plugin #7938
Conversation
Hi @danielnelson, I am not sure if you are the intended reviewer for that domain? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. There's also an ASCII encoding. should we be supporting that, too?
Thanks for the approval.
Technically ascii should be allowed to be specified as well
…On Wed, 28 Oct 2020, 22:56 Steven Soroka, ***@***.***> wrote:
***@***.**** approved this pull request.
This is great. There's also an ASCII encoding. should we be supporting
that, too?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7938 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLKV5MOHWMT4D7GP7OFYDDSNCHR3ANCNFSM4PUGXMFQ>
.
|
looks like at the moment ascii is not part of the docs and will complain that it's not a supported type. |
Correct, it needs to be added in the same fashion as this PR adds `bytes`
support.
…On Thu, Oct 29, 2020 at 4:08 PM Steven Soroka ***@***.***> wrote:
looks like at the moment ascii is not part of the docs and will complain
that it's not a supported type.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7938 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLKV5IJBLCUWQGK7YPF4YLSNGAORANCNFSM4PUGXMFQ>
.
|
@ssoroka can we merge this one and address ASCII later? Thank you |
Merged. Thank you! |
(cherry picked from commit 68a4f18)
Required for all PRs:
Purpose of the PR
This PR adds support for
bytes
encoding for the gNMI messages as per 2.3.2 of gNMI specification.The code already had a support for
bytes
encoded values, it was just not allowed to specify this encoding in the appropriate check before.The only changes made to the plugin were to allow to specify
bytes
as theencoding
.Example
Config file:
Output: