History log of /external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa9b542863860667bb1b173da2819d32a73a9c92 27-Nov-2013 Christopher Wiley <wiley@chromium.org> autotest: Configure WiFi bgscan during connect

This allows us to configure bgscan at connect time, which is a boon
for systems which use wpa_supplicant directly. wpa_supplicant expects
bgscan parameters as part of the netblock, which is given at initial
connection time. In shill, these settings are persisted as properties
of the device, and given for each new association.

As a pleasant side effect, this ends the risk of an improper bgscan
configuration persisting in shill state and possibly interfering with
future test results.

While here, remove a number of bgscan related methods that have no
remaining callsites.

BUG=chromium:313959
TEST=network_WiFi_SimpleConnect.wifi_checkWPA_TKIP passes with these
changes. network_WiFi_BgscanBackoff also passes.

Change-Id: I2b463ad00c8edc59945519ba8647e48bd1a7429a
Reviewed-on: https://chromium-review.googlesource.com/178098
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
8703a44abffde3cbec9e38dce6acdb39783f2b0b 08-Nov-2013 Christopher Wiley <wiley@chromium.org> autotest: Migrate network_WiFiManager.095 to new framework

Since this test manipulates an entry and intends for it to autoconnect,
add an autoconnect that controls this function.
Remove the network_WiFiManager directory since it has no tests
remaining.

TEST=This is a passing test. suite:wifi_matfunc continues to pass.
BUG=chromium:316406

Change-Id: I61ea0f49e04d010760e3c52961182b9c5b753eef
Reviewed-on: https://chromium-review.googlesource.com/176403
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
2ea08b613d0c283d357fd92735e87aac6909ee04 15-Oct-2013 Jason Abele <jabele@chromium.org> autotest: chaos: generate AssociationParameters in ChaosRunner

StaticAPConfigurators can not change the security/SSID/etc settings of
the AP they represent. Allow StaticAPConfigurators to choose their
SSID and psk from the config file.

Make APSpec's immutable by computing ssid in the DynamicAPConfigurator,
instead of the APSpec.

Allow all this to work by generating the AssociationParameters in
ChaosRunner.run() after AP configuration is complete and available.

Passing AssociationParameters to network_WiFi_ChaosConnectDisconnect
instead of APSpec leaves no frequency information for packet_capturer,
pass capturer_frequency and capturer_ht_type.

BUG=chromium:307577
TEST=test_that HOST network_WiFi_ChaosConnectDisconnect.local \
test_that HOST network_WiFi_ChaosConnectDisconnect.debug

Change-Id: I5e5546dded1175415be37110dcc74b1ae97227c2
Reviewed-on: https://chromium-review.googlesource.com/173061
Tested-by: Jason Abele <jabele@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Jason Abele <jabele@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
b838b292c5c079c55ca40611244c6772a211c728 26-Sep-2013 Wade Guthrie <wdg@chromium.org> autotest: Adds a couple very minor fixes.

BgscanConfiguration's set_auto_signal method wouldn't work as written
since it wasn't written as a full class method but a 'self' parameter
was required. Fixed that.

Reordered WiFiTestContextManager.wait_for_connection's checks because it
seemed to make more sense to verify all the connection's parameters
before taking the time to ping.

BUG=None
TEST=autotest

Change-Id: I5be309179bfee26dbc789a3f5be8ab4a5058b05e
Reviewed-on: https://chromium-review.googlesource.com/170695
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Wade Guthrie <wdg@chromium.org>
Commit-Queue: Wade Guthrie <wdg@chromium.org>
Tested-by: Wade Guthrie <wdg@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
e1731cea88bc6371d7368a758784f9a757c31fcd 25-Jul-2013 Christopher Wiley <wiley@chromium.org> autotest: Make network_WiFi_BgscanBackoff less flaky

This test fails more reliably on snow if we just increase the time that
we look for bad behavior by the WiFi part.

BUG=chromium:264061
TEST=This is a test. It fails reliably.

Change-Id: Id1cfe8e9ba48e41f2651e4752675cef791c66309
Reviewed-on: https://gerrit.chromium.org/gerrit/63291
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
848fa8a6aaf73f5d1e389b3d4b61d8ceaccf52d2 02-Jul-2013 Christopher Wiley <wiley@chromium.org> autotest: Migrate network_WiFiSecMat/019CheckWPA_1x_AES

