分布式数据平面性能测试工具
pyshaker的Python项目详细描述
为openstack构建的分布式数据平面测试工具。
Shaker提供了流行的系统网络测试工具,如 iperf,iperf3 和netperf(借助于flent)。 Shaker能够在不同的 拓扑结构。shaker场景指定测试的部署和列表 执行。另外,可以在命令行中动态调整测试。
功能
- 用户通过热模板定义的拓扑结构
- 在多个实例上同时测试执行
- 带有统计数据和图表的交互式报告
- 内置的sla验证
部署要求
- 可从OpenStack Cloud路由的Shaker服务器
- 管理员用户最好访问OpenStack API
在python环境中运行
$ pip install pyshaker
$ . openrc
$ shaker-image-builder
$ shaker --server-endpoint <host:port> --scenario <scenario> --report <report.html>``
- 其中:
- host和port-部署振动筛的计算机的主机和端口
- scenario-要执行的方案,例如
openstack/perf_l2
( catalog) - <report.html>-存储最终报告的文件
参数的完整列表在documentation中可用。
容器中的振动筛
振动器可用作码头枢纽的集装箱 performa/shaker
$ docker run -p <port>:<port> -v <artifacts-dir>:/artifacts performa/shaker --scenario <scenario> --server-endpoint <host:port> --os-auth-url <os-auth-url> --os-username <os-username> --os-password <os-password> --os-project-name <os-project-name>
- 其中:
- host和port-部署振动筛的计算机上的主机和端口
- artifacts-dir-报告和原始结果的存储位置
- scenario-要执行的方案,例如
openstack/perf_l2
( catalog) - os-XXX-openstack云凭据