From 563f9aa07b65c8ec6a8e3b3785d0e1154a79c7de Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Sat, 13 Jan 2024 21:50:39 -0800 Subject: [PATCH] rfc43: support hostlist constraint 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. --- spec_43.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec_43.rst b/spec_43.rst index 9f07e5d..aac1afe 100644 --- a/spec_43.rst +++ b/spec_43.rst @@ -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.