1. 27 Aug, 2010 2 commits
  2. 20 May, 2010 1 commit
  3. 13 May, 2010 1 commit
    • Weibin Sun's avatar
      Modify: db/Lan.pm.in, tbsetup/snmpit.in - Add Lan arrtibutes: ofenabled,... · 9fa67d71
      Weibin Sun authored
      Modify: db/Lan.pm.in, tbsetup/snmpit.in - Add Lan arrtibutes: ofenabled, ofcontroller and oflistener for Openflow settings. Call Openflow enable/controller/listener functions in snmpit.in when creating vlan for an experiment swapin. doEnableOpenflowListener in snmpit.in also updates the VLan oflistener attribute
  4. 20 Apr, 2010 1 commit
  5. 15 Apr, 2010 1 commit
    • Weibin Sun's avatar
      getUsedOpenflowListenerPorts in snmpit stack modules and devices are changed... · 0e278b7e
      Weibin Sun authored
      getUsedOpenflowListenerPorts in snmpit stack modules and devices are changed to return the ports rather than accept a hash reference. Add the empty OF functions to snmpit_nortel.pm. Print the OF listener string on each involved device. Fix a bug that snmpit.in doesnot print Done when OF operations are finished. The lengths of OF usage lines are reduced to fit the 80-ch width window.
  6. 14 Apr, 2010 4 commits
  7. 09 Apr, 2010 1 commit
    • Weibin Sun's avatar
      Add automatic OF listener port assigning to snmpit: OF listener cmd option... · 7948f1f6
      Weibin Sun authored
      Add automatic OF listener port assigning to snmpit: OF listener cmd option doesnot need the listener string now; a doEnableOpenflowListener is implemented in snmpit to do the assignment; a getUsedOpenflowListenerPorts is added to stacks modules to help the port assignment; the listener can be from 5000 to 65535. The Openflow string is added to all Of related functions names in snmpit.in and stacks modules
  8. 05 Apr, 2010 1 commit
    • Weibin Sun's avatar
      Openflow OIDs can be used in snmpit_hp now, so the functions can act... · 06c2f12b
      Weibin Sun authored
      Openflow OIDs can be used in snmpit_hp now, so the functions can act correctly. Command line options configuration is changed to use only one vlanname for each OF command. The order of OF support checking and finding VLan is changed so that stack module will find vlan first, then check OF support. Thus there will not be an error msg for OF unsupported even if the vlan is not on the switch.
  9. 02 Apr, 2010 1 commit
  10. 31 Mar, 2010 3 commits
  11. 29 Mar, 2010 3 commits
  12. 25 Mar, 2010 2 commits
  13. 17 Dec, 2009 1 commit
  14. 20 Oct, 2009 1 commit
    • Keith Sklower's avatar
      add --vlan_tag option to snmpit (for use with dragon signaling) · 59ae8faa
      Keith Sklower authored
      handle quieting backends in a different way - (to minimized changes
      to nortel, foundry, and hp support), use perl "select" with one arg
      to change default for "print" with no explicit fileglob.
      print STDERR, STDOUT, still works; won't interfere with tblog() and friends.
      will put parallization mods in a separate CVS change.
  15. 27 Sep, 2009 1 commit
  16. 14 Sep, 2009 1 commit
    • Robert Ricci's avatar
      The 'make' command needs to grab the whole stack, not just switches · 4fbfafe3
      Robert Ricci authored
      that contain ports in the new VLAN: we might need to transit switches
      'in the middle'.
      I'm starting to think that the way we built up list of switches for
      the commands is not the right thing to be doing - almost all of the
      operations operate on whole stacks now, so we just have extra work to
      do to convert stack names into switch names and back. Or, at the very
      least, we need  a simpler way to compute (and store) the set of
      switches that a VLAN has to transit.
  17. 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
      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.
  18. 08 Sep, 2009 1 commit
  19. 03 Sep, 2009 1 commit
    • Robert Ricci's avatar
      Modified the -m command so that it doesn't default to the Experiment · 10d40744
      Robert Ricci authored
      stack unless no ports are given. This allows it to be used on other
      stacks without passing the -S option. There are probably other commands
      that should get this treatment, but being conservative for now.
      Also improved the debugging output from commands that complain about
      multiple stacks.
  20. 27 Jul, 2009 1 commit
  21. 23 Jul, 2009 1 commit
    • Leigh B. Stoller's avatar
      Add new snmpit -X option (synchronize tables) to use during swapmod, · 4153a4c4
      Leigh B. Stoller authored
      instead of vlan teardown and setup during a swapmod.
      This operates by using the vlans and interface_state tables to know
      what is onthe switches and what actually need to be changed. Should be
      much more efficient.
      Note that this requires switch backend changes. I did it for the cisco
      backend, which is why tbswap only does it on MAINSITE.
  22. 11 Jun, 2009 1 commit
    • Leigh B. Stoller's avatar
      For elabinelab, snmpit -t (-r) no longer does an individual trunk · 811cb82a
      Leigh B. Stoller authored
      enable/disable on each port (one XMLRPC per). Instead, do this as part
      of the remotedovlans and remotedestroyvlans.
      Some reorg in doVlansFromTables() do deal with vlans that need to be
      trunked in dual mode. That vlan must be created first, the ports
      trunked, and the rest of the vlans created.
  23. 02 Apr, 2009 1 commit
  24. 04 Mar, 2009 1 commit
  25. 14 Jan, 2009 1 commit
  26. 13 Jan, 2009 1 commit
  27. 07 Jan, 2009 1 commit
    • 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
      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.
  28. 21 Nov, 2008 1 commit
  29. 09 Jul, 2008 1 commit
    • Leigh B. Stoller's avatar
      My attempt to improve swapmod ... · 3593d9c6
      Leigh B. Stoller authored
      Previously, any error in assign wrapper would cause the experiment to
      swap out because the "DB had been modified" ... well I have isolated
      all of the changes that are made, and errors in assign_wrapper proper
      no longer do that. tbswap now restores the experiment back the way it
      was. Not that errors after assign_wrapper (like in os_setup) are still
      a problem.
      In addition, rather then kill off all of the vlans, leave them in
      place and then do a comparison after assign wrapper, removing obsolete
      and modified vlans only. I have made use of the obsolete vlans table
      for this by having snmpit track its changes in that table. There is a
      bunch of new code in Lan.pm for doing the comparisons.
  30. 15 Jan, 2008 1 commit
  31. 16 Aug, 2007 1 commit