1. 12 May, 2005 8 commits
    • Leigh B. Stoller's avatar
      Checkpoint the rest of my changes to support swapmod of both ElabInElab and · 6eff9de6
      Leigh B. Stoller authored
      Firewalled experiments (see tbsetup/elabinelab.in for the other stuff).
      * To support firewalled experiments, needed to add a new virt_firewalls
        table to split the existing firewalls table up, which included both
        virtual and physical stuff. There are the usual frontend changes and a
        few other things scattered around, including tmcd.c.
      * The firewall code in tbswap got some beefing up to support adding and
        deleting nodes from the its special control net vlan. Note that I have
        not made any progress on containment of deleted nodes, just as we do not
        do anything now for teardown (unless its paniced, in which case the
        experiment cannot be modified anyway).
      * ptopgen and assign_wrapper got some interesting modifications: Unlike
        regular swapmod, we cannot just tear down all the vlans since that would
        interrupt everything inside the inner elab. Instead, leave the vlans as
        is. The problem is that when assign runs, it can just as easily pick
        different interfaces on the same nodes, which would be a royal pain in
        the ass to deal with! So, ptopgen got a new option (-u) that assign
        wrapper uses to tell ptopgen that it should prune out unused interfaces
        from nodes that are already allocated to the experiment. This is, at
        best, as pathetically gross hack, but it makes sure that all the
        interfaces stay the same across swapmods.
      * The unrelated revision of elabinelab has a bunch of new code for adding
        and deleting nodes from the inner elab. Mostly it deals with dhcpd (inner
        and outer, waiting for nodes to reboot, etc). It also deals with updating
        the vlans table in the DB, pruning out any nodes (ports) that are deleted
        but for which there are still interfaces in existing vlans. Said ports
        are them moved back to the default vlan with calls to snmpit. Also under
        another revision a a couple of weeks ago are the web interface changes to
        support the newnode MFS inside an inner Emulab.
      * swapexp and endexp got some more checks for firewalled and paniced
        experiments, which were missing.
    • Leigh B. Stoller's avatar
      Hmm, a questionable change that I needed cause of ElabInElab and swapmod. · b031d1a7
      Leigh B. Stoller authored
      When doing a swapmod, nodes already reserved to the experiment are "moved"
      (via update) to a holding reservation. Fine.  After assign runs, the old
      nodes are moved back, but this time by an insert into the table, which
      causes them to lose some fields that I do not want them to lose! This might
      really mean that these fields do not belong in the reserved table, but I do
      not want to ponder this right now. Instead I do another update bringing
      them back into the original experiment.
      I left comment indicating that this is under review (and why this commit is
      seperate from the rest of the swapmod changes).
    • Leigh B. Stoller's avatar
      Stuff I added for ElabInElab and swapmod. · 08f0e7f7
      Leigh B. Stoller authored
      * -f option to force deletion. Only works inside ElabInElab.
      * -q option to keep the silly thing from spitting out so much noise.
      * Add a -HUP of stated to reload it tables.
    • Leigh B. Stoller's avatar
      Fix bonehead typo in update query. · 321b4d5d
      Leigh B. Stoller authored
    • Leigh B. Stoller's avatar
      Add scalebar bassed on provided pixels_per_meter argument to applet. · 73e86a6e
      Leigh B. Stoller authored
      Also remove some more defunct double buffering code.
    • Leigh B. Stoller's avatar
      Do not set the OSID on inner elab experimental nodes; let them get · 2a138424
      Leigh B. Stoller authored
      their default. It can still be overridden though in your NS file with:
      	namespace eval TBCOMPAT {
      	    set elabinelab_nodeos(mypc1) FBSD-STD
    • Leigh B. Stoller's avatar
      Stick in *extremely* primitive scale bar. It goes into the title area, · dd1ffac2
      Leigh B. Stoller authored
      in the upper right hand side.
      Ideally, we should put in full bars on both the X and Y axis, but that
      was way too hard. Maybe Russ can work on that if we think its needed.
    • Leigh B. Stoller's avatar
      Part of my changes to support swapmod of ElabInElab experiments. I needed · 283e27fd
      Leigh B. Stoller authored
      to get this change in cause it also includes some DHCPD conf changes and
      Mike and I were messing each other up.
      * The DHCPD change is that instead of using reserved.inner_elab_role
        as the flag to indicate a node should boot inside or outside, I
        added inner_elab_boot, which is a boolean that I set when its
        actually time to do this. This avoids two ElabInElab swapins at the
        same time from messing each other up! Basically avoids the obvious
      * The rest of the changes are for swapmod itself, which are incomplete
        but should be harmless until the rest of the stuff is ready.
  2. 11 May, 2005 12 commits
  3. 10 May, 2005 14 commits
  4. 09 May, 2005 5 commits
  5. 08 May, 2005 1 commit