models.gpfs_protection_source module

class models.gpfs_protection_source.GpfsProtectionSource(cluster=None, fileset=None, filesystem=None, name=None, mtype=None)[source]

Bases: object

Implementation of the ‘GpfsProtectionSource’ model.

Specifies a Protection Source in GPFS environment.

Attributes:

cluster (GpfsCluster): Specifies information about a GPFS Cluster. fileset (GpfsFileset): Specifies information about a fileset in a GPFS

file system.

filesystem (GpfsFilesystem): Specifies information about filesystem in

a GPFS Cluster.

name (string): Specifies a unique name of the Protection Source. mtype (TypeGpfsProtectionSourceEnum): Specifies the type of the entity

in an GPFS file system like ‘kCluster’, ‘kFilesystem’, or, ‘kFileset’. ‘kCluster’ indicates an GPFS Cluster. ‘kFilesystem’ indicates a top level filesystem on GPFS cluster. ‘kFileset’ indicates a fileset within a filesystem.

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.