[spp] [PATCH] docs: add server command
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Tue Dec 18 13:31:49 CET 2018
From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
Add description of server command in SPP Commands section.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at 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
More information about the spp
mailing list