]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/dashboard: create DBCLICommand, use throughout
authorSamuel Just <sjust@redhat.com>
Mon, 24 Nov 2025 17:37:41 +0000 (09:37 -0800)
committerNitzan Mordechai <nmordech@ibm.com>
Fri, 17 Apr 2026 06:13:47 +0000 (06:13 +0000)
commit0c4f0c8b043f0013f9b60e9fb354bbfc7dd432f0
treeee594d55a1b9019bb5d777ea5f3df315345f69e1
parenta9ebce234e6b21e783576ca3d8d4b8ca4177d006
pybind/mgr/dashboard: create DBCLICommand, use throughout

Also moves Command from mgr_module to DBCommand in dashboard/cli.py
since dashboard is the only user and this way it can directly use
DBCLICommand.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 9fe5a643f433127e0e59b6ba04685aa60de5588b)
13 files changed:
src/pybind/mgr/dashboard/cli.py [new file with mode: 0644]
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/plugins/motd.py
src/pybind/mgr/dashboard/plugins/plugin.py
src/pybind/mgr/dashboard/services/access_control.py
src/pybind/mgr/dashboard/services/iscsi_cli.py
src/pybind/mgr/dashboard/services/nvmeof_cli.py
src/pybind/mgr/dashboard/services/sso.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_access_control.py
src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py
src/pybind/mgr/mgr_module.py