def cleanup_remote_logs(ips_file: str): pssh(ips_file, "rm -f *.tgz *.out; rm -rf /tmp/conflux_test_*")
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}")