1. 11 Dec, 2013 2 commits
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Mapping changes to support persistent blockstores. · a721e561
      Mike Hibler authored
      Quite simple actually. In ptopgen we add all persistent stores, which
      are identified by having a non-zero lease_idx. To ensure they are only
      matched up with the correct virt_blockstore, we add a feature "bs-lease-NN"
      where NN is the unique lease index with weight 1.0.
      In vtopgen, when a request is made to map a persistent store, we first
      verify that the experiment pid matches that of the blockstore's lease
      (this is a fer-now simple check which is actually redundant as we make
      this check in the parser too) and ensure that the blockstore is not already
      mapped (indicated by the blockstore_state entry having size==0) and then
      we emit an entry with desire "bs-lease-NN" and weight 1.0.
      Most of the file changes were actually to get the "preassign" flag to
      vtopgen forwarded into the various libvtop modules so that I can check it
      and not perform the permission/size check if it is set.
  2. 26 Aug, 2013 2 commits
  3. 04 Jun, 2013 1 commit
  4. 30 Apr, 2013 1 commit
  5. 02 Apr, 2013 1 commit
  6. 01 Mar, 2013 1 commit
  7. 10 Jan, 2013 1 commit
  8. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      This commit is intended to clear up that confusion.
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
  9. 02 Jul, 2012 1 commit
  10. 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
      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.
  11. 21 Apr, 2012 1 commit
  12. 23 Jan, 2012 1 commit
  13. 02 Dec, 2011 1 commit
    • Leigh B Stoller's avatar
      Minor changes so that we can allow the subos map to be used for · fb5fb526
      Leigh B Stoller authored
      determining the jailosid for "static" images like OPENVZ-STD. For
      	tb-set-hardware $n1 d710-vm
      	tb-set-node-os $n1 OPENVZ-STD FEDORA15-64-OVZ-STD
      The main point is that OPENVZ-STD is a placeholder with no associated
      image. It exists to tell the mapper and osload what to do. This is
      accomplished with nextosid. The new approach makes things consistent
      with subos stuff.
  14. 30 Nov, 2011 1 commit
  15. 07 Nov, 2011 1 commit
  16. 30 Oct, 2011 1 commit
  17. 13 Oct, 2011 1 commit
  18. 10 Oct, 2011 1 commit
  19. 08 Oct, 2011 2 commits
    • Mike Hibler's avatar
      Revert "Adjust the set of unix gids used for a download server." · baba7478
      Mike Hibler authored
      This reverts commit fc89eb38.
      Checked in a bunch of crap that was unrelated.
    • Mike Hibler's avatar
      Adjust the set of unix gids used for a download server. · fc89eb38
      Mike Hibler authored
      When downloading an image, start the frisbeed process with the minimum set of
      gids necessary to access the image. This includes the unix gid of the
      project that the image is in and, optionally, the unix gid of the project
      subgroup if the image is part of one.
      Previously, we just use the gid set of the uid of the swapper of the
      experiment. Not only was this excessive, but it might also not include the
      gids needed in the case of a "global" image that is not in the world-readable
      /usr/testbed/images directory.
  20. 05 Oct, 2011 2 commits
  21. 13 Sep, 2011 1 commit
  22. 17 Aug, 2011 1 commit
  23. 10 Aug, 2011 1 commit
  24. 11 Jul, 2011 1 commit
    • Jonathon Duerig's avatar
      Initialize node count to 0. · 9a050779
      Jonathon Duerig authored
      Also, reordered initialization of counters so it is the same as the order of the access methods for easier verification that everything gets initialized.
  25. 25 May, 2011 1 commit
  26. 28 Apr, 2011 1 commit
  27. 13 Apr, 2011 1 commit
  28. 31 Mar, 2011 1 commit
  29. 23 Feb, 2011 1 commit
  30. 22 Feb, 2011 1 commit
  31. 18 Feb, 2011 2 commits
  32. 15 Feb, 2011 2 commits
  33. 14 Feb, 2011 1 commit
  34. 08 Feb, 2011 1 commit
    • Leigh B Stoller's avatar
      Add special case for bbg, same as we do for spp. This stuff needs to · dffb96dd
      Leigh B Stoller authored
      be generalized in some fashion.
      Change to how vlan ecapsulation links are represented in the lans
      table. Formerly, we had two links; one was the underlying vlan and the
      other was the ecapsulated link running over it. This is required when
      *not* using vlan encapsulation since there might be multiple emulated
      networks on top of the vlan network.
      However, when using vlan ecapsulation, this strictly one to one; there
      are multiple vlan links, with the ports in trunk mode. There is no
      reason to have two entries in the lans table, and in fact was causing
      me grief wrt vlan tag reservations in protogeni, since the name of
      link is not the same as the name of the underlying vlan link that was
      getting created. And so it was impossible to match up the
      I pray this does not break 10 other things.