summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-30 20:56:27 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-01-09 22:52:15 +0900
commitd94bb930dc2778a39dd96050193743136a26fb0e (patch)
tree2eb3755fc82df74a28f433cf79b2ec2b7febd7d8 /api/gobgp.proto
parentaff1c244ad0d88a814f2ce573800717ccd08b450 (diff)
api: support bmp configuration
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 732aef59..fbc375fa 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -40,6 +40,7 @@ service GobgpApi {
rpc MonitorROAValidation(Arguments) returns (stream ROAResult) {}
rpc GetMrt(MrtArguments) returns (stream MrtMessage) {}
rpc ModMrt(ModMrtArguments) returns (Error) {}
+ rpc ModBmp(ModBmpArguments) returns (Error) {}
rpc GetRPKI(Arguments) returns (stream RPKI) {}
rpc ModRPKI(ModRpkiArguments) returns (Error) {}
rpc GetROA(Arguments) returns (stream ROA) {}
@@ -108,6 +109,18 @@ message ModMrtArguments {
string filename = 2;
}
+message ModBmpArguments {
+ Operation operation = 1;
+ string address = 2;
+ uint32 port = 3;
+ enum MonitoringPolicy {
+ PRE = 0;
+ POST = 1;
+ BOTH = 2;
+ }
+ MonitoringPolicy type = 4;
+}
+
message ModRpkiArguments {
Operation operation = 1;
string address = 2;