Home | History | Annotate | Download | only in apmanager_SimpleConnect
      1 # Copyright 2015 The Chromium OS 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 AUTHOR = 'zqiu, wiley, pstew'
      6 NAME = 'apmanager_SimpleConnect.bridge'
      7 TIME = 'SHORT'
      8 TEST_TYPE = 'Server'
      9 DEPENDENCIES = 'wificell'
     10 
     11 DOC = """
     12 This test verifies that DUT can connect to an WiFi network configured in bridge
     13 mode.
     14 """
     15 
     16 from autotest_lib.client.common_lib.cros.network import apmanager_constants
     17 
     18 def run(machine):
     19     # Bridge mode configuration.
     20     configurations = {apmanager_constants.CONFIG_OPERATION_MODE: \
     21                               apmanager_constants.OPERATION_MODE_BRIDGE}
     22     host = hosts.create_host(machine)
     23     job.run_test('apmanager_SimpleConnect',
     24                  host=host,
     25                  raw_cmdline_args=args,
     26                  additional_params=configurations)
     27 
     28 
     29 parallel_simple(run, machines)
     30