update comment
split extraction, for testing purposes
split extraction, for testing purposes
code factorisation

no matters if info have been set through CDP or LLDP for changing
original ports list
split extraction, for testing purposes

Additionaly, fix the bug causing multiple occurences of mac addresses
associated with a single port, when additional vlan-specific queries are used.
oops
better variable names and test descriptions