adding bytes_val and leaflist_val with string_val parsing#151
Merged
akarneliuk merged 1 commit intomasterfrom Mar 9, 2024
Merged
adding bytes_val and leaflist_val with string_val parsing#151akarneliuk merged 1 commit intomasterfrom
akarneliuk merged 1 commit intomasterfrom
Conversation
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.
Hi @akarneliuk
Finally had time to work on committing the bytes_val, but also added a recent find that leaflist_val is not being processed either.
For bytes_val, it is just converting the ieeefloat32 value correctly, and for leaflist_val, it looks like so:
MainThread_2024-03-07 10:19:23,121_gnmi_subscribe_INFO_telemetry_entry={'update': {'update': [{'path': 'system/processes/process[pid=5983]/state/args', 'val': '-C /etc/dnsmasq.conf -h -H /etc/hosts --pid-file=/var/run/dnsmasq.pid'}], 'timestamp': 1709602406601003300}, 'sync_response': True}