Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 4
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