summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-08 15:13:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-09-08 15:29:04 +0900
commit5ae3e111f7d16cdd8c07d2d30fbf21fd50b820bd (patch)
treed45997c34a5e9be644d1b17e9177359a3104fd7f /tools
parent54c8d7e19c8c3ce2198a79b10dc04255e4d5e285 (diff)
server: add mrt bgp4mp support
You can enable the feature like: [Global] [Global.GlobalConfig] As = 64512 RouterId = "10.0.255.254" [Global.Mrt] FileName = "update.dump" Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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 2fa51887..ad8f24b8 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -554,7 +554,18 @@ module bgp-gobgp {
augment "/bgp:bgp" {
description "additional rpki configuration and state";
uses gobgp-rpki-servers;
-
}
+ augment "/bgp:bgp/bgp:global" {
+ description "additional mrt configuration";
+ container mrt {
+ description
+ "Configure dump bgp messages in the mrt format";
+ leaf file-name {
+ type string;
+ description
+ "Configures a file name to be written.";
+ }
+ }
+ }
}