diff options
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 { |