Adds provider flavor capabilities API tests
This patch adds provider flavor capabilities API tests to the Octavia
tempest plugin.
Change-Id: Ie4f9f72e011ee8aa30e8f9aa35558533839fb8c8
diff --git a/octavia_tempest_plugin/config.py b/octavia_tempest_plugin/config.py
index dee2bd2..52da1f2 100644
--- a/octavia_tempest_plugin/config.py
+++ b/octavia_tempest_plugin/config.py
@@ -115,6 +115,18 @@
default=const.SINGLE,
choices=const.SUPPORTED_LB_TOPOLOGIES,
help='Load balancer topology configuration.'),
+ cfg.DictOpt('expected_flavor_capability',
+ help=('Defines a provider flavor capability that is expected '
+ 'to be present in the selected provider under test. '
+ 'It is specified in a "name": "description" dict. '
+ 'Example: {"loadbalancer_topology": "The load balancer '
+ 'topology. One of: SINGLE - One amphora per load '
+ 'balancer. ACTIVE_STANDBY - Two amphora per load '
+ 'balancer."}'),
+ default={'loadbalancer_topology': 'The load balancer '
+ 'topology. One of: SINGLE - One amphora per load '
+ 'balancer. ACTIVE_STANDBY - Two amphora per load '
+ 'balancer.'}),
# Networking
cfg.BoolOpt('test_with_ipv6',
default=True,