Public bug reported: Right now, it seems it is impossible to list resources with a filter that contains blank value (null or ""). For example:
* It is impossible to list unbound ports (whose device_id is ""). I tried the following, but it doesn't seem to work (it returned all ports instead of the filtered ports). GET "/ports?device_id=" * It is impossible to list subnets that doesn't have subnetpool. I tried the following, but it doesn't seem to work (it returned an empty list instead of the filtered list). GET "/subnets?subnetpool_id=null" IMHO, we need to add support for that. Otherwise, the filtering feature is incomplete. ** Affects: neutron Importance: Undecided Assignee: Hongbin Lu (hongbin.lu) Status: New ** Changed in: neutron Assignee: (unassigned) => Hongbin Lu (hongbin.lu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1749304 Title: Support filter by attribute with empty value Status in neutron: New Bug description: Right now, it seems it is impossible to list resources with a filter that contains blank value (null or ""). For example: * It is impossible to list unbound ports (whose device_id is ""). I tried the following, but it doesn't seem to work (it returned all ports instead of the filtered ports). GET "/ports?device_id=" * It is impossible to list subnets that doesn't have subnetpool. I tried the following, but it doesn't seem to work (it returned an empty list instead of the filtered list). GET "/subnets?subnetpool_id=null" IMHO, we need to add support for that. Otherwise, the filtering feature is incomplete. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1749304/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp