Skip to content
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

How to send replace operation on container/list level with PROTO encoding #207

Open
sachinholla opened this issue Apr 10, 2024 · 0 comments

Comments

@sachinholla
Copy link

With the new PROTO encoding scheme, how can a gNMI client send replace operation at a container or list level, where the new value contains multiple fields? Now every Update message can hold only one scalar value. If the new configuration multiple values we cannot send multiple Update messages it will match the intended replace behavior.

An example usecase is to replace all existing ipv4 addresses of an interface with a new set of addresses. With JSON_IETF encoding the client can send a replace with path = .../subinterface/ipv4/addresses and TypedValue.json_ietf_val = new address instances. But the same cannot be achieved with PROTO encoding now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant