In order for filtering to work properly on GET requests, filter
values should be converted to the appropriate type specified in
neutron.api.v2.attributes.RESOURCE_ATTRIBUTE_MAP.
Without this change queries on boolean attributes, for instance,
won't work as the value to filter on will be passed to the plugin
as a string.
Reviewed: https:/ /review. openstack. org/272311 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f392a04051a c45dc023a594d60 5420ef30a19a2e
Committed: https:/
Submitter: Jenkins
Branch: master
commit f392a04051ac45d c023a594d605420 ef30a19a2e
Author: Salvatore Orlando <email address hidden>
Date: Mon Jan 25 14:23:13 2016 -0800
Pecan: filter items need type conversion
In order for filtering to work properly on GET requests, filter api.v2. attributes. RESOURCE_ ATTRIBUTE_ MAP.
values should be converted to the appropriate type specified in
neutron.
Without this change queries on boolean attributes, for instance,
won't work as the value to filter on will be passed to the plugin
as a string.
Closes Bug: #1537924
Change-Id: I0a697a01f272f9 4378928ecc09923 2e3b2d11f1f