[ovs-dev] Working of ovs-ofctl and how to use connection methods
jpettit at nicira.com
Tue Apr 24 00:32:40 PDT 2012
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
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,
> dev mailing list
> dev at openvswitch.org
More information about the dev