htcondor2 Members
- htcondor2.enable_debug(flags=None) None
Enable debug messages, optionally setting the debug flags.
- Parameters
flags (str) – Optional debug flags; defaults to
Nonewhich uses the default flags from TOOL_DEBUG. Or from whatever subsystem was set by calling set_subsystem.
- htcondor2.disable_debug()
Disable debugging output from HTCondor.
- htcondor2.enable_log()
Enable debugging output from HTCondor, where the output is sent to a file. The logging level is set by the
TOOL_DEBUGparameter, and the file byTOOL_LOG.
- htcondor2.log(level, message)
Log a message using the HTCondor logging subsystem.
- htcondor2.param
A
collections.abc.MutableMappingof the HTCondor configuration. Changes are reflected in the current process’s memory immediately, but are never written to disk. To change another process’s configuration (e.g., a running daemon’s), useRemoteParam.
- htcondor2.ping(location, authz=None, security=None) ClassAd
Send a ping command to an HTCondor daemon.
- Parameters
location (Union[str, ClassAd]) – A string specifying the daemon’s
sinfuladdress or aclassad2.ClassAddescribing the daemon as returned byCollector.locate().authz (str) – Authorization level or command to test.
security (SecurityContext) – SecurityContext to use for authentication.
- htcondor2.platform()
Returns the platform of HTCondor this module was compiled for.
- htcondor2.reload_config(root_config_file=None) None
Reload the HTCondor config, optionally using the given root_config_file.
- Parameters
root_config_file (str) – Optional path to root config file; defaults to
NoneIf no root_config_file is given, the default config files are reloaded. If root_config_file is specified, config is loaded from that file as if that file had been set as the CONDOR_CONFIG environment variable.
- htcondor2.send_command(ad, dc, target=None)
Send a command to an HTCondor daemon.
- Parameters
ad (classad2.ClassAd) – The daemon’s location.
dc (DaemonCommand) – The command.
target (str) – An optional parameter for the command.
- htcondor2.set_ready_state(state='Ready') None
Tell the condor_master that this daemon is in a state.
- Parameters
state (str) – The state this daemon is in; defaults to
"Ready".
- htcondor2.set_subsystem()
Set the subsystem name for the object.
The subsystem is primarily used for the parsing of the HTCondor configuration file.
- Parameters
name (str) – The subsystem name.
daemon_type (
SubsystemType) – The HTCondor daemon type. The default value ofSubsystemType.Autoinfers the type from the name parameter.
- htcondor2.version()
Returns the version of HTCondor this module is linked against.