1. 04 Apr, 2011 1 commit
  2. 02 Feb, 2011 1 commit
  3. 28 May, 2010 1 commit
    • Leigh B Stoller's avatar
      Fixes to elabinelab vlan creation. I am not actually sure why things · ed69a9bf
      Leigh B 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
  4. 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
  5. 19 Jul, 2009 1 commit
  6. 14 Jul, 2009 1 commit
  7. 11 Jun, 2009 2 commits
    • Leigh B. Stoller's avatar
      Pass interface trunk setting through to the outer emulab. Also pass · c91c8cc1
      Leigh B. 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 B. Stoller's avatar
      Copy snmpit.proxynew.in since I had to make some incompatible · ee087f82
      Leigh B. Stoller authored
      changes, and we want old elabinelab to continue to function. This
      commit is for the original code.
      ee087f82
  8. 05 Jun, 2009 3 commits
  9. 07 Jan, 2009 1 commit
    • Leigh B. Stoller's avatar
      Change the way that elabinelab communicates with the outer emulab. · 0a004176
      Leigh B. 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
  10. 15 Jan, 2008 1 commit
  11. 14 Jan, 2008 2 commits
  12. 24 Apr, 2007 1 commit
  13. 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
  14. 06 Mar, 2007 1 commit
  15. 15 Nov, 2004 1 commit
    • Leigh B. Stoller's avatar
      A bunch of ElabInELab changes. · 10b116e0
      Leigh B. 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