예제 #1
0
파일: nfs4lib.py 프로젝트: fxia22/ASM_xf
    def mkverf(self):
	if self.verf == None:
	    self.verf = (rpc.AUTH_NULL, rpc.make_auth_null())
	return self.verf
예제 #2
0
 def __init__(self, host, port=None):
     self.version = 3
     self.cred = (rpc.AUTH_NULL, rpc.make_auth_null())
     FallbackUDPClient.__init__(self, host, MOUNTPROG, 3, port)
     self.BUFSIZE = NFSSVC_MAXBLKSIZE + NFS3_READ_XDR_SIZE
예제 #3
0
 def __init__(self, host, port=None):
     self.version = 3
     self.cred = (rpc.AUTH_NULL, rpc.make_auth_null())
     FallbackTCPClient.__init__(self, host, MOUNTPROG, 3, port)
예제 #4
0
 def __init__(self, host, port=None):
     self.version = 3
     self.cred = (rpc.AUTH_NULL, rpc.make_auth_null())
     FallbackUDPClient.__init__(self, host, MOUNTPROG, 3, port)
     self.BUFSIZE = NFSSVC_MAXBLKSIZE + NFS3_READ_XDR_SIZE
예제 #5
0
 def __init__(self, host, port=None):
     self.version = 3
     self.cred = (rpc.AUTH_NULL, rpc.make_auth_null())
     FallbackTCPClient.__init__(self, host, MOUNTPROG, 3, port)
예제 #6
0
    def mkverf(self):
	if self.verf == None:
	    self.verf = (rpc.AUTH_NULL, rpc.make_auth_null())
	return self.verf