Home | History | Annotate | Download | only in network
      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 AP_TEST_TYPE_CASEY5 = 3
     24 AP_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.
     28 MAX_SSID_COUNT = 10
     29 MAX_SCAN_TIMEOUT = 30
     30 
     31 # Isolation chamber lab prefixes used to determine where the test is running
     32 CASEY5 = 'chromeos5'
     33 CASEY7 = 'chromeos7'
     34