Exemple #1
0
 def __init__(self, src, dst, vm_name, vm_uuid):
     Poller.__init__(self)
     assert hasattr(src, 'fileno')
     self.command_src = src
     self.destination = dst
     self.vm_name = vm_name
     self.vm_uuid = vm_uuid
Exemple #2
0
 def __init__(self, src, dst, vm_name, vm_uuid):
     Poller.__init__(self)
     assert hasattr(src, 'fileno')
     self.command_src    = src
     self.destination    = dst
     self.vm_name        = vm_name
     self.vm_uuid        = vm_uuid
Exemple #3
0
 def __init__(self, host, admin_port, vm_name, src, dst, lock_mode):
     Poller.__init__(self)
     self.admin_port = admin_port
     self.host       = host
     self.vm_name    = vm_name
     # needed for the poller to work
     assert hasattr(src, "fileno")
     self.command_source = src
     self.destination    = dst
     self.lock_mode      = lock_mode
 def __init__(self, host, admin_port, vm_name, src, dst, lock_mode):
     Poller.__init__(self)
     self.admin_port = admin_port
     self.host = host
     self.vm_name = vm_name
     # needed for the poller to work
     assert hasattr(src, "fileno")
     self.command_source = src
     self.destination = dst
     self.lock_mode = lock_mode