]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add clay plugin support 37440/head
authorStephan Müller <smueller@suse.com>
Wed, 23 Sep 2020 09:16:44 +0000 (11:16 +0200)
committerStephan Müller <smueller@suse.com>
Tue, 29 Sep 2020 07:59:14 +0000 (09:59 +0200)
commitb3fd05bbc568cb775d25032ce87ea8dbb5106b3a
tree21592a2c0ef8add0da36cf2ad9387205e8e3c424
parent58653523872ae0b69ba474de4fa6c1bfaea4cc69
mgr/dashboard: Add clay plugin support

The erasure code plugin "clay" is now supported by the dashboard. Now a
clay based profile can be created in the ec profile creation modal
dialog which can be found in the pool form.

The defaults of the plugin are calculated or preselected and shown in the
dashboard, therefore things are made mandatory even if they are not on the
cli, but as they automatically set the user doesn't have to set them,
but sees the defaults instantly before creating the profile.
(This is the same behavior that is used for all other supported
plugins.)

Fixes: https://tracker.ceph.com/issues/44433
Signed-off-by: Stephan Müller <smueller@suse.com>
doc/rados/operations/erasure-code-clay.rst
src/pybind/mgr/dashboard/controllers/erasure_code_profile.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts