]> git.apps.os.sepia.ceph.com Git - ceph.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>
Thu, 4 Apr 2024 11:39:42 +0000 (17:09 +0530)
commitb3bec1630710403293d8878db2fea555a44556d8
tree16e30d39cadf585d1f9cac0089b208bde4a4f0d3
parentdac41fbaf2f06390bc839a472a25ed451b251251
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>
(cherry picked from commit 969a93d0dcf1848623b0bd581b8e2e9a5a556839)
qa/tasks/cephfs/caps_helper.py
qa/tasks/cephfs/test_multifs_auth.py