Code Review
/
stor4nfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
src
/
test
/
cli
/
ceph-authtool
/
cap-bin.t
diff --git a/src/ceph/src/test/cli/ceph-authtool/cap-bin.t
b/src/ceph/src/test/cli/ceph-authtool/cap-bin.t
new file mode 100644
(file)
index 0000000..
6ec7677
--- /dev/null
+++ b/
src/ceph/src/test/cli/ceph-authtool/cap-bin.t
@@ -0,0
+1,6
@@
+ $ ceph-authtool kring --create-keyring --gen-key
+ creating kring
+
+ $ ceph-authtool --cap osd 'allow rx pool=swimming' kring
+ $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
+ \tcaps osd = "allow rx pool=swimming" (esc)