
Sorry for the delayed response Deepti - I was having trouble applying this patch yesterday. I switched machines, and it seems to apply fine. This test fails for me with KVM on F9 using recent sources. Here's the output: SettingsDefineCapabilities - 01_forward.py: FAIL ERROR - AttributeError : 'list' object has no attribute 'InstanceID' CIM_ERR_NOT_FOUND: No such instance (foo) CIM_ERR_NOT_FOUND: No such instance (default-net)
[TEST] #2 Updating 01_forward.py of SDC to support XenFV, KVM.
1) To make use of the lib fn conf_file(), cleanup_restore() and create_diskpool_file(). 2) To use the lib fn print_field_error. 3) To retain the PropertyPolicy, ValueRole, ValueRange depending on the revision no. 4) Tested on rpm based libvirt-cim KVM machine, latest libvirt-cim for KVM and Xen, XenFV.
I'm not sure how this passed for you with the latest libvirt-cim on KVM. See my note below..
+ +@do_main(platform_sup) +def main(): + options = main.options + + server = options.ip + virt = options.virt + + # Verify DiskPool on machine + status = create_diskpool_file() + if status != PASS: + return status
Looks like there's two issues here. The first error is referring to the diskpool. With recent sources, we need to create a diskpool (instead of using the diskpool config file). create_diskpool_file() does not currently create a diskpool - it only creates a diskpool config file. The second issue looks to be related to the virtual network pool. Anyway, I'd suggest verifying that nothing is broken with the network pool portion of the test and then resending this patch with a note saying this doesn't work currently with KVM on recent sources. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com