]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: feature-toggles: add plugin support
authorErnesto Puerta <epuertat@redhat.com>
Fri, 25 Jan 2019 20:17:10 +0000 (21:17 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 6 Feb 2019 17:08:00 +0000 (18:08 +0100)
commit356a067300fafcf77add85d3151877bb5af09308
treedfda7a9a73bb20ab037824c88c1129e07b238ce2
parent006b0188afaa1e69a157c9fb09c6b59a3b69d0da
mgr/dashboard: feature-toggles: add plugin support

Provide plugin infrastructure and a minimal set of hooks. As
python-pluggy library is not yet available for all the distros that Ceph
is targeted at, a minimal implementation has been provided.

Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/plugins/__init__.py [new file with mode: 0644]
src/pybind/mgr/dashboard/plugins/interfaces.py [new file with mode: 0644]
src/pybind/mgr/dashboard/plugins/pluggy.py [new file with mode: 0644]