Skip to content
Snippets Groups Projects
Commit dcdceee0 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

updated FrontendTelemetery.proto file.

- added start_time and end_time in proto.
parent f4b9fa91
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!261(CTTC) New Analytics Component
...@@ -19,9 +19,9 @@ import "context.proto"; ...@@ -19,9 +19,9 @@ import "context.proto";
import "kpi_manager.proto"; import "kpi_manager.proto";
service TelemetryFrontendService { service TelemetryFrontendService {
rpc StartCollector (Collector ) returns (CollectorId ) {} rpc StartCollector (Collector ) returns (CollectorId ) {}
rpc StopCollector (CollectorId ) returns (context.Empty) {} rpc StopCollector (CollectorId ) returns (context.Empty) {}
rpc SelectCollectors(CollectorFilter) returns (CollectorList) {} rpc SelectCollectors (CollectorFilter) returns (CollectorList) {}
} }
message CollectorId { message CollectorId {
...@@ -29,10 +29,12 @@ message CollectorId { ...@@ -29,10 +29,12 @@ message CollectorId {
} }
message Collector { message Collector {
CollectorId collector_id = 1; // The Collector ID CollectorId collector_id = 1; // The Collector ID
kpi_manager.KpiId kpi_id = 2; // The KPI Id to be associated to the collected samples kpi_manager.KpiId kpi_id = 2; // The KPI Id to be associated to the collected samples
float duration_s = 3; // Terminate data collection after duration[seconds]; duration==0 means indefinitely float duration_s = 3; // Terminate data collection after duration[seconds]; duration==0 means indefinitely
float interval_s = 4; // Interval between collected samples float interval_s = 4; // Interval between collected samples
context.Timestamp start_time = 5; // Timestamp when Collector start execution
context.Timestamp end_time = 6; // Timestamp when Collector stop execution
} }
message CollectorFilter { message CollectorFilter {
......
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