]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/ceph-authtool/cap-overwrite.t
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / test / cli / ceph-authtool / cap-overwrite.t
CommitLineData
7c673cae
FG
1 $ ceph-authtool kring --create-keyring --gen-key
2 creating kring
3
4 $ ceph-authtool --cap osd 'allow rx pool=swimming' kring
5 $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
6 \tcaps osd = "allow rx pool=swimming" (esc)
7
8# TODO it seems --cap overwrites all previous caps; is this wanted?
9 $ ceph-authtool --cap mds 'allow' kring
10 $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
11 \tcaps mds = "allow" (esc)