Bug 825708 - Part 2: calculate priority using properties of network interface.
add log
test