models_v2.nis_netgroup module

class models_v2.nis_netgroup.NisNetgroup(name=None, domain=None, nfs_access=None, nfs_squash=None)[source]

Bases: object

Implementation of the ‘NisNetgroup’ model.

Specifies an NIS netgroup.

Attributes:

name (string): Specifies the netgroup name. domain (string): Specifies the domain name for the netgroup. nfs_access (NfsAccess1Enum): Specifies NFS protocol acess level for

clients from the netgroup.

nfs_squash (NfsSquashEnum): Specifies which nfsSquash Mounted. ‘kNone’

mounts none. ‘kRootSquash’ mounts nfsRootSquash. Whether clients from this subnet can mount as root on NFS. ‘kAllSquash’ mounts nfsAllSquash. Whether all clients from this subnet can map view with view_all_squash_uid/view_all_squash_gid configured in the view.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.