示例#1
0
 def __init__(self, cloud, host=None, int_host=None, config_migrate=None):
     self.cloud = cloud
     self.host = host
     self.int_host = int_host
     self.config_migrate = config_migrate
     self.remote_exec_obj = SshUtil(self.cloud, self.config_migrate,
                                    self.host)
     super(RemoteExecution, self).__init__({})
示例#2
0
 def __init__(self, config_migrate, host):
     self.config_migrate = config_migrate
     self.host = host
     self.remote_exec_obj = SshUtil(self.host, self.config_migrate)
     super(RemoteExecution, self).__init__({})