def _create_cache(self, snapshot): cached_path = fcg.add_disk(snapshot) return cached_path
def _create_cache(self): cached_path = fcg.add_disk(self.snapshot_dev) return cached_path
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