2014-01-17 01:15:22 -08:00
|
|
|
.. _common_middleware:
|
|
|
|
|
|
|
|
**********
|
|
|
|
Middleware
|
|
|
|
**********
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Account Quotas
|
|
|
|
==============
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.account_quotas
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _bulk:
|
|
|
|
|
|
|
|
Bulk Operations (Delete and Archive Auto Extraction)
|
|
|
|
====================================================
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.bulk
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _catch_errors:
|
|
|
|
|
|
|
|
CatchErrors
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.catch_errors
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
CNAME Lookup
|
2014-01-17 01:15:22 -08:00
|
|
|
============
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.cname_lookup
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _container-quotas:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Container Quotas
|
|
|
|
================
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.container_quotas
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _container-sync:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Container Sync Middleware
|
|
|
|
=========================
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.container_sync
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Cross Domain Policies
|
|
|
|
=====================
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.crossdomain
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _discoverability:
|
2014-02-04 15:17:11 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Discoverability
|
|
|
|
===============
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Swift will by default provide clients with an interface providing details
|
|
|
|
about the installation. Unless disabled (i.e ``expose_info=false`` in
|
|
|
|
:ref:`proxy-server-config`), a GET request to ``/info`` will return configuration
|
|
|
|
data in JSON format. An example response::
|
|
|
|
|
|
|
|
{"swift": {"version": "1.11.0"}, "staticweb": {}, "tempurl": {}}
|
|
|
|
|
|
|
|
This would signify to the client that swift version 1.11.0 is running and that
|
|
|
|
staticweb and tempurl are available in this installation.
|
|
|
|
|
|
|
|
There may be administrator-only information available via ``/info``. To
|
|
|
|
retrieve it, one must use an HMAC-signed request, similar to TempURL.
|
|
|
|
The signature may be produced like so::
|
|
|
|
|
|
|
|
swift-temp-url GET 3600 /info secret 2>/dev/null | sed s/temp_url/swiftinfo/g
|
|
|
|
|
|
|
|
Domain Remap
|
|
|
|
============
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.domain_remap
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Dynamic Large Objects
|
|
|
|
=====================
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.dlo
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-04 15:17:11 -08:00
|
|
|
.. _formpost:
|
|
|
|
|
2014-01-17 01:15:22 -08:00
|
|
|
FormPost
|
|
|
|
========
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.formpost
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _gatekeeper:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
GateKeeper
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.gatekeeper
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _healthcheck:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Healthcheck
|
|
|
|
===========
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.healthcheck
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-09-14 23:41:19 +02:00
|
|
|
.. _keystoneauth:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
KeystoneAuth
|
|
|
|
============
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.keystoneauth
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-04-07 14:22:27 -07:00
|
|
|
.. _list_endpoints:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
List Endpoints
|
|
|
|
==============
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.list_endpoints
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
Memcache
|
|
|
|
========
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.memcache
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Name Check (Forbidden Character Filter)
|
|
|
|
=======================================
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.name_check
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Proxy Logging
|
2014-01-17 01:15:22 -08:00
|
|
|
=============
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.proxy_logging
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Ratelimit
|
|
|
|
=========
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.ratelimit
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _recon:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
Recon
|
|
|
|
===========
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.recon
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
.. _slo-doc:
|
|
|
|
|
|
|
|
Static Large Objects
|
|
|
|
====================
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.slo
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _staticweb:
|
2013-11-21 17:31:16 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
StaticWeb
|
|
|
|
=========
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.staticweb
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _common_tempauth:
|
2014-02-04 15:17:11 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
TempAuth
|
|
|
|
========
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.tempauth
|
2014-01-17 01:15:22 -08:00
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. _tempurl:
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
TempURL
|
|
|
|
=======
|
2014-01-17 01:15:22 -08:00
|
|
|
|
2014-02-20 20:27:20 -07:00
|
|
|
.. automodule:: swift.common.middleware.tempurl
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|
2013-10-24 03:40:06 +08:00
|
|
|
|
|
|
|
XProfile
|
|
|
|
==============
|
|
|
|
|
|
|
|
.. automodule:: swift.common.middleware.xprofile
|
|
|
|
:members:
|
|
|
|
:show-inheritance:
|