]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add XenAPINFSDriver
authorMate Lakat <mate.lakat@citrix.com>
Mon, 5 Nov 2012 09:57:52 +0000 (09:57 +0000)
committerMate Lakat <mate.lakat@citrix.com>
Wed, 21 Nov 2012 15:03:35 +0000 (15:03 +0000)
commit09f98c9caa495bc648f624ba3c46b912a88e6e2f
treea95647cbaa6fb4355183b29613bc871b285cb296
parentceee1fdaf2f54666ac72c6aa8076f92b6289327c
Add XenAPINFSDriver

Related to blueprint xenapi-storage-manager-nfs

As xensm was not pulled to Cinder, this change shows an implementation
example for using an NFS export for volumes. This change contains the
volume create and delete functions, as a minimal set of functionality.
The connection information structure is compatible with the previous
xensm implementation.

Activate the driver with the following configuration entries in
cinder.conf:

volume_driver=cinder.volume.xenapi_sm.XenAPINFSDriver
xenapi_connection_url=http://<yourxenserver>
xenapi_connection_username=root
xenapi_connection_password=<secret>
xenapi_nfs_server=<nfs_server_address>
xenapi_nfs_serverpath=/exported_catalog

Change-Id: Ieaf077f540fc026c5bc37f2e3eb9d48fb96d0b74
cinder/tests/test_xenapi_sm.py [new file with mode: 0644]
cinder/tests/xenapi/__init__.py [new file with mode: 0644]
cinder/volume/xenapi/__init__.py [new file with mode: 0644]
cinder/volume/xenapi/lib.py [new file with mode: 0644]
cinder/volume/xenapi_sm.py [new file with mode: 0644]