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

Kris zhang zhang.kris at gmail.com
Tue Aug 21 01:59:28 UTC 2012


Thanks Justin, I see now


On Tue, Aug 21, 2012 at 9:51 AM, Justin Pettit <jpettit at nicira.com> wrote:

> 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
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120821/9dc62432/attachment.html>


More information about the discuss mailing list