diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-17 09:26:56 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-17 09:26:56 -0800 |
commit | 70fae5c8cc6c8f9e96f2b0f143a71cca551725bc (patch) | |
tree | 4f05101f70da8ffa3af22230317db17e7d6248e5 /api/gobgp.proto | |
parent | 7a5cf6a2b9c0b9f2f2227b35dce2855b157fda91 (diff) |
rpki: add reason to rpki monitor api
tells a reason why notificaiton was sent, withdraw, peer down, and others
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index bfc63871..90b841df 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -485,20 +485,26 @@ message ROA { } message ROAResult { - string address = 1; - int64 timestamp = 2; - bytes aspath_attr = 3; - uint32 origin_as = 4; - string prefix = 5; + enum ValidationReason { + UPDATE = 0; + WITHDRAW = 1; + PEER_DOWN = 2; + } + ValidationReason reason = 1; + string address = 2; + int64 timestamp = 3; + bytes aspath_attr = 4; + uint32 origin_as = 5; + string prefix = 6; enum ValidationResult { NONE = 0; NOT_FOUND = 1; VALID = 2; INVALID = 3; } - ValidationResult old_result = 6; - ValidationResult new_result = 7; - repeated ROA roas = 8; + ValidationResult old_result = 7; + ValidationResult new_result = 8; + repeated ROA roas = 9; } message Vrf { |