summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-01 19:54:40 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-08 20:56:46 +0900
commitef934f76a52df814d5c77f9d0c3f9acaeb0856d9 (patch)
tree745f67a7fbc30cacf4286f99ec22434344ebcd08 /api
parent74fd2e51ee6746440602250b11477ba96d86c258 (diff)
api: change arguments name from neighbor_address to name
planning to use this variable more generally (for vrf) Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go15
-rw-r--r--api/gobgp.proto11
2 files changed, 14 insertions, 12 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index 436f6119..d37eaa3e 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -582,9 +582,9 @@ func (m *Error) String() string { return proto.CompactTextString(m) }
func (*Error) ProtoMessage() {}
type Arguments struct {
- Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"`
- Af *AddressFamily `protobuf:"bytes,2,opt,name=af" json:"af,omitempty"`
- NeighborAddress string `protobuf:"bytes,3,opt,name=neighbor_address" json:"neighbor_address,omitempty"`
+ Resource Resource `protobuf:"varint,1,opt,name=resource,enum=api.Resource" json:"resource,omitempty"`
+ Af *AddressFamily `protobuf:"bytes,2,opt,name=af" json:"af,omitempty"`
+ Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
}
func (m *Arguments) Reset() { *m = Arguments{} }
@@ -600,10 +600,11 @@ func (m *Arguments) GetAf() *AddressFamily {
type ModPathArguments struct {
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"`
- NoImplicitWithdraw bool `protobuf:"varint,5,opt,name=no_implicit_withdraw" json:"no_implicit_withdraw,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
+ IsWithdraw bool `protobuf:"varint,3,opt,name=is_withdraw" json:"is_withdraw,omitempty"`
+ RawNlri []byte `protobuf:"bytes,4,opt,name=raw_nlri,proto3" json:"raw_nlri,omitempty"`
+ RawPattrs [][]byte `protobuf:"bytes,5,rep,name=raw_pattrs,proto3" json:"raw_pattrs,omitempty"`
+ NoImplicitWithdraw bool `protobuf:"varint,6,opt,name=no_implicit_withdraw" json:"no_implicit_withdraw,omitempty"`
}
func (m *ModPathArguments) Reset() { *m = ModPathArguments{} }
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 74c0b993..92f9fcf5 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -55,15 +55,16 @@ message Error {
message Arguments {
Resource resource = 1;
AddressFamily af = 2;
- string neighbor_address = 3;
+ string name = 3;
}
message ModPathArguments {
Resource resource = 1;
- bool is_withdraw = 2;
- bytes raw_nlri = 3;
- repeated bytes raw_pattrs = 4;
- bool no_implicit_withdraw = 5;
+ string name = 2;
+ bool is_withdraw = 3;
+ bytes raw_nlri = 4;
+ repeated bytes raw_pattrs = 5;
+ bool no_implicit_withdraw = 6;
}
message PolicyArguments {