type: object-store
description: Swift Service
- rgw:
- frontend_prefix: /swift
client.0:
valgrind: [--tool=memcheck]
+ frontend_prefix: /swift
use-keystone-role: client.0
- tempest:
client.0:
frontends = \
'{frontend} port={port}'.format(frontend=ctx.rgw.frontend,
port=port)
- if ctx.rgw.frontend_prefix:
- frontends += ' prefix={pfx}'.format(pfx=ctx.rgw.frontend_prefix)
+ frontend_prefix = client_config.get('frontend_prefix', None)
+ if frontend_prefix:
+ frontends += ' prefix={pfx}'.format(pfx=frontend_prefix)
rgw_cmd.extend([
'--rgw-frontends', frontends,
'-n', client_with_id,
ctx.rgw.erasure_code_profile = config.pop('erasure_code_profile', {})
ctx.rgw.cache_pools = bool(config.pop('cache-pools', False))
ctx.rgw.frontend = config.pop('frontend', 'civetweb')
- ctx.rgw.frontend_prefix = config.pop('frontend_prefix', None)
ctx.rgw.compression_type = config.pop('compression type', None)
ctx.rgw.config = config