libvirt/docs/schemas
John Ferlan 54ac483e68 hostdev: Add iSCSI hostdev XML
Introduce a new structure to handle an iSCSI host device based on the
existing virDomainHostdevSubsysSCSI by adding a "protocol='iscsi'" to
the <source/> element. The existing scsi_host subsystem RNG was modified
to read an optional "protocol='adapter'", although it won't be written
out nor is it documented as an option (by choice).

The new hostdev structure mimics the existing <disk/> element for an
iSCSI device (network) device. New XML is:

  <hostdev mode='subsystem' type='scsi' managed='yes'>
    <source protocol='iscsi' name='iqn.1992-01.com.example'>
      <host name='example.org' port='3260'/>
      <auth username='myname'>
        <secret type='iscsi' usage='mycluster_myname'/>
      </auth>
    </source>
    <address type='drive' controller='0' bus='0' target='2' unit='5'/>
  </hostdev>

The controller element will mimic the existing scsi_host code insomuch
as when 'lsi' and 'virtio-scsi' are used.
2014-08-07 15:07:56 -04:00
..
basictypes.rng storage: Introduce parentaddr into virStoragePoolSourceAdapter 2014-07-21 12:55:10 -04:00
capability.rng
domain.rng
domaincaps.rng Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
domaincommon.rng hostdev: Add iSCSI hostdev XML 2014-08-07 15:07:56 -04:00
domainsnapshot.rng
interface.rng
Makefile.am Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
network.rng
networkcommon.rng
nodedev.rng Add unique_id to nodedev output 2014-07-21 12:55:11 -04:00
nwfilter.rng
secret.rng
storagecommon.rng
storagepool.rng schema: pool: netfs: Don't enforce slash in glusterfs pool source 2014-07-21 18:28:17 +02:00
storagevol.rng storagevol: add nocow to vol xml 2014-07-16 13:35:20 +02:00