summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-17 15:38:43 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-22 13:12:02 +0900
commit76ba8fcbda9480f9356d1733799974771f0280b0 (patch)
treeaf3b5917063491b238cb4b00cea6dc6e185c601a /tools
parentc37b50a024f4b90edf390b3f60d3df0f6c1901e2 (diff)
server/peer: Number of filtered routes to advertise
This patch extend the "AdjTable" container to store the number of the "filtered" routes which should not be advertised to the given neighbor. This routes mean the filterd routes because of RTC, VRFs, policy and other constraints. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index b9bd5f6c..25299cc2 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -202,6 +202,10 @@ module gobgp {
type uint32;
}
+ leaf FILTERED {
+ type uint32;
+ }
+
leaf RECEIVED {
type uint32;
}