mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 19:31:18 +00:00
20be699ee3
I wrote a patch to add support for listing the Vendor and Model of a storage pool in the storage pool XML. This would allow vendor extensions of specific devices. The patch includes a test for the new attributes as well. Patrick Dignan
23 lines
569 B
XML
23 lines
569 B
XML
<pool type='iscsi'>
|
|
<name>virtimages</name>
|
|
<uuid>e9392370-2917-565e-692b-d057f46512d6</uuid>
|
|
<capacity>0</capacity>
|
|
<allocation>0</allocation>
|
|
<available>0</available>
|
|
<source>
|
|
<host name='iscsi.example.com'/>
|
|
<device path='demo-target'/>
|
|
<auth type='chap' login='foobar' passwd='frobbar'/>
|
|
<vendor name='test-vendor'/>
|
|
<product name='test-product'/>
|
|
</source>
|
|
<target>
|
|
<path>/dev/disk/by-path</path>
|
|
<permissions>
|
|
<mode>0700</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|