mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-20 11:52:12 +02:00
Improve debugability by capturing intents command output
Change-Id: I5c7b39b101e709bb4ef57159cd31b6caeaa26fcd
This commit is contained in:
parent
4998caa062
commit
b2765cc0a9
@ -12,7 +12,8 @@ target=${1:-$OCI}
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
for i in 1 2 3; do
|
for i in 1 2 3; do
|
||||||
onos $target "onos:intents" | grep "state=$2" >> $aux && cat $aux && exit 0
|
onos $target "onos:intents" >> $aux
|
||||||
|
grep "state=$2" $aux && cat $aux && exit 0
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user