Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 0/2] Add registering to server command
Date: Fri, 25 Jan 2019 12:37:29 +0900	[thread overview]
Message-ID: <1548387451-29818-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

All of REST API nodes should be specified while launching SPP CLI. To
add another one, SPP CLI should be terminated and restarted at once.

This update is to add registering and unregistering node to avoid this
inconvenience. Register with `add` or unregister with `del` command.

  # Register
  spp > server add 192.168.122.177
  Registered spp-ctl "192.168.122.177:7777".

  # Unregister
  spp > server del 2  # or 192.168.1.102
  Unregistered spp-ctl "192.168.1.102:7777".

Yasufumi Ogawa (2):
  controller: fix checking invalid server address
  controller: add registering to server command

 src/controller/commands/server.py  | 219 +++++++++++++++++++++++++++++++++----
 src/controller/shell.py            |  30 ++++-
 src/controller/shell_lib/common.py |  22 ++++
 src/controller/spp.py              |   8 +-
 4 files changed, 251 insertions(+), 28 deletions(-)

-- 
2.7.4

             reply	other threads:[~2019-01-25  3:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25  3:37 ogawa.yasufumi [this message]
2019-01-25  3:37 ` [spp] [PATCH 1/2] controller: fix checking invalid server address ogawa.yasufumi
2019-01-25  3:37 ` [spp] [PATCH 2/2] controller: add registering to server command ogawa.yasufumi

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=1548387451-29818-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).