From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH] docs: add server command
Date: Tue, 18 Dec 2018 21:31:49 +0900 [thread overview]
Message-ID: <1545136309-12689-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Add description of server command in SPP Commands section.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
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
reply other threads:[~2018-12-18 12:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1545136309-12689-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).