autotest: Added the network_ui test suite.

Created a new test suite to run software-only ChromeOS networking UI
tests. No tests should be added to this suite that have a hardware
dependency and some kind of hardware simulation must be used (e.g.
pseudomodem) such that these tests can be successfully run in a VM.

BUG=chromium:264553
TEST=none

Change-Id: I5cd15ae56ee8322256f7f3ca6670fcb43879e0c3
Reviewed-on: https://gerrit.chromium.org/gerrit/63488
Reviewed-by: Prashanth Balasubramanian <beeps@chromium.org>
Commit-Queue: Arman Uguray <armansito@chromium.org>
Tested-by: Arman Uguray <armansito@chromium.org>
diff --git a/client/site_tests/network_ChromeCellularNetworkPresent/control b/client/site_tests/network_ChromeCellularNetworkPresent/control
index 2a7d75b..92478c4 100644
--- a/client/site_tests/network_ChromeCellularNetworkPresent/control
+++ b/client/site_tests/network_ChromeCellularNetworkPresent/control
@@ -5,7 +5,7 @@
 AUTHOR = "ChromeOS Team"
 NAME = "network_ChromeCellularNetworkPresent"
 PURPOSE = "Verify that a cellular network is visible via networkingPrivate"
-SUITE = "network3g_pseudomodem"
+SUITE = "network_ui"
 TIME = "SHORT"
 TEST_CATEGORY = "Functional"
 TEST_CLASS = "network"
diff --git a/suite_scheduler.ini b/suite_scheduler.ini
index 5280ca3..3afef01 100644
--- a/suite_scheduler.ini
+++ b/suite_scheduler.ini
@@ -117,6 +117,12 @@
 branch_specs: >=R29
 pool: suites
 
+[NetworkUI]
+run_on: new_build
+suite: network_ui
+branch_specs: >=R30
+pool: suites
+
 [OncCellSuite]
 run_on: nightly
 suite: onccell
diff --git a/test_suites/control.network_ui b/test_suites/control.network_ui
new file mode 100644
index 0000000..7e3237c
--- /dev/null
+++ b/test_suites/control.network_ui
@@ -0,0 +1,49 @@
+# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+AUTHOR = "Chrome OS Team"
+NAME = "network_ui"
+PURPOSE = "Software-only network UI tests for shill and Chrome integration."
+CRITERIA = "All tests with SUITE=network_ui must pass."
+
+TIME = "SHORT"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "suite"
+TEST_TYPE = "server"
+
+DOC = """
+Run automated tests backed up by a fake hardware simulator (e.g. pseudomodem)
+to test the Chrome OS network UI and the chrome.networkingPrivate extension
+API layer.
+
+@param build: The name of the image to test.
+              Ex: x86-mario-release/R17-1412.33.0-a1-b29
+@param board: The board to test on.  Ex: x86-mario
+@param pool: The pool of machines to utilize for scheduling. If pool=None
+             board is used.
+@param check_hosts: require appropriate live hosts to exist in the lab.
+@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
+"""
+
+import common
+from autotest_lib.server.cros.dynamic_suite import dynamic_suite
+
+# Values specified in this bug template will override default values when
+# filing bugs on tests that are a part of this suite. If left unspecified
+# the bug filer will fallback to it's defaults.
+_BUG_TEMPLATE = {
+    'labels': ['Cr-OS-Systems-Mobile'],
+    'owner': 'armansito@chromium.org',
+    'status': None,
+    'summary': None,
+    'title': None,
+    'ccs': ['armansito@chromium.org', 'gspencer@chromium.org',
+            'pneubeck@chromium.org', 'stevenjb@chromium.org']
+}
+
+dynamic_suite.reimage_and_run(
+    build=build, board=board, name='network_ui', job=job, pool=pool,
+    check_hosts=check_hosts, add_experimental=True, num=num,
+    file_bugs=True, skip_reimage=dynamic_suite.skip_reimage(globals()),
+    bug_template=_BUG_TEMPLATE, devserver_url=devserver_url)