1 .. _bgp-user-guide-route-refresh-capability:
5 The Route Refresh Capability allows to dynamically request a re-advertisement of the Adj-RIB-Out from a BGP peer.
6 This is useful when the inbound routing policy for a peer changes and all prefixes from a peer must be reexamined against a new policy.
14 The capability is enabled by default, no additional configuration is required.
18 To send a Route Refresh request from OpenDaylight BGP speaker instance to its neighbor, invoke RPC:
20 **URL:** ``/restconf/operations/bgp-peer-rpc:route-refresh-request``
24 **Content-Type:** ``application/xml``
30 <input xmlns="urn:opendaylight:params:xml:ns:yang:bgp-peer-rpc">
31 <afi xmlns:types="urn:opendaylight:params:xml:ns:yang:bgp-types">types:ipv4-address-family</afi>
32 <safi xmlns:types="urn:opendaylight:params:xml:ns:yang:bgp-types">types:unicast-subsequent-address-family</safi>
33 <peer-ref xmlns:rib="urn:opendaylight:params:xml:ns:yang:bgp-rib">/rib:bgp-rib/rib:rib[rib:id="bgp-example"]/rib:peer[rib:peer-id="bgp://10.25.1.9"]</peer-ref>
38 * `Route Refresh Capability for BGP-4 <https://tools.ietf.org/html/rfc2918>`_
43 BGP provides a RPC feature to release a Neighbor session.
45 .. contents:: Contents
51 The capability is enabled by default, no additional configuration is required.
55 To release neighbor session, invoke RPC:
57 **URL:** ``/restconf/operations/bgp-peer-rpc:reset-session``
61 **Content-Type:** ``application/xml``
67 <input xmlns="urn:opendaylight:params:xml:ns:yang:bgp-peer-rpc">
68 <peer-ref xmlns:rib="urn:opendaylight:params:xml:ns:yang:bgp-rib">/rib:bgp-rib/rib:rib[rib:id="bgp-example"]/rib:peer[rib:peer-id="bgp://10.25.1.9"]</peer-ref>