blob: ce5473b2acd6e96924ae67df8cad16cd6f16f3f7 [file] [log] [blame]
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01001[DEFAULT]
2bind_port = 8080
Chmouel Boudjnah88d54992011-11-02 01:10:38 +01003user = %USER%
Dean Troyer1e51c112012-03-16 10:42:00 -05004swift_dir = %SWIFT_CONFIG_DIR%
Chmouel Boudjnah769eb1c2011-11-22 13:04:40 +01005workers = 1
6log_name = swift
7log_facility = LOG_LOCAL1
8log_level = DEBUG
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +01009
10[pipeline:main]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000011pipeline = healthcheck cache swift3 %AUTH_SERVER% proxy-server
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010012
13[app:proxy-server]
14use = egg:swift#proxy
15allow_account_management = true
Chmouel Boudjnahd5651bb2011-11-01 16:22:08 +010016account_autocreate = true
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010017
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010018[filter:keystone]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000019paste.filter_factory = keystone.middleware.swift_auth:filter_factory
20operator_roles = Member,admin
21
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000022# NOTE(chmou): s3token middleware is not updated yet to use only
23# username and password.
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000024[filter:s3token]
25paste.filter_factory = keystone.middleware.s3_token:filter_factory
26service_port = %KEYSTONE_SERVICE_PORT%
27service_host = %KEYSTONE_SERVICE_HOST%
28auth_port = %KEYSTONE_AUTH_PORT%
29auth_host = %KEYSTONE_AUTH_HOST%
30auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
31auth_token = %SERVICE_TOKEN%
32admin_token = %SERVICE_TOKEN%
33
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000034[filter:authtoken]
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000035paste.filter_factory = keystone.middleware.auth_token:filter_factory
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000036auth_host = %KEYSTONE_AUTH_HOST%
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000037auth_port = %KEYSTONE_AUTH_PORT%
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000038auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
Chmouel Boudjnahecdd8fc2012-03-19 13:50:45 +000039auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
Dean Troyerb3288382012-02-28 16:41:10 -060040admin_tenant_name = %SERVICE_TENANT_NAME%
41admin_user = %SERVICE_USERNAME%
42admin_password = %SERVICE_PASSWORD%
Chmouel Boudjnah8534bcb2012-02-25 08:04:48 +000043
44[filter:swift3]
45use = egg:swift#swift3
Chmouel Boudjnah45c51132011-11-01 19:32:23 +010046
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010047[filter:tempauth]
48use = egg:swift#tempauth
49user_admin_admin = admin .admin .reseller_admin
50user_test_tester = testing .admin
51user_test2_tester2 = testing2 .admin
52user_test_tester3 = testing3
Chmouel Boudjnaha2cd8412011-11-01 12:36:10 +010053bind_ip = 0.0.0.0
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010054
55[filter:healthcheck]
56use = egg:swift#healthcheck
57
58[filter:cache]
59use = egg:swift#memcache