Sha256: 13ef59fa1d985347d244af4ea9761f660038c09b3604ac645cc3d06f4f65dfe6

Contents?: true

Size: 683 Bytes

Versions: 1

Compression:

Stored size: 683 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.3/root_admin/addBaremetalHost.html]
        def add_baremetal_host(zoneid, password, podid, username, hypervisor, url, options={})
          options.merge!(
            'command' => 'addBaremetalHost', 
            'zoneid' => zoneid, 
            'password' => password, 
            'podid' => podid, 
            'username' => username, 
            'hypervisor' => hypervisor, 
            'url' => url  
          )
          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_baremetal_host.rb