Class RootSquashConfiguration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • identitySquash

        public RootSquashConfiguration.Builder identitySquash​(RootSquashConfiguration.IdentitySquash identitySquash)
        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.

        Parameters:
        identitySquash - the value to set
        Returns:
        this builder
      • squashUid

        public RootSquashConfiguration.Builder squashUid​(Long squashUid)
        The UID value to remap to when squashing a client UID.

        See identitySquash for more details. If unspecified, defaults to 65534.

        Parameters:
        squashUid - the value to set
        Returns:
        this builder
      • squashGid

        public RootSquashConfiguration.Builder squashGid​(Long squashGid)
        The GID value to remap to when squashing a client GID.

        See identitySquash for more details. If unspecified, defaults to 65534.

        Parameters:
        squashGid - the value to set
        Returns:
        this builder
      • clientExceptions

        public RootSquashConfiguration.Builder clientExceptions​(List<String> clientExceptions)
        A list of NIDs allowed with this lustre file system not to be squashed.

        A maximum of 10 is allowed.

        Parameters:
        clientExceptions - the value to set
        Returns:
        this builder