]> git-server-git.apps.pok.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>
Tue, 17 Sep 2024 06:32:40 +0000 (12:02 +0530)
commit45579f6800b0834c397397acf32e6a83375edf60
treed62068da4a3e77e394ffb1647d6fc67dba32e328
parent89d2f5ea5c3f4bf0250fc7787e7b3d842b8e8465
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>
(cherry picked from commit e0e467a7a2011c991e487ab848750b59d79adc3f)
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