config.set('compute', 'min_compute_nodes', compute_cnt)
config.set('compute-feature-enabled', 'live_migration', True)
- config.set('identity', 'region', 'RegionOne')
+ config.set('identity', 'region',
+ CONST.__getattribute__('OS_REGION_NAME'))
identity_api_version = os.getenv(
"OS_IDENTITY_API_VERSION", os.getenv("IDENTITY_API_VERSION"))
if (identity_api_version == '3'):
'OS_AUTH_URL': None,
'CONFIG_FUNCTEST_YAML': pkg_resources.resource_filename(
'functest', 'ci/config_functest.yaml'),
- 'OS_INSECURE': ''
+ 'OS_INSECURE': '',
+ 'OS_REGION_NAME': 'RegionOne'
}