missing json-schema for fixed-ips

Bug #1438480 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Alex Xu

Bug Description

The action reserve/unreserve didn't accept any input from the request body. So we can use json-schema to limit it.

And the api sample files is wrong:

 {
    "reserve": "None"
 }

It should accept a null, not a string "None"

Alex Xu (xuhj)
Changed in nova:
assignee: nobody → Alex Xu (xuhj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/169139

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/169139
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8423a9cd1539d1f7621f6b703c8782ce09846868
Submitter: Jenkins
Branch: master

commit 8423a9cd1539d1f7621f6b703c8782ce09846868
Author: He Jie Xu <email address hidden>
Date: Wed Apr 1 00:47:14 2015 +0000

    Add json-schema for v2.1 fixed-ips

    This patch adds json-schema for v2.1 fixed-ips. The json-schame limits
    the input for actions reserve/unreserve. Also fixed the API sample
    file at same time and add parameter_type none.

    Co-Authored-By: Ken'ichi Ohmichi <email address hidden>
    Change-Id: Id2d0416c3ccc2a50d3cb66bed8747082f98fb194
    Closes-Bug: #1438480

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.