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% |
Chmouel Boudjnah | 3a64826 | 2011-11-03 10:43:46 +0100 | [diff] [blame] | 4 | swift_dir = %SWIFT_CONFIG_LOCATION% |
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 | |
| 22 | [filter:s3token] |
| 23 | paste.filter_factory = keystone.middleware.s3_token:filter_factory |
| 24 | service_port = %KEYSTONE_SERVICE_PORT% |
| 25 | service_host = %KEYSTONE_SERVICE_HOST% |
| 26 | auth_port = %KEYSTONE_AUTH_PORT% |
| 27 | auth_host = %KEYSTONE_AUTH_HOST% |
| 28 | auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 29 | auth_token = %SERVICE_TOKEN% |
| 30 | admin_token = %SERVICE_TOKEN% |
| 31 | |
| 32 | [filter:tokenauth] |
| 33 | paste.filter_factory = keystone.middleware.auth_token:filter_factory |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame] | 34 | # FIXME(dtroyer): remove these service_* entries after auth_token is updated |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 35 | service_port = %KEYSTONE_SERVICE_PORT% |
| 36 | service_host = %KEYSTONE_SERVICE_HOST% |
| 37 | auth_port = %KEYSTONE_AUTH_PORT% |
| 38 | auth_host = %KEYSTONE_AUTH_HOST% |
| 39 | auth_protocol = %KEYSTONE_AUTH_PROTOCOL% |
| 40 | auth_token = %SERVICE_TOKEN% |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame] | 41 | # FIXME(dtroyer): remove admin_token after auth_token is updated |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 42 | admin_token = %SERVICE_TOKEN% |
Dean Troyer | b328838 | 2012-02-28 16:41:10 -0600 | [diff] [blame] | 43 | admin_tenant_name = %SERVICE_TENANT_NAME% |
| 44 | admin_user = %SERVICE_USERNAME% |
| 45 | admin_password = %SERVICE_PASSWORD% |
Chmouel Boudjnah | 8534bcb | 2012-02-25 08:04:48 +0000 | [diff] [blame] | 46 | cache = swift.cache |
| 47 | |
| 48 | [filter:swift3] |
| 49 | use = egg:swift#swift3 |
Chmouel Boudjnah | 45c5113 | 2011-11-01 19:32:23 +0100 | [diff] [blame] | 50 | |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 51 | [filter:tempauth] |
| 52 | use = egg:swift#tempauth |
| 53 | user_admin_admin = admin .admin .reseller_admin |
| 54 | user_test_tester = testing .admin |
| 55 | user_test2_tester2 = testing2 .admin |
| 56 | user_test_tester3 = testing3 |
Chmouel Boudjnah | a2cd841 | 2011-11-01 12:36:10 +0100 | [diff] [blame] | 57 | bind_ip = 0.0.0.0 |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 58 | |
| 59 | [filter:healthcheck] |
| 60 | use = egg:swift#healthcheck |
| 61 | |
| 62 | [filter:cache] |
| 63 | use = egg:swift#memcache |