Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
7a342bb6
Commit
7a342bb6
authored
1 year ago
by
Waleed Akbar
Browse files
Options
Downloads
Patches
Plain Diff
Added new message (KpiDescriptorFilter) and updated method name
parent
3a00a55c
No related branches found
No related tags found
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!207
Resolve "(CTTC) Separation of Monitoring"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/kpi_manager.proto
+28
-14
28 additions, 14 deletions
proto/kpi_manager.proto
with
28 additions
and
14 deletions
proto/kpi_manager.proto
+
28
−
14
View file @
7a342bb6
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment