2014-05-27 15:26:52 -04:00
|
|
|
module Fog
|
|
|
|
module Compute
|
|
|
|
class Cloudstack
|
|
|
|
|
|
|
|
class Real
|
|
|
|
# Copies an iso from one zone to another.
|
|
|
|
#
|
|
|
|
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/copyIso.html]
|
2014-08-26 11:04:07 -04:00
|
|
|
def copy_iso(id, sourcezoneid, destzoneid, options={})
|
2014-05-27 15:26:52 -04:00
|
|
|
options.merge!(
|
|
|
|
'command' => 'copyIso',
|
2014-08-26 11:04:07 -04:00
|
|
|
'id' => id,
|
|
|
|
'sourcezoneid' => sourcezoneid,
|
|
|
|
'destzoneid' => destzoneid
|
2014-05-27 15:26:52 -04:00
|
|
|
)
|
|
|
|
request(options)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|