Skip to content
Snippets Groups Projects
Commit 39504ce4 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Removed Empty message in L3 Centralized Attack Detector to prevent collision with Context.Empty

parent 6f8e1c1a
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!133Integration of TE component
......@@ -18,10 +18,10 @@ import "context.proto";
service L3Centralizedattackdetector {
// Analyze single input to the ML model in the CAD component
rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (context.Empty) {}
rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (StatusMessage) {}
// Analyze a batch of inputs to the ML model in the CAD component
rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (context.Empty) {}
rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (StatusMessage) {}
// Get the list of features used by the ML model in the CAD component
rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {}
......@@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput {
repeated L3CentralizedattackdetectorMetrics metrics = 1;
}
// message Empty {
// string message = 1;
// }
message StatusMessage {
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