libvirt/tests/storagepoolxml2xmlout
Osier Yang 9f781da69d New XML attributes for storage pool source adapter
This introduces 4 new attributes for storage pool source adapter.
E.g.

<adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/>

Attribute 'type' can be either 'scsi_host' or 'fc_host', and defaults
to 'scsi_host' if attribute 'name' is specified. I.e. It's optional
for 'scsi_host' adapter, for back-compat reason. However, mandatory
for 'fc_host' adapter and any new future adapter types. Attribute
'parent' is to specify the parent for the fc_host adapter.

* docs/formatstorage.html.in:
  - Add documents for the 4 new attrs
* docs/schemas/storagepool.rng:
  - Add RNG schema
* src/conf/storage_conf.c:
  - Parse and format the new XMLs
* src/conf/storage_conf.h:
  - New struct virStoragePoolSourceAdapter, replace "char *adapter" with it;
  - New enum virStoragePoolSourceAdapterType
* src/libvirt_private.syms:
  - Export TypeToString and TypeFromString
* src/phyp/phyp_driver.c:
  - Replace "adapter" with "adapter.data.name", which is member of the union
    of the new struct virStoragePoolSourceAdapter now. Later patch will
    add the checking, as "adapter.data.name" is only valid for "scsi_host"
    adapter.
* src/storage/storage_backend_scsi.c:
  - Like above
* tests/storagepoolxml2xmlin/pool-scsi-type-scsi-host.xml:
* tests/storagepoolxml2xmlin/pool-scsi-type-fc-host.xml:
  - New test for 'fc_host' and "scsi_host" adapter
* tests/storagepoolxml2xmlout/pool-scsi.xml:
  - Change the expected output, as the 'type' defaults to 'scsi_host' if 'name"
    specified now
* tests/storagepoolxml2xmlout/pool-scsi-type-scsi-host.xml:
* tests/storagepoolxml2xmlout/pool-scsi-type-fc-host.xml:
  - New test
* tests/storagepoolxml2xmltest.c:
  - Include the test
2013-04-08 18:41:06 +08:00
..
pool-dir.xml Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
pool-disk.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-fs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-auth.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-multiiqn.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-vendor-product.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-create.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-mpath.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-netfs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-rbd.xml storage backend: Add RBD (RADOS Block Device) support 2012-05-21 12:37:38 -06:00
pool-scsi-type-fc-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi-type-scsi-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-sheepdog.xml Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00