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