

@atomic.action_timer('nova.create_floating_ips_bulk')
def _create_floating_ips_bulk(self, ip_range, **kwargs):
    'Create floating IPs by range.'
    ip_range = network_wrapper.generate_cidr(start_cidr=ip_range)
    pool_name = self.generate_random_name()
    return self.admin_clients('nova').floating_ips_bulk.create(ip_range=ip_range, pool=pool_name, **kwargs)

dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/nova/utils.py NovaScenario._create_floating_ips_bulk/original