1. 14 Mar, 2016 1 commit
  2. 03 Mar, 2016 2 commits
  3. 02 Mar, 2016 1 commit
  4. 29 Feb, 2016 1 commit
  5. 22 Feb, 2016 1 commit
  6. 15 Feb, 2016 1 commit
  7. 10 Feb, 2016 1 commit
  8. 09 Feb, 2016 1 commit
    • Kirk Webb's avatar
      Extend the horrible "non-modular" hack in the Cisco snmpit module. · 0981023d
      Kirk Webb authored
      First, a "bug fix": By coincidence the snmpit Cisco module was able to
      build up the mod/port-to-ifindex mapping on newer switches where
      interface descriptions include a submodule ID (e.g.
      "GigabitEthernet1/0/1" vs. "GigabitEthernet1/1"). However, it was
      actually just grabbing the submodule ID in place of the module ID.  This
      is OK (in some loose sense) for non-modular switches where everything is
      effectivley on the same module. Not good for IOS/NX-OS switches with
      actual modules and submodule identifiers. Things would not have worked
      for these.  As a fix that retains backward compatibility, the Cisco
      snmpit module now correctly extracts the module ID, but subtracts '1'
      from it.  This allows existing installations that have zero-based module
      numbering in their database for non-modular IOS/NX-OS switches with
      submodule IDs to continue to work as is.
      
      The above nonsense is not what I set out to do, however, and the commit
      just gets worse. I extended the hack for non-modular switches with a mix
      of gigabit and ten gigabit to bump any ten gigabit interface port's
      module ID to "1". The existing hack already did this for non-modular
      switches with a mix of fast Ethernet and gigabit.  Absolutely horrific.
      I need a shower.
      0981023d
  9. 29 Jan, 2016 1 commit
  10. 28 Jan, 2016 4 commits
  11. 22 Jan, 2016 2 commits
  12. 21 Jan, 2016 3 commits
  13. 11 Jan, 2016 1 commit
  14. 01 Jan, 2016 1 commit
  15. 17 Dec, 2015 1 commit
  16. 15 Dec, 2015 1 commit
  17. 08 Dec, 2015 4 commits
  18. 07 Dec, 2015 1 commit
  19. 04 Dec, 2015 1 commit
  20. 02 Dec, 2015 1 commit
  21. 30 Nov, 2015 1 commit
  22. 16 Nov, 2015 4 commits
  23. 10 Nov, 2015 2 commits
  24. 09 Nov, 2015 1 commit
    • Mike Hibler's avatar
      Two semi-related exports_setup changes. · 622e2187
      Mike Hibler authored
      1. Don't stat all exported mountpoints from boss to see if they exist.
         Not only is this wrong from boss (a mount may be valid, but not yet
         exported) it also makes the automounter work its butt off as we might
         stat hundreds or thousands of directories across NFS. The original
         purpose of this was to keep mountd from freaking out when presented
         with a non-existent directory. Since mountd freaking out is about as
         rare as the sun rising in the east, we keep this check but do it on
         the proxy (ops) side instead.
      
      2. Have exports_setup (boss) generate a list of directories that it should
         be able to mount. This goes in /usr/testbed/etc/validmounts.txt and will
         be used by autofs (I hope) to narrow down the wildcarded "/users/*"
         and "/proj/*" mounts to those that might actually work. Right now you
         can "ls /users/WtF" and it will try to mount it from ops and take 4
         seconds to timeout and fail.
      622e2187
  25. 05 Nov, 2015 1 commit
  26. 02 Nov, 2015 1 commit
    • Kirk Webb's avatar
      Add horrible hack to snmpit_h3c module to cope with submodules · 5a2b215f
      Kirk Webb authored
      The Emulab DB and codebase cannot currently cope with switch submodules.
      Hack around this in the Comware module by using the ifindex as the
      port number when the submodule ID is non-zero.  So gross, but no less
      arbitrary than some other translation from submodule and port to unique
      identifier.
      5a2b215f