Negotiator
Class
- class htcondor2.Negotiator(location=None)
The negotiator client. Query and manage resource usage.
Consult User Priorities and Negotiation before using these functions.
- Parameters
location (
ClassAd
) – A ClassAd with aMyAddress
attribute, such as might be returned byhtcondor2.Collector.locate()
.None
means the default pool negotiator.
- deleteUser(user)
Delete all records of an accounting principal from the negotiator’s accounting.
- getPriorities(rollup=False)
Retrieve the pool accounting information as a list of accounting ClassAds.
- getResourceUsage(user)
Retrieve the resources (slots) assigned to the specificied accounting principal as a list of ClassAds. The names of the attributes and their types are currently undocumented.
- resetAllUsage()
Set the accumulated usage of all accounting principals to zero.
- resetUsage(user)
Set the accumulated usage of the specified accounting principal to zero.
- setBeginUsage(user, when)
Set the beginning of the specified accounting principal’s usage.
- setCeiling(user, ceiling)
Set the submitter ceiling for the specific accounting principal.
- setFactor(user, factor)
Set the priority factor of the specified accounting principal.
- setLastUsage(user, when)
Set the end of the specified accounting principal’s usage.
- setPriority(user, priority)
Set the priority of the specified accounting principal.