summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
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 {