Sha256: 8e4634b634ee56a181db8375356eb9d51477e9306274cbcc5008337b4ff0cae3

Contents?: true

Size: 435 Bytes

Versions: 7

Compression:

Stored size: 435 Bytes

Contents

module Fog
  module Compute
    class XenServer
      class Real
        def shutdown_server(ref, stype = false)
          Fog::Logger.deprecation "Use shutdown_clean and shutdown_hard for specific shutdown." unless stype == false
          @connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.shutdown" }, ref)
        end

        alias_method :shutdown_vm, :shutdown_server
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/shutdown_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/shutdown_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-xenserver-0.3.0/lib/fog/compute/xen_server/requests/shutdown_server.rb
fog-xenserver-0.3.0 lib/fog/compute/xen_server/requests/shutdown_server.rb
fog-xenserver-0.2.3 lib/fog/compute/xen_server/requests/shutdown_server.rb
fog-xenserver-0.2.2 lib/fog/compute/xen_server/requests/shutdown_server.rb
fog-xenserver-0.2.1 lib/fog/compute/xen_server/requests/shutdown_server.rb