~lamont/maas/bug-1567176

Viewing all changes in revision 4893.

  • Committer: MAAS Lander
  • Author(s): Mike Pontillo
  • Date: 2016-04-08 19:51:12 UTC
  • mfrom: (4848.5.25 fix-bridge-model-fallout)
  • Revision ID: maas_lander-20160408195112-jv98v9rd3x2bt6iu
[r=blake-rouse][bug=1555679,1564657][author=mpontillo] Fix bugs #1555679 and #1564657.

 * Only physical interfaces (and sometimes bonds) will now be matched
   by MAC address. For other interface types, it is legal for duplicates
   to be found. (though it will now be logged as a warning)
 * Removed a poorly-tested warning message which could sometimes trigger
   in incorrect situations.
 * Fix signal handling for interface save to avoid infinite recursion.
   (Note: indirectly tested by rack interface update tests, since
   without it, infinite recursion is seen in the tests.)
 * Fix MAC validation to consider all ancestors and successors, rather
   than just immediate family.
 * Remove tests for bonds and bridges "moving with MAC address" (they are
   now recreated if renamed, since it's not possible to uniquely identify
   a bond or bridge by MAC).
 * Add tests for multiple bridges with the same MAC as their parents.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: