cloudstack/utils
Rohit Yadav 3b5aa42c6d CLOUDSTACK-4770: In MacAddress skip macAddress when parsed value is 0x00
In MacAddress class, we start by settig macAddress String as null and go through
the output of ifconfig -a and pick the one string that is a valid mac address
but is not 0x00 and 0xff. With each loop we set the macAddress to null so that
it does not pick the last one if everything fails.

Tested on Ubuntu where I had an interface called cloud0 whose mac id was 0x00
and it was skipped to get the next one:

$ java -classpath <path-to-cloud-utils.jar> com.cloud.utils.net.MacAddress
addr in integer is 5071953436
addr in bytes is  0 1 2e 4f de 1c
addr in char is 00:01:2e:4f:de:1c

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-13 15:04:04 +02:00
..
bindir fixing utils license header 2012-06-06 23:06:02 -04:00
certs Update fail-safe keystore with RSA private key 2011-07-25 18:55:16 -07:00
conf Fixup the license headers in the utils project. All files now use the same license header and this is enforced by the maven-license-check plugin. 2014-02-18 12:08:36 +01:00
src CLOUDSTACK-4770: In MacAddress skip macAddress when parsed value is 0x00 2014-08-13 15:04:04 +02:00
test CLOUDSTACK-6747 test for test to allow all cidrs on other end of a vpc 2014-06-25 17:09:19 +02:00
findbugsExcludeFilter.xml findbugs: filter definition 2014-03-28 17:16:05 +01:00
pom.xml utils: fix pom.xml to have references for javax.servlet api interfaces 2014-08-12 12:01:32 +02:00