Filter port-list based on security_groups associated not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Boden R |
Bug Description
Sample Usecases:
1. neutron port-list --security_
Invalid input for operation: '6' is not an integer or uuid.
2.neutron port-list --security_groups list=true 6f3d9d9d-
Invalid input for operation: '6' is not an integer or uuid.
Since, security_groups associated to a port are referenced from securitygroups db table, we cant just filter ports
based on security_groups directly as it works for other paramters.
Example:
neutron port-list --mac_address list=true fa:16:3e:40:2b:cc fa:16:3e:8e:32:3e
+------
| id | name | mac_address | fixed_ips |
+------
| 1cecec78-
| eec24494-
+------
Changed in neutron: | |
assignee: | nobody → Shivakumar M (shiva-m) |
description: | updated |
Changed in neutron: | |
status: | In Progress → Incomplete |
assignee: | Shivakumar M (shiva-m) → nobody |
Changed in neutron: | |
status: | Expired → Confirmed |
tags: | added: low |
tags: |
added: low-hanging-fruit removed: low |
Changed in neutron: | |
status: | In Progress → Fix Released |
The request doesn't reflect the attribute that should be used to filter by security group, which is security_group_id.
So I doubt the request in this form should work as you expect.