Advertisement
Guest User

glance-api=paste.ini

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