61 lines
1.8 KiB
INI
61 lines
1.8 KiB
INI
# folsom
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# cinder configuration file maintained by Juju
|
|
# local changes may be overwritten.
|
|
###############################################################################
|
|
|
|
#############
|
|
# Openstack #
|
|
#############
|
|
|
|
[composite:osapi_volume]
|
|
use = call:cinder.api.openstack.urlmap:urlmap_factory
|
|
/: osvolumeversions
|
|
/v1: openstack_volume_api_v1
|
|
|
|
[composite:openstack_volume_api_v1]
|
|
use = call:cinder.api.auth:pipeline_factory
|
|
noauth = faultwrap sizelimit noauth osapi_volume_app_v1
|
|
keystone = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1
|
|
|
|
[filter:faultwrap]
|
|
paste.filter_factory = cinder.api.openstack:FaultWrapper.factory
|
|
|
|
[filter:noauth]
|
|
paste.filter_factory = cinder.api.openstack.auth:NoAuthMiddleware.factory
|
|
|
|
[filter:sizelimit]
|
|
paste.filter_factory = cinder.api.sizelimit:RequestBodySizeLimiter.factory
|
|
|
|
[app:osapi_volume_app_v1]
|
|
paste.app_factory = cinder.api.openstack.volume:APIRouter.factory
|
|
|
|
[pipeline:osvolumeversions]
|
|
pipeline = faultwrap osvolumeversionapp
|
|
|
|
[app:osvolumeversionapp]
|
|
paste.app_factory = cinder.api.openstack.volume.versions:Versions.factory
|
|
|
|
##########
|
|
# Shared #
|
|
##########
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = cinder.api.auth:CinderKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
{% if service_host -%}
|
|
service_protocol = {{ service_protocol }}
|
|
service_host = {{ service_host }}
|
|
service_port = {{ service_port }}
|
|
auth_host = {{ auth_host }}
|
|
auth_port = {{ auth_port }}
|
|
auth_protocol = {{ auth_protocol }}
|
|
admin_tenant_name = {{ admin_tenant_name }}
|
|
admin_user = {{ admin_user }}
|
|
admin_password = {{ admin_password }}
|
|
{% endif -%}
|