Hi Justin, Thanks for your quick response. When I do not specify switch. It is working good.
But, I tried to connect to a remote switch also, Then, I get the same error. By the way can you please let me know how the ovs-ofctl connects to the switch. I just want to know the complete path involved. Is it talking to the ovs-vswitchd or ovsdb-server? On Tue, Apr 24, 2012 at 1:02 PM, Justin Pettit <[email protected]> wrote: > You should only need to specify the switch if it's not local. Those > commands should know how to connect to the switch locally. What happens if > you just run the commands like this? > > ovs-vsctl set-controller br0 > > ovs-ofctl show > > --Justin > > > On Apr 24, 2012, at 12:27 AM, Girish Kumar Yerra wrote: > > > Hi All, > > > > I am working on openVSwitch with Open flow controllers. I got struck in > understanding the flow of how the ovs-ofctl utility works. I am not quiet > clear about how it uses the connection details(tcp:<ip>:port). What > details we need to mention here. The man page says, it connects to OpenFlow > switch. What component of OpenVswitch listens for ovs-ofctl commands. > > > > I tried the following things, but it did not work. > > > > -> Configured the OVS to open flow controller where ovs-ofctl will run > through ovs-vsctl. In this case I am running ovs-ofctl on the same machine. > > #ovs-vsctl set-controller br0 tcp:127.0.0.1:6633 > > -> Running the ovs-ofctl from the remote machine. Giving the connections > details the machine, where the OVS is running. > > #ovs-ofctl show tcp:127.0.0.1:6633 > > -> I am getting an error saying "ovs-ofctl:connecting to tcp: > 127.0.0.1:6633 (Connection refused)" > > > > Any help in this regard is greatly appreciated. > > > > -- > > Thanks & Regards, > > Girish > > > > _______________________________________________ > > dev mailing list > > [email protected] > > http://openvswitch.org/mailman/listinfo/dev > > -- Thanks & Regards, Girish
_______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
