SlideShare a Scribd company logo
1 of 16
Cisco Live 2015 San Diego
BGP Enabled Application
Development
Serpil Bayraktar
serpil@cisco.com
June 2015
• BGP is used in almost every IP network to exchange reachability
information
• The data carried by BGP is a collection of IP addresses and their
attributes
• These attributes carry an underappreciated amount of intelligence
about the network
• Developers can use this data to create a variety of applications to
monitor and manage the network
• Routing analysis is a hard task (lots of PhD thesis)
BGP Enabled Application Development
• A framework to observe and learn network behavior
• Contains real time and historical data
• Has for main components: Collect store analyze present
• Expose all BGP data
• BGP IPv4, IPv6, VPNv4, VPNv6 … and IGP (topology)
• IS-IS and OSPF topologies utilizing BGP Link-State
• Support
• Scripter – can use curl and bash to interact with the data, super simple
• Developer – full suite of API’s
Cisco Internet Data Analytics
Applications
Where Does It Fit in the World of SDN?
Software
Defined
Network
Big Data
Analyze Data
Data
Collection
Service
Assurance
Initial and ongoing service monitoring
Service
Orchestration
Analytics
Monitoring and Decision Making
Push policies back to the network
Culmination of a group of key technologies:
• BGP Monitoring Protocol (BMP)
• BGP-LS (Topology View)
• High Performance Collector (OpenBMPd)
• Database (SQL)
• Modern APIs (REST/json) and App Development Methods
What took us so long?
• BGP Monitoring Protocol (BMP)
encapsulates BGP messages from one
or more BGP peers into a single TCP
stream to one or more collectors
• Efficient, [near] real-time, low memory/CPU
on router, little to no service impact with
peering
• Simplified configuration (one-time setup)
with granular controls per peer
• All address families supported
• https://tools.ietf.org/html/draft-ietf-grow-bmp-08
Key Technology: BMP
TCP BMP BGPIP
BMP Router
XE/XR/JunOS
BGP Peers
BMP Collector
Single stream
eBGP/iBGP
How Does It Work?
Network
BMP Collector
Database
BMP Enabled
Edge Router
Network Edge Network Edge
Network Edge
BGP Peer1
BGP Peer2
BGP Peer3
BGP Peer3
BGP Peer3
BGP Peerx
DatabaseDatabase
Rest API/Plugin
Network Data Management and Analysis Applications
UI
BMP
Edge Router
Peer1
Monitoring Station
e/iBGP
eBGP
BGP without BMP
Post-RIB
Prefixes after the Edge
Router’s Post-Policy.
This is a biased view of the
downstream peers.
Peer2 Peer3
Edge Router
BMP Collector
BMP
eBGP
All Peers
Pre-RIB and Post RIB - All
Prefixes regardless of edge
router ingress/egress route
policies
Pre-Rib
Ingress filters do not
effect Pre-RIB via
BMP. The router
could filter 100% of
the routes and BMP
would still get a copy
of them all.
BGP with BMP
Peer1 Peer2 Peer3
Architecture
• OpenBMP is an open-source collector that
implements BMP to store and maintain
multiple address family topologies in both
real-time and point-in-time (historical)
• BGP data is decoded and stored in a
database for simplified consumption to
universally enable granular analytics on BGP
data
• Access to the database is via standard
ODBC/MySQL drivers or via the API
• RAW BGP UPDATES are binary logged per
peer to support replay of BGP streams (if
enabled)
• www.openbmp.org and github.com/openbmp
Collector: OpenBMP
OpenBMP
Collector
MySQ
L
BMP Router
XE/XR/JunOS
Peers
RA OpenBMP
API
Apps
(Analytics
)
Optionally
to DB
Data
notifications
Hundreds of BMP routers, thousands of
peers, 100 million plus prefixes with <= 5
second response times for most queries
• RA OpenBMP API
• Aggregates multiple databases
• Implements parallel queries to support multiple
cores/vCPU’s
• Is aware of the shard/partitioning plan being used
• MySQL servers do not have to be equal, they
only need to scale for their partition/sharding plan
• OpenBMP BMP collectors support address family
(afi/safi) & optionally per-peer sharding as well as
replication/mirroring
• BMP routers can send to one or more collectors,
but only one is needed
Scale
RA OpenBMP
API
Peers Peers
OpenBMP
Collectors
BMP Routers
MySQL
Servers
All familiesIPv6, etc.IPv
4
• Endless applications for operations,
design/engineering, research, SDN
• Applications implement either BMP
REST/Json API or ODL/restconf YANG
models
• RA OpenBMP API server provides an
abstract view of data that is
shard/partitioned in distributed databases
• ODL RA BMP plugin interfaces with the RA
OpenBMP API to provide YANG based
restconf interface and notifications
Apps
RA OpenBMP
API
Apps
(Analytics)
NB/SB
ODL Apps
MySQL (n)
ODL/Restconf
MySQL (2)MySQL (1)
Direct
Apps
NETWORK
Operations,
Design/Engineering/Capac
ity, Research, Traffic
Shifting, Visualization, etc.
• RA OpenBMP User Interface is a Web
based GUI interface that implements the
RA OpenBMP API
Dashboards (includes geo-location/maps)
• Global router view with peer browser
• Peer view with rib and AS browser
• Link state view with on-demand topology and SPF
• Looking glass
Analysis/Reporting
• Peers
• ASNs
• Prefixes
GUI/User Interface
RA OpenBMP
API
Web/User Interface (App)
MySQL (n)
ODL/Restconf
MySQL (2)MySQL (1)
Direct
Apps
NETWORK
Operations,
Design/Engineering/Capac
ity, Research, Traffic
Shifting, Visualization, etc.
Using data provided by RA API, you can:
• Measure network performance
• Asses security vulnerabilities
• Analyze capacity
• Monitor stability and health of the network
• Predictive analysis of network behavior
Applications
DEVNET-1191	BGP Enabled Application Development

