Sha256: 505eb3ab5575166d61bc4a168f629e876f16c029487134cb12b6af23f9cd1475

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Attempts Migration of a system virtual machine to the host specified.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/migrateSystemVm.html]
        def migrate_system_vm(virtualmachineid, hostid, options={})
          options.merge!(
            'command' => 'migrateSystemVm', 
            'virtualmachineid' => virtualmachineid, 
            'hostid' => hostid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/migrate_system_vm.rb