1 ############# |
|
2 # OpenStack # |
|
3 ############# |
|
4 |
|
5 [composite:osapi_volume] |
|
6 use = call:cinder.api:root_app_factory |
|
7 /: apiversions |
|
8 /v1: openstack_volume_api_v1 |
|
9 /v2: openstack_volume_api_v2 |
|
10 |
|
11 [composite:openstack_volume_api_v1] |
|
12 use = call:cinder.api.middleware.auth:pipeline_factory |
|
13 noauth = faultwrap sizelimit noauth apiv1 |
|
14 keystone = faultwrap sizelimit authtoken keystonecontext apiv1 |
|
15 keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1 |
|
16 |
|
17 [composite:openstack_volume_api_v2] |
|
18 use = call:cinder.api.middleware.auth:pipeline_factory |
|
19 noauth = faultwrap sizelimit noauth apiv2 |
|
20 keystone = faultwrap sizelimit authtoken keystonecontext apiv2 |
|
21 keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv2 |
|
22 |
|
23 [filter:faultwrap] |
|
24 paste.filter_factory = cinder.api.middleware.fault:FaultWrapper.factory |
|
25 |
|
26 [filter:noauth] |
|
27 paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory |
|
28 |
|
29 [filter:sizelimit] |
|
30 paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory |
|
31 |
|
32 [app:apiv1] |
|
33 paste.app_factory = cinder.api.v1.router:APIRouter.factory |
|
34 |
|
35 [app:apiv2] |
|
36 paste.app_factory = cinder.api.v2.router:APIRouter.factory |
|
37 |
|
38 [pipeline:apiversions] |
|
39 pipeline = faultwrap osvolumeversionapp |
|
40 |
|
41 [app:osvolumeversionapp] |
|
42 paste.app_factory = cinder.api.versions:Versions.factory |
|
43 |
|
44 ########## |
|
45 # Shared # |
|
46 ########## |
|
47 |
|
48 [filter:keystonecontext] |
|
49 paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory |
|
50 |
|
51 [filter:authtoken] |
|
52 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory |
|
53 auth_uri = http://127.0.0.1:5000/v2.0 |
|
54 identity_uri = http://127.0.0.1:35357 |
|
55 admin_tenant_name = %SERVICE_TENANT_NAME% |
|
56 admin_user = %SERVICE_USER% |
|
57 admin_password = %SERVICE_PASSWORD% |
|
58 # signing_dir is configurable, but the default behavior of the authtoken |
|
59 # middleware should be sufficient. It will create a temporary directory |
|
60 # in the home directory for the user the cinder process is running as. |
|
61 signing_dir = /var/lib/cinder/keystone-signing |
|