mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
340 B
Ruby
26 lines
340 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Openstack
|
||
|
class Real
|
||
|
|
||
|
def allocate_address
|
||
|
|
||
|
request(
|
||
|
:body => nil,
|
||
|
:expects => 200,
|
||
|
:method => 'POST',
|
||
|
:path => 'os-floating-ips.json'
|
||
|
)
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
class Mock
|
||
|
|
||
|
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|