diff --git a/proto/gnpsi/gnpsi.proto b/proto/gnpsi/gnpsi.proto index b8f3753..7d89108 100644 --- a/proto/gnpsi/gnpsi.proto +++ b/proto/gnpsi/gnpsi.proto @@ -30,6 +30,7 @@ service gNPSI { // updates from the device. Past updates, i.e., updates before the // subscription is received, will not be presented to the subscribing client. rpc Subscribe(Request) returns (stream Sample); + rpc SubscribeBatch(Request) returns (stream Samples); } message SFlowMetadata { @@ -86,3 +87,7 @@ message Sample { NetFlowMetadata netflow_metadata = 102; IPFIXMetadata ipfix_metadata = 103; } + +message Samples { + repeated Sample samples = 1; +} \ No newline at end of file