[spp] [PATCH v2 0/5] Add exit command support for spp_primary

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Fri Nov 9 04:21:33 CET 2018


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

Hi,

This series of patches is to revise the names of methods and arguments
for the first patches.

* Refactor prefix of args of do_exit() from `sec_` to `proc_` because
  this method is changed to support not only sec but also pri.

* Change method name `do_exit()` in each of handlers defined in
  `spp_webapi.py` to avoid to be used the same name. It is more
  understandalbe `nfv_exit()' in V1NFVHandler than `do_exit()`.

Thanks,
Yasufumi

Yasufumi Ogawa (5):
  primary: chage to return msg of exit command
  spp-ctl: add exit cmd support for spp_primary
  controller: change pri exit cmd to call REST API
  docs: add DELETE method for exiting spp_primary
  docs: remove exit from pri command

 docs/guides/commands/primary.rst      | 16 ----------------
 docs/guides/spp-ctl/api-reference.rst | 22 +++++++++++++++++++++-
 src/controller/commands/bye.py        |  2 +-
 src/controller/commands/pri.py        | 16 ++++++++++++----
 src/primary/main.c                    | 10 ++++++----
 src/spp-ctl/spp_ctl.py                | 14 +++++++-------
 src/spp-ctl/spp_proc.py               |  4 ++++
 src/spp-ctl/spp_webapi.py             |  6 ++++++
 8 files changed, 57 insertions(+), 33 deletions(-)

-- 
2.7.4



More information about the spp mailing list