Home
last modified time | relevance | path

Searched refs:session_serial (Results 1 – 8 of 8) sorted by relevance

/external/autotest/client/virt/tests/
Dnetstress_kill_guest.py56 def netload_kill_problem(session_serial): argument
68 session_serial.cmd(firewall_flush)
79 session_serial.cmd(setup_cmd % "/tmp", timeout=200)
83 session_serial.cmd(clean_cmd)
86 session_serial.cmd(params.get("netserver_cmd") % "/tmp")
109 session_serial.sendline(quest_netperf_cmd)
124 def netdriver_kill_problem(session_serial): argument
125 modules = get_ethernet_driver(session_serial)
129 session_serial.cmd("rmmod %s" % (module))
132 session_serial.cmd("modprobe %s" % (module))
[all …]
Dnicdriver_unload.py25 session_serial = vm.wait_for_serial_login(timeout=timeout)
27 ethname = virt_test_utils.get_linux_ifname(session_serial,
37 driver = os.path.basename(session_serial.cmd("%s %s" % (readlink_cmd,
52 session_serial.cmd("sleep 10")
53 session_serial.cmd("ifconfig %s down" % ethname)
54 session_serial.cmd("modprobe -r %s" % driver)
55 session_serial.cmd("modprobe %s" % driver)
56 session_serial.cmd("ifconfig %s up" % ethname)
Dmac_change.py21 session_serial = vm.wait_for_serial_login(timeout=timeout)
31 interface = virt_test_utils.get_linux_ifname(session_serial, old_mac)
36 session_serial.cmd(change_cmd)
40 session_serial.cmd("ifconfig | grep -i %s" % new_mac)
45 session_serial.sendline(dhclient_cmd)
Dnetperf.py25 session_serial = vm.wait_for_serial_login(timeout=login_timeout)
31 session_serial.cmd_output(firewall_flush)
41 session_serial.cmd(firewall_flush)
45 session_serial.cmd(setup_cmd % "/tmp", timeout=200)
46 session_serial.cmd(params.get("netserver_cmd") % "/tmp")
106 session_serial.cmd_output("killall netserver")
Dnic_promisc.py23 session_serial = vm.wait_for_serial_login(timeout=timeout)
25 ethname = virt_test_utils.get_linux_ifname(session_serial,
33 session_serial.cmd("ip link set %s promisc on" % ethname)
34 session_serial.cmd("ip link set %s promisc off" % ethname)
/external/autotest/client/tests/kvm/tests/
Dnic_bonding.py23 session_serial = vm.wait_for_serial_login(timeout=timeout)
30 session_serial.cmd(modprobe_cmd)
32 session_serial.cmd("ifconfig bond0 up")
33 ifnames = [virt_test_utils.get_linux_ifname(session_serial,
37 session_serial.cmd(setup_cmd)
38 session_serial.cmd("dhclient bond0")
61 session_serial.sendline("ifenslave -d bond0 " + " ".join(ifnames))
62 session_serial.sendline("kill -9 `pgrep dhclient`")
Dmigration_multi_host.py102 session_serial = vm.wait_for_serial_login(timeout=login_timeout)
103 session_serial.cmd(regain_ip_cmd)
Denospc.py119 session_serial = vm.wait_for_serial_login(timeout=login_timeout)
129 output = session_serial.cmd_output("dir /dev")
136 session_serial.sendline(cmd)