'Rename a volume.
:param array: the array serial number
:param device_id: the volume device id
:param new_name: the new name for the volume'

def rename_volume(self, array, device_id, new_name):

    rename_vol_payload = {'editVolumeActionParam': {'modifyVolumeIdentifierParam': {'volumeIdentifier': {'identifier_name': new_name, 'volumeIdentifierChoice': 'identifier_name'}}}}
    self._modify_volume(array, device_id, rename_vol_payload)
