1. 10 Mar, 2011 1 commit
  2. 09 Mar, 2011 1 commit
  3. 08 Mar, 2011 3 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Modified version of snmpit to be run as a "feature" while · 31812eae
      Leigh B Stoller authored
      testing. Changes include:
      
      * syncvlans option that compares the switches and the DB and makes
        everything consistent, including creating backing DB objects for the
        dozens of hand created vlans, since all vlans must have a DB object
        so that vlan tag reservations can be consistent across all stacks.
      
      * Clean up the tag stuff a bit. No longer store tag in the
        lan_attributes table since that is a transient table, prone to
        getting out of sync with reality.
      
      * Changes to how the set of devices in a stack is chosen; ensure that
        we do not reference switches that are not needed (no ports on that
        switch and does not traverse a trunk on that switch). This should
        allow us to move the Backbone switches back into the Experimental
        stack, without fear that normal swapin will block cause the long
        distance links to those switches is down.
      31812eae
    • Leigh B Stoller's avatar
      Remove setVlanTag(); no longer store the tag in the lans table since · 7d1f5299
      Leigh B Stoller authored
      it is transient; always use the reserved_vlantags table now.
      7d1f5299
  4. 23 Feb, 2011 1 commit
  5. 14 Feb, 2011 1 commit
  6. 09 Feb, 2011 1 commit
  7. 02 Feb, 2011 1 commit
  8. 27 Jan, 2011 2 commits
  9. 14 Jan, 2011 1 commit
  10. 13 Jan, 2011 1 commit
    • Leigh B Stoller's avatar
      Small changes so that snmpit can operate on other stacks besides the · ecd7428e
      Leigh B Stoller authored
      Experimental stack, as to create vlans on switches that are part of
      experiments, without explicitly specifying the vlans/ports. We filter
      the experiment's set of vlans, to operate only on the vlans that have
      ports on the stack (provided with -S).
      
      Note that snmpit still cannot deal with multiple stacks, or with vlans
      that cross stacks.
      ecd7428e
  11. 06 Jan, 2011 1 commit
  12. 04 Jan, 2011 1 commit
  13. 22 Dec, 2010 1 commit
  14. 16 Oct, 2010 1 commit
    • Weibin Sun's avatar
      Apply changes on boss installation to the source: add isSwitchPort and... · 7bd594ea
      Weibin Sun authored
      Apply changes on boss installation to the source: add isSwitchPort and getVlanIfaces to snmpit_lib, isSwitchPort detects if a given port is on switch, getVlanIfaces get ports in a Vlan in iface format; call getVlanIfaces from getVlanPorts to reuse the code to find members in a VLAn; in convertPortFromIface, detect if a port is actually on switch and get the port in node:card.port format, but now the return value is still node:card because lots of code in snmpit and snmpit_lib heavily depend on the node:card format. In snmpit, check if a port is on switch before portControl and getInterfaceSettings to avoid errors cause by port-not-found. In snmpit_apcon, try to refine the given ports in setPortsVlan and portControl to deal with switch port, also a more robust function to translate port from pc node format to switch format.
      7bd594ea
  15. 27 Sep, 2010 2 commits
  16. 23 Sep, 2010 1 commit
  17. 22 Sep, 2010 1 commit
  18. 15 Sep, 2010 2 commits
  19. 27 Aug, 2010 2 commits
  20. 20 May, 2010 1 commit
  21. 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
      9fa67d71
  22. 20 Apr, 2010 1 commit
  23. 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.
      0e278b7e
  24. 14 Apr, 2010 4 commits
  25. 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
      7948f1f6
  26. 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.
      06c2f12b
  27. 02 Apr, 2010 1 commit
  28. 31 Mar, 2010 3 commits
  29. 29 Mar, 2010 1 commit