Feature #50320: mgr/dashboard: Lean Dashboard
mgr: expose Module COMMANDs and metadata in MgrMap::ModuleInfo.module_options
By means of the metadata provided by each Mgr module's
module_info, dashboard is able to automatically expose a UI for managing every Mgr-module. That means new or modified modules become displayed in the dashboard with no extra cost (see https://tracker.ceph.com/issues/37934).
However, there's a part still missing there: while every Mgr-module is made up of
OPTIONS (already exposed in
std::map<std::string,ModuleOption> module_options), the
COMMANDS handled by a module are not described in the MgrMap.
This is a request to extend (if not yet there) MgrMap to include those commands too (there's some code re-usable from
For a use case for this request, refer to https://tracker.ceph.com/issues/36291 (exposing Balancer COMMANDS in dahsboard).