• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Lint as: python2, python3
2# Copyright (c) 2013 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# These constants are used by the chaos_runner to raise TestError based on
7# failure
8AP_CONFIG_FAIL = 'AP configuration failed'
9AP_PDU_DOWN = 'PDU is down'
10AP_SECURITY_MISMATCH = 'AP security mismatch'
11AP_SSID_NOTFOUND = 'SSID was not found'
12WORK_CLI_CONNECT_FAIL = 'Work client was not able to connect to the AP'
13
14# These constants are used by the AP configurator to indicate the type of
15# configuration failure or success.
16CONFIG_SUCCESS = 0
17PDU_FAIL = 1
18CONFIG_FAIL = 2
19
20# These constants are used by the AP configurator to determine if this is
21# a chaos vs clique test.
22AP_TEST_TYPE_CHAOS = 1
23AP_TEST_TYPE_CLIQUE = 2
24AP_TEST_TYPE_CASEY5 = 3
25AP_TEST_TYPE_CASEY7 = 4
26
27# This constant is used by the chaos_runner to determine maximum APs/SSIDs
28# that are up in the lab.
29MAX_SSID_COUNT = 10
30MAX_SCAN_TIMEOUT = 30
31
32# Isolation chamber lab prefixes used to determine where the test is running
33CASEY5 = 'chromeos5'
34CASEY7 = 'chromeos7'
35