virt-manager/tests/xmlparse-xml/change-nics-out.xml
Cole Robinson 88603e4fad Merge code from python-virtinst.git
As outlined here:

https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html

For now this is just a direct import of the code from virtinst commit
dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so
please refer to original git for detailed commit histor:

http://git.fedorahosted.org/cgit/python-virtinst.git/
2013-04-03 18:22:05 -04:00

54 lines
1.7 KiB
XML

<domain type="xen">
<name>TestGuest</name>
<currentMemory>204800</currentMemory>
<memory>409600</memory>
<uuid>12345678-1234-1234-1234-123456789012</uuid>
<os>
<type arch="i686">hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev="network"/>
</os>
<features>
<acpi/><apic/>
</features>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<vcpu>5</vcpu>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<interface type="user">
<mac address="AA:AA:AA:AA:AA:AA"/>
<model type="testmodel"/>
<source bridge="br0" network="route"/>
</interface>
<interface type="bridge">
<mac address="22:22:33:44:55:66"/>
<model type="virtio"/>
<source bridge="newbr0"/>
</interface>
<interface type="bridge">
<source bridge="newfoo0" network="default"/>
<mac address="22:22:22:22:22:22"/>
<target dev="test1"/>
</interface>
<interface type="ethernet">
<mac address="00:11:22:33:44:55"/>
<source dev="eth1"/>
<script path="/etc/qemu-ifup"/>
</interface>
<interface type="direct">
<mac address="00:11:22:33:44:55"/>
<source dev="eth0.1" mode="bridge"/>
<virtualport type="802.1Qbg">
<parameters managerid="11" typeid="1193047" typeidversion="2" instanceid="09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f"/>
</virtualport>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
</interface>
<input type="mouse" bus="ps2"/>
<graphics type="sdl" display=":3.4" xauth="/tmp/.Xauthority"/>
<console type="pty"/>
</devices>
</domain>