Ask Your Question
0

How does the controller learn devices?

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

anonymous user

Anonymous

(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
0

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

Moderators

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. https://wiki.opendaylight.org/view/OpenDaylight_Controller:Topologies

As for adding the the Topology there is an API for rest and java to do that https://jenkins.opendaylight.org/controller/job/controller-merge/lastSuccessfulBuild/artifact/opendaylight/northbound/topology/target/site/wsdocs/index.html

edit flag offensive delete publish link more

Comments

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

Follow
1 follower

Stats

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

Seen: 1,089 times

Last updated: Jun 12 '14