Skip to content

Commit 040f492

Browse files
authored
Merge pull request flux-framework#422 from garlick/rfc5_topicstr
rfc5: update module managment topic strings
2 parents 81fc74f + 89bde96 commit 040f492

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec_5.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Upon loading the module, the broker SHALL initialize the broker state
9595
to ``FLUX_MODSTATE_INIT``.
9696

9797
After initialization is complete, a module SHALL send an RPC to the
98-
``broker.module-status`` service with the FLUX_RPC_NORESPONSE flag to
98+
``module.status`` service with the FLUX_RPC_NORESPONSE flag to
9999
notify the broker that the module has started successfully. In order to
100100
ensure this happens for all modules, the RPC SHALL be sent via a
101101
pre-registered reactor watcher upon a module's first entry to the reactor
@@ -110,7 +110,7 @@ Example payload:
110110
}
111111
112112
After exiting the reactor and before exiting the module thread, the module
113-
SHALL send an RPC to ``broker.module-status`` indicating that it intends to
113+
SHALL send an RPC to ``module.status`` indicating that it intends to
114114
exit. The module SHALL wait for a response to this message before exiting
115115
``mod_main()``.
116116

@@ -123,7 +123,7 @@ Example payload:
123123
}
124124
125125
Finally once ``mod_main()`` has exited, the module thread SHALL send an RPC
126-
to ```broker.module-status`` with the FLUX_RPC_NORESPONSE flag including
126+
to ```module.status`` with the FLUX_RPC_NORESPONSE flag including
127127
the error status of the module: zero if ``mod_main()`` exited with a return
128128
code greater than or equal to zero, otherwise the value of ``errno``.
129129

@@ -138,7 +138,7 @@ Load Sequence
138138
=============
139139

140140
The broker module loader SHALL launch the module’s ``mod_main()`` in a
141-
new thread. The ``broker.insmod`` response is deferred until the module
141+
new thread. The ``module.load`` response is deferred until the module
142142
state transitions out of FLUX_MODSTATE_INIT. If it transitions immediately to
143143
FLUX_MODSTATE_EXITED, and the ``errnum`` value is nonzero, an error response
144144
SHALL be returned as described in RFC 3.
@@ -147,7 +147,7 @@ Unload Sequence
147147
===============
148148

149149
The broker module loader SHALL send a ``<service>.shutdown`` request to the
150-
module when the module loader receives a ``broker.rmmod`` request for the
150+
module when the module loader receives a ``module.remove`` request for the
151151
module. In response, the broker module SHALL exit ``mod_main()``, sending
152152
state transition messages as described above, and exit the module’s thread
153153
or process. The final state transition indicates to the broker that it MAY

0 commit comments

Comments
 (0)