# File lib/blimpy/boxes/openstack.rb, line 98 def allocate_ip response = fog.allocate_address unless response.status == 200 raise Blimpy::UnknownError, "Blimpy was unable to allocate a floating IP address; #{response.inspect}" end details = response.body['floating_ip'] @floating_ip = FloatingIp.new(details['ip'], details['id']) end