It sounds like you want to use ovs-ofctl from the same machine running ovs-vswitchd. There's already a unix socket for that. Just give the name of the bridge, e.g. "ovs-ofctl show br0".
On Mon, Sep 12, 2011 at 03:37:19PM -0700, Aishwarya wrote: > Hi Ben, > > Passive tcp socket should be fine. I know the ptcp option lets you do this. > But I am not sure which command to use it with. For eg: I use the unix > socket option with ovsdb-server command so that vswitchd can connect to teh > database server. Now, ofctl needs to connect to the switch. So, which > command do I use the ptcp option with so that the switch is listening on a > tcp port that ofctl can connect to. Right now, when i do an ofctl show > tcp:127.0.0.1, i get a connection refused error. > > Thanks, > Aish > > On Mon, Sep 12, 2011 at 3:32 PM, Ben Pfaff <b...@nicira.com> wrote: > > > On Mon, Sep 12, 2011 at 03:29:38PM -0700, Aishwarya wrote: > > > The ovs-ofctl uses either a unix socket or tcp port to connect to the > > open > > > flow switch. When I start the openvswitch process, which command do i use > > to > > > set the switch in the listen mode so that ofctl can connect to it? > > > > Do you want to connect to ovs-ofctl over a unix socket or a tcp > > socket? > > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss