Sha256: ace1f7e7d5acc925a6592d7b5cd77cf62e8bd9b964327cea45abf5204a1885ee

Contents?: true

Size: 440 Bytes

Versions: 77

Compression:

Stored size: 440 Bytes

Contents

module Fog
  module Compute
    class  XenServer

      class Real
        
        def shutdown_server( vm_ref, stype = 'clean' )
          @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => "VM.#{stype}_shutdown"}, vm_ref)
        end
        
      end
      
      class Mock
        
        def shutdown_server( vm_ref )
          Fog::Mock.not_implemented
        end
        
      end

    end
  end
end

Version data entries

77 entries across 77 versions & 12 rubygems

Version Path
fog-test-again-1.6.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-test-me-1.10.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-parser-fix-1.6.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.10.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.9.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/xenserver/requests/compute/shutdown_server.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-sgonyea-1.8.1 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.8.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.7.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.6.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
fog-1.5.0 lib/fog/xenserver/requests/compute/shutdown_server.rb
rackspace-fog-1.4.2 lib/rackspace-fog/xenserver/requests/compute/shutdown_server.rb
fog-1.4.0 lib/fog/xenserver/requests/compute/shutdown_server.rb