Class StorageAggregate

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.StorageAggregate
All Implemented Interfaces:
Serializable

public class StorageAggregate extends MorpheusModel
Representation of a Morpheus StorageAggregate database object within the Morpheus platform. A StorageAggregate models the aggregation of a set of member StorageVolumes that are pooled together and expose a set of volumes. This can model relationships like RAID, ZFS zpools, LVM volume groups, etc.
Since:
1.3.0
See Also:
  • Field Details

    • uuid

      protected String uuid
      Unique identifier (UUID) for this aggregate
    • internalId

      protected String internalId
      Internal identifier used by the storage system
    • externalId

      protected String externalId
      External identifier used by the storage system
    • refType

      protected String refType
      The type of the reference object (e.g. ComputeServer)
    • refId

      protected Long refId
      The ID of the reference object
    • name

      protected String name
      The name of the storage aggregate
    • description

      protected String description
      Description of the storage aggregate
    • type

      protected StorageAggregateType type
      The type of storage aggregate (e.g., RAID, ZFS, LVM)
    • volumes

      protected List<StorageVolume> volumes
      Volumes that are exposed/provided by this aggregate (one-to-many)
    • members

      protected List<StorageVolume> members
      Volumes that make up the storage of this aggregate (one-to-many)
  • Constructor Details

    • StorageAggregate

      public StorageAggregate()
  • Method Details

    • getUuid

      public String getUuid()
      Gets the UUID for this storage aggregate
      Returns:
      uuid
    • setUuid

      public void setUuid(String uuid)
      Sets the UUID for this storage aggregate
      Parameters:
      uuid - the unique identifier
    • getInternalId

      public String getInternalId()
      Gets the internal ID used by the storage system
      Returns:
      internalId
    • setInternalId

      public void setInternalId(String internalId)
      Sets the internal ID used by the storage system
      Parameters:
      internalId - the internal identifier
    • getExternalId

      public String getExternalId()
      Gets the external ID used by the storage system
      Returns:
      externalId
    • setExternalId

      public void setExternalId(String externalId)
      Sets the external ID used by the storage system
      Parameters:
      externalId - the external identifier
    • getRefType

      public String getRefType()
      Gets the reference type
      Returns:
      refType
    • setRefType

      public void setRefType(String refType)
      Sets the reference type
      Parameters:
      refType - the reference type
    • getRefId

      public Long getRefId()
      Gets the reference ID
      Returns:
      refId
    • setRefId

      public void setRefId(Long refId)
      Sets the reference ID
      Parameters:
      refId - the reference ID
    • getName

      public String getName()
      Gets the name of the storage aggregate
      Returns:
      name
    • setName

      public void setName(String name)
      Sets the name of the storage aggregate
      Parameters:
      name - the aggregate name
    • getDescription

      public String getDescription()
      Gets the description of the storage aggregate
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Sets the description of the storage aggregate
      Parameters:
      description - the aggregate description
    • getType

      public StorageAggregateType getType()
      Gets the type of storage aggregate
      Returns:
      type (e.g., RAID, ZFS, LVM)
    • setType

      public void setType(StorageAggregateType type)
      Sets the type of storage aggregate
      Parameters:
      type - the aggregate type
    • getVolumes

      public List<StorageVolume> getVolumes()
      Gets the list of volumes exposed/provided by this aggregate.

      These are the volumes available for use that are backed by this aggregate's storage pool.

      Returns:
      list of exposed volumes
    • setVolumes

      public void setVolumes(List<StorageVolume> volumes)
      Sets the list of volumes exposed/provided by this aggregate
      Parameters:
      volumes - list of exposed volumes
    • getMembers

      public List<StorageVolume> getMembers()
      Gets the list of volumes that make up the storage of this aggregate.

      These are the physical volumes/disks that are pooled together to form this aggregate's storage capacity. For example, in a RAID array, these would be the individual disks; in a ZFS zpool, these would be the vdevs.

      Returns:
      list of member volumes
    • setMembers

      public void setMembers(List<StorageVolume> members)
      Sets the list of volumes that make up the storage of this aggregate
      Parameters:
      members - list of member volumes