• Leigh Stoller's avatar
    "improvements" to prereserve: · f7219346
    Leigh Stoller authored
    New option -s datetime to specify a starting time for the pre-reserve.
    New option -e datetime to specify a ending time for the pre-reserve.
    
    The idea is that you can schedule a pre-reserve to begin sometime later,
    and you can optionally specify a time for a prereserve to terminate.
    There is a new script that runs from cron that checks for pre-reserves
    that need to be started or terminated.
    
    For example:
    
    boss> wap prereserve -s '2012-09-14 09:08:15' -e '2012-09-15' emulab-ops 50
    
    You can use any datetime string that is valid for str2time. At some point
    it would be nice to allow natural language dates ("tomorrow") but that
    requires a another bunch of perl packages and I didn't want to bother.
    
    NOTE: when using -e, -r is implied; in other words, when the
    pre-reserve is terminated, the table entry is cleared *and* the
    reserved_pid of all of the nodes is cleared. Any experiments using
    those nodes is left alone, although if the user does a swapmod, they
    could easily lose the nodes if another pre-reserve is set up that
    promises those nodes to another project.
    f7219346
Name
Last commit
Last update
..
Archive.pm.in Loading commit data...
EmulabConstants.pm.in Loading commit data...
EmulabFeatures.pm.in Loading commit data...
Experiment.pm.in Loading commit data...
Firewall.pm.in Loading commit data...
GNUmakefile.in Loading commit data...
Group.pm.in Loading commit data...
Image.pm.in Loading commit data...
Interface.pm.in Loading commit data...
Lan.pm.in Loading commit data...
Logfile.pm.in Loading commit data...
Node.pm.in Loading commit data...
NodeType.pm.in Loading commit data...
OSinfo.pm.in Loading commit data...
Port.pm Loading commit data...
Project.pm.in Loading commit data...
TraceUse.pm Loading commit data...
User.pm.in Loading commit data...
VirtExperiment.pm.in Loading commit data...
audit.in Loading commit data...
avail.in Loading commit data...
backup.in Loading commit data...
changecreator.in Loading commit data...
changeleader.in Loading commit data...
changepid.in Loading commit data...
changeuid.in Loading commit data...
checkstats.in Loading commit data...
dbboot.in Loading commit data...
dbcheck.in Loading commit data...
dbfillcheck.in Loading commit data...
dbupdate.in Loading commit data...
dhcpd_makeconf.in Loading commit data...
dumperrorlog.in Loading commit data...
dumperrorlog.proxy.in Loading commit data...
elabinelab_bossinit.in Loading commit data...
emdb.pm.in Loading commit data...
emdbi.pm.in Loading commit data...
emutil.pm.in Loading commit data...
genelists.in Loading commit data...
genelists.proxy.in Loading commit data...
geni_control.in Loading commit data...
grabron.in Loading commit data...
idlemail.in Loading commit data...
idletimes.in Loading commit data...
if2port.in Loading commit data...
interswitch.in Loading commit data...
inuse.in Loading commit data...
libEmulab.pm.in Loading commit data...
libGeni.pm.in Loading commit data...
libadminctrl.pm.in Loading commit data...
libdb.pm.in Loading commit data...
libdb.py.in Loading commit data...
libtbdb.pm.in Loading commit data...
mysqld_watchdog.in Loading commit data...
nalloc.in Loading commit data...
newwanode.in Loading commit data...
nfree.in Loading commit data...
node_status.in Loading commit data...
nodeip.in Loading commit data...
nodelog.in Loading commit data...
readycount.in Loading commit data...
schemacheck.in Loading commit data...
setsitevar.in Loading commit data...
showgraph.in Loading commit data...
sitevarscheck.in Loading commit data...
stategraph.in Loading commit data...
subboss_dhcpd_makeconf.in Loading commit data...
subboss_sync.in Loading commit data...
unixgroups.in Loading commit data...
update_permissions.in Loading commit data...
webcontrol.in Loading commit data...
xmlconvert.in Loading commit data...