1. 15 Jan, 2009 3 commits
  2. 14 Jan, 2009 2 commits
  3. 13 Jan, 2009 4 commits
  4. 12 Jan, 2009 9 commits
  5. 09 Jan, 2009 3 commits
  6. 08 Jan, 2009 9 commits
  7. 07 Jan, 2009 10 commits
    • Leigh B. Stoller's avatar
      I had such ambitious goals when I started this project! My intent was · cccc74eb
      Leigh B. Stoller authored
      to allow elabinelab vlan firewalls. Alas, I never got there, fell into
      a pit of hell and never made it back out. However, I did do a few
      things.
      
      I did make some changes to deal with stacks, mostly making sure that
      stacks are processed properly inside the elabinelab, and passed
      through to the outer emulab, which currently ignores the stack. See
      the new version of the proxy.
      
      The big change was to -m and -o. These now require a pid/eid argument
      so that we can create (and delete) vlan objects in the DB, for both
      the control and experimental stacks. Most notably, when creating a
      firewalled experiment, we get a Lan(VLan) object for the control
      network fwvlan, and an entry in the softstate vlans table (that
      mirrors what is on the switches). This is intended to make things
      easier to cleanup after a swap error, and to catch inconsitencies
      before we release nodes. Note that -m and -o take -f to override the
      pid/eid requirement, in which case they operate as before.
      
      Trunk enable/disable and Port enable/disable now record that state in
      the new interface_state table.
      
      We now proxy doPortControl().
      
      A second -l option overrides Keiths change that prints only vlans
      associated witl experiments; print *all* vlans.
      cccc74eb
    • Jonathon Duerig's avatar
    • Leigh B. Stoller's avatar
      Do not return control net vlans from tmcd. We determine this by · 1ebb5ea6
      Leigh B. Stoller authored
      looking at the stack attribute in the lans_attributes table, which
      must not say 'Experimental' or not be set at all (legacy).
      1ebb5ea6
    • Leigh B. Stoller's avatar
      Library functions to set/clr the enabled/tagged bits in the new · 71812015
      Leigh B. Stoller authored
      interface_state table.
      71812015
    • 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
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      f9f867b2
    • Leigh B. Stoller's avatar
      Minor bug fix. · 417722a3
      Leigh B. Stoller authored
      417722a3
    • Leigh B. Stoller's avatar
      Do not allow a node that is still in a vlan (experimental or control) · 3a8a3435
      Leigh B. Stoller authored
      to be free'ed. Ditto for interfaces on those nodes that are disabled
      or trunked (tagged). This all indicates something went screwy
      someplace else and something needs to be fixed/cleaned.
      3a8a3435
    • Leigh B. Stoller's avatar
      Various changes to support changes to snmpit that record manually · 13c58c2e
      Leigh B. Stoller authored
      created vlans (-m option to snmpit) in the DB, both for the
      experimental and control stacks.
      13c58c2e