Gnmi Get of updated values fails
Calling gnmi.Get
on a previously changed resource causes an error due to a merge failure.
Description
This behaviour prevents updating the underlying data model. Thus canges made to ONDs cannot be reflected in the controller's state representation.
Expected Behavior
Calling gnmi.Get
on a previously changed resource should update the data model without failure.
Actual Behavior
Calling gnmi.Get
on a previously changed resource causes an error.
Possible Fix
See if ygot
has an update option in SetNode
Steps to Reproduce
- Start controller and OND
- Get initial OND state
- Create and commit change on device
- Get changed OND state