Skip to content
Snippets Groups Projects
Commit 71198a61 authored by Sebastien Merle's avatar Sebastien Merle
Browse files

Use Empty defined in the context to prevent duplication

parent 891e20ac
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!133Integration of TE component
...@@ -18,13 +18,13 @@ import "context.proto"; ...@@ -18,13 +18,13 @@ import "context.proto";
service L3Centralizedattackdetector { service L3Centralizedattackdetector {
// Analyze single input to the ML model in the CAD component // Analyze single input to the ML model in the CAD component
rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (Empty) {} rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (context.Empty) {}
// Analyze a batch of inputs to the ML model in the CAD component // Analyze a batch of inputs to the ML model in the CAD component
rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (Empty) {} rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (context.Empty) {}
// Get the list of features used by the ML model in the CAD component // Get the list of features used by the ML model in the CAD component
rpc GetFeaturesIds (Empty) returns (AutoFeatures) {} rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {}
} }
message Feature { message Feature {
...@@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput { ...@@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput {
repeated L3CentralizedattackdetectorMetrics metrics = 1; repeated L3CentralizedattackdetectorMetrics metrics = 1;
} }
message Empty { // message Empty {
string message = 1; // string message = 1;
} // }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment