autotest: Make interop tests work on WpaCliProxy hosts

Since wpa_cli hosts don't have profiles, we can't manipulate profiles to
create a clean test context.  Add a method init_test_network_state which
abstracts these details into platform specific operations.

The shill XMLRPC delegate simply returns False when it is unable to
disconnect from a given ssid.  WpaCliProxy should do likewise rather
than complaining about missing keys in its created networks list.

TEST=Interop tests work against WpaCliProxy based hosts.
check11b still passes on a normal host.

Change-Id: I5886df8154f46e3e1b43b325d2ac1a857cbaebc2
Tested-by: Christopher Wiley <>
Reviewed-by: Paul Stewart <>
Commit-Queue: Christopher Wiley <>
4 files changed