1. 12 May, 2015 33 commits
  2. 11 May, 2015 1 commit
  3. 08 May, 2015 2 commits
  4. 07 May, 2015 1 commit
  5. 06 May, 2015 3 commits
    • Leigh B Stoller's avatar
      Bug Fix: Add waitForMount of the group directory too, since it appears to · a6866b8d
      Leigh B Stoller authored
      not always be immediately available. Mike says there is a race in mountd.
      Surprise!
      a6866b8d
    • David Johnson's avatar
      Bug Fix: don't add undefined ports to list returned by getVlanPorts(). · 8a29082b
      David Johnson authored
      Handles the case where a wire in the wires table has an 'Unused' role
      (which is how logical wires begin life -- then once their underlying
      physical links are built into vlans, snmpit changes their wires.role
      changes to 'Node').  This change ensures undef ports (which is what is
      returned for wires entries with 'Unused' roles) don't make it into the
      getVlanPorts list, where they cause snmpit to die, of course.
      8a29082b
    • David Johnson's avatar
      Bug Fix: make port lookup distinguish logical/physical wires. · 8e1064ae
      David Johnson authored
      The stuff in db/Port.pm (Port::LookupByIface) wasn't handling the MLE
      case where there are two wires table entries for physical wires with a
      logical wire implemented by them; for my experiment, when snmpit was
      trying to create the physical vlans on the apcon, it would grab the
      logical wire instead of the physical one as it populated the Port
      objects, and that screwed vlan creation up (the member port for the
      physical layer 1 vlan gets labeled with a switch WIRE_END instead of
      node -- which is correct for the logical wire, but not the physical).
      So, I changed the query to check that wires.logical ==
      interfaces.logical ; see the code.  This is a limited fix, maybe --
      maybe that method should really do more verification to make sure it's
      grabbed the correct wires table entry -- but since we only have 2 layers
      it's plenty good for now.
      8e1064ae