Add testInterfaceProperties() .  Move Ethernet verification out of testLoopback().

Add testInterfaceProperties(): verify if each interface can be retrieved
using getByName().  Use type properties of these interfaces to determine
if they are Ethernet.  Perform address tests on all active Ethernet interfaces.
Move Ethernet verification out of testLoopback into testInterfaceProperties.

(cherry-picked from commit 3601fe27f70b9be8a8d32051dd2b5759234e8b75)
Signed-off-by: Tochau Hoang <>

Change-Id: I3de08b876129ae631f79ece23b4a9574837009f9
1 file changed