mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00

* Added StorageRepository.scan method * set_attribute request is now generic and can be used by any model * Added VDI.set_attribute method
22 lines
376 B
Ruby
22 lines
376 B
Ruby
module Fog
|
|
module Compute
|
|
class XenServer
|
|
|
|
class Real
|
|
|
|
def scan_sr( ref, extra_args = {})
|
|
@connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => 'SR.scan'}, ref)
|
|
end
|
|
|
|
end
|
|
|
|
class Mock
|
|
|
|
def scan_sr(ref, extra_args = {})
|
|
Fog::Mock.not_implemented
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|