From 4cc7a81e8f5ae3c6584f26a1d9300e0522fdab7d Mon Sep 17 00:00:00 2001 From: Eiichiro Watanabe Date: Mon, 12 Nov 2018 14:41:58 +0900 Subject: Support AdminDown from config --- api/gobgp.pb.go | 1 + api/gobgp.proto | 1 + 2 files changed, 2 insertions(+) (limited to 'api') diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index e2caba93..bb41655a 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -2958,6 +2958,7 @@ type PeerConf struct { Vrf string `protobuf:"bytes,15,opt,name=vrf" json:"vrf,omitempty"` AllowOwnAs uint32 `protobuf:"varint,16,opt,name=allow_own_as,json=allowOwnAs" json:"allow_own_as,omitempty"` ReplacePeerAs bool `protobuf:"varint,17,opt,name=replace_peer_as,json=replacePeerAs" json:"replace_peer_as,omitempty"` + AdminDown bool `protobuf:"varint,18,opt,name=admin_down,json=adminDown" json:"admin_down,omitempty"` } func (m *PeerConf) Reset() { *m = PeerConf{} } diff --git a/api/gobgp.proto b/api/gobgp.proto index a33e92d1..2b8e8e4a 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -622,6 +622,7 @@ message PeerConf { string vrf = 15; uint32 allow_own_as = 16; bool replace_peer_as = 17; + bool admin_down = 18; } message PeerGroupConf { -- cgit v1.2.3