More Related Content

What's hot

Segment Routing: Prepare Your Network For New Business Models
Segment Routing:  Prepare Your Network For New Business ModelsSegment Routing:  Prepare Your Network For New Business Models
Segment Routing: Prepare Your Network For New Business Models
Cisco Service Provider
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
ee38sp
 
BGP
BGPBGP

What's hot (20)

Segment Routing & Application Engeering Routing
Segment Routing & Application Engeering RoutingSegment Routing & Application Engeering Routing
Segment Routing & Application Engeering Routing
 
Inter-AS MPLS VPN Deployment
Inter-AS MPLS VPN DeploymentInter-AS MPLS VPN Deployment
Inter-AS MPLS VPN Deployment
 
BGP
BGPBGP
BGP
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
EVPN Introduction
 
Migrating to OpenFlow SDNs
Migrating to OpenFlow SDNsMigrating to OpenFlow SDNs
Migrating to OpenFlow SDNs
 
BGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerBGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN Controller
 
BGP persistence
BGP persistenceBGP persistence
BGP persistence
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
RPKI: An Operator’s Implementation
RPKI: An Operator’s ImplementationRPKI: An Operator’s Implementation
RPKI: An Operator’s Implementation
 
Segment Routing: Prepare Your Network For New Business Models
Segment Routing:  Prepare Your Network For New Business ModelsSegment Routing:  Prepare Your Network For New Business Models
Segment Routing: Prepare Your Network For New Business Models
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
BGP
BGPBGP
BGP
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing Optimisation
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
The new imperative in the data center with workload centric networking
The new imperative in the data center with workload centric networkingThe new imperative in the data center with workload centric networking
The new imperative in the data center with workload centric networking
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
 
BGP
BGPBGP
BGP
 

Viewers also liked

Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
valentina valentina
 
VIRUS Y VACUNAS INFORMATICAS
VIRUS Y VACUNAS INFORMATICASVIRUS Y VACUNAS INFORMATICAS
VIRUS Y VACUNAS INFORMATICAS
ANPIHERA
 

Viewers also liked (20)

Narracion
NarracionNarracion
Narracion
 
The state of the mobile experience in USA
The state of the mobile experience in USAThe state of the mobile experience in USA
The state of the mobile experience in USA
 
Vaizdine metodine medziaga svietejams gyvunu terapija 9 dalis
Vaizdine metodine medziaga svietejams gyvunu terapija 9 dalisVaizdine metodine medziaga svietejams gyvunu terapija 9 dalis
Vaizdine metodine medziaga svietejams gyvunu terapija 9 dalis
 
