[Libvirt-cim] [PATCH] [TEST] Modifying devices.py to fix tc 01_netport.py which was failing on F9 libvirt-cim rpm

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Jun 19 17:17:23 UTC 2008


>  from XenKvmLib.classes import get_typed_class
> 
> -LinkTechnology_Ethernet = 2
> +net_rev = 598
> +
> +# The branch has to be removed once the new rpm
> +# including the changes in revision 598 is available.
> +# The value of LinkTechnology should be set to 2 for
> +# network, bridge and ethernet type interfaces.
> +if net_rev > CIM_REV:
> +    LinkTechnology_Ethernet = 0

This change occurred due to changeset 599.  I know this is a minor 
change, but can you change this yo be net_rev >= CIM_REV and use 599 as 
the changeset number.

When I looked at rev 598, I was confused that it didn't have anything to 
do with network interfaces, so using 599 is a little clearer I think.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list