From: Christos Sfakianakis <csfakian(a)redhat.com>
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 (8):
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: rework recipes to adopt to 334e2c..7bde5c
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 | 137 +++++---
.../ENRT/ConfigMixins/BaseHWConfigMixin.py | 8 +-
.../ConfigMixins/CoalescingHWConfigMixin.py | 6 +
.../ConfigMixins/DevInterruptHWConfigMixin.py | 8 +-
.../ENRT/ConfigMixins/MTUHWConfigMixin.py | 6 +-
.../ParallelStreamQDiscHWConfigMixin.py | 6 +-
lnst/Recipes/ENRT/DoubleBondRecipe.py | 140 +++++---
lnst/Recipes/ENRT/DoubleTeamRecipe.py | 159 ++++++----
lnst/Recipes/ENRT/IpsecEspAeadRecipe.py | 280 ++++++++--------
lnst/Recipes/ENRT/IpsecEspAhCompRecipe.py | 297 ++++++++---------
lnst/Recipes/ENRT/NoVirtOvsVxlanRecipe.py | 130 +++++---
lnst/Recipes/ENRT/PingFloodRecipe.py | 21 +-
.../ENRT/ShortLivedConnectionsRecipe.py | 87 ++---
lnst/Recipes/ENRT/SimpleMacsecRecipe.py | 252 +++++++--------
...lePerfRecipe.py => SimpleNetworkRecipe.py} | 41 +--
lnst/Recipes/ENRT/TeamRecipe.py | 134 +++++---
lnst/Recipes/ENRT/TeamVsBondRecipe.py | 162 ++++++----
lnst/Recipes/ENRT/VirtOvsVxlanRecipe.py | 230 +++++++++++---
.../VirtualBridgeVlanInGuestMirroredRecipe.py | 191 ++++++-----
.../ENRT/VirtualBridgeVlanInGuestRecipe.py | 167 ++++++----
.../VirtualBridgeVlanInHostMirroredRecipe.py | 178 +++++++----
.../ENRT/VirtualBridgeVlanInHostRecipe.py | 155 ++++++---
.../ENRT/VirtualBridgeVlansOverBondRecipe.py | 298 +++++++++++++-----
...rtualOvsBridgeVlanInGuestMirroredRecipe.py | 193 +++++++-----
.../ENRT/VirtualOvsBridgeVlanInGuestRecipe.py | 164 ++++++----
...irtualOvsBridgeVlanInHostMirroredRecipe.py | 155 +++++----
.../ENRT/VirtualOvsBridgeVlanInHostRecipe.py | 144 ++++++---
.../VirtualOvsBridgeVlansOverBondRecipe.py | 277 ++++++++++------
lnst/Recipes/ENRT/VlansOverBondRecipe.py | 267 +++++++++++-----
lnst/Recipes/ENRT/VlansOverTeamRecipe.py | 269 +++++++++++-----
lnst/Recipes/ENRT/VlansRecipe.py | 230 ++++++++++----
lnst/Recipes/ENRT/VxlanMulticastRecipe.py | 155 ++++++---
lnst/Recipes/ENRT/VxlanRemoteRecipe.py | 115 +++++--
lnst/Recipes/ENRT/XfrmTools.py | 2 +-
lnst/Recipes/ENRT/__init__.py | 2 +-
lnst/Tests/PacketAssert.py | 4 +-
40 files changed, 3342 insertions(+), 1854 deletions(-)
rename lnst/Recipes/ENRT/{SimplePerfRecipe.py => SimpleNetworkRecipe.py} (73%)
--
2.17.1