From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by dpdk.org (Postfix) with ESMTP id F2A4F1B46B for ; Tue, 18 Dec 2018 13:34:07 +0100 (CET) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id wBICY6ki011400; Tue, 18 Dec 2018 21:34:06 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id F06D2639369; Tue, 18 Dec 2018 21:34:05 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id D8FB9639337; Tue, 18 Dec 2018 21:34:05 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 18 Dec 2018 21:31:49 +0900 Message-Id: <1545136309-12689-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable Subject: [spp] [PATCH] docs: add server command 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: , X-List-Received-Date: Tue, 18 Dec 2018 12:34:08 -0000 From: Yasufumi Ogawa Add description of server command in SPP Commands section. Signed-off-by: Yasufumi Ogawa --- docs/guides/commands/common.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/guides/commands/common.rst b/docs/guides/commands/common.rst index 079d5ef..3763025 100644 --- a/docs/guides/commands/common.rst +++ b/docs/guides/commands/common.rst @@ -81,6 +81,32 @@ Execute command of index of history. spp > redo 5 # exec 5th command in the history +server +------ + +Show a list of SPP REST API servers and switch to control for multiple +nodes. + +Show all of registered REST API servers. Run ``server list`` or simply +``server``. + +.. code-block:: console + + spp > server + 1: 192.168.1.101:7777 * + 2: 192.168.1.102:7777 + + spp > server list # same as above + 1: 192.168.1.101:7777 * + 2: 192.168.1.102:7777 + +Switch to other server with index number displayed in ``server list``. + +.. code-block:: console + + spp > server 2 + Switch spp-ctl to "2: 192.168.1.102:7777". + pwd --- -- 2.7.4