PerfReversibleFlowMixin
- class lnst.Recipes.ENRT.ConfigMixins.PerfReversibleFlowMixin.PerfReversibleFlowMixin
Bases:
object
Mixin class for reversing the performance test flows
This only really makes sense for recipes that have asymmetric endpoints.
For example:
SimpleNetworkRecipe is symmetrical since both endpoints are of the same type (both plain interfaces).
TeamRecipe is asymmetrical because one endpoint is a team device and the other is a plain interface.
So TeamRecipe could use this mixin to indicate that the flow of traffic can be reversed.
This can be controlled by the perf_reverse parameter:
- Parameters:
perf_reverse (
BoolParam
(default False)) – Parameter used by thegenerate_flow_combinations
generator. To specify that the flow of traffic between the endpoints should be reversed.