Advertisement
Guest User

Untitled

a guest
Jan 15th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. # heat-api pipeline
  2. [pipeline:heat-api]
  3. pipeline = faultwrap versionnegotiation authtoken context apiv1app
  4.  
  5. # heat-api pipeline for standalone heat
  6. # ie. uses alternative auth backend that authenticates users against keystone
  7. # using username and password instead of validating token (which requires
  8. # an admin/service token).
  9. # To enable, in heat.conf:
  10. # [paste_deploy]
  11. # flavor = standalone
  12. #
  13. [pipeline:heat-api-standalone]
  14. pipeline = faultwrap versionnegotiation authpassword context apiv1app
  15.  
  16. # heat-api pipeline for custom cloud backends
  17. # i.e. in heat.conf:
  18. # [paste_deploy]
  19. # flavor = custombackend
  20. #
  21. [pipeline:heat-api-custombackend]
  22. pipeline = faultwrap versionnegotiation context custombackendauth apiv1app
  23.  
  24. # heat-api-cfn pipeline
  25. [pipeline:heat-api-cfn]
  26. pipeline = cfnversionnegotiation ec2authtoken authtoken context apicfnv1app
  27.  
  28. # heat-api-cfn pipeline for standalone heat
  29. # relies exclusively on authenticating with ec2 signed requests
  30. [pipeline:heat-api-cfn-standalone]
  31. pipeline = cfnversionnegotiation ec2authtoken context apicfnv1app
  32.  
  33. # heat-api-cloudwatch pipeline
  34. [pipeline:heat-api-cloudwatch]
  35. pipeline = versionnegotiation ec2authtoken authtoken context apicwapp
  36.  
  37. # heat-api-cloudwatch pipeline for standalone heat
  38. # relies exclusively on authenticating with ec2 signed requests
  39. [pipeline:heat-api-cloudwatch-standalone]
  40. pipeline = versionnegotiation ec2authtoken context apicwapp
  41.  
  42. [app:apiv1app]
  43. paste.app_factory = heat.common.wsgi:app_factory
  44. heat.app_factory = heat.api.openstack.v1:API
  45.  
  46. [app:apicfnv1app]
  47. paste.app_factory = heat.common.wsgi:app_factory
  48. heat.app_factory = heat.api.cfn.v1:API
  49.  
  50. [app:apicwapp]
  51. paste.app_factory = heat.common.wsgi:app_factory
  52. heat.app_factory = heat.api.cloudwatch:API
  53.  
  54. [filter:versionnegotiation]
  55. paste.filter_factory = heat.common.wsgi:filter_factory
  56. heat.filter_factory = heat.api.openstack:version_negotiation_filter
  57.  
  58. [filter:faultwrap]
  59. paste.filter_factory = heat.common.wsgi:filter_factory
  60. heat.filter_factory = heat.api.openstack:faultwrap_filter
  61.  
  62. [filter:cfnversionnegotiation]
  63. paste.filter_factory = heat.common.wsgi:filter_factory
  64. heat.filter_factory = heat.api.cfn:version_negotiation_filter
  65.  
  66. [filter:cwversionnegotiation]
  67. paste.filter_factory = heat.common.wsgi:filter_factory
  68. heat.filter_factory = heat.api.cloudwatch:version_negotiation_filter
  69.  
  70. [filter:context]
  71. paste.filter_factory = heat.common.context:ContextMiddleware_filter_factory
  72.  
  73. [filter:ec2authtoken]
  74. paste.filter_factory = heat.api.aws.ec2token:EC2Token_filter_factory
  75.  
  76. # Auth middleware that validates token against keystone
  77. [filter:authtoken]
  78. paste.filter_factory = heat.common.auth_token:filter_factory
  79.  
  80. # These must be set to your local values in order for the token
  81. # authentication to work.
  82.  
  83. admin_tenant_name = service
  84. admin_user = heat
  85. admin_password = 12345
  86.  
  87.  
  88. # Auth middleware that validates username/password against keystone
  89. [filter:authpassword]
  90. paste.filter_factory = heat.common.auth_password:filter_factory
  91.  
  92. # Auth middleware that validates against custom backend
  93. [filter:custombackendauth]
  94. paste.filter_factory = heat.common.custom_backend_auth:filter_factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement