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