mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
20 lines
302 B
Ruby
20 lines
302 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Ovirt
|
||
|
class Real
|
||
|
|
||
|
def datacenters filter={}
|
||
|
client.datacenters(filter)
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
class Mock
|
||
|
def datacenters filter={}
|
||
|
[ "Solutions", "Solutions2", "Solutions3" ]
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|