Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
refs/tags/2.2.2
/
.
/
tools
/
test
/
bin
/
onos-check-all-logs
blob: 76487100a0a35283ae9de82473bdbf7a51ded0ca [
file
] [
log
] [
blame
]
Jordan Halterman
cbbdb8c
2017-12-20 18:12:26 -0800
[
diff
] [
blame
]
1
#!/bin/bash
2
3
function
onos_nodes
()
{
4
echo $
(
env
|
sort
|
egrep
"^OC[0-9]+"
|
cut
-
d
=
-
f2
)
5
}
6
7
nodes
=
$
(
onos_nodes
)
8
for
node
in
$
{
nodes
};
do
9
onos
-
check
-
logs $@ $node
||
exit
1
10
done