'Creates a new volume named volname from the screplay.
:param volname: Name of new volume.  This is the cinder volume ID.
:param screplay: Dell replay object from which to make a new volume.
:param replay_profile_string: Profiles to be applied to the volume
:param volume_qos: Volume QOS Profile to use.
:param group_qos: Group QOS Profile to use.
:param dr_profile: Data reduction profile to use.
:returns: Dell volume object or None.'

def create_view_volume(self, volname, screplay, replay_profile_string, volume_qos, group_qos, dr_profile):

    folder = self._find_volume_folder(True)
    (addids, removeids) = self._find_replay_profiles(replay_profile_string)
    payload = {}
    payload['Name'] = volname
    payload['Notes'] = self.notes
    if (folder is not None):
        payload['VolumeFolder'] = self._get_id(folder)
    if addids:
        payload['ReplayProfileList'] = addids
    self._check_add_profile_payload(payload, self._find_qos_profile(volume_qos), volume_qos, 'VolumeQosProfile')
    self._check_add_profile_payload(payload, self._find_qos_profile(group_qos, True), group_qos, 'GroupQosProfile')
    r = self.client.post(('StorageCenter/ScReplay/%s/CreateView' % self._get_id(screplay)), payload, True)
    volume = None
    if self._check_result(r):
        volume = self._first_result(r)
    if (dr_profile and (not self.update_datareduction_profile(volume, dr_profile))):
        LOG.error('Unable    to    apply    %s    to    volume.', dr_profile)
        volume = None
    if (volume is None):
        LOG.error('Unable    to    create    volume    %s    from    replay', volname)
    return volume
