Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.3 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.3 KB

Crystal Filter Middleware for OpenStack Swift

Installation

To install the module you can run the next line in the parent folder:

python setup.py install

After that, it is necessary to configure OpenStack Swift to add the middleware in the proxy and the object servers.

  • We need to add a new filter that must be called swift_sds in the ( proxy-server.conf): you can copying the next lines in the bellow part of the file:
[filter:crystal_filter_handler]
use = egg:swift_crystal_filter_middleware#crystal_filter_handler
execution_server = proxy
  • We need to add a new filter that must be called swift_sds in the ( object-server.conf): you can copying the next lines in the bellow part of the file:
[filter:crystal_filter_handler]
use = egg:swift_crystal_filter_middleware#crystal_filter_handler
execution_server = object
  • Also it is necessary to add this filter in the pipeline variable. This filter must be added before slo filter and after crystal_introspection_handler filter.

  • The last step is restart the proxy-server service. Now the middleware has been installed.