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.yang10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 480bca9b..c15f3bc6 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -561,6 +561,16 @@ module gobgp {
uses gobgp-message-counter;
}
+ augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config" {
+ description "additional state elements";
+
+ leaf admin-down {
+ type boolean;
+ description
+ "The config of administrative operation. If state, indicates the neighbor is disabled by the administrator";
+ }
+ }
+
augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:state" {
description "additional state elements";