Update paste, policy and rootwrap configurations 2016-05-19
Change-Id: Ic63629ee836f2bee90f7441322718a0dd1de6684
This commit is contained in:
parent
f56180c8ff
commit
bfde23d953
@ -18,15 +18,6 @@ paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
|
|||||||
[composite:osapi_compute]
|
[composite:osapi_compute]
|
||||||
use = call:nova.api.openstack.urlmap:urlmap_factory
|
use = call:nova.api.openstack.urlmap:urlmap_factory
|
||||||
/: oscomputeversions
|
/: oscomputeversions
|
||||||
# starting in Liberty the v21 implementation replaces the v2
|
|
||||||
# implementation and is suggested that you use it as the default. If
|
|
||||||
# this causes issues with your clients you can rollback to the
|
|
||||||
# *frozen* v2 api by commenting out the above stanza and using the
|
|
||||||
# following instead::
|
|
||||||
# /v2: openstack_compute_api_legacy_v2
|
|
||||||
# if rolling back to v2 fixes your issue please file a critical bug
|
|
||||||
# at - https://bugs.launchpad.net/nova/+bugs
|
|
||||||
#
|
|
||||||
# v21 is an exactly feature match for v2, except it has more stringent
|
# v21 is an exactly feature match for v2, except it has more stringent
|
||||||
# input validation on the wsgi surface (prevents fuzzing early on the
|
# input validation on the wsgi surface (prevents fuzzing early on the
|
||||||
# API). It also provides new features via API microversions which are
|
# API). It also provides new features via API microversions which are
|
||||||
@ -35,13 +26,6 @@ use = call:nova.api.openstack.urlmap:urlmap_factory
|
|||||||
/v2: openstack_compute_api_v21_legacy_v2_compatible
|
/v2: openstack_compute_api_v21_legacy_v2_compatible
|
||||||
/v2.1: openstack_compute_api_v21
|
/v2.1: openstack_compute_api_v21
|
||||||
|
|
||||||
# NOTE: this is deprecated in favor of openstack_compute_api_v21_legacy_v2_compatible
|
|
||||||
[composite:openstack_compute_api_legacy_v2]
|
|
||||||
use = call:nova.api.auth:pipeline_factory
|
|
||||||
noauth2 = cors compute_req_id faultwrap sizelimit noauth2 legacy_ratelimit osapi_compute_app_legacy_v2
|
|
||||||
keystone = cors compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_ratelimit osapi_compute_app_legacy_v2
|
|
||||||
keystone_nolimit = cors compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_legacy_v2
|
|
||||||
|
|
||||||
[composite:openstack_compute_api_v21]
|
[composite:openstack_compute_api_v21]
|
||||||
use = call:nova.api.auth:pipeline_factory_v21
|
use = call:nova.api.auth:pipeline_factory_v21
|
||||||
noauth2 = cors compute_req_id faultwrap sizelimit noauth2 osapi_compute_app_v21
|
noauth2 = cors compute_req_id faultwrap sizelimit noauth2 osapi_compute_app_v21
|
||||||
@ -64,9 +48,6 @@ paste.filter_factory = nova.api.openstack:FaultWrapper.factory
|
|||||||
[filter:noauth2]
|
[filter:noauth2]
|
||||||
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
|
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
|
||||||
|
|
||||||
[filter:legacy_ratelimit]
|
|
||||||
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
|
|
||||||
|
|
||||||
[filter:sizelimit]
|
[filter:sizelimit]
|
||||||
paste.filter_factory = oslo_middleware:RequestBodySizeLimiter.factory
|
paste.filter_factory = oslo_middleware:RequestBodySizeLimiter.factory
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user