This command displays all view policies.
Usage
viewpolicy list [--name POLICY_NAME] [--vertical] [--nfs-acl] [--smb-acl] [--advanced] [--s3]
Options
|
Filter by view policy name |
|
Displays the list vertically with all fields. |
|
Includes NFS ACL fields in the output. |
|
Includes SMB ACL fields in the output. |
|
Includes advanced fields in the output. |
|
Includes S3 visibility fields in the output. |
Examples
vcli: admin> viewpolicy list +----+----------------------------------------------------+----------------+-----------+-------------+ | ID | Name | Cluster | Flavor | Auth-source | +----+----------------------------------------------------+----------------+-----------+-------------+ | 1 | default | vast-cluster-1 | NFS | RPC | | 4 | s3_default_policy | vast-cluster-1 | S3_NATIVE | RPC | +----+----------------------------------------------------+----------------+-----------+-------------+ vcli: admin> viewpolicy list --nfs-acl +----+---------+------------+--------+-------------+----------------+---------------+------------------+---------------+-----------------+----------------+ | ID | Name | Cluster | Flavor | Auth-source | NFS-read-write | NFS-read-only | NFS-trash-access | NFS-no-squash | NFS-root-squash | NFS-all-squash | +----+---------+------------+--------+-------------+----------------+---------------+------------------+---------------+-----------------+----------------+ | 1 | default | vast16-kfs | NFS | RPC | ['*'] | [] | [] | [] | ['*'] | [] | +----+---------+------------+--------+-------------+----------------+---------------+------------------+---------------+-----------------+----------------+ vcli: admin> viewpolicy list --advanced +----+---------+------------+--------+-----------------------------+---------------+--------------------------+----------------------------+-----------------+-------------+--------------------+------------------+-------------------+------------------------------+ | ID | Name | Cluster | Flavor | NFS-return-open-permissions | NFS-POSIX-ACL | Default file permissions | Default folder permissions | Gid-inheritance | Path-length | Allowed-characters | Use-32bit-fileid | Expose-id-in-fsid | Nfs-minimal-protection-level | +----+---------+------------+--------+-----------------------------+---------------+--------------------------+----------------------------+-----------------+-------------+--------------------+------------------+-------------------+------------------------------+ | 1 | default | vast16-kfs | NFS | False | No | 644 | 755 | LINUX | LCD | LCD | False | False | SYSTEM | +----+---------+------------+--------+-----------------------------+---------------+--------------------------+----------------------------+-----------------+-------------+--------------------+------------------+-------------------+------------------------------+ vcli: admin> viewpolicy list --s3 +----+----------------------------------------------------+-----------+---------------+----------------------+ | ID | Name | Flavor | S3-visibility | S3-visibility-groups | +----+----------------------------------------------------+-----------+---------------+----------------------+ | 1 | default | NFS | [] | [] | | 4 | s3_default_policy | S3_NATIVE | [] | [] | | 3 | tmp_policy_prefix-ae0eedb416824c6897e9b38ecc73f41b | NFS | [] | [] | +----+----------------------------------------------------+-----------+---------------+----------------------+ vcli: admin> viewpolicy list --vertical +------------------------------+-------------------+ | ID | 4 | | Name | s3_default_policy | | Cluster | vast1 | | Atime-frequency | None | | NFS-read-write | ['*'] | | NFS-read-only | [] | | NFS-trash-access | [] | | Auth-source | RPC | | NFS-POSIX-ACL | No | | NFS-return-open-permissions | False | | NFS-no-squash | [] | | NFS-root-squash | ['*'] | | NFS-all-squash | [] | | Default file permissions | 644 | | Default folder permissions | 755 | | Gid-inheritance | LINUX | | Flavor | S3_NATIVE | | Path-length | NPL | | Allowed-characters | NPL | | Use-32bit-fileid | False | | Expose-id-in-fsid | False | | VIP Pools | [] | | Nfs-minimal-protection-level | SYSTEM | | Apple sid | True | +------------------------------+-------------------+ +------------------------------+------------+ | ID | 1 | | Name | default | | Cluster | vast110-az | | Atime-frequency | None | | NFS-read-write | ['*'] | | NFS-read-only | [] | | NFS-trash-access | [] | | Auth-source | RPC | | NFS-POSIX-ACL | No | | NFS-return-open-permissions | False | | NFS-no-squash | ['*'] | | NFS-root-squash | [] | | NFS-all-squash | [] | | Default file permissions | 644 | | Default folder permissions | 755 | | Gid-inheritance | LINUX | | Flavor | NFS | | Path-length | LCD | | Allowed-characters | LCD | | Use-32bit-fileid | False | | Expose-id-in-fsid | False | | VIP Pools | [] | | Nfs-minimal-protection-level | SYSTEM | | Apple sid | True | +------------------------------+------------+ +------------------------------+----------------------------------------------------+ | ID | 3 | | Name | tmp_policy_prefix-ae0eedb416824c6897e9b38ecc73f41b | | Cluster | vast1 | | Atime-frequency | None | | NFS-read-write | ['*'] | | NFS-read-only | [] | | NFS-trash-access | [] | | Auth-source | RPC | | NFS-POSIX-ACL | No | | NFS-return-open-permissions | False | | NFS-no-squash | [] | | NFS-root-squash | ['*'] | | NFS-all-squash | [] | | Default file permissions | 644 | | Default folder permissions | 755 | | Gid-inheritance | LINUX | | Flavor | NFS | | Path-length | LCD | | Allowed-characters | LCD | | Use-32bit-fileid | False | | Expose-id-in-fsid | False | | VIP Pools | [] | | Nfs-minimal-protection-level | NONE | | Apple sid | True | +------------------------------+----------------------------------------------------+
Comments
0 comments
Article is closed for comments.