Revision 28917152 src/vmm_mad/ssh/one_vmm_ssh.rb

View differences:

src/vmm_mad/ssh/one_vmm_ssh.rb
38 38
class SshDriver < VirtualMachineDriver
39 39

  
40 40
    # SshDriver constructor
41
    def initialize(hypervisor, threads, retries, local_actions)
42
        super(threads, true, retries, "vmm/#{hypervisor}", local_actions)
41
    def initialize(hypervisor, options={})
42
        @options={
43
            :threaded => true
44
        }.merge!(options)
45
        
46
        super("vmm/#{hypervisor}", @options)
43 47

  
44 48
        @hypervisor  = hypervisor
45 49
    end
......
128 132
    exit(-1)
129 133
end
130 134

  
131
ssh_driver = SshDriver.new(hypervisor, threads, retries, local_actions)
135
ssh_driver = SshDriver.new(hypervisor,
136
                :concurrency => threads,
137
                :retries => retries,
138
                :local_actions => local_actions)
139

  
132 140
ssh_driver.start_driver

Also available in: Unified diff