summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-10-16 15:32:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-20 10:33:10 +0900
commit68635d8f0613fc9e13edc7065c63bed3e00851ca (patch)
treee2f82d205d8337ffe1a903951b7d3a69649c5eec /api/gobgp.proto
parent722975bfafdd723160dced623936c361475c9bff (diff)
api: support defined set modification via grpc
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto7
1 files changed, 7 insertions, 0 deletions
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 {