Commit 5f4aabf6 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Update context.proto - added methods AddLink/DeleteLink and a UUID LinkId into the Link.

parent 56c5b0f9
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ package context;
service ContextService {
  rpc GetTopology (Empty) returns (Topology) {}

  rpc AddLink(Link) returns (LinkId) {}
  rpc DeleteLink(LinkId) returns (Empty) {}
}

message Empty {
@@ -29,7 +31,8 @@ message Topology {
}

message Link {
  repeated EndPointId endpointList = 1;
  LinkId link_id = 1;
  repeated EndPointId endpointList = 2;
}

message TopologyId {
@@ -69,6 +72,10 @@ message DeviceId {
  Uuid device_id = 1;
}

message LinkId {
  Uuid link_id = 1;
}

message Uuid {
  string uuid = 1;
}