diff --git a/cinder/tests/unit/test_volume.py b/cinder/tests/unit/test_volume.py index 8a4ce963541..87e3c6c740d 100644 --- a/cinder/tests/unit/test_volume.py +++ b/cinder/tests/unit/test_volume.py @@ -4526,7 +4526,7 @@ class VolumeTestCase(base.BaseVolumeTestCase): 'title': 'QoS', 'description': 'Enables QoS.', 'type': 'boolean'}, - 'replication': { + 'replication_enabled': { 'title': 'Replication', 'description': 'Enables replication.', 'type': 'boolean'}, diff --git a/cinder/volume/driver.py b/cinder/volume/driver.py index b154d6a4cf7..a5532af79d6 100644 --- a/cinder/volume/driver.py +++ b/cinder/volume/driver.py @@ -625,7 +625,7 @@ class BaseVD(object): self._set_property( properties, - "replication", + "replication_enabled", "Replication", _("Enables replication."), "boolean")