Loading proto/analytics_frontend.proto +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ syntax = "proto3"; package device; import "context.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; import "kpi_sample_types.proto"; service AnalyticsFrontendService { Loading @@ -21,7 +21,7 @@ enum AnalyzerMode { } message Analyzer { repeated kpi_management.KpiId kpi_id = 1; // The KPI Ids to be processed by the analyzer repeated kpi_manager.KpiId kpi_id = 1; // The KPI Ids to be processed by the analyzer AnalyzerMode mode = 2; // Operation mode of the analyzer float batch_min_duration_s = 3; // In batch mode, min duration to collect before executing batch float batch_max_duration_s = 4; // In batch mode, max duration collected to execute the batch Loading @@ -34,7 +34,7 @@ message AnalyzerFilter { // An empty list means: any value is accepted. // All fields empty means: list all Analyzers repeated AnalyzerId analyzer_id = 1; repeated kpi_management.KpiId kpi_id = 2; repeated kpi_manager.KpiId kpi_id = 2; repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; repeated context.DeviceId device_id = 4; repeated context.EndPointId endpoint_id = 5; Loading proto/device.proto +3 −3 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package device; import "context.proto"; //import "monitoring.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; service DeviceService { rpc AddDevice (context.Device ) returns (context.DeviceId ) {} Loading @@ -28,8 +28,8 @@ service DeviceService { } message MonitoringSettings { kpi_management.KpiId kpi_id = 1; kpi_management.KpiDescriptor kpi_descriptor = 2; kpi_manager.KpiId kpi_id = 1; kpi_manager.KpiDescriptor kpi_descriptor = 2; float sampling_duration_s = 3; float sampling_interval_s = 4; } proto/kpi_management.proto→proto/kpi_manager.proto +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ // limitations under the License. syntax = "proto3"; package kpi_management; package kpi_manager; import "context.proto"; import "kpi_sample_types.proto"; Loading proto/monitoring.proto +7 −7 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ syntax = "proto3"; package monitoring; import "context.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; //import "kpi_sample_types.proto"; service MonitoringService { Loading @@ -43,14 +43,14 @@ service MonitoringService { message MonitorKpiRequest { kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; float monitoring_window_s = 2; float sampling_rate_s = 3; // Pending add field to reflect Available Device Protocols } message KpiQuery { repeated kpi_management.KpiId kpi_ids = 1; repeated kpi_manager.KpiId kpi_ids = 1; float monitoring_window_s = 2; uint32 last_n_samples = 3; // used when you want something like "get the last N many samples context.Timestamp start_timestamp = 4; // used when you want something like "get the samples since X date/time" Loading @@ -64,7 +64,7 @@ message RawKpi { // cell } message RawKpiList { // column kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; repeated RawKpi raw_kpis = 2; } Loading @@ -75,7 +75,7 @@ message RawKpiTable { // table message Kpi { kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; context.Timestamp timestamp = 2; KpiValue kpi_value = 3; } Loading Loading @@ -109,7 +109,7 @@ message KpiList { message SubsDescriptor{ SubscriptionID subs_id = 1; kpi_management.KpiId kpi_id = 2; kpi_manager.KpiId kpi_id = 2; float sampling_duration_s = 3; float sampling_interval_s = 4; context.Timestamp start_timestamp = 5; // used when you want something like "get the samples since X date/time" Loading @@ -134,7 +134,7 @@ message AlarmDescriptor { AlarmID alarm_id = 1; string alarm_description = 2; string name = 3; kpi_management.KpiId kpi_id = 4; kpi_manager.KpiId kpi_id = 4; KpiValueRange kpi_value_range = 5; context.Timestamp timestamp = 6; } Loading proto/optical_attack_detector.proto +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package optical_attack_detector; import "context.proto"; //import "monitoring.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; service OpticalAttackDetectorService { Loading @@ -29,5 +29,5 @@ service OpticalAttackDetectorService { message DetectionRequest { context.ServiceId service_id = 1; kpi_management.KpiId kpi_id = 2; kpi_manager.KpiId kpi_id = 2; } Loading
proto/analytics_frontend.proto +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ syntax = "proto3"; package device; import "context.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; import "kpi_sample_types.proto"; service AnalyticsFrontendService { Loading @@ -21,7 +21,7 @@ enum AnalyzerMode { } message Analyzer { repeated kpi_management.KpiId kpi_id = 1; // The KPI Ids to be processed by the analyzer repeated kpi_manager.KpiId kpi_id = 1; // The KPI Ids to be processed by the analyzer AnalyzerMode mode = 2; // Operation mode of the analyzer float batch_min_duration_s = 3; // In batch mode, min duration to collect before executing batch float batch_max_duration_s = 4; // In batch mode, max duration collected to execute the batch Loading @@ -34,7 +34,7 @@ message AnalyzerFilter { // An empty list means: any value is accepted. // All fields empty means: list all Analyzers repeated AnalyzerId analyzer_id = 1; repeated kpi_management.KpiId kpi_id = 2; repeated kpi_manager.KpiId kpi_id = 2; repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; repeated context.DeviceId device_id = 4; repeated context.EndPointId endpoint_id = 5; Loading
proto/device.proto +3 −3 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package device; import "context.proto"; //import "monitoring.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; service DeviceService { rpc AddDevice (context.Device ) returns (context.DeviceId ) {} Loading @@ -28,8 +28,8 @@ service DeviceService { } message MonitoringSettings { kpi_management.KpiId kpi_id = 1; kpi_management.KpiDescriptor kpi_descriptor = 2; kpi_manager.KpiId kpi_id = 1; kpi_manager.KpiDescriptor kpi_descriptor = 2; float sampling_duration_s = 3; float sampling_interval_s = 4; }
proto/kpi_management.proto→proto/kpi_manager.proto +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ // limitations under the License. syntax = "proto3"; package kpi_management; package kpi_manager; import "context.proto"; import "kpi_sample_types.proto"; Loading
proto/monitoring.proto +7 −7 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ syntax = "proto3"; package monitoring; import "context.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; //import "kpi_sample_types.proto"; service MonitoringService { Loading @@ -43,14 +43,14 @@ service MonitoringService { message MonitorKpiRequest { kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; float monitoring_window_s = 2; float sampling_rate_s = 3; // Pending add field to reflect Available Device Protocols } message KpiQuery { repeated kpi_management.KpiId kpi_ids = 1; repeated kpi_manager.KpiId kpi_ids = 1; float monitoring_window_s = 2; uint32 last_n_samples = 3; // used when you want something like "get the last N many samples context.Timestamp start_timestamp = 4; // used when you want something like "get the samples since X date/time" Loading @@ -64,7 +64,7 @@ message RawKpi { // cell } message RawKpiList { // column kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; repeated RawKpi raw_kpis = 2; } Loading @@ -75,7 +75,7 @@ message RawKpiTable { // table message Kpi { kpi_management.KpiId kpi_id = 1; kpi_manager.KpiId kpi_id = 1; context.Timestamp timestamp = 2; KpiValue kpi_value = 3; } Loading Loading @@ -109,7 +109,7 @@ message KpiList { message SubsDescriptor{ SubscriptionID subs_id = 1; kpi_management.KpiId kpi_id = 2; kpi_manager.KpiId kpi_id = 2; float sampling_duration_s = 3; float sampling_interval_s = 4; context.Timestamp start_timestamp = 5; // used when you want something like "get the samples since X date/time" Loading @@ -134,7 +134,7 @@ message AlarmDescriptor { AlarmID alarm_id = 1; string alarm_description = 2; string name = 3; kpi_management.KpiId kpi_id = 4; kpi_manager.KpiId kpi_id = 4; KpiValueRange kpi_value_range = 5; context.Timestamp timestamp = 6; } Loading
proto/optical_attack_detector.proto +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package optical_attack_detector; import "context.proto"; //import "monitoring.proto"; import "kpi_management.proto"; import "kpi_manager.proto"; service OpticalAttackDetectorService { Loading @@ -29,5 +29,5 @@ service OpticalAttackDetectorService { message DetectionRequest { context.ServiceId service_id = 1; kpi_management.KpiId kpi_id = 2; kpi_manager.KpiId kpi_id = 2; }