Table Of Contents

Previous topic

Proxy

Next topic

Container

This Page

Psst... hey. Did you know you can read about Swift at docs.openstack.org also? Plus you can get to past versions atSwift 1.3 docs and Swift 1.2 docs.

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