1
# Use this pipeline for no auth or image caching - DEFAULT
3
pipeline = versionnegotiation unauthenticated-context rootapp
5
# Use this pipeline for image caching and no auth
6
[pipeline:glance-api-caching]
7
pipeline = versionnegotiation unauthenticated-context cache rootapp
9
# Use this pipeline for caching w/ management interface but no auth
10
[pipeline:glance-api-cachemanagement]
11
pipeline = versionnegotiation unauthenticated-context cache cachemanage rootapp
13
# Use this pipeline for keystone auth
14
[pipeline:glance-api-keystone]
15
pipeline = versionnegotiation authtoken context rootapp
17
# Use this pipeline for keystone auth with image caching
18
[pipeline:glance-api-keystone+caching]
19
pipeline = versionnegotiation authtoken context cache rootapp
21
# Use this pipeline for keystone auth with caching and cache management
22
[pipeline:glance-api-keystone+cachemanagement]
23
pipeline = versionnegotiation authtoken context cache cachemanage rootapp
26
paste.composite_factory = glance.api:root_app_factory
32
paste.app_factory = glance.api.versions:create_resource
35
paste.app_factory = glance.api.v1.router:API.factory
38
paste.app_factory = glance.api.v2.router:API.factory
40
[filter:versionnegotiation]
41
paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
44
paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory
47
paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory
50
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
52
[filter:unauthenticated-context]
53
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
56
paste.filter_factory = keystone.middleware.auth_token:filter_factory
57
delay_auth_decision = true
58
service_protocol = {{ service_protocol }}
59
service_host = {{ service_host }}
60
service_port = {{ service_port }}
61
auth_host = {{ auth_host }}
62
auth_port = {{ auth_port }}
63
auth_protocol = {{ auth_protocol }}
64
auth_uri = http://{{ service_host }}:{{ service_port }}/
65
admin_tenant_name = {{ admin_tenant_name }}
66
admin_user = {{ admin_user }}
67
admin_password = {{ admin_password }}
68
admin_token = {{ admin_token }}