os-vif/vif_plug_ovs
Balazs Gibizer 2f31947393 Make tox.ini tox 4.0.0 compatible
* removed skipdist=True to make sure os-vif is available in the virtual
  env
* removed basepython = python3 as we assume all developer switched to
  python3 in their env already
* removed ignore_basepython_conflict = True as without the basepython
  definition generative targets now work without conflict

Also squashed in the commit fixing the functional target as both fix is
needed to unblock the gate:

add CAP_DAC_OVERRIDE to test privsep contexts

This change modifes the privsep contexts used by the test
code to create inteface without using the os-vif plugins.

The os-vif functional tests actully create ovs and linux
brdiges and dummy netdevs. to ensure the drier work correctly
the functional tests have a simpler test only version of the
port/brige management commands that are used to prepare
and validate the test env. The simpler implementation uses
standard linux commandline tools like "ip" or "ovs-vsctl"
which on ubuntu 22.04 require the addtion of CAP_DAC_OVERRIDE
to work around socket/file ownership issues.

To avoid  adding capablities at runtime that are not required
this change modifes the existing test only context in
the os_vif.tests.functional.privsep module and add a new test
context for the vif_plug_ovs plugin

Change-Id: Ide357cb64a8d128ff8ad978abae6a039e814d8a9
2023-01-09 12:30:15 +01:00
..
ovsdb Move mtu update request into ovsdb transaction 2022-09-19 16:39:39 +05:30
tests Make tox.ini tox 4.0.0 compatible 2023-01-09 12:30:15 +01:00
__init__.py import openvswitch plugin implementation 2016-02-16 11:06:59 +00:00
constants.py Delete trunk bridges to avoid race with Neutron 2022-05-26 14:27:52 -05:00
exception.py hardware offload support for openvswitch 2017-06-25 09:21:16 +03:00
linux_net.py Fix typos 2021-09-21 09:33:29 +08:00
ovs.py Merge "Check for hybrid plugging in OVS" 2022-06-30 16:04:54 +00:00
privsep.py Make tox.ini tox 4.0.0 compatible 2023-01-09 12:30:15 +01:00