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
7AP_CONFIG_FAIL = 'AP configuration failed'
8AP_PDU_DOWN = 'PDU is down'
9AP_SECURITY_MISMATCH = 'AP security mismatch'
10AP_SSID_NOTFOUND = 'SSID was not found'
11WORK_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.
15CONFIG_SUCCESS = 0
16PDU_FAIL = 1
17CONFIG_FAIL = 2
18
19# These constants are used by the AP configurator to determine if this is
20# a chaos vs clique test.
21AP_TEST_TYPE_CHAOS = 1
22AP_TEST_TYPE_CLIQUE = 2
23AP_TEST_TYPE_CASEY5 = 3
24AP_TEST_TYPE_CASEY7 = 4
25
26# This constant is used by the chaos_runner to determine maximum APs/SSIDs
27# that are up in the lab.
28MAX_SSID_COUNT = 10
29MAX_SCAN_TIMEOUT = 30
30
31# Isolation chamber lab prefixes used to determine where the test is running
32CASEY5 = 'chromeos5'
33CASEY7 = 'chromeos7'
34