1. 07 Jan, 2003 4 commits
  2. 06 Jan, 2003 2 commits
  3. 31 Dec, 2002 4 commits
    • Leigh B. Stoller's avatar
      Clean up permission check. · c832fa47
      Leigh B. Stoller authored
      Remove the sanity check of the experiment state.
      Add check for a local node and do not setup/teardown since the reboot
      will take care of that (jailed nodes setup at boot time, and obviously
      they are going to get torn down when the node goes down!).
      c832fa47
    • Leigh B. Stoller's avatar
      Do not allow users to specify the osid for nodes that are virtual · d50073b0
      Leigh B. Stoller authored
      (jailed) or for the nodes that are hosting virtual nodes. The checks
      are here so that errors are caught early on, and because its better
      than messing with assign_wrapper!
      d50073b0
    • Leigh B. Stoller's avatar
      cb57bc7d
    • Leigh B. Stoller's avatar
      Add support for rebooing jailed (virtual) nodes, either remote or · ab8b901f
      Leigh B. Stoller authored
      local. For local nodes, need to cull out jailed nodes if the phys node
      is also going to reboot. Jailed nodes are rebooted serially since they
      go down much faster.
      
      Fix up recently added wait mode for jailed nodes. Also, I noticed that
      I was having problems with events not filtering through stated before
      going into the ISUP wait loop; I was catching the nodes still in ISUP
      instead of SHUTDOWN. I added a sleep(2) before going into wait mode,
      but this might be something to watch out for elsewhere too.
      ab8b901f
  4. 30 Dec, 2002 3 commits
  5. 23 Dec, 2002 1 commit
  6. 20 Dec, 2002 2 commits
  7. 19 Dec, 2002 3 commits
    • Leigh B. Stoller's avatar
      Two real changes: · 04c20246
      Leigh B. Stoller authored
      1) Add support for local jailed nodes. This support overlaps in a nasty way
         with remote jailed nodes, but I added this for testing purposes, and as
         it turns out its pretty handy. A second pass is needed to unify remote
         and local jails, but for now this is how it goes:
      
        	tb-set-hardware $node3  pc600
        	tb-set-hardware $nodev1 pcvm600
        	tb-fix-node $nodev1 $node3
      
        So, "fix" $nodev1 to $node3. The intent is that once $node3 is
        allocated by assign to a real testbed node, we can then allocate a
        virtual node on pcXX to $nodev1. I did this primarily to allow for
        easy testing of jails via my NS file, without having to hack assign
        wrapper too deeply. So, after assign runs, I use avail to get the
        available vnodes on the assigned pcXX, allocate those for the virtual
        nodes. At present, we still depend on pre-exsiting pcvm nodes for each
        real node.
      
      2) Add code to assign non-overlapping port ranges to each experiment. This
         could be moved to an external script, but is fine right here. There is
         an ipport_ranges table for determining a testbed wide range (currently
         256 ports). This is of course only meaningful when using jailed nodes,
         so do not bother to set a range (and use up the port space) if no jailed
         (virtual) nodes.
      04c20246
    • Leigh B. Stoller's avatar
      Commit my little pc601 change so that pc601 nodes never get used in · ab4657d2
      Leigh B. Stoller authored
      the main tree. Note that this hack should be generalized (as we have
      discussed many times).
      ab4657d2
    • Leigh B. Stoller's avatar
      Add tbrestart for install. · 8f38aab2
      Leigh B. Stoller authored
      8f38aab2
  8. 18 Dec, 2002 6 commits
  9. 16 Dec, 2002 2 commits
  10. 11 Dec, 2002 2 commits
  11. 09 Dec, 2002 1 commit
    • Leigh B. Stoller's avatar
      Ease up permissions check since it always does the right thing; just · ed27821c
      Leigh B. Stoller authored
      force audit mode when a non-admin mucks with another persons account.
      Add check for "webonly" accounts and treat like other users that do
      not get an account on boss/ops.
      Check for users without any project membership, and create account
      with the guest group. This won't actually happen, but I made this
      change in case we decide to give widearea owners a real account.
      I think setgroups should get an equiv change at some point.
      ed27821c
  12. 07 Dec, 2002 1 commit
  13. 06 Dec, 2002 1 commit
    • Leigh B. Stoller's avatar
      Reorg the deleteuser stuff. In the perl script, watch for non-existent · 437b8ebf
      Leigh B. Stoller authored
      accounts and do not die. Also, no longer rename the home dir; just
      leave it where it is; not sure that served any purpose at all.
      Also mark nodes as needing account updates (this requires that the
      group_membership remain intact until after the script runs).
      
      In the php script, also purge the sfskeys table and the new
      widearea_accounts table.
      437b8ebf
  14. 05 Dec, 2002 1 commit
  15. 03 Dec, 2002 1 commit
  16. 22 Nov, 2002 1 commit
  17. 21 Nov, 2002 1 commit
  18. 19 Nov, 2002 1 commit
  19. 14 Nov, 2002 3 commits
    • Shashi Guruprasad's avatar
      011697a7
    • Mac Newbold's avatar
      Add the long-awaited check for nodes that have too many lans/links. For · 4f0c3572
      Mac Newbold authored
      now it is just hardcoded to 4, but could be done from the db too. Gives
      errors like this one, from a topo where node2 and node6 each have 5 links:
      
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Too many links/LANs to node node2! Maximum is 4.
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Too many links/LANs to node node6! Maximum is 4.
      *** /usr/testbed/devel/newbold/bin/batchexp:
          NS Parse failed!
      4f0c3572
    • Mac Newbold's avatar
      Finally, a check for links that want too much bandwidth. Right now it uses · 5eb5c6ed
      Mac Newbold authored
      the somewhat hacky fail-if-they-want-over-100mbps method, but could in the
      future draw the info from the database or something if it ends up being
      necessary.
      
      Setup Failure(255): Output as follows:
      
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          Bandwidth requested (150000) exceeds maximum of 100000 kbps!
      *** /usr/testbed/devel/newbold/lib/ns2ir/parse.tcl:
          [run] link0 has only a single node. LANs must have at least 2 nodes in them.
      *** /usr/testbed/devel/newbold/bin/batchexp:
          NS Parse failed!
      5eb5c6ed