diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-07-22 13:24:31 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-07-22 14:49:46 +0900 |
commit | a4501ccc3f680de0a9f9cc8621256d71d3679478 (patch) | |
tree | 1ab8e04fb4c6c39f512be1e9f76c26c78a127ac7 /api/gobgp.proto | |
parent | 3409f6a5443cf0d6cf0d318feba845f237cd14ba (diff) |
mrt: support mrt dump
$ gobgp mrt dump 10 -o ./dump
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index c97e446a..5441647c 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -39,6 +39,7 @@ service Grpc { rpc ModPolicyRoutePolicy(stream PolicyArguments) returns (stream Error) {} rpc MonitorBestChanged(Arguments) returns (stream Path) {} rpc MonitorPeerState(Arguments) returns (stream Peer) {} + rpc GetMrt(MrtArguments) returns (stream MrtMessage) {} } message Error { @@ -70,6 +71,12 @@ message PolicyArguments { ApplyPolicy apply_policy = 7; } +message MrtArguments { + Resource resource = 1; + AddressFamily af = 2; + uint64 interval = 3; +} + enum Resource { GLOBAL = 0; LOCAL = 1; @@ -486,3 +493,7 @@ message ApplyPolicy { repeated PolicyDefinition distribute_policies = 5; string default_distribute_policy = 6; } + +message MrtMessage { + bytes data = 1; +} |