Bases: object
Masking class for SMI-S based EMC volume drivers.
Masking code to dynamically create a masking view This masking class is for EMC volume drivers based on SMI-S. It supports VMAX arrays.
Add a volume to an existing storage group
Parameters: |
|
---|---|
Returns: | int rc the return code of the job |
Returns: | dict the job dict |
Find the newly created volume
Parameters: |
|
---|---|
Returns: | instance maskingViewInstance |
Get the associated volume Instance names
Given the storage group instance name get the associated volume Instance names
Parameters: |
|
---|---|
Returns: | list volumeInstanceNames list of volume instance names |
Given volume, retrieve the masking view instance name.
Parameters: |
|
---|
Get the associated maskingview instance name
Given storage group instance name, get the associated masking view instance name
Parameters: |
|
---|---|
Returns: | instance name foundMaskingViewInstanceName |
Given port group, retrieve the masking view instance name.
:param : the volume :param mvInstanceName: masking view instance name :returns: maksingViewInstanceNames
Get or Create a masking view.
Given a masking view tuple either get or create a masking view and add the volume to the associated storage group
Parameters: | conn – the connection to ecom |
---|---|
Para maskingViewDict: | |
the masking view tuple | |
Returns: | dict rollbackDict |
Get the port group in a masking view.
Parameters: | maskingViewInstanceName – masking view instance name |
---|---|
Returns: | portGroupInstanceName |
Get the DA ports’ wwns.
Parameters: |
|
---|
Part of unmap device or rollback.
Removes volume from the Device Masking Group that belongs to a Masking View. Check if fast policy is in the extra specs, if it isn’t we do not need to do any thing for FAST. Assume that isTieringPolicySupported is False unless the FAST policy is in the extra specs and tiering is enabled on the array
Parameters: |
|
---|---|
Returns: | list volumeInstanceNames list of volume instance names |
Remove the volume from the default storage group.
Remove the volume from the default storage group for the FAST policy and return the default storage group instance name
Parameters: |
|
---|---|
Returns: | instance name defaultStorageGroupInstanceName |