Sha256: fb9dc2ba88a7e3020951df08f6ceb9defeb9fa74b45f5542fe0ab40680dfd5de

Contents?: true

Size: 519 Bytes

Versions: 23

Compression:

Stored size: 519 Bytes

Contents

module Fog
  module Vsphere
    class Compute
      class Real
        def add_vm_controller(controller)
          vm_reconfig_hardware('instance_uuid' => controller.server_id, 'hardware_spec' => { 'deviceChange' => [create_controller(controller)] })
        end
      end

      class Mock
        def add_vm_controller(controller)
          vm_reconfig_hardware('instance_uuid' => controller.server_id, 'hardware_spec' => { 'deviceChange' => [create_controller(controller)] })
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fog-vsphere-3.1.1 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.1.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.0.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb