Sha256: 2a6a778c15bce35aa846692193467a62fa61ca60a7f70c6008f15b56e015b7fc

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

module Fog
  module Compute
    class  XenServer

      class Real

        # http://bit.ly/8ZPyCN
        # VM.start( session, VM_ref, start_paused, force)
        def start_vm( vm_ref )
          @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => 'VM.start'}, vm_ref, false, false)
        end

      end

      class Mock

        def start_vm( vm_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/start_vm.rb
fog-xenserver-0.0.1.alpha lib/fog/xenserver/requests/compute/start_vm.rb
fog-1.22.0 lib/fog/xenserver/requests/compute/start_vm.rb
fog-1.21.0 lib/fog/xenserver/requests/compute/start_vm.rb