コード例 #1
0
def cleanup_remote_logs(ips_file: str):
    pssh(ips_file, "rm -f *.tgz *.out; rm -rf /tmp/conflux_test_*")
コード例 #2
0
def setup_bandwidth_limit(ips_file: str, bandwidth: float,
                          nodes_per_host: int):
    pssh(ips_file,
         f"./throttle_bitcoin_bandwidth.sh {bandwidth} {nodes_per_host}")