We can add a machine Open vSwitch node to an OpenDaylight controller using the following procedure.
OpenDaylight controller can be installed using the link- https://fosskb.in/2014/08/28/installing-opendaylight-on-centos7/ .
The OpenDaylight controller listens on OpenFlow port 6633 to connect to its nodes. Open vSwitch can be used as a node and can be connected the controller using the following procedure.
create a bridge
ovs-vsctl add-br br-odl
controller
Specify the controller to Open vSwitch
ovs-vsctl set-controller br-odl tcp::6633
In the OpenDaylight webUI we can see that the node has been learned by the controller.
Click on the node that was learned and update the node information.