2014 08-20 Radboudumc-Health Valley-LSH: Personalized Healthcare through inte...
2014 08-20 Radboudumc-Health Valley-LSH: Personalized Healthcare through inte...2014 08-20 Radboudumc-Health Valley-LSH: Personalized Healthcare through inte...
2014 08-20 Radboudumc-Health Valley-LSH: Personalized Healthcare through inte...
 
Top 20: What Not To Do During An Interview
Top 20: What Not To Do During An InterviewTop 20: What Not To Do During An Interview
Top 20: What Not To Do During An Interview
 
EU FP7 CarTarDis project overview April 2015
EU FP7 CarTarDis project overview April 2015EU FP7 CarTarDis project overview April 2015
EU FP7 CarTarDis project overview April 2015
 
Satish_Reddy_resume
Satish_Reddy_resumeSatish_Reddy_resume
Satish_Reddy_resume
 
Social Media & Legal Risk
Social Media & Legal Risk Social Media & Legal Risk
Social Media & Legal Risk
 
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
 
DEVNET-1148 Leveraging Cisco OpenStack Private Cloud for Developers
DEVNET-1148	Leveraging Cisco OpenStack Private Cloud for DevelopersDEVNET-1148	Leveraging Cisco OpenStack Private Cloud for Developers
DEVNET-1148 Leveraging Cisco OpenStack Private Cloud for Developers
 
2014 12-11 Skipr99 masterclass Arnhem
2014 12-11 Skipr99 masterclass Arnhem2014 12-11 Skipr99 masterclass Arnhem
2014 12-11 Skipr99 masterclass Arnhem
 
Future of TV
Future of TV Future of TV
Future of TV
 
Improved Applications with IPv6: an overview
Improved Applications with IPv6: an overviewImproved Applications with IPv6: an overview
Improved Applications with IPv6: an overview
 
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
 
Theory of urbanism and architecture
Theory of urbanism and architectureTheory of urbanism and architecture
Theory of urbanism and architecture
 
Show and Tell: Building Applications on Cisco Open SDN Controller
Show and Tell: Building Applications on Cisco Open SDN Controller Show and Tell: Building Applications on Cisco Open SDN Controller
Show and Tell: Building Applications on Cisco Open SDN Controller
 
6 Important Questions To Ask Before Becoming An Events Manager
6 Important Questions To Ask Before Becoming An Events Manager6 Important Questions To Ask Before Becoming An Events Manager
6 Important Questions To Ask Before Becoming An Events Manager
 
VIRUS Y VACUNAS INFORMATICAS
VIRUS Y VACUNAS INFORMATICASVIRUS Y VACUNAS INFORMATICAS
VIRUS Y VACUNAS INFORMATICAS
 
Targeted Threat (APT) Defense for Applications Featuring pxGrid: a deep dive
Targeted Threat (APT) Defense for Applications Featuring pxGrid: a deep diveTargeted Threat (APT) Defense for Applications Featuring pxGrid: a deep dive
Targeted Threat (APT) Defense for Applications Featuring pxGrid: a deep dive
 
Sviesuva bredikis
Sviesuva bredikisSviesuva bredikis
Sviesuva bredikis
 

Similar to DEVNET-1191 BGP Enabled Application Development

TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
Robb Boyd
 

Similar to DEVNET-1191 BGP Enabled Application Development (20)

Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
 
Border gateway protocol
Border gateway protocolBorder gateway protocol
Border gateway protocol
 
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
 
MikroTik Multicast Routing [www.imxpert.co]
MikroTik Multicast Routing [www.imxpert.co]MikroTik Multicast Routing [www.imxpert.co]
MikroTik Multicast Routing [www.imxpert.co]
 
Ipv6 routing
Ipv6 routingIpv6 routing
Ipv6 routing
 
Segment Routing Technology Deep Dive and Advanced Use Cases
Segment Routing Technology Deep Dive and Advanced Use CasesSegment Routing Technology Deep Dive and Advanced Use Cases
Segment Routing Technology Deep Dive and Advanced Use Cases
 
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
 
Openconfig
OpenconfigOpenconfig
Openconfig
 
Технологии построения крупных сетей
Технологии построения крупных сетейТехнологии построения крупных сетей
Технологии построения крупных сетей
 
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
PLNOG 22 - Manfred Lang - Automatyzacja widoczności – dynamiczne podejście w ...
 
