def get_volume_by_name(self, name):
        """
        Get ScaleIO Volume object by its Name
        :param name: Name of volume
        :return: ScaleIO Volume object
        :raise KeyError: No Volume with specified name found
        :rtype: ScaleIO Volume object
        """
        for vol in self.conn.volumes:
            if vol.name == name:
                return vol
        raise KeyError("Volume with NAME " + name + " not found")
Get ScaleIO Volume object by its Name
        :param name: Name of volume
        :return: ScaleIO Volume object
        :raise KeyError: No Volume with specified name found
        :rtype: ScaleIO Volume object