[spp] [PATCH 0/7] Update for fixing errors for CLI

Yasufumi Ogawa yasufum.o at gmail.com
Thu Jan 16 13:02:28 CET 2020


There are some errors are occured if CLI reqests spp_primary for adding
or deleting ports even though no forwarder thread is running. Without
the thread, it has no mean to add or delete resources for the thread

This update is to add checking if there is a forwarder thread is
running, or refuse the request for the thread. It also includes other
tiny bug fixes.

Yasufumi Ogawa (7):
  shared: revise vdev prefixs of pcap and nullpmd
  shared: fix wrong port_type in parsing dev name
  cli: add filter for running pri commands
  cli: fix error in asking ports if no pri forwarder
  cli: fix terminated if spp_primary is not running
  cli: move logfile to under project log dir
  cli: fix parsing forward and stop commands

 src/cli/commands/pri.py   | 109 ++++++++++++++++++++++++++++++--------
 src/cli/spp_common.py     |  19 ++++---
 src/cli/spp_ctl_client.py |  15 +++---
 src/shared/common.c       |  18 +++----
 src/shared/common.h       |   4 +-
 5 files changed, 118 insertions(+), 47 deletions(-)

-- 
2.17.1



More information about the spp mailing list