Skip to content
  • Leigh B Stoller's avatar
    Add option to check for and prune stale vlans from switch fabric. · 77f31539
    Leigh B Stoller authored
    Run as follows:
    
    boss> wap perl snmpit_test --prunestalevlans --impotent
    
    which will tell you about them. Remove the --impotent option to
    actually remove them.
    
    Only numbered lans are considered; ones that derive from entries in
    the lans table. Named vlans are skipped since those are generally
    created by hand (often via the switch CLI).
    
    Caveat; vlans left on trunk links are still a bit of problem since
    listvlans returns the other side of the trunk. Needs to be fixed.
    77f31539