Access_Type = RW;
Protocols = 4;
Attr_Expiration_Time = 0;
- # Delegations = R;
# Squash = root;
FSAL {
EXPORT
{
Export_ID=2;
-
Path = "/";
-
Pseudo = "/rgw";
-
Access_Type = RW;
-
squash = AllAnonymous;
-
Protocols = 4, 3;
-
Transports = TCP, UDP;
FSAL {
assert export.export_id == 1
assert export.path == "/"
assert export.pseudo == "/cephfs_a/"
- # assert export.tag is None
assert export.access_type == "RW"
# assert export.squash == "root_squash" # probably correct value
assert export.squash == "no_root_squash"
assert export.export_id == 2
assert export.path == "/"
assert export.pseudo == "/rgw"
- #assert export.tag is None
assert export.access_type == "RW"
# assert export.squash == "all_squash" # probably correct value
assert export.squash == "AllAnonymous"
'path': '/',
'cluster_id': self.cluster_id,
'pseudo': '/cephfs_a',
- 'tag': None,
'access_type': 'RW',
'squash': 'root_squash',
'security_label': True,
assert export.export_id == 1
assert export.path == "/"
assert export.pseudo == "/cephfs_a"
- #assert export.tag is None
assert export.access_type == "RW"
assert export.squash == "root_squash"
assert set(export.protocols) == {4}
'path': 'bucket',
'pseudo': '/rgw',
'cluster_id': self.cluster_id,
- 'tag': None,
'access_type': 'RW',
'squash': 'all_squash',
'security_label': False,
assert export.export_id == 2
assert export.path == "bucket"
assert export.pseudo == "/rgw"
- #assert export.tag is None
assert export.access_type == "RW"
assert export.squash == "all_squash"
assert set(export.protocols) == {4, 3}
'path': 'bucket',
'pseudo': '/rgw/bucket',
'cluster_id': self.cluster_id,
- 'tag': 'bucket_tag',
'access_type': 'RW',
'squash': 'all_squash',
'security_label': False,
'path': 'newbucket',
'pseudo': '/rgw/bucket',
'cluster_id': self.cluster_id,
- 'tag': 'bucket_tag',
'access_type': 'RO',
'squash': 'root',
'security_label': False,
'path': 'newestbucket',
'pseudo': '/rgw/bucket',
'cluster_id': self.cluster_id,
- 'tag': 'bucket_tag',
'access_type': 'RW',
'squash': 'root',
'security_label': False,
'path': 'bucket',
'pseudo': '/rgw/bucket',
'cluster_id': self.cluster_id,
- 'tag': 'bucket_tag',
'access_type': 'RW',
'squash': 'root',
'security_label': False,
'path': 'bucket2',
'pseudo': '/rgw/bucket2',
'cluster_id': self.cluster_id,
- 'tag': 'bucket_tag',
'access_type': 'RO',
'squash': 'root',
'security_label': False,