Long-Lived Graceful Restart Capability

The Long-Lived Graceful Restart Capability is extension to Graceful Restart that provides tools to retain stale routes for longer time upon session failure. New capability is advertised in OPEN message in conjunction with Graceful Restart Capability, which contains list of supported families and their stale timer. After session failure and Graceful Restart timer expire routing information is retained for value of Long-Lived Stale Timer.

Configuration

Long-Live Graceful Restart is enabled and configured per family in ll-graceful-restart section of neighbor or peer-group family configuration.

URL: /rests/data/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP,bgp-example/bgp-openconfig-extensions:bgp/neighbors/neighbor=192.0.2.1/afi-safis/afi-safi=openconfig-bgp-types:IPV4%2DUNICAST/graceful-restart

or

URL: /rests/data/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP,bgp-example/bgp-openconfig-extensions:bgp/peer-groups/peer-group/external-neighbors/afi-safis/afi-safi=openconfig-bgp-types:IPV4%2DUNICAST/graceful-restart

Method: PUT

Content-Type: application/xml

Request Body:

1<graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">
2    <config>
3        <ll-graceful-restart xmlns="urn:opendaylight:params:xml:ns:yang:bgp:ll-graceful-restart">
4            <config>
5                <long-lived-stale-time>180</long-lived-stale-time>
6            </config>
7        </ll-graceful-restart>
8    </config>
9</graceful-restart>

@line 5: value of Long-Lived Stale timer in seconds

References