summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.pb.go
diff options
context:
space:
mode:
authorBen Agricola <bagricola@squiz.co.uk>2016-07-11 21:41:01 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-11 21:41:01 +0900
commited62f3f3d91e378c53d4f6faea4fad4280c3079e (patch)
tree72bca446b4310618ae5a109f99f312c211bce49b /api/gobgp.pb.go
parentdcdc6f7a05419d211590a6ac9fc60d41efea0dbe (diff)
Add shorter prefix search
Adds a shorter-prefixes search mode that finds any identical-or-less-specific routes than the input values. Bug-Url: #1006 Signed-off-by: Ben Agricola bagricola@squiz.co.uk
Diffstat (limited to 'api/gobgp.pb.go')
-rw-r--r--api/gobgp.pb.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index 8edf8624..0021c995 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -1502,9 +1502,10 @@ func (*Path) ProtoMessage() {}
func (*Path) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{92} }
type Destination struct {
- Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
- Paths []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"`
- LongerPrefixes bool `protobuf:"varint,3,opt,name=longer_prefixes,json=longerPrefixes" json:"longer_prefixes,omitempty"`
+ Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
+ Paths []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"`
+ LongerPrefixes bool `protobuf:"varint,3,opt,name=longer_prefixes,json=longerPrefixes" json:"longer_prefixes,omitempty"`
+ ShorterPrefixes bool `protobuf:"varint,4,opt,name=shorter_prefixes,json=shorterPrefixes" json:"shorter_prefixes,omitempty"`
}
func (m *Destination) Reset() { *m = Destination{} }