IPv6 on the Interop Network
IPv6 on the Interop NetworkIPv6 on the Interop Network
IPv6 on the Interop Network
 
Part8-ibgp.pptx
Part8-ibgp.pptxPart8-ibgp.pptx
Part8-ibgp.pptx
 
Final Presentation on the Network layer
Final Presentation on the Network layerFinal Presentation on the Network layer
Final Presentation on the Network layer
 
EIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NATEIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NAT
 
Решения WANDL и NorthStar для операторов
Решения WANDL и NorthStar для операторовРешения WANDL и NorthStar для операторов
Решения WANDL и NorthStar для операторов
 
BIO routing - a versatile, fast and reliable routing daemon in golang
BIO routing - a versatile, fast and reliable routing daemon in golangBIO routing - a versatile, fast and reliable routing daemon in golang
BIO routing - a versatile, fast and reliable routing daemon in golang
 
IX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee YongIX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee Yong
 
CCCNP ROUTE v6_ch05
CCCNP ROUTE  v6_ch05CCCNP ROUTE  v6_ch05
CCCNP ROUTE v6_ch05
 
PLNOG 13: Krzysztof Mazepa: BGP FlowSpec
PLNOG 13: Krzysztof Mazepa: BGP FlowSpecPLNOG 13: Krzysztof Mazepa: BGP FlowSpec
PLNOG 13: Krzysztof Mazepa: BGP FlowSpec
 
CCCNP ROUTE v6_ch06
CCCNP ROUTE v6_ch06CCCNP ROUTE v6_ch06
CCCNP ROUTE v6_ch06
 

More from Cisco DevNet

NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
Cisco DevNet
 

More from Cisco DevNet (20)

How to Contribute to Ansible
How to Contribute to AnsibleHow to Contribute to Ansible
How to Contribute to Ansible
 
Rome 2017: Building advanced voice assistants and chat bots
Rome 2017: Building advanced voice assistants and chat botsRome 2017: Building advanced voice assistants and chat bots
Rome 2017: Building advanced voice assistants and chat bots
 
How to Build Advanced Voice Assistants and Chatbots
How to Build Advanced Voice Assistants and ChatbotsHow to Build Advanced Voice Assistants and Chatbots
How to Build Advanced Voice Assistants and Chatbots
 
Cisco Spark and Tropo and the Programmable Web
Cisco Spark and Tropo and the Programmable WebCisco Spark and Tropo and the Programmable Web
Cisco Spark and Tropo and the Programmable Web
 
Device Programmability with Cisco Plug-n-Play Solution
Device Programmability with Cisco Plug-n-Play SolutionDevice Programmability with Cisco Plug-n-Play Solution
Device Programmability with Cisco Plug-n-Play Solution
 
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap APIBuilding a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
 
Application Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible NetflowApplication Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible Netflow
 
WAN Automation Engine API Deep Dive
WAN Automation Engine API Deep DiveWAN Automation Engine API Deep Dive
WAN Automation Engine API Deep Dive
 
Cisco's Open Device Programmability Strategy: Open Discussion
Cisco's Open Device Programmability Strategy: Open DiscussionCisco's Open Device Programmability Strategy: Open Discussion
Cisco's Open Device Programmability Strategy: Open Discussion
 
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
 
NETCONF & YANG Enablement of Network Devices
NETCONF & YANG Enablement of Network DevicesNETCONF & YANG Enablement of Network Devices
NETCONF & YANG Enablement of Network Devices
 
UCS Management APIs A Technical Deep Dive
UCS Management APIs A Technical Deep DiveUCS Management APIs A Technical Deep Dive
UCS Management APIs A Technical Deep Dive
 
OpenStack Enabling DevOps
OpenStack Enabling DevOpsOpenStack Enabling DevOps
OpenStack Enabling DevOps
 
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
 
Getting Started: Developing Tropo Applications
Getting Started: Developing Tropo ApplicationsGetting Started: Developing Tropo Applications
Getting Started: Developing Tropo Applications
 
Cisco Spark & Tropo API Workshop
Cisco Spark & Tropo API WorkshopCisco Spark & Tropo API Workshop
Cisco Spark & Tropo API Workshop
 
Coding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using SparkCoding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using Spark
 