On the way, complete adding support for negative assertions to SimpleConnect.
We can now assert that an attempt should fail rather than succeed.

TEST=This is a test. It passes.
BUG=chromium:256351
Change-Id: Ibc864ced7006175dcb24ac9b90bcc74f90c51cb9
Reviewed-on: https://gerrit.chromium.org/gerrit/60790
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
84ebd1a5d75653169c5adcefaf02762fadcfab15 20-Jun-2013 Christopher Wiley <wiley@chromium.org> autotest: Refactor how XMLRPC structs are constructed

Refactor parameters to the shill xmlrpc server so that
marshalling/demarshalling happens automagically and constructors become
useful again. This makes usage between the security configurations and
the basic xmlrpc parameters consistent. Since this facility might be be
more broadly useful, check the base class in outside WiFi specific code.

TEST=Ran passing run_remote_tests.sh for:
wifi_check11b
wifi_checkWEP40
wifi_checkWPA2
wifi_dynamicWEP
network_WiFi_BgscanBackoff

BUG=None.

Change-Id: Id47c73f33d8b328338c44107f1c40b4dc75bf338
Reviewed-on: https://gerrit.chromium.org/gerrit/59576
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
458fb604d9e06110266439818d04daf373d5025e 18-Jun-2013 Christopher Wiley <wiley@chromium.org> autotest: Remove senseless XmlRpc boilerplate

Python's XmlRpc framework will do this primitive marshalling for us, so
lets not duplicate it and make everyone's life miserable.

TEST=Tests pass.
BUG=None

Change-Id: Ia85505bfec935a80e2e1cb3a113ca8c5989ae97c
Reviewed-on: https://gerrit.chromium.org/gerrit/58966
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Tan Gao <tgao@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
b8921c718c68ff4303a8602edd072f9ab21db407 13-Jun-2013 Christopher Wiley <wiley@chromium.org> autotest: Refactor WiFi security credentials into per type classes

This lets us be a little more abstract about the types of security
credentials we support in testing, and concentrates the relevant logic
into one place.

TEST=Passes both:
./run_remote_tests.sh --remote=chromeos1-shelf1-host3 check11b
./run_remote_tests.sh --remote=chromeos1-shelf1-host3 checkStaticWEP40
which indicates this works for both open and WEP security types.
BUG=chromium:249096
CQ-DEPEND=CL:58588

Change-Id: I085665db9bead45fcd8d0b94a136b9dac2f646da
Reviewed-on: https://gerrit.chromium.org/gerrit/58589
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
1febd6ad71496ac14c022f9156939daa2e1f5d71 03-Jun-2013 Christopher Wiley <wiley@chromium.org> autotest: Migrate network_WiFiMatFunc/011CheckIBSS to new framework

TEST=This is a test, it passes. In addition, running 011CheckIBSS still
passes with the modifications to site_wifitest. check11b also passes.
BUG=chromium:245907
CQ-DEPEND=CL:57385

Change-Id: Ibd370bfb5e0fd21e3bce084834e8f38a8512422d
Reviewed-on: https://gerrit.chromium.org/gerrit/57386
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
d1d96b886f5eebdbb2a13047638dd1f21472d0f9 10-May-2013 Christopher Wiley <wiley@chromium.org> autotest: Migrate 090_BgScanBackoff to new WiFi test framework

While here, observe that assert_ping_similarity() is only used for this
test and that belongs in the test rather that in WiFiClient. Use
blocking ping calls rather than background ping calls since this makes
the test lab team happier.

TEST=Test runs, stats are compared.
BUG=chromium:230660

CQ-DEPEND=CL:50905

Change-Id: I96944d9988bd1af85c6ad5dcce53c50569cb5b94
Reviewed-on: https://gerrit.chromium.org/gerrit/50907
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py
fdba17e1749e253a75a99dd76fd6bde1613eddba 30-Apr-2013 Christopher Wiley <wiley@chromium.org> autotest: mv client/common_lib/cros/wlan/* to client/common_lib/cros/network/

wlan is the name of a WiFi device on a particular platform and is not a
good package name.

BUG=None
TEST=ran ./run_remote_tests.sh --remote=chromeos1-shelf1-host3 check11b

Change-Id: I2da75a9d23232515237c716f6b36dc589e7618e7
Reviewed-on: https://gerrit.chromium.org/gerrit/49532
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/network/xmlrpc_datatypes.py