]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-cephfs: use rados namespace for data isolation.
authorXiaoxi Chen <xiaoxchen@ebay.com>
Wed, 6 Apr 2016 14:45:02 +0000 (22:45 +0800)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Wed, 27 Apr 2016 17:26:40 +0000 (12:26 -0500)
commitb609017a52e3140e9ff6314b8d312a409af52a57
treef44beb1cda27f22f37813198533d4522b263a024
parent96b3726d74cb7bbcacdd22e0ab0fe233e4c4d829
python-cephfs: use rados namespace for data isolation.

As cephfs dir layout supports rados namespace in jewel, it would be
good to use rados namespace instead of pool, since it is free,
we always enforce namespace isolation for volumes.

The meaning of "data_isolated" flag changed a bit, it's no longer used
for security isolation, referring to physical isolation
(i.e. potentially using different OSDs).

Also, (de)authorize based on namespace.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 0e1d013ea690c18f7fa6e2a19500f854a9949091)
src/pybind/ceph_volume_client.py