Sha256: f06a52bbd7f85101b66bf142e18696a94c98e76837cfddd8611c5c4c0871532b

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Adds a new cluster
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addCluster.html]
        def add_cluster(podid, clustername, clustertype, hypervisor, zoneid, options={})
          options.merge!(
            'command' => 'addCluster', 
            'podid' => podid, 
            'clustername' => clustername, 
            'clustertype' => clustertype, 
            'hypervisor' => hypervisor, 
            'zoneid' => zoneid  
          )
          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_cluster.rb