]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: introduce MgrModule.OPTIONS field
authorJohn Spray <john.spray@redhat.com>
Mon, 16 Apr 2018 21:29:08 +0000 (17:29 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 11:29:47 +0000 (07:29 -0400)
commitbca1bb43c60299ef3f4c5aeb650ceaa8bafef25a
treee3785cc7907ec197d30c1a14f7851a7ae7b80aa4
parentc928983340029f95227882d340b0be0d4ca343e9
mgr: introduce MgrModule.OPTIONS field

Now is a good time to start requiring
modules to explicitly list their configuration
settings, so that we can do a proper job of
migrating configuration from old config-key style,
i.e. knowing what's a config setting and what's
a KV store item.

Throw an exception if a module tries to
access a setting outside their schema, so
that we have some confidence that the schema
is complete.

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/mgr_module.py