summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go4
-rw-r--r--api/gobgp.proto4
2 files changed, 8 insertions, 0 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index af9dde83..da4e61df 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -670,6 +670,8 @@ type PeerConf struct {
CapEnhancedRefresh bool `protobuf:"varint,5,opt,name=cap_enhanced_refresh" json:"cap_enhanced_refresh,omitempty"`
RemoteCap []int32 `protobuf:"varint,6,rep,name=remote_cap" json:"remote_cap,omitempty"`
LocalCap []int32 `protobuf:"varint,7,rep,name=local_cap" json:"local_cap,omitempty"`
+ Holdtime uint32 `protobuf:"varint,8,opt,name=holdtime" json:"holdtime,omitempty"`
+ KeepaliveInterval uint32 `protobuf:"varint,9,opt,name=keepalive_interval" json:"keepalive_interval,omitempty"`
}
func (m *PeerConf) Reset() { *m = PeerConf{} }
@@ -702,6 +704,8 @@ type PeerInfo struct {
Advertized uint32 `protobuf:"varint,23,opt,name=advertized" json:"advertized,omitempty"`
OutQ uint32 `protobuf:"varint,24,opt,name=out_q" json:"out_q,omitempty"`
Flops uint32 `protobuf:"varint,25,opt,name=flops" json:"flops,omitempty"`
+ NegotiatedHoldtime uint32 `protobuf:"varint,26,opt,name=negotiated_holdtime" json:"negotiated_holdtime,omitempty"`
+ KeepaliveInterval uint32 `protobuf:"varint,27,opt,name=keepalive_interval" json:"keepalive_interval,omitempty"`
}
func (m *PeerInfo) Reset() { *m = PeerInfo{} }
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 7f12d27b..239c933d 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -252,6 +252,8 @@ message PeerConf {
bool cap_enhanced_refresh = 5;
repeated int32 remote_cap = 6;
repeated int32 local_cap = 7;
+ uint32 holdtime = 8;
+ uint32 keepalive_interval = 9;
}
message PeerInfo {
@@ -280,6 +282,8 @@ message PeerInfo {
uint32 advertized = 23;
uint32 out_q = 24;
uint32 flops = 25;
+ uint32 negotiated_holdtime = 26;
+ uint32 keepalive_interval = 27;
}
message Peer {