nova.network.neutronv2.api.validate_networks could be smarter when listing ports
Bug #1521788 reported by
Matt Riedemann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matt Riedemann |
Bug Description
There are two things we can do to make this more efficient:
https:/
1. Move the list_ports call after the unlimited quota check - if the quota is unlimited, we don't need to list ports.
2. Filter the list_ports response to only return the port id, we don't need the other port details in the response since we don't use those fields, we're just getting a count.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Triaged |
assignee: | nobody → Matt Riedemann (mriedem) |
tags: | added: low-hanging-fruit |
description: | updated |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → nobody |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/252659
Review: https:/