summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-09-17 15:52:15 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-09-17 15:52:15 +0900
commit033c56a6110907759108951910ba0ab85a6ccd85 (patch)
tree617cbe9787011d074b29856dae6689518fd91e8e /tools/pyang_plugins
parent176485133ae3fed30fd7203398df6a53c1101196 (diff)
config: add zebra configuration
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r--tools/pyang_plugins/gobgp.yang18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 07daafa1..aff25752 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -623,4 +623,22 @@ module bgp-gobgp {
}
}
}
+
+ augment "/bgp:bgp/bgp:global" {
+ description "zebra configuration";
+ container zebra {
+ description
+ "Configure connection to zebra";
+ leaf enabled {
+ type boolean;
+ description
+ "Configure enabling to connect to zebra.";
+ }
+ leaf url {
+ type string;
+ description
+ "Configure url for zebra.";
+ }
+ }
+ }
}