From 5f4aabf67b3a63170ff451a941293559b341740c Mon Sep 17 00:00:00 2001
From: Lluis Gifre <lluis.gifre@cttc.es>
Date: Fri, 30 Jul 2021 17:25:26 +0000
Subject: [PATCH] Update context.proto - added methods AddLink/DeleteLink and a
 UUID LinkId into the Link.

---
 proto/context.proto | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/proto/context.proto b/proto/context.proto
index ca6b17a92..9baa6ab77 100644
--- a/proto/context.proto
+++ b/proto/context.proto
@@ -5,7 +5,9 @@ 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;
 }
-- 
GitLab