1 # Copyright (c) 2013 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 5 # These constants are used by the chaos_runner to raise TestError based on 6 # failure 7 AP_CONFIG_FAIL = 'AP configuration failed' 8 AP_PDU_DOWN = 'PDU is down' 9 AP_SECURITY_MISMATCH = 'AP security mismatch' 10 AP_SSID_NOTFOUND = 'SSID was not found' 11 WORK_CLI_CONNECT_FAIL = 'Work client was not able to connect to the AP' 12 13 # These constants are used by the AP configurator to indicate the type of 14 # configuration failure or success. 15 CONFIG_SUCCESS = 0 16 PDU_FAIL = 1 17 CONFIG_FAIL = 2 18 19 # These constants are used by the AP configurator to determine if this is 20 # a chaos vs clique test. 21 AP_TEST_TYPE_CHAOS = 1 22 AP_TEST_TYPE_CLIQUE = 2 23 24 # This constant is used by the chaos_runner to determine maximum APs/SSIDs 25 # that are up in the lab. 26 MAX_SSID_COUNT = 30 27 MAX_SCAN_TIMEOUT = 30 28