• Leigh Stoller's avatar
    Changes for how we distribute the initial set of imageids and osids. · 3c1678d6
    Leigh Stoller authored
    * install/dump-descriptors <filename> will write out a set of insert
      statements for the images and os_info table, slightly munged. In
      fact, what I do is create temporary tables called temp_images and
      temp_os_info, clean them a bit, and then write out the insert
      statements to load them into new tables of the same name.
    
      There are some arrays at the top of this script that says what images and
      osids to write out.
    
    * install/load-descriptors <filename> takes the output of
      dump-descriptors, creates the two temporary tables and loads the
      data into them. Then it (optionally) updates those tables with the
      local indicies of elabman and the emulab-ops project and group.
    
      Then it computes an osidtoimageid table for all class='pc' types. On a
      new testbed this is a reasonable approach, in my opinion.
    
      Next it takes the contents of the two temp tables and moves them across
      to the actual tables.
    
    * install/descriptors.sql is the current data set which has everything
      contained in sql/database-fill-supplemental.sql and install/images/*
    3c1678d6
Name
Last commit
Last update
..
GNUmakefile Loading commit data...
bios_move.pl Loading commit data...
database-create.sql Loading commit data...
database-fill-supplemental.sql Loading commit data...
database-fill.sql Loading commit data...
database-migrate.txt Loading commit data...
delvnodes.pl Loading commit data...
errors-migrate.pl Loading commit data...
fixstats-swapin.pl Loading commit data...
fixstats_swapmod.pl Loading commit data...
gentopmaps.pl Loading commit data...
init_newids.pl Loading commit data...
init_nodeattrs.pl Loading commit data...
initcerts.pl Loading commit data...
initkey.pl Loading commit data...
initstats.pl Loading commit data...
initvinterfaces.pl Loading commit data...
ipmember.pl Loading commit data...
knowlbase-create.sql Loading commit data...
libtblog-orig.sql Loading commit data...
libtblog.sql Loading commit data...
mod-userstats.pl Loading commit data...
mustdelay.pl Loading commit data...
newstates.pl Loading commit data...
opsdb.sql Loading commit data...
sitevars-create.sql Loading commit data...
step2_newids.pl Loading commit data...
step3_newids.pl Loading commit data...
tbreport.sql Loading commit data...
templates.sql Loading commit data...
users-create.sql Loading commit data...