Searched refs:session_serial (Results 1 – 8 of 8) sorted by relevance
56 def netload_kill_problem(session_serial): argument68 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): argument125 modules = get_ethernet_driver(session_serial)129 session_serial.cmd("rmmod %s" % (module))132 session_serial.cmd("modprobe %s" % (module))[all …]
25 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)
21 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)
25 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")
23 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)
23 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`")
102 session_serial = vm.wait_for_serial_login(timeout=login_timeout)103 session_serial.cmd(regain_ip_cmd)
119 session_serial = vm.wait_for_serial_login(timeout=login_timeout)129 output = session_serial.cmd_output("dir /dev")136 session_serial.sendline(cmd)