'Create a floating IP object.'

def _create_floating_ips(self, floating_ips=None):

    if (floating_ips is None):
        floating_ips = [self.floating_ip]
    elif (not isinstance(floating_ips, (list, tuple))):
        floating_ips = [floating_ips]
    dict_ = {'pool': 'nova', 'host': 'fake_host'}
    return db.floating_ip_bulk_create(self.context, [dict(address=ip, **dict_) for ip in floating_ips])
