b0469d5927
Switch to using items for all dictionary iteration. Change-Id: I465d0b53c3ff2eeb114b4a7f68ff6b124cb6362b Closes-Bug: 1735797
38 lines
1.2 KiB
INI
38 lines
1.2 KiB
INI
[composite:neutron]
|
|
use = egg:Paste#urlmap
|
|
/: neutronversions
|
|
/v2.0: neutronapi_v2_0
|
|
|
|
[composite:neutronapi_v2_0]
|
|
use = call:neutron.auth:pipeline_factory
|
|
noauth = request_id catch_errors extensions neutronapiapp_v2_0
|
|
keystone = {% for m in extra_middleware %}{{ m.name }} {% endfor %}request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0
|
|
|
|
{% for m in extra_middleware -%}
|
|
[{{ m.type }}:{{ m.name }}]
|
|
{% for k, v in m.config.items() -%}
|
|
{{ k }} = {{ v }}
|
|
{% endfor %}
|
|
{% endfor -%}
|
|
|
|
[filter:request_id]
|
|
paste.filter_factory = neutron.openstack.common.middleware.request_id:RequestIdMiddleware.factory
|
|
|
|
[filter:catch_errors]
|
|
paste.filter_factory = neutron.openstack.common.middleware.catch_errors:CatchErrorsMiddleware.factory
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
|
|
|
[filter:extensions]
|
|
paste.filter_factory = neutron.api.extensions:plugin_aware_extension_middleware_factory
|
|
|
|
[app:neutronversions]
|
|
paste.app_factory = neutron.api.versions:Versions.factory
|
|
|
|
[app:neutronapiapp_v2_0]
|
|
paste.app_factory = neutron.api.v2.router:APIRouter.factory
|