This recipe will address how to add IPv4 routes using the BGP RESTful API. As a prerequisite the recipe will guide you through the manual configuration to enable the OpenDaylight controller to accept incoming BGP connections, which essentially means allowing it to behave like a BGP Speaker.
Adding and removing BGP routes to/from the network
Getting ready
As a prerequisite for this recipe, it is assumed that the RIB is configured and a regular BGP is also configured as described in the first recipe. In order to add IPv4 routes, that is, to populate the application RIB of a BGP peer, we need to configure the BGP speaker and set up an application peer.
BGP Speaker functionality configuration: This functionality can be enabled...