Skip to content

Instantly share code, notes, and snippets.

@roaet
Created March 19, 2013 16:53
Show Gist options
  • Save roaet/5197850 to your computer and use it in GitHub Desktop.
Save roaet/5197850 to your computer and use it in GitHub Desktop.
1 [composite:quantum]
2 use = egg:Paste#urlmap
3 /: quantumversions
4 /v2.0: quantumapi_v2_0
5
6 [composite:quantumapi_v2_0]
7 use = call:quantum.auth:pipeline_factory
8 noauth = egg:repoze.tm2#tm extensions quantumapiapp_v2_0
9 keystone = authtoken keystonecontext egg:repoze.tm2#tm extensions quantumapiapp_v2_0
10
11 [filter:keystonecontext]
12 paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory
13
14 [filter:authtoken]
15 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
16 auth_host = 127.0.0.1
17 auth_port = 35357
18 auth_protocol = http
19 admin_tenant_name = openstack
20 admin_user = admin
21 admin_password = password
22 signing_dir = /var/lib/quantum/keystone-signing
23
24 [filter:extensions]
25 paste.filter_factory = quantum.api.extensions:plugin_aware_extension_middleware_factory
26
27 [app:quantumversions]
28 paste.app_factory = quantum.api.versions:Versions.factory
29
30 [app:quantumapiapp_v2_0]
31 paste.app_factory = quantum.api.v2.router:APIRouter.factory
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment