1. 02 Jun, 2014 1 commit
    • Mike Hibler's avatar
      Support for gathering and storing Infiniband interface GUIDs in the DB. · 12a41b7e
      Mike Hibler authored
      Since GUIDs are 16 bytes and our current interface MACs are only 12 bytes,
      I agonized over whether to grow the mac column to 16 bytes and just treat
      it as a unique identifier (which is all we use that column for anyway).
      However, in the end I just added a new guid column as there were mac columns
      in a variety of other tables and it wasn't clear what the relationship was
      and what I might break.
      
      So, the newnode MFS will now report back a GUID for interfaces it recognizes
      as IB (FreeBSD-specific right now). The boss-side checkin code with stash
      that value in new_interfaces (and later interfaces when added). For possible
      backward compat, it will also generate a MAC address from that (possibly
      Mellanox-specific) so that all entries in the interfaces table will have
      a MAC (yes, it should really be the other way around--all interfaces should
      always have a guid).
      
      End of story. We don't do anything else with IB right now other than stash
      an interface GUID.
      12a41b7e
  2. 13 Aug, 2013 1 commit
  3. 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
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  4. 07 Sep, 2012 1 commit
  5. 15 Mar, 2012 1 commit
  6. 08 Nov, 2011 1 commit
  7. 20 Aug, 2009 1 commit
    • Ryan Jackson's avatar
      Make newnode scripts work on Linux · 43bb0e7c
      Ryan Jackson authored
      FreeBSD network devices are named after the device driver used, whereas
      Linux network devices are named after the interface type, such as 'eth0'
      for the first ethernet interface.  The newclient script would send each
      interface name to the server via the 'ifacenameX' parameter, and
      newnodecheckin.php would use it to get the driver type for the
      interface.  This works with the FreeBSD MFS, but not with the Linux one.
      Without this fix, all reported interfaces would be of type 'eth', which
      isn't helpful.
      
      To fix this, a new parameter was added to newnodecheckin.php called
      'ifacedriverX' (where X is the interface number).  This parameter is
      optional for backward compatibility with existing newnode MFS images.
      If present, it is used to specify the interface type.  If not, the
      ifacenameX parameter is munged as before to extract the interface type.
      
      The newclient script reports this parameter under both FreeBSD and
      Linux.  On FreeBSD, the interface name is munged to extract the type.
      On Linux, the driver name is extracted from sysfs.
      43bb0e7c
  8. 23 Oct, 2008 1 commit
  9. 29 Sep, 2004 1 commit
  10. 27 Aug, 2004 1 commit
    • Robert Ricci's avatar
      Make it possible to have ops check in with newnode. · 2a8a8f74
      Robert Ricci authored
      This starts with a new option to newnode, -o, that tells it it's
      running on ops. This reports some slightly different information
      to the checkin page.
      
      The checkin page and the backend newnode script then take this extra
      information into account, and deal with ops nodes slightly
      differently.
      2a8a8f74
  11. 18 Aug, 2004 3 commits
  12. 25 Jun, 2004 1 commit
  13. 24 Jun, 2004 1 commit
    • Robert Ricci's avatar
      Major re-structuring of the newclient code, and merged it with the · 7be17267
      Robert Ricci authored
      writefloppy code. The point of doing this was for headless nodes, like
      the new wireless nodes - both scripts have similar needs in terms of
      communicating with the user through beep codes.
      
      Added a '-h' option for headless operation, in which we go into an
      infinite loop with a beep code on an error.
      
      Added a '-w' option to make it write the node ID picked by boss to
      a floppy.
      
      Added a '-t' option, useful for testing.
      
      Grab the node's CPU speed directly, instead of using cpuspeed.awk -
      we don't want to have to keep updating that in the newnode MFS.
      
      At some point, I will probably add the ability to do DHCP to this
      script, since that's another thing that could fail that we'd like to
      have a beep code for headless nodes.
      7be17267
  14. 04 Jun, 2004 1 commit
  15. 10 May, 2004 1 commit
  16. 28 Jul, 2003 1 commit
  17. 17 Jul, 2003 1 commit
  18. 19 May, 2003 1 commit
    • Robert Ricci's avatar
      More steps in the auto-configuration of new nodes. · 08ae4de5
      Robert Ricci authored
      newnodecheckin.php accepts some information about a new node, tries to
      figure out a node_id, IP, type, etc. for them, sticks this into the
      new_ tables, then alerts testbed-ops. Another (not yet created) page
      will be used to make the new node a real boy.
      
      newclient will run from a (not yet created) MFS - it collects various
      data about the node, like its MAC, runs teachswitch, and checks in
      via newnodecheckin.php .
      08ae4de5