neutron-lib/neutron_lib/utils
Nate Johnston 0ecceacb3e Fix random_mac_generator to make proper EUI64s
The initial implementation of random_mac_generator created MAC addresses
that were one octet too long - the MAC addresses would have seven octets
instead of the proper EUI64-standard six.

This resolved testing issues in the consuming patch in Neutron (see
the change referenced in the Needed-By line).  A test is added that
replicates the conditions of the failure.  In the failed tests, the base
mac '12:34:56:78' was instead parsed so it became '12:34:56:7:8'; when
the code went to add 2 octets to the result, there were too many octets
to form a valid EUI64 MAC address.

Implements: blueprint speed-up-neutron-bulk-creation
Needed-By: https://review.openstack.org/584061
Change-Id: I9a2c40709db9204c7686500deac9ee8e8471b1bc
2018-10-25 10:57:56 -04:00
..
__init__.py Start migration of utility methods 2016-08-19 12:28:31 +01:00
file.py Remove the ensure_dir 2018-04-06 07:00:44 -06:00
helpers.py rehome model_query and its dependencies 2018-04-20 06:18:11 -06:00
host.py Enable module reference 2017-07-05 12:09:10 +09:00
net.py Fix random_mac_generator to make proper EUI64s 2018-10-25 10:57:56 -04:00
runtime.py rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
test.py Rehome unstable_test decorator 2018-04-16 16:48:43 -04:00