def _get_aggregated_node_list(self, data):
node_list = []<EOL>for node in data:<EOL><INDENT>local_addresses = [node['<STR_LIT>']]<EOL>if '<STR_LIT>' in node:<EOL><INDENT>local_addresses += node['<STR_LIT>']<EOL><DEDENT>node_list.append(local_addresses)<EOL><DEDENT>return node_list<EOL>
Returns list of main and secondary mac addresses.