'Build a map of addr -> list of conj_ids.'

def _build_addr_conj_id_map(self, ethertype, sg_conj_id_map):

    addr_to_conj = collections.defaultdict(list)
    for (remote_id, conj_id_set) in sg_conj_id_map.items():
        remote_group = self.driver.sg_port_map.get_sg(remote_id)
        if (not remote_group):
            LOG.debug('No    member    for    SG    %s', remote_id)
            continue
        for addr in remote_group.get_ethertype_filtered_addresses(ethertype):
            addr_to_conj[addr].extend(conj_id_set)
    return addr_to_conj
