Skip to content

Instantly share code, notes, and snippets.

@NehaRawat
Created July 7, 2015 01:20
Show Gist options
  • Save NehaRawat/967f1fe8df34c3deeb38 to your computer and use it in GitHub Desktop.
Save NehaRawat/967f1fe8df34c3deeb38 to your computer and use it in GitHub Desktop.
/etc/manila/api-paste.ini
[composite:osapi_share]
use = call:manila.api:root_app_factory
/: apiversions
/v1: openstack_share_api_v1
[composite:openstack_share_api_v1]
use = call:manila.api.middleware.auth:pipeline_factory
noauth = faultwrap sizelimit noauth apiv1
keystone = faultwrap sizelimit authtoken keystonecontext apiv1
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1
[filter:faultwrap]
paste.filter_factory = manila.api.middleware.fault:FaultWrapper.factory
[filter:noauth]
paste.filter_factory = manila.api.middleware.auth:NoAuthMiddleware.factory
[filter:sizelimit]
paste.filter_factory = manila.api.middleware.sizelimit:RequestBodySizeLimiter.factory
[app:apiv1]
paste.app_factory = manila.api.v1.router:APIRouter.factory
[pipeline:apiversions]
pipeline = faultwrap osshareversionapp
[app:osshareversionapp]
paste.app_factory = manila.api.versions:Versions.factory
[filter:keystonecontext]
paste.filter_factory = manila.api.middleware.auth:ManilaKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = 10.104.10.22
service_port = 5000
auth_host = 10.104.10.22
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = manila
admin_password = password
signing_dir = /var/lib/manila
auth_uri=http://10.104.10.22:5000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment