c92ed76173
When volumes were removed from nova, api-paste.ini was not updated. This removes the outdated sections of api-paste.ini. Change-Id: I6dcc792ed87f6b02e5fdffb0af46a3fbf6b37404
108 lines
2.8 KiB
INI
108 lines
2.8 KiB
INI
############
|
|
# Metadata #
|
|
############
|
|
[composite:metadata]
|
|
use = egg:Paste#urlmap
|
|
/: meta
|
|
|
|
[pipeline:meta]
|
|
pipeline = ec2faultwrap logrequest metaapp
|
|
|
|
[app:metaapp]
|
|
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
|
|
|
|
#######
|
|
# EC2 #
|
|
#######
|
|
|
|
[composite:ec2]
|
|
use = egg:Paste#urlmap
|
|
/services/Cloud: ec2cloud
|
|
|
|
[composite:ec2cloud]
|
|
use = call:nova.api.auth:pipeline_factory
|
|
noauth = ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
|
|
keystone = ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor
|
|
|
|
[filter:ec2faultwrap]
|
|
paste.filter_factory = nova.api.ec2:FaultWrapper.factory
|
|
|
|
[filter:logrequest]
|
|
paste.filter_factory = nova.api.ec2:RequestLogging.factory
|
|
|
|
[filter:ec2lockout]
|
|
paste.filter_factory = nova.api.ec2:Lockout.factory
|
|
|
|
[filter:ec2keystoneauth]
|
|
paste.filter_factory = nova.api.ec2:EC2KeystoneAuth.factory
|
|
|
|
[filter:ec2noauth]
|
|
paste.filter_factory = nova.api.ec2:NoAuth.factory
|
|
|
|
[filter:cloudrequest]
|
|
controller = nova.api.ec2.cloud.CloudController
|
|
paste.filter_factory = nova.api.ec2:Requestify.factory
|
|
|
|
[filter:authorizer]
|
|
paste.filter_factory = nova.api.ec2:Authorizer.factory
|
|
|
|
[filter:validator]
|
|
paste.filter_factory = nova.api.ec2:Validator.factory
|
|
|
|
[app:ec2executor]
|
|
paste.app_factory = nova.api.ec2:Executor.factory
|
|
|
|
#############
|
|
# Openstack #
|
|
#############
|
|
|
|
[composite:osapi_compute]
|
|
use = call:nova.api.openstack.urlmap:urlmap_factory
|
|
/: oscomputeversions
|
|
/v1.1: openstack_compute_api_v2
|
|
/v2: openstack_compute_api_v2
|
|
|
|
[composite:openstack_compute_api_v2]
|
|
use = call:nova.api.auth:pipeline_factory
|
|
noauth = faultwrap sizelimit noauth ratelimit osapi_compute_app_v2
|
|
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_compute_app_v2
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v2
|
|
|
|
[filter:faultwrap]
|
|
paste.filter_factory = nova.api.openstack:FaultWrapper.factory
|
|
|
|
[filter:noauth]
|
|
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
|
|
|
|
[filter:ratelimit]
|
|
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
|
|
|
|
[filter:sizelimit]
|
|
paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory
|
|
|
|
[app:osapi_compute_app_v2]
|
|
paste.app_factory = nova.api.openstack.compute:APIRouter.factory
|
|
|
|
[pipeline:oscomputeversions]
|
|
pipeline = faultwrap oscomputeversionapp
|
|
|
|
[app:oscomputeversionapp]
|
|
paste.app_factory = nova.api.openstack.compute.versions:Versions.factory
|
|
|
|
##########
|
|
# Shared #
|
|
##########
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.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%
|
|
signing_dir = /tmp/keystone-signing-nova
|