1# Copyright 2015 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from collections import namedtuple 6 7# Used in network_RackWiFiConnect 8PASSWORD = 'chromeos' 9 10SCAN_RETRY_TIMEOUT = 180 11 12NetworkServices = namedtuple('NetworkServices', 13 ['testname', 'user', 'ssid', 'url', 'pattern']) 14 15HIDDEN_WPA = NetworkServices('hiddenWPA', 16 'networktest01@croste.tv', 17 'CrOS_WPA_LinksysWRT54GL', 18 'www.openvpn.com', 19 'certs') 20 21PROXY_NON_AUTH = NetworkServices('proxyNonAuth', 22 'networktest01@croste.tv', 23 'CrOS_WPA2_Airport_Xtreme_5GHz', 24 'www.openvpn.com', 25 'certs') 26 27GOOGLE_GUEST = NetworkServices('googleGuest', 28 'networktest01@croste.tv', 29 'GoogleGuest', 30 'www.google.com', 31 'www.google.com') 32 33WEP = NetworkServices('WEP', 34 'networktest01@croste.tv', 35 'CrOS_WEP_DLink_Dir601', 36 'www.openvpn.com', 37 'certs') 38 39PEAP = NetworkServices('PEAP', 40 'networktest01@croste.tv', 41 'CrOS_WPA2_LinksysE3000_2.4GHz', 42 'www.openvpn.com', 43 'certs') 44 45HIDDEN_WEP = NetworkServices('hiddenWEP', 46 'networktest02@croste.tv', 47 'CrOS_WEP_ddwrt_54GL', 48 'www.openvpn.com', 49 'certs') 50 51WPA2 = NetworkServices('WPA2', 52 'networktest02@croste.tv', 53 'CrOS_WPA2_LinksysE3000N_5GHz', 54 'www.openvpn.com', 55 'certs') 56 57EAP_TTLS = NetworkServices('EAP_TTLS', 58 'networktest03@croste.tv', 59 'CrOS_WPA2_LinksysE3000_2.4GHz', 60 'www.openvpn.com', 61 'certs') 62 63NETWORK_SERVICES_TESTS = [HIDDEN_WPA, HIDDEN_WEP, PROXY_NON_AUTH, GOOGLE_GUEST, 64 WEP, PEAP, WPA2, EAP_TTLS] 65