1. 23 Aug, 2017 1 commit
  2. 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
  3. 29 Sep, 2011 1 commit
  4. 04 Apr, 2011 1 commit
  5. 02 Feb, 2011 1 commit
  6. 28 May, 2010 1 commit
    • Leigh Stoller's avatar
      Fixes to elabinelab vlan creation. I am not actually sure why things · ed69a9bf
      Leigh Stoller authored
      broke, but I decided that relying on stdout vs stderr in the xmlrpc
      server, to return results is a bad plan. Instead, the rpc server
      passes a new option to specify an output file that snmpit.proxyv2
      should write the results to. After the proxy runs, grab the contents
      of that file and send back to the calling elabinelab.
      
      Note that you will need to update tbsetup/snmpit_remote.in and install
      it, in your elabinelab.
      ed69a9bf
  7. 11 Sep, 2009 1 commit
    • Robert Ricci's avatar
      Changed the way that snmpit decides what switches to operate on for the · 89be15ec
      Robert Ricci authored
      'tables', 'reset', and 'synctables' commands. Rather than assuming all
      VLANs live on the One True Experimental Net Stack (unless -S was given),
      they all now check the database to see which stack they should be operating
      on.
      
      Changed how stack information is currently stored in the database. The
      LAN attribute formerly known as 'stack' is now called 'class', and has
      two valid values, 'Experimental' and 'Control'. The idea is to record
      whether something is an experimental net or control net LAN, not which
      specific stack it's on. The 'stack' column in the VLANs table now
      records the actual stack_id on which the VLAN has been created.
      
      This is all in support of testbeds that have multiple experimental-net
      stacks, as Utah currently does.
      89be15ec
  8. 19 Jul, 2009 1 commit
  9. 14 Jul, 2009 1 commit
  10. 11 Jun, 2009 2 commits
    • Leigh Stoller's avatar
      Pass interface trunk setting through to the outer emulab. Also pass · c91c8cc1
      Leigh Stoller authored
      information about whether the interface needs to trunk in dual mode
      instead of equal mode. Normally we use equal, but the supervlan
      created between shared hosts needs to be trunked in dual mode so that
      "raw" packets are delivered (or else non-encap packets go into the bit
      bucket).
      
      When tearing down vlans we do not use individual trunk disables, but
      do it one block from destroyvlans. This is way way faster then an
      XMLRPC call for each individual port.
      
      For trunk ports, no longer use the vinterfaces table, but instead use
      the trunk slot of the interfaces table. I removed a Keith Sklower
      comment that said how silly that was; he was right, and now its
      fixed.
      c91c8cc1
    • Leigh Stoller's avatar
      Copy snmpit.proxynew.in since I had to make some incompatible · ee087f82
      Leigh Stoller authored
      changes, and we want old elabinelab to continue to function. This
      commit is for the original code.
      ee087f82
  11. 05 Jun, 2009 3 commits
  12. 07 Jan, 2009 1 commit
    • Leigh Stoller's avatar
      Change the way that elabinelab communicates with the outer emulab. · 0a004176
      Leigh Stoller authored
      Instead of passing along a set of arguments that needs to be turned
      into command line arguments to the proxy, pass along an xmldoc
      representing the arguments. This xmldoc is passed through the rpc
      server to the snmpit proxy, where it reconstructs the arguments. This
      avoids all that cruftiness in the rpc server (also error prone) and
      make it easier to add new remote methods, say for supporting eventual
      elabibelab firewalls. Note that there are currently two versions of
      the proxy and two methods in the rpc server, so that existing emulabs
      will work.
      
      I also added support for port enable/disable/etc from the inner elab.
      There is also the beginning of firewall support. I pass the stack
      module argument along, but currently not actually doing control stack
      operations from the proxy. Needs more work.
      
      Oh, I copied the cvs repo file for the original proxy so that we do
      not lose the cvs history.
      
      See corresponding commitlog for snmpit for description of other
      changes.
      0a004176
  13. 15 Jan, 2008 1 commit
  14. 14 Jan, 2008 2 commits
  15. 24 Apr, 2007 1 commit
  16. 30 Mar, 2007 1 commit
    • Robert Ricci's avatar
      Patch from Keith Slower @ Berkeley: · 92bb918a
      Robert Ricci authored
      "I implemented and tested extensions to snmpit & friends so that an
      elabinelab could additional request that an experimental interface be
      placed in trunked mode, to discover the vlan tags associated with
      vlans, and to request modifications to existing vlans belonging to an
      elabinelab without tearing it down and reconstructing it."
      92bb918a
  17. 06 Mar, 2007 1 commit
  18. 15 Nov, 2004 1 commit
    • Leigh Stoller's avatar
      A bunch of ElabInELab changes. · 10b116e0
      Leigh Stoller authored
      * snmpit: When ElabInELabis true, use the routines in the new
        snmpit_remote.pm library for setting up and tearing down vlans for an
        experiment. At present, only these two operations are proxied out to
        the outer emulab.
      
      * snmpit_remote.pm: A new little library that uses the XMLPRC server on
        the outer emulab to setup and destroy vlans for an inner experiment.
        This code is used from snmpit (see above).
      
      * snmpit_lib.pm: A couple of minor changes for the server side of the
        proxy operation.
      
      * snmpit.proxy.in: A new perl module that is invoked from the RPC
        server.  This proxy sets up and tears down vlans for an inner elab.
        The basic model is that the container experiment will have lots of
        vlans for various individual experiments running on the inner emulab.
      
      * swapexp: A couple of minor elabinelab hacks.
      
      * tbswap: For elabinelab experiments, reconfig/restart dhcpd when
        tearing down the experiment, and call out to new elabinelab script
        when setting up an elabinelab experiment. There is no provision for
        swapmod at this time.
      
      * elabinelab: A new script to create the inner emulab. Does all kinds of
        gross DB stuff then more gross stuff on the inner ops and boss.
      10b116e0