config-openstack: optimize port-list when filtered by device-ids
Bug #1418380 reported by
Hampapur Ajay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Hampapur Ajay | |||
R2.0 |
Fix Committed
|
High
|
Hampapur Ajay | |||
R2.1 |
Fix Committed
|
High
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
High
|
Hampapur Ajay |
Bug Description
When a neutron port list is issued with list of device-ids in filter (as happens during nova boot), currently the neutron backend code iterates over the device-ids and fetches the port info from api-server. In scale tests with lots of VMs this causes excessive round-trips. Reduce the round-trips and fetch info one-shot with anchor of the device-ids as back-ref.
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
importance: | Undecided → High |
tags: | added: config |
tags: | added: neutron |
To post a comment you must log in.
Reviewed: https:/ /review. opencontrail. org/7063 github. org/Juniper/ contrail- controller/ commit/ eb402d0580f3f21 33517bae7869862 73cb392276
Committed: http://
Submitter: Zuul
Branch: R1.10
commit eb402d0580f3f21 33517bae7869862 73cb392276
Author: Hampapur Ajay <email address hidden>
Date: Wed Feb 4 23:43:26 2015 -0800
config-openstack: reduce roundtrip in port-list by device-id filter
Reduce round-trip by fetching information about port-details with
backref anchor of device id. Also return matching routers (which too have a
device id) port.
Change-Id: Iacb5a48a7ccd5c f8207a397456a40 b48a9889525 14019fe46ee5514 83b71015c6)
Closes-Bug: #1418380
(cherry picked from commit 81b8fbca1eb52f8