Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the instance fetched by floating_ips API
The floating_ips API fetches an instance without flavor information and then passes it to the Network API, which eventually calls _get_instrance_nw_info() which requires access to the flavor. This triggers a lazy load in 100% of the situations, which is really not necessary and wasteful. This patch adds flavor to the list of pre-queried attributes on the instances fetched by this API to help reduce that waste. Change-Id: I15eae4e8c03739a34cef9c90989ad0615a96a963 Partial-Bug: #1540526
- Loading branch information