commit 2024387ecc0922abe97863c349cf94df1d4462d0
Author: He Jie Xu <email address hidden>
Date: Thu May 19 11:04:10 2016 +0800
Enable 'null' value for user_data in V2.1 API
The legacy v2 API allow the 'null' value for user_data. Unfortunately
the v2.1 API didn't match that in the input validation. This patch
enables 'null' value, at sametime, it enables for v2.1 compat mode
also.
Conflicts: api-ref/source/parameters.yaml
NOTE(mriedem): The conflict is due to the api-ref parameters file
not existing until Newton. It's just a note in the docs on the
user_data parameter and isn't required for this backport.
Change-Id: Iae614035efd4b37c214754ad12b17ca224b8fd92
Closes-Bug: #1582911
(cherry picked from commit 22c87390a33300b93f0913d4e787662b119a00b9)
Reviewed: https:/ /review. openstack. org/323972 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2024387ecc0 922abe97863c349 cf94df1d4462d0
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 2024387ecc0922a be97863c349cf94 df1d4462d0
Author: He Jie Xu <email address hidden>
Date: Thu May 19 11:04:10 2016 +0800
Enable 'null' value for user_data in V2.1 API
The legacy v2 API allow the 'null' value for user_data. Unfortunately
the v2.1 API didn't match that in the input validation. This patch
enables 'null' value, at sametime, it enables for v2.1 compat mode
also.
Conflicts:
api- ref/source/ parameters. yaml
NOTE(mriedem): The conflict is due to the api-ref parameters file
not existing until Newton. It's just a note in the docs on the
user_data parameter and isn't required for this backport.
Change-Id: Iae614035efd4b3 7c214754ad12b17 ca224b8fd92 93f0913d4e78766 2b119a00b9)
Closes-Bug: #1582911
(cherry picked from commit 22c87390a33300b