1. 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
  2. 31 Aug, 2012 3 commits
  3. 30 Aug, 2012 1 commit
    • Gary Wong's avatar
      Add a "ctrladdr" utility to show (un)allocated addresses on the control net. · 9047e21a
      Gary Wong authored
      Right now, the only addresses it knows are allocated are anything assigned
      in the interfaces table with a "ctrl" role, and anything in the dynamic
      pool in the virt_node_public_addr table.  (And the reserved network and
      broadcast addresses.)
      
      This needs to be extended to anything else we know about!
      
      By default, the output is supposed to be easy to parse and simply
      displays the first available address.  More than one available address
      can be requested with the "-n" option (e.g. "-n 10" will show the
      first ten unallocated addresses).  "-n 0" will show every free
      address on the subnet.
      
      The "-a" option (meant more for human consumption) also describes
      allocated addresses.  For instance, "ctrladdr -a -n 0" will show
      every address on the control net, and what it's used for (if
      anything).  "-r" will compress ranges of consecutive free addresses
      onto a single line.
      
      To test whether a particular address is in use, invoke it as (e.g.)
      "ctrladdr -t 155.98.36.1".  This will give an exit code of 0 if the
      address is available, and 1 if used.  Any other options are ignored
      if "-t" is specified.
      9047e21a