Unknown filters aren't validated by the API

Bug #1622672 reported by Victor Morales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ihar Hrachyshka

Bug Description

During the integration of Subnet Olso-Versioned Object, Artur discovered[1] that there are some cases where the API receives filters which are not defined in the model. It's necessary to modify the current implementation of OVO to support cases like:

* Using 'admin_state_up' in Subnet model class.
* Using 'network_id' and 'router:external' as filters for Network model class.

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-July/100286.html

Tags: api
Changed in neutron:
assignee: nobody → Victor Morales (electrocucaracha)
status: New → In Progress
importance: Undecided → Wishlist
Changed in neutron:
milestone: none → newton-rc1
importance: Wishlist → Medium
tags: added: api
Changed in neutron:
assignee: Victor Morales (electrocucaracha) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/365659
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c8f208c4656f4252dba0719558e5b476d337b126
Submitter: Jenkins
Branch: master

commit c8f208c4656f4252dba0719558e5b476d337b126
Author: Victor Morales <email address hidden>
Date: Mon Sep 5 08:50:06 2016 -0500

    Make optional the validation of filters

    This fix covers the cases where it's required to be
    flexible in the validation of unknown filters.

    Change-Id: I1becad77d48556181c5667ad06b2971b8b8517b2
    Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
    Closes-Bug: #1622672

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.0.0.0rc1

This issue was fixed in the openstack/neutron 9.0.0.0rc1 release candidate.

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.