code: def get_volume_by_name(self, name):
          
          for vol in self.conn.volumes:
              if vol.name == name:
                  return vol
          raise KeyError("Volume with NAME " + name + " not found")
docs: 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