'Prepare a volume for a delete operation.
:param serial_number: the array serial number
:param device_id: the volume device id
:param volume_name: the volume name
:param extra_specs: the extra specifications
:param connector: the connector object'

def _cleanup_deletion(self, serial_number, device_id, volume_name, extra_specs, connector, reset):

    move = False
    storagegroup_names = self.rest.get_storage_groups_from_volume(serial_number, device_id)
    if storagegroup_names:
        if ((len(storagegroup_names) == 1) and (reset is True)):
            move = True
        for sg_name in storagegroup_names:
            self.remove_volume_from_sg(serial_number, device_id, volume_name, sg_name, extra_specs, connector, move)
    if ((reset is True) and (move is False)):
        self.add_volume_to_default_storage_group(serial_number, device_id, volume_name, extra_specs)
