diff --git a/nova/api/openstack/compute/rest_api_version_history.rst b/nova/api/openstack/compute/rest_api_version_history.rst index a3757beacf77..1e2decd5fa49 100644 --- a/nova/api/openstack/compute/rest_api_version_history.rst +++ b/nova/api/openstack/compute/rest_api_version_history.rst @@ -854,3 +854,9 @@ following APIs to filter by changes before or equal to the resource * ``GET /servers/detail`` * ``GET /servers/{server_id}/os-instance-actions`` * ``GET /os-migrations`` + +2.67 +---- + +Adds the ``volume_type`` parameter to ``block_device_mapping_v2``, which can +be used to specify cinder ``volume_type`` when creating a server. diff --git a/nova/tests/unit/test_block_device.py b/nova/tests/unit/test_block_device.py index 4e829812e589..52939cd3dd73 100644 --- a/nova/tests/unit/test_block_device.py +++ b/nova/tests/unit/test_block_device.py @@ -600,8 +600,7 @@ class TestBlockDeviceDict(test.NoDBTestCase): self.assertEqual(retexp, block_device.BlockDeviceDict.from_api(api_dict, True)) - def test_from_api_invalid_oneof_image_id_or_destination_local_mapping( - self): + def test_from_api_invalid_image_to_destination_local_mapping(self): api_dict = {'id': 1, 'source_type': 'image', 'destination_type': 'local',