This is an archive of the ONOS 1.4 wiki. For the current ONOS wiki, look here.


Patrick LiuHuawei
Satish KHuawei


This project adds Border Gateway Protocol with Link State Distribution extension (BGP LS) as a southbound plug-in in ONOS controller to collect the topology information of the network. This network topology can be used by some applications like PCE would benefit from visibility outside one area or Autonomous System (AS) in order to make better decisions for path computation.

Proposed work

Add BGP LS South Bound plugin to learn the Linkstate topology of the network and update ONOS core’s Node and Link subsystem along with the TE information. Implement BGP protocol handler, which acts as a BGP speaker to listen on BGP port 179 to establish and manage session with BGP peers of the network. A channel handler will be created for each BGP session to maintain the state machine and state of each Peer. Implement BGP message handler, which will encode and decode BGP messages between ONOS BGP SBI and BGP peer on network. Currently the messages supported are open, KeepAlive, update, Notification and BGP Multiprotocol message with Link state descriptions and its attributes. Implement BGP LS topology provider to update Node and Link subsystem of ONOS core when any node or link gets added/deleted or modified. All communication between BGP Linkstate provider and ONOS Core uses Provider Service interface.


  • No labels