summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-16 10:06:47 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-16 12:23:18 +0900
commitc1bca2555919f9f2a7dd9d13dc3e14a4bf6a589a (patch)
tree3a19cc12f27f146df079e03a487acea492e8d595 /api/gobgp.proto
parent893dbd5c074c097f0c9921d3131a072011fb7e6a (diff)
use google/protobuf/timestamp.proto
use google/protobuf/timestamp.proto instead of our own way to represent time. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto11
1 files changed, 6 insertions, 5 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 9b9e0f53..8541d2fe 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -23,6 +23,7 @@ syntax = "proto3";
import "google/protobuf/any.proto";
import "google/protobuf/empty.proto";
+import "google/protobuf/timestamp.proto";
package gobgpapi;
@@ -500,7 +501,7 @@ message RPKIValidation{
message Path {
bytes nlri = 1;
repeated bytes pattrs = 2;
- int64 age = 3;
+ google.protobuf.Timestamp age = 3;
bool best = 4;
bool is_withdraw = 5;
RPKIValidation validation_detail = 7;
@@ -748,8 +749,8 @@ message TimersState{
uint64 keepalive_interval = 3;
uint64 minimum_advertisement_interval = 4;
uint64 negotiated_hold_time = 5;
- uint64 uptime = 6;
- uint64 downtime = 7;
+ google.protobuf.Timestamp uptime = 6;
+ google.protobuf.Timestamp downtime = 7;
}
message Transport {
@@ -1153,8 +1154,8 @@ message RPKIConf {
}
message RPKIState {
- int64 uptime = 1;
- int64 downtime = 2;
+ google.protobuf.Timestamp uptime = 1;
+ google.protobuf.Timestamp downtime = 2;
bool up = 3;
uint32 record_ipv4 = 4;
uint32 record_ipv6 = 5;