virt-manager internals help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My work on adding IPv6 support to virt-manager is proceeding nicely in spite of not being very good at python or xml. I have pretty much figured out what needs to be done and one of those things is the introduce some (a lot) memory into the processing of the xml for a network definition. For example, the network definition and a dhcp definition need to be part of the same <ip>

The thing that is puzzling me is just where self.get_xml() is defined (see network.py around line 100). The only place I can see this defined is in domain.py and that does not make sense to me.

IIUC, get_xml() returns a string which includes the entire definition and where each parse currently starts fresh ... we need to march through the elements one at a time and process each element before proceeding to the next.

"help"

Gene

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux