~ubuntu-branches/ubuntu/precise/glance/precise-proposed

« back to all changes in this revision

Viewing changes to etc/glance-api.conf

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Adam Gandleman
  • Date: 2012-01-20 14:37:16 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20120120143716-2va2h1g2230m51zx
Tags: 2012.1~e3~20120120.1206-0ubuntu1
[Chuck Short]
* New upstream release.

[Adam Gandleman]
* debian/glance-api.install, glance-registry.install:  Install
  new paste configs that have been split among servers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
# Backlog requests when creating socket
24
24
backlog = 4096
25
25
 
 
26
# Number of Glance API worker processes to start.
 
27
# On machines with more than one CPU increasing this value
 
28
# may improve performance (especially if using SSL with
 
29
# compression turned on). It is typically recommended to set
 
30
# this value to the number of CPUs present on your machine.
 
31
workers = 0
 
32
 
26
33
# ================= Syslog Options ============================
27
34
 
28
35
# Send logs to syslog (/dev/log) instead of to file specified
206
213
 
207
214
# Base directory that the Image Cache uses
208
215
image_cache_dir = /var/lib/glance/image-cache/
209
 
 
210
 
[pipeline:glance-api]
211
 
pipeline = versionnegotiation context apiv1app
212
 
# NOTE: use the following pipeline for keystone
213
 
# pipeline = versionnegotiation authtoken auth-context apiv1app
214
 
 
215
 
# To enable transparent caching of image files replace pipeline with below:
216
 
# pipeline = versionnegotiation context cache apiv1app
217
 
# NOTE: use the following pipeline for keystone auth (with caching)
218
 
# pipeline = versionnegotiation authtoken auth-context cache apiv1app
219
 
 
220
 
# To enable Image Cache Management API replace pipeline with below:
221
 
# pipeline = versionnegotiation context cachemanage apiv1app
222
 
# NOTE: use the following pipeline for keystone auth (with caching)
223
 
# pipeline = versionnegotiation authtoken auth-context cachemanage apiv1app
224
 
 
225
 
[app:apiv1app]
226
 
paste.app_factory = glance.common.wsgi:app_factory
227
 
glance.app_factory = glance.api.v1.router:API
228
 
 
229
 
[filter:versionnegotiation]
230
 
paste.filter_factory = glance.common.wsgi:filter_factory
231
 
glance.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter
232
 
 
233
 
[filter:cache]
234
 
paste.filter_factory = glance.common.wsgi:filter_factory
235
 
glance.filter_factory = glance.api.middleware.cache:CacheFilter
236
 
 
237
 
[filter:cachemanage]
238
 
paste.filter_factory = glance.common.wsgi:filter_factory
239
 
glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
240
 
 
241
 
[filter:context]
242
 
paste.filter_factory = glance.common.wsgi:filter_factory
243
 
glance.filter_factory = glance.common.context:ContextMiddleware
244
 
 
245
 
[filter:authtoken]
246
 
paste.filter_factory = keystone.middleware.auth_token:filter_factory
247
 
service_protocol = http
248
 
service_host = 127.0.0.1
249
 
service_port = 5000
250
 
auth_host = 127.0.0.1
251
 
auth_port = 35357
252
 
auth_protocol = http
253
 
auth_uri = http://127.0.0.1:5000/
254
 
admin_token = 999888777666
255
 
 
256
 
[filter:auth-context]
257
 
paste.filter_factory = glance.common.wsgi:filter_factory
258
 
glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware