[ovs-discuss] Is it possible to use the ovs-ofctl command to control the remote ovs?

Justin Pettit jpettit at nicira.com
Tue Aug 21 01:51:58 UTC 2012


Sorry, but it's hard-coded to use unix domain sockets.

--Justin


On Aug 20, 2012, at 2:26 AM, Kris zhang <zhang.kris at gmail.com> wrote:

> Hi Justin,
> 
> Could i use ovs-appctl fdb/show br0 on remote ovs? 
> I tried ovs-appctl --db=tcp:172.16.107.21:7777 fdb/show br0, but it didn't work.
> 
> Thanks in advanced,
> Kris
> 
> 
> 
> On Mon, Aug 20, 2012 at 4:21 PM, Kris zhang <zhang.kris at gmail.com> wrote:
> When you read the man page, you will find that the --db=ip:port is for ovsdb-server, and if no --db arguments, it's for openflow, also the ovs-vsctl is used for ovsdb-server, and ovs-ofctl is used for openflow. 
> please let me know if i am wrong.
> 
> Thanks,
> Kris
> 
> 
> On Sat, Aug 18, 2012 at 1:58 AM, Qiaobing Xie <qiaobing.xie at gmail.com> wrote:
> Yes, I just figured out this by myself.. The man pages are not clear about this at all, e.g., an example in ovs-ofctl for remote setup will go a long way..
> 
> And I had to set a port other than 6633 because that port is being used for ovs-vswitchd to connect to the ovs db. In the man pages, the suggested default ports for both ovsdb connection and ptcp controller setting are 6633, that can't work.
> 
> Thanks,
> -Qiaobing
> 
> 
> 
> On 8/17/12 12:49 PM, Justin Pettit wrote:
> On Aug 17, 2012, at 10:29 AM, Qiaobing Xie <qiaobing.xie at gmail.com> wrote:
> 
> But from the same remote machine, ovs-ofctl does not work:
> 
> %% ovs-ofctl show tcp:192.168.43.148
> ovs-ofctl: connecting to tcp:192.168.43.148 (Connection reset by peer)
> %% ovs-ofctl show tcp:192.168.43.148:6633
> ovs-ofctl: connecting to tcp:192.168.43.148:6633 (Connection reset by peer)
> You need to tell ovs-vswitchd to listen for an OpenFlow connection on that bridge.  Take a look at the "ovs-vsctl set-controller" command to do this.
> 
> --Justin
> 
> 
> 
> 
> 
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
> 
> 




More information about the discuss mailing list