Set openstack_type podified as default
Since the plugin is recently used mainly for testing multi-node podified environments it is worth to set this as default value to avoid irrelevant failures and simplify podified job definitions. Also, run_traffic_flow_tests parameter is now enabled by default. Also, CONF.identity.uri_v3 is now preferred over CONF.identity.uri Change-Id: Ib73f4fb0f8a465ba1e40137c0237211bb1642ef5
This commit is contained in:
parent
e219a1fa23
commit
647aef6885
@ -39,7 +39,7 @@ WhiteboxNeutronPluginOptions = [
|
||||
default='',
|
||||
help='Key file to access host to execute validated commands.'),
|
||||
cfg.StrOpt('openstack_type',
|
||||
default='devstack',
|
||||
default='podified',
|
||||
help='Type of openstack deployment, '
|
||||
'e.g. devstack, podified'),
|
||||
cfg.StrOpt('pki_private_key',
|
||||
@ -73,10 +73,8 @@ WhiteboxNeutronPluginOptions = [
|
||||
help='Time in seconds external igmp querier is sending its '
|
||||
'periodical queries'),
|
||||
cfg.BoolOpt('run_traffic_flow_tests',
|
||||
default=False,
|
||||
help='Specify explicitly whether to run traffic flow tests.'
|
||||
' This is needed because some ML2 plugins (e.g. ovn ) do '
|
||||
'not expose api_extensions like dvr for some purposes.'),
|
||||
default=True,
|
||||
help='Specify explicitly whether to run traffic flow tests.'),
|
||||
cfg.BoolOpt('provroutednetwork_support',
|
||||
default=False,
|
||||
help='Boolean that specifies if Provider Routed Networks'
|
||||
|
@ -56,7 +56,9 @@ class BaseTempestWhiteboxTestCase(base.BaseTempestTestCase):
|
||||
@classmethod
|
||||
def resource_setup(cls):
|
||||
super(BaseTempestWhiteboxTestCase, cls).resource_setup()
|
||||
uri = CONF.identity.uri
|
||||
uri = (
|
||||
CONF.identity.uri_v3 if CONF.identity.uri_v3
|
||||
else CONF.identity.uri)
|
||||
cls.is_ipv6 = True if netaddr.valid_ipv6(
|
||||
uri[uri.find("[") + 1:uri.find("]")]) else False
|
||||
cls.image_ref = CONF.compute.image_ref
|
||||
|
@ -212,7 +212,7 @@
|
||||
available_type_drivers: flat,geneve,vlan,gre,local,vxlan
|
||||
provider_net_base_segm_id: 1
|
||||
whitebox_neutron_plugin_options:
|
||||
run_traffic_flow_tests: True
|
||||
openstack_type: devstack
|
||||
broadcast_receivers_count: 1
|
||||
compute-feature-enabled:
|
||||
console_output: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user