1. 10 Jul, 2003 10 commits
    • Robert Ricci's avatar
      Fix a major bug in dynamic pclasses. One of thse little things that · bc6c6a54
      Robert Ricci authored
      was sooo wrong you wonder how it worked in the first place... Took
      me days to find this one!
      
      Also added a new switch, '-o', that lets assign try out solutions
      that over-load a pnode. This helps a lot with topologies where the
      optimal solution is a best-fit onto multiplexed pnodes.
      
      The end result is that Mike's snake maps much better - it used to get
      an essentially random mapping, but now it gets something acceptible.
      bc6c6a54
    • Leigh Stoller's avatar
      Fix minor bug in last revision; local pcvm nodes should never go into · 8ef454c3
      Leigh Stoller authored
      the ptop file since we allocate them sort like we do delay nodes now
      (based on class:count).
      8ef454c3
    • Leigh Stoller's avatar
      Split the -e option to ptopgen into -p/-e. Assign will always pass in · f5e2a9d3
      Leigh Stoller authored
      the pid so that ptopgen can do permission checks on the node types and
      classes before it sticks them into the ptop file. -e now takes just eid,
      but operates as before.
      
      Change the -v option slightly; assign passes -v option when it sees
      that the topology requires virtual nodes. Without -v, virtual nodes
      are not placed into the the ptop file, saving about 6000 lines of node
      entries!
      
      Get rid of the pcvm and pc601 hacks, and replace with a permission
      check, as determined by the nodetypeXpid_permissions. I've updated
      that table to reflect current types/classes.
      
      Change Rob's last change, which was doing a DB query on each node,
      which when used with -v, was issuing a lot of queries. I was puzzled
      why ptopgen was taking 4 seconds to run!
      
      Kill more sharks.
      Cleanup some terrible indenting.
      f5e2a9d3
    • Mac Newbold's avatar
    • Leigh Stoller's avatar
      Two sets of minor changes. · 7d0f59e6
      Leigh Stoller authored
      * In the parser, make -n (impotent) and -a (anonymous) more
        independent. Used to be that -n required -a, but that makes the
        preparse less useful, since it cannot catch project related errors
        (like bad osids, or node type permissions), and so the user does not
        get that until the email message later. Thats so annoying, even Mike
        whined about it.
      
        Note that impotent mode is sorta misnamed now, since the parse never
        operates on the DB. Rather, impotent mode now skips doing the XML
        output phase (still aptly named updateDB!).
      
      * Add -p (pass) option. I added this for my script that was parsing
        all the old NS files to get renderings. In this case, I do not want
        -n or -a; I want to upload the results into the DB, but the project
        related checks are obviously going to fail since I was doing it
        inside the testbed project. So, -p turns on some of the anon checks,
        and later might be used to turn certain features that are no longer
        supported, since all we really care about is the toplology (some NS
        files failed on old features and syntax).
      
      Upon reflection I think these three options could probably be rolled
      into just two, by cleaning up the current impotent and anonymous
      flags.
      7d0f59e6
    • Leigh Stoller's avatar
      Checkpoint TODO add/deletes. · eec36584
      Leigh Stoller authored
      eec36584
    • Robert Ricci's avatar
      At long last, support for assign's 'features'! Added a new table into · 25880e2e
      Robert Ricci authored
      which features and their weights can be placed, per node type.
      ptopgen now includes these features in the ptop files it generates.
      25880e2e
    • Robert Ricci's avatar
      Add a much needed 'try harder' feature - pass, on the command line, · 71253f39
      Robert Ricci authored
      a floating point number that, roughly, scales the runtime.
      71253f39
    • Leigh Stoller's avatar
      Add (somewhat) protected mode for showing every emulab experiment ever · 88a5c2f7
      Leigh Stoller authored
      created. Okay, not really. Just 2500 or so, since 2002-09-16. Going
      back further will be difficult.
      88a5c2f7
    • Mac Newbold's avatar
  2. 09 Jul, 2003 10 commits
  3. 08 Jul, 2003 15 commits
  4. 07 Jul, 2003 3 commits
  5. 04 Jul, 2003 2 commits