Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: server/site_wifitest.py

Issue 3139013: 802.1x EAP-TLS Authentication for wifi tests (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: Change eap_tls to eap-tls Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/site_tests/network_WiFiSecMat/019CheckWPA_1x_AES ('k') | server/site_wlan_connect.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_wifitest.py
diff --git a/server/site_wifitest.py b/server/site_wifitest.py
index 85f6adb9fe75f6443bbd5ecd47548a9565131c3e..cb1c02727c44968751733c7787d918a5dd10ac5a 100644
--- a/server/site_wifitest.py
+++ b/server/site_wifitest.py
@@ -8,6 +8,7 @@ from autotest_lib.server import autotest, hosts, subcommand
from autotest_lib.server import site_bsd_router
from autotest_lib.server import site_linux_router
from autotest_lib.server import site_host_attributes
+from autotest_lib.server import site_eap_tls
class NotImplemented(Exception):
def __init__(self, what):
@@ -210,6 +211,10 @@ class WiFiTest(object):
script_client_file,
delete_dest=True)
+ if 'eap-tls' in params:
+ params.update(site_eap_tls.client_config(self.client,
+ params['eap-tls']))
+
result = self.client.run('python "%s" "%s" "%s" "%s" "%d" "%d"' %
(script_client_file,
params.get('ssid', self.wifi.get_ssid()),
« no previous file with comments | « server/site_tests/network_WiFiSecMat/019CheckWPA_1x_AES ('k') | server/site_wlan_connect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698