Disable Trunk ports from the QoS stack

The VM used by the tobiko QoS stack is currently created with a trunk
port because it extends the VlanServerStackFixture class
This patch prevents the creation of the trunk port for the QoS stack
because QoS is not supported with trunk ports when ml2/ovs is configured

Change-Id: I9ea45424836eefb0988b17b8d204149e840463c0
This commit is contained in:
Eduardo Olivares 2021-10-13 18:01:07 +02:00 committed by Federico Ressi
parent 5e3ed15e1b
commit 2ea9eb45f6
1 changed files with 5 additions and 0 deletions

View File

@ -60,3 +60,8 @@ class QosNetworkStackFixture(_neutron.NetworkStackFixture):
class QosServerStackFixture(_ubuntu.UbuntuServerStackFixture):
#: stack with the network with a qos policy
network_stack = tobiko.required_setup_fixture(QosNetworkStackFixture)
@property
def has_vlan(self) -> bool:
# Trunk ports are not supported with QoS when ml2/ovs is used
return False