diff options
author | Gary Kotton <gkotton@redhat.com> | 2012-06-21 09:06:44 -0400 |
---|---|---|
committer | Gary Kotton <gkotton@redhat.com> | 2012-06-24 01:45:27 -0400 |
commit | 842584f3ef2a6ca17b6753d8b70a5415ebec312d (patch) | |
tree | 85cdb6fb0342184f66ba5306d5b9a1e349bff150 /etc/api-paste.ini | |
parent | 43d2ed6342e894ca1809d2a19206b2009ab783a2 (diff) | |
download | neutron-842584f3ef2a6ca17b6753d8b70a5415ebec312d.tar.gz |
Remove paste configuration details to a seperate file.
blueprint use-common-cfg
In addition this ensures that the cisco extension units are working
with the common cfg code.
Change-Id: I8c1f81e295e7ed593f0b58885efeeb15339b7733
Diffstat (limited to 'etc/api-paste.ini')
-rw-r--r-- | etc/api-paste.ini | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/api-paste.ini b/etc/api-paste.ini new file mode 100644 index 0000000000..8c0ccdff34 --- /dev/null +++ b/etc/api-paste.ini @@ -0,0 +1,54 @@ +[composite:quantum] +use = egg:Paste#urlmap +/: quantumversions +/v1.0: quantumapi_v1_0 +/v1.1: quantumapi_v1_1 +/v2.0: quantumapi_v2_0 + +[pipeline:quantumapi_v1_0] +# By default, authentication is disabled. +# To enable Keystone integration comment out the +# following line and uncomment the next one +pipeline = extensions quantumapiapp_v1_0 +# pipeline = authtoken keystonecontext extensions quantumapiapp_v1_0 + +[pipeline:quantumapi_v1_1] +# By default, authentication is disabled. +# To enable Keystone integration comment out the +# following line and uncomment the next one +pipeline = extensions quantumapiapp_v1_1 +# pipeline = authtoken keystonecontext extensions quantumapiapp_v1_1 + +[pipeline:quantumapi_v2_0] +# By default, authentication is disabled. +# To enable Keystone integration comment out the +# following line and uncomment the next one +pipeline = extensions quantumapiapp_v2_0 +# pipeline = authtoken keystonecontext extensions quantumapiapp_v2_0 + +[filter:keystonecontext] +paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory + +[filter:authtoken] +paste.filter_factory = keystone.middleware.auth_token:filter_factory +auth_host = 127.0.0.1 +auth_port = 35357 +auth_protocol = http +admin_tenant_name = %SERVICE_TENANT_NAME% +admin_user = %SERVICE_USER% +admin_password = %SERVICE_PASSWORD% + +[filter:extensions] +paste.filter_factory = quantum.extensions.extensions:plugin_aware_extension_middleware_factory + +[app:quantumversions] +paste.app_factory = quantum.api.versions:Versions.factory + +[app:quantumapiapp_v1_0] +paste.app_factory = quantum.api:APIRouterV10.factory + +[app:quantumapiapp_v1_1] +paste.app_factory = quantum.api:APIRouterV11.factory + +[app:quantumapiapp_v2_0] +paste.app_factory = quantum.api.v2.router:APIRouter.factory |