summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-05-26 10:47:45 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-03 18:18:23 +0900
commitbbf4b7c2a9bf53c560168427f632edd7bd06506f (patch)
treefc70e19497ab4c8d28f988e3f9668e520c78090a /tools
parent4eb493a84c1f394c703e1c68b5c6086a1b7382f6 (diff)
config: Option to enable BMP Route Mirroring
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 25299cc2..f6e7fb64 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -548,20 +548,30 @@ module gobgp {
"Reference to the address of the BMP server used as
a key in the BMP server list";
}
+
leaf port {
type uint32;
description
"Reference to the port of the BMP server";
}
+
leaf route-monitoring-policy {
type bmp-route-monitoring-policy-type;
default PRE-POLICY;
}
+
leaf statistics-timeout {
type uint16;
description
"Interval seconds of statistics messages sent to BMP server";
}
+
+ leaf route-mirroring-enabled {
+ type boolean;
+ description
+ "Enable feature for mirroring of received BGP messages
+ mainly for debugging purpose";
+ }
}
grouping gobgp-bmp-server-state {