From 996c0dbe408305ef5c53b39ff7238a1da476300e Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Wed, 2 Apr 2025 12:41:09 -0600 Subject: [PATCH] Addition of YANG compliance TypedValue enum variants - Support for a means to describe nodes (containers) that contain the YANG `presence` statement in Updates - Support for a means to describe nodes of type empty (leafs) in Updates --- proto/gnmi/gnmi.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proto/gnmi/gnmi.proto b/proto/gnmi/gnmi.proto index da0fed3f..f4fee18d 100644 --- a/proto/gnmi/gnmi.proto +++ b/proto/gnmi/gnmi.proto @@ -38,7 +38,7 @@ extend google.protobuf.FileOptions { // gNMI_service is the current version of the gNMI service, returned through // the Capabilities RPC. -option (gnmi_service) = "0.10.0"; +option (gnmi_service) = "0.11.0"; option go_package = "github.com/openconfig/gnmi/proto/gnmi"; option java_multiple_files = true; @@ -132,6 +132,10 @@ message TypedValue { // github.com/openconfig/reference/blob/master/rpc/gnmi/protobuf-vals.md // for a complete specification. [Experimental] bytes proto_bytes = 13; + // Set to true for YANG modeled nodes containing presence statement. + bool presence_val = 15; + // Set to true for YANG modeled nodes of type empty. + bool empty_val = 16; } }