Search in sources :

Example 16 with Snap

use of com.emc.storageos.vnxe.models.Snap in project coprhd-controller by CoprHD.

the class VNXeApiClient method getSnapWWN.

private String getSnapWWN(String snapId) {
    String wwn = "null";
    if (!isUnityClient()) {
        VNXeLunSnap snap = getLunSnapshot(snapId);
        wwn = snap.getPromotedWWN();
    } else {
        Snap snap = getSnapshot(snapId);
        wwn = snap.getAttachedWWN();
    }
    return wwn;
}
Also used : VNXeLunSnap(com.emc.storageos.vnxe.models.VNXeLunSnap) VNXeLunSnap(com.emc.storageos.vnxe.models.VNXeLunSnap) VNXeFileSystemSnap(com.emc.storageos.vnxe.models.VNXeFileSystemSnap) VNXeLunGroupSnap(com.emc.storageos.vnxe.models.VNXeLunGroupSnap) Snap(com.emc.storageos.vnxe.models.Snap)

Aggregations

Snap (com.emc.storageos.vnxe.models.Snap)16 BlockSnapshot (com.emc.storageos.db.client.model.BlockSnapshot)8 VNXeApiClient (com.emc.storageos.vnxe.VNXeApiClient)8 VNXeCommandJob (com.emc.storageos.vnxe.models.VNXeCommandJob)5 VNXeLunSnap (com.emc.storageos.vnxe.models.VNXeLunSnap)5 ArrayList (java.util.ArrayList)5 StorageSystem (com.emc.storageos.db.client.model.StorageSystem)4 DeviceControllerException (com.emc.storageos.exceptions.DeviceControllerException)4 ServiceError (com.emc.storageos.svcs.errorhandling.model.ServiceError)4 VNXeLun (com.emc.storageos.vnxe.models.VNXeLun)4 HashMap (java.util.HashMap)4 DbClient (com.emc.storageos.db.client.DbClient)3 StringSet (com.emc.storageos.db.client.model.StringSet)3 UnManagedVolume (com.emc.storageos.db.client.model.UnManagedDiscoveredObjects.UnManagedVolume)3 Volume (com.emc.storageos.db.client.model.Volume)3 ParametersOut (com.emc.storageos.vnxe.models.ParametersOut)3 VNXeBase (com.emc.storageos.vnxe.models.VNXeBase)3 URIQueryResultList (com.emc.storageos.db.client.constraint.URIQueryResultList)2 StringSetMap (com.emc.storageos.db.client.model.StringSetMap)2 BlockHostAccess (com.emc.storageos.vnxe.models.BlockHostAccess)2