summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-28 12:59:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-28 12:59:28 +0900
commit427e9efa79b3cac87a5628698ef0662088fd856a (patch)
tree5e508afbab87096899e6c07fc121489279f6a9bf /api/gobgp.proto
parent9abc68f4e7327ce856a1e05aac64c576c26c1258 (diff)
add RPKI support
Just get info from ROA server. Not varidate any route yet. Currently, "--rpki-server" option enables RPKI: $ gobgpd --rpki-server 210.173.170.254:323 We'll use the configuration file for this later. You can see ROAs via CLI: $ gobgp rpki For ipv6, $ gobgp rpki -a v6 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 5441647c..1a573977 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -40,6 +40,7 @@ service Grpc {
rpc MonitorBestChanged(Arguments) returns (stream Path) {}
rpc MonitorPeerState(Arguments) returns (stream Peer) {}
rpc GetMrt(MrtArguments) returns (stream MrtMessage) {}
+ rpc GetRPKI(Arguments) returns (stream ROA) {}
}
message Error {
@@ -497,3 +498,10 @@ message ApplyPolicy {
message MrtMessage {
bytes data = 1;
}
+
+message ROA {
+ uint32 as = 1;
+ uint32 prefixlen = 2;
+ uint32 maxlen = 3;
+ string prefix = 4;
+} \ No newline at end of file