]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: CephFS quota management
authorStephan Müller <smueller@suse.com>
Wed, 6 Nov 2019 16:47:47 +0000 (17:47 +0100)
committerStephan Müller <smueller@suse.com>
Fri, 13 Dec 2019 14:15:34 +0000 (15:15 +0100)
commit16bae1a3e30f3da87dda674ca599b703ec9d6ebe
treee5438c056810c89c6f99d66f89aa394078d4cf8c
parent481e3208efdca36d0cf5bcf1b6da8afe905a1889
mgr/dashboard: CephFS quota management

Now both CephFS quotas can be changed with a validation against the next
tree maximum in the file tree, that prevents setting the quotas in a way
that would not be usable.

Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
12 files changed:
qa/tasks/mgr/dashboard/test_cephfs.py
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/cephfs-directory-models.ts
src/pybind/mgr/dashboard/services/cephfs.py