[ovs-discuss] Running ovs-appctl to trace packet

Ben Pfaff blp at ovn.org
Wed Jan 31 21:15:32 UTC 2018


On Wed, Jan 31, 2018 at 02:53:25PM -0500, Myra Sh wrote:
> Hello,
> 
> I run several instances of OVS and I am using the following command and
> path to configure them:
> 
> ovs-vsctl --db=unix:$(pwd)/db.sock add-br br0
> 
> The problem in having several instances is that when I want to run
> "ovs-appctl ..." to trace packets, I have to define a path or target for
> this command.
> 
> Do you have any suggestion that how I can define this target path for each
> OVS in the mentioned scenario?
> 
> Should I check for any ovs-vswitch.*.ctl file and put that in the target
> part?

It sounds like you should run something like "OVS_RUNDIR=$(pwd); export
OVS_RUNDIR".


More information about the discuss mailing list