summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 296d7f18..732aef59 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -37,6 +37,7 @@ service GobgpApi {
rpc ModPaths(stream ModPathsArguments) returns (Error) {}
rpc MonitorBestChanged(Arguments) returns (stream Destination) {}
rpc MonitorPeerState(Arguments) returns (stream Peer) {}
+ rpc MonitorROAValidation(Arguments) returns (stream ROAResult) {}
rpc GetMrt(MrtArguments) returns (stream MrtMessage) {}
rpc ModMrt(ModMrtArguments) returns (Error) {}
rpc GetRPKI(Arguments) returns (stream RPKI) {}
@@ -470,6 +471,20 @@ message ROA {
RPKIConf conf = 5;
}
+message ROAResult {
+ uint32 origin_as = 1;
+ string prefix = 2;
+ enum ValidationResult {
+ NONE = 0;
+ NOT_FOUND = 1;
+ VALID = 2;
+ INVALID = 3;
+ }
+ ValidationResult old_result = 3;
+ ValidationResult new_result = 4;
+ repeated ROA roas = 5;
+}
+
message Vrf {
string name = 1;
bytes rd = 2;