summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-06 14:19:43 -0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-06 15:07:36 -0800
commitd280168106c9ef9ed68ad117b913f52e6bae1827 (patch)
tree37d67be13c26c19a366e2c1d5621eff74a8984b4 /tools/pyang_plugins
parentfa6c8fe58b7ef9aca401262be8677bb4526c3fcd (diff)
add route collector feature support
like openbgp's route collector, sends all updates (not only best). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r--tools/pyang_plugins/gobgp.yang11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 0a60ac6f..1760ad28 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -668,6 +668,17 @@ module gobgp {
}
augment "/bgp:bgp/bgp:global" {
+ description "route collector mode";
+ container collector {
+ leaf enabled {
+ type boolean;
+ description
+ "Configure enabling route-collector mode.";
+ }
+ }
+ }
+
+ augment "/bgp:bgp/bgp:global" {
description "additional bmp configuration";
uses gobgp-bmp-servers;
}