MCPcopy
hub / github.com/retspen/webvirtcloud / get_storage_by_vol_path

Method get_storage_by_vol_path

vrtManager/create.py:91–93  ·  view source on GitHub ↗
(self, vol_path)

Source from the content-addressed store, hash-verified

89 return vol.path()
90
91 def get_storage_by_vol_path(self, vol_path):
92 vol = self.get_volume_by_path(vol_path)
93 return vol.storagePoolLookupByVolume()
94
95 def clone_from_template(self, clone, template, metadata=False):
96 vol = self.get_volume_by_path(template)

Callers 1

create_instanceMethod · 0.95

Calls 1

get_volume_by_pathMethod · 0.80

Tested by

no test coverage detected