Exemplo n.º 1
0
 def __init__(self, spec, vfsType=None, options="", mountClass=mount.Mount):
     super(GlusterFSConnection, self).__init__(spec,
                                               vfsType=vfsType,
                                               options=options,
                                               mountClass=mountClass)
     self._volinfo = None
     self._volfileserver, volname = self._remotePath.split(":", 1)
     self._volname = volname.strip('/')
     self._have_gluster_cli = gluster_cli.exists()
Exemplo n.º 2
0
 def __init__(self,
              spec,
              vfsType=None,
              options="",
              mountClass=mount.Mount):
     super(GlusterFSConnection, self).__init__(spec,
                                               vfsType=vfsType,
                                               options=options,
                                               mountClass=mountClass)
     self._volinfo = None
     self._volfileserver, volname = self._remotePath.split(":", 1)
     self._volname = volname.strip('/')
     self._have_gluster_cli = gluster_cli.exists()