summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-08-09 14:58:25 +0000
committerGerrit Code Review <review@openstack.org>2018-08-09 14:58:25 +0000
commita3666e9a408eb71861cd9557cefe952fa89324b1 (patch)
tree4a466777eb03a95548ad3e4a59a6dd0425e375c0
parente4a8f92afec0dfaadab1f4c5d1402e10265a7f74 (diff)
parentf41751cb04dc934c79ef7090aad23b807a7d9bbc (diff)
Merge "Allow extra parameters in volume_type_encryption"13.0.0.0rc1
-rw-r--r--cinder/api/schemas/volume_type_encryption.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/cinder/api/schemas/volume_type_encryption.py b/cinder/api/schemas/volume_type_encryption.py
index 179dbef..4ee55a3 100644
--- a/cinder/api/schemas/volume_type_encryption.py
+++ b/cinder/api/schemas/volume_type_encryption.py
@@ -13,10 +13,8 @@
13# License for the specific language governing permissions and limitations 13# License for the specific language governing permissions and limitations
14# under the License. 14# under the License.
15 15
16""" 16"""Schema for V3 volume type encryption API."""
17Schema for V3 volume type encryption API.
18 17
19"""
20import copy 18import copy
21 19
22from cinder.api.validation import parameter_types 20from cinder.api.validation import parameter_types
@@ -35,7 +33,7 @@ create = {
35 'minLength': 0, 'maxLength': 255}, 33 'minLength': 0, 'maxLength': 255},
36 }, 34 },
37 'required': ['provider', 'control_location'], 35 'required': ['provider', 'control_location'],
38 'additionalProperties': False, 36 'additionalProperties': True,
39 }, 37 },
40 }, 38 },
41 'required': ['encryption'], 39 'required': ['encryption'],