def list_volumes():
 root = _gluster_xml('volume list')
 if (not _gluster_ok(root)):
  return None
 results = [x.text for x in _iter(root, 'volume')]
 return results

def list_volumes ( ) : root = _gluster_xml ( 'volume list' ) if ( not _gluster_ok ( root ) ) : return None results = [ x . text for x in _iter ( root , 'volume' ) ] return results
list configured volumes cli example: .