2011-11-23 18:10:53 +00:00
|
|
|
############
|
|
|
|
# Metadata #
|
|
|
|
############
|
|
|
|
[composite:metadata]
|
|
|
|
use = egg:Paste#urlmap
|
|
|
|
/: metaversions
|
|
|
|
/latest: meta
|
|
|
|
/2007-01-19: meta
|
|
|
|
/2007-03-01: meta
|
|
|
|
/2007-08-29: meta
|
|
|
|
/2007-10-10: meta
|
|
|
|
/2007-12-15: meta
|
|
|
|
/2008-02-01: meta
|
|
|
|
/2008-09-01: meta
|
|
|
|
/2009-04-04: meta
|
|
|
|
|
|
|
|
[pipeline:metaversions]
|
|
|
|
pipeline = ec2faultwrap logrequest metaverapp
|
|
|
|
|
|
|
|
[pipeline:meta]
|
|
|
|
pipeline = ec2faultwrap logrequest metaapp
|
|
|
|
|
|
|
|
[app:metaverapp]
|
|
|
|
paste.app_factory = nova.api.metadata.handler:Versions.factory
|
|
|
|
|
|
|
|
[app:metaapp]
|
|
|
|
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
|
|
|
|
|
2011-11-05 23:12:20 +00:00
|
|
|
#######
|
|
|
|
# EC2 #
|
|
|
|
#######
|
|
|
|
|
|
|
|
[composite:ec2]
|
|
|
|
use = egg:Paste#urlmap
|
|
|
|
/services/Cloud: ec2cloud
|
|
|
|
/services/Admin: ec2admin
|
|
|
|
|
|
|
|
[pipeline:ec2cloud]
|
2011-11-23 18:10:53 +00:00
|
|
|
pipeline = ec2faultwrap logrequest totoken authtoken keystonecontext cloudrequest authorizer ec2executor
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[pipeline:ec2admin]
|
2011-11-23 18:10:53 +00:00
|
|
|
pipeline = ec2faultwrap logrequest totoken authtoken keystonecontext adminrequest authorizer ec2executor
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[pipeline:ec2metadata]
|
2011-11-23 18:10:53 +00:00
|
|
|
pipeline = ec2faultwrap logrequest ec2md
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[pipeline:ec2versions]
|
2011-11-23 18:10:53 +00:00
|
|
|
pipeline = ec2faultwrap logrequest ec2ver
|
|
|
|
|
|
|
|
[filter:ec2faultwrap]
|
|
|
|
paste.filter_factory = nova.api.ec2:FaultWrapper.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[filter:logrequest]
|
|
|
|
paste.filter_factory = nova.api.ec2:RequestLogging.factory
|
|
|
|
|
|
|
|
[filter:ec2lockout]
|
|
|
|
paste.filter_factory = nova.api.ec2:Lockout.factory
|
|
|
|
|
|
|
|
[filter:totoken]
|
|
|
|
paste.filter_factory = keystone.middleware.ec2_token:EC2Token.factory
|
|
|
|
|
|
|
|
[filter:ec2noauth]
|
|
|
|
paste.filter_factory = nova.api.ec2:NoAuth.factory
|
|
|
|
|
|
|
|
[filter:authenticate]
|
|
|
|
paste.filter_factory = nova.api.ec2:Authenticate.factory
|
|
|
|
|
|
|
|
[filter:cloudrequest]
|
|
|
|
controller = nova.api.ec2.cloud.CloudController
|
|
|
|
paste.filter_factory = nova.api.ec2:Requestify.factory
|
|
|
|
|
|
|
|
[filter:adminrequest]
|
|
|
|
controller = nova.api.ec2.admin.AdminController
|
|
|
|
paste.filter_factory = nova.api.ec2:Requestify.factory
|
|
|
|
|
|
|
|
[filter:authorizer]
|
|
|
|
paste.filter_factory = nova.api.ec2:Authorizer.factory
|
|
|
|
|
|
|
|
[app:ec2executor]
|
|
|
|
paste.app_factory = nova.api.ec2:Executor.factory
|
|
|
|
|
|
|
|
#############
|
|
|
|
# Openstack #
|
|
|
|
#############
|
|
|
|
|
|
|
|
[composite:osapi]
|
2011-11-23 18:10:53 +00:00
|
|
|
use = call:nova.api.openstack.v2.urlmap:urlmap_factory
|
2011-11-05 23:12:20 +00:00
|
|
|
/: osversions
|
2011-11-23 18:10:53 +00:00
|
|
|
/v1.1: openstack_api_v2
|
|
|
|
/v2: openstack_api_v2
|
2011-11-05 23:12:20 +00:00
|
|
|
|
2011-11-23 18:10:53 +00:00
|
|
|
[pipeline:openstack_api_v2]
|
|
|
|
pipeline = faultwrap authtoken keystonecontext ratelimit serialize extensions osapi_app_v2
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[filter:faultwrap]
|
2011-11-23 18:10:53 +00:00
|
|
|
paste.filter_factory = nova.api.openstack.v2:FaultWrapper.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[filter:auth]
|
2011-11-23 18:10:53 +00:00
|
|
|
paste.filter_factory = nova.api.openstack.v2.auth:AuthMiddleware.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[filter:noauth]
|
2011-11-23 18:10:53 +00:00
|
|
|
paste.filter_factory = nova.api.openstack.v2.auth:NoAuthMiddleware.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[filter:ratelimit]
|
2011-11-23 18:10:53 +00:00
|
|
|
paste.filter_factory = nova.api.openstack.v2.limits:RateLimitingMiddleware.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
2011-11-23 18:10:53 +00:00
|
|
|
[filter:serialize]
|
|
|
|
paste.filter_factory = nova.api.openstack.wsgi:LazySerializationMiddleware.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
2011-11-23 18:10:53 +00:00
|
|
|
[filter:extensions]
|
|
|
|
paste.filter_factory = nova.api.openstack.v2.extensions:ExtensionMiddleware.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
2011-11-23 18:10:53 +00:00
|
|
|
[app:osapi_app_v2]
|
|
|
|
paste.app_factory = nova.api.openstack.v2:APIRouter.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
[pipeline:osversions]
|
|
|
|
pipeline = faultwrap osversionapp
|
|
|
|
|
|
|
|
[app:osversionapp]
|
2011-11-23 18:10:53 +00:00
|
|
|
paste.app_factory = nova.api.openstack.v2.versions:Versions.factory
|
2011-11-05 23:12:20 +00:00
|
|
|
|
|
|
|
##########
|
|
|
|
# Shared #
|
|
|
|
##########
|
|
|
|
|
|
|
|
[filter:keystonecontext]
|
|
|
|
paste.filter_factory = keystone.middleware.nova_keystone_context:NovaKeystoneContext.factory
|
|
|
|
|
|
|
|
[filter:authtoken]
|
|
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
|
|
service_protocol = http
|
|
|
|
service_host = 127.0.0.1
|
|
|
|
service_port = 5000
|
|
|
|
auth_host = 127.0.0.1
|
|
|
|
auth_port = 35357
|
|
|
|
auth_protocol = http
|
|
|
|
auth_uri = http://127.0.0.1:5000/
|
2011-11-06 19:18:26 +00:00
|
|
|
admin_token = %SERVICE_TOKEN%
|