'Unmaps the Dell volume object from the Dell server object.
Deletes all mappings to a Dell server object, not just the ones on
the path defined in cinder.conf.
:param scvolume: Storage Center volume object.
:param scserver: Storage Center server object.
:returns: True or False.'

def unmap_volume(self, scvolume, scserver):

    rtn = True
    serverid = self._get_id(scserver)
    volumeid = self._get_id(scvolume)
    if ((serverid is not None) and (volumeid is not None)):
        profiles = self._find_mapping_profiles(scvolume)
        for profile in profiles:
            prosrv = profile.get('server')
            if ((prosrv is not None) and (self._get_id(prosrv) == serverid)):
                r = self.client.delete(('StorageCenter/ScMappingProfile/%s' % self._get_id(profile)), async=True)
                if self._check_result(r):
                    result = self._get_json(r)
                    if ((result is True) or ((type(result) is dict) and result.get('result'))):
                        LOG.info('Volume    %(vol)s    unmapped    from    %(srv)s', {'vol': scvolume['name'], 'srv': scserver['name']})
                        continue
                LOG.error('Unable    to    unmap    %(vol)s    from    %(srv)s', {'vol': scvolume['name'], 'srv': scserver['name']})
                rtn = False
                break
    return rtn
