]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add backup_swift_auth_url to swift backup driver
authorNathaniel Potter <nathaniel.potter@intel.com>
Mon, 28 Sep 2015 22:18:35 +0000 (17:18 -0500)
committerNathaniel Potter <nathaniel.potter@intel.com>
Tue, 6 Oct 2015 18:02:05 +0000 (12:02 -0600)
commitef2d45aec71349eedac946f42fa4f6a6d030a3bc
tree8418db6b9c33872f9015a48eb3098761e65bef8c
parent5868d8bb36282d46907ab534ee14dda6e0078811
Add backup_swift_auth_url to swift backup driver

Currently the config parameter backup_swift_url expects a
keystone endpoint url in the swift backup driver if you're
using single_user mode, but if you're in per_user mode it
expects a swift endpoint url. This patch adds a parameter
called backup_swift_auth_url to differentiate the two.

Unit tests are also provided for testing
backup_swift_auth_url.

DocImpact: The config options "backup_swift_auth_url" and
"keystone_catalog_info" will need to be added to the Cinder
docs.
Change-Id: Iee466fe1404eef9402a19d529dba19c7d5a4ef2b
Closes-Bug: #1449972
cinder/backup/drivers/swift.py
cinder/tests/unit/test_backup_swift.py