1# Copyright (c) 2013 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 = 'pstew, quiche, wiley' 6NAME = 'network_DhcpStaticIP' 7ATTRIBUTES = "suite:network_nightly" 8SUITE = 'network_nightly' 9TIME = 'SHORT' 10TEST_TYPE = 'client' 11 12DOC = """ 13 Tests that we can negotiate a lease on an IPv4 address via DHCP, 14 but apply Static IP parameters instead. 15 16 This test succceeds if dhcpcd is able to negotiate and DHCP lease, but then 17 apply static IP parameters and release the lease after acquiring DNS and 18 other parameters. This test further ensures that during static IP 19 negotiation although a lease is negotiated, it is released back to the DHCP 20 server. When static IP configuration is removed another negotiation should 21 go back to using the server-provided IP address. 22 23""" 24 25job.run_test('network_DhcpStaticIP', 26 static_param_list=[ 27 ['ip-address'], 28 ['dns-servers'], 29 ['dns-servers', 'ip-address' ]]) 30