Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH 0/1] Add option for waiting pri in startup script
@ 2019-10-14 18:45 Yasufumi Ogawa
  2019-10-14 18:45 ` [spp] [PATCH 1/1] bin: add opt " Yasufumi Ogawa
  0 siblings, 1 reply; 2+ messages in thread
From: Yasufumi Ogawa @ 2019-10-14 18:45 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

This update is to add option `--wait-pri` for `bin/start.sh`. It is
applied to both of the latest and stable-v18.08 repositories.

Yasufumi Ogawa (1):
  bin: add opt for waiting pri in startup script

 bin/start.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.17.1


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

* [spp] [PATCH 1/1] bin: add opt for waiting pri in startup script
  2019-10-14 18:45 [spp] [PATCH 0/1] Add option for waiting pri in startup script Yasufumi Ogawa
@ 2019-10-14 18:45 ` " Yasufumi Ogawa
  0 siblings, 0 replies; 2+ messages in thread
From: Yasufumi Ogawa @ 2019-10-14 18:45 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

This update is to add option `--wait-pri` for `bin/start.sh`.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 bin/start.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/start.sh b/bin/start.sh
index f39d5f6..2f4e31a 100755
--- a/bin/start.sh
+++ b/bin/start.sh
@@ -64,7 +64,6 @@ echo "Start spp_primary"
 start_spp_pri
 
 if [ ! ${DRY_RUN} ]; then
-    echo "Waiting for spp-ctl is ready ..."
-    sleep 1
-    python3 ${SPP_DIR}/src/spp.py -b ${SPP_HOST_IP}
+    sleep 1  # wait for spp-ctl is ready
+    python3 ${SPP_DIR}/src/spp.py -b ${SPP_HOST_IP} --wait-pri
 fi
-- 
2.17.1


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 18:45 [spp] [PATCH 0/1] Add option for waiting pri in startup script Yasufumi Ogawa
2019-10-14 18:45 ` [spp] [PATCH 1/1] bin: add opt " Yasufumi Ogawa

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox