This PR refactors the way the ips.py script is gotten, and how the list of nodes is handled. It addresses the following issues in the improvement bucket:
How to share common scripts across different repos
Think how to avoid having modified file in the repo after running the script
Move the ips.py script to some common place for scripts in ziggurat-core
Main features:
script to fetch ips.pyfrom ziggurat-core (documented in the readme)
replaced static IPS list in the generated ips.rs with reading a json file (tools/ips_list.json) and passing back an array to the callers in the test/performance modules: connections, get_trans, ping_pong.
I suppose there are 'many ways to Rome' for something like this. I'm not married to this particular strategy, if somebody has a better idea.
This PR refactors the way the ips.py script is gotten, and how the list of nodes is handled. It addresses the following issues in the improvement bucket:
Main features:
ips.py
fromziggurat-core
(documented in the readme)ips.rs
with reading a json file (tools/ips_list.json
) and passing back an array to the callers in the test/performance modules: connections, get_trans, ping_pong.I suppose there are 'many ways to Rome' for something like this. I'm not married to this particular strategy, if somebody has a better idea.