1. 05 May, 2004 2 commits
    • Leigh B. Stoller's avatar
      Cleanup of how the virt_agents table is seeded; Used to be that an · 07d249ca
      Leigh B. Stoller authored
      agent was created for each link,link-vnode in a link/lan only when
      that link has a delay/linkdelay. Well, with the link-agent that will
      be used on wireless lans, lets just stick those agents into the table
      for all links/lans in the experiment; its harmless. Might revisit this
      at some point.
      07d249ca
    • Leigh B. Stoller's avatar
      Add new script to change the uid of a user, since this seems to be · 9f73d582
      Leigh B. Stoller authored
      something we are continually being asked to do! This script will only
      operate in UNAPPROVED users; once a user is approved it becomes too
      difficult to deal with cause of existing directories which might be
      exported to active experiments. We can probably deal with this, but we
      rarely do this to an approved user, so its not a big deal.
      
      Obvious: This script can get out of sync with the DB, but of course.
      9f73d582
  2. 04 May, 2004 4 commits
  3. 03 May, 2004 5 commits
  4. 30 Apr, 2004 2 commits
  5. 29 Apr, 2004 10 commits
  6. 28 Apr, 2004 8 commits
  7. 27 Apr, 2004 2 commits
    • Jay Lepreau's avatar
    • Robert Ricci's avatar
      Change the termination conditions in subtle, but important, way. When using · c91cc414
      Robert Ricci authored
      epsilon termination (and ALLOW_NEGATIVE_EPSILON), it used to be the case that
      we wrapped the termination condition in a fabs(), and compared that to epsilon.
      The termination condition is basically a measure of how 'stable' of a score
      we're at. What this meant was that we used to keep going until we reached a
      space where the solution was going neither up nor down too much. All this is
      relative to the difference between initial socre and the best score - so, if
      those are close (ie. it's an easy problem), we could end up thrashing a whole
      lot. With the new behavior, if we ever hit a spot in which solutions start
      getting worse, we'll stop.
      
      Also, fix the GNUPLOT_OUTPUT code, which I used to debut this.
      c91cc414
  8. 26 Apr, 2004 5 commits
    • Leigh B. Stoller's avatar
      Add -p option to xmlconvert so that converter knows to use older · 6cdef019
      Leigh B. Stoller authored
      parsing code (for simplistic xml we spit from the parser).
      6cdef019
    • Robert Ricci's avatar
      Some big changes to assign, and some related changes to assign_wrapper · 238dce73
      Robert Ricci authored
      and ptopgen.
      
      Add link typing to assign. Each virtual link is given a single type.
      Each physical link is given one or more types. A virtual link will
      only be mapped to a physical link which can satisfy its type. In both
      the top and ptop files, the link types are now mandatory, and they
      fall at the end of the mandatory link arguments.
      
      This differers from the 'regular' type system in two ways. First, a
      plink is not constrained to filling only one type at a time. If we are
      using emulated links, a plink could satisfy, say, an 'ethernet' link
      and an 'fxp' link at the same time. This seems to more naturally match
      the way we'll use link types.  Second, there are no counts assoicated
      with link types, as there are for node types. ie. a link is not an
      'ethernet:1' link, it's an 'ethernet' link. Presumably, when
      multiplexing virtual links onto a physical one, it's bandwidth that's
      the factor that limits the multiplexing.
      
      The link type is now taken into account when constructing pclasses,
      and in the mapping precheck.
      
      As a side-effect of these changes, the silly 'count' argument on the
      end of link lines in the ptop file, which was used for the fake LAN
      nodes, is no longer supported.
      
      The implementation could be a bit more efficient, but that would mean
      tossing more of the stuff we do with boost's graph library. I think
      this should happen, but today is not the day.
      
      Modify assign_wrapper and ptopgen to spit out top and ptop files in
      the new format.
      
      Changed the constant LINK_UKNOWN to LINK_UNMAPPED - the new name more
      accurately reflects the way this constant is used.
      
      Add a new '-n' flag that tells assign not to do annealing, just exit
      after the type precheck.
      
      Clarify the usage message for the -c flag.
      
      Removed some dead code for dealing with LAN nodes.
      238dce73
    • Mike Hibler's avatar
      Cleanup Makefiles: · 297019fb
      Mike Hibler authored
      1. "make clean" will just remove stuff built in the process of a regular build
      2. "make distclean" will also clean out configure generated files.
      
      This is how it was always supposed to be, there was just some bitrot.
      297019fb
    • Mike Hibler's avatar
      Added config option DISABLE_EXPORTS_SETUP for sites without proper control · 56acaee5
      Mike Hibler authored
      of their file server (aero)
      
      Extend DISABLE_NAMED_SETUP: when set, we don't set a nodes hostname to
      <name>.<eid>.<pid>.<domain> since that won't resolve.  Just stick with
      pc<XXX>.<domain> in those cases.  The various sethostname* scripts are
      now .in so that they get preprocessed to check for the option.
      56acaee5
    • Leigh B. Stoller's avatar
      Changes to exit status stuff to reflect recent changes by Rob to how · 1c4a613c
      Leigh B. Stoller authored
      assign exits (exit codes).
      
      * in assign_wrapper, no longer return any status from assign to the
        caller. This was pointless. Instead, return 0 on success, 1 on
        controlled error, and -1 on uncontrolled error (die() called
        someplace). Add in CANRECOVER bit whenever the wrapper exits, even
        if uncontrolled, by putting in an END block to catch the die. This
        should prevent certain cases where a swapmod error would be flagged
        as not recoverable.
      
      * Remove most of the assign output processing since we no longer
        return its codes. Still print a portion of it to the log though.
      
      * Change call to fatal() in assign_wrapper; do not pass an exitcode
        since in every case it was the same damn thing!
      
      * Change tbswap to no longer carry assign_wrapper exit code to its
        exit.
      
      * Change the batch daemon to treat all errors as continuable (keep
        batch queued) unless exit code is -1. We will need to revisit this a
        bit perhaps, when Rob adds precheck code.
      1c4a613c
  9. 23 Apr, 2004 2 commits