Improve the performance of filtering instance by IP
The performance of filtering instance by IP is poor, this is due to that IP address is one part of the instance.
As discussed in Queens PTG[1], one possible solution is to get filtered ports from Neutron
and retrieve the instance uuid from the port.device_id and then merge to the other filters.
As Nova provides regex matching manner filtering for IP filter, so this is depend on
Neutron changes that addes regex matching manner to the GET /ports API[2]
[1] http://
[2] https:/
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Medium
- Drafter:
- Zhenyu Zheng
- Direction:
- Approved
- Assignee:
- Zhenyu Zheng
- Definition:
- Approved
- Series goal:
- Accepted for queens
- Implementation:
- Implemented
- Milestone target:
- queens-rc1
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Bug #1718605: [RFE] Support sub-string matching when filtering port with IP address | Fix Released |
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Improve the performance of filtering instances by IP.
Approved for Queens. -- mriedem 20171019
Addressed by: https:/
[WIP] POC to use neutron port_list when filtering instance by ip