summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-01-06 12:40:17 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-01-06 12:40:17 +0900
commit302632715c1dded7af7038d448ac66aeb5f44b49 (patch)
tree2bb06a4e4a0464eb21ddf69b2b1f2de536573652 /api/gobgp.proto
parent784578ec55d90492b16d6fe45197e5a74c40790d (diff)
rpki: add monitor command support
monitor the change of rpki validation results: $ gobgp monitor rpki Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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;