]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: enable running modules in standby mode
authorJohn Spray <john.spray@redhat.com>
Wed, 16 Aug 2017 14:23:59 +0000 (10:23 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 12:20:21 +0000 (08:20 -0400)
commit25566d1edca638bd15b3ba3326ee7e4d3e573cbb
treec5b714525715610db90ad6cb8d902a1962e1e89e
parent70d45a6b93c92baf8d6a3b15765110a5384c5e60
mgr: enable running modules in standby mode

Modules can implement a second, separate class
that has access to very little state about the
system and can't implement commands.

They have just enough information to redirect
or forward incoming requests/traffic to the
active instance of the module on the active mgr.

This enables module authors to create modules
that end users can access via any (running) mgr node
at any time, rather than having to first work out
which mgr node is active.

Signed-off-by: John Spray <john.spray@redhat.com>
src/CMakeLists.txt