'Looks for a Storage Profile on the array.
Storage Profiles determine tiering settings. If not specified a volume
will use the Default storage profile.
:param storage_profile: The Storage Profile name to find with any
spaces stripped.
:returns: The Storage Profile object or None.'

def _find_storage_profile(self, storage_profile):

    if (not storage_profile):
        return None
    storage_profile = storage_profile.replace('    ', '').lower()
    pf = self._get_payload_filter()
    pf.append('scSerialNumber', self.ssn)
    r = self.client.post('StorageCenter/ScStorageProfile/GetList', pf.payload)
    if self._check_result(r):
        profiles = self._get_json(r)
        for profile in profiles:
            name = profile.get('name', '').replace('    ', '').lower()
            if (name == storage_profile):
                return profile
    return None
