[Libvirt-cim] [PATCH 1 of 3] [TEST] Changes to vxml for IPv6 Support

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Dec 3 18:04:28 UTC 2009


Sharad Mishra wrote:
> # HG changeset patch
> # User Sharad Mishra <snmishra at us.ibm.com>
> # Date 1259799202 28800
> # Node ID 75243e330ed72b9d57516019ef9b185960503f17
> # Parent  45c6da8ca664a61a727b0c0d1811c4337efb53b0
> [TEST] Changes to vxml for IPv6 Support
> 
> Signed-off-by: Sharad Mishra <snmishra at us.ibm.com>
> 
> diff -r 45c6da8ca664 -r 75243e330ed7 suites/libvirt-cim/lib/XenKvmLib/vxml.py
> --- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Tue Dec 01 16:08:15 2009 -0800
> +++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py	Wed Dec 02 16:13:22 2009 -0800
> @@ -569,7 +569,7 @@
>      def __init__(self, virt, dom_name, uuid, pae, acpi, apic, disk_dev, 
>                   disk_source, net_type, net_name, net_mac, vcpus, mem,
>                   mem_allocunits, emu_type, grstype, ip,
> -                 port_num, kmap, irstype, btype, vnc_passwd):
> +                 IsIPv6Only, port_num, kmap, irstype, btype, vnc_passwd):

Can you change this from camel case to lower case?  The other parameters 
use lower case, so might as well have them match.

I wouldn't normally point it out, but there's one other change needed 
for this patch.

>          self.virt = virt
>          self.domain_name = dom_name
>          self.err_rc = None
> @@ -591,6 +591,7 @@
>                                                    dom_name, emu_type)
>              self.gasd = vsms.get_gasd_class(virt)(name=dom_name, 
>                                                    res_sub_type=grstype, ip=ip,
> +                                                  ipv6=IsIPv6Only, 
>                                                    lport=port_num, keymap=kmap, 
>                                                    vnc_passwd=vnc_passwd)
>          self.masd = vsms.get_masd_class(virt)(megabytes=mem, 




More information about the Libvirt-cim mailing list