Commit 1a7bd3b5 authored by Dan Reading's avatar Dan Reading
Browse files

add pid,eid to the list checked from the database

parent 07dc86e3
......@@ -3,6 +3,7 @@
arg=$1
#list="pc4 pc7 pc133 pc137 pc207 pc208 pc406 pc446 pc511 pc606"
list=apt111
if [ "${arg}" == "static" ] ; then
here=$(pwd)
......@@ -31,8 +32,11 @@ elist=$(mysql -B -N -e "select node_id from reserved where pid='emulab-ops' and
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)
list="$alist $blist $clist $dlist $elist"
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"
echo $list
exit
echo -n "LIST="
for i in $list ; do
echo -n "$i "
......
Supports Markdown
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