Skip to content
Snippets Groups Projects

Service RecomputeConnections RPC method, Device Controller node pointer and Exclude Constraint

Merged Lluis Gifre Renom requested to merge feat/service-recompute-path-rpc into develop
25 files
+ 728
51
Compare changes
  • Side-by-side
  • Inline
Files
25
+ 13
3
@@ -175,6 +175,7 @@ message Device {
repeated DeviceDriverEnum device_drivers = 6;
repeated EndPoint device_endpoints = 7;
repeated Component component = 8; // Used for inventory
DeviceId controller_id = 9; // Identifier of node controlling the actual device
}
message Component {
@@ -276,9 +277,10 @@ enum ServiceTypeEnum {
enum ServiceStatusEnum {
SERVICESTATUS_UNDEFINED = 0;
SERVICESTATUS_PLANNED = 1;
SERVICESTATUS_ACTIVE = 2;
SERVICESTATUS_PENDING_REMOVAL = 3;
SERVICESTATUS_SLA_VIOLATED = 4;
SERVICESTATUS_ACTIVE = 2;
SERVICESTATUS_UPDATING = 3;
SERVICESTATUS_PENDING_REMOVAL = 4;
SERVICESTATUS_SLA_VIOLATED = 5;
}
message ServiceStatus {
@@ -554,6 +556,13 @@ message Constraint_SLA_Isolation_level {
repeated IsolationLevelEnum isolation_level = 1;
}
message Constraint_Exclusions {
bool is_permanent = 1;
repeated DeviceId device_ids = 2;
repeated EndPointId endpoint_ids = 3;
repeated LinkId link_ids = 4;
}
message Constraint {
oneof constraint {
Constraint_Custom custom = 1;
@@ -564,6 +573,7 @@ message Constraint {
Constraint_SLA_Latency sla_latency = 6;
Constraint_SLA_Availability sla_availability = 7;
Constraint_SLA_Isolation_level sla_isolation = 8;
Constraint_Exclusions exclusions = 9;
}
}
Loading