expensive policy check operation
Bug #1179745 reported by
Aaron Rosen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Salvatore Orlando |
Bug Description
If one does:
quantum port-list
The plugin will return a list of all ports but then in api/v2/base.py it does a get_network() for each network returned in the port list which is expensive. It would be better to avoid this or do a get_networks() instead.
https:/
tags: | added: api |
Changed in quantum: | |
milestone: | havana-1 → havana-2 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-2 → 2013.2 |
tags: | added: grizzly-backport-potential |
tags: | removed: grizzly-backport-potential |
To post a comment you must log in.
The get_network is used to return the owner of the parent resource which is used by some checks.
This could be avoided using the attribute map and passing the attribute as a non visible attribute with post and put disabled (this will make it a 'hidden' attribute).