Add configuration to enable/disable L7,L4 protocols
Currently not all Provider drivers support L7 in Octavia.
Until the flavors option is not enabled, it is proposed to skip
L7 in favor of L4( specifically TCP ) protocol tests for the provider
drivers.
Change-Id: I07b4f7038d71d684c23885c89257af2711a442a0
diff --git a/octavia_tempest_plugin/config.py b/octavia_tempest_plugin/config.py
index 1bc4a63..628664b 100644
--- a/octavia_tempest_plugin/config.py
+++ b/octavia_tempest_plugin/config.py
@@ -176,4 +176,12 @@
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."),
+ cfg.StrOpt('l4_protocol',
+ default="TCP",
+ help="The type of L4 Protocol which is supported with the"
+ " provider driver."),
]