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: |
|
---|
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: |
|
---|
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 |
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: | storagePoolInstanceNames - a list of storage tier instance names |
Given the tierPolicyInstanceName get the associated tiers.
Parameters: |
|
---|---|
Returns: | storageTierInstanceNames - a list of storage tier instance names |
Given the tier policy instance name get the storage groups.
Parameters: |
|
---|---|
Returns: | tierPolicyInstanceNames - 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 capcity and un-used capacity in GB of all the storage pools associated with the policy.
Parameters: | policyName – the name of policy rule, a string value |
---|---|
Returns: | total_capacity_gb - total capacity in GB of all pools associated with the policy |
Returns: | free_capacity_gb - (total capacity-EMCSubscribedCapacity) in GB of all pools associated with the policy |
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: | policyName – the name of policy rule, a string value |
---|---|
Returns: | tierPolicyInstanceName - tier policy instance name |
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: | foundIsSupportsTieringPolicies - True/False |
Checks if tiering policy in enabled on a storage system.
True if FAST policy enabled on the given storage system; False otherwise.
Parameters: | storageSystemInstanceName – a storage system instance name |
---|---|
Returns: | boolean |