Add config option for pool algorithms
There is at least one provider driver that does not currently support
any other pool algorithm than round-robin. This patch adds a new option
that allows one to toggle enablement of pool algorithms (default is
True/enabled).
Change-Id: I11e1569f91fe66a6bc735a1abd7b1545ca1490a0
diff --git a/octavia_tempest_plugin/config.py b/octavia_tempest_plugin/config.py
index 701eb8e..425ad60 100644
--- a/octavia_tempest_plugin/config.py
+++ b/octavia_tempest_plugin/config.py
@@ -167,18 +167,22 @@
LBFeatureEnabledGroup = [
cfg.BoolOpt('health_monitor_enabled',
default=True,
- help="Whether Health Monitor is available with provider"
- " driver or not."),
+ help="Whether Health Monitor is available with provider "
+ "driver or not."),
cfg.BoolOpt('terminated_tls_enabled',
default=True,
help="Whether TLS termination is available with provider "
"driver or not."),
cfg.BoolOpt('l7_protocol_enabled',
default=True,
- help="Whether L7 Protocols are available with the provider"
- " driver or not."),
+ help="Whether L7 Protocols are available with the provider "
+ "driver or not."),
+ cfg.BoolOpt('pool_algorithms_enabled',
+ default=True,
+ help="Whether pool algorithms are available with provider"
+ "driver or not."),
cfg.StrOpt('l4_protocol',
default="TCP",
- help="The type of L4 Protocol which is supported with the"
- " provider driver."),
+ help="The type of L4 Protocol which is supported with the "
+ "provider driver."),
]