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
5a85e8f3
Commit
5a85e8f3
authored
1 year ago
by
Waleed Akbar
Browse files
Options
Downloads
Patches
Plain Diff
imports are updated to refer to kpi_manager.proto
parent
c67611f3
No related branches found
No related tags found
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!207
Resolve "(CTTC) Separation of Monitoring"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
proto/device.proto
+4
-3
4 additions, 3 deletions
proto/device.proto
proto/optical_attack_detector.proto
+3
-2
3 additions, 2 deletions
proto/optical_attack_detector.proto
proto/policy_condition.proto
+2
-1
2 additions, 1 deletion
proto/policy_condition.proto
with
9 additions
and
6 deletions
proto/device.proto
+
4
−
3
View file @
5a85e8f3
...
@@ -16,7 +16,8 @@ syntax = "proto3";
...
@@ -16,7 +16,8 @@ syntax = "proto3";
package
device
;
package
device
;
import
"context.proto"
;
import
"context.proto"
;
import
"monitoring.proto"
;
//import "monitoring.proto";
import
"kpi_manager.proto"
;
service
DeviceService
{
service
DeviceService
{
rpc
AddDevice
(
context.Device
)
returns
(
context.DeviceId
)
{}
rpc
AddDevice
(
context.Device
)
returns
(
context.DeviceId
)
{}
...
@@ -27,8 +28,8 @@ service DeviceService {
...
@@ -27,8 +28,8 @@ service DeviceService {
}
}
message
MonitoringSettings
{
message
MonitoringSettings
{
monitoring
.KpiId
kpi_id
=
1
;
kpi_manager
.KpiId
kpi_id
=
1
;
monitoring
.KpiDescriptor
kpi_descriptor
=
2
;
kpi_manager
.KpiDescriptor
kpi_descriptor
=
2
;
float
sampling_duration_s
=
3
;
float
sampling_duration_s
=
3
;
float
sampling_interval_s
=
4
;
float
sampling_interval_s
=
4
;
}
}
This diff is collapsed.
Click to expand it.
proto/optical_attack_detector.proto
+
3
−
2
View file @
5a85e8f3
...
@@ -17,7 +17,8 @@ syntax = "proto3";
...
@@ -17,7 +17,8 @@ syntax = "proto3";
package
optical_attack_detector
;
package
optical_attack_detector
;
import
"context.proto"
;
import
"context.proto"
;
import
"monitoring.proto"
;
//import "monitoring.proto";
import
"kpi_manager.proto"
;
service
OpticalAttackDetectorService
{
service
OpticalAttackDetectorService
{
...
@@ -28,5 +29,5 @@ service OpticalAttackDetectorService {
...
@@ -28,5 +29,5 @@ service OpticalAttackDetectorService {
message
DetectionRequest
{
message
DetectionRequest
{
context.ServiceId
service_id
=
1
;
context.ServiceId
service_id
=
1
;
monitoring
.KpiId
kpi_id
=
2
;
kpi_manager
.KpiId
kpi_id
=
2
;
}
}
This diff is collapsed.
Click to expand it.
proto/policy_condition.proto
+
2
−
1
View file @
5a85e8f3
...
@@ -16,10 +16,11 @@ syntax = "proto3";
...
@@ -16,10 +16,11 @@ syntax = "proto3";
package
policy
;
package
policy
;
import
"monitoring.proto"
;
import
"monitoring.proto"
;
import
"kpi_manager.proto"
;
// Condition
// Condition
message
PolicyRuleCondition
{
message
PolicyRuleCondition
{
monitoring
.KpiId
kpiId
=
1
;
kpi_manager
.KpiId
kpiId
=
1
;
NumericalOperator
numericalOperator
=
2
;
NumericalOperator
numericalOperator
=
2
;
monitoring.KpiValue
kpiValue
=
3
;
monitoring.KpiValue
kpiValue
=
3
;
}
}
...
...
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