summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/gobgp.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-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.";
+ }
+ }
+ }
}