reference icon indicating copy to clipboard operation
reference copied to clipboard

Adjust gNMI SetRequest Update handling for list keys + value payloads

Open earies opened this issue 2 years ago • 2 comments

Clarify that an Update to a list member targeted in the Path cannot include those list keys in the value payload either as a direct descendant or ultimate leafref'd node.

Since you cannot modify the list keys on a targeted Path, disallow the contents altogether in the payload. At best, the same values could be specified but since the Path is unprefixed while JSON_IETF encoding currently remains prefixed, an association needs to be drawn from a schema set perspective.

In addition, this reduces pointless and redundant bytes on the wire.

earies avatar Nov 18 '22 17:11 earies