This repository has moved to
https://github.com/Crystal-SDS/filter-middleware
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 aftercrystal_introspection_handler
filter. -
The last step is restart the proxy-server service. Now the middleware has been installed.