History log of /external/autotest/client/cros/networking/shill_xmlrpc_server.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eea696688a46b869c63e95074568d5ec05b07c81 04-Mar-2016 Rebecca Silberstein <silberst@google.com> autotest(wifi): Allow shill_proxy to set optional manager property

Manager DHCPProperty.Hostname and DHCPProperty.VendorClass are optional
properties. If they have been previously set from the command line or
other dbus call, the network_WiFi_SetOptionalDhcpProperties test is
successful. If they have not been set, they will not be returned in the
GetProperties call for the Manager, this causes the test to fail. This
CL adds an optional call to set the properties if they were not included
in the GetProperties list.

Also includes one docstring fix to pass presubmit check.

BUG=chromium:589595
TEST=deleted optional property settings with: \
stop shill; rm /var/cache/shill/default/profile; start shill
TEST=verified the properties were not set with: \
dbus-send --system --print-reply --dest=org.chromium.flimflam / \
org.chromium.flimflam.Manager.GetProperties
TEST=test_that -b daisy chromeos2-row6-rack4-host2.cros \
network_WiFi_SetOptionalDhcpProperties

Change-Id: I348662d63c4a2d730ad4f2941cd4cdd3c631125e
Reviewed-on: https://chromium-review.googlesource.com/330414
Commit-Ready: Rebecca Silberstein <silberst@chromium.org>
Tested-by: Rebecca Silberstein <silberst@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
5474b1edbbba17208bad64d72441da31ede3d8e4 03-Dec-2015 Rebecca Silberstein <silberst@google.com> autotest(wifi): Check for optional settings in DHCP Request

Set and confirm optional DHCP settings (vendor class and hostname) are
in DHCP Request packets from a DUT.

BUG=b:25376223
TEST=test_that -b daisy chromeos1-shelf5-host8.cros
network_WiFi_SetOptionalDhcpProperties

Change-Id: I53a3ed9e19b22dcb34f7984aec4fd97dd4331b62
Reviewed-on: https://chromium-review.googlesource.com/326802
Commit-Ready: Rebecca Silberstein <silberst@chromium.org>
Tested-by: Rebecca Silberstein <silberst@chromium.org>
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
9daf5972d65d60cc34ff25e09d4207aadfdbc723 03-Nov-2015 Roshan Pius <rpius@google.com> autotest(wifi): Use WPACliProxy for all wpa_cli invocations.

There are a bunch of different places where we invoke wpa_cli commands
in the server tests:
1. On the server side in wifi_client.py (|WifiClient.reassociate|).
2. On the client side in shill_xml_rpc_server.py
(|ShillXmlRpcDelegate.request_roam|) and wifi_proxy.py
(|WifiProxy.clear_supplicant_blacklist|).

Changes:
1. Move all of these invocations to one central place i.e WifiClient on the
server side and remove the associated XML RPC methods.
2. Invoke all wpa_cli commands using the WpaCliProxy instance
initialized in WifiClient. WpaCliProxy was formerly being used as a Shill XML
RPC server substitute on android devices. Now we're going to use this
class for running wpa_cli commands for Android, Brillo and Cros testing.

BUG=b:25432676
TEST=`test_that --board=$board $host network_WiFi_Reassociate` on both
Dragonboard and Cros device. (Tests |WifiClient.reassociate| method)
TEST=`test_that --board=$board $host network_WiFi_Prefer5Ghz` on Cros
device. (Tests |WifiClient.clear_supplicant_blacklist| method)
TEST=`test_that --board=$board $host network_WiFi_PMKSACaching` on Cros
device. (Tests |WifiClient.request_roam| method)

Change-Id: I339260401b882b4142c28e24df15038aca9c17f0
Reviewed-on: https://chromium-review.googlesource.com/310229
Commit-Ready: Roshan Pius <rpius@chromium.org>
Tested-by: Roshan Pius <rpius@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Roshan Pius <rpius@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
44a893b3b181d388b210b9b1d4f992f28b971863 28-Aug-2015 Ningyuan Wang <nywang@google.com> Autotest: Add test network_WiFi_RoamDbus

This test configure two APs with the same SSID. The DUT first
connect to AP1. Then we ask shill to send a roam command to
wpa_supplicant through dbus. The roam command is encoded with
the BSSID of AP2. After waiting for a reasonable amount of time,
we verify that DUT is now connected to AP2.

BUG=chromium:523082
TEST=test on a peppy device
CQ-DEPEND=CL:295888,CL:296047,CL:295798

Change-Id: Ib8de6d8341914579a585979edc3372b68288500c
Reviewed-on: https://chromium-review.googlesource.com/296030
Commit-Ready: Ningyuan Wang <nywang@chromium.org>
Tested-by: Ningyuan Wang <nywang@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
e0b08e6170b57f90262726eb7f04e059cb47419c 11-Aug-2015 Hsinyu Chao <hychao@chromium.org> Revert "autotest: move constants to common_lib"

This reverts commit a4ac7a8f67d61f8a616724f9426dbc0fce71ce69.

BUG=chromium:519353

Change-Id: Iec2873ad22b5bb90e46a9e5b323f9626a2c07d9b
Reviewed-on: https://chromium-review.googlesource.com/292347
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Commit-Queue: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
a4ac7a8f67d61f8a616724f9426dbc0fce71ce69 06-Aug-2015 Eric Caruso <ejcaruso@chromium.org> autotest: move constants to common_lib

This file gets imported from lots of server-side tests and
infrastructure so it shouldn't be hiding in client/cros. This
moves the file and fixes all imports.

BUG=chromium:485834
TEST=run many tests, make sure there are no problems importing
constants

Change-Id: I5c2b2a0bef6ebc998e62f40162a6ec9cc4436480
Reviewed-on: https://chromium-review.googlesource.com/291302
Trybot-Ready: Eric Caruso <ejcaruso@chromium.org>
Commit-Queue: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Chris Sosa <sosa@google.com>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py
6946f948018ca7ce9263e9a9b5ff0eee676c1f68 05-Aug-2015 Christopher Wiley <wiley@google.com> Move xmlrpc servers to client/cros

Having these files in client/common_lib/cros makes it appear as if
it is acceptable to include them from server code. Unfortunately,
many of them have dependencies on DBus, which makes them appropriate
only for inclusion in client contexts.

BUG=chromium:485834
TEST=These tests have been confirmed to work:
- network_WiFi_SimpleConnect.wifi_checkWPA_TKIP
- bluetooth_Sanity_Discoverable

Change-Id: I8fe2beb8dab22678e4aa33f357065ca474c515d5
Reviewed-on: https://chromium-review.googlesource.com/290731
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/cros/networking/shill_xmlrpc_server.py