Gary Kotton 30b597a66a Ensure unique mac address allocation.
This is the first part of bug 1008029

If the port command does not contain a MAC address then Quantum will generate
a random MAC address. The mac address will be saved in the database to ensure
that it is not used by another port on the same network.

Added mock-based test for mac exhaustion.

Change-Id: I4d3fe12fd1e3c347b8e286d920a0609d0b3c4e8c
2012-06-19 16:34:01 -07:00
..
2011-11-28 10:33:52 -08:00