From f8c86097fb2a0ef962f126b4109e3763aa2f8498 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 filter 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 f1b3843..e7208e2 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 job list module MAY limit the number of entries in a hostlist constraint to prevent long constraint match times. + ``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.