Package com.morpheusdata.model
Class StorageAggregate
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.StorageAggregate
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringDescription of the storage aggregateprotected StringExternal identifier used by the storage systemprotected StringInternal identifier used by the storage systemprotected List<StorageVolume>Volumes that make up the storage of this aggregate (one-to-many)protected StringThe name of the storage aggregateprotected LongThe ID of the reference objectprotected StringThe type of the reference object (e.g.protected StorageAggregateTypeThe type of storage aggregate (e.g., RAID, ZFS, LVM)protected StringUnique identifier (UUID) for this aggregateprotected List<StorageVolume>Volumes that are exposed/provided by this aggregate (one-to-many)Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the description of the storage aggregateGets the external ID used by the storage systemGets the internal ID used by the storage systemGets the list of volumes that make up the storage of this aggregate.getName()Gets the name of the storage aggregategetRefId()Gets the reference IDGets the reference typegetType()Gets the type of storage aggregategetUuid()Gets the UUID for this storage aggregateGets the list of volumes exposed/provided by this aggregate.voidsetDescription(String description) Sets the description of the storage aggregatevoidsetExternalId(String externalId) Sets the external ID used by the storage systemvoidsetInternalId(String internalId) Sets the internal ID used by the storage systemvoidsetMembers(List<StorageVolume> members) Sets the list of volumes that make up the storage of this aggregatevoidSets the name of the storage aggregatevoidSets the reference IDvoidsetRefType(String refType) Sets the reference typevoidsetType(StorageAggregateType type) Sets the type of storage aggregatevoidSets the UUID for this storage aggregatevoidsetVolumes(List<StorageVolume> volumes) Sets the list of volumes exposed/provided by this aggregateMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
uuid
Unique identifier (UUID) for this aggregate -
internalId
Internal identifier used by the storage system -
externalId
External identifier used by the storage system -
refType
The type of the reference object (e.g. ComputeServer) -
refId
The ID of the reference object -
name
The name of the storage aggregate -
description
Description of the storage aggregate -
type
The type of storage aggregate (e.g., RAID, ZFS, LVM) -
volumes
Volumes that are exposed/provided by this aggregate (one-to-many) -
members
Volumes that make up the storage of this aggregate (one-to-many)
-
-
Constructor Details
-
StorageAggregate
public StorageAggregate()
-
-
Method Details
-
getUuid
Gets the UUID for this storage aggregate- Returns:
- uuid
-
setUuid
Sets the UUID for this storage aggregate- Parameters:
uuid- the unique identifier
-
getInternalId
Gets the internal ID used by the storage system- Returns:
- internalId
-
setInternalId
Sets the internal ID used by the storage system- Parameters:
internalId- the internal identifier
-
getExternalId
Gets the external ID used by the storage system- Returns:
- externalId
-
setExternalId
Sets the external ID used by the storage system- Parameters:
externalId- the external identifier
-
getRefType
Gets the reference type- Returns:
- refType
-
setRefType
Sets the reference type- Parameters:
refType- the reference type
-
getRefId
Gets the reference ID- Returns:
- refId
-
setRefId
Sets the reference ID- Parameters:
refId- the reference ID
-
getName
Gets the name of the storage aggregate- Returns:
- name
-
setName
Sets the name of the storage aggregate- Parameters:
name- the aggregate name
-
getDescription
Gets the description of the storage aggregate- Returns:
- description
-
setDescription
Sets the description of the storage aggregate- Parameters:
description- the aggregate description
-
getType
Gets the type of storage aggregate- Returns:
- type (e.g., RAID, ZFS, LVM)
-
setType
Sets the type of storage aggregate- Parameters:
type- the aggregate type
-
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
Sets the list of volumes exposed/provided by this aggregate- Parameters:
volumes- list of exposed volumes
-
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
Sets the list of volumes that make up the storage of this aggregate- Parameters:
members- list of member volumes
-