1. 11 Jun, 2012 2 commits
  2. 07 Jun, 2012 1 commit
  3. 06 Jun, 2012 2 commits
  4. 04 Jun, 2012 5 commits
  5. 31 May, 2012 1 commit
  6. 30 May, 2012 2 commits
  7. 29 May, 2012 3 commits
  8. 27 May, 2012 1 commit
  9. 24 May, 2012 2 commits
  10. 21 May, 2012 1 commit
  11. 17 May, 2012 3 commits
  12. 16 May, 2012 1 commit
    • Leigh B Stoller's avatar
      Another protogeni checkbox; scriptify and simplify adding "special" · cf517af6
      Leigh B Stoller authored
      devices with network interfaces. Emulab's spp and bbg nodes are
      examples, but I did all that by hand inserting sql. An spp node is a
      shared node with some interfaces. Users can allocate one or more of
      those interfaces and establish vlans to the interfaces. The node is a
      "fakenode" in "shared" mode, and everything else falls out. The mapper
      assigns virtual nodes until all of the interfaces are allocated,
      snmpit does its work on the interfaces, and the user then does the
      rest.
      
      Anyway, to added a special device:
      
        boss> wap addspecialdevice -s -t goober goober1
      
      The -t argument is the name of the node type, created if it does not
      exists. The last argument is the name of the fakenode to create in the
      DB. The -s option says the special device is shared. Without -s, the
      device is allocated exclusively.
      
      Then to add interfaces to the device:
      
        boss> wap addspecialiface -b 1Gb -s cisco4,100,100 goober1 eth0
      
      The -b option is the speed (either 100Mb or 1Gb). The -s option is the
      switch side of the interface (switchname,card,port). The last two
      arguments are the nodename and iface name for the interfaces table.
      
      After the interface and wires table entry are added to the DB, snmpit
      is called to put the switch port into tagged mode (if the node is
      shared). To skip the snmpit step, add the -t option.
      cf517af6
  13. 10 May, 2012 1 commit
    • Leigh B Stoller's avatar
      Add a couple of indexes to the node_history to speed up the query. · e20392b3
      Leigh B Stoller authored
      Also, when calling with -A (showall) and -n (number of records),
      lets not read the entire 5 million rows and then throw away everything
      but the first 20. Takes about an hour.
      
      In general this script needs some work.  Would also be nice to page
      through records by specifying an index to start with.
      e20392b3
  14. 07 May, 2012 1 commit
  15. 01 May, 2012 1 commit
    • Mike Hibler's avatar
      Fix libosload to properly get the size of images it cannot read directly. · 014b0f04
      Mike Hibler authored
      If a project image has been "exported" with grantimage, os_load may not
      be able to stat it due to unix permissions. So have os_load make a query
      to the local frisbee master server to get attributes for the image. The
      master server already knows how to deal with these exported images.
      This query also works for an inner boss determining the size of an image
      it has not yet downloaded and thus subsumes that case.
      014b0f04
  16. 30 Apr, 2012 5 commits
    • Mike Hibler's avatar
      Clean up patch. · ab6c6c82
      Mike Hibler authored
      ab6c6c82
    • Mike Hibler's avatar
      Fix one of the ns source files to include <net/bpf.h> · a4a2384d
      Mike Hibler authored
      A change in the BSD ports causes the libpcap port to be installed along
      with the "built in" version of libpcap. This caused the NS build to drag
      in the wrong version of bpf.h.
      a4a2384d
    • Mike Hibler's avatar
      Add a new class of scripts, SETUID_SUEXEC_SCRIPTS, and put spewlogfile in it. · 8a215268
      Mike Hibler authored
      These are setuid perl scripts that are run by "suexec" from the webserver.
      suexec disallows symlinks so we must make these hard links to runsuid.
      8a215268
    • Mike Hibler's avatar
      More minor cleanups exposed by FBSD9 install. · ffb52cd0
      Mike Hibler authored
      Bogus param list for AddPerExperimentSwitchStack; can't have scalar args
      after a list arg.
      
      Missing mailing list TBERRORSEMAIL in defs-elabinelab. Caused redundant
      "testbed-ops" addresses in /etc/aliases.
      
      Weed out said redundant mailing list names when creating aliases during
      ops-install.
      
      named.reload script has gone away. Use rndc instead.
      ffb52cd0
    • Mike Hibler's avatar
      Hack to shutup perl 5.12 about unused SOUT variable. · 9d0a5368
      Mike Hibler authored
      The perl warnings can screw up some of our scripts which expect certain
      output; e.g., users of "setsitevar -c" expect to see the value of a sitevar
      and not some nagging perl message.
      
      Don't want to remove SOUT altogether since I don't know how that will
      affect the regular libtblog (which includes libtblog_simple). So I just
      threw in an "if (0)" which prints to SOUT...
      9d0a5368
  17. 25 Apr, 2012 1 commit
  18. 24 Apr, 2012 1 commit
  19. 21 Apr, 2012 4 commits
  20. 18 Apr, 2012 2 commits