Refresh multi-backend variables

This commit removes some deprecated tempest multi-backend variables
(tempest_volume_backend1_name, tempest_volume_backend2_name)
and adds a new variable tempest_volume_backend_names.

Change-Id: Ie62466940f81a96a9e42e237fc2609a98596f156
This commit is contained in:
Matt Thompson 2017-02-15 17:00:35 -05:00
parent 628e6a78d9
commit 28d2535227
3 changed files with 11 additions and 5 deletions

View File

@ -134,8 +134,7 @@ tempest_swift_discoverable_apis:
- slo
- tempurl
tempest_volume_backend1_name: backend1
tempest_volume_backend2_name: backend2
tempest_volume_backend_names: [ backend1, backend2 ]
tempest_volume_backup_enabled: False
tempest_volume_multi_backend_enabled: False

View File

@ -0,0 +1,9 @@
---
features:
- Added new variable ``tempest_volume_backend_names`` and updated
templates/tempest.conf.j2 to point ``backend_names`` at this variable
deprecations:
- Removed ``tempest_volume_backend1_name`` and
``tempest_volume_backend1_name`` since ``backend1_name`` and
``backend2_name`` were removed from tempest in commit 27905cc (merged
26/04/2016)

View File

@ -162,9 +162,7 @@ floating_ip_range = 10.0.0.0/29
[volume]
endpoint_type = internalURL
# NOTE: These backends are only tested when multi_backend is enabled
backend1 = {{ tempest_volume_backend1_name }}
backend2 = {{ tempest_volume_backend2_name }}
backend_names = [ backend1, backend2 ]
backend_names = {{ tempest_volume_backend_names | join(',') }}
[volume-feature-enabled]