]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage_pool: Rework chap XML to mimic ceph
authorJohn Ferlan <jferlan@redhat.com>
Sat, 13 Jul 2013 18:29:55 +0000 (14:29 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 15 Jul 2013 16:41:12 +0000 (12:41 -0400)
commiteb0d79c64be49950a42497c79709c1386bf588ce
tree1945f77e73121962ad331408a7dcf2f6a2d2c694
parent092ca9689a6e95fa61cd956548c24b2de9a6b278
storage_pool: Rework chap XML to mimic ceph

The existing 'chap' XML logic was never used - just defined.  Rather than
try to insert a square peg into a round hole, blow it up and rewrite the
logic to follow the 'ceph' format.

Remove the former "chap.login" and "chap.passwd" fields and replace
with "chap.username" and "chap.secret" in _virStoragePoolAuthChap.
Adjust the virStoragePoolDefParseAuthChap() to process.

Change the rng file to describe the new layout

Update the formatstorage.html to describe the usage of the secret element
to mention that the secret type "iscsi" and "ceph" can be used
to storage pool too.

Update the formatsecret.html to include a reference to the storage pool

Update tests to handle the changes from 'login' and 'passwd' to 'username'
and '<secret>' format
docs/formatsecret.html.in
docs/formatstorage.html.in
docs/schemas/storagepool.rng
src/conf/storage_conf.c
src/conf/storage_conf.h
tests/storagepoolxml2xmlin/pool-iscsi-auth.xml
tests/storagepoolxml2xmlin/pool-iscsi-vendor-product.xml
tests/storagepoolxml2xmlout/pool-iscsi-auth.xml
tests/storagepoolxml2xmlout/pool-iscsi-vendor-product.xml
tests/storagepoolxml2xmlout/pool-rbd.xml