生成bash脚本以测试与应用服务器的连接的方法
edw.recipe.responsecheck的Python项目详细描述
此配方可用于生成bash脚本,该脚本可测试到应用程序服务器的连接
内容
Example of usage
一个简单的buildout.cfg:
[buildout] parts = checker [checker] recipe = edw.recipe.responsecheck start-port = 8000 end-port = 9000 step = 2 backends = backend1 ... backend2 path = ${buildout:directory}/bin
Recipe options
说明:
start-port = Port to start the check. end-port = Port to end the check. step = The numeric value that the count is increased by each loop. backends = List of backend names separated by space character. path = Path to a folder where the bash script will be saved.
注意:必须指定所有选项。
Final result
此配方将生成一个bash脚本,用于为每个指定的后端测试连接 以指定的步骤从起始端口到结束端口的每个端口
Changelog
1.0 - (released)
- Stable version
0.9.4-dev - (13.08.2014)
- Added docs
0.9.3-dev - (12.08.2014)
- Added version.txt
0.9.2-dev - (12.08.2014)
- Fix README
0.9.1-dev - (12.08.2014)
- Fix egg release
0.9-dev - (12.08.2014)
- Verification of a port range
- Verification for multiple backends