Skip to content

Commit

Permalink
rfc43: support hostlist constraint
Browse files Browse the repository at this point in the history
Problem: It would be useful to fitler jobs based on the nodes assigned
to the job.

Support a "hostlist" constraint to filter jobs by specific hosts.
  • Loading branch information
chu11 committed Jan 16, 2024
1 parent 9734d88 commit 563f9aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec_43.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ based on the following constraint operators.
``results``
Designate one or more job results (*string* or *integer*) and match jobs with those results. Both bitmasks (including multiple results) and string names of the results SHALL be accepted.

``hostlist``
Designate one or more nodes in RFC 29 Hostlist format (*string*) and match jobs assigned to those nodes. The number of nodes specified in the ``hostlist`` consraint SHALL NOT exceed the size of the instance or 1024, whichever is larger.

``t_submit``, ``t_depend``, ``t_run``, ``t_cleanup``, ``t_inactive``
Designate one timestamp with a REQUIRED prefixed comparison operator (*string*). The accepted comparison operators SHALL be `>`, `<`, `>=`, and `<=`, for greater than, less than, greater than or equal, or less than or equal. A timestamp operator SHALL match jobs where the respective timestamp matches against the provided timestamp.

Expand Down

0 comments on commit 563f9aa

Please sign in to comment.