'Configures the floating ip address on the device.'

def _add_fip_addr_to_device(self, fip, device):

    try:
        ip_cidr = common_utils.ip_to_cidr(fip['floating_ip_address'])
        device.addr.add(ip_cidr)
        return True
    except RuntimeError:
        LOG.warning(_LW('Unable    to    configure    IP    address    for    floating    IP:    %s'), fip['id'])
