models_v2.remote_disk module

class models_v2.remote_disk.RemoteDisk(mount_path=None, tier=None, id=None, node_id=None, capacity_bytes=None, used_capacity_bytes=None, status=None, file_system_name=None, data_vip=None, node_ip=None)[source]

Bases: object

Implementation of the ‘Remote disk’ model.

Specifies the configuration of a remote disk.

Attributes:

id (long|int): Specifies the disk id. mount_path (string): Specifies the NFS mount path of the remote disk. node_id (long|int): Specifies the node id of the disk. If not

specified, the disk will be evenly distributed across all the nodes.

tier (TierEnum): Specifies the tier of the disk capacity_bytes (long|int): Specifies the capacity of the disk in

bytes.

used_capacity_bytes (long|int): Specifies the used capacity of remote

disk in bytes.

status (Status17Enum): Specifies the status of a remote disk. file_system_name (string): Specifies the name of filesystem on remote

storage.

data_vip (string): Specifies the data vip used to mount the

filesystem.

node_ip (string): Specifies ip address of the node that this remote

disk is mounted on.

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.