2014-05-27 15:26:52 -04:00
|
|
|
module Fog
|
|
|
|
module Compute
|
|
|
|
class Cloudstack
|
|
|
|
|
|
|
|
class Real
|
|
|
|
# Modify pool
|
|
|
|
#
|
|
|
|
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/modifyPool.html]
|
2014-06-06 14:50:08 -04:00
|
|
|
def modify_pool(algorithm, poolname, options={})
|
2014-05-27 15:26:52 -04:00
|
|
|
options.merge!(
|
|
|
|
'command' => 'modifyPool',
|
2014-06-06 14:50:08 -04:00
|
|
|
'algorithm' => algorithm,
|
|
|
|
'poolname' => poolname
|
2014-05-27 15:26:52 -04:00
|
|
|
)
|
|
|
|
request(options)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|