From 9a45ed09b0a1b55be1391e3e5ba0e008b776d262 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 13 Feb 2017 07:49:42 +0000 Subject: cli: add current option to monitor commands Signed-off-by: ISHIDA Wataru --- api/gobgp.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'api/gobgp.proto') 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; -- cgit v1.2.3