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

Added new message (KpiDescriptorFilter) and updated method name

parent 3a00a55c
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!207Resolve "(CTTC) Separation of Monitoring"
...@@ -19,27 +19,41 @@ import "context.proto"; ...@@ -19,27 +19,41 @@ import "context.proto";
import "kpi_sample_types.proto"; import "kpi_sample_types.proto";
service KpiManagerService{ service KpiManagerService{
rpc SetKpi (KpiDescriptor ) returns (KpiId ) {} // Stable not final rpc SetKpiDescriptor (KpiDescriptor ) returns (KpiId ) {} // Stable not final
rpc DeleteKpi (KpiId ) returns (context.Empty ) {} // Stable and final rpc DeleteKpiDescriptor (KpiId ) returns (context.Empty ) {} // Stable and final
rpc GetKpiDescriptor (KpiId ) returns (KpiDescriptor ) {} // Stable and final rpc GetKpiDescriptor (KpiId ) returns (KpiDescriptor ) {} // Stable and final
rpc GetKpiDescriptorList (context.Empty ) returns (KpiDescriptorList ) {} // Stable and final rpc SelectKpiDescriptor (KpiDescriptorFilter) returns (KpiDescriptorList ) {} // Stable and final
}
message KpiId {
context.Uuid kpi_id = 1;
} }
message KpiDescriptor { message KpiDescriptor {
KpiId kpi_id = 1; KpiId kpi_id = 1;
string kpi_description = 2; string kpi_description = 2;
repeated KpiId kpi_id_list = 3; kpi_sample_types.KpiSampleType kpi_sample_type = 3;
kpi_sample_types.KpiSampleType kpi_sample_type = 4; context.DeviceId device_id = 4;
context.DeviceId device_id = 5; context.EndPointId endpoint_id = 5;
context.EndPointId endpoint_id = 6; context.ServiceId service_id = 6;
context.ServiceId service_id = 7; context.SliceId slice_id = 7;
context.SliceId slice_id = 8; context.ConnectionId connection_id = 8;
context.ConnectionId connection_id = 9; context.LinkId link_id = 9;
context.LinkId link_id = 10;
} }
message KpiId { message KpiDescriptorFilter {
context.Uuid kpi_id = 1; // KPI Descriptors that fulfill the filter are those that match ALL the following fields.
// An empty list means: any value is accepted.
// All fields empty means: list all KPI Descriptors
repeated KpiId kpi_id = 1;
repeated kpi_sample_types.KpiSampleType kpi_sample_type = 2;
repeated context.DeviceId device_id = 3;
repeated context.EndPointId endpoint_id = 4;
repeated context.ServiceId service_id = 5;
repeated context.SliceId slice_id = 6;
repeated context.ConnectionId connection_id = 7;
repeated context.LinkId link_id = 8;
} }
message KpiDescriptorList { message KpiDescriptorList {
......
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