summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-22 07:15:36 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-27 10:32:42 +0000
commit6e8d1bb1626996fbaa80b4b0a4322b2bdc27ce6e (patch)
tree863afb30b80284dbc7184a81ce9d3c12bfbd2f80 /tools/pyang_plugins
parent3075ae5df98c1f6de73fd33ab5900a81cec3845b (diff)
config: support reload of AdminDown
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-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";