diff options
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index 80b88c02..f08d5b26 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -39,7 +39,8 @@ service Grpc { rpc MonitorBestChanged(Arguments) returns (stream Destination) {} rpc MonitorPeerState(Arguments) returns (stream Peer) {} rpc GetMrt(MrtArguments) returns (stream MrtMessage) {} - rpc GetRPKI(Arguments) returns (stream ROA) {} + rpc GetRPKI(Arguments) returns (stream RPKI) {} + rpc GetROA(Arguments) returns (stream ROA) {} rpc GetVrfs(Arguments) returns (stream Vrf) {} rpc ModVrf(ModVrfArguments) returns (Error) {} } @@ -295,6 +296,22 @@ message MrtMessage { bytes data = 1; } +message RPKIConf { + string address = 1; +} + +message RPKIState { + int64 uptime = 1; + int64 downtime = 2; + int32 received_ipv4 = 3; + int32 received_ipv6 = 4; +} + +message RPKI { + RPKIConf conf = 1; + RPKIState state = 2; +} + message ROA { uint32 as = 1; uint32 prefixlen = 2; |