]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Adding group and pool name to service name
authorAfreen Misbah <afreen23.git@gmail.com>
Wed, 11 Sep 2024 16:03:31 +0000 (21:33 +0530)
committerAfreen Misbah <afreen23.git@gmail.com>
Mon, 16 Sep 2024 16:56:10 +0000 (22:26 +0530)
commite0e467a7a2011c991e487ab848750b59d79adc3f
tree76cca0e1f90778052d4dd30d61739fbd09d0d186
parenta2c6b20e791bec085f324144ffab00b90857e662
mgr/dashboard: Adding group and pool name to service name

- Pre-populating the service name field with the format `nvmeof.<pool_name>.<group_name>`.
- This can be changed by user but by default this value will be there.
- This will help user to quickly fill form and proceed hence improving usability.
- cephadm also uses this format as of now this convention so it will make UI aligned with CLI experience

- updates unit tests to improve coverage

- hides`count` values as that is not needed for 'nvmeof' only hosts and labels required.

Fixes https://tracker.ceph.com/issues/68065

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts
src/pybind/mgr/dashboard/frontend/src/testing/unit-test-helper.ts