Public bug reported: I have several ports in my openstack account I want to get list ports with specific option and specify filter. here is an example: curl -X GET "https://.../v2.0/ports?network_id=123" -H "Accept: application/json"
However, when I specify incorrect filter to API it returns all available ports. example below: curl-X GET "https://.../v2.0/ports?network_iddd=123" -H "Accept: application/json" It looks dangerous, because I could make a mistake in filter on set or delete commands and as result this changes be applied to all available ports. I suppose, that correct behaviour should be: return nothing or fail with an error. what do you think about it? ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2059902 Title: When use incorrect filter for os port list neutron returns the list of all ports Status in neutron: New Bug description: I have several ports in my openstack account I want to get list ports with specific option and specify filter. here is an example: curl -X GET "https://.../v2.0/ports?network_id=123" -H "Accept: application/json" However, when I specify incorrect filter to API it returns all available ports. example below: curl-X GET "https://.../v2.0/ports?network_iddd=123" -H "Accept: application/json" It looks dangerous, because I could make a mistake in filter on set or delete commands and as result this changes be applied to all available ports. I suppose, that correct behaviour should be: return nothing or fail with an error. what do you think about it? To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2059902/+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