os-fixed-ips does not have json schema validation

Bug #1438286 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
Tags: api
Matt Riedemann (mriedem)
Changed in nova:
assignee: nobody → Matt Riedemann (mriedem)
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Matt Riedemann (mriedem) wrote :

Note that there is a v2.1 os-fixed-ips json schema response validation module in tempest:

http://git.openstack.org/cgit/openstack/tempest/tree/tempest/api_schema/response/compute/v2_1/fixed_ips.py

We can probably just copy that into nova.

Revision history for this message
Matt Riedemann (mriedem) wrote :

I'm not sure if this is valid actually, I don't see anything in nova doing response validation (tempest is doing that today). And from the request validation, I don't see anything with a GET doing request validation (basically only stuff with a body in the request is getting validated it looks like).

Changed in nova:
assignee: Matt Riedemann (mriedem) → nobody
importance: Medium → Undecided
Revision history for this message
jichenjc (jichenjc) wrote :

commit 8423a9cd added schema validation for it

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Looks like this was fixed here? https://review.openstack.org/#/c/169139/

Changed in nova:
status: Triaged → Invalid
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.