From: Christos Sfakianakis <csfakian(a)redhat.com>
Hello,
this is v3 of the patch set, with the following changes with respect
to v2:
- lnst.Recipes.ENRT: redefine offload_nics property to match with
master. Avoid cross-referencing for the various hw config device lists.
Avoid association between 'perf_tool_cpu' and 'dev_intr_cpu' as done in
4 of the tests. Remove hashes from the commit message content.
- lnst.Recipes.ENRT.ConfigMixins: handle case when 'dev_intr_cpu' is
not used as a parameter.
Thanks,
Christos
Previous message:
Hello,
this is v2 of the patch set, with the following changes with respect
to v1:
- lnst.Recipes.ENRT: rename of SimplePerfRecipe to SimpleNerworkRecipe
and restore of the ping tests in it.
- lnst.Devices.VxlanDevice: handle only specific exception types while
calling 'realdev'
- lnst.Devices.OvsBridgeDevice: rename and fixes for two of the methods
('flows', '_index') and removal of self.{_numbered_ports,_port_lines}.
Call of '_get_port_info' every time a port-related property is accessed.
Thanks,
Christos
Previous message:
Hello,
this patch set includes changes required for the recipe set to be
compatible with commits d62821 to 7bde5c inclusive, which introduce a
new recipe class hierarchy and inheritance model. It also addresses py3
specific-issues as well as some of the framework-specific bugs revealed
during testing. Finally, it adds info getters to the OvsBridgeDevice
class, useful for the description of the test configuration.
For SimplePerfRecipe, ping endpoints are discarded.
For the multipoint ping tests, there is logic applied to predict the
result (pass/fail) where this is handy (e.g vlan_id comparison for vlans),
but this preciction is hardcoded in some of the recipes for which more
complex network path analysis would be needed.
No getters are added to the MacsecDevice class as, in the relevant recipe,
the devices are created during the apply_sub_config stage and are thus not
visible to the description stage.
Christos
Christos Sfakianakis (9):
lnst.Recipes.ENRT.ConfigMixins: specialize the h/w device list
lnst.RecipeCommon.Perf.Measurements.IperfFlowMeasurement: modify
cpupin check
lnst.Devices.VxlanDevice: handle missing realdev
lnst.Controller.MessageDispatcher: orig kwargs to DeviceRef
lnst.Tests.PacketAssert: decode bytes to str for py3
lnst.Recipes.ENRT.XfrmTools: adopt the division operator to py3
lnst.Devices.OvsBridgeDevice: add config getters
lnst.Recipes.ENRT.ConfigMixins: handle inexistent 'dev_intr_cpu'
lnst.Recipes.ENRT: rework recipes to adopt to previous changes
lnst/Controller/MessageDispatcher.py | 1 +
lnst/Devices/OvsBridgeDevice.py | 111 +++++++
lnst/Devices/VxlanDevice.py | 10 +-
.../Perf/Measurements/IperfFlowMeasurement.py | 4 +-
lnst/Recipes/ENRT/BondRecipe.py | 139 +++++---
.../ENRT/ConfigMixins/BaseHWConfigMixin.py | 8 +-
.../ConfigMixins/CoalescingHWConfigMixin.py | 6 +
.../ConfigMixins/DevInterruptHWConfigMixin.py | 10 +-
.../ENRT/ConfigMixins/MTUHWConfigMixin.py | 6 +-
.../ParallelStreamQDiscHWConfigMixin.py | 6 +-
lnst/Recipes/ENRT/DoubleBondRecipe.py | 142 +++++---
lnst/Recipes/ENRT/DoubleTeamRecipe.py | 161 +++++----
lnst/Recipes/ENRT/IpsecEspAeadRecipe.py | 253 +++++++--------
lnst/Recipes/ENRT/IpsecEspAhCompRecipe.py | 268 ++++++++-------
lnst/Recipes/ENRT/NoVirtOvsVxlanRecipe.py | 123 ++++---
lnst/Recipes/ENRT/PingFloodRecipe.py | 21 +-
.../ENRT/ShortLivedConnectionsRecipe.py | 80 ++---
lnst/Recipes/ENRT/SimpleMacsecRecipe.py | 243 +++++++-------
...lePerfRecipe.py => SimpleNetworkRecipe.py} | 41 +--
lnst/Recipes/ENRT/TeamRecipe.py | 136 +++++---
lnst/Recipes/ENRT/TeamVsBondRecipe.py | 164 ++++++----
lnst/Recipes/ENRT/VirtOvsVxlanRecipe.py | 223 ++++++++++---
.../VirtualBridgeVlanInGuestMirroredRecipe.py | 192 ++++++-----
.../ENRT/VirtualBridgeVlanInGuestRecipe.py | 163 ++++++----
.../VirtualBridgeVlanInHostMirroredRecipe.py | 179 ++++++----
.../ENRT/VirtualBridgeVlanInHostRecipe.py | 152 +++++----
.../ENRT/VirtualBridgeVlansOverBondRecipe.py | 305 +++++++++++++-----
...rtualOvsBridgeVlanInGuestMirroredRecipe.py | 194 ++++++-----
.../ENRT/VirtualOvsBridgeVlanInGuestRecipe.py | 159 +++++----
...irtualOvsBridgeVlanInHostMirroredRecipe.py | 156 +++++----
.../ENRT/VirtualOvsBridgeVlanInHostRecipe.py | 139 ++++----
.../VirtualOvsBridgeVlansOverBondRecipe.py | 284 ++++++++++------
lnst/Recipes/ENRT/VlansOverBondRecipe.py | 271 +++++++++++-----
lnst/Recipes/ENRT/VlansOverTeamRecipe.py | 273 +++++++++++-----
lnst/Recipes/ENRT/VlansRecipe.py | 230 +++++++++----
lnst/Recipes/ENRT/VxlanMulticastRecipe.py | 147 ++++++---
lnst/Recipes/ENRT/VxlanRemoteRecipe.py | 108 +++++--
lnst/Recipes/ENRT/XfrmTools.py | 2 +-
lnst/Recipes/ENRT/__init__.py | 2 +-
lnst/Tests/PacketAssert.py | 4 +-
40 files changed, 3258 insertions(+), 1858 deletions(-)
rename lnst/Recipes/ENRT/{SimplePerfRecipe.py => SimpleNetworkRecipe.py} (72%)
--
2.17.1