'Returns all fixed_ips associated with the allowed_address_pair.'

def _get_allowed_address_pair_fixed_ips(self, context, port_dict):

    aa_pair_fixed_ips = []
    if port_dict.get('allowed_address_pairs'):
        for address_pair in port_dict['allowed_address_pairs']:
            aap_ip_cidr = address_pair['ip_address'].split('/')
            if ((len(aap_ip_cidr) == 1) or (int(aap_ip_cidr[1]) == 32)):
                subnet_id = self._get_subnet_id_for_given_fixed_ip(context, aap_ip_cidr[0], port_dict)
                if (subnet_id is not None):
                    fixed_ip = {'subnet_id': subnet_id, 'ip_address': aap_ip_cidr[0]}
                    aa_pair_fixed_ips.append(fixed_ip)
                else:
                    LOG.debug('Subnet    does    not    match    for    the    given    fixed_ip    %s    for    arp    update', aap_ip_cidr[0])
    return aa_pair_fixed_ips
