(stg)
| 5 | |
| 6 | |
| 7 | def 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 | |
| 15 | class wvmCreate(wvmConnect): |