commit dfe79d35a47a28873f271131cf2fdae7052e0713
Author: Sebastian Kalinowski <email address hidden>
Date: Fri Nov 21 14:06:43 2014 +0100
Always match lowercase MAC
In some places we are making comparisons between MACs
from different sources like:
* from DB - those are lowercase strings
* from other inputs - where we do not know if MAC will
be lowercase, uppercase (or mixed) string
We need to always lowercase string in DB queries.
Also new utils function was created: is_same_mac to compare
if MACs are equal. It uses netaddr.EUI internally.
Reviewed: https:/ /review. openstack. org/136331 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=dfe79d35a47 a28873f271131cf 2fdae7052e0713
Committed: https:/
Submitter: Jenkins
Branch: master
commit dfe79d35a47a288 73f271131cf2fda e7052e0713
Author: Sebastian Kalinowski <email address hidden>
Date: Fri Nov 21 14:06:43 2014 +0100
Always match lowercase MAC
In some places we are making comparisons between MACs
from different sources like:
* from DB - those are lowercase strings
* from other inputs - where we do not know if MAC will
be lowercase, uppercase (or mixed) string
We need to always lowercase string in DB queries.
Also new utils function was created: is_same_mac to compare
if MACs are equal. It uses netaddr.EUI internally.
Change-Id: Idae5bc6009f857 e72712afac04ffe 174e73c7a87
Closes-Bug: #1394466