示例#1
0
 def _create_cache(self, snapshot):
     cached_path = fcg.add_disk(snapshot)
     return cached_path
示例#2
0
 def _create_cache(self):
     cached_path = fcg.add_disk(self.snapshot_dev)
     return cached_path
示例#3
0
 def _create_cache(self, snapshot):
     cached_path = fcg.add_disk(snapshot)
     return cached_path
示例#4
0
 def _create_cache(self, multipath):
     cached_path = fcg.add_disk(multipath)
     self.has_cache = True
     LOG.debug("create cache according to multipath %s" % multipath)
     return cached_path