Advertisement
c0by

glance-api-paste.ini

May 3rd, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. cat /etc/glance/glance-api-paste.ini
  2. # Default minimal pipeline
  3. [pipeline:glance-api]
  4. pipeline = versionnegotiation authtoken context apiv1app
  5.  
  6. # Use the following pipeline for keystone auth
  7. # i.e. in glance-api.conf:
  8. # [paste_deploy]
  9. # flavor = keystone
  10. #
  11. [pipeline:glance-api-keystone]
  12. pipeline = versionnegotiation authtoken context apiv1app
  13.  
  14. # Use the following pipeline to enable transparent caching of image files
  15. # i.e. in glance-api.conf:
  16. # [paste_deploy]
  17. # flavor = caching
  18. #
  19. [pipeline:glance-api-caching]
  20. pipeline = versionnegotiation context cache apiv1app
  21.  
  22. # Use the following pipeline for keystone auth with caching
  23. # i.e. in glance-api.conf:
  24. # [paste_deploy]
  25. # flavor = keystone+caching
  26. #
  27. [pipeline:glance-api-keystone+caching]
  28. pipeline = versionnegotiation authtoken context cache apiv1app
  29.  
  30. # Use the following pipeline to enable the Image Cache Management API
  31. # i.e. in glance-api.conf:
  32. # [paste_deploy]
  33. # flavor = cachemanagement
  34. #
  35. [pipeline:glance-api-cachemanagement]
  36. pipeline = versionnegotiation context cache cachemanage apiv1app
  37.  
  38. # Use the following pipeline for keystone auth with cache management
  39. # i.e. in glance-api.conf:
  40. # [paste_deploy]
  41. # flavor = keystone+cachemanagement
  42. #
  43. [pipeline:glance-api-keystone+cachemanagement]
  44. pipeline = versionnegotiation authtoken context cache cachemanage apiv1app
  45.  
  46. [app:apiv1app]
  47. paste.app_factory = glance.common.wsgi:app_factory
  48. glance.app_factory = glance.api.v1.router:API
  49.  
  50. [filter:versionnegotiation]
  51. paste.filter_factory = glance.common.wsgi:filter_factory
  52. glance.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter
  53.  
  54. [filter:cache]
  55. paste.filter_factory = glance.common.wsgi:filter_factory
  56. glance.filter_factory = glance.api.middleware.cache:CacheFilter
  57.  
  58. [filter:cachemanage]
  59. paste.filter_factory = glance.common.wsgi:filter_factory
  60. glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
  61.  
  62. [filter:context]
  63. paste.filter_factory = glance.common.wsgi:filter_factory
  64. glance.filter_factory = glance.common.context:ContextMiddleware
  65.  
  66. [filter:authtoken]
  67. paste.filter_factory = keystone.middleware.auth_token:filter_factory
  68. service_protocol = http
  69. service_host = 127.0.0.1
  70. service_port = 5000
  71. auth_host = 127.0.0.1
  72. auth_port = 35357
  73. auth_protocol = http
  74. auth_uri = http://127.0.0.1:5000/
  75. admin_tenant_name = service
  76. admin_user = glance
  77. admin_password = <REMOVED>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement