summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-10-01 21:30:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-02 03:30:29 +0900
commit94836fe9a9e247361eb80d16e095c736732a7c61 (patch)
tree92e32b1986688f2f8ea7ce96f021b21a8e87cf29 /api
parent94b9f27c89d050c80183514986edebc9f6c8361f (diff)
cli: add command to show accepted/rejected routes
$ gobgp neighbor <remote addr> accepted $ gobgp neighbor <remote addr> rejected Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go1
-rw-r--r--api/gobgp.proto1
2 files changed, 2 insertions, 0 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index fe6949f4..97ededd1 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -249,6 +249,7 @@ type Path struct {
Rf uint32 `protobuf:"varint,8,opt,name=rf" json:"rf,omitempty"`
SourceAsn uint32 `protobuf:"varint,9,opt,name=source_asn" json:"source_asn,omitempty"`
SourceId string `protobuf:"bytes,10,opt,name=source_id" json:"source_id,omitempty"`
+ Filtered bool `protobuf:"varint,11,opt,name=filtered" json:"filtered,omitempty"`
}
func (m *Path) Reset() { *m = Path{} }
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 0ce3cf36..ec480470 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -118,6 +118,7 @@ message Path {
uint32 rf = 8;
uint32 source_asn = 9;
string source_id = 10;
+ bool filtered = 11;
}
message Destination {