mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
279 B
Ruby
17 lines
279 B
Ruby
module Fog
|
|
module Compute
|
|
class Libvirt
|
|
class Real
|
|
def create_domain(xml)
|
|
client.create_domain_xml(xml)
|
|
end
|
|
end
|
|
|
|
class Mock
|
|
def create_domain(xml)
|
|
::Libvirt::Domain.new()
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|