Lines Matching full:env
8 def __init__(self, env, port=None):
9 env.require_cmd("iperf3", remote=True)
11 self.env = env
18 self._iperf_client = cmd(f"iperf3 -c {env.addr} -P 16 -p {port} -t 86400",
19 background=True, host=env.remote)
26 def run_remote_test(self, env: object, port=None, command=None):
31 with bkg(server_cmd, host=env.remote):
34 wait_port_listen(port, host=env.remote)
38 client_cmd = f"iperf3 -c {env.remote_addr} -p {port} {command}"
49 pkt_start = ip("-s link show dev " + self.env.ifname, json=True)[0]["stats64"]["rx"]["packets"]
52 pkt_now = ip("-s link show dev " + self.env.ifname, json=True)[0]["stats64"]["rx"]["packets"]