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

Function get_rbd_storage_data

vrtManager/create.py:7–12  ·  view source on GitHub ↗
(stg)

Source from the content-addressed store, hash-verified

5
6
7def get_rbd_storage_data(stg):
8 xml = stg.XMLDesc(0)
9 ceph_user = util.get_xml_path(xml, "/pool/source/auth/@username")
10 ceph_host = util.get_xml_path(xml, "/pool/source/host/@name")
11 secrt_uuid = util.get_xml_path(xml, "/pool/source/auth/secret/@uuid")
12 return ceph_user, secrt_uuid, ceph_host
13
14
15class wvmCreate(wvmConnect):

Callers 1

create_instanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected