예제 #1
0
파일: NFSSR.py 프로젝트: BobBall/sm
 def attach(self, sr_uuid):
     if not self._checkmount():
         self.validate_remotepath(False)
         util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
         io_timeout = util.get_nfs_timeout(self.session, sr_uuid)
         self.mount_remotepath(sr_uuid, io_timeout)
     self.attached = True
예제 #2
0
 def attach(self, sr_uuid):
     if not self._checkmount():
         self.validate_remotepath(False)
         util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
         io_timeout = util.get_nfs_timeout(self.session, sr_uuid)
         self.mount_remotepath(sr_uuid, io_timeout)
     self.attached = True
예제 #3
0
 def attach(self, sr_uuid):
     self.validate_remotepath(False)
     self.remotepath = os.path.join(self.dconf['serverpath'], sr_uuid)
     util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
     io_timeout = util.get_nfs_timeout(self.session, sr_uuid)
     self.mount_remotepath(sr_uuid, io_timeout)
예제 #4
0
파일: NFSSR.py 프로젝트: GaryKirkpatrick/sm
 def attach(self, sr_uuid):
     self.validate_remotepath(False)
     self.remotepath = os.path.join(self.dconf['serverpath'], sr_uuid)
     util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
     io_timeout = util.get_nfs_timeout(self.session, sr_uuid)
     self.mount_remotepath(sr_uuid, io_timeout)