You should be able to use ovs-vsctl commands as non-root users on a vswitch
started as a non-root user. For example you can look at how any of the unit
test cases are executed in ovs/tests/ofproto.at.

For example, you can run one of the test cases as,
$ cd $ovs_src_dir
$ make check TESTSUITEFLAGS='-k "ofproto - echo request"'


*Vasu Dasari*


On Mon, Feb 22, 2021 at 3:49 AM wangyunjian <[email protected]> wrote:

> Hi all:
>   I have a question to consult: I see that OVS daemon has
> been supported to run as non-root in 2015 with the patch
> "lib/daemon: support --user option for all OVS daemon",
> I would like to know whether the openvswitch command line
> such as ovs-vsctl/ovs-appctl will be called as non-root
> in any plan, and is there any consideration for calling
> as root at present?
>
> Thanks
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to