Sha256: a294bf3486beea953b010f369d912c9899f22dd180c075c0594184bb3bc4e2bd

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

module Fog
  module Compute
    class XenServer

      class Real

        require 'fog/xenserver/parser'

        def set_affinity( host_ref )
          @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => 'VM.set_affinity'}, host_ref)
        end

      end

      class Mock

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