session: api to add new transport types
[vpp.git] / extras / vpp_config / data / iperf-ubuntu.xml.template
1 <domain type='kvm' id='54'>
2   <name>{vmname}</name>
3   <memory unit='KiB'>1048576</memory>
4   <currentMemory unit='KiB'>1048576</currentMemory>
5   <memoryBacking>
6     <hugepages>
7       <page size='2048' unit='KiB'/>
8     </hugepages>
9   </memoryBacking>
10   <vcpu placement='static'>1</vcpu>
11   <resource>
12     <partition>/machine</partition>
13   </resource>
14   <os>
15     <type arch='x86_64' machine='pc-i440fx-xenial'>hvm</type>
16     <boot dev='hd'/>
17   </os>
18   <features>
19     <acpi/>
20     <apic/>
21   </features>
22   <cpu mode='host-model'>
23     <model fallback='allow'></model>
24     <numa>
25       <cell id='0' cpus='0' memory='262144' unit='KiB' memAccess='shared'/>
26     </numa>
27   </cpu>
28   <clock offset='utc'>
29     <timer name='rtc' tickpolicy='catchup'/>
30     <timer name='pit' tickpolicy='delay'/>
31     <timer name='hpet' present='no'/>
32   </clock>
33   <on_poweroff>destroy</on_poweroff>
34   <on_reboot>restart</on_reboot>
35   <on_crash>restart</on_crash>
36   <pm>
37     <suspend-to-mem enabled='no'/>
38     <suspend-to-disk enabled='no'/>
39   </pm>
40   <devices>
41     <emulator>/usr/bin/kvm</emulator>
42     <disk type='file' device='disk'>
43       <driver name='qemu' type='qcow2'/>
44       <source file='{imagename}'/>
45       <backingStore/>
46       <target dev='vda' bus='virtio'/>
47       <alias name='virtio-disk0'/>
48       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
49     </disk>
50     <disk type='file' device='cdrom'>
51       <driver name='qemu' type='raw'/>
52       <source file='{isoname}'/>
53       <backingStore/>
54       <target dev='hda' bus='ide'/>
55       <readonly/>
56       <alias name='ide0-0-0'/>
57       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
58     </disk>
59     <controller type='usb' index='0' model='ich9-ehci1'>
60       <alias name='usb'/>
61       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
62     </controller>
63     <controller type='pci' index='0' model='pci-root'>
64       <alias name='pci.0'/>
65     </controller>
66     <controller type='ide' index='0'>
67       <alias name='ide'/>
68       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
69     </controller>
70     <controller type='virtio-serial' index='0'>
71       <alias name='virtio-serial0'/>
72       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
73     </controller>
74     <interface type='network'>
75       <mac address='52:54:00:4c:47:f3'/>
76       <source network='default' bridge='virbr0'/>
77       <target dev='vnet0'/>
78       <model type='virtio'/>
79       <alias name='net0'/>
80       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
81     </interface>
82     <interface type='vhostuser'>
83       <mac address='52:54:00:4c:47:f4'/>
84       <source type='unix' path='{vhostsocketname}' mode='client'/>
85       <model type='virtio'/>
86       <alias name='net1'/>
87       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
88     </interface>
89     <serial type='pty'>
90       <source path='/dev/pts/2'/>
91       <target port='0'/>
92       <alias name='serial0'/>
93     </serial>
94     <console type='pty' tty='/dev/pts/2'>
95       <source path='/dev/pts/2'/>
96       <target type='serial' port='0'/>
97       <alias name='serial0'/>
98     </console>
99     <input type='mouse' bus='ps2'/>
100     <input type='keyboard' bus='ps2'/>
101     <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
102       <listen type='address' address='127.0.0.1'/>
103     </graphics>
104     <memballoon model='virtio'>
105       <alias name='balloon0'/>
106       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
107     </memballoon>
108   </devices>
109   <seclabel type='dynamic' model='apparmor' relabel='yes'>
110     <label>libvirt-2c4c9317-c7a5-4b37-b789-386ccda7348a</label>
111     <imagelabel>libvirt-2c4c9317-c7a5-4b37-b789-386ccda7348a</imagelabel>
112   </seclabel>
113 </domain>
114