diff options
author | JieJhih Jhang <aawer12345tw@yahoo.com.tw> | 2019-03-23 21:52:06 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-03-25 20:11:44 +0900 |
commit | 80ff3a325cbced352489fa4ea4b570e5f08062ef (patch) | |
tree | 86ecd1732490a907cda674b10de71d52c4df42b0 /api | |
parent | a61191604194e0ab1a4500ba57ecbec5de88b2e3 (diff) |
support BMP sysName and sysDescr configuration
Diffstat (limited to 'api')
-rw-r--r-- | api/gobgp.pb.go | 2 | ||||
-rw-r--r-- | api/gobgp.proto | 2 |
2 files changed, 4 insertions, 0 deletions
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 { |