diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-03 14:04:34 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-03 21:59:39 +0900 |
commit | 84dd9d6983564b37b7e146264c44da6874a08cf4 (patch) | |
tree | 1dcda7f9b8164aec87c0fc6c889f8499c6fd8492 /api/gobgp.pb.go | |
parent | d895c87c741084b4469bb260e3ef94f7793a8f92 (diff) |
api: use serialized buffer rather than protobuf struct to add paths
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.pb.go')
-rw-r--r-- | api/gobgp.pb.go | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index 901abcad..2f5a50fa 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -590,21 +590,16 @@ func (m *Arguments) GetAf() *AddressFamily { } type ModPathArguments struct { - Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"` - Path *Path `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"` + IsWithdraw bool `protobuf:"varint,2,opt,name=is_withdraw" json:"is_withdraw,omitempty"` + RawNlri []byte `protobuf:"bytes,3,opt,name=raw_nlri,proto3" json:"raw_nlri,omitempty"` + RawPattrs [][]byte `protobuf:"bytes,4,rep,name=raw_pattrs,proto3" json:"raw_pattrs,omitempty"` } func (m *ModPathArguments) Reset() { *m = ModPathArguments{} } func (m *ModPathArguments) String() string { return proto.CompactTextString(m) } func (*ModPathArguments) ProtoMessage() {} -func (m *ModPathArguments) GetPath() *Path { - if m != nil { - return m.Path - } - return nil -} - type PolicyArguments struct { Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"` Operation Operation `protobuf:"varint,2,opt,name=operation,enum=api.Operation" json:"operation,omitempty"` |