def _get_primary_address(self, mac_address, node_list):
for local_addresses in node_list:<EOL><INDENT>if mac_address in local_addresses:<EOL><INDENT>return local_addresses[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>return mac_address<EOL>
Uses the _get_aggregated_node_list structure to find
the primary mac address associated to a secondary one,
if none is found returns itself.