The following patch set is a second iteration of the implementation of mixin
classes to control CPU features - idle states and turboboost.
Differences to v1:
* mixin classes now inherit from BaseSubConfigMixin instead of
PerfTestTweakMixin
* added disable_turboboost_host_list and disable_idlestates properties
to specify on which hosts the CPU feature should be disabled
* added documentation for both mixins
*** BLURB HERE ***
Jan Tluka (9):
Recipes.ENRT.PerfTestMixins.SctpFirewallPerfTestMixin: move
_get_flow_measurement_from_config() to base class
Recipes.ENRT.ConfigMixins: add DisableIdleStatesMixin
Recipes.ENRT.ConfigMixins: add DisableTurboboostMixin
Recipes.ENRT.PerfTestMixins: add CommonPerfTestTweakMixin
Recipes.ENRT.BaseEnrtRecipe: inherit from CommonPerfTestTweakMixin
Recipes.ENRT.BaseEnrtRecipe: add DisableTurboboost and
DisableIdleStates mixins
Recipes.ENRT: define disable_turboboost_host_list and
disable_idlestates_host_list properties
docs: add DisableTurboboostMixin documentation
docs: add DisableIdleStatesMixin documentation
.../disable_idlestates_mixin.rst | 6 ++
.../disable_turboboost_mixin.rst | 6 ++
docs/source/config_mixins.rst | 2 +
lnst/Recipes/ENRT/BaseEnrtRecipe.py | 10 ++-
lnst/Recipes/ENRT/BondRecipe.py | 28 ++++++++
.../ConfigMixins/DisableIdleStatesMixin.py | 57 +++++++++++++++
.../ConfigMixins/DisableTurboboostMixin.py | 71 +++++++++++++++++++
lnst/Recipes/ENRT/DoubleBondRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/DoubleTeamRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/IpsecEspAeadRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/IpsecEspAhCompRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/NoVirtOvsVxlanRecipe.py | 28 ++++++++
.../PerfTestMixins/BasePerfTestTweakMixin.py | 6 ++
.../CommonPerfTestTweakMixin.py | 6 ++
.../SctpFirewallPerfTestMixin.py | 6 --
lnst/Recipes/ENRT/PerfTestMixins/__init__.py | 1 +
.../ENRT/ShortLivedConnectionsRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/SimpleMacsecRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/SimpleNetworkRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/TeamRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/TeamVsBondRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VirtOvsVxlanRecipe.py | 28 ++++++++
.../VirtualBridgeVlanInGuestMirroredRecipe.py | 28 ++++++++
.../ENRT/VirtualBridgeVlanInGuestRecipe.py | 28 ++++++++
.../VirtualBridgeVlanInHostMirroredRecipe.py | 28 ++++++++
.../ENRT/VirtualBridgeVlanInHostRecipe.py | 28 ++++++++
.../ENRT/VirtualBridgeVlansOverBondRecipe.py | 28 ++++++++
...rtualOvsBridgeVlanInGuestMirroredRecipe.py | 28 ++++++++
.../ENRT/VirtualOvsBridgeVlanInGuestRecipe.py | 28 ++++++++
...irtualOvsBridgeVlanInHostMirroredRecipe.py | 28 ++++++++
.../ENRT/VirtualOvsBridgeVlanInHostRecipe.py | 28 ++++++++
.../VirtualOvsBridgeVlansOverBondRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VlansOverBondRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VlansOverTeamRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VlansRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VxlanMulticastRecipe.py | 28 ++++++++
lnst/Recipes/ENRT/VxlanRemoteRecipe.py | 28 ++++++++
37 files changed, 919 insertions(+), 8 deletions(-)
create mode 100644 docs/source/config_mixin_classes/disable_idlestates_mixin.rst
create mode 100644 docs/source/config_mixin_classes/disable_turboboost_mixin.rst
create mode 100644 lnst/Recipes/ENRT/ConfigMixins/DisableIdleStatesMixin.py
create mode 100644 lnst/Recipes/ENRT/ConfigMixins/DisableTurboboostMixin.py
create mode 100644 lnst/Recipes/ENRT/PerfTestMixins/CommonPerfTestTweakMixin.py
--
2.21.3