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, 6 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 7b4ad64f..1d6f0c52 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -35,7 +35,7 @@ service GobgpApi {
rpc ValidateRib(ValidateRibRequest) returns (ValidateRibResponse) {}
rpc AddPath(AddPathRequest) returns (AddPathResponse) {}
rpc DeletePath(DeletePathRequest) returns (DeletePathResponse) {}
- rpc MonitorRib(Table) returns (stream Destination) {}
+ rpc MonitorRib(MonitorRibRequest) returns (stream Destination) {}
rpc MonitorPeerState(Arguments) returns (stream Peer) {}
rpc EnableMrt(EnableMrtRequest) returns (EnableMrtResponse) {}
rpc DisableMrt(DisableMrtRequest) returns (DisableMrtResponse) {}
@@ -212,6 +212,11 @@ message DeleteBmpRequest {
message DeleteBmpResponse {
}
+message MonitorRibRequest {
+ Table table = 1;
+ bool current = 2;
+}
+
message RPKIConf {
string address = 1;
string remote_port = 2;