]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: add more helper methods to caps_helper.py
authorRishabh Dave <ridave@redhat.com>
Mon, 13 Mar 2023 10:46:13 +0000 (16:16 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 24 Mar 2023 06:02:58 +0000 (11:32 +0530)
commit969a93d0dcf1848623b0bd581b8e2e9a5a556839
tree2ceb96d0f023144d751a83f647f040633ce442fe
parent3203d6005ed9c5f8a30d20d47cac1caf104c277a
qa/cephfs: add more helper methods to caps_helper.py

Add methods that will accept read/write permissions, CephFS names and
CephFS mount point and in return will generate string form of MON, OSD
and MDS caps exactly as it is reported in Ceph keyrings.

Replace similar code in test_multifs_auth.py with calls to these helper
methods.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/caps_helper.py
qa/tasks/cephfs/test_multifs_auth.py