From b520ba24874132222203f6beefb19cf2d521f32e Mon Sep 17 00:00:00 2001 From: Ebben Aries Date: Wed, 30 Mar 2022 10:23:24 -0700 Subject: [PATCH] Add timestamp field to Update message --- proto/gnmi/gnmi.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/gnmi/gnmi.proto b/proto/gnmi/gnmi.proto index 4742bfb..8f5d7d9 100644 --- a/proto/gnmi/gnmi.proto +++ b/proto/gnmi/gnmi.proto @@ -37,7 +37,7 @@ extend google.protobuf.FileOptions { // gNMI_service is the current version of the gNMI service, returned through // the Capabilities RPC. -option (gnmi_service) = "0.7.0"; +option (gnmi_service) = "0.8.0"; option go_package = "github.com/openconfig/gnmi/proto/gnmi"; option java_multiple_files = true; @@ -100,6 +100,7 @@ message Update { Value value = 2 [deprecated=true]; // The value (value) for the update. TypedValue val = 3; // The explicitly typed update value. uint32 duplicates = 4; // Number of coalesced duplicates. + int64 timestamp = 5; // Timestamp in nanoseconds since Epoch. } // TypedValue is used to encode a value being sent between the client and