Table Of Contents

Previous topic

Proxy

Next topic

Container

This Page

Account

Account Server

class swift.account.server.AccountController(conf)

Bases: object

WSGI controller for the account server.

DELETE(*a, **kw)

Handle HTTP DELETE request.

GET(*a, **kw)

Handle HTTP GET request.

HEAD(*a, **kw)

Handle HTTP HEAD request.

POST(*a, **kw)

Handle HTTP POST request.

PUT(*a, **kw)

Handle HTTP PUT request.

REPLICATE(*a, **kw)

Handle HTTP REPLICATE request. Handler for RPC calls for account replication.

swift.account.server.app_factory(global_conf, **local_conf)

paste.deploy app factory for creating WSGI account server apps

Account Auditor

class swift.account.auditor.AccountAuditor(conf)

Bases: swift.common.daemon.Daemon

Audit accounts.

account_audit(path)

Audits the given account path

Parameters:path – the path to an account db
run_forever(*args, **kwargs)

Run the account audit until stopped.

run_once(*args, **kwargs)

Run the account audit once.

swift.account.auditor.random() → x in the interval [0, 1).

Account Reaper