add attribute validation functions for L3 API

Bug #1042042 reported by dan wendlandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando

Bug Description

The L3 API defines 'router' and 'floatingip' entities in quantum/extensions/l3.py

not all of the attributes described for these entities have validation functions, meaning bad inputs from an API user will lead to unhelpful exceptions and bad error messages.

dan wendlandt (danwent)
Changed in quantum:
importance: Undecided → Medium
status: New → Confirmed
milestone: none → folsom-rc1
tags: added: low-hanging-fruit
dan wendlandt (danwent)
Changed in quantum:
milestone: folsom-rc1 → none
milestone: none → folsom-rc1
Changed in quantum:
assignee: nobody → Salvatore Orlando (salvatore-orlando)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/12139
Committed: http://github.com/openstack/quantum/commit/e33c2caa45e2acfdaeaaa04edd482035c0905f65
Submitter: Jenkins
Branch: master

commit e33c2caa45e2acfdaeaaa04edd482035c0905f65
Author: Salvatore Orlando <email address hidden>
Date: Wed Aug 29 11:16:42 2012 -0700

    Ensure proper validation for l3 API attributes

    Fixes bug1042042

    This patch introduces validation for uuid and ip fields in l3 api
    data structures.

    Change-Id: Ibc4913e0bcf5b33cb5e4bd42c89b82ec374f5437

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc1 → 2012.2
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.