Skip to content

Commit bf48438

Browse files
authored
Merge pull request #506 from garlick/sched_writer
rfc20, rfc40: define scheduling.writer
2 parents 8d32692 + 0d9a533 commit bf48438

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

spec_20.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,19 @@ R Format
223223

224224
.. data:: scheduling
225225

226-
(*dictionary*, OPTIONAL) Scheduler-specific resource data which SHOULD NOT
227-
be interpreted other Flux components. When used, it SHALL ride along on the
226+
(*dictionary*, OPTIONAL) Scheduler-specific resource data with the
227+
following keys:
228+
229+
.. data:: writer
230+
231+
(*string*, OPTIONAL) If provided, a URI whose scheme identifies the
232+
scheduler that produced the :data:`scheduling` key. Remaining URI
233+
components SHALL be interpreted by the named scheduler. If not
234+
provided, a value of ``fluxion`` SHALL be assumed.
235+
236+
Remaining scheduler-specific keys SHOULD be ignored by other Flux components.
237+
238+
When used, :data:`scheduling` SHALL ride along on the
228239
resource acquisition protocol (RFC 28) and resource allocation protocol
229240
(RFC 27) so that it may be included in static configuration, allocated to
230241
jobs, and passed down a Flux instance hierarchy.

spec_40.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ scheduler within the ``scheduling`` key of *R*.
5656
Implementation
5757
**************
5858

59+
The :data:`writer` key of the :data:`scheduling` dict SHOULD be set to
60+
to ``fluxion:jgf`` when this specification is used to create the extended
61+
resource data. To support older scheduler data, RFC 20 states that
62+
if :data:`writer` is not not provided, a value of ``fluxion`` SHALL be
63+
assumed. This specification further specifies that if :data:`writer` or
64+
a URI path are not provided, the URI path SHALL be assumed to be ``jgf``.
65+
5966
The Fluxion resource graph representation allows RFC4-compliant schedulers to
6067
serialize any subset of graph resource data into its value and later
6168
deserialize this value with no data loss. The ``scheduling`` key contains a

0 commit comments

Comments
 (0)