Sha256: 45f5e3e6fe6b50f24eaeb9a52ee8cca5e931a1aec101535c5177dfeb6055c984

Contents?: true

Size: 535 Bytes

Versions: 4

Compression:

Stored size: 535 Bytes

Contents

module Fog
  module Compute
    class  XenServer

      class Real

        #
        # Puts the host into a state in which VMs can be started.
        #
        # @see http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=host
        #
        def enable_host( ref )
          @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "host.enable"}, ref)
        end

      end

      class Mock

        def enable_host( ref )
          Fog::Mock.not_implemented
        end

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fog-xenserver-0.0.1.alpha2 lib/fog/xenserver/requests/compute/enable_host.rb
fog-xenserver-0.0.1.alpha lib/fog/xenserver/requests/compute/enable_host.rb
fog-1.22.0 lib/fog/xenserver/requests/compute/enable_host.rb
fog-1.21.0 lib/fog/xenserver/requests/compute/enable_host.rb