2013-02-21 05:50:33 +00:00
|
|
|
#############
|
|
|
|
# OpenStack #
|
|
|
|
#############
|
|
|
|
|
|
|
|
[composite:osapi_volume]
|
|
|
|
use = call:cinder.api:root_app_factory
|
|
|
|
/: apiversions
|
|
|
|
/v1: openstack_volume_api_v1
|
|
|
|
/v2: openstack_volume_api_v2
|
|
|
|
|
|
|
|
[composite:openstack_volume_api_v1]
|
|
|
|
use = call:cinder.api.middleware.auth:pipeline_factory
|
|
|
|
noauth = faultwrap sizelimit noauth apiv1
|
|
|
|
keystone = faultwrap sizelimit authtoken keystonecontext apiv1
|
|
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1
|
|
|
|
|
|
|
|
[composite:openstack_volume_api_v2]
|
|
|
|
use = call:cinder.api.middleware.auth:pipeline_factory
|
|
|
|
noauth = faultwrap sizelimit noauth apiv2
|
|
|
|
keystone = faultwrap sizelimit authtoken keystonecontext apiv2
|
|
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv2
|
|
|
|
|
|
|
|
[filter:faultwrap]
|
|
|
|
paste.filter_factory = cinder.api.middleware.fault:FaultWrapper.factory
|
|
|
|
|
|
|
|
[filter:noauth]
|
|
|
|
paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory
|
|
|
|
|
|
|
|
[filter:sizelimit]
|
|
|
|
paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory
|
|
|
|
|
|
|
|
[app:apiv1]
|
|
|
|
paste.app_factory = cinder.api.v1.router:APIRouter.factory
|
|
|
|
|
|
|
|
[app:apiv2]
|
|
|
|
paste.app_factory = cinder.api.v2.router:APIRouter.factory
|
|
|
|
|
|
|
|
[pipeline:apiversions]
|
|
|
|
pipeline = faultwrap osvolumeversionapp
|
|
|
|
|
|
|
|
[app:osvolumeversionapp]
|
|
|
|
paste.app_factory = cinder.api.versions:Versions.factory
|
|
|
|
|
|
|
|
##########
|
|
|
|
# Shared #
|
|
|
|
##########
|
|
|
|
|
|
|
|
[filter:keystonecontext]
|
|
|
|
paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory
|
|
|
|
|
|
|
|
[filter:authtoken]
|
2013-03-09 09:34:30 +00:00
|
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
2013-02-21 05:50:33 +00:00
|
|
|
service_protocol = http
|
|
|
|
service_host = {{keystone.host}}
|
|
|
|
service_port = 5000
|
|
|
|
auth_host = {{keystone.host}}
|
|
|
|
auth_port = 35357
|
|
|
|
auth_protocol = http
|
|
|
|
admin_tenant_name = service
|
|
|
|
admin_user = cinder
|
|
|
|
admin_password = {{service-password}}
|