From 6e8d1bb1626996fbaa80b4b0a4322b2bdc27ce6e Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 22 Apr 2016 07:15:36 +0000 Subject: config: support reload of AdminDown Signed-off-by: ISHIDA Wataru --- tools/pyang_plugins/gobgp.yang | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools/pyang_plugins') 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"; -- cgit v1.2.3