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.7.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.8 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.7 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.6 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.5 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.4 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.3 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.2 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.5.3 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.6.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.5.2 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.5.1 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.5.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.4.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.3.1 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.3.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.2.5 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.2.2 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.2.1 lib/fog/vsphere/requests/compute/modify_vm_controller.rb
fog-vsphere-3.2.0 lib/fog/vsphere/requests/compute/modify_vm_controller.rb