Guest User

Untitled

a guest
Sep 25th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. [DEFAULT]
  2. # Show more verbose log output (sets INFO log level output)
  3. verbose = True
  4.  
  5. # Show debugging output in logs (sets DEBUG log level output)
  6. debug = True
  7.  
  8. # Address to bind the API server
  9. bind_host = 192.168.23.5
  10.  
  11. # Port the bind the API server to
  12. bind_port = 12060
  13.  
  14. # Path to the extensions. Note that this can be a colon-separated list of
  15. # paths. For example:
  16. # api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions
  17. # The __path__ of quantum.extensions is appended to this, so if your
  18. # extensions are in there you don't need to specify them here
  19. api_extensions_path =
  20.  
  21. [composite:quantum]
  22. use = egg:Paste#urlmap
  23. /: quantumversions
  24. /v1.0: quantumapi_v1_0
  25. /v1.1: quantumapi_v1_1
  26.  
  27. [pipeline:quantumapi_v1_0]
  28. # By default, authentication is disabled.
  29. # To enable Keystone integration uncomment the
  30. # following line and comment the next one
  31. pipeline = extensions quantumapiapp_v1_0
  32. #pipeline = authN extensions quantumapiapp_v1_0
  33.  
  34. [pipeline:quantumapi_v1_1]
  35. # By default, authentication is disabled.
  36. # To enable Keystone integration uncomment the
  37. # following line and comment the next one
  38. pipeline = extensions quantumapiapp_v1_1
  39. #pipeline = authN extensions quantumapiapp_v1_1
  40.  
  41. [filter:authN]
  42. paste.filter_factory = keystone.middleware.quantum_auth_token:filter_factory
  43. auth_host = 192.168.23.5
  44. auth_port = 12031
  45. auth_protocol = http
  46. auth_version = 2.0
  47. auth_admin_user = admin
  48. auth_admin_password = XXXXXXXXXXXX
  49. #auth_admin_token = <token-value>
  50.  
  51. [filter:extensions]
  52. paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory
  53.  
  54. [app:quantumversions]
  55. paste.app_factory = quantum.api.versions:Versions.factory
  56.  
  57. [app:quantumapiapp_v1_0]
  58. paste.app_factory = quantum.api:APIRouterV10.factory
  59.  
  60. [app:quantumapiapp_v1_1]
  61. paste.app_factory = quantum.api:APIRouterV11.factory
Add Comment
Please, Sign In to add comment