diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/tools/test/bin/onos-check-nodes | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/tools/test/bin/onos-check-nodes')
-rwxr-xr-x | framework/src/onos/tools/test/bin/onos-check-nodes | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/framework/src/onos/tools/test/bin/onos-check-nodes b/framework/src/onos/tools/test/bin/onos-check-nodes deleted file mode 100755 index 69187b6a..00000000 --- a/framework/src/onos/tools/test/bin/onos-check-nodes +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# ----------------------------------------------------------------------------- -# Checks whether all and only the ONOS instances configured active. -# ----------------------------------------------------------------------------- - -aux=/tmp/stc-$$.log -trap "rm -f $aux $aux.1 $aux.2 2>/dev/null" EXIT - -onos ${1:-$OCI} "onos:nodes" | grep -v /bin/client > $aux -cat $aux - -# Normalize the nodes -cut -d= -f3 $aux | cut -d: -f1 | sort > $aux.1 - -# Normalize the expected nodes -nodes=${2:-$ONOS_INSTANCES} -(for node in $nodes; do echo $node; done) | sort > $aux.2 - -# Check for differences -diff $aux.1 $aux.2 |