swift/etc
John Dickinson a2ac5efaa6 swift constraints are now settable via config
Change previously hard-coded constants into config variables. This
allows deployers to tune their cluster more specifically based on
their needs. For example, a deployment that uses direct swift access
for public content may need to set a larger header value constraint to
allow for the full object name to be represented in the Content-
Disposition header (which browsers check to determine the name of a
downloaded object).

The new settings are set in the [swift-constraints] section of
/etc/swift/swift.conf. Comments were also added to this config file.

Cleaned up swift/common/constraints.py to pass pep8 1.3.3

Funtional tests now require constraints to be defined in /etc/test.conf or in
/etc/swift/swift.conf (in the case of running the functional tests against a
local swift cluster). To have any hope of tests passing, the defined
constraints must match the constraints on the tested cluster.

Removed a ton of "magic numbers" in both unit and functional tests.

Change-Id: Ie4588e052fd158314ddca6cd8fca9bc793311465
2012-09-07 11:18:42 -07:00
..
account-server.conf-sample Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
container-server.conf-sample Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
dispersion.conf-sample Fix Dispersion report and swift-bench on saio 2012-07-13 17:48:37 -05:00
drive-audit.conf-sample Patch for Swift Solaris (Illumos) compability. 2012-06-19 15:38:56 +04:00
memcache.conf-sample Do not use pickle for serialization in memcache, but JSON 2012-08-03 16:22:21 +02:00
mime.types-sample PEP 8 compliance and small modification to mime.types file 2010-11-23 19:26:02 -06:00
object-expirer.conf-sample Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
object-server.conf-sample Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
proxy-server.conf-sample Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
rsyncd.conf-sample Added missing lockfile configuration to sample rsync.conf 2011-02-12 18:27:59 -08:00
swift-bench.conf-sample Misc. swift-bench improvements. 2012-08-27 20:25:44 +00:00
swift.conf-sample swift constraints are now settable via config 2012-09-07 11:18:42 -07:00