commit | 696191dc4c57706c66007c3a48e51732a5a7c679 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Tue Oct 23 09:20:46 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Tue Oct 23 09:20:46 2018 -0700 |
tree | 758a7a45c0a0e5157b85b4665c4ffa504318826f | |
parent | 1aaff0256ec10e645912c608aad3e616e326a704 [diff] |
Use new scr-list CLI command for component queries Change-Id: I1fb54b32405fbf9bedec6f89d5667ed5ccdec4ac
diff --git a/tools/test/bin/onos-check-component b/tools/test/bin/onos-check-component index 0eadf3c..e62786e 100755 --- a/tools/test/bin/onos-check-component +++ b/tools/test/bin/onos-check-component
@@ -11,7 +11,7 @@ state=$3 for attempt in {1..30}; do - onos ${node:-$OCI} scr:list | grep $component > $aux + onos ${node:-$OCI} onos:scr-list | grep $component > $aux if grep $state $aux; then exit 0
diff --git a/tools/test/bin/onos-check-components b/tools/test/bin/onos-check-components index 9275b50..d8cc44c 100755 --- a/tools/test/bin/onos-check-components +++ b/tools/test/bin/onos-check-components
@@ -7,7 +7,7 @@ trap "rm -f $aux 2>/dev/null" EXIT for attempt in {1..30}; do - onos ${1:-$OCI} scr:list > $aux + onos ${1:-$OCI} onos:scr-list > $aux if grep -q UNSATISFIED $aux; then sleep 1