[Libvirt-cim] [PATCH] [TEST] Reduce the length of bridge name

Chip Vincent cvincent at linux.vnet.ibm.com
Wed Aug 3 17:38:26 UTC 2011


--------------------------------------------------------------------
VirtualSystemManagementService - 06_addresource.py: PASS
--------------------------------------------------------------------

+1 and pushed.

On 07/28/2011 02:36 PM, Sharad Mishra wrote:
> # HG changeset patch
> # User Sharad Mishra<snmishra at us.ibm.com>
> # Date 1311878184 25200
> # Node ID 8c23ed99a218f1d1eea5c662b2fa3c211fe6d531
> # Parent  3bc1a0fc5683d705c022014364cacf6d5860ba28
> [TEST] Reduce the length of bridge name.
>
> Lately I have seen this
> (VirtualSystemManagementService - 06_addresource.py) test
> fails with following error -
>
> # virsh -c qemu:///system net-create /home/net.xml
> error: Failed to create network from /home/net.xml
> error: cannot create dummy tap device 'testbridge55-nic' to set mac address on bridge 'testbridge55': Invalid argument
>
> Reducing the size of bridge name fixed this issue. I looked on
> the net but could not find more  info on when this  behaviour
> changed in libvirt.
>
> Signed-off-by: Sharad Mishra<snmishra at us.ibm.com>
>
> diff -r 3bc1a0fc5683 -r 8c23ed99a218 suites/libvirt-cim/lib/XenKvmLib/const.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/const.py	Tue Jul 12 16:02:27 2011 -0300
> +++ b/suites/libvirt-cim/lib/XenKvmLib/const.py	Thu Jul 28 11:36:24 2011 -0700
> @@ -58,7 +58,7 @@
>
>
>   # vxml.NetXML
> -default_bridge_name = 'testbridge'
> +default_bridge_name = 'testbr'
>   default_network_name = 'cimtest-networkpool'
>   default_net_type = 'network'
>
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim

-- 
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list