Sha256: 477995dcce1c71cb49a5fbb2c1f14ddd81184d4c7a978b7f3c64208ef986ec80
Contents?: true
Size: 779 Bytes
Versions: 28
Compression:
Stored size: 779 Bytes
Contents
module Fog module Compute class Cloudstack class Real # add a baremetal host # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addBaremetalHost.html] def add_baremetal_host(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'addBaremetalHost') else options.merge!('command' => 'addBaremetalHost', 'podid' => args[0], 'url' => args[1], 'hypervisor' => args[2], 'username' => args[3], 'zoneid' => args[4], 'password' => args[5]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems