From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1315A046B for ; Thu, 22 Aug 2019 10:28:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C9C641BF55; Thu, 22 Aug 2019 10:28:16 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by dpdk.org (Postfix) with ESMTP id 7B9111BF5A for ; Thu, 22 Aug 2019 10:28:15 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id w2so3451396pfi.3 for ; Thu, 22 Aug 2019 01:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=Ec6Gl05VASv7bLDFu47U/Y5Xtqef1lc5YNm0bvBc02A=; b=DSFjc5yo2pSiDhYc+ilhS/Ge3x6GKhVDAeKRx0lzQGYljRl6WnSWxqdbW4YkfNtMz/ 8UMzj5S6F5ITqcS/N/TKOn85dxk9nIh+F6cpLSGozHxGMncs35chSr5KuCV9rXCeX3Ks fppeh0sD66uCRC4QHIFxIDUvnJWXLg+GI4eWfRlEE5rybPqS8RvEnI3zD5uZ3iWmXlvM MEGZva+3MZAmCdND6vzo/FdXa6s9lTZU49VH0KU9I45iGOQMa9DktaU0Sa1W4k4Wl3m1 FCfhhWwivNm+YnfeXtDSxhGXTnEyhyzXw4Tq/4GpB/AzmP+yK7aY9aeVkDC5cIBKnsrO 96Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Ec6Gl05VASv7bLDFu47U/Y5Xtqef1lc5YNm0bvBc02A=; b=AVxi0ZHRXbR7NcpN/dZbEA1PzcAAIrXROG39CEjPTicfyIigiqZq4UNmeAgBmDvObX etP0Zojxd5fdsVwD1jUpSefGovzuQj2CAEWLtYcrTeOCeEfxvXS9cb9jvgxe8JWEpwyW xCsBs7JNWf67JaXpzk0gvc+mDFsT25JRlO5zc/TkcjXwKK9zkdZMmxqTglRMBHft2Z74 6JapWi8JfrkDOTqe2vU63BrAEQX65PkL6vwQZnlcpTLaNuxVts2a7rBNS4nb3/C/Jx8p /FwQLf6Yxq5gvSJDksGBDi3JBdsk0Y8v+rAMlCXou23UATCsDEWEqez+1SYs+jQMB7AL U+VQ== X-Gm-Message-State: APjAAAUwBaPVH6f18LAJw0x8IkDm7bIojqMQO/nw2qUKvE+woeUGIy7q qRp0xKoIpaLXvrGpow9eans1JH+h X-Google-Smtp-Source: APXvYqwJYCHA2RaGUjbYXrItgX3SiNRaVp1l30bLv19goNTvdyopGVinCoJl533W8SOraU58f0mxJg== X-Received: by 2002:a17:90a:342d:: with SMTP id o42mr4295645pjb.27.1566462494657; Thu, 22 Aug 2019 01:28:14 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id g3sm34795361pfm.179.2019.08.22.01.28.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Aug 2019 01:28:14 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Thu, 22 Aug 2019 17:28:06 +0900 Message-Id: <20190822082806.20327-3-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822082806.20327-1-yasufum.o@gmail.com> References: <20190822082806.20327-1-yasufum.o@gmail.com> Subject: [spp] [PATCH 2/2] docs: rename SPP_CTRL_IP for sppc X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa As `SPP_CTRL_IP` is renamed in app container scripts, this update is to rename it in documentation. Signed-off-by: Yasufumi Ogawa --- docs/guides/tools/sppc/app_launcher.rst | 4 ++-- docs/guides/tools/sppc/getting_started.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/tools/sppc/app_launcher.rst b/docs/guides/tools/sppc/app_launcher.rst index 233553a..ae960c2 100644 --- a/docs/guides/tools/sppc/app_launcher.rst +++ b/docs/guides/tools/sppc/app_launcher.rst @@ -45,11 +45,11 @@ inside a container. Setup ----- -You should define ``SPP_CTRL_IP`` environment variable to SPP controller +You should define ``SPP_CTL_IP`` environment variable to SPP controller be accessed from other SPP processes inside containers. SPP controller is a CLI tool for accepting user's commands. -You cannot use ``127.0.0.1`` or ``localhost`` for ``SPP_CTRL_IP`` +You cannot use ``127.0.0.1`` or ``localhost`` for ``SPP_CTL_IP`` because SPP processes try to find SPP controller inside each of containers and fail to. From inside of the container, SPP processes should be known IP address diff --git a/docs/guides/tools/sppc/getting_started.rst b/docs/guides/tools/sppc/getting_started.rst index 4834cc0..e088661 100644 --- a/docs/guides/tools/sppc/getting_started.rst +++ b/docs/guides/tools/sppc/getting_started.rst @@ -135,14 +135,14 @@ Launch SPP and App Containers ----------------------------- Before launch containers, you should set IP address of host machine -as ``SPP_CTRL_IP`` environment variable +as ``SPP_CTL_IP`` environment variable for controller to be accessed from inside containers. It is better to define this variable in ``$HOME/.bashrc``. .. code-block:: console # Set your host IP address - export SPP_CTRL_IP=HOST_IPADDR + export SPP_CTL_IP=HOST_IPADDR SPP Controller @@ -180,7 +180,7 @@ processes. SPP Primary Container ~~~~~~~~~~~~~~~~~~~~~ -As ``SPP_CTRL_IP`` is activated, you are enalbed to run +As ``SPP_CTL_IP`` is activated, you are enalbed to run ``app/spp-primary.py`` with options of EAL and SPP primary in terminal 3. In this case, launch spp-primary in background mode using one core -- 2.17.1