From patchwork Mon Oct 29 13:03:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kodanev X-Patchwork-Id: 990193 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.b="cnDAqJYt"; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42kF0M1FJ2z9s3Z for ; Mon, 29 Oct 2018 23:53:55 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id A79AD3E78DB for ; Mon, 29 Oct 2018 13:53:52 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [IPv6:2001:4b78:1:20::3]) by picard.linux.it (Postfix) with ESMTP id 706B73E797C for ; Mon, 29 Oct 2018 13:53:34 +0100 (CET) Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id C1CC01A00FBD for ; Mon, 29 Oct 2018 13:53:33 +0100 (CET) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9TCiAVk030758 for ; Mon, 29 Oct 2018 12:53:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2018-07-02; bh=4QSiStmldZBSJkiwxfQ4V3uvTHxLJM8diXKs2QU7GVg=; b=cnDAqJYtaR3DiEwfGtSdJUWOWAYI/1tPEGariQxu55PJK/xZO96N94zTpP7INdFF4iIG Zg1UKhmtqMLt5V94561C19/JiOlOC2H8donVaRx/ZTkibQK/UGbiJ4XhBUpDS0hyFmZS JW48pJeq4oj1A1FrA5td0P9vtOb3QoMpi7r7h0TFR4JiDp1HGVTS3CJSvgAkZFlgVbB/ I5SreIQlCbM756xcsST2+uq4m6KFF7I8MLNx+JW1zPs0NjyMwl0io1xJ+R/T4WrhF5Z2 j2nX80WyleYSsA4cCtffvVQzbT2LEvP+xbZC5PgK/ed7G1iD1mKOs6V3/b5cZ1Mm8zCt MQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2ncfypndsn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 29 Oct 2018 12:53:31 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9TCrUcl016284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 29 Oct 2018 12:53:30 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9TCrU7k031838 for ; Mon, 29 Oct 2018 12:53:30 GMT Received: from ak.ru.oracle.com (/10.162.80.29) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 29 Oct 2018 05:53:29 -0700 From: Alexey Kodanev To: ltp@lists.linux.it Date: Mon, 29 Oct 2018 16:03:22 +0300 Message-Id: <1540818202-11247-7-git-send-email-alexey.kodanev@oracle.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1540818202-11247-1-git-send-email-alexey.kodanev@oracle.com> References: <1540818202-11247-1-git-send-email-alexey.kodanev@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9060 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=604 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810290121 X-Virus-Scanned: clamav-milter 0.99.2 at in-3.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-3.smtp.seeweb.it Subject: [LTP] [PATCH 6/6] network/mpls04: new test with mpls over sit tunnel X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" The same as in mpls03 but with sit tunnel. Signed-off-by: Alexey Kodanev --- runtest/net.features | 1 + testcases/network/mpls/mpls04.sh | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 0 deletions(-) create mode 100755 testcases/network/mpls/mpls04.sh diff --git a/runtest/net.features b/runtest/net.features index 6076e2a..b37104b 100644 --- a/runtest/net.features +++ b/runtest/net.features @@ -66,4 +66,5 @@ mpls02 mpls02.sh mpls02_ipv6 mpls02.sh -6 mpls03 mpls03.sh mpls03_ipv6 mpls03.sh -6 +mpls04 mpls04.sh diff --git a/testcases/network/mpls/mpls04.sh b/testcases/network/mpls/mpls04.sh new file mode 100755 index 0000000..639a13e --- /dev/null +++ b/testcases/network/mpls/mpls04.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) 2018 Oracle and/or its affiliates. All Rights Reserved. + +TST_SETUP="setup" +TST_TESTFUNC="mpls_virt_test" +TST_CLEANUP="mpls_virt_cleanup" + +. virt_lib.sh +. mpls_lib.sh + +setup() +{ + virt_type="sit" + + mpls_virt_setup +} + +tst_run