• Leigh Stoller's avatar
    Overview: Add Event Groups: · ed964507
    Leigh Stoller authored
    	set g1 [new EventGroup $ns]
    	$g1 add  $link0 $link1
    	$ns at 60.0 "$g1 down"
    
    See the new advanced tutorial section on event groups for a better
    example.
    
    Changed tbreport to dump the event groups table when in summary mode.
    At the same time, I changed tbreport to use the recently added
    virt_lans:vnode and ip slots, decprecating virt_nodes:ips in one more
    place. I also changed the web interface to always dump the event and
    event group summaries.
    
    The parser gets a new file (event.tcl), and the "at" method deals with
    event group events by expanding them inline into individual events
    sent to each member. For some agents, this is unavoidable; traffic
    generators get the initial params in the event, so it is not possible
    to send a single event to all members of the group. Same goes for
    program objects, although program objects do default to the initial
    command now, at least on new images.
    
    Changed the event scheduler to load the event groups table. The
    current operation is that the scheduler expands events sent to a
    group, into a set of distinct events sent to each member of the
    group. At some point we proably want to optimize this by telling the
    agents (running on the nodes) what groups they are members of.
    
    Other News: Added a "mustdelay" slot to the virt_lans table so the
    parser can tell assign_wrapper that a link needs to be delayed, say if
    there are events or if the link is red/gred. Previously,
    assign_wrapper tried to figure this out by looking at the event list,
    etc. I have removed that code; see database-migrate for instructions
    on how to initialize this slot in existing experiments. assign_wrapper
    is free to ignore or insert delays anyway, but having the parser do
    this makes more sense.
    
    I also made some "rename" changes to the parser wrt queues and lans
    and links. Not really necessary, but I got sidetracked (for several
    hours!) trying to understand that rename stuff a little better, and
    now I do.
    ed964507
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
delay/linux Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
hyperviewer Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
GPL-COPYING Loading commit data...
LICENSE Loading commit data...
Makeconf.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO.plab Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-aerolab Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-davidand-emulab Loading commit data...
defs-default Loading commit data...
defs-duerig-emulab Loading commit data...
defs-example Loading commit data...
defs-gatech Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-uky Loading commit data...
defs-wide Loading commit data...