From 80ff3a325cbced352489fa4ea4b570e5f08062ef Mon Sep 17 00:00:00 2001 From: JieJhih Jhang Date: Sat, 23 Mar 2019 21:52:06 +0800 Subject: support BMP sysName and sysDescr configuration --- api/gobgp.pb.go | 2 ++ api/gobgp.proto | 2 ++ 2 files changed, 4 insertions(+) (limited to 'api') diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index 7f0163c7..eca6e51f 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -2370,6 +2370,8 @@ type AddBmpRequest struct { Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` Policy AddBmpRequest_MonitoringPolicy `protobuf:"varint,3,opt,name=policy,enum=gobgpapi.AddBmpRequest_MonitoringPolicy" json:"policy,omitempty"` StatisticsTimeout int32 `protobuf:"varint,4,opt,name=StatisticsTimeout,json=statisticsTimeout" json:"StatisticsTimeout,omitempty"` + SysName string `protobuf:"bytes,5,opt,name=SysName,proto3" json:"SysName,omitempty"` + SysDescr string `protobuf:"bytes,6,opt,name=SysDescr,proto3" json:"SysDescr,omitempty"` } func (m *AddBmpRequest) Reset() { *m = AddBmpRequest{} } diff --git a/api/gobgp.proto b/api/gobgp.proto index 0ff0b94f..5ae6bc8d 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -439,6 +439,8 @@ message AddBmpRequest { } MonitoringPolicy policy = 3; int32 StatisticsTimeout = 4; + string SysName = 5; + string SysDescr = 6; } message DeleteBmpRequest { -- cgit v1.2.3