Commit 8d633148 authored by Ricard Vilalta's avatar Ricard Vilalta
Browse files

Update context.proto with timestamp and location

parent 22bf85ee
Loading
Loading
Loading
Loading
+16 −5
Original line number Diff line number Diff line
@@ -83,8 +83,12 @@ enum EventTypeEnum {
  EVENTTYPE_REMOVE = 3;
}

message Event {
message Timestamp {
  double timestamp = 1;
}

message Event {
  Timestamp timestamp = 1;
  EventTypeEnum event_type = 2;
}

@@ -224,6 +228,7 @@ message Service {
  repeated Constraint service_constraints = 4;
  ServiceStatus service_status = 5;
  ServiceConfig service_config = 6;
  Timestamp timestamp = 7;
}

enum ServiceTypeEnum {
@@ -275,6 +280,7 @@ message Slice {
  repeated SliceId slice_subslice_ids = 5;
  SliceStatus slice_status = 6;
  SliceOwner slice_owner = 7;
  Timestamp timestamp = 8;
}

message SliceOwner {
@@ -380,6 +386,7 @@ message EndPoint {
  EndPointId endpoint_id = 1;
  string endpoint_type = 2;
  repeated kpi_sample_types.KpiSampleType kpi_sample_types = 3;
  Location endpoint_location = 4;
}


@@ -425,12 +432,16 @@ message GPS_Position {
  float longitude = 2;
}

message Constraint_EndPointLocation {
  EndPointId endpoint_id = 1;
message Location {
  oneof location {
    string region = 2;
    GPS_Position gps_position = 3;
    string region = 1;
    GPS_Position gps_position = 2;
  }
}

message Constraint_EndPointLocation {
  EndPointId endpoint_id = 1;
  Location location = 2;
}

message Constraint_SLA_Latency {