]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: consume mgr/nfs via mgr.remote()
authorSage Weil <sage@newdream.net>
Wed, 28 Jul 2021 14:29:47 +0000 (10:29 -0400)
committerAlfonso Martínez <almartin@redhat.com>
Mon, 18 Oct 2021 09:58:35 +0000 (11:58 +0200)
commit6e5a1eefd0b48614f7c95f86fd9fadab1b2b03fe
tree0335af75c80c94514942843f1c2554e5df09c46c
parent5db11d398856f1e5a93048865af3a8da8e128e8d
mgr/dashboard: consume mgr/nfs via mgr.remote()

Stop using the dashboard version of the Ganesha config classes; consume
mgr/nfs instead via remote().

mgr/nfs/export: return Export from _apply_export

Future callers will want this.

mgr/nfs: new module methods for dashboard consumption

Add some new methods that are easy for the dashboard API to consume.  These
are very similar to the CLI methods but do now have the @CLICommand and
related decorators, and have slightly different interfaces (e.g., returning
the created/modified Export dict).

mgr/dashboard: remove old ganesha code (and tests)

Fixes: https://tracker.ceph.com/issues/46493
Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/dashboard/controllers/nfsganesha.py
src/pybind/mgr/dashboard/services/ganesha.py [deleted file]
src/pybind/mgr/dashboard/tests/test_ganesha.py
src/pybind/mgr/nfs/cluster.py
src/pybind/mgr/nfs/export.py
src/pybind/mgr/nfs/module.py