1. 23 Aug, 2017 1 commit
  2. 08 Oct, 2014 1 commit
  3. 13 May, 2014 1 commit
    • Leigh Stoller's avatar
      Add IPV6 changes, contributed by Brecht and lightly modified by me. · 7de150c4
      Leigh Stoller authored
      To define, in the defs file:
      
      	IPV6_ENABLED=1
      	IPV6_SUBNET_PREFIX="2011:1948:0417:0004"
      
      A /64 network is always assumed, don't do anything else. We generate
      appropriate foward and reverse entries in the zone files, but
      otherwise rely on the on the upstream router to provide the prefix
      when asked for it by nodes when they wish to configure an IPV6
      interface.
      
      Important caveats:
      
      1. The infrastructure is ipv4 only. We do not dupport dual stack or
         ipv6 only on any infrastructure.
      
      2. We do not support ipv6 only on the control plane; ipv4 or dual stack.
      7de150c4
  4. 02 Jan, 2013 1 commit
  5. 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
  6. 12 Sep, 2012 1 commit
  7. 11 Jul, 2012 1 commit
    • Leigh Stoller's avatar
      Add reverse DNS lookup for the jail network. · bee73f22
      Leigh Stoller authored
      The GPO wants this for the protogeni racks. We now build reverse
      map files for the 172.16 subnet, although we do it on a /16 boundry
      to avoid a zillion zone files.
      
      I am not planning to write an update script for this, since it would
      require scripting changes to named.conf, which I am loath to do. So I
      will do it by hand in Utah, and new sites (racks) will get it. If a
      site wants it:
      
      	boss> cd obj/named
      
      Copy all of the 172 files to /etc/named/reverse
      Copy all of the 172 zone entries from named.conf to /etc/named/named.conf
      
      	boss> named_setup
      bee73f22
  8. 29 May, 2012 1 commit
  9. 30 Apr, 2012 1 commit
    • 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
  10. 26 Jan, 2012 1 commit
  11. 19 Jan, 2012 1 commit
    • Leigh Stoller's avatar
      Deprecate the use of jailip in the nodes table, for local dynamic · 1a52760a
      Leigh Stoller authored
      virtual nodes. We now create an interfaces table entry so that we do
      not special code to find the control network interface. This entry is
      delated along with the node entries when the experiment is swapped
      out.
      
      Of course, we still have existing nodes with jailip entries, so not
      much code was removed, but this saves me from having to add more
      special cases for XEN elabinelab, and at some point we can remove the
      deprecated code.
      1a52760a
  12. 17 Aug, 2011 1 commit
  13. 07 Jul, 2011 1 commit
  14. 25 May, 2011 1 commit
    • Leigh Stoller's avatar
      Checkpoint addition of the virt_bridges table. Make bridges explicit · b76c72cb
      Leigh Stoller authored
      in the NS file (which is in TCL is derived from the node class). For
      example.
      
      set nodea    [$ns node]
      set bridge1  [$ns bridge]
      set bridge2  [$ns bridge]
      set nodec    [$ns node]
      
      set link0 [$ns duplex-link $nodea $bridge1 * 0ms DropTail]
      set link1 [$ns duplex-link $nodec $bridge1 * 0ms DropTail]
      
      With changes to the mapper, this allows the mapper to map multiple
      bridge nodes to a single physical node, like we do for delay nodes
      when there are enough interfaces.
      
      As a convenience to users, now named_setup adds CNAMES for the
      additional multiple mapped nodes.
      b76c72cb
  15. 25 Mar, 2011 1 commit
  16. 08 Jun, 2010 1 commit
  17. 01 Apr, 2010 1 commit
  18. 15 Dec, 2009 2 commits
  19. 17 Apr, 2008 1 commit
  20. 11 Jan, 2007 1 commit
  21. 19 Jul, 2006 1 commit
  22. 18 Jul, 2006 1 commit
    • Leigh Stoller's avatar
      Changes necessary for moving most of the stuff in the node_types · 624a0364
      Leigh Stoller authored
      table, into a new table called node_type_attributes, which is intended
      to be a more extensible way of describing nodes.
      
      The only things left in the node_types table will be type,class and the
      various isXXX boolean flags, since we use those in numerous joins all over
      the system (ie: when discriminating amongst nodes).
      
      For the most part, all of that other stuff is rarely used, or used in
      contexts where the information is needed, but not for type descrimination.
      Still, it made for a lot of queries to change!
      
      Along the way I added a NodeType library module that represents the type
      info as a perl object. I also beefed up the existing Node module, and
      started using it in more places. I also added an Interfaces module, but I
      have not done much with that yet.
      
      I have not yet removed all the slots from the node_types table; I plan to
      run the new code for a few days and then remove the slots.
      
      Example using the new NodeType object:
      
      	use NodeType;
      
      	my $typeinfo = NodeType->Lookup($type);
      
              if ($typeinfo->control_interface(\$control_iface) ||
                  !$control_iface) {
        	    warn "No control interface for $type is defined in the DB!\n";
              }
      
      or using the Node:
      
      	use Node;
      
              my $nodeobject = Node->Lookup($node_id);
              my $imageable  = $nodeobject->NodeTypeInfo()->imageable();
      or
              my $rebootable = $nodeobject->isrebootable();
      or
              $nodeobject->NodeTypeAttribute("control_interface", \$control_iface);
      
      Lots of way to accomplish the same thing, but the main point is that the
      Node is able to override the NodeType (if it wants to), which I think is
      necessary for flexibly describing one/two of a kind things like switches, etc.
      624a0364
  23. 25 Oct, 2005 1 commit
  24. 31 May, 2005 1 commit
  25. 26 Oct, 2004 1 commit
  26. 28 Sep, 2004 1 commit
  27. 04 Mar, 2004 1 commit
  28. 26 Feb, 2004 1 commit
    • Robert Ricci's avatar
      Clean up the way we handle vnodes and unroutable IP addresses - there · 963927f9
      Robert Ricci authored
      isn't really a good reason for keeping them seperate. All we really
      care about is putting the unroutable addresses in one file and the
      routable ones in another.
      
      So, instead of generating three forward zone files, we only have to
      generate two. They are not as pretty as the ones named_setup used to
      generate, but the code to make them is much, much cleaner and more
      comprehensible.
      
      Also makes named_setup about twice as fast - 2s vs 4s. Still too
      slow, but better!
      963927f9
  29. 20 Nov, 2003 1 commit
  30. 02 Oct, 2003 1 commit
  31. 16 Sep, 2003 2 commits
  32. 26 Aug, 2003 1 commit
  33. 22 Aug, 2003 1 commit
  34. 18 Aug, 2003 1 commit
  35. 22 Jul, 2003 2 commits
  36. 10 Jun, 2003 1 commit
    • Leigh Stoller's avatar
      Minor fixes; check to see if the vnode has a jailip. If not, then do · 37d3853f
      Leigh Stoller authored
      what we normally do in the main map (generate a name for the node and
      a CNAME for the virt name. Skip if there is a jailip, since that is
      going to be handled in the private vnodes map. This means that
      widearea vnodes without their own IPs will continue to get map entries
      as before, but local vnodes with their own IPs will get the special
      treatment and no dup entries!
      37d3853f
  37. 09 Jun, 2003 1 commit