mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-20 03:42:07 +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
|
||||
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
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user