Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 1 | [DEFAULT] |
| 2 | bind_port = 8080 |
Chmouel Boudjnah | 88d5499 | 2011-11-02 01:10:38 +0100 | [diff] [blame] | 3 | user = %USER% |
Dean Troyer | 1e51c11 | 2012-03-16 10:42:00 -0500 | [diff] [blame] | 4 | swift_dir = %SWIFT_CONFIG_DIR% |
Chmouel Boudjnah | 769eb1c | 2011-11-22 13:04:40 +0100 | [diff] [blame] | 5 | workers = 1 |
| 6 | log_name = swift |
| 7 | log_facility = LOG_LOCAL1 |
| 8 | log_level = DEBUG |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 9 | |
| 10 | [pipeline:main] |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 11 | pipeline = healthcheck cache swift3 %AUTH_SERVER% proxy-server |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 12 | |
| 13 | [app:proxy-server] |
| 14 | use = egg:swift#proxy |
| 15 | allow_account_management = true |
Chmouel Boudjnah | d5651bb | 2011-11-01 16:22:08 +0100 | [diff] [blame] | 16 | account_autocreate = true |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 17 | |
Chmouel Boudjnah | 45c5113 | 2011-11-01 19:32:23 +0100 | [diff] [blame] | 18 | [filter:keystone] |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 19 | paste.filter_factory = keystone.middleware.swift_auth:filter_factory |
| 20 | operator_roles = Member,admin |
| 21 | |
Chmouel Boudjnah | ecdd8fc | 2012-03-19 13:50:45 +0000 | [diff] [blame] | 22 | # NOTE(chmou): s3token middleware is not updated yet to use only |
| 23 | # username and password. |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 24 | [filter:s3token] |
| 25 | paste.filter_factory = keystone.middleware.s3_token:filter_factory |
| 26 | service_port = %KEYSTONE_SERVICE_PORT% |
| 27 | service_host = %KEYSTONE_SERVICE_HOST% |
| 28 | auth_port = %KEYSTONE_AUTH_PORT% |
| 29 | auth_host = %KEYSTONE_AUTH_HOST% |
| 30 | auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 31 | auth_token = %SERVICE_TOKEN% |
| 32 | admin_token = %SERVICE_TOKEN% |
| 33 | |
Chmouel Boudjnah | ecdd8fc | 2012-03-19 13:50:45 +0000 | [diff] [blame] | 34 | [filter:authtoken] |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 35 | paste.filter_factory = keystone.middleware.auth_token:filter_factory |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 36 | auth_host = %KEYSTONE_AUTH_HOST% |
Chmouel Boudjnah | ecdd8fc | 2012-03-19 13:50:45 +0000 | [diff] [blame] | 37 | auth_port = %KEYSTONE_AUTH_PORT% |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 38 | auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
Chmouel Boudjnah | ecdd8fc | 2012-03-19 13:50:45 +0000 | [diff] [blame] | 39 | auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/ |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame] | 40 | admin_tenant_name = %SERVICE_TENANT_NAME% |
| 41 | admin_user = %SERVICE_USERNAME% |
| 42 | admin_password = %SERVICE_PASSWORD% |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 43 | |
| 44 | [filter:swift3] |
| 45 | use = egg:swift#swift3 |
Chmouel Boudjnah | 45c5113 | 2011-11-01 19:32:23 +0100 | [diff] [blame] | 46 | |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 47 | [filter:tempauth] |
| 48 | use = egg:swift#tempauth |
| 49 | user_admin_admin = admin .admin .reseller_admin |
| 50 | user_test_tester = testing .admin |
| 51 | user_test2_tester2 = testing2 .admin |
| 52 | user_test_tester3 = testing3 |
Chmouel Boudjnah | a2cd841 | 2011-11-01 12:36:10 +0100 | [diff] [blame] | 53 | bind_ip = 0.0.0.0 |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 54 | |
| 55 | [filter:healthcheck] |
| 56 | use = egg:swift#healthcheck |
| 57 | |
| 58 | [filter:cache] |
| 59 | use = egg:swift#memcache |