Commit 22371ed9 authored by Dan Reading's avatar Dan Reading

development tools

parent a71e14db
......@@ -459,7 +459,7 @@ compareunits() {
# else
# not the same number of devices. Don't match, do nothing.
fi
#remove extra spaces
save_e
set +e
......
......@@ -3,7 +3,6 @@
arg=$1
#list="pc4 pc7 pc133 pc137 pc207 pc208 pc406 pc446 pc511 pc606"
list=apt111
if [ "${arg}" == "static" ] ; then
here=$(pwd)
......@@ -26,15 +25,18 @@ if [ "${arg}" == "static" ] ; then
exit 0
fi
#list=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodechk';" tbdb)
blist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodecheck';" tbdb)
elist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='64nodecheck';" tbdb)
alist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nore32';" tbdb)
clist=$(mysql -B -N -e "select node_id from reserved where pid='testbed' and eid='wce';" tbdb)
dlist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='hw';" tbdb)
flist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodetest';" tbdb)
list="$alist $blist $clist $dlist $elist $flist"
if [ "$@" ] ; then
list="$@"
else
#list=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodechk';" tbdb)
blist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodecheck';" tbdb)
elist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='64nodecheck';" tbdb)
alist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nore32';" tbdb)
clist=$(mysql -B -N -e "select node_id from reserved where pid='testbed' and eid='wce';" tbdb)
dlist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='hw';" tbdb)
flist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and eid='nodetest';" tbdb)
list="$alist $blist $clist $dlist $elist $flist"
fi
echo -n "LIST="
for i in $list ; do
echo -n "$i "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment