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....@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....@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@openvswitch.org > http://openvswitch.org/**mailman/listinfo/discuss<http://openvswitch.org/mailman/listinfo/discuss> >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss