예제 #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
예제 #2
0
파일: test.py 프로젝트: faxm0dem/vSPC.py
 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
예제 #3
0
파일: admin.py 프로젝트: faxm0dem/vSPC.py
 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
예제 #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