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, wiley, quiche'
6NAME = 'network_VPNConnect.openvpn_user_pass'
7ATTRIBUTES = "suite:bvt-perbuild, suite:network_nightly"
8TIME = 'SHORT'
9TEST_TYPE = 'client'
10
11DOC = """
12  Tests that we can complete OpenVPN authentication with a server that
13  performs username/password authentication.  This is a client-only test
14  which verifies function of the OpenVPN client.  Since the server it is
15  testing against is itself, this test is best suited for verifying that
16  the connection manager is correctly passing parameters to the underlying
17  VPN client to have it properly connect.
18
19  This test fails if the DUT cannot authenticate to a locally running
20  OpenVPN server runing at the other end of a virtual Ethernet interface.
21  This server performs username / password authentication.
22
23"""
24
25job.run_test('network_VPNConnect',
26             vpn_types=[ 'openvpn_user_pass' ],
27             tag=NAME.split('.')[1])
28