From 90c6e256b83e03369c966ded3470655121c94048 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 18 Jul 2017 17:15:49 -0400 Subject: [PATCH] api-ref: fix max_version for deprecated os-quota-class-sets parameters The max_version on the fixed_ips, floating_ips, networks, security_groups and security_group_members parameters for the os-quota-class-sets API should be capped at 2.49, not 2.50. This is a bit confusing but it works the same as max_version works in the API code, i.e. the max version is the highest version you can request that parameter on that API and it will work. 2.50 was wrong because in 2.50 we don't accept or return those parameters. This is similar to the network-related resource deprecation in the os-quota-sets API with the 2.36 microversion. The API reference for those parameters in os-quota-sets use max_version: 2.35. Change-Id: Ib3e3cdc1ba57172fce1b03a0e77302c3edf9f0dc Closes-Bug: #1705115 --- api-ref/source/parameters.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index da3ef90ce4c3..d2f408eda37a 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -2227,7 +2227,7 @@ fixed_ips_quota_class: &fixed_ips_quota_class in: body required: true type: integer - max_version: 2.50 + max_version: 2.49 fixed_ips_quota_class_optional: <<: *fixed_ips_quota_class required: false @@ -2577,7 +2577,7 @@ floating_ips_quota_class: &floating_ips_quota_class in: body required: true type: integer - max_version: 2.50 + max_version: 2.49 floating_ips_quota_class_optional: <<: *floating_ips_quota_class required: false @@ -3887,7 +3887,7 @@ networks_quota_optional: &networks_quota_optional in: body required: false type: integer - max_version: 2.50 + max_version: 2.49 networks_quota_set_optional: <<: *networks_quota_optional max_version: 2.35 @@ -4736,7 +4736,7 @@ security_group_rules_quota_class: &security_group_rules_quota_class in: body required: true type: integer - max_version: 2.50 + max_version: 2.49 security_group_rules_quota_class_optional: <<: *security_group_rules_quota_class required: false @@ -4775,7 +4775,7 @@ security_groups_quota_class: &security_groups_quota_class in: body required: true type: integer - max_version: 2.50 + max_version: 2.49 security_groups_quota_class_optional: <<: *security_groups_quota_class required: false