From patchwork Fri Jul 15 15:28:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 72114 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp684558qga; Fri, 15 Jul 2016 08:29:06 -0700 (PDT) X-Received: by 10.13.255.131 with SMTP id p125mr15118640ywf.95.1468596546025; Fri, 15 Jul 2016 08:29:06 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n69si5604023qkh.26.2016.07.15.08.29.05; Fri, 15 Jul 2016 08:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 76ECE686DC; Fri, 15 Jul 2016 15:29:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 6D0E568424; Fri, 15 Jul 2016 15:29:00 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E86DA68424; Fri, 15 Jul 2016 15:28:57 +0000 (UTC) Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by lists.linaro.org (Postfix) with ESMTPS id 0CBE068275 for ; Fri, 15 Jul 2016 15:28:57 +0000 (UTC) Received: by mail-qt0-f180.google.com with SMTP id 52so61171950qtq.3 for ; Fri, 15 Jul 2016 08:28:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UYyOSOHa/oUlmYuOxqqSa6OiGornRv+vAJEsndmcOpY=; b=QYoXzgGo6d5B1xjyOOkENzDdyQdHKlCaHXv6CyjpjQoCDZJgviFJueWzBKNU0SW+4p Od0FyERJ/45+ymTX4AM4+LdT3+xngZ4NcYXd3ej53YeWaObN3O84DIOG0W9xIv8I8knA fl9y8YvHtLXyLQugHS4OV3OWDCpIDWwStzbmO6aAv4APLH05sz6252JVDkekyZoB8bWd h3KclTHU5ZP5XtBTvc/Md50yjewpiA6MmJK00hlkaG0aOsk8+xElFC7tRENF9i5wY2Cp 5jCzxA/6LKbds/celIUmJnwMGO7gtFq58+PX84Hjh2m+koTtGpbanS0g+XnhUomKyCNp AIkA== X-Gm-Message-State: ALyK8tKc2NumSEOxFrIXxQMZrjC7HRWAAVhbh3tYw0LoYWhbQYtussRJBjTEky9tCPAEjb9sg7o= X-Received: by 10.237.36.252 with SMTP id u57mr29919269qtc.39.1468596536595; Fri, 15 Jul 2016 08:28:56 -0700 (PDT) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id s16sm1341539qke.14.2016.07.15.08.28.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jul 2016 08:28:56 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 15 Jul 2016 11:28:53 -0400 Message-Id: <1468596534-14528-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] examples/ipsec: add path so scripts can run X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Mike Holmes --- example/ipsec/odp_ipsec_run_ah_in | 3 +++ example/ipsec/odp_ipsec_run_ah_out | 3 +++ example/ipsec/odp_ipsec_run_both_in | 3 +++ example/ipsec/odp_ipsec_run_both_out | 3 +++ example/ipsec/odp_ipsec_run_esp_in | 3 +++ example/ipsec/odp_ipsec_run_esp_out | 3 +++ example/ipsec/odp_ipsec_run_live | 3 +++ example/ipsec/odp_ipsec_run_router | 3 +++ example/ipsec/odp_ipsec_run_simple | 3 +++ 9 files changed, 27 insertions(+) -- 2.7.4 diff --git a/example/ipsec/odp_ipsec_run_ah_in b/example/ipsec/odp_ipsec_run_ah_in index 252f44b..54e80ec 100755 --- a/example/ipsec/odp_ipsec_run_ah_in +++ b/example/ipsec/odp_ipsec_run_ah_in @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ -p 192.168.222.0/24:192.168.111.0/24:in:ah \ diff --git a/example/ipsec/odp_ipsec_run_ah_out b/example/ipsec/odp_ipsec_run_ah_out index 9256c07..4ceafa1 100755 --- a/example/ipsec/odp_ipsec_run_ah_out +++ b/example/ipsec/odp_ipsec_run_ah_out @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ -p 192.168.111.0/24:192.168.222.0/24:out:ah \ diff --git a/example/ipsec/odp_ipsec_run_both_in b/example/ipsec/odp_ipsec_run_both_in index c3f169c..ea50cf5 100755 --- a/example/ipsec/odp_ipsec_run_both_in +++ b/example/ipsec/odp_ipsec_run_both_in @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ -p 192.168.222.0/24:192.168.111.0/24:in:both \ diff --git a/example/ipsec/odp_ipsec_run_both_out b/example/ipsec/odp_ipsec_run_both_out index 8ba0672..6ffd36c 100755 --- a/example/ipsec/odp_ipsec_run_both_out +++ b/example/ipsec/odp_ipsec_run_both_out @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ -p 192.168.111.0/24:192.168.222.0/24:out:both \ diff --git a/example/ipsec/odp_ipsec_run_esp_in b/example/ipsec/odp_ipsec_run_esp_in index 12fdae6..7745cae 100755 --- a/example/ipsec/odp_ipsec_run_esp_in +++ b/example/ipsec/odp_ipsec_run_esp_in @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.111.2/32:loop1:08.00.27.76.B5.E0 \ -p 192.168.222.0/24:192.168.111.0/24:in:esp \ diff --git a/example/ipsec/odp_ipsec_run_esp_out b/example/ipsec/odp_ipsec_run_esp_out index 73c4ff0..014c9c1 100755 --- a/example/ipsec/odp_ipsec_run_esp_out +++ b/example/ipsec/odp_ipsec_run_esp_out @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ -p 192.168.111.0/24:192.168.222.0/24:out:esp \ diff --git a/example/ipsec/odp_ipsec_run_live b/example/ipsec/odp_ipsec_run_live index 90947ad..a04c7f3 100755 --- a/example/ipsec/odp_ipsec_run_live +++ b/example/ipsec/odp_ipsec_run_live @@ -3,6 +3,9 @@ # Live router test # - 2 interfaces interfaces # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + sudo odp_ipsec -i p7p1,p8p1 \ -r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ -r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ diff --git a/example/ipsec/odp_ipsec_run_router b/example/ipsec/odp_ipsec_run_router index 3630297..3cf7ef0 100755 --- a/example/ipsec/odp_ipsec_run_router +++ b/example/ipsec/odp_ipsec_run_router @@ -3,6 +3,9 @@ # Live router test # - 2 interfaces interfaces # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + sudo odp_ipsec -i p7p1,p8p1 \ -r 192.168.111.2/32:p7p1:08.00.27.76.B5.E0 \ -r 192.168.222.2/32:p8p1:08.00.27.F5.8B.DB \ diff --git a/example/ipsec/odp_ipsec_run_simple b/example/ipsec/odp_ipsec_run_simple index 1211583..ea88fe4 100755 --- a/example/ipsec/odp_ipsec_run_simple +++ b/example/ipsec/odp_ipsec_run_simple @@ -4,6 +4,9 @@ # - 2 loop interfaces # - 10 packets # - Specify API mode on command line + +PATH=$(dirname ./):$PATH + odp_ipsec -i loop1,loop2 \ -r 192.168.222.2/32:loop2:08.00.27.F5.8B.DB \ -s 192.168.111.2:192.168.222.2:loop1:loop2:10:100 \