Skip to content

Commit

Permalink
Merge pull request #733 from meteorfox/bug/openstack-floating-ips
Browse files Browse the repository at this point in the history
openstack: Use only available floating-ips
  • Loading branch information
skschneider committed Jan 13, 2016
2 parents 29ce7e2 + cd4869b commit 3f8714a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion perfkitbenchmarker/providers/openstack/os_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def get_or_create(self):
with self.__floating_ip_lock:
floating_ips = self.__nclient.floating_ips.findall(
fixed_ip=None,
pool=self.ip_pool_name
pool=self.ip_pool_name,
status='Down'
)
if floating_ips:
return floating_ips[0]
Expand Down

0 comments on commit 3f8714a

Please sign in to comment.