'Return an iterator for all volumes that should be attached.
Return an iterator over (volume_id, device) tuples for all volumes that
should be attached to this instance.'

def volumes(self):

    volumes = self.properties[self.VOLUMES]
    return ((vol[self.VOLUME_ID], vol[self.VOLUME_DEVICE]) for vol in volumes)
