Commit 63229185 authored by Christopher Alfeld's avatar Christopher Alfeld

Added tb-set-node-failure-action

parent ebd77116
......@@ -44,5 +44,6 @@ tb-set-node-rpms $node4 "my node rpms"
tb-set-node-startup $node4 "my node startup"
tb-set-node-tarfiles $node4 dira tara dirb tarb dirc tarc
tb-set-node-deltas $node4 "deltas!"
tb-set-node-failure-action $node4 nonfatal
$ns run
\ No newline at end of file
$ns run
......@@ -25,9 +25,8 @@ tb_compare("select vname,delay,bandwidth,lossrate,member from virt_lans" .
tb_compare("select ips,vname,type from virt_nodes" .
" where pid=\"testbed\" and eid=\"test\"",\@result);
@result = (
["0:1.0.4.1 1:192.168.1.4","MYOS","my command line","{my node rpms}","deltas!","my node startup","dira tara dirb tarb dirc tarc","pc"],
);
tb_compare("select ips,osid,cmd_line,rpms,deltas,startupcmd,tarfiles,type" .
["0:1.0.4.1 1:192.168.1.4","MYOS","my command line","{my node rpms}","deltas!","my node startup","dira tara dirb tarb dirc tarc","nonfatal","pc"], );
tb_compare("select ips,osid,cmd_line,rpms,deltas,startupcmd,tarfiles,failureaction,type" .
" from virt_nodes where pid=\"testbed\" and eid=\"test\"" .
" and vname=\"node4\"",\@result);
tb_run("tbswapin",0);
......
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