Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions proto/gnpsi/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,5 @@ package(
proto_library(
name = "gnpsi_proto",
srcs = ["gnpsi.proto"],
deps = [
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:descriptor_proto",
],
)

cc_proto_library(
name = "gnpsi_cc_proto",
deps = [":gnpsi_proto"],
)

cc_grpc_library(
name = "gnpsi_grpc_proto",
srcs = [":gnpsi_proto"],
generate_mocks = True,
grpc_only = ["True"],
deps = [":gnpsi_cc_proto"],
)
6 changes: 6 additions & 0 deletions proto/gnpsi/gnpsi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,18 @@ message Sample {
// Last timestamp of sample payload (ns since epoch)
int64 timestamp = 2;

// repeated double abwc_data = 3;

// Only one of these metadata will be populated to correspond to the sample
// returned.

//
// The metadata fields applies to all messages on this stream, and would only
// be present in the first message on the stream.
SFlowMetadata sflow_metadata = 101;
NetFlowMetadata netflow_metadata = 102;
IPFIXMetadata ipfix_metadata = 103;
}
message Samplerepeated {
repeated gnpsi.Sample samples = 1;
}