Adds deployment via snapshot
[apex.git] / apex / tests / config / baremetal0.xml
1 <domain type='kvm'>
2   <name>baremetal0</name>
3   <uuid>25bf15b6-130c-4bca-87af-e5cbc14bb454</uuid>
4   <memory unit='KiB'>12582912</memory>
5   <currentMemory unit='KiB'>12582912</currentMemory>
6   <vcpu placement='static'>4</vcpu>
7   <resource>
8     <partition>/machine</partition>
9   </resource>
10   <os>
11     <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
12     <boot dev='hd'/>
13     <bootmenu enable='no'/>
14   </os>
15   <features>
16     <acpi/>
17     <apic/>
18     <pae/>
19   </features>
20   <cpu mode='host-passthrough'/>
21   <clock offset='utc'/>
22   <on_poweroff>destroy</on_poweroff>
23   <on_reboot>restart</on_reboot>
24   <on_crash>restart</on_crash>
25   <devices>
26     <emulator>/usr/libexec/qemu-kvm</emulator>
27     <disk type='file' device='disk'>
28       <driver name='qemu' type='qcow2' cache='unsafe'/>
29       <source file='/home/images/baremetal0.qcow2'/>
30       <target dev='sda' bus='sata'/>
31       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
32     </disk>
33     <controller type='scsi' index='0' model='virtio-scsi'>
34       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
35     </controller>
36     <controller type='usb' index='0'>
37       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
38     </controller>
39     <controller type='pci' index='0' model='pci-root'/>
40     <controller type='sata' index='0'>
41       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
42     </controller>
43     <interface type='bridge'>
44       <mac address='00:5b:06:25:0c:dc'/>
45       <source bridge='br-admin'/>
46       <virtualport type='openvswitch'>
47         <parameters interfaceid='04b63cb9-21a9-4385-bbd6-df677a5eeecf'/>
48       </virtualport>
49       <model type='virtio'/>
50       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
51     </interface>
52     <serial type='pty'>
53       <target port='0'/>
54     </serial>
55     <console type='pty'>
56       <target type='serial' port='0'/>
57     </console>
58     <input type='mouse' bus='ps2'/>
59     <input type='keyboard' bus='ps2'/>
60     <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'>
61       <listen type='address' address='127.0.0.1'/>
62     </graphics>
63     <video>
64       <model type='cirrus' vram='16384' heads='1' primary='yes'/>
65       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
66     </video>
67     <memballoon model='virtio'>
68       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
69     </memballoon>
70   </devices>
71   <seclabel type='dynamic' model='selinux' relabel='yes'/>
72   <seclabel type='dynamic' model='dac' relabel='yes'/>
73 </domain>