Cisco APIs: An Interactive Assistant for the Web2Day Developer Conference
Cisco APIs: An Interactive Assistant for the Web2Day Developer ConferenceCisco APIs: An Interactive Assistant for the Web2Day Developer Conference
Cisco APIs: An Interactive Assistant for the Web2Day Developer Conference
 
DevNet Express - Spark & Tropo API - Lisbon May 2016
DevNet Express - Spark & Tropo API - Lisbon May 2016DevNet Express - Spark & Tropo API - Lisbon May 2016
DevNet Express - Spark & Tropo API - Lisbon May 2016
 
DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016
DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016
DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016
 

Recently uploaded

Sample sample sample sample sample sample
Sample sample sample sample sample sampleSample sample sample sample sample sample
Sample sample sample sample sample sample
Casey Keith
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
Casey Keith
 
Explore amazing adventures in the mountain kingdom country
Explore amazing adventures in the mountain kingdom countryExplore amazing adventures in the mountain kingdom country
Explore amazing adventures in the mountain kingdom country
mantsebo72
 
Jual Obat Aborsi Jepang (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
Jual Obat Aborsi Jepang  (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...Jual Obat Aborsi Jepang  (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
Jual Obat Aborsi Jepang (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
ZurliaSoop
 
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
Obat Cytotec
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
Casey Keith
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
Casey Keith
 

Recently uploaded (20)

A high-altitude adventure in the mountain kingdom
A high-altitude adventure in the mountain kingdomA high-altitude adventure in the mountain kingdom
A high-altitude adventure in the mountain kingdom
 
Explore the Rich History of Northeast Sicily
Explore the Rich History of Northeast SicilyExplore the Rich History of Northeast Sicily
Explore the Rich History of Northeast Sicily
 
Tourism attractions in Lesotho e.g dam
Tourism attractions in  Lesotho  e.g damTourism attractions in  Lesotho  e.g dam
Tourism attractions in Lesotho e.g dam
 
Sample sample sample sample sample sample
Sample sample sample sample sample sampleSample sample sample sample sample sample
Sample sample sample sample sample sample
 
Top places to visit, top tourist destinations
Top places to visit, top tourist destinationsTop places to visit, top tourist destinations
Top places to visit, top tourist destinations
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
 
Water Parks In Dubai.pdf Visit Whith Captain Dunes
Water Parks In Dubai.pdf Visit Whith Captain DunesWater Parks In Dubai.pdf Visit Whith Captain Dunes
Water Parks In Dubai.pdf Visit Whith Captain Dunes
 
TOURISM -ATTRACTIONS- IN LESOTHO FOR YOU
TOURISM -ATTRACTIONS- IN LESOTHO FOR YOUTOURISM -ATTRACTIONS- IN LESOTHO FOR YOU
TOURISM -ATTRACTIONS- IN LESOTHO FOR YOU
 
How to Find Cheap Flight Tickets to Hyderabad.pptx
How to Find Cheap Flight Tickets to Hyderabad.pptxHow to Find Cheap Flight Tickets to Hyderabad.pptx
How to Find Cheap Flight Tickets to Hyderabad.pptx
 
Myanmar 80 Greetings and colors from Myanmar
Myanmar 80 Greetings and colors from MyanmarMyanmar 80 Greetings and colors from Myanmar
Myanmar 80 Greetings and colors from Myanmar
 
Explore amazing adventures in the mountain kingdom country
Explore amazing adventures in the mountain kingdom countryExplore amazing adventures in the mountain kingdom country
Explore amazing adventures in the mountain kingdom country
 
Awesome places one can visit in Lesotho.
Awesome places one can visit in Lesotho.Awesome places one can visit in Lesotho.
Awesome places one can visit in Lesotho.
 
Jual Obat Aborsi Jepang (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
Jual Obat Aborsi Jepang  (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...Jual Obat Aborsi Jepang  (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
Jual Obat Aborsi Jepang (+6285657271886 ) Obat Penggugur Kandungan Cytotec D...
 
Tourism in Lesotho by Boitumelo Ntlhane.pptx
Tourism in Lesotho by Boitumelo Ntlhane.pptxTourism in Lesotho by Boitumelo Ntlhane.pptx
Tourism in Lesotho by Boitumelo Ntlhane.pptx
 
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
Cara Menggugurkan Janin atau aborsi 12 14 15 Minggu kehamilan [ 4 bulan ] den...
 
Tourist_Attractions_in_Lesotho_prepared_by_Reabetsoe_Bereng.pptx
Tourist_Attractions_in_Lesotho_prepared_by_Reabetsoe_Bereng.pptxTourist_Attractions_in_Lesotho_prepared_by_Reabetsoe_Bereng.pptx
Tourist_Attractions_in_Lesotho_prepared_by_Reabetsoe_Bereng.pptx
 
abortion pills in Riyadh+966572737505 Cytotec Riyadh
abortion pills in  Riyadh+966572737505    Cytotec Riyadhabortion pills in  Riyadh+966572737505    Cytotec Riyadh
abortion pills in Riyadh+966572737505 Cytotec Riyadh
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
 
sample sample sample sample sample sample
sample sample sample sample sample samplesample sample sample sample sample sample
sample sample sample sample sample sample
 
Tourist_Attractions_in_Lesotho_by_Reabetsoe_Bereng.pptx
Tourist_Attractions_in_Lesotho_by_Reabetsoe_Bereng.pptxTourist_Attractions_in_Lesotho_by_Reabetsoe_Bereng.pptx
Tourist_Attractions_in_Lesotho_by_Reabetsoe_Bereng.pptx
 

DEVNET-1191 BGP Enabled Application Development

  • 1. Cisco Live 2015 San Diego BGP Enabled Application Development Serpil Bayraktar serpil@cisco.com June 2015
  • 2. • BGP is used in almost every IP network to exchange reachability information • The data carried by BGP is a collection of IP addresses and their attributes • These attributes carry an underappreciated amount of intelligence about the network • Developers can use this data to create a variety of applications to monitor and manage the network • Routing analysis is a hard task (lots of PhD thesis) BGP Enabled Application Development
  • 3. • A framework to observe and learn network behavior • Contains real time and historical data • Has for main components: Collect store analyze present • Expose all BGP data • BGP IPv4, IPv6, VPNv4, VPNv6 … and IGP (topology) • IS-IS and OSPF topologies utilizing BGP Link-State • Support • Scripter – can use curl and bash to interact with the data, super simple • Developer – full suite of API’s Cisco Internet Data Analytics
  • 4. Applications Where Does It Fit in the World of SDN? Software Defined Network Big Data Analyze Data Data Collection Service Assurance Initial and ongoing service monitoring Service Orchestration Analytics Monitoring and Decision Making Push policies back to the network
  • 5. Culmination of a group of key technologies: • BGP Monitoring Protocol (BMP) • BGP-LS (Topology View) • High Performance Collector (OpenBMPd) • Database (SQL) • Modern APIs (REST/json) and App Development Methods What took us so long?
  • 6. • BGP Monitoring Protocol (BMP) encapsulates BGP messages from one or more BGP peers into a single TCP stream to one or more collectors • Efficient, [near] real-time, low memory/CPU on router, little to no service impact with peering • Simplified configuration (one-time setup) with granular controls per peer • All address families supported • https://tools.ietf.org/html/draft-ietf-grow-bmp-08 Key Technology: BMP TCP BMP BGPIP BMP Router XE/XR/JunOS BGP Peers BMP Collector Single stream eBGP/iBGP
  • 7. How Does It Work? Network BMP Collector Database BMP Enabled Edge Router Network Edge Network Edge Network Edge BGP Peer1 BGP Peer2 BGP Peer3 BGP Peer3 BGP Peer3 BGP Peerx DatabaseDatabase Rest API/Plugin Network Data Management and Analysis Applications UI BMP
  • 8. Edge Router Peer1 Monitoring Station e/iBGP eBGP BGP without BMP Post-RIB Prefixes after the Edge Router’s Post-Policy. This is a biased view of the downstream peers. Peer2 Peer3
  • 9. Edge Router BMP Collector BMP eBGP All Peers Pre-RIB and Post RIB - All Prefixes regardless of edge router ingress/egress route policies Pre-Rib Ingress filters do not effect Pre-RIB via BMP. The router could filter 100% of the routes and BMP would still get a copy of them all. BGP with BMP Peer1 Peer2 Peer3
  • 11. • OpenBMP is an open-source collector that implements BMP to store and maintain multiple address family topologies in both real-time and point-in-time (historical) • BGP data is decoded and stored in a database for simplified consumption to universally enable granular analytics on BGP data • Access to the database is via standard ODBC/MySQL drivers or via the API • RAW BGP UPDATES are binary logged per peer to support replay of BGP streams (if enabled) • www.openbmp.org and github.com/openbmp Collector: OpenBMP OpenBMP Collector MySQ L BMP Router XE/XR/JunOS Peers RA OpenBMP API Apps (Analytics ) Optionally to DB Data notifications
  • 12. Hundreds of BMP routers, thousands of peers, 100 million plus prefixes with <= 5 second response times for most queries • RA OpenBMP API • Aggregates multiple databases • Implements parallel queries to support multiple cores/vCPU’s • Is aware of the shard/partitioning plan being used • MySQL servers do not have to be equal, they only need to scale for their partition/sharding plan • OpenBMP BMP collectors support address family (afi/safi) & optionally per-peer sharding as well as replication/mirroring • BMP routers can send to one or more collectors, but only one is needed Scale RA OpenBMP API Peers Peers OpenBMP Collectors BMP Routers MySQL Servers All familiesIPv6, etc.IPv 4
  • 13. • Endless applications for operations, design/engineering, research, SDN • Applications implement either BMP REST/Json API or ODL/restconf YANG models • RA OpenBMP API server provides an abstract view of data that is shard/partitioned in distributed databases • ODL RA BMP plugin interfaces with the RA OpenBMP API to provide YANG based restconf interface and notifications Apps RA OpenBMP API Apps (Analytics) NB/SB ODL Apps MySQL (n) ODL/Restconf MySQL (2)MySQL (1) Direct Apps NETWORK Operations, Design/Engineering/Capac ity, Research, Traffic Shifting, Visualization, etc.
  • 14. • RA OpenBMP User Interface is a Web based GUI interface that implements the RA OpenBMP API Dashboards (includes geo-location/maps) • Global router view with peer browser • Peer view with rib and AS browser • Link state view with on-demand topology and SPF • Looking glass Analysis/Reporting • Peers • ASNs • Prefixes GUI/User Interface RA OpenBMP API Web/User Interface (App) MySQL (n) ODL/Restconf MySQL (2)MySQL (1) Direct Apps NETWORK Operations, Design/Engineering/Capac ity, Research, Traffic Shifting, Visualization, etc.
  • 15. Using data provided by RA API, you can: • Measure network performance • Asses security vulnerabilities • Analyze capacity • Monitor stability and health of the network • Predictive analysis of network behavior Applications

Editor's Notes

  1. RA is a framework to observe and learn network behavior. It has both real time and historical analysis components and can be used for a wide range of use cases In order to do the analysis, we collect BGP data which is essentially network reachability information with a rich set of network intelligence embedded as path attributes. We also collect network topology or IGP data using BGP-LS. We have a very large set of data with 1000s of BGP peers and 100s of million of prefixes With this project we aim to support botth the scripter who is the traditional netop as well as the developer or devops throuh a set of APIS When we talk about data what we have is 1000s of poeer and It is a framework to: collect, store and analyze all BGP data and make it available to scripters and developers An efficient and scalable system: makes data consumable by application developers by using modern APIs
  2. Data Collection: Big Data Analytics: Sift through the sand Applications: Decision Making Service Orchestration: Push decisions and policies back to the network. YANG model driven with generic REST API Service Assurance: Check initial service setup. Check ongoing service
  3. If it is so great, why hasn’t it been deployed yet?
  4. BMP router is existing router, process runs on existing router. This is different than BGP peering… Pre-RIB, peer stat reports, open messages for the peer, peer down notifications, OPEN LOW OVERHEAD/IMPACT CAPACITY STABILITY HEALTH Supports standard – Yang, etc..
  5. Slide goes over how BGP peering is not enough since the feed via a BGP peer is scoped to the router advertising it.
  6. Highlights how BMP provides an unbiased view of peers, even if the router that terminates the peers filters the prefixes.
  7. OpenBMP is a software program that runs on Linux x86/64bit platforms. Can run within docker/containers. It does more than just store a BGP message in the DB.
  8. Read only mysql servers can dramatically improve the performance of each partition/shard SSD or SSD/high performing SAN can dramatically improve the MySQL write and read times. BGP/BMP has a high volume of transactions, has a high write requirement for initial peer dump/connection and high read/access requirement for reporting/ui/api
  9. Predictive Informative Descriptive Absent