1. 11 Jul, 2012 1 commit
    • Leigh B Stoller's avatar
      Add reverse DNS lookup for the jail network. · bee73f22
      Leigh B 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
  2. 29 May, 2012 1 commit
  3. 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
      named.reload script has gone away. Use rndc instead.
  4. 26 Jan, 2012 1 commit
  5. 19 Jan, 2012 1 commit
    • Leigh B Stoller's avatar
      Deprecate the use of jailip in the nodes table, for local dynamic · 1a52760a
      Leigh B 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
      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.
  6. 17 Aug, 2011 1 commit
  7. 07 Jul, 2011 1 commit
  8. 25 May, 2011 1 commit
    • Leigh B Stoller's avatar
      Checkpoint addition of the virt_bridges table. Make bridges explicit · b76c72cb
      Leigh B Stoller authored
      in the NS file (which is in TCL is derived from the node class). For
      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.
  9. 25 Mar, 2011 1 commit
  10. 08 Jun, 2010 1 commit
  11. 01 Apr, 2010 1 commit
  12. 15 Dec, 2009 2 commits
  13. 17 Apr, 2008 1 commit
  14. 11 Jan, 2007 1 commit
  15. 19 Jul, 2006 1 commit
  16. 18 Jul, 2006 1 commit
    • Leigh B. Stoller's avatar
      Changes necessary for moving most of the stuff in the node_types · 624a0364
      Leigh B. 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();
              my $rebootable = $nodeobject->isrebootable();
              $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.
  17. 25 Oct, 2005 1 commit
  18. 31 May, 2005 1 commit
  19. 26 Oct, 2004 1 commit
  20. 28 Sep, 2004 1 commit
  21. 04 Mar, 2004 1 commit
  22. 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
      Also makes named_setup about twice as fast - 2s vs 4s. Still too
      slow, but better!
  23. 20 Nov, 2003 1 commit
  24. 02 Oct, 2003 1 commit
  25. 16 Sep, 2003 2 commits
  26. 26 Aug, 2003 1 commit
  27. 22 Aug, 2003 1 commit
  28. 18 Aug, 2003 1 commit
  29. 22 Jul, 2003 2 commits
  30. 10 Jun, 2003 1 commit
    • Leigh B. Stoller's avatar
      Minor fixes; check to see if the vnode has a jailip. If not, then do · 37d3853f
      Leigh B. 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!
  31. 09 Jun, 2003 1 commit
  32. 06 Jun, 2003 1 commit
  33. 18 Apr, 2003 1 commit
  34. 17 Sep, 2002 1 commit
  35. 14 Aug, 2002 1 commit
  36. 13 Aug, 2002 1 commit
  37. 30 Jul, 2002 1 commit