Running BGPΒΆ
This section explains how to install BGP plugin.
Install BGP feature -
odl-bgpcep-bgp
. Also, for sake of this sample, it is required to install RESTCONF. In the Karaf console, type command:feature:install odl-restconf odl-bgpcep-bgp
The BGP plugin contains a default configuration, which is applied after the feature starts up. One instance of BGP plugin is created (named example-bgp-rib), and its presence can be verified via REST:
URL:
/rests/data/bgp-rib:bgp-rib?content=nonconfig
Method:
GET
Response Body:
<bgp-rib xmlns="urn:opendaylight:params:xml:ns:yang:bgp-rib"> <rib> <id>example-bgp-rib</id> <loc-rib> .... </loc-rib> </rib> </bgp-rib>
Response Body:
{ "bgp-rib": { "rib": { "id": "example-bgp-rib", "loc-rib": [ "...." ] } } }