summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2017-02-13 07:49:42 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-02-15 00:10:15 +0900
commit9a45ed09b0a1b55be1391e3e5ba0e008b776d262 (patch)
treecb7f53dd331a635a006c3cc1543f83f560d91a46 /api/gobgp.proto
parent52356c26f821fdebb3fdf943a1b898a2d1b4d0db (diff)
cli: add current option to monitor commands
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, 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;