summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-24 13:18:47 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2017-06-09 11:23:06 +0900
commit4bce52c3f37d2e69b5184c6be472565cd6bea483 (patch)
tree7eae75c8e327b6d1e41bf753a1977bdd3c08d226 /tools
parenteed50e9d048fdb388a0cc91db58eabd2376fdb7b (diff)
config: Add counter for BMP statistics
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang13
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index f6e7fb64..adac3956 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -180,6 +180,18 @@ module gobgp {
error condition has occurred exchanged.";
}
+ leaf WITHDRAW-UPDATE {
+ type uint32;
+ description
+ "Number of updates subjected to treat-as-withdraw treatment.";
+ }
+
+ leaf WITHDRAW-PREFIX {
+ type uint32;
+ description
+ "Number of prefixes subjected to treat-as-withdraw treatment.";
+ }
+
leaf DISCARDED {
type uint64;
description
@@ -195,7 +207,6 @@ module gobgp {
}
}
-
grouping gobgp-adjacent-table {
container adj-table {
leaf ADVERTISED {