Displaying 1 result from an estimated 1 matches for "sr_get_vdi".
2007 Feb 02
0
[PATCH] [Xm-TEST] Fix XAPI test case 02
...''read-only'' : 0,
+ ''location'' : "phy:/dev/ram0"
}
vdi_ref = session.xenapi.VDI.create(vdi_rec)
-res = session.xenapi.SR.get_VDIs(sr_uuid[0])
-if vdi_ref not in res:
- session.xenapi.VDI.destroy(vdi_ref)
- FAIL("SR_get_VDI does not show new VDI")
+if 0:
+ res = session.xenapi.SR.get_VDIs(sr_uuid[0])
+ if vdi_ref not in res:
+ session.xenapi.VDI.destroy(vdi_ref)
+ FAIL("SR_get_VDI does not show new VDI")
res = session.xenapi.VDI.get_name_label(vdi_ref)
if res != vdi_rec[''...