identify network interface type

see: #1838,#2622
add two new types

see: #1838
add BASE device for interface aliases

see: #2622
add speed value when available

see: #1844
retrieve bridge components
fix ip addr show parsing

some interface may be considered as up, even with no valid IP address
new sample
fix ip addr show parsing

Only use UP flag in bracketed list to determine interface status, as
state keyword at the end of the line is sometimes contradictory.
enforce consistent ordering
fix ip addr show parsing

use alias name for addresses associated with interfaces aliases.

see: #2622
use same function for slaves retrieval
retrieve permanent mac address for bonding slaves

see: #2622