diff --git a/proto/context.proto b/proto/context.proto index ca6b17a92e602a39fe3f1adc6793f71b3c587da0..9baa6ab772e4b18d02f8e8cf68d47bd0ca7b6de1 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; }