[Libvirt-cim] [PATCH] [TEST] Convert NetworkPort.02_np_gi_errors.py for LXC support

Dan Smith danms at us.ibm.com
Wed Jul 23 17:27:55 UTC 2008


GY> +  
GY> +    if options.virt == 'LXC':
GY> +        vsxml = get_class(options.virt)(test_dom)
GY> +    else: 
GY> +        vsxml = get_class(options.virt)(test_dom, mac=test_mac)

Why?  LXC network devices take a mac address argument as well.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080723/5c1d673c/attachment.sig>


More information about the Libvirt-cim mailing list