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>
7 files changed