MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / get_allocation

Method get_allocation

vrtManager/storage.py:144–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142 return util.get_xml_path(self._XMLDesc(0), "/pool/target/path")
143
144 def get_allocation(self):
145 return long(util.get_xml_path(self._XMLDesc(0), "/pool/allocation"))
146
147 def get_available(self):
148 return long(util.get_xml_path(self._XMLDesc(0), "/pool/available"))

Callers 1

get_pretty_allocationMethod · 0.95

Calls 1

_XMLDescMethod · 0.95

Tested by

no test coverage detected