Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


How does the controller learn devices?

asked 2014-06-12 15:55:33 -0700

anonymous user


(1) The controlle will get the datapathId through the get features message in openflow plugin when a new switch connects to it. I think the controller will create a switch or a node on controller side with this id. However, I am wondering how can the controller learn the switch and put it into topology? How can it recognize whether this is a switch or a host?

(2) If I want to add a new device (other than switch) to the controller, what kind of modules would be involved? Should I do some modifications on openflow protocol?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-12 20:24:29 -0700


OpenDaylight Controller uses the LLDP messages to discover the topology of the connected OpenFlow Devices. The Topology View tab provides a graphical view of the topology with switches and hosts. The OpenDaylight Controller's Topology Manager stores and manages information about the devices in the domain, including their capabilities and reachability. This information is stored and managed by the Topology Manager. Other components, including the ARP handler, Host Tracker, Device Manager, and Switch Manager help generate the topology database for the Topology Manager.

As for adding the the Topology there is an API for rest and java to do that

edit flag offensive delete publish link more


The link for adding the Topology is not working. How do we add the Topology?

sahil_sih ( 2015-06-09 18:23:38 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-06-12 15:55:33 -0700

Seen: 1,179 times

Last updated: Jun 12 '14