Sha256: 27e3dc9ab21fd8b4f5b1b1742490ee53ace096eeb71f0c02b293855de8eddd7e

Contents?: true

Size: 782 Bytes

Versions: 1

Compression:

Stored size: 782 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # add a baremetal pxe server
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addBaremetalPxeKickStartServer.html]
        def add_baremetal_pxe_kick_start_server(username, url, physicalnetworkid, password, pxeservertype, tftpdir, options={})
          options.merge!(
            'command' => 'addBaremetalPxeKickStartServer', 
            'username' => username, 
            'url' => url, 
            'physicalnetworkid' => physicalnetworkid, 
            'password' => password, 
            'pxeservertype' => pxeservertype, 
            'tftpdir' => tftpdir  
          )
          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_pxe_kick_start_server.rb