Soft Patch Panel
 help / color / mirror / Atom feed
From: Itsuro Oda <>
Subject: [spp] [PATCH 2/2] cli: fix status display of pipes
Date: Mon, 13 Apr 2020 08:02:21 +0900	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

This patch fixes the indent of pipes in the status display of
the spp_primary. It should be the most left side because it
is a top attribute of json response.

Fixes: 427350f31cfe (cli: support pipe PMD)

Signed-off-by: Itsuro Oda <>
 src/cli/commands/ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cli/commands/ b/src/cli/commands/
index 3f5da29..77297b3 100644
--- a/src/cli/commands/
+++ b/src/cli/commands/
@@ -239,9 +239,9 @@ class SppPrimary(object):
                         print('    - {} -> {}'.format(port, dst))
             if ('pipes' in json_obj):
-                print('  - pipes:')
+                print('- pipes:')
                 for pipe in json_obj['pipes']:
-                    print('    - pipe:{} ring:{} ring:{}'.format(pipe['id'],
+                    print('  - pipe:{} ring:{} ring:{}'.format(pipe['id'],
                         pipe['rx'], pipe['tx']))
             if ('phy_ports' in json_obj) or ('ring_ports' in json_obj):

  parent reply	other threads:[~2020-04-12 23:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-12 23:02 [spp] [PATCH 0/2] enabel to add pipe withcout forwarder Itsuro Oda
2020-04-12 23:02 ` [spp] [PATCH 1/2] cli: enable to add pipe without forwarder Itsuro Oda
2020-04-12 23:02 ` Itsuro Oda [this message]
2020-04-30  2:41 ` [spp] (x-fn-spp-ml 677) [PATCH 0/2] enabel to add pipe withcout forwarder Hideyuki Yamashita
2020-05-25  3:10 ` [spp] " Yasufumi Ogawa

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

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