akarneliuk / pygnmi

The pure Python implementation of the gNMI client.
https://training.karneliuk.com
BSD 3-Clause "New" or "Revised" License
129 stars 44 forks source link

Change to u_val #153

Closed rao-aneesh closed 7 months ago

rao-aneesh commented 7 months ago

A previous change that I made, caused cases like:

path: "openconfig-system:system/config/hostname"
value: "abcd"

Where the path was the to the leaf node and the value a string to break. This PR fixes that while also preventing JSON encoding for ascii_val