Unknown filters aren't validated by the API
Bug #1622672 reported by
Victor Morales
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://
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) |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/365659 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c8f208c4656 f4252dba0719558 e5b476d337b126
Committed: https:/
Submitter: Jenkins
Branch: master
commit c8f208c4656f425 2dba0719558e5b4 76d337b126
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: I1becad77d48556 181c5667ad06b29 71b8b8517b2 Implements: blueprint adopt-oslo- versioned- objects- for-db
Partially-
Closes-Bug: #1622672