RootSquashConfiguration

class oci.lustre_file_storage.models.RootSquashConfiguration(**kwargs)

Bases: object

An administrative feature that allows you to restrict root level access from clients that try to access your Lustre file system as root.

Attributes

IDENTITY_SQUASH_NONE A constant which can be used with the identity_squash property of a RootSquashConfiguration.
IDENTITY_SQUASH_ROOT A constant which can be used with the identity_squash property of a RootSquashConfiguration.
client_exceptions Gets the client_exceptions of this RootSquashConfiguration.
identity_squash Gets the identity_squash of this RootSquashConfiguration.
squash_gid Gets the squash_gid of this RootSquashConfiguration.
squash_uid Gets the squash_uid of this RootSquashConfiguration.

Methods

__init__(**kwargs) Initializes a new RootSquashConfiguration object with values from keyword arguments.
IDENTITY_SQUASH_NONE = 'NONE'

A constant which can be used with the identity_squash property of a RootSquashConfiguration. This constant has a value of “NONE”

IDENTITY_SQUASH_ROOT = 'ROOT'

A constant which can be used with the identity_squash property of a RootSquashConfiguration. This constant has a value of “ROOT”

__init__(**kwargs)

Initializes a new RootSquashConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • identity_squash (str) – The value to assign to the identity_squash property of this RootSquashConfiguration. Allowed values for this property are: “NONE”, “ROOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • squash_uid (int) – The value to assign to the squash_uid property of this RootSquashConfiguration.
  • squash_gid (int) – The value to assign to the squash_gid property of this RootSquashConfiguration.
  • client_exceptions (list[str]) – The value to assign to the client_exceptions property of this RootSquashConfiguration.
client_exceptions

Gets the client_exceptions of this RootSquashConfiguration. A list of NIDs allowed with this lustre file system not to be squashed. A maximum of 10 is allowed.

Returns:The client_exceptions of this RootSquashConfiguration.
Return type:list[str]
identity_squash

Gets the identity_squash of this RootSquashConfiguration. Used when clients accessing the Lustre file system have their UID and GID remapped to squashUid and squashGid. If ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to NONE.

Allowed values for this property are: “NONE”, “ROOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The identity_squash of this RootSquashConfiguration.
Return type:str
squash_gid

Gets the squash_gid of this RootSquashConfiguration. The GID value to remap to when squashing a client GID. See identitySquash for more details. If unspecified, defaults to 65534.

Returns:The squash_gid of this RootSquashConfiguration.
Return type:int
squash_uid

Gets the squash_uid of this RootSquashConfiguration. The UID value to remap to when squashing a client UID. See identitySquash for more details. If unspecified, defaults to 65534.

Returns:The squash_uid of this RootSquashConfiguration.
Return type:int