Bases: object
FAST Class for SMI-S based EMC volume drivers.
This FAST class is for EMC volume drivers based on SMI-S. It supports VMAX arrays.
Adds a storage group to a tier policy and verifies success.
Add a storage group to a tier policy rule and verify that it was successful by getting the association.
Parameters: |
|
---|---|
Returns: | assocTierPolicyInstanceName |
Add the storage group to the tier policy rule.
Parameters: |
|
---|---|
Returns: | int – return code |
Raises: | VolumeBackendAPIException |
Add a volume to the default storage group for FAST policy.
The storage group must pre-exist. Once added to the storage group, check the association to make sure it has been successfully added.
Parameters: |
|
---|---|
Returns: | assocStorageGroupInstanceName - the storage group associated with the volume |
Disassociate the storage group from its tier policy rule.
Parameters: |
|
---|
Format the default storage group name
Parameters: | fastPolicyName – the fast policy name |
---|---|
Returns: | defaultSgName |
Retrieves and verifies the default storage group for a volume.
Given the volumeInstanceName get any associated storage group and check that it is the default storage group. The default storage group should have been already created. If not found error is logged.
Parameters: |
|
---|---|
Returns: | foundDefaultStorageGroupInstanceName, defaultSgName |
Get the tier policy instance name for a storage group instance name.
Parameters: |
|
---|---|
Returns: | foundTierPolicyInstanceName - instance name of the tier policy object |
Given the storage tier instance name get the storage pools.
Parameters: |
|
---|---|
Returns: | list – a list of storage tier instance names |
Given the tierPolicyInstanceName get the associated tiers.
Parameters: |
|
---|---|
Returns: | list – a list of storage tier instance names |
Given the tier policy instance name get the storage groups.
Parameters: |
|
---|---|
Returns: | list – the list of tier policy instance names |
Gets the total and un-used capacities for all pools in a policy.
Given the name of the policy, get the total capacity and un-used capacity in GB of all the storage pools associated with the policy.
Parameters: |
|
---|---|
Returns: | int – total capacity in GB of all pools associated with the policy |
Returns: | int – real physical capacity in GB of all pools available to be used |
Returns: | int – (Provisioned capacity-EMCSubscribedCapacity) in GB is the the capacity that has been provisioned |
Returns: | int – the maximum oversubscription ration |
Create or get a default storage group for FAST policy.
Parameters: |
|
---|---|
Returns: | defaultStorageGroupInstanceName - the default storage group instance name |
Returns the default storage group for a tier policy.
Given the tier policy instance name get the associated default storage group.
Parameters: |
|
---|---|
Returns: | storageGroupInstanceName - instance name of the default storage group |
Given a FAST policy check that the pool is linked to the policy.
If it’s associated return the pool instance, if not return None. First check if FAST is enabled on the array.
Parameters: |
|
---|---|
Returns: | foundPoolInstanceName |
Given the name of the policy, get the TierPolicyRule instance name.
Parameters: |
|
---|---|
Returns: | tier policy instance name. None if not found |
Checks to see if tiering policy is supported.
We will only check if there is a fast policy specified in the config file.
Parameters: |
|
---|---|
Returns: | boolean – foundIsSupportsTieringPolicies |
Checks if tiering policy in enabled on a storage system.
True if FAST policy enabled on the given storage system; False otherwise.
Parameters: |
|
---|---|
Returns: | boolean – isTieringPolicySupported |
Check if the volume is already part of the default storage group.
Parameters: |
|
---|---|
Returns: | boolean – True if the volume is already in default storage group. False otherwise |