diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index 934ef3ff..0d6873ab 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -1,6 +1,6 @@ [composite:neutron] use = egg:Paste#urlmap -/: neutronversions +/: neutronversions_composite /v2.0: neutronapi_v2_0 [composite:neutronapi_v2_0] @@ -8,6 +8,11 @@ use = call:neutron.auth:pipeline_factory noauth = cors request_id catch_errors extensions neutronapiapp_v2_0 keystone = cors request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0 +[composite:neutronversions_composite] +use = call:neutron.auth:pipeline_factory +noauth = cors neutronversions +keystone = cors neutronversions + [filter:request_id] paste.filter_factory = oslo_middleware:RequestId.factory