Example #1
0
 def _create_cache(self, snapshot):
     cached_path = fcg.add_disk(snapshot)
     return cached_path
Example #2
0
 def _create_cache(self):
     cached_path = fcg.add_disk(self.snapshot_dev)
     return cached_path
Example #3
0
 def _create_cache(self, snapshot):
     cached_path = fcg.add_disk(snapshot)
     return cached_path
Example #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