summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-12 13:24:27 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-05-22 12:10:07 +0900
commitea56b24395b29025c0ad4ce2fac10be9b6c8895b (patch)
tree02b31f2ab29e995db2ee0b206b498a8f85557356 /tools
parent02b4ee0d904945c6cebb0a2d1c894d29c2a292ab (diff)
bmp: Enable to specify all route monitoring policies
This patch adds the new key "all" for specifying the all BMP route monitoring policies. Configuration Example: [[bmp-servers]] [bmp-servers.config] address = "127.0.0.1" port=11019 route-monitoring-policy = "all" 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 b37c7898..fd1551ea 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -52,6 +52,10 @@ module gobgp {
value 3;
description "send local rib routes";
}
+ enum ALL {
+ value 4;
+ description "send pre-policy, post-policy, and local rib routes";
+ }
}
}