Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/4] Port management with resource UID
@ 2018-10-09 10:48 ogawa.yasufumi
  2018-10-09 10:48 ` [spp] [PATCH 1/4] shared: add parsing " ogawa.yasufumi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ogawa.yasufumi @ 2018-10-09 10:48 UTC (permalink / raw)
  To: spp, ferruh.yigit, ogawa.yasufumi

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

Resource UID (called resource ID previously) consists of port type and
port ID was introduced to specify a port. For example, users can patch
ports as following.

  spp > sec 1; patch phy:0 ring:0  # instead of 'patch 0 1'

However, add and del commands are still remained using old style of
resource UID.

  spp > sec 1; add ring 0  # should be updated to 'add ring:0'

This series of patches is to update the usage of resource UID.

* Add a common function parse_resource_uid() to extract port type and ID
  from resource UID.

* Update spp_nfv and spp_vm to use parse_resource_uid().

* Update add and del command in SPP controller to use the latest style
  of resource UID.

Yasufumi Ogawa (4):
  shared: add parsing resource UID
  spp_nfv: change to use parse_resource_uid
  spp_vm: change to use parse_resource_uid
  controller: unify accepting resource UID format

 src/controller/shell.py |  16 ++++--
 src/nfv/nfv.c           | 143 ++++++++++++++----------------------------------
 src/shared/common.c     |  24 ++++++++
 src/shared/common.h     |   1 +
 src/vm/main.c           | 103 ++++++++++------------------------
 5 files changed, 104 insertions(+), 183 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-09 10:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 10:48 [spp] [PATCH 0/4] Port management with resource UID ogawa.yasufumi
2018-10-09 10:48 ` [spp] [PATCH 1/4] shared: add parsing " ogawa.yasufumi
2018-10-09 10:48 ` [spp] [PATCH 2/4] spp_nfv: change to use parse_resource_uid ogawa.yasufumi
2018-10-09 10:48 ` [spp] [PATCH 3/4] spp_vm: " ogawa.yasufumi
2018-10-09 10:48 ` [spp] [PATCH 4/4] controller: unify accepting resource UID format ogawa.yasufumi

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).