Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -5,7 +5,9 @@ package context; ...@@ -5,7 +5,9 @@ package context;
service ContextService { service ContextService {
rpc GetTopology (Empty) returns (Topology) {} rpc GetTopology (Empty) returns (Topology) {}
rpc AddLink(Link) returns (LinkId) {}
rpc DeleteLink(LinkId) returns (Empty) {}
} }
message Empty { message Empty {
...@@ -29,7 +31,8 @@ message Topology { ...@@ -29,7 +31,8 @@ message Topology {
} }
message Link { message Link {
repeated EndPointId endpointList = 1; LinkId link_id = 1;
repeated EndPointId endpointList = 2;
} }
message TopologyId { message TopologyId {
...@@ -69,6 +72,10 @@ message DeviceId { ...@@ -69,6 +72,10 @@ message DeviceId {
Uuid device_id = 1; Uuid device_id = 1;
} }
message LinkId {
Uuid link_id = 1;
}
message Uuid { message Uuid {
string uuid = 1; string uuid = 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment