• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
23
24# This constant is used by the chaos_runner to determine maximum APs/SSIDs
25# that are up in the lab.
26MAX_SSID_COUNT = 30
27MAX_SCAN_TIMEOUT = 30
28