]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NFS backup driver
authorTom Barron <tpb@dyncloud.net>
Mon, 19 Jan 2015 17:58:02 +0000 (12:58 -0500)
committerTom Barron <tpb@dyncloud.net>
Wed, 11 Mar 2015 18:56:03 +0000 (14:56 -0400)
commitd07959585a42436a34613916cad0463c03b56592
treec9a338dd5c0f9994df02d8a155db33c9d70dd431
parenteba004b6f730b0c0d5bba89d6b100bcf8d5c8aba
NFS backup driver

Implements an NFS backup service in accord with the NFS backup driver
blueprint spec (https://review.openstack.org/#/c/130858).

Currently the NFS backup driver inherits directly from the abstract
chunked backup driver.  It should be straightforward to abstract out
of this code a posix filesystem backup driver, without dynamic mount
capabilities, which itself inherits from the chunked backup driver.
When that is done, most of the code in this implementation can be
removed and it can be modified to inherit from the posix filesystem
backup driver itself.

Implements: blueprint nfs-backup

Change-Id: I01ce30c25e7239e68cc7c70038f4f880218cb66a
cinder/backup/chunkeddriver.py
cinder/backup/drivers/nfs.py [new file with mode: 0644]
cinder/tests/backup/drivers/__init__.py [new file with mode: 0644]
cinder/tests/backup/drivers/test_backup_nfs.py [new file with mode: 0644]