summaryrefslogtreecommitdiffstats
path: root/docs/nova-api-paste.ini
diff options
context:
space:
mode:
authorZiad Sawalha <github@highbridgellc.com>2011-05-23 14:01:47 -0500
committerZiad Sawalha <github@highbridgellc.com>2011-05-23 14:01:47 -0500
commit28c990171f484f508fba9bafe290c45cbe522c25 (patch)
tree76091914e6df2d8d7dff8b493fe25ca91aea280b /docs/nova-api-paste.ini
parent9e7386e40574d87cb62744149646923b47254864 (diff)
parent1507b1d13066bd36ee079f47f40699aa000def76 (diff)
downloadkeystone-28c990171f484f508fba9bafe290c45cbe522c25.tar.gz
keystone-28c990171f484f508fba9bafe290c45cbe522c25.tar.xz
keystone-28c990171f484f508fba9bafe290c45cbe522c25.zip
Readme merge
Diffstat (limited to 'docs/nova-api-paste.ini')
-rw-r--r--docs/nova-api-paste.ini114
1 files changed, 114 insertions, 0 deletions
diff --git a/docs/nova-api-paste.ini b/docs/nova-api-paste.ini
new file mode 100644
index 00000000..e1c26a24
--- /dev/null
+++ b/docs/nova-api-paste.ini
@@ -0,0 +1,114 @@
+#######
+# EC2 #
+#######
+
+[composite:ec2]
+use = egg:Paste#urlmap
+/: ec2versions
+/services/Cloud: ec2cloud
+/services/Admin: ec2admin
+/latest: ec2metadata
+/2007-01-19: ec2metadata
+/2007-03-01: ec2metadata
+/2007-08-29: ec2metadata
+/2007-10-10: ec2metadata
+/2007-12-15: ec2metadata
+/2008-02-01: ec2metadata
+/2008-09-01: ec2metadata
+/2009-04-04: ec2metadata
+/1.0: ec2metadata
+
+[pipeline:ec2cloud]
+pipeline = logrequest authenticate cloudrequest authorizer ec2executor
+#pipeline = logrequest ec2lockout authenticate cloudrequest authorizer ec2executor
+
+[pipeline:ec2admin]
+pipeline = logrequest authenticate adminrequest authorizer ec2executor
+
+[pipeline:ec2metadata]
+pipeline = logrequest ec2md
+
+[pipeline:ec2versions]
+pipeline = logrequest ec2ver
+
+[filter:logrequest]
+paste.filter_factory = nova.api.ec2:RequestLogging.factory
+
+[filter:ec2lockout]
+paste.filter_factory = nova.api.ec2:Lockout.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
+
+[app:ec2ver]
+paste.app_factory = nova.api.ec2:Versions.factory
+
+[app:ec2md]
+paste.app_factory = nova.api.ec2.metadatarequesthandler:MetadataRequestHandler.factory
+
+#############
+# Openstack #
+#############
+
+[composite:osapi]
+use = egg:Paste#urlmap
+/: osversions
+/v1.0: openstackapi10
+/v1.1: openstackapi11
+
+[pipeline:openstackapi10]
+pipeline = faultwrap tokenauth auth_shim ratelimit osapiapp10
+
+[pipeline:openstackapi11]
+pipeline = faultwrap tokenauth auth_shim ratelimit extensions osapiapp11
+
+[filter:faultwrap]
+paste.filter_factory = nova.api.openstack:FaultWrapper.factory
+
+[filter:auth]
+paste.filter_factory = nova.api.openstack.auth:AuthMiddleware.factory
+
+[filter:tokenauth]
+paste.filter_factory = nova.auth.nova_auth_token:filter_factory
+service_protocol = http
+service_host = 127.0.0.1
+service_port = 808
+auth_host = 127.0.0.1
+auth_port = 8081
+auth_protocol = http
+admin_token = 999888777666
+
+[filter:auth_shim]
+paste.filter_factory = nova.auth.nova_auth_token:KeystoneAuthShim.factory
+
+[filter:ratelimit]
+paste.filter_factory = nova.api.openstack.limits:RateLimitingMiddleware.factory
+
+[filter:extensions]
+paste.filter_factory = nova.api.openstack.extensions:ExtensionMiddleware.factory
+
+[app:osapiapp10]
+paste.app_factory = nova.api.openstack:APIRouterV10.factory
+
+[app:osapiapp11]
+paste.app_factory = nova.api.openstack:APIRouterV11.factory
+
+[pipeline:osversions]
+pipeline = faultwrap osversionapp
+
+[app:osversionapp]
+paste.app_factory = nova.api.openstack.versions:Versions.factory