JobManager (hwx.inspire.JobManager)#
- class JobManager#
Bases:
object
# Name
Type
serverIds
property
# Name
Description
Registers a remote server.
get
()removeServer
(self, serverId)Ensures that a server configured with the given identifier is not registered.
useServer
(self, serverId, username=None, password=None, parallelRun=False)A context manager to use for running an analysis on specified server.
- addServer(serverId, host, port=22, **kwds)#
Registers a remote server.
- Parameters:
serverId (str) – The unique identifier for the server.
host (str) – The name or IP address of the remote host.
port (int) – The port number on the remote host that accepts this service.
- removeServer(serverId)#
Ensures that a server configured with the given identifier is not registered.
- Parameters:
serverId (str) – The unique identifier for the server.
- useServer(serverId, username=None, password=None, parallelRun=False)#
A context manager to use for running an analysis on specified server.
- Parameters:
serverId (str) – The unique identifier for the server.
username (str) – The authentication name on the remote host.
password (str) – The authentication word on the remote host.
parallelRun (bool) – If True, Analysis will run in parallel.