diff --git a/etc/api-paste.ini b/etc/api-paste.ini index 934ef3ff9a5..0d6873abe21 100644 --- a/etc/api-paste.ini +++ b/etc/api-paste.ini @@ -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