MCPcopy Create free account
hub / github.com/apache/cloudstack / attach

Method attach

scripts/vm/hypervisor/xenserver/xcposs/NFSSR.py:107–112  ·  view source on GitHub ↗
(self, sr_uuid)

Source from the content-addressed store, hash-verified

105
106
107 def attach(self, sr_uuid):
108 self.validate_remotepath(False)
109 #self.remotepath = os.path.join(self.dconf['serverpath'], sr_uuid)
110 self.remotepath = self.dconf['serverpath']
111 util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
112 self.mount_remotepath(sr_uuid)
113
114
115 def mount_remotepath(self, sr_uuid):

Callers

nothing calls this directly

Calls 2

validate_remotepathMethod · 0.95
mount_remotepathMethod · 0.95

Tested by

no test coverage detected