Document the HTTP interface to rug-ctl.

Change-Id: I53cdf73b81054e3ef754075b7d17ce2617d5a164
This commit is contained in:
Ryan Petrello 2015-04-24 15:04:56 -04:00
parent 5d41613cb3
commit 66a368f20c

View File

@ -69,6 +69,17 @@ a running :py:mod:`akanda.rug` via AMQP::
current state of its worker processes and the state machines current state of its worker processes and the state machines
under their management. under their management.
:program:`akanda-rug` also exposes an RPC API on the management network,
which allows non-interactive `rug-ctl` commands to be issued via HTTP, e.g.,
::
$ curl -X PUT -g6 "http://[fdca:3ba5:a17a:acda::1]:44250/poll/"
$ curl -X PUT -g6 "http://[fdca:3ba5:a17a:acda::1]:44250/workers/debug/"
$ curl -X PUT -g6 "http://[fdca:3ba5:a17a:acda::1]:44250/router/rebuild/<ID>"
akanda-debug-router akanda-debug-router
+++++++++++++++++++ +++++++++++++++++++