diff options
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; +} |