From d94bb930dc2778a39dd96050193743136a26fb0e Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Wed, 30 Dec 2015 20:56:27 +0900 Subject: api: support bmp configuration Signed-off-by: ISHIDA Wataru --- api/gobgp.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'api/gobgp.proto') 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; -- cgit v1.2.3