diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-03 15:41:25 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-03 21:59:39 +0900 |
commit | cf23ecec82526d33a67cb101c4384839fea2f95f (patch) | |
tree | b27c10ff964902d41c8fdce81c5cadcf5ca64e52 /api | |
parent | 84dd9d6983564b37b7e146264c44da6874a08cf4 (diff) |
mrt: merge gomrt to gobgp cli command
Usage
$ gobgp mrt inject global <filename> [<count>]
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r-- | api/gobgp.pb.go | 9 | ||||
-rw-r--r-- | api/gobgp.proto | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index 2f5a50fa..a7e0d90d 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -590,10 +590,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"` + 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"` } func (m *ModPathArguments) Reset() { *m = ModPathArguments{} } diff --git a/api/gobgp.proto b/api/gobgp.proto index cb85db27..84844214 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -63,6 +63,7 @@ message ModPathArguments { bool is_withdraw = 2; bytes raw_nlri = 3; repeated bytes raw_pattrs = 4; + bool no_implicit_withdraw = 5; } message PolicyArguments { |