6a09fb55e3f6a62915ae80e6da16d12f23668bc5 |
|
22-Feb-2018 |
Ben Chan <benchan@chromium.org> |
Update virtual_ethernet_pair.py to use 'ip' instead of 'ifconfig' virtual_ethernet_pair.py has a mix use of 'ifconfig' and 'ip'. This CL updates it to consistently use 'ip'. BUG=chromium:410601 TEST=Run network_VPNConnect.openvpn_user_pass, which uses virtual_ethernet_pair.py. Change-Id: I5c5d26e70ea0c266d3dad7eca709efa14b498962 Reviewed-on: https://chromium-review.googlesource.com/930576 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Brian Norris <briannorris@chromium.org>
/external/autotest/client/common_lib/cros/virtual_ethernet_pair.py
|
2e3b4973c63745892f6267a2b116661630ad01f0 |
|
22-Jun-2015 |
Peter Qiu <zqiu@chromium.org> |
Add IPv6 address support for virtual ethernet pair This is needed for testing DHCPv6. BUG=chromium:496361 TEST=Upcoming client test network_Dhcpv6Basic Change-Id: I977c06b8967e091aca4317f2c682caa1f95093b7 Reviewed-on: https://chromium-review.googlesource.com/281051 Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/virtual_ethernet_pair.py
|
630d6b4de994abf65f393b9b598defdaebd4dbb6 |
|
14-Feb-2015 |
Ben Chan <benchan@chromium.org> |
Fix more I/O redirection issues. Various command invocations in autotest use the bash-specific I/O redirection syntax '&>', which doesn't work when dash is used. Under dash, `ls foo &> /dev/null` is executed as `ls foo &` and `> /dev/null` separately. As the latter always returns 0, the actual exit status of the whole command isn't correctly determined. This CL fixes the issues by using '>file 2>&1' instead. BUG=chromium:458678 TEST=Manually going through the code. Change-Id: I7dd22a5e898a18c7ff3d2fb43714e985eaa05c99 Reviewed-on: https://chromium-review.googlesource.com/249996 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
/external/autotest/client/common_lib/cros/virtual_ethernet_pair.py
|
9a63a8bd7e6c6cd49e673f40f1ae40234bea7321 |
|
03-Feb-2015 |
Peter Qiu <zqiu@chromium.org> |
apmanager: add autotest for bridge mode configuration For testing configuration of the AP in bridge mode, a DHCP server is setup on one end of the virtual ethernet pair, and the bridge interface is configured on the othe end. hostapd will also add the AP interface to the bridge interface, which allows the DHCP server configured on the virtual etherenet pair to service all DHCP requests coming to the AP interface. With this approach, the configuration support for virtual ethernet pair and bridge mode interface are added to SiteLinuxSystem, where a linux system will support at most one virtual ethernet pair and one bridge mode interface. Note that the current Stumpy router image (version b16) doesn't support bridge mode interface in kernel (CONFIG_BRIDGE is not enabled). BUG=chromium:448959 TEST=Run apmanager_SimpleConnect.bridge test Change-Id: Ib462001ec7c4a9fd79ba59a2aa6ed8344a5c3d0b Reviewed-on: https://chromium-review.googlesource.com/245756 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org> Trybot-Ready: Zeping Qiu <zqiu@chromium.org> Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/virtual_ethernet_pair.py
|
db63b1eabf5f3df3dd504a2998534ed98258d923 |
|
29-Jan-2015 |
Peter Qiu <zqiu@chromium.org> |
Add remote host support for VirtualEthernetPair This allows VirtualEthernetPair module to be used on the server autotests. Also move the file to client/common_lib/cros to indicate that it is usable by both client and server autotests. BUG=chromium:448959 TEST=Run network_nightly suite Change-Id: Ia8371372193ef634ab68184e336dc7f0caa86ac2 Reviewed-on: https://chromium-review.googlesource.com/244276 Tested-by: Zeping Qiu <zqiu@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/external/autotest/client/common_lib/cros/virtual_ethernet_pair.py
|