diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-23 20:54:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-10 23:35:41 -0800 |
commit | b19bbd415e8d33f01bcd407baece94ea1b81c957 (patch) | |
tree | e2a2ebec25d13924dfc7411ad25759c951dd70f8 /tools/pyang_plugins | |
parent | a207c90fe4544caa95d30ffaec5defee78ef6fd3 (diff) |
gobgpd: support graceful-restart restarting-speaker behavior
use `-r` option to start gobgpd in restarting-speaker mode
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 1760ad28..092a2908 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -10,6 +10,7 @@ module gobgp { // import some basic types import openconfig-bgp { prefix bgp; } import openconfig-bgp-types { prefix bgp-types; } + import openconfig-bgp-multiprotocol { prefix bgp-mp; } import openconfig-routing-policy {prefix rpol; } import openconfig-policy-types {prefix ptypes; } import openconfig-bgp-policy {prefix bgp-pol; } @@ -572,6 +573,30 @@ module gobgp { uses gobgp-neighbor-timer; } + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:afi-safis/bgp:afi-safi/bgp:graceful-restart/bgp:state" { + description "additional graceful-restart status"; + leaf end-of-rib-received { + type boolean; + } + leaf end-of-rib-sent { + type boolean; + } + } + + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:config" { + description "additional graceful-restart status"; + leaf deferral-time { + type uint16; + } + } + + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:graceful-restart/bgp:state" { + description "additional graceful-restart status"; + leaf deferral-time { + type uint16; + } + } + augment "/bgp:bgp/bgp:peer-groups/bgp:peer-group" { description "route server configuration for peer-group"; uses gobgp-route-server-config-set; @@ -742,4 +767,5 @@ module gobgp { } } } + } |