1# Copyright 2019 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 5AUTHOR = 'timkovich' 6TIME = 'SHORT' 7NAME = 'policy_GlobalNetworkSettingsServer.AllowOnlyPolicyNetworksToConnect' 8TEST_TYPE = 'Server' 9# Disable this test until it can be fixed: http://b/170942348 10# ATTRIBUTES = 'suite:ent-wificell' 11DEPENDENCIES = 'wificell' 12 13DOC = """ 14This test sets up a policy and user defined network. The 15GlobalNetworkConfiguration policy 'AllowOnlyPolicyNetworksToConnect' is 16set to True. Only the policy defined network should be allowed to connect. 17 18""" 19 20def run(machine): 21 host = hosts.create_host(machine) 22 job.run_test('policy_GlobalNetworkSettingsServer', 23 raw_cmdline_args=args, 24 host=host, 25 gnc_settings={'AllowOnlyPolicyNetworksToConnect': True}) 26 27 28parallel_simple(run, machines) 29