Sha256: eede788fcfe9bdaaa1433bc03a2b44af5e7fe62152aa37ace2f7889c20e796ef
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Adds a new host. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addHost.html] def add_host(hypervisor, zoneid, url, password, podid, username, options={}) options.merge!( 'command' => 'addHost', 'hypervisor' => hypervisor, 'zoneid' => zoneid, 'url' => url, 'password' => password, 'podid' => podid, 'username' => username ) request(options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/add_host.rb |