Merge "BGPCEP-781: Add path-id to all AFI/SAFI guides"
[docs.git] / docs / user-guide / bgpcep-guide / bgp / bgp-user-guide-overview.rst
1 .. _bgp-user-guide-overview:
2
3 Overview
4 ========
5 This section provides high-level overview of the Border Gateway Protocol, OpenDaylight implementation and BGP usage in SDN era.
6
7 .. contents:: Contents
8    :depth: 2
9    :local:
10
11 Border Gateway Protocol
12 ^^^^^^^^^^^^^^^^^^^^^^^
13 The Border Gateway Protocol (BGP) is an inter-Autonomous System (AS) routing protocol.
14 The primary role of the BGP is an exchange of routes among other BGP systems.
15 The route is an unit of information which pairs destination (IP address prefix) with attributes to the path with the destination.
16 One of the most interesting attributes is a list of ASes that the route traversed - essential when avoiding loop routing.
17 Advertised routes are stored in the Routing Information Bases (RIBs). Routes are later used to forward packets, stored in Routing Table for this purpose.
18 The main advantage of the BGP over other routing protocols is its scalability, thus it has become the standardized Internet routing protocol (Internet is a set of ASes).
19
20 BGP in SDN
21 ^^^^^^^^^^
22 However BGP evolved long time before SDN was born, it plays a significant role in many SDN use-cases.
23 Also, continuous evolution of the protocol brings extensions that are very well suited for SDN.
24 Nowadays, BGP can carry various types of routing information - L3VPN, L2VPN, IP multicast, linkstate, etc.
25 Here is a brief list of software-based/legacy-network technologies where BGP-based SDN solution get into an action:
26
27 * SDN WAN - WAN orchestration and optimization
28 * SDN router - Turns switch into an Internet router
29 * Virtual Route Reflector - High-performance server-based BGP Route Reflector
30 * SDX - A Software Defined Internet Exchange controller
31 * Large-Scale Data Centers - BGP Data Center Routing, MPLS/SR in DCs, DC interconnection
32 * DDoS mitigation - Traffic Filtering distribution with BGP
33
34 OpenDaylight BGP plugin
35 ^^^^^^^^^^^^^^^^^^^^^^^
36 The OpenDaylight controller provides an implementation of BGP (RFC 4271) as a south-bound protocol plugin.
37 The implementation renders all basic *BGP speaker capabilities*:
38
39 * inter/intra-AS peering
40 * routes advertising
41 * routes originating
42 * routes storage
43
44 The plugin's **north-bound API** (``REST``/``Java``) provides to user:
45
46 * fully dynamic runtime standardized BGP configuration
47 * read-only access to all RIBs
48 * read-write programmable RIBs
49 * read-only reachability/linkstate topology view
50
51 .. note:: The BGP plugin is NOT a virtual router - does not construct Routing Tables, nor forward traffic.