From 68635d8f0613fc9e13edc7065c63bed3e00851ca Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 16 Oct 2015 15:32:28 +0900 Subject: api: support defined set modification via grpc Signed-off-by: ISHIDA Wataru --- api/gobgp.proto | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'api/gobgp.proto') diff --git a/api/gobgp.proto b/api/gobgp.proto index 7ef404f4..f6b59356 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -45,6 +45,7 @@ service GobgpApi { rpc ModVrf(ModVrfArguments) returns (Error) {} rpc GetDefinedSet(DefinedSet) returns (DefinedSet) {} rpc GetDefinedSets(DefinedSet) returns (stream DefinedSet) {} + rpc ModDefinedSet(ModDefinedSetArguments) returns (Error) {} } message Error { @@ -89,6 +90,11 @@ message ModVrfArguments { Vrf vrf = 2; } +message ModDefinedSetArguments { + Operation operation = 1; + DefinedSet set = 2; +} + enum Resource { GLOBAL = 0; LOCAL = 1; @@ -107,6 +113,7 @@ enum Operation { ADD = 0; DEL = 1; DEL_ALL = 2; + REPLACE = 3; } message Path { -- cgit v1.2.3