virt-manager/tests/data/testdriver/testdefault.xml
Cole Robinson 435c7181f1 tests: testdriver: Rename default-pool -> pool-dir
And move the path to not be rooted in /dev, which doesn't make
sense for a directory pool, and triggers some special /dev handling
in virtinst that we don't want in the common testing path.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-27 13:03:04 -05:00

144 lines
3.5 KiB
XML

<node>
<!-- driver content roughly matching what test:///default provides -->
<cpu>
<nodes>2</nodes>
<sockets>2</sockets>
<cores>2</cores>
<threads>2</threads>
<active>16</active>
<mhz>4000</mhz>
<model>i686</model>
</cpu>
<memory>10000000</memory>
<domain type='test' id='1'>
<name>test</name>
<uuid>6695eb01-f6a4-8304-79aa-97f2502e193f</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='i686'>hvm</type>
<boot dev='hd'/>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type='file' device='disk'>
<source file='/guest/diskimage1'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</disk>
<interface type='network'>
<mac address='aa:bb:cc:dd:ee:ff'/>
<source network='default'/>
<target dev='testnet0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</interface>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</memballoon>
</devices>
</domain>
<network>
<name>default</name>
<uuid>dd8fe884-6c02-601e-7551-cca97df1c5df</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>
<pool type='dir'>
<name>pool-dir</name>
<uuid>dfe224cb-28fb-8dd0-c4b2-64eb3f0f4566</uuid>
<capacity unit='bytes'>107374182400</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>107374182400</available>
<source>
</source>
<target>
<path>/pool-dir</path>
</target>
</pool>
<device>
<name>computer</name>
<capability type='system'>
<hardware>
<vendor>Libvirt</vendor>
<version>Test driver</version>
<serial>123456</serial>
<uuid>11111111-2222-3333-4444-555555555555</uuid>
</hardware>
<firmware>
<vendor>Libvirt</vendor>
<version>Test Driver</version>
<release_date>01/22/2007</release_date>
</firmware>
</capability>
</device>
<device>
<name>scsi_host1</name>
<parent>computer</parent>
<capability type='scsi_host'>
<host>1</host>
<unique_id>0</unique_id>
<capability type='fc_host'>
<wwnn>2000000012341234</wwnn>
<wwpn>1000000012341234</wwpn>
<fabric_wwn>2000000043214321</fabric_wwn>
</capability>
<capability type='vport_ops'>
<max_vports>0</max_vports>
<vports>0</vports>
</capability>
</capability>
</device>
<device>
<name>scsi_host2</name>
<parent>computer</parent>
<capability type='scsi_host'>
<host>2</host>
<unique_id>1</unique_id>
<capability type='fc_host'>
<wwnn>2000000056785678</wwnn>
<wwpn>1000000056785678</wwpn>
<fabric_wwn>2000000087658765</fabric_wwn>
</capability>
<capability type='vport_ops'>
<max_vports>0</max_vports>
<vports>0</vports>
</capability>
</capability>
</device>
<device>
<name>scsi_host11</name>
<parent>scsi_host1</parent>
<capability type='scsi_host'>
<host>11</host>
<unique_id>10</unique_id>
<capability type='fc_host'>
<wwnn>2000000034563456</wwnn>
<wwpn>1000000034563456</wwpn>
<fabric_wwn>2000000043214321</fabric_wwn>
</capability>
</capability>
</device>